Package org.gephi.graph.api
Interface SpatialIndex
-
public interface SpatialIndexObject to query the nodes and edges of the graph in a spatial context.- Author:
- Eduardo Ramos
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EdgeIterablegetEdgesInArea(Rect2D rect)Returns the edges in the given area.NodeIterablegetNodesInArea(Rect2D rect)Returns the nodes in the given area.
-
-
-
Method Detail
-
getNodesInArea
NodeIterable getNodesInArea(Rect2D rect)
Returns the nodes in the given area.- Parameters:
rect- area to query- Returns:
- nodes in the area
-
getEdgesInArea
EdgeIterable getEdgesInArea(Rect2D rect)
Returns the edges in the given area.- Parameters:
rect- area to query- Returns:
- edges in the area
-
-