public class SequenceEdgeStyleFunction
extends java.lang.Object
implements com.mxgraph.view.mxEdgeStyle.mxEdgeStyleFunction
Modifier and Type | Field and Description |
---|---|
protected static double |
NON_ALIGNED_AXIS_OFFSET_ADJUSTMENT
Offset adjustment for non-aligned axis
|
Constructor and Description |
---|
SequenceEdgeStyleFunction() |
Modifier and Type | Method and Description |
---|---|
static com.mxgraph.util.mxPoint |
adjustPoint(com.mxgraph.view.mxGraph graph,
java.lang.Object parent,
com.mxgraph.util.mxPoint point)
Adjusts a point for relative positioning.
|
void |
apply(com.mxgraph.view.mxCellState state,
com.mxgraph.view.mxCellState source,
com.mxgraph.view.mxCellState target,
java.util.List<com.mxgraph.util.mxPoint> points,
java.util.List<com.mxgraph.util.mxPoint> result)
Applies the style.
|
static VActivity |
getVActivity(java.lang.Object cell) |
protected static final double NON_ALIGNED_AXIS_OFFSET_ADJUSTMENT
public void apply(com.mxgraph.view.mxCellState state, com.mxgraph.view.mxCellState source, com.mxgraph.view.mxCellState target, java.util.List<com.mxgraph.util.mxPoint> points, java.util.List<com.mxgraph.util.mxPoint> result)
apply
in interface com.mxgraph.view.mxEdgeStyle.mxEdgeStyleFunction
public static final com.mxgraph.util.mxPoint adjustPoint(com.mxgraph.view.mxGraph graph, java.lang.Object parent, com.mxgraph.util.mxPoint point)
modelcontainer
- The model container.parent
- The parent cell.point
- The unadjusted targeted point.public static final VActivity getVActivity(java.lang.Object cell)