Class SyntheticLV<V>

  • Type Parameters:
    V - vertex type
    All Implemented Interfaces:
    LV<V>, SV<V>, Synthetic

    public class SyntheticLV<V>
    extends LVI<V>
    implements Synthetic
    a vertex that is not in the original graph, but is synthesized in order to position bends in the articulated edges of the SugiyamaLayoutAlgorithm
    • Constructor Detail

      • SyntheticLV

        protected SyntheticLV()
      • SyntheticLV

        protected SyntheticLV​(LV<V> source,
                              LV<V> target)
    • Method Detail

      • of

        public static <V> SyntheticLV<V> of​(LV<V> source,
                                            LV<V> target)
      • copy

        public <T extends LV<V>> T copy()
        Specified by:
        copy in interface LV<V>
        Overrides:
        copy in class LVI<V>
      • setPos

        public void setPos​(int pos)
        Specified by:
        setPos in interface LV<V>
        Overrides:
        setPos in class LVI<V>
      • equals

        public boolean equals​(Object o)
        Overrides:
        equals in class LVI<V>
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class LVI<V>