Interface JungGraphElementAccessor

All Known Implementing Classes:
JungRadiusGraphElementAccessor

public interface JungGraphElementAccessor
Interface for coordinate-based selection of graph components. See JungGraphElementAccessor for further details
Author:
M. Altaweel
  • Method Summary

    Modifier and Type
    Method
    Description
    getEdge(double x, double y)
    Returns an Edge which is associated with the location (x,y).
    getVertex(double x, double y)
    Returns a Vertex which is associated with the location (x,y).
    void
    Sets the Network that is used to specify the locations of vertices and edges in this instance to layout.
  • Method Details

    • getVertex

      Object getVertex(double x, double y)
      Returns a Vertex which is associated with the location (x,y). This is typically determined with respect to the Vertex's location as specified by a Layout.
    • getEdge

      RepastEdge getEdge(double x, double y)
      Returns an Edge which is associated with the location (x,y). This is typically determined with respect to the Edge's location as specified by a Layout.
    • setLayout

      void setLayout(JungNetworkLayout layout)
      Sets the Network that is used to specify the locations of vertices and edges in this instance to layout.