Package org.jgrapht.ext
Interface VertexNameProvider<V>
- All Known Implementing Classes:
IntegerNameProvider
,StringNameProvider
public interface VertexNameProvider<V>
Assigns a display name for each of the graph vertices.
-
Method Summary
-
Method Details
-
getVertexName
Returns a unique name for a vertex. This is useful when exporting a a graph, as it ensures that all vertices are assigned simple, consistant names.- Parameters:
vertex
- the vertex to be named- Returns:
- the name of the vertex
-