org.grinvin.graphs

Interface AnnotationView

Known Subinterfaces:
Annotation, AnnotationModel, MutableAnnotationModel
Known Implementing Classes:
DefaultAnnotation, DefaultAnnotationModel

public interface AnnotationView

Method Summary

Object
getAnnotation(Edge edge)
Returns the annotation for the given Edge.
Object
getAnnotation(Vertex vertex)
Returns the annotation for the given Vertex.
GraphView
getPeer()
Returns the peer graph for this annotation.

Method Details

getAnnotation

public Object getAnnotation(Edge edge)
Returns the annotation for the given Edge.

getAnnotation

public Object getAnnotation(Vertex vertex)
Returns the annotation for the given Vertex.

getPeer

public GraphView getPeer()
Returns the peer graph for this annotation.