Example #1
0
 /**
  * check whether the given vertex has a direct edge to THIS vertex
  *
  * @param  Vertex  $vertex
  * @return boolean
  * @uses Vertex::hasEdgeTo()
  */
 public function hasEdgeFrom(Vertex $vertex)
 {
     return $vertex->hasEdgeTo($this);
 }