org.grinvin.graphs
Interface Annotation
- AnnotationView
- MutableAnnotationModel
- DefaultAnnotation, DefaultAnnotationModel
public interface Annotation
copy
public void copy(AnnotationView original)
Make this annotation a copy of the given view using the peer of the original.
copy
public void copy(AnnotationView original,
GraphView newPeer) Make this annotation a copy of the given view using the given peer. This peer
is supposed to be a copy of the peer in the sense of method
Graph.copy(GraphView).
setAnnotation
public void setAnnotation(Edge edge,
Object annotation) Sets the annotation for the given
Edge.
setAnnotation
public void setAnnotation(Vertex vertex,
Object annotation) Sets the annotation for the given
Vertex.