$graph
$graph :
PrettyPrint is Decorator for pretty printing a graph
Algorithm is an algorithm on Graph. This class does nothing except wrapping the graph. It is intended to avoid copy/paste of this content for real algorithms. See it as a default implementation. Therefore you only need to subclass this decorator and add your methods.
It is not abstract since I want to test it but the spirit is :)
__construct(\Trismegiste\Mondrian\Graph\Graph  $g) 
                Decorates the graph
| \Trismegiste\Mondrian\Graph\Graph | $g | 
addEdge(\Trismegiste\Mondrian\Graph\Vertex $source, \Trismegiste\Mondrian\Graph\Vertex $target)
Add a (un)directed edge if it does not already exist
| \Trismegiste\Mondrian\Graph\Vertex | $source | |
| \Trismegiste\Mondrian\Graph\Vertex | $target | 
addVertex(\Trismegiste\Mondrian\Graph\Vertex  $v) 
                Add a vertex to the graph without edge
| \Trismegiste\Mondrian\Graph\Vertex | $v | 
searchEdge(\Trismegiste\Mondrian\Graph\Vertex $source, \Trismegiste\Mondrian\Graph\Vertex $target) : \Trismegiste\Mondrian\Graph\Edge
Searches an existing (directed or not) edge between two vertices
| \Trismegiste\Mondrian\Graph\Vertex | $source | |
| \Trismegiste\Mondrian\Graph\Vertex | $target | 
getSuccessor(\Trismegiste\Mondrian\Graph\Vertex  $v) : null|array
                Get successors of a vertex
| \Trismegiste\Mondrian\Graph\Vertex | $v | 
null if the vertex is not in this graph
                    or an array of verticesgetEdgeIterator(\Trismegiste\Mondrian\Graph\Vertex  $v) : \Trismegiste\Mondrian\Graph\Iterator
                Get an iterator on edges for one vertex
| \Trismegiste\Mondrian\Graph\Vertex | $v | 
extractShortName(\Trismegiste\Mondrian\Graph\Vertex  $v) 
                
| \Trismegiste\Mondrian\Graph\Vertex | $v |