Package com.mxgraph.layout
Class mxEdgeLabelLayout
java.lang.Object
com.mxgraph.layout.mxGraphLayout
com.mxgraph.layout.mxEdgeLabelLayout
- All Implemented Interfaces:
mxIGraphLayout
-
Field Summary
Fields inherited from class com.mxgraph.layout.mxGraphLayout
graph, parent, useBoundingBox
-
Constructor Summary
ConstructorsConstructorDescriptionmxEdgeLabelLayout
(mxGraph graph) Constructs a new stack layout layout for the specified graph, spacing, orientation and offset. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
avoid
(mxCellState edge, mxCellState vertex) void
Executes the layout for the children of the specified parent.protected void
placeLabels
(Object[] v, Object[] e) Methods inherited from class com.mxgraph.layout.mxGraphLayout
arrangeGroups, getConstraint, getConstraint, getGraph, getParentOffset, getVertexBounds, isEdgeIgnored, isUseBoundingBox, isVertexIgnored, isVertexMovable, moveCell, setEdgePoints, setEdgeStyleEnabled, setOrthogonalEdge, setUseBoundingBox, setVertexLocation
-
Constructor Details
-
mxEdgeLabelLayout
Constructs a new stack layout layout for the specified graph, spacing, orientation and offset.
-
-
Method Details
-
execute
Description copied from interface:mxIGraphLayout
Executes the layout for the children of the specified parent.- Specified by:
execute
in interfacemxIGraphLayout
- Overrides:
execute
in classmxGraphLayout
- Parameters:
parent
- Parent cell that contains the children to be layed out.
-
placeLabels
-
avoid
-