Interface GraphElementAccessor<V,E>
-
- Type Parameters:
V- the vertex typeE- the edge type
- All Superinterfaces:
EdgeAccessor<V,E>,VertexAccessor<V>
- All Known Implementing Classes:
RadiusGraphElementAccessor,ShapePickSupport
public interface GraphElementAccessor<V,E> extends VertexAccessor<V>, EdgeAccessor<V,E>
Interface for coordinate-based selection of graph components.- Author:
- Tom Nelson
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<V>getVertices(LayoutModel<V> layoutModel, Shape shape)-
Methods inherited from interface org.jungrapht.visualization.layout.util.EdgeAccessor
getEdge, getEdge
-
Methods inherited from interface org.jungrapht.visualization.layout.util.VertexAccessor
getVertex, getVertex
-
-
-
-
Method Detail
-
getVertices
Collection<V> getVertices(LayoutModel<V> layoutModel, Shape shape)
- Parameters:
shape- the region in which the returned vertices are located- Returns:
- the vertices whose locations given by
layoutModelare contained withinshape
-
-