public class mxParallelEdgeLayout extends mxGraphLayout
Modifier and Type | Field and Description |
---|---|
protected int |
spacing
Specifies the spacing between the edges.
|
graph, parent, useBoundingBox
Constructor and Description |
---|
mxParallelEdgeLayout(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.
|
Modifier and Type | Method and Description |
---|---|
void |
execute(Object parent)
Executes the layout for the children of the specified parent.
|
protected Map<String,List<Object>> |
findParallels(Object parent) |
protected String |
getEdgeId(Object edge) |
protected void |
layout(List<Object> parallels) |
protected void |
route(Object edge,
double x,
double y) |
arrangeGroups, getConstraint, getConstraint, getGraph, getParentOffset, getVertexBounds, isEdgeIgnored, isUseBoundingBox, isVertexIgnored, isVertexMovable, moveCell, setEdgePoints, setEdgeStyleEnabled, setOrthogonalEdge, setUseBoundingBox, setVertexLocation
public mxParallelEdgeLayout(mxGraph graph)
public mxParallelEdgeLayout(mxGraph graph, int spacing)
public void execute(Object parent)
mxIGraphLayout
execute
in interface mxIGraphLayout
execute
in class mxGraphLayout
parent
- Parent cell that contains the children to be layed out.protected void route(Object edge, double x, double y)
Copyright (c) 2010-2017 Gaudenz Alder, JGraph Ltd. All rights reserved.