com.mxgraph.layout.orthogonal
Class mxOrthogonalLayout
java.lang.Object
com.mxgraph.layout.mxGraphLayout
com.mxgraph.layout.orthogonal.mxOrthogonalLayout
- All Implemented Interfaces:
- mxIGraphLayout
public class mxOrthogonalLayout
- extends mxGraphLayout
Method Summary |
void |
execute(Object parent)
Executes the layout for the children of the specified parent. |
Methods inherited from class com.mxgraph.layout.mxGraphLayout |
arrangeGroups, getConstraint, getConstraint, getGraph, getParentOffset, getVertexBounds, isEdgeIgnored, isUseBoundingBox, isVertexIgnored, isVertexMovable, moveCell, setEdgePoints, setEdgeStyleEnabled, setOrthogonalEdge, setUseBoundingBox, setVertexLocation |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
orthModel
protected mxOrthogonalModel orthModel
routeToGrid
protected boolean routeToGrid
- Whether or not to route the edges along grid lines only, if the grid
is enabled. Default is false
mxOrthogonalLayout
public mxOrthogonalLayout(mxGraph graph)
execute
public void execute(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.
Copyright (c) 2010 Gaudenz Alder, David Benson. All rights reserved.