List<Node> get rootChildren => nodes.values .where((node) => node.parentId == rootNodeId) .toList(growable: false);