Class HierarchicLayouterOptionsGroup

    • Field Detail

      • EDGE_ROUTINGS

        public static final java.util.List<java.lang.String> EDGE_ROUTINGS
      • INVISIBLE

        private static final java.lang.String[] INVISIBLE
    • Constructor Detail

      • HierarchicLayouterOptionsGroup

        public HierarchicLayouterOptionsGroup​(java.lang.String id)
        Construct HierarchicLayouterOptionsGroup
      • HierarchicLayouterOptionsGroup

        public HierarchicLayouterOptionsGroup()
    • Method Detail

      • getMinimalLayerDistance

        public int getMinimalLayerDistance()
        Get the minimal distance between shapes that reside in adjacent layers.
        Returns:
        int value.
      • setMinimalLayerDistance

        public void setMinimalLayerDistance​(int d)
        Set the minimal distance between shapes that reside in adjacent layers.
        Parameters:
        d - int value.
      • getMinimalShapeDistance

        public int getMinimalShapeDistance()
        Get the minimal distance between borders of two adjacent shapes on a common circle. The smaller the distance, the more compact resulting layout.
        Returns:
        int value.
      • setMinimalShapeDistance

        public void setMinimalShapeDistance​(int d)
        Set the minimal distance between borders of two adjacent shapes on a common circle. The smaller the distance, the more compact resulting layout.
        Parameters:
        d - value.
      • getMinimalLinkDistance

        public int getMinimalLinkDistance()
        Get the distance between adjacent pairs of horizontal path segments and between horizontal path segments and shapes.
        Returns:
        int value.
      • setMinimalLinkDistance

        public void setMinimalLinkDistance​(int d)
        Set the distance between adjacent pairs of horizontal path segments and between horizontal path segments and shapes.
        Parameters:
        d - new distance
      • getMinimalFirstSegmentLength

        public int getMinimalFirstSegmentLength()
        Get the minimal length of the first and last segments for orthogonal path routing, i.e. the length from the intersection points to the first or last bend point respectively.
        Returns:
        int value.
      • setMinimalFirstSegmentLength

        public void setMinimalFirstSegmentLength​(int d)
        Set the minimal length of the first and last segments for orthogonal path routing, i.e. the length from the intersection points to the first or last bend point respectively.
        Parameters:
        d - new length
      • getOrientation

        public java.lang.String getOrientation()
        Get main layout orientation.
        Returns:
        value.
      • setOrientation

        public void setOrientation​(java.lang.String s)
        Set main layout orientation.
        Parameters:
        s - value.
      • getSequencer

        public java.lang.String getSequencer()
      • setSequencer

        public void setSequencer​(java.lang.String s)
      • getEdgeRouting

        public java.lang.String getEdgeRouting()
        Get string representation route to oblique style with a certain number of bends.
        Returns:
        string.
      • setEdgeRouting

        public void setEdgeRouting​(java.lang.String s)
        Set string representation route to oblique style with a certain number of bends.
        Parameters:
        s - string value.
      • setBackloopRouting

        public void setBackloopRouting​(boolean b)
        Set Back Loop Routing property value in order to enabled all paths that do not point in the main layout direction will be routed as backloops.
        Parameters:
        b - boolean.
      • getBackloopRouting

        public boolean getBackloopRouting()
        Get Back Loop Routing property value in order to enabled all paths that do not point in the main layout direction will be routed as backloops.
        Returns:
        true if backloop routing is enabled, false otherwise
      • setShapeAlignmentWithinLayer

        public void setShapeAlignmentWithinLayer​(java.lang.String value)
        Set Shape alignment within a layer.
      • getShapeAlignmentWithinLayer

        public java.lang.String getShapeAlignmentWithinLayer()
        Get Shape position within a layer.
        Returns:
        string.
      • setUseTransposition

        public void setUseTransposition​(boolean b)
        Set the transposition property value in order to enable a post-processing further reduces the number of path crossings. The post-processing step can be rather time consuming.
        Parameters:
        b - boolean value.
      • getUseTransposition

        public boolean getUseTransposition()
        Get the transposition property value determines a post-processing further reduces the number of path crossings. The post-processing step can be rather time consuming.
        Returns:
        value.
      • setRemoveFalseCrossings

        public void setRemoveFalseCrossings​(boolean b)
        Set Remove False Crossings property value determines a post-processing step tries to eliminate all false path crossings. A false path crossing is a path crossing between two paths that attached to the same shape.
        Parameters:
        b - boolean value.
      • getRemoveFalseCrossings

        public boolean getRemoveFalseCrossings()
        Get Remove False Crossings property value in order to enable a post-processing step tries to eliminate all false path crossings. A false path crossing is a path crossing between two paths that attached to the same shape.
        Returns:
        true if should remove false crossings
      • setUseGlobalSequencing

        public void setUseGlobalSequencing​(boolean b)
        Set Use Global Sequencing property value. It can be used to activate an alternative sequencing algorithm that calculates the shapes order. This algorithm tends to give better results for complex shape nesting but may produce more crossings locally than the default algorithm.
        Parameters:
        b - boolean
      • getUseGlobalSequencing

        public boolean getUseGlobalSequencing()
        Get Use Global Sequencing property value. It can be used to activate an alternative sequencing algorithm that calculates the shapes order. This algorithm tends to give better results for complex shape nesting but may produce more crossings locally than the default algorithm.
        Returns:
        boolean
      • setLayoutOnlyTopLevel

        public void setLayoutOnlyTopLevel​(boolean b)
        Set Layout Only Top Level property value in order to keeps the relative position of symbols inside packages and performs the top level layout.
        Parameters:
        b - boolean.
      • getLayoutOnlyTopLevel

        public boolean getLayoutOnlyTopLevel()
        Gets the Layout only top level value. It allows the inside of group nodes not to be layouted.
        Returns:
        true if only outer nodes should be layouter, false if all nodes should be layouted
      • isLayoutOnlyTopLevel

        public boolean isLayoutOnlyTopLevel()
        Check Layout Only Top Level property value. It indicates position of symbols inside packages is on the top level layout.
        Returns:
        true if should layout only the top level, but not inner group node structure
      • setMakeSubTrees

        public void setMakeSubTrees​(boolean b)
        Set Make Sub trees property value to set the inheritance paths are joined into inheritance arcs.
        Parameters:
        b - true to make trees
      • getMakeSubTrees

        public boolean getMakeSubTrees()
        Get Make Sub trees property value.
        Returns:
        boolean
      • setLayoutLabelConsideration

        public void setLayoutLabelConsideration​(java.lang.String value)
        Set label consideration mode
      • getLayoutLabelConsideration

        public java.lang.String getLayoutLabelConsideration()
        Get label consideration mode
        Returns:
        string.
      • afterLoad

        @NotApi
        protected void afterLoad​(com.nomagic.magicdraw.lic.MDVersion version,
                                 boolean pluginsLoaded)
      • setConsiderLayoutTemplates

        public void setConsiderLayoutTemplates​(boolean b)
        If set to true, leaves the elements that have layout templates unchanged.
      • getConsiderLayoutTemplates

        public boolean getConsiderLayoutTemplates()