public static class LinkedDirectedGraph.LinkedDirectedGraphNode<N,E> extends 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.
|
String |
getColor()
Retrieves color of the node.
|
String |
getId()
Retrieves the unique ID.
|
List<DiGraph.DiGraphEdge<N,E>> |
getInEdges() |
String |
getLabel()
Retrieves the label of the node.
|
List<DiGraph.DiGraphEdge<N,E>> |
getOutEdges() |
N |
getValue()
Retrieves the node's value.
|
void |
setAnnotation(Annotation data)
Annotates a piece of information to the object.
|
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 String getColor()
GraphvizGraph.GraphvizNodegetColor in interface GraphvizGraph.GraphvizNodepublic String getId()
GraphvizGraph.GraphvizNodegetId in interface GraphvizGraph.GraphvizNodepublic String getLabel()
GraphvizGraph.GraphvizNodegetLabel in interface GraphvizGraph.GraphvizNodepublic List<DiGraph.DiGraphEdge<N,E>> getInEdges()
getInEdges in interface DiGraph.DiGraphNode<N,E>public List<DiGraph.DiGraphEdge<N,E>> getOutEdges()
getOutEdges in interface DiGraph.DiGraphNode<N,E>Copyright © 2009-2017 Google. All Rights Reserved.