org.jgrapht.io
Interface ComponentNameProvider<T>
-
- Type Parameters:
T- the type of the component
- All Known Subinterfaces:
- ComponentNameProvider<T>
- All Known Implementing Classes:
- IntegerComponentNameProvider, IntegerComponentNameProvider, StringComponentNameProvider, StringComponentNameProvider
public interface ComponentNameProvider<T>Provides a name for a component.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description java.lang.StringgetName(T component)Returns a unique name.
-
-
-
Method Detail
-
getName
java.lang.String getName(T component)
Returns a unique name. This is useful when exporting a graph, as it ensures that all vertices/edges are assigned simple, consistent names.- Parameters:
component- the component to be named- Returns:
- the name of the component
-
-
DataMelt 3.0 © DataMelt by jWork.ORG