public static class LinkedDirectedGraph.LinkedDiGraphEdge<N,E> extends java.lang.Object implements DiGraph.DiGraphEdge<N,E>, GraphvizGraph.GraphvizEdge
| Modifier and Type | Method and Description |
|---|---|
<A extends Annotation> |
getAnnotation()
Retrieves a piece of information that has been annotated.
|
java.lang.String |
getColor()
Retrieves color of the edge.
|
LinkedDirectedGraph.LinkedDiGraphNode<N,E> |
getDestination() |
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.
|
GraphNode<N,E> |
getNodeA() |
GraphNode<N,E> |
getNodeB() |
LinkedDirectedGraph.LinkedDiGraphNode<N,E> |
getSource() |
E |
getValue()
Retrieves the edge's value.
|
void |
setAnnotation(Annotation data)
Annotates a piece of information to the object.
|
java.lang.String |
toString() |
protected final E value
public LinkedDirectedGraph.LinkedDiGraphNode<N,E> getSource()
getSource in interface DiGraph.DiGraphEdge<N,E>public LinkedDirectedGraph.LinkedDiGraphNode<N,E> getDestination()
getDestination in interface DiGraph.DiGraphEdge<N,E>public E getValue()
Graph.GraphEdgegetValue in interface Graph.GraphEdge<N,E>public <A extends Annotation> A getAnnotation()
AnnotatablegetAnnotation in interface Annotatablenull if the object has not been annotated.public void setAnnotation(Annotation data)
AnnotatablesetAnnotation in interface Annotatabledata - Information to be annotated.public java.lang.String getColor()
GraphvizGraph.GraphvizEdgegetColor in interface GraphvizGraph.GraphvizEdgepublic java.lang.String getLabel()
GraphvizGraph.GraphvizEdgegetLabel in interface GraphvizGraph.GraphvizEdgepublic java.lang.String getNode1Id()
GraphvizGraph.GraphvizEdgegetNode1Id in interface GraphvizGraph.GraphvizEdgepublic java.lang.String getNode2Id()
GraphvizGraph.GraphvizEdgegetNode2Id in interface GraphvizGraph.GraphvizEdgepublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2009-2020 Google. All Rights Reserved.