125126127128129130131132133134135
TreeGraphNode dep = nodes.get(agigaDep.getDepIdx() + 1); // Add gov/dep to TreeGraph gov.addChild(dep); dep.setParent(gov); require(dep.parent() == gov); } return nodes; }