public function to(ID $node_id, string $class=""): \ArrayIterator 
    {
        return $this->retrieveDirected(Direction::out(), $node_id, $class);
    }
public function to(ID $node_id, string $class=""): \ArrayIterator 
    {
        return $this->retrieveDirected(Direction::out(), $node_id, $class);
    }
public function to ( ID $ node_id , string $ class = "" ) : \ ArrayIterator { return $ this -> retrieveDirected ( Direction :: out ( ) , $ node_id , $ class ) ; }
Retrieves a list of edges from the list's owner node to the given
target node.

@param ID $node_id   Target (head) node.
@param string        $class The type of edge (defined in edge class) to return

@return \ArrayIterator An array of edge objects to. Returns an empty array if there is no such connections.
Retrieves a list of edges from the list s owner node to the given target node .