Method | Description | |
---|---|---|
ensureVertex ( object $vertex ) : Gliph\Graph\Graph | Ensures a vertex is present in the graph. | |
removeVertex ( object $vertex ) : Gliph\Graph\Graph | Remove a vertex from the graph. |
public ensureVertex ( object $vertex ) : Gliph\Graph\Graph | ||
$vertex | object | An object to use as a vertex in the graph. |
return | Gliph\Graph\Graph | The current graph instance. |
public removeVertex ( object $vertex ) : Gliph\Graph\Graph | ||
$vertex | object | A vertex object to remove from the graph. |
return | Gliph\Graph\Graph | The current graph instance. |