Class mxGraphHierarchyEdge

    • Field Detail

      • edges

        public java.util.List<java.lang.Object> edges
        The graph edge(s) this object represents. Parallel edges are all grouped together within one hierarchy edge.
      • isReversed

        protected boolean isReversed
        Whether or not the direction of this edge has been reversed internally to create a DAG for the hierarchical layout
    • Constructor Detail

      • mxGraphHierarchyEdge

        public mxGraphHierarchyEdge​(java.util.List<java.lang.Object> edges)
        Constructs a hierarchy edge
        Parameters:
        edges - a list of real graph edges this abstraction represents
    • Method Detail

      • invert

        public void invert()
        Inverts the direction of this internal edge(s)
      • isReversed

        public boolean isReversed()
        Returns:
        Returns the isReversed.
      • setReversed

        public void setReversed​(boolean isReversed)
        Parameters:
        isReversed - The isReversed to set.
      • getGeneralPurposeVariable

        public int getGeneralPurposeVariable​(int layer)
        Gets the value of temp for the specified layer
        Specified by:
        getGeneralPurposeVariable in class mxGraphAbstractHierarchyCell
        Parameters:
        layer - the layer relating to a specific entry into temp
        Returns:
        the value for that layer
      • setGeneralPurposeVariable

        public void setGeneralPurposeVariable​(int layer,
                                              int value)
        Set the value of temp for the specified layer
        Specified by:
        setGeneralPurposeVariable in class mxGraphAbstractHierarchyCell
        Parameters:
        layer - the layer relating to a specific entry into temp
        value - the value for that layer