Defines global constants.
mxConstants | Defines global constants. |
Variables | |
RAD_PER_DEG | Defines the number of radiants per degree. |
DEG_PER_RAD | Defines the number of degrees per radiant. |
ACTIVE_REGION | Defines the portion of the cell which is to be used as a connectable region. |
MIN_ACTIVE_REGION | Defines the minimum size in pixels of the portion of the cell cell which is to be used as a connectable region. |
NS_SVG | Defines the SVG namespace. |
NS_XHTML | Defines the XHTML namespace. |
NS_XLINK | Defined the XLink namespace. |
W3C_SHADOWCOLOR | Defines the color to be used to draw shadows in DOM documents. |
SHADOW_OFFSETX | Defines the x-offset to be used for shadows. |
SHADOW_OFFSETY | Defines the y-offset to be used for shadows. |
W3C_DEFAULT_FONTFAMILY | Defines the default family for HTML markup. |
TTF_ENABLED | Whether TrueType fonts should be enabled in the mxGdCanvas by default. |
TTF_SIZEFACTOR | Defines the factor which wich the font sizes are to be multiplied when used in truetype fonts. |
DEFAULT_FONTFAMILY | Defines the default family for all truetype fonts. |
DEFAULT_FONTSIZE | Defines the default size for all fonts in points. |
DEFAULT_STARTSIZE | Defines the default start size for swimlanes. |
DEFAULT_LINESPACING | Defines the default linespacing. |
LABEL_INSET | Defines the inset in absolute pixels between the label bounding box and the label text. |
DEFAULT_MARKERSIZE | Defines the default size for all markers. |
DEFAULT_IMAGESIZE | Defines the default width and height for images used in the label shape. |
ENTITY_SEGMENT | Defines the length of the horizontal segment of an Entity Relation. |
ARROW_SPACING | Defines the spacing between the arrow shape and its terminals. |
ARROW_WIDTH | Defines the width of the arrow shape. |
ARROW_SIZE | Defines the size of the arrowhead in the arrow shape. |
NONE | Defines the value for none. |
STYLE_PERIMETER | Defines the key for the perimeter style. |
STYLE_OPACITY | Defines the key for the opacity style. |
STYLE_TEXT_OPACITY | Defines the key for the text opacity style. |
STYLE_OVERFLOW | Defines the key for the overflow style. |
STYLE_ORTHOGONAL | Defines if the connection points on either end of the edge should be computed so that the edge is vertical or horizontal if possible and if the point is not at a fixed location. |
STYLE_EXIT_X | Defines the key for the horizontal relative coordinate connection point of an edge with its source terminal. |
STYLE_EXIT_Y | Defines the key for the vertical relative coordinate connection point of an edge with its source terminal. |
STYLE_EXIT_PERIMETER | Defines if the perimeter should be used to find the exact entry point along the perimeter of the source. |
STYLE_ENTRY_X | Defines the key for the horizontal relative coordinate connection point of an edge with its target terminal. |
STYLE_ENTRY_Y | Defines the key for the vertical relative coordinate connection point of an edge with its target terminal. |
sSTYLE_ENTRY_PERIMETER | Defines if the perimeter should be used to find the exact entry point along the perimeter of the target. |
STYLE_WHITE_SPACE | Defines the key for the white-space style. |
STYLE_ROTATION | Defines the key for the rotation style. |
STYLE_FILLCOLOR | Defines the key for the fill color. |
STYLE_SWIMLANE_FILLCOLOR | Defines the key for the fill color of the swimlane background. |
STYLE_GRADIENTCOLOR | Defines the key for the gradient color. |
STYLE_GRADIENT_DIRECTION | Defines the key for the gradient direction. |
STYLE_STROKECOLOR | Defines the key for the strokeColor style. |
STYLE_SEPARATORCOLOR | Defines the key for the separatorColor style. |
STYLE_STROKEWIDTH | Defines the key for the strokeWidth style. |
STYLE_ALIGN | Defines the key for the align style. |
STYLE_VERTICAL_ALIGN | Defines the key for the verticalAlign style. |
STYLE_LABEL_POSITION | Defines the key for the horizontal label position of vertices. |
STYLE_VERTICAL_LABEL_POSITION | Defines the key for the vertical label position of vertices. |
STYLE_IMAGE_ALIGN | Defines the key for the align style. |
STYLE_IMAGE_VERTICALALIGN | Defines the key for the verticalAlign style. |
STYLE_IMAGE | Defines the key for the image style. |
STYLE_IMAGE_WIDTH | Defines the key for the imageWidth style. |
STYLE_IMAGE_HEIGHT | Defines the key for the imageHeight style. |
STYLE_IMAGE_BACKGROUND | Defines the key for the image background color. |
STYLE_IMAGE_BORDER | Defines the key for the image border color. |
STYLE_IMAGE_FLIPH | Defines the key for the horizontal image flip. |
STYLE_IMAGE_FLIPV | Defines the key for the vertical image flip. |
STYLE_NOLABEL | Defines the key for the noLabel style. |
STYLE_NOEDGESTYLE | Defines the key for the noEdgeStyle style. |
STYLE_LABEL_BACKGROUNDCOLOR | Defines the key for the label background color. |
STYLE_LABEL_BORDERCOLOR | Defines the key for the label border color. |
STYLE_INDICATOR_SHAPE | Defines the key for the indicatorShape style. |
STYLE_INDICATOR_IMAGE | Defines the key for the indicatorImage style. |
STYLE_INDICATOR_COLOR | Defines the key for the indicatorColor style. |
STYLE_INDICATOR_GRADIENTCOLOR | Defines the key for the indicatorGradientColor style. |
STYLE_INDICATOR_SPACING | Defines the key for the indicatorSpacing style (in px). |
STYLE_INDICATOR_WIDTH | Defines the key for the indicatorWidth style (in px). |
STYLE_INDICATOR_HEIGHT | Defines the key for the indicatorHeight style (in px). |
STYLE_SHADOW | Defines the key for the shadow style. |
STYLE_SEGMENT | Defines the key for the segment style. |
STYLE_ENDARROW | Defines the key for the endArrow style. |
STYLE_STARTARROW | Defines the key for the startArrow style. |
STYLE_ENDSIZE | Defines the key for the endSize style. |
STYLE_STARTSIZE | Defines the key for the startSize style. |
STYLE_SWIMLANE_LINE | Defines the key for the swimlaneLine style. |
STYLE_DASHED | Defines the key for the endSize style. |
STYLE_ROUNDED | Defines the key for the rounded style. |
STYLE_SOURCE_PERIMETER_SPACING | Defines the key for the source perimeter spacing. |
STYLE_TARGET_PERIMETER_SPACING | Defines the key for the source perimeter spacing. |
STYLE_PERIMETER_SPACING | Defines the key for the perimeter spacing. |
STYLE_SPACING | Defines the key for the spacing. |
STYLE_SPACING_TOP | Defines the key for the spacingTop style. |
STYLE_SPACING_LEFT | Defines the key for the spacingLeft style. |
STYLE_SPACING_BOTTOM | Defines the key for the spacingBottom style The value represents the spacing, in pixels, added to the bottom side of a label in a vertex (style applies to vertices only). |
STYLE_SPACING_RIGHT | Defines the key for the spacingRight style The value represents the spacing, in pixels, added to the right side of a label in a vertex (style applies to vertices only). |
STYLE_HORIZONTAL | Defines the key for the horizontal style. |
STYLE_DIRECTION | Defines the key for the direction style. |
STYLE_ELBOW | Defines the key for the elbow style. |
STYLE_FONTCOLOR | Defines the key for the fontColor style. |
STYLE_FONTFAMILY | Defines the key for the fontFamily style. |
STYLE_FONTSIZE | Defines the key for the fontSize style (in points). |
STYLE_FONTSTYLE | Defines the key for the fontStyle style. |
STYLE_SHAPE | Defines the key for the shape. |
STYLE_EDGE | Defines the key for the edge style. |
STYLE_LOOP | Defines the key for the loop style. |
STYLE_ROUTING_CENTER_X | Defines the key for the horizontal routing center. |
STYLE_ROUTING_CENTER_Y | Defines the key for the vertical routing center. |
FONT_BOLD | |
FONT_ITALIC | |
FONT_UNDERLINE | |
SHAPE_RECTANGLE | |
SHAPE_ELLIPSE | |
SHAPE_DOUBLE_ELLIPSE | |
SHAPE_RHOMBUS | |
SHAPE_LINE | |
SHAPE_IMAGE | |
SHAPE_ARROW | |
SHAPE_LABEL | |
SHAPE_CYLINDER | |
SHAPE_SWIMLANE | |
SHAPE_CONNECTOR | |
SHAPE_ACTOR | |
SHAPE_CLOUD | |
SHAPE_TRIANGLE | |
SHAPE_HEXAGON | |
ARROW_CLASSIC | |
ARROW_BLOCK | |
ARROW_OPEN | |
ARROW_OVAL | |
ARROW_DIAMOND | |
ALIGN_LEFT | |
ALIGN_CENTER | |
ALIGN_RIGHT | |
ALIGN_TOP | |
ALIGN_MIDDLE | |
ALIGN_BOTTOM | |
DIRECTION_NORTH | |
DIRECTION_SOUTH | |
DIRECTION_EAST | |
DIRECTION_WEST | |
ELBOW_VERTICAL | |
ELBOW_HORIZONTAL | |
EDGESTYLE_ENTITY_RELATION | Name of the entity relation edge style. |
EDGESTYLE_LOOP | Name of the loop edge style. |
EDGESTYLE_SIDETOSIDE | Name of the side to side edge style. |
EDGESTYLE_TOPTOBOTTOM | Name of the top to bottom edge style. |
PERIMETER_ELLIPSE | Name of the ellipse perimeter. |
PERIMETER_RECTANGLE | Name of the rectangle perimeter. |
PERIMETER_RHOMBUS | Name of the rhombus perimeter. |
PERIMETER_TRIANGLE | Name of the triangle perimeter. |
public static $ENTITY_SEGMENT
Defines the length of the horizontal segment of an Entity Relation. This can be overridden using mxConstants.STYLE_SEGMENT style. Default is 30.
public static $STYLE_PERIMETER
Defines the key for the perimeter style. This is a function that defines the perimeter around a particular shape. Possible values are the functions defined in mxPerimeter. Alternatively, the constants in this class that start with <code>PERIMETER_</code> may be used to access perimeter styles in mxStyleRegistry.
public static $STYLE_OVERFLOW
Defines the key for the overflow style. Possible values are “visible”, “hidden” and “fill”. The default value is “visible”. This value specifies how overlapping vertex labels are handles. A value of “visible” will show the complete label. A value of “hidden” will clip the label so that it does not overlap the vertex bounds. A value of “fill” will use the vertex bounds for the label.
This style is ignored in PHP.
public static $STYLE_ORTHOGONAL
Defines if the connection points on either end of the edge should be computed so that the edge is vertical or horizontal if possible and if the point is not at a fixed location. Default is false. This is used in mxGraph.isOrthogonal, which also returns true if the edgeStyle of the edge is an elbow or entity.
public static $STYLE_WHITE_SPACE
Defines the key for the white-space style. Possible values are “nowrap” and “wrap”. The default value is “nowrap”. This value specifies how white-space inside a HTML vertex label should be handled. A value of “nowrap” means the text will never wrap to the next line until a linefeed is encountered. A value of “wrap” means text will wrap when necessary. This style is only used for HTML labels.
This style is ignored in PHP.
public static $STYLE_GRADIENTCOLOR
Defines the key for the gradient color. Possible values are all HTML color names or HEX codes, as well as special keywords such as ‘swimlane, ‘inherit’ or ‘indicated’ to use the color code of a related cell or the indicator shape. This is ignored if no fill color is defined.
public static $STYLE_GRADIENT_DIRECTION
Defines the key for the gradient direction. Possible values are DIRECTION_EAST, DIRECTION_WEST, DIRECTION_NORTH and DIRECTION_SOUTH. Default is DIRECTION_SOUTH. Generally, and by default in mxGraph, gradient painting is done from the value of STYLE_FILLCOLOR to the value of STYLE_GRADIENTCOLOR. Taking the example of DIRECTION_NORTH, this means STYLE_FILLCOLOR color at the bottom of paint pattern and STYLE_GRADIENTCOLOR at top, with a gradient in-between.
public static $STYLE_SEPARATORCOLOR
Defines the key for the separatorColor style. Possible values are all HTML color names or HEX codes. This style is only used for SHAPE_SWIMLANE shapes.
public static $STYLE_ALIGN
Defines the key for the align style. Possible values are ALIGN_LEFT, ALIGN_CENTER and ALIGN_RIGHT. This value defines how the lines of the label are horizontally aligned. ALIGN_LEFT mean label text lines are aligned to left of the label bounds, ALIGN_RIGHT to the right of the label bounds and ALIGN_CENTER means the center of the text lines are aligned in the center of the label bounds. Note this value doesn’t affect the positioning of the overall label bounds relative to the vertex, to move the label bounds horizontally, use STYLE_LABEL_POSITION.
public static $STYLE_VERTICAL_ALIGN
Defines the key for the verticalAlign style. Possible values are ALIGN_TOP, ALIGN_MIDDLE and ALIGN_BOTTOM. This value defines how the lines of the label are vertically aligned. ALIGN_TOP means the topmost label text line is aligned against the top of the label bounds, ALIGN_BOTTOM means the bottom-most label text line is aligned against the bottom of the label bounds and ALIGN_MIDDLE means there is equal spacing between the topmost text label line and the top of the label bounds and the bottom-most text label line and the bottom of the label bounds. Note this value doesn’t affect the positioning of the overall label bounds relative to the vertex, to move the label bounds vertically, use STYLE_VERTICAL_LABEL_POSITION.
public static $STYLE_LABEL_POSITION
Defines the key for the horizontal label position of vertices. Possible values are ALIGN_LEFT, ALIGN_CENTER and ALIGN_RIGHT. Default is ALIGN_CENTER. The label align defines the position of the label relative to the cell. ALIGN_LEFT means the entire label bounds is placed completely just to the left of the vertex, ALIGN_RIGHT means adjust to the right and ALIGN_CENTER means the label bounds are vertically aligned with the bounds of the vertex. Note this value doesn’t affect the positioning of label within the label bounds, to move the label horizontally within the label bounds, use STYLE_ALIGN.
public static $STYLE_VERTICAL_LABEL_POSITION
Defines the key for the vertical label position of vertices. Possible values are ALIGN_TOP, ALIGN_BOTTOM and ALIGN_MIDDLE. Default is ALIGN_MIDDLE. The label align defines the position of the label relative to the cell. ALIGN_TOP means the entire label bounds is placed completely just on the top of the vertex, ALIGN_BOTTOM means adjust on the bottom and ALIGN_MIDDLE means the label bounds are horizontally aligned with the bounds of the vertex. Note this value doesn’t affect the positioning of label within the label bounds, to move the label vertically within the label bounds, use STYLE_VERTICAL_ALIGN.
public static $STYLE_IMAGE_ALIGN
Defines the key for the align style. Possible values are ALIGN_LEFT, ALIGN_CENTER and ALIGN_RIGHT. The value defines how any image in the vertex label is aligned horizontally within the label bounds of a SHAPE_LABEL shape.
Defines the key for the verticalAlign style. Possible values are ALIGN_TOP, ALIGN_MIDDLE and ALIGN_BOTTOM. The value defines how any image in the vertex label is aligned vertically within the label bounds of a SHAPE_LABEL shape.
public static $STYLE_IMAGE
Defines the key for the image style. Possible values are any image URL, registered key in <mxImageResources> or short data URI as defined in mxImageBundle. The type of the value is String. This is the path to the image to image that is to be displayed within the label of a vertex. Finally, mxUtils.loadImage is used for loading the image for a given value.
public static $STYLE_INDICATOR_GRADIENTCOLOR
Defines the key for the indicatorGradientColor style. Possible values are all HTML color names or HEX codes. This style is only supported in SHAPE_LABEL shapes.
public static $STYLE_ROUNDED
Defines the key for the rounded style. The type of this value is Boolean. For edges this determines whether or not joins between edges segments are smoothed to a rounded finish. For vertices that have the rectangle shape, this determines whether or not the rectangle is rounded.
public static $STYLE_SOURCE_PERIMETER_SPACING
Defines the key for the source perimeter spacing. The type of this value is numeric. This is the distance between the source connection point of an edge and the perimeter of the source vertex in pixels. This style only applies to edges.
public static $STYLE_PERIMETER_SPACING
Defines the key for the perimeter spacing. This is the distance between the connection point and the perimeter in pixels. When used in a vertex style, this applies to all incoming edges to floating ports (edges that terminate on the perimeter of the vertex). When used in an edge style, this spacing applies to the source and target separately, if they terminate in floating ports (on the perimeter of the vertex).
public static $STYLE_HORIZONTAL
Defines the key for the horizontal style. Possible values are true or false. This value only applies to vertices. If the STYLE_SHAPE is <code>SHAPE_SWIMLANE</code> a value of false indicates that the swimlane should be drawn vertically, true indicates to draw it horizontally. If the shape style does not indicate that this vertex is a swimlane, this value affects only whether the label is drawn horizontally or vertically.
public static $STYLE_DIRECTION
Defines the key for the direction style. The direction style is used to specify the direction of certain shapes (eg. <mxTriangle>). Possible values are DIRECTION_EAST (default), DIRECTION_WEST, DIRECTION_NORTH and DIRECTION_SOUTH.
public static $STYLE_ELBOW
Defines the key for the elbow style. Possible values are ELBOW_HORIZONTAL and ELBOW_VERTICAL. Default is ELBOW_HORIZONTAL. This defines how the three segment orthogonal edge style leaves its terminal vertices. The vertical style leaves the terminal vertices at the top and bottom sides.
public static $STYLE_FONTSTYLE
Defines the key for the fontStyle style. Values may be any logical AND (sum) of FONT_BOLD, FONT_ITALIC and FONT_UNDERLINE. The type of the value is int.
public static $STYLE_EDGE
Defines the key for the edge style. Possible values are the functions defined in mxEdgeStyle.
public static $STYLE_LOOP
Defines the key for the loop style. Possible values are the functions defined in mxEdgeStyle.
Defines the number of radiants per degree.
public static $RAD_PER_DEG
Defines the number of degrees per radiant.
public static $DEG_PER_RAD
Defines the portion of the cell which is to be used as a connectable region.
public static $ACTIVE_REGION
Defines the minimum size in pixels of the portion of the cell cell which is to be used as a connectable region.
public static $MIN_ACTIVE_REGION
Defines the SVG namespace.
public static $NS_SVG
Defines the XHTML namespace.
public static $NS_XHTML
Defined the XLink namespace.
public static $NS_XLINK
Defines the color to be used to draw shadows in DOM documents.
public static $W3C_SHADOWCOLOR
Defines the x-offset to be used for shadows.
public static $SHADOW_OFFSETX
Defines the y-offset to be used for shadows.
public static $SHADOW_OFFSETY
Defines the default family for HTML markup.
public static $W3C_DEFAULT_FONTFAMILY
Whether TrueType fonts should be enabled in the mxGdCanvas by default.
public static $TTF_ENABLED
Defines the factor which wich the font sizes are to be multiplied when used in truetype fonts.
public static $TTF_SIZEFACTOR
Defines the default family for all truetype fonts.
public static $DEFAULT_FONTFAMILY
Defines the default size for all fonts in points.
public static $DEFAULT_FONTSIZE
Defines the default start size for swimlanes.
public static $DEFAULT_STARTSIZE
Defines the default linespacing.
public static $DEFAULT_LINESPACING
Defines the inset in absolute pixels between the label bounding box and the label text.
public static $LABEL_INSET
Defines the default size for all markers.
public static $DEFAULT_MARKERSIZE
Defines the default width and height for images used in the label shape.
public static $DEFAULT_IMAGESIZE
Defines the length of the horizontal segment of an Entity Relation.
public static $ENTITY_SEGMENT
Defines the spacing between the arrow shape and its terminals.
public static $ARROW_SPACING
Defines the width of the arrow shape.
public static $ARROW_WIDTH
Defines the size of the arrowhead in the arrow shape.
public static $ARROW_SIZE
Defines the value for none.
public static $NONE
Defines the key for the perimeter style.
public static $STYLE_PERIMETER
Defines the key for the opacity style.
public static $STYLE_OPACITY
Defines the key for the text opacity style.
public static $STYLE_TEXT_OPACITY
Defines the key for the overflow style.
public static $STYLE_OVERFLOW
Defines if the connection points on either end of the edge should be computed so that the edge is vertical or horizontal if possible and if the point is not at a fixed location.
public static $STYLE_ORTHOGONAL
Defines the key for the horizontal relative coordinate connection point of an edge with its source terminal.
public static $STYLE_EXIT_X
Defines the key for the vertical relative coordinate connection point of an edge with its source terminal.
public static $STYLE_EXIT_Y
Defines if the perimeter should be used to find the exact entry point along the perimeter of the source.
public static $STYLE_EXIT_PERIMETER
Defines the key for the horizontal relative coordinate connection point of an edge with its target terminal.
public static $STYLE_ENTRY_X
Defines the key for the vertical relative coordinate connection point of an edge with its target terminal.
public static $STYLE_ENTRY_Y
Defines the key for the white-space style.
public static $STYLE_WHITE_SPACE
Defines the key for the rotation style.
public static $STYLE_ROTATION
Defines the key for the fill color.
public static $STYLE_FILLCOLOR
Defines the key for the fill color of the swimlane background.
public static $STYLE_SWIMLANE_FILLCOLOR
Defines the key for the gradient color.
public static $STYLE_GRADIENTCOLOR
Defines the key for the gradient direction.
public static $STYLE_GRADIENT_DIRECTION
Defines the key for the strokeColor style.
public static $STYLE_STROKECOLOR
Defines the key for the separatorColor style.
public static $STYLE_SEPARATORCOLOR
Defines the key for the strokeWidth style.
public static $STYLE_STROKEWIDTH
Defines the key for the align style.
public static $STYLE_ALIGN
Defines the key for the verticalAlign style.
public static $STYLE_VERTICAL_ALIGN
Defines the key for the horizontal label position of vertices.
public static $STYLE_LABEL_POSITION
Defines the key for the vertical label position of vertices.
public static $STYLE_VERTICAL_LABEL_POSITION
Defines the key for the align style.
public static $STYLE_IMAGE_ALIGN
Defines the key for the image style.
public static $STYLE_IMAGE
Defines the key for the imageWidth style.
public static $STYLE_IMAGE_WIDTH
Defines the key for the imageHeight style.
public static $STYLE_IMAGE_HEIGHT
Defines the key for the image background color.
public static $STYLE_IMAGE_BACKGROUND
Defines the key for the image border color.
public static $STYLE_IMAGE_BORDER
Defines the key for the horizontal image flip.
public static $STYLE_IMAGE_FLIPH
Defines the key for the vertical image flip.
public static $STYLE_IMAGE_FLIPV
Defines the key for the noLabel style.
public static $STYLE_NOLABEL
Defines the key for the noEdgeStyle style.
public static $STYLE_NOEDGESTYLE
Defines the key for the label background color.
public static $STYLE_LABEL_BACKGROUNDCOLOR
Defines the key for the label border color.
public static $STYLE_LABEL_BORDERCOLOR
Defines the key for the indicatorShape style.
public static $STYLE_INDICATOR_SHAPE
Defines the key for the indicatorImage style.
public static $STYLE_INDICATOR_IMAGE
Defines the key for the indicatorColor style.
public static $STYLE_INDICATOR_COLOR
Defines the key for the indicatorGradientColor style.
public static $STYLE_INDICATOR_GRADIENTCOLOR
Defines the key for the indicatorSpacing style (in px).
public static $STYLE_INDICATOR_SPACING
Defines the key for the indicatorWidth style (in px).
public static $STYLE_INDICATOR_WIDTH
Defines the key for the indicatorHeight style (in px).
public static $STYLE_INDICATOR_HEIGHT
Defines the key for the shadow style.
public static $STYLE_SHADOW
Defines the key for the segment style.
public static $STYLE_SEGMENT
Defines the key for the endArrow style.
public static $STYLE_ENDARROW
Defines the key for the startArrow style.
public static $STYLE_STARTARROW
Defines the key for the endSize style.
public static $STYLE_ENDSIZE
Defines the key for the startSize style.
public static $STYLE_STARTSIZE
Defines the key for the swimlaneLine style.
public static $STYLE_SWIMLANE_LINE
Defines the key for the endSize style.
public static $STYLE_DASHED
Defines the key for the rounded style.
public static $STYLE_ROUNDED
Defines the key for the source perimeter spacing.
public static $STYLE_SOURCE_PERIMETER_SPACING
Defines the key for the source perimeter spacing.
public static $STYLE_TARGET_PERIMETER_SPACING
Defines the key for the perimeter spacing.
public static $STYLE_PERIMETER_SPACING
Defines the key for the spacing.
public static $STYLE_SPACING
Defines the key for the spacingTop style.
public static $STYLE_SPACING_TOP
Defines the key for the spacingLeft style.
public static $STYLE_SPACING_LEFT
Defines the key for the spacingBottom style The value represents the spacing, in pixels, added to the bottom side of a label in a vertex (style applies to vertices only).
public static $STYLE_SPACING_BOTTOM
Defines the key for the spacingRight style The value represents the spacing, in pixels, added to the right side of a label in a vertex (style applies to vertices only).
public static $STYLE_SPACING_RIGHT
Defines the key for the horizontal style.
public static $STYLE_HORIZONTAL
Defines the key for the direction style.
public static $STYLE_DIRECTION
Defines the key for the elbow style.
public static $STYLE_ELBOW
Defines the key for the fontColor style.
public static $STYLE_FONTCOLOR
Defines the key for the fontFamily style.
public static $STYLE_FONTFAMILY
Defines the key for the fontSize style (in points).
public static $STYLE_FONTSIZE
Defines the key for the fontStyle style.
public static $STYLE_FONTSTYLE
Defines the key for the shape.
public static $STYLE_SHAPE
Defines the key for the edge style.
public static $STYLE_EDGE
Defines the key for the loop style.
public static $STYLE_LOOP
Defines the key for the horizontal routing center.
public static $STYLE_ROUTING_CENTER_X
Defines the key for the vertical routing center.
public static $STYLE_ROUTING_CENTER_Y
public static $FONT_BOLD
public static $FONT_ITALIC
public static $FONT_UNDERLINE
public static $SHAPE_RECTANGLE
public static $SHAPE_ELLIPSE
public static $SHAPE_DOUBLE_ELLIPSE
public static $SHAPE_RHOMBUS
public static $SHAPE_LINE
public static $SHAPE_IMAGE
public static $SHAPE_ARROW
public static $SHAPE_LABEL
public static $SHAPE_CYLINDER
public static $SHAPE_SWIMLANE
public static $SHAPE_CONNECTOR
public static $SHAPE_ACTOR
public static $SHAPE_CLOUD
public static $SHAPE_TRIANGLE
public static $SHAPE_HEXAGON
public static $ARROW_CLASSIC
public static $ARROW_BLOCK
public static $ARROW_OPEN
public static $ARROW_OVAL
public static $ARROW_DIAMOND
public static $ALIGN_LEFT
public static $ALIGN_CENTER
public static $ALIGN_RIGHT
public static $ALIGN_TOP
public static $ALIGN_MIDDLE
public static $ALIGN_BOTTOM
public static $DIRECTION_NORTH
public static $DIRECTION_SOUTH
public static $DIRECTION_EAST
public static $DIRECTION_WEST
public static $ELBOW_VERTICAL
public static $ELBOW_HORIZONTAL
Name of the entity relation edge style.
public static $EDGESTYLE_ENTITY_RELATION
Name of the loop edge style.
public static $EDGESTYLE_LOOP
Name of the side to side edge style.
public static $EDGESTYLE_SIDETOSIDE
Name of the top to bottom edge style.
public static $EDGESTYLE_TOPTOBOTTOM
Name of the ellipse perimeter.
public static $PERIMETER_ELLIPSE
Name of the rectangle perimeter.
public static $PERIMETER_RECTANGLE
Name of the rhombus perimeter.
public static $PERIMETER_RHOMBUS
Name of the triangle perimeter.
public static $PERIMETER_TRIANGLE
Returns true if perimeter points should be computed such that the resulting edge has only horizontal or vertical segments.
function isOrthogonal( $edge )
Loads an image from the local filesystem, a data URI or any other URL.
static function loadImage( $url )