initNodeParents method

void initNodeParents()

Set parent references for all nodes.

Must be called after building the graph.

Implementation

void initNodeParents() {
  _initNodeParentsRecursive(root, null);
}