Gliph\Graph\Graph::degreeOf PHP Method

degreeOf() public method

Returns the degree (number of incident edges) for the provided vertex.
public degreeOf ( object $vertex ) : integer
$vertex object The vertex for which to retrieve degree information.
return integer
    public function degreeOf($vertex);