Added getRootVertices and getLeafVertices methods to...
... DirectedGraph container to discourage coupling with internal container implementation details.