public interface GraphElementAccessor<V,E>
| Modifier and Type | Method and Description |
|---|---|
E |
getEdge(Layout<V,E> layout,
double x,
double y)
Returns an edge which is associated with the
location
(x,y). |
V |
getVertex(Layout<V,E> layout,
double x,
double y)
Returns a vertex which is associated with the
location
(x,y). |
java.util.Collection<V> |
getVertices(Layout<V,E> layout,
java.awt.Shape rectangle)
Returns the vertices contained within
rectangle relative
to layout. |
V getVertex(Layout<V,E> layout, double x, double y)
(x,y). This is typically determined
with respect to the vertex's location as specified
by a Layout.java.util.Collection<V> getVertices(Layout<V,E> layout, java.awt.Shape rectangle)
rectangle relative
to layout.Copyright © 2021, 2022 Herve Girod. All Rights Reserved. Documentation and source under the BSD 3-Clause licence