Interface GraphvizGraph.GraphvizEdge
-
- All Known Implementing Classes:
LinkedDirectedGraph.LinkedDiGraphEdge
- Enclosing interface:
- GraphvizGraph
public static interface GraphvizGraph.GraphvizEdge
A Graphviz edge.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getColor()
Retrieves color of the edge.java.lang.String
getLabel()
Retrieves the label of the edge.java.lang.String
getNode1Id()
Get the first node in the edge.java.lang.String
getNode2Id()
Get the second node in the edge.
-
-
-
Method Detail
-
getNode1Id
java.lang.String getNode1Id()
Get the first node in the edge. In a directed node, this will be the source node.- Returns:
- First node in the edge.
-
getNode2Id
java.lang.String getNode2Id()
Get the second node in the edge. In a directed node, this will be the destination node.- Returns:
- First node in the edge.
-
getColor
java.lang.String getColor()
Retrieves color of the edge.- Returns:
- The color of the edge.
-
getLabel
java.lang.String getLabel()
Retrieves the label of the edge.- Returns:
- Label of the edge.
-
-