Package com.mxgraph.view
Class mxEdgeStyle
java.lang.Object
com.mxgraph.view.mxEdgeStyle
Provides various edge styles to be used as the values for
mxConstants.STYLE_EDGE in a cell style. Alternatevly, the mxConstants.
EDGESTYLE_* constants can be used to reference an edge style via the
mxStyleRegistry.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
Defines the requirements for an edge style function. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic int
static int
static int
static double[][]
Uses either SideToSide or TopToBottom depending on the horizontal flag in the cell style.Provides an entity relation style for edges (as used in database schema diagrams).static double
static int[][][]
Overriden routing patterns for orthogonal connections where the vertices havestatic int
static int
static double[][]
Provides a self-reference, aka.static double
An orthogonal connector that avoids connecting vertices and respects port constraintsstatic int
static int
static int[][][]
The default routing patterns for orthogonal connectionsImplements an orthogonal edge style.static int
Provides a vertical elbow edge.static int
static int
static int
static int
Provides a horizontal elbow edge.static double
static int
static double[]
static double[][]
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
EntityRelation
Provides an entity relation style for edges (as used in database schema diagrams). -
Loop
Provides a self-reference, aka. loop. -
ElbowConnector
Uses either SideToSide or TopToBottom depending on the horizontal flag in the cell style. SideToSide is used if horizontal is true or unspecified. -
SideToSide
Provides a vertical elbow edge. -
TopToBottom
Provides a horizontal elbow edge. -
SegmentConnector
Implements an orthogonal edge style. Useas an interactive handler for this style. -
orthBuffer
public static double orthBuffer -
dirVectors
public static double[][] dirVectors -
wayPoints1
public static double[][] wayPoints1 -
routePatterns
public static int[][][] routePatternsThe default routing patterns for orthogonal connections -
inlineRoutePatterns
public static int[][][] inlineRoutePatternsOverriden routing patterns for orthogonal connections where the vertices have -
vertexSeperations
public static double[] vertexSeperations -
limits
public static double[][] limits -
LEFT_MASK
public static int LEFT_MASK -
TOP_MASK
public static int TOP_MASK -
RIGHT_MASK
public static int RIGHT_MASK -
BOTTOM_MASK
public static int BOTTOM_MASK -
LEFT
public static int LEFT -
TOP
public static int TOP -
RIGHT
public static int RIGHT -
BOTTOM
public static int BOTTOM -
SIDE_MASK
public static int SIDE_MASK -
CENTER_MASK
public static int CENTER_MASK -
SOURCE_MASK
public static int SOURCE_MASK -
TARGET_MASK
public static int TARGET_MASK -
VERTEX_MASK
public static int VERTEX_MASK -
vertBendProportion
public static double vertBendProportion -
hozBendProportion
public static double hozBendProportion -
OrthConnector
An orthogonal connector that avoids connecting vertices and respects port constraints
-
-
Constructor Details
-
mxEdgeStyle
public mxEdgeStyle()
-