NamedVertex is an optional interface that can be implemented by Vertex to give it a human-friendly name that is used for outputting the graph.
| 35 | // NamedVertex is an optional interface that can be implemented by Vertex |
| 36 | // to give it a human-friendly name that is used for outputting the graph. |
| 37 | type NamedVertex interface { |
| 38 | Vertex |
| 39 | Name() string |
| 40 | } |
| 41 | |
| 42 | func (g *Graph) DirectedGraph() Grapher { |
| 43 | return g |
no outgoing calls
no test coverage detected
searching dependent graphs…