Interface EdgeAccessor<V,​E>

    • Method Detail

      • getEdge

        E getEdge​(LayoutModel<V> layoutModel,
                  Point p)
        Parameters:
        layoutModel - the source of Edge positions
        p - the pick point
        Returns:
        the vertex associated with the pick point
      • getEdge

        E getEdge​(LayoutModel<V> layoutModel,
                  double x,
                  double y)
        Returns the edge, if any, associated with (x, y).
        Parameters:
        x - the x coordinate of the pick point
        y - the y coordinate of the pick point
        Returns:
        the edge associated with (x, y)