Example #1
0
 private function getNodeAsString(MyNode $node)
 {
     return "({$node->getX()}, {$node->getY()})";
 }
Example #2
0
 private function getLinkID(MyNode $source, MyNode $destination)
 {
     return $source->getID() . '|' . $destination->getID();
 }