org.jgrapht.ext
public class StringEdgeNameProvider<E> extends java.lang.Object implements EdgeNameProvider<E>
Object.toString() on them. This assumes
that the edge's Object.toString() method returns a unique String
representation for each edge.| Constructor and Description |
|---|
StringEdgeNameProvider() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getEdgeName(E edge)
Returns the String representation an edge.
|
public java.lang.String getEdgeName(E edge)
getEdgeName in interface EdgeNameProvider<E>edge - the edge to be named