public static class LinkedDirectedGraph.LinkedDiGraphNode<N,E> extends java.lang.Object implements DiGraph.DiGraphNode<N,E>, GraphvizGraph.GraphvizNode
| 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 node.
|
java.lang.String |
getId()
Retrieves the unique ID.
|
java.util.List<LinkedDirectedGraph.LinkedDiGraphEdge<N,E>> |
getInEdges() |
java.lang.String |
getLabel()
Retrieves the label of the node.
|
java.util.List<LinkedDirectedGraph.LinkedDiGraphEdge<N,E>> |
getOutEdges() |
N |
getValue()
Retrieves the node's value.
|
void |
setAnnotation(Annotation data)
Annotates a piece of information to the object.
|
java.lang.String |
toString() |
protected final N value
public N getValue()
GraphNodepublic <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.GraphvizNodegetColor in interface GraphvizGraph.GraphvizNodepublic java.lang.String getId()
GraphvizGraph.GraphvizNodegetId in interface GraphvizGraph.GraphvizNodepublic java.lang.String getLabel()
GraphvizGraph.GraphvizNodegetLabel in interface GraphvizGraph.GraphvizNodepublic java.lang.String toString()
toString in class java.lang.Objectpublic java.util.List<LinkedDirectedGraph.LinkedDiGraphEdge<N,E>> getInEdges()
getInEdges in interface DiGraph.DiGraphNode<N,E>public java.util.List<LinkedDirectedGraph.LinkedDiGraphEdge<N,E>> getOutEdges()
getOutEdges in interface DiGraph.DiGraphNode<N,E>Copyright © 2009-2020 Google. All Rights Reserved.