Paradox/pod/Vertex.php
public function relateTo(AModel $to, $label = null)
    {
        $edge = $this->_toolbox->getPodManager()->dispense("edge", $label);
        $edge->setTo($to);
        $edge->setFrom($this->getModel());

        return $edge;
    }
public function relateTo(AModel $to, $label = null)
    {
        $edge = $this->_toolbox->getPodManager()->dispense("edge", $label);
        $edge->setTo($to);
        $edge->setFrom($this->getModel());

        return $edge;
    }
Create an edge connecting this vertex to another vertex.
@param  AModel $to    The model we wish to connect to.
@param  string $label An optional label for this edge.
@return Edge