Documentation of 'com.mxgraph.layout.mxFastOrganicLayout' Java class
mxFastOrganicLayout
com.mxgraph.layout

Class mxFastOrganicLayout

    • Constructor Detail

      • mxFastOrganicLayout

        public mxFastOrganicLayout(mxGraph graph)
        Constructs a new fast organic layout for the specified graph.
    • Method Detail

      • isVertexIgnored

        public boolean isVertexIgnored(java.lang.Object vertex)
        Returns a boolean indicating if the given should be ignored as a vertex. This returns true if the cell has no connections.
        Overrides:
        isVertexIgnored in class mxGraphLayout
        Parameters:
        vertex - Object that represents the vertex to be tested.
        Returns:
        Returns true if the vertex should be ignored.
      • isUseInputOrigin

        public boolean isUseInputOrigin()
      • setUseInputOrigin

        public void setUseInputOrigin(boolean value)
        Parameters:
        value -
      • isResetEdges

        public boolean isResetEdges()
      • setResetEdges

        public void setResetEdges(boolean value)
        Parameters:
        value -
      • isDisableEdgeStyle

        public boolean isDisableEdgeStyle()
      • setDisableEdgeStyle

        public void setDisableEdgeStyle(boolean value)
        Parameters:
        value -
      • getMaxIterations

        public double getMaxIterations()
      • setMaxIterations

        public void setMaxIterations(double value)
        Parameters:
        value -
      • getForceConstant

        public double getForceConstant()
      • setForceConstant

        public void setForceConstant(double value)
        Parameters:
        value -
      • getMinDistanceLimit

        public double getMinDistanceLimit()
      • setMinDistanceLimit

        public void setMinDistanceLimit(double value)
        Parameters:
        value -
      • getMaxDistanceLimit

        public double getMaxDistanceLimit()
        Returns:
        the maxDistanceLimit
      • setMaxDistanceLimit

        public void setMaxDistanceLimit(double maxDistanceLimit)
        Parameters:
        maxDistanceLimit - the maxDistanceLimit to set
      • getInitialTemp

        public double getInitialTemp()
      • setInitialTemp

        public void setInitialTemp(double value)
        Parameters:
        value -
      • moveCell

        public void moveCell(java.lang.Object cell,
                             double x,
                             double y)
        Description copied from interface: mxIGraphLayout
        Notified when a cell is being moved in a parent that has automatic layout to update the cell state (eg. index) so that the outcome of the layout will position the vertex as close to the point (x, y) as possible.
        Specified by:
        moveCell in interface mxIGraphLayout
        Overrides:
        moveCell in class mxGraphLayout
        Parameters:
        cell - Cell which is being moved.
        x - X-coordinate of the new cell location.
        y - Y-coordinate of the new cell location.
      • execute

        public void execute(java.lang.Object parent)
        Description copied from interface: mxIGraphLayout
        Executes the layout for the children of the specified parent.
        Specified by:
        execute in interface mxIGraphLayout
        Overrides:
        execute in class mxGraphLayout
        Parameters:
        parent - Parent cell that contains the children to be layed out.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.