Package 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
-
-
Field Summary
Fields Modifier and Type Field Description protected mxOrthogonalModelorthModelprotected booleanrouteToGridWhether or not to route the edges along grid lines only, if the grid is enabled.-
Fields inherited from class com.mxgraph.layout.mxGraphLayout
graph, parent, useBoundingBox
-
-
Constructor Summary
Constructors Constructor Description mxOrthogonalLayout(mxGraph graph)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(java.lang.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
-
-
-
-
Field Detail
-
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
-
-
Constructor Detail
-
mxOrthogonalLayout
public mxOrthogonalLayout(mxGraph graph)
-
-
Method Detail
-
execute
public void execute(java.lang.Object parent)
Description copied from interface:mxIGraphLayoutExecutes the layout for the children of the specified parent.- Specified by:
executein interfacemxIGraphLayout- Overrides:
executein classmxGraphLayout- Parameters:
parent- Parent cell that contains the children to be layed out.
-
-