Package com.mxgraph.layout
Class mxParallelEdgeLayout
java.lang.Object
com.mxgraph.layout.mxGraphLayout
com.mxgraph.layout.mxParallelEdgeLayout
- All Implemented Interfaces:
mxIGraphLayout
-
Field Summary
FieldsFields inherited from class com.mxgraph.layout.mxGraphLayout
graph, parent, useBoundingBox -
Constructor Summary
ConstructorsConstructorDescriptionmxParallelEdgeLayout(mxGraph graph) Constructs a new stack layout layout for the specified graph, spacing, orientation and offset.mxParallelEdgeLayout(mxGraph graph, int spacing) Constructs a new stack layout layout for the specified graph, spacing, orientation and offset. -
Method Summary
Modifier and TypeMethodDescriptionvoidExecutes the layout for the children of the specified parent.findParallels(Object parent) protected Stringprotected voidprotected voidMethods inherited from class com.mxgraph.layout.mxGraphLayout
arrangeGroups, getConstraint, getConstraint, getGraph, getParentOffset, getVertexBounds, isEdgeIgnored, isUseBoundingBox, isVertexIgnored, isVertexMovable, moveCell, setEdgePoints, setEdgeStyleEnabled, setOrthogonalEdge, setUseBoundingBox, setVertexLocation
-
Field Details
-
spacing
protected int spacingSpecifies the spacing between the edges. Default is 20.
-
-
Constructor Details
-
mxParallelEdgeLayout
Constructs a new stack layout layout for the specified graph, spacing, orientation and offset. -
mxParallelEdgeLayout
Constructs a new stack layout layout for the specified graph, spacing, orientation and offset.
-
-
Method Details
-
execute
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.
-
findParallels
-
getEdgeId
-
layout
-
route
-