示例#1
0
 public function AddAsChild($node, $parent)
 {
     $arrow = new DefaultEdge($parent, $node);
     $this->graph->addEdge($arrow);
     return $this;
 }