Interface LV<V>

  • Type Parameters:
    V -
    All Superinterfaces:
    SV<V>
    All Known Implementing Classes:
    LVI, SyntheticLV, SyntheticLV

    public interface LV<V>
    extends SV<V>
    Interface for a vertex type for the SugiyamaLayoutAlgorithm.
    Implementations of LV replace instances of V during layout The LV<V> holds metadata information about the position of the vertex in the layered graph for the SugiyamaLayoutAlgorithm
    • Method Detail

      • of

        static <V> LV<V> of​(V vertex)
      • of

        static <V> LV<V> of​(V vertex,
                            int rank,
                            int index)
      • copy

        <T extends LV<V>> T copy()
      • setRank

        void setRank​(int rank)
      • getRank

        int getRank()
      • setIndex

        void setIndex​(int index)
      • getIndex

        int getIndex()
      • getPoint

        Point getPoint()
      • setPoint

        void setPoint​(Point p)
      • getPos

        int getPos()
      • setPos

        void setPos​(int pos)
      • getMeasure

        double getMeasure()
      • setMeasure

        void setMeasure​(double measure)