Defines various global constants.
mxConstants | Defines various global constants. |
Variables | |
DEFAULT_HOTSPOT | Defines the portion of the cell which is to be used as a connectable region. |
MIN_HOTSPOT_SIZE | Defines the minimum size in pixels of the portion of the cell which is to be used as a connectable region. |
MAX_HOTSPOT_SIZE | Defines the maximum size in pixels of the portion of the cell which is to be used as a connectable region. |
RENDERING_HINT_EXACT | Defines the exact rendering hint. |
RENDERING_HINT_FASTER | Defines the faster rendering hint. |
RENDERING_HINT_FASTEST | Defines the fastest rendering hint. |
DIALECT_SVG | Defines the SVG display dialect name. |
DIALECT_VML | Defines the VML display dialect name. |
DIALECT_MIXEDHTML | Defines the mixed HTML display dialect name. |
DIALECT_PREFERHTML | Defines the preferred HTML display dialect name. |
DIALECT_STRICTHTML | Defines the strict HTML display dialect. |
NS_SVG | Defines the SVG namespace. |
NS_XHTML | Defines the XHTML namespace. |
NS_XLINK | Defines the XLink namespace. |
SHADOWCOLOR | Defines the color to be used to draw shadows in shapes and windows. |
VML_SHADOWCOLOR | Used for shadow color in filters where transparency is not supported (Microsoft Internet Explorer). |
SHADOW_OFFSET_X | Specifies the x-offset of the shadow. |
SHADOW_OFFSET_Y | Specifies the y-offset of the shadow. |
SHADOW_OPACITY | Defines the opacity for shadows. |
NODETYPE_ELEMENT | DOM node of type ELEMENT. |
NODETYPE_ATTRIBUTE | DOM node of type ATTRIBUTE. |
NODETYPE_TEXT | DOM node of type TEXT. |
NODETYPE_CDATA | DOM node of type CDATA. |
NODETYPE_ENTITY_REFERENCE | DOM node of type ENTITY_REFERENCE. |
NODETYPE_ENTITY | DOM node of type ENTITY. |
NODETYPE_PROCESSING_INSTRUCTION | DOM node of type PROCESSING_INSTRUCTION. |
NODETYPE_COMMENT | DOM node of type COMMENT. |
NODETYPE_DOCUMENT | DOM node of type DOCUMENT. |
NODETYPE_DOCUMENTTYPE | DOM node of type DOCUMENTTYPE. |
NODETYPE_DOCUMENT_FRAGMENT | DOM node of type DOCUMENT_FRAGMENT. |
NODETYPE_NOTATION | DOM node of type NOTATION. |
TOOLTIP_VERTICAL_OFFSET | Defines the vertical offset for the tooltip. |
DEFAULT_VALID_COLOR | Specifies the default valid color. |
DEFAULT_INVALID_COLOR | Specifies the default invalid color. |
OUTLINE_HIGHLIGHT_COLOR | Specifies the default highlight color for shape outlines. |
OUTLINE_HIGHLIGHT_COLOR | Defines the strokewidth to be used for shape outlines. |
HIGHLIGHT_STROKEWIDTH | Defines the strokewidth to be used for the highlights. |
CONSTRAINT_HIGHLIGHT_SIZE | Size of the constraint highlight (in px). |
HIGHLIGHT_OPACITY | Opacity (in %) used for the highlights (including outline). |
CURSOR_MOVABLE_VERTEX | Defines the cursor for a movable vertex. |
CURSOR_MOVABLE_EDGE | Defines the cursor for a movable edge. |
CURSOR_LABEL_HANDLE | Defines the cursor for a movable label. |
CURSOR_TERMINAL_HANDLE | Defines the cursor for a terminal handle. |
CURSOR_BEND_HANDLE | Defines the cursor for a movable bend. |
CURSOR_VIRTUAL_BEND_HANDLE | Defines the cursor for a movable bend. |
CURSOR_CONNECT | Defines the cursor for a connectable state. |
HIGHLIGHT_COLOR | Defines the color to be used for the cell highlighting. |
TARGET_HIGHLIGHT_COLOR | Defines the color to be used for highlighting a target cell for a new or changed connection. |
INVALID_CONNECT_TARGET_COLOR | Defines the color to be used for highlighting a invalid target cells for a new or changed connections. |
DROP_TARGET_COLOR | Defines the color to be used for the highlighting target parent cells (for drag and drop). |
VALID_COLOR | Defines the color to be used for the coloring valid connection previews. |
INVALID_COLOR | Defines the color to be used for the coloring invalid connection previews. |
EDGE_SELECTION_COLOR | Defines the color to be used for the selection border of edges. |
VERTEX_SELECTION_COLOR | Defines the color to be used for the selection border of vertices. |
VERTEX_SELECTION_STROKEWIDTH | Defines the strokewidth to be used for vertex selections. |
EDGE_SELECTION_STROKEWIDTH | Defines the strokewidth to be used for edge selections. |
SELECTION_DASHED | Defines the dashed state to be used for the vertex selection border. |
SELECTION_DASHED | Defines the dashed state to be used for the edge selection border. |
GUIDE_COLOR | Defines the color to be used for the guidelines in mxGraphHandler. |
GUIDE_STROKEWIDTH | Defines the strokewidth to be used for the guidelines in mxGraphHandler. |
OUTLINE_COLOR | Defines the color to be used for the outline rectangle border. |
OUTLINE_STROKEWIDTH | Defines the strokewidth to be used for the outline rectangle stroke width. |
HANDLE_SIZE | Defines the default size for handles. |
LABEL_HANDLE_SIZE | Defines the default size for label handles. |
HANDLE_FILLCOLOR | Defines the color to be used for the handle fill color. |
HANDLE_STROKECOLOR | Defines the color to be used for the handle stroke color. |
LABEL_HANDLE_FILLCOLOR | Defines the color to be used for the label handle fill color. |
CONNECT_HANDLE_FILLCOLOR | Defines the color to be used for the connect handle fill color. |
LOCKED_HANDLE_FILLCOLOR | Defines the color to be used for the locked handle fill color. |
OUTLINE_HANDLE_FILLCOLOR | Defines the color to be used for the outline sizer fill color. |
OUTLINE_HANDLE_STROKECOLOR | Defines the color to be used for the outline sizer stroke color. |
DEFAULT_FONTFAMILY | Defines the default family for all fonts. |
DEFAULT_FONTSIZE | Defines the default size (in px). |
DEFAULT_TEXT_DIRECTION | Defines the default value for the STYLE_TEXT_DIRECTION if no value is defined for it in the style. |
LINE_HEIGHT | Defines the default line height for text labels. |
WORD_WRAP | Defines the CSS value for the word-wrap property. |
ABSOLUTE_LINE_HEIGHT | Specifies if absolute line heights should be used (px) in CSS. |
DEFAULT_FONTSTYLE | Defines the default style for all fonts. |
DEFAULT_STARTSIZE | Defines the default start size for swimlanes. |
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. |
RECTANGLE_ROUNDING_FACTOR | Defines the rounding factor for rounded rectangles in percent between 0 and 1. |
LINE_ARCSIZE | Defines the size of the arcs for rounded edges. |
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. |
PAGE_FORMAT_A4_PORTRAIT | Defines the rectangle for the A4 portrait page format. |
PAGE_FORMAT_A4_PORTRAIT | Defines the rectangle for the A4 portrait page format. |
PAGE_FORMAT_LETTER_PORTRAIT | Defines the rectangle for the Letter portrait page format. |
PAGE_FORMAT_LETTER_PORTRAIT | Defines the rectangle for the Letter portrait page format. |
NONE | Defines the value for none. |
STYLE_PERIMETER | Defines the key for the perimeter style. |
STYLE_SOURCE_PORT | Defines the ID of the cell that should be used for computing the perimeter point of the source for an edge. |
STYLE_TARGET_PORT | Defines the ID of the cell that should be used for computing the perimeter point of the target for an edge. |
STYLE_PORT_CONSTRAINT | Defines the direction(s) that edges are allowed to connect to cells in. |
STYLE_PORT_CONSTRAINT_ROTATION | Define whether port constraint directions are rotated with vertex rotation. |
STYLE_SOURCE_PORT_CONSTRAINT | Defines the direction(s) that edges are allowed to connect to sources in. |
STYLE_TARGET_PORT_CONSTRAINT | Defines the direction(s) that edges are allowed to connect to targets in. |
STYLE_OPACITY | Defines the key for the opacity style. |
STYLE_FILL_OPACITY | Defines the key for the fill opacity style. |
STYLE_STROKE_OPACITY | Defines the key for the stroke opacity style. |
STYLE_TEXT_OPACITY | Defines the key for the text opacity style. |
STYLE_TEXT_DIRECTION | Defines the key for the text direction 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. |
STYLE_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_POINTER_EVENTS | Specifies if pointer events should be fired on transparent backgrounds. |
STYLE_SWIMLANE_FILLCOLOR | Defines the key for the fill color of the swimlane background. |
STYLE_MARGIN | Defines the key for the margin between the ellipses in the double ellipse shape. |
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_WIDTH | Defines the key for the width of the label if the label position is not center. |
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_ASPECT | Defines the key for the image aspect style. |
STYLE_IMAGE_ALIGN | Defines the key for the align style. |
STYLE_IMAGE_VERTICAL_ALIGN | Defines the key for the verticalAlign style. |
STYLE_GLASS | Defines the key for the glass 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_FLIPH | Defines the key for the horizontal image flip. |
STYLE_FLIPV | Defines the key for the vertical 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_LABEL_PADDING | Defines the key for the label padding, ie. |
STYLE_INDICATOR_SHAPE | Defines the key for the indicator shape used within an mxLabel. |
STYLE_INDICATOR_IMAGE | Defines the key for the indicator image used within an mxLabel. |
STYLE_INDICATOR_COLOR | Defines the key for the indicatorColor style. |
STYLE_INDICATOR_STROKECOLOR | Defines the key for the indicator stroke color in mxLabel. |
STYLE_INDICATOR_GRADIENTCOLOR | Defines the key for the indicatorGradientColor style. |
STYLE_INDICATOR_SPACING | The defines the key for the spacing between the label and the indicator in mxLabel. |
STYLE_INDICATOR_WIDTH | Defines the key for the indicator width. |
STYLE_INDICATOR_HEIGHT | Defines the key for the indicator height. |
STYLE_INDICATOR_DIRECTION | Defines the key for the indicatorDirection style. |
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 end arrow marker. |
STYLE_STARTARROW | Defines the key for the start arrow marker. |
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_ENDFILL | Defines the key for the endFill style. |
STYLE_STARTFILL | Defines the key for the startFill style. |
STYLE_DASHED | Defines the key for the dashed style. |
STYLE_ROUNDED | Defines the key for the rounded style. |
STYLE_CURVED | Defines the key for the curved style. |
STYLE_ARCSIZE | Defines the rounding factor for a rounded rectangle in percent (without the percent sign). |
STYLE_SMOOTH | An experimental style for edges. |
STYLE_SOURCE_PERIMETER_SPACING | Defines the key for the source perimeter spacing. |
STYLE_TARGET_PERIMETER_SPACING | Defines the key for the target 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 px). |
STYLE_FONTSTYLE | Defines the key for the fontStyle style. |
STYLE_ASPECT | Defines the key for the aspect style. |
STYLE_AUTOSIZE | Defines the key for the autosize style. |
STYLE_FOLDABLE | Defines the key for the foldable style. |
STYLE_EDITABLE | Defines the key for the editable style. |
STYLE_BENDABLE | Defines the key for the bendable style. |
STYLE_MOVABLE | Defines the key for the movable style. |
STYLE_RESIZABLE | Defines the key for the resizable style. |
STYLE_RESIZE_WIDTH | Defines the key for the resizeWidth style. |
STYLE_RESIZE_WIDTH | Defines the key for the resizeHeight style. |
STYLE_ROTATABLE | Defines the key for the rotatable style. |
STYLE_CLONEABLE | Defines the key for the cloneable style. |
STYLE_DELETABLE | Defines the key for the deletable style. |
STYLE_SHAPE | Defines the key for the shape. |
STYLE_EDGE | Defines the key for the edge style. |
STYLE_JETTY_SIZE | Defines the key for the jetty size in mxEdgeStyle.OrthConnector. |
STYLE_SOURCE_JETTY_SIZE | Defines the key for the jetty size in mxEdgeStyle.OrthConnector. |
targetJettySize | Defines the key for the jetty size in mxEdgeStyle.OrthConnector. |
STYLE_LOOP | Defines the key for the loop style. |
STYLE_ORTHOGONAL_LOOP | Defines the key for the orthogonal 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 | Constant for bold fonts. |
FONT_ITALIC | Constant for italic fonts. |
FONT_UNDERLINE | Constant for underlined fonts. |
SHAPE_RECTANGLE | Name under which mxRectangleShape is registered in mxCellRenderer. |
SHAPE_ELLIPSE | Name under which mxEllipse is registered in mxCellRenderer. |
SHAPE_DOUBLE_ELLIPSE | Name under which mxDoubleEllipse is registered in mxCellRenderer. |
SHAPE_RHOMBUS | Name under which mxRhombus is registered in mxCellRenderer. |
SHAPE_LINE | Name under which mxLine is registered in mxCellRenderer. |
SHAPE_IMAGE | Name under which mxImageShape is registered in mxCellRenderer. |
SHAPE_ARROW | Name under which mxArrow is registered in mxCellRenderer. |
SHAPE_ARROW_CONNECTOR | Name under which mxArrowConnector is registered in mxCellRenderer. |
SHAPE_LABEL | Name under which mxLabel is registered in mxCellRenderer. |
SHAPE_CYLINDER | Name under which mxCylinder is registered in mxCellRenderer. |
SHAPE_SWIMLANE | Name under which mxSwimlane is registered in mxCellRenderer. |
SHAPE_CONNECTOR | Name under which mxConnector is registered in mxCellRenderer. |
SHAPE_ACTOR | Name under which mxActor is registered in mxCellRenderer. |
SHAPE_CLOUD | Name under which mxCloud is registered in mxCellRenderer. |
SHAPE_TRIANGLE | Name under which mxTriangle is registered in mxCellRenderer. |
SHAPE_HEXAGON | Name under which mxHexagon is registered in mxCellRenderer. |
ARROW_CLASSIC | Constant for classic arrow markers. |
ARROW_CLASSIC_THIN | Constant for thin classic arrow markers. |
ARROW_BLOCK | Constant for block arrow markers. |
ARROW_BLOCK_THIN | Constant for thin block arrow markers. |
ARROW_OPEN | Constant for open arrow markers. |
ARROW_OPEN_THIN | Constant for thin open arrow markers. |
ARROW_OVAL | Constant for oval arrow markers. |
ARROW_DIAMOND | Constant for diamond arrow markers. |
ARROW_DIAMOND_THIN | Constant for thin diamond arrow markers. |
ALIGN_LEFT | Constant for left horizontal alignment. |
ALIGN_CENTER | Constant for center horizontal alignment. |
ALIGN_RIGHT | Constant for right horizontal alignment. |
ALIGN_TOP | Constant for top vertical alignment. |
ALIGN_MIDDLE | Constant for middle vertical alignment. |
ALIGN_BOTTOM | Constant for bottom vertical alignment. |
DIRECTION_NORTH | Constant for direction north. |
DIRECTION_SOUTH | Constant for direction south. |
DIRECTION_EAST | Constant for direction east. |
DIRECTION_WEST | Constant for direction west. |
TEXT_DIRECTION_DEFAULT | Constant for text direction default. |
TEXT_DIRECTION_AUTO | Constant for text direction automatic. |
TEXT_DIRECTION_LTR | Constant for text direction left to right. |
TEXT_DIRECTION_RTL | Constant for text direction right to left. |
DIRECTION_MASK_NONE | Constant for no direction. |
DIRECTION_MASK_WEST | Bitwise mask for west direction. |
DIRECTION_MASK_NORTH | Bitwise mask for north direction. |
DIRECTION_MASK_SOUTH | Bitwise mask for south direction. |
DIRECTION_MASK_EAST | Bitwise mask for east direction. |
DIRECTION_MASK_ALL | Bitwise mask for all directions. |
ELBOW_VERTICAL | Constant for elbow vertical. |
ELBOW_HORIZONTAL | Constant for elbow horizontal. |
EDGESTYLE_ELBOW | Name of the elbow edge style. |
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. |
EDGESTYLE_ORTHOGONAL | Name of the generic orthogonal edge style. |
EDGESTYLE_SEGMENT | Name of the generic segment edge style. |
PERIMETER_ELLIPSE | Name of the ellipse perimeter. |
PERIMETER_RECTANGLE | Name of the rectangle perimeter. |
PERIMETER_RHOMBUS | Name of the rhombus perimeter. |
PERIMETER_HEXAGON | Name of the hexagon perimeter. |
PERIMETER_TRIANGLE | Name of the triangle perimeter. |
OUTLINE_HIGHLIGHT_COLOR: '#00FF00'
Specifies the default highlight color for shape outlines. Default is #0000FF. This is used in mxEdgeHandler.
Defines the strokewidth to be used for shape outlines. Default is 5. This is used in mxEdgeHandler.
DEFAULT_TEXT_DIRECTION: ''
Defines the default value for the STYLE_TEXT_DIRECTION if no value is defined for it in the style. Default value is an empty string which means the default system setting is used and no direction is set.
ENTITY_SEGMENT: 30
Defines the length of the horizontal segment of an Entity Relation. This can be overridden using mxConstants.STYLE_SEGMENT style. Default is 30.
STYLE_PERIMETER: '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 “PERIMETER_” may be used to access perimeter styles in mxStyleRegistry. Value is “perimeter”.
STYLE_PORT_CONSTRAINT_ROTATION: 'portConstraintRotation'
Define whether port constraint directions are rotated with vertex rotation. 0 (default) causes port constraints to remain absolute, relative to the graph, 1 causes the constraints to rotate with the vertex. Value is “portConstraintRotation”.
STYLE_TEXT_DIRECTION: 'textDirection'
Defines the key for the text direction style. Possible values are “TEXT_DIRECTION_DEFAULT, TEXT_DIRECTION_AUTO, TEXT_DIRECTION_LTR” and “TEXT_DIRECTION_RTL”. Value is “textDirection”. The default value for the style is defined in DEFAULT_TEXT_DIRECTION. It is used is no value is defined for this key in a given style. This is an experimental style that is currently ignored in the backends.
STYLE_OVERFLOW: 'overflow'
Defines the key for the overflow style. Possible values are ‘visible’, ‘hidden’, ‘fill’ and ‘width’. The default value is ‘visible’. This value specifies how overlapping vertex labels are handled. 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 and a value of ‘width’ will use the the vertex width for the label. See mxGraph.isLabelClipped. Note that the vertical alignment is ignored for overflow fill and for horizontal alignment, left should be used to avoid pixel offsets in Internet Explorer 11 and earlier or if foreignObjects are disabled. Value is “overflow”.
STYLE_ORTHOGONAL: '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. Value is “orthogonal”.
STYLE_WHITE_SPACE: 'whiteSpace'
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. See mxGraph.isWrapping. Value is “whiteSpace”.
STYLE_POINTER_EVENTS: 'pointerEvents'
Specifies if pointer events should be fired on transparent backgrounds. This style is currently only supported in mxRectangleShape. Default is true. Value is “pointerEvents”. This is typically set to false in groups where the transparent part should allow any underlying cells to be clickable.
STYLE_GRADIENTCOLOR: '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. Value is “gradientColor”.
STYLE_GRADIENT_DIRECTION: 'gradientDirection'
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. Value is “gradientDirection”.
STYLE_STROKECOLOR: 'strokeColor'
Defines the key for the strokeColor style. Possible values are all HTML color names or HEX codes, as well as special keywords such as ‘swimlane, ‘inherit’, ‘indicated’ to use the color code of a related cell or the indicator shape or ‘none’ for no color. Value is “strokeColor”.
STYLE_SEPARATORCOLOR: '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. Value is “separatorColor”.
STYLE_STROKEWIDTH: 'strokeWidth'
Defines the key for the strokeWidth style. The type of the value is numeric and the possible range is any non-negative value larger or equal to 1. The value defines the stroke width in pixels. Note: To hide a stroke use strokeColor none. Value is “strokeWidth”.
STYLE_ALIGN: '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. Value is “align”.
STYLE_VERTICAL_ALIGN: 'verticalAlign'
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. Value is “verticalAlign”.
STYLE_LABEL_POSITION: 'labelPosition'
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. Value is “labelPosition”.
STYLE_VERTICAL_LABEL_POSITION: 'verticalLabelPosition'
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. Value is “verticalLabelPosition”.
STYLE_IMAGE_ASPECT: 'imageAspect'
Defines the key for the image aspect style. Possible values are 0 (do not preserve aspect) or 1 (keep aspect). This is only used in mxImageShape. Default is 1. Value is “imageAspect”.
STYLE_IMAGE_ALIGN: 'imageAlign'
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. Value is “imageAlign”.
STYLE_IMAGE_VERTICAL_ALIGN: 'imageVerticalAlign'
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. Value is “imageVerticalAlign”.
STYLE_GLASS: 'glass'
Defines the key for the glass style. Possible values are 0 (disabled) and 1(enabled). The default value is 0. This is used in mxLabel. Value is “glass”.
STYLE_IMAGE: 'image'
Defines the key for the image style. Possible values are any image URL, the type of the value is String. This is the path to the image that is to be displayed within the label of a vertex. Data URLs should use the following format: data:image/png,xyz where xyz is the base64 encoded data (without the “base64”-prefix). Note that Data URLs are only supported in modern browsers. Value is “image”.
STYLE_IMAGE_BACKGROUND: 'imageBackground'
Defines the key for the image background color. This style is only used in mxImageShape. Possible values are all HTML color names or HEX codes. Value is “imageBackground”.
STYLE_IMAGE_BORDER: 'imageBorder'
Defines the key for the image border color. This style is only used in mxImageShape. Possible values are all HTML color names or HEX codes. Value is “imageBorder”.
STYLE_FLIPH: 'flipH'
Defines the key for the horizontal image flip. This style is only used in mxImageShape. Possible values are 0 and 1. Default is 0. Value is “flipH”.
STYLE_INDICATOR_SHAPE: 'indicatorShape'
Defines the key for the indicator shape used within an mxLabel. Possible values are all SHAPE_* constants or the names of any new shapes. The indicatorShape has precedence over the indicatorImage. Value is “indicatorShape”.
STYLE_INDICATOR_IMAGE: 'indicatorImage'
Defines the key for the indicator image used within an mxLabel. Possible values are all image URLs. The indicatorShape has precedence over the indicatorImage. Value is “indicatorImage”.
STYLE_INDICATOR_STROKECOLOR: 'indicatorStrokeColor'
Defines the key for the indicator stroke color in mxLabel. Possible values are all color codes. Value is “indicatorStrokeColor”.
STYLE_INDICATOR_GRADIENTCOLOR: 'indicatorGradientColor'
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. Value is “indicatorGradientColor”.
STYLE_INDICATOR_SPACING: 'indicatorSpacing'
The defines the key for the spacing between the label and the indicator in mxLabel. Possible values are in pixels. Value is “indicatorSpacing”.
STYLE_INDICATOR_DIRECTION: 'indicatorDirection'
Defines the key for the indicatorDirection 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. Value is “indicatorDirection”.
STYLE_ENDARROW: 'endArrow'
Defines the key for the end arrow marker. Possible values are all constants with an ARROW-prefix. This is only used in mxConnector. Value is “endArrow”.
style[mxConstants.STYLE_ENDARROW] = mxConstants.ARROW_CLASSIC;
STYLE_STARTARROW: 'startArrow'
Defines the key for the start arrow marker. Possible values are all constants with an ARROW-prefix. This is only used in mxConnector. See STYLE_ENDARROW. Value is “startArrow”.
STYLE_ENDFILL: 'endFill'
Defines the key for the endFill style. Use 0 for no fill or 1 (default) for fill. (This style is only exported via mxImageExport.) Value is “endFill”.
STYLE_STARTFILL: 'startFill'
Defines the key for the startFill style. Use 0 for no fill or 1 (default) for fill. (This style is only exported via mxImageExport.) Value is “startFill”.
STYLE_ROUNDED: '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. Use 0 (default) for non-rounded or 1 for rounded. Value is “rounded”.
STYLE_ARCSIZE: 'arcSize'
Defines the rounding factor for a rounded rectangle in percent (without the percent sign). Possible values are between 0 and 100. If this value is not specified then RECTANGLE_ROUNDING_FACTOR * 100 is used. For edges, this defines the absolute size of rounded corners in pixels. If this values is not specified then LINE_ARCSIZE is used. (This style is only exported via mxImageExport.) Value is “arcSize”.
STYLE_SOURCE_PERIMETER_SPACING: 'sourcePerimeterSpacing'
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. Value is “sourcePerimeterSpacing”.
STYLE_TARGET_PERIMETER_SPACING: 'targetPerimeterSpacing'
Defines the key for the target perimeter spacing. The type of this value is numeric. This is the distance between the target connection point of an edge and the perimeter of the target vertex in pixels. This style only applies to edges. Value is “targetPerimeterSpacing”.
STYLE_PERIMETER_SPACING: 'perimeterSpacing'
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). Value is “perimeterSpacing”.
STYLE_HORIZONTAL: '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 “SHAPE_SWIMLANE” 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. Value is “horizontal”.
STYLE_DIRECTION: '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. Value is “direction”.
STYLE_ELBOW: '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. Value is “elbow”.
STYLE_FONTSTYLE: '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. Value is “fontStyle”.
STYLE_AUTOSIZE: 'autosize'
Defines the key for the autosize style. This specifies if a cell should be resized automatically if the value has changed. Possible values are 0 or 1. Default is 0. See mxGraph.isAutoSizeCell. This is normally combined with STYLE_RESIZABLE to disable manual sizing. Value is “autosize”.
STYLE_FOLDABLE: 'foldable'
Defines the key for the foldable style. This specifies if a cell is foldable using a folding icon. Possible values are 0 or 1. Default is 1. See mxGraph.isCellFoldable. Value is “foldable”.
STYLE_EDITABLE: 'editable'
Defines the key for the editable style. This specifies if the value of a cell can be edited using the in-place editor. Possible values are 0 or 1. Default is 1. See mxGraph.isCellEditable. Value is “editable”.
STYLE_BENDABLE: 'bendable'
Defines the key for the bendable style. This specifies if the control points of an edge can be moved. Possible values are 0 or 1. Default is 1. See mxGraph.isCellBendable. Value is “bendable”.
STYLE_MOVABLE: 'movable'
Defines the key for the movable style. This specifies if a cell can be moved. Possible values are 0 or 1. Default is 1. See mxGraph.isCellMovable. Value is “movable”.
STYLE_RESIZABLE: 'resizable'
Defines the key for the resizable style. This specifies if a cell can be resized. Possible values are 0 or 1. Default is 1. See mxGraph.isCellResizable. Value is “resizable”.
STYLE_RESIZE_WIDTH: 'resizeWidth'
Defines the key for the resizeWidth style. This specifies if a cell’s width if resize if the parent is resized. If this is 1 then the width will be resized even if the cell’s geometry is relative. If this is 0 then the cell’s width will not be resized. Default is not defined. Value is “resizeWidth”.
Defines the key for the resizeHeight style. This specifies if a cell’s height if resize if the parent is resized. If this is 1 then the height will be resized even if the cell’s geometry is relative. If this is 0 then the cell’s height will not be resized. Default is not defined. Value is “resizeHeight”.
STYLE_ROTATABLE: 'rotatable'
Defines the key for the rotatable style. This specifies if a cell can be rotated. Possible values are 0 or 1. Default is 1. See mxGraph.isCellRotatable. Value is “rotatable”.
STYLE_CLONEABLE: 'cloneable'
Defines the key for the cloneable style. This specifies if a cell can be cloned. Possible values are 0 or 1. Default is 1. See mxGraph.isCellCloneable. Value is “cloneable”.
STYLE_DELETABLE: 'deletable'
Defines the key for the deletable style. This specifies if a cell can be deleted. Possible values are 0 or 1. Default is 1. See mxGraph.isCellDeletable. Value is “deletable”.
STYLE_EDGE: 'edgeStyle'
Defines the key for the edge style. Possible values are the functions defined in mxEdgeStyle. Value is “edgeStyle”.
STYLE_JETTY_SIZE: 'jettySize'
Defines the key for the jetty size in mxEdgeStyle.OrthConnector. Default is 10. Possible values are all numeric values or “auto”. Value is “jettySize”.
STYLE_SOURCE_JETTY_SIZE: 'sourceJettySize'
Defines the key for the jetty size in mxEdgeStyle.OrthConnector. Default is 10. Possible values are numeric values or “auto”. This has precedence over STYLE_JETTY_SIZE. Value is “sourceJettySize”.
STYLE_TARGET_JETTY_SIZE: 'targetJettySize'
Defines the key for the jetty size in mxEdgeStyle.OrthConnector. Default is 10. Possible values are numeric values or “auto”. This has precedence over STYLE_JETTY_SIZE. Value is “targetJettySize”.
STYLE_LOOP: 'loopStyle'
Defines the key for the loop style. Possible values are the functions defined in mxEdgeStyle. Value is “loopStyle”.
STYLE_ORTHOGONAL_LOOP: 'orthogonalLoop'
Defines the key for the orthogonal loop style. Possible values are 0 and 1. Default is 0. Value is “orthogonalLoop”. Use this style to specify if loops should be routed using an orthogonal router. Currently, this uses mxEdgeStyle.OrthConnector but will be replaced with a dedicated orthogonal loop router in later releases.
SHAPE_RECTANGLE: 'rectangle'
Name under which mxRectangleShape is registered in mxCellRenderer. Default is rectangle.
SHAPE_ELLIPSE: 'ellipse'
Name under which mxEllipse is registered in mxCellRenderer. Default is ellipse.
SHAPE_DOUBLE_ELLIPSE: 'doubleEllipse'
Name under which mxDoubleEllipse is registered in mxCellRenderer. Default is doubleEllipse.
SHAPE_RHOMBUS: 'rhombus'
Name under which mxRhombus is registered in mxCellRenderer. Default is rhombus.
SHAPE_LINE: 'line'
Name under which mxLine is registered in mxCellRenderer. Default is line.
SHAPE_IMAGE: 'image'
Name under which mxImageShape is registered in mxCellRenderer. Default is image.
SHAPE_ARROW: 'arrow'
Name under which mxArrow is registered in mxCellRenderer. Default is arrow.
SHAPE_ARROW_CONNECTOR: 'arrowConnector'
Name under which mxArrowConnector is registered in mxCellRenderer. Default is arrowConnector.
SHAPE_LABEL: 'label'
Name under which mxLabel is registered in mxCellRenderer. Default is label.
SHAPE_CYLINDER: 'cylinder'
Name under which mxCylinder is registered in mxCellRenderer. Default is cylinder.
SHAPE_SWIMLANE: 'swimlane'
Name under which mxSwimlane is registered in mxCellRenderer. Default is swimlane.
SHAPE_CONNECTOR: 'connector'
Name under which mxConnector is registered in mxCellRenderer. Default is connector.
SHAPE_ACTOR: 'actor'
Name under which mxActor is registered in mxCellRenderer. Default is actor.
SHAPE_CLOUD: 'cloud'
Name under which mxCloud is registered in mxCellRenderer. Default is cloud.
SHAPE_TRIANGLE: 'triangle'
Name under which mxTriangle is registered in mxCellRenderer. Default is triangle.
SHAPE_HEXAGON: 'hexagon'
Name under which mxHexagon is registered in mxCellRenderer. Default is hexagon.
TEXT_DIRECTION_AUTO: 'auto'
Constant for text direction automatic. Default is auto. Use this value to find the direction for a given text with mxText.getAutoDirection.
Defines the portion of the cell which is to be used as a connectable region.
DEFAULT_HOTSPOT: 0.3
Defines the minimum size in pixels of the portion of the cell which is to be used as a connectable region.
MIN_HOTSPOT_SIZE: 8
Defines the maximum size in pixels of the portion of the cell which is to be used as a connectable region.
MAX_HOTSPOT_SIZE: 0
Defines the exact rendering hint.
RENDERING_HINT_EXACT: 'exact'
Defines the faster rendering hint.
RENDERING_HINT_FASTER: 'faster'
Defines the fastest rendering hint.
RENDERING_HINT_FASTEST: 'fastest'
Defines the SVG display dialect name.
DIALECT_SVG: 'svg'
Defines the VML display dialect name.
DIALECT_VML: 'vml'
Defines the mixed HTML display dialect name.
DIALECT_MIXEDHTML: 'mixedHtml'
Defines the preferred HTML display dialect name.
DIALECT_PREFERHTML: 'preferHtml'
Defines the strict HTML display dialect.
DIALECT_STRICTHTML: 'strictHtml'
Defines the SVG namespace.
NS_SVG: 'http://www.w3.org/2000/svg'
Defines the XHTML namespace.
NS_XHTML: 'http://www.w3.org/1999/xhtml'
Defines the XLink namespace.
NS_XLINK: 'http://www.w3.org/1999/xlink'
Defines the color to be used to draw shadows in shapes and windows.
SHADOWCOLOR: 'gray'
Used for shadow color in filters where transparency is not supported (Microsoft Internet Explorer).
VML_SHADOWCOLOR: 'gray'
Specifies the x-offset of the shadow.
SHADOW_OFFSET_X: 2
Specifies the y-offset of the shadow.
SHADOW_OFFSET_Y: 3
Defines the opacity for shadows.
SHADOW_OPACITY: 1
DOM node of type ELEMENT.
NODETYPE_ELEMENT: 1
DOM node of type ATTRIBUTE.
NODETYPE_ATTRIBUTE: 2
DOM node of type TEXT.
NODETYPE_TEXT: 3
DOM node of type CDATA.
NODETYPE_CDATA: 4
DOM node of type ENTITY_REFERENCE.
NODETYPE_ENTITY_REFERENCE: 5
DOM node of type ENTITY.
NODETYPE_ENTITY: 6
DOM node of type PROCESSING_INSTRUCTION.
NODETYPE_PROCESSING_INSTRUCTION: 7
DOM node of type COMMENT.
NODETYPE_COMMENT: 8
DOM node of type DOCUMENT.
NODETYPE_DOCUMENT: 9
DOM node of type DOCUMENTTYPE.
NODETYPE_DOCUMENTTYPE: 10
DOM node of type DOCUMENT_FRAGMENT.
NODETYPE_DOCUMENT_FRAGMENT: 11
DOM node of type NOTATION.
NODETYPE_NOTATION: 12
Defines the vertical offset for the tooltip.
TOOLTIP_VERTICAL_OFFSET: 16
Specifies the default valid color.
DEFAULT_VALID_COLOR: '#00FF00'
Specifies the default invalid color.
DEFAULT_INVALID_COLOR: '#FF0000'
Specifies the default highlight color for shape outlines.
OUTLINE_HIGHLIGHT_COLOR: '#00FF00'
Defines the strokewidth to be used for the highlights.
HIGHLIGHT_STROKEWIDTH: 3
Opacity (in %) used for the highlights (including outline).
HIGHLIGHT_OPACITY: 100
Defines the cursor for a movable vertex.
CURSOR_MOVABLE_VERTEX: 'move'
Defines the cursor for a movable edge.
CURSOR_MOVABLE_EDGE: 'move'
Defines the cursor for a movable label.
CURSOR_LABEL_HANDLE: 'default'
Defines the cursor for a terminal handle.
CURSOR_TERMINAL_HANDLE: 'pointer'
Defines the cursor for a movable bend.
CURSOR_BEND_HANDLE: 'crosshair'
Defines the cursor for a movable bend.
CURSOR_VIRTUAL_BEND_HANDLE: 'crosshair'
Defines the cursor for a connectable state.
CURSOR_CONNECT: 'pointer'
Defines the color to be used for the cell highlighting.
HIGHLIGHT_COLOR: '#00FF00'
Defines the color to be used for highlighting a invalid target cells for a new or changed connections.
INVALID_CONNECT_TARGET_COLOR: '#FF0000'
Defines the color to be used for the highlighting target parent cells (for drag and drop).
DROP_TARGET_COLOR: '#0000FF'
Defines the color to be used for the coloring valid connection previews.
VALID_COLOR: '#00FF00'
Defines the color to be used for the coloring invalid connection previews.
INVALID_COLOR: '#FF0000'
Defines the color to be used for the selection border of edges.
EDGE_SELECTION_COLOR: '#00FF00'
Defines the color to be used for the selection border of vertices.
VERTEX_SELECTION_COLOR: '#00FF00'
Defines the strokewidth to be used for vertex selections.
VERTEX_SELECTION_STROKEWIDTH: 1
Defines the strokewidth to be used for edge selections.
EDGE_SELECTION_STROKEWIDTH: 1
Defines the dashed state to be used for the vertex selection border.
VERTEX_SELECTION_DASHED: true
Defines the color to be used for the guidelines in mxGraphHandler.
GUIDE_COLOR: '#FF0000'
Defines the strokewidth to be used for the guidelines in mxGraphHandler.
GUIDE_STROKEWIDTH: 1
Defines the color to be used for the outline rectangle border.
OUTLINE_COLOR: '#0099FF'
Defines the strokewidth to be used for the outline rectangle stroke width.
OUTLINE_STROKEWIDTH: ( mxClient.IS_IE ) ? 2 : 3
Defines the default size for handles.
HANDLE_SIZE: 6
Defines the default size for label handles.
LABEL_HANDLE_SIZE: 4
Defines the color to be used for the handle fill color.
HANDLE_FILLCOLOR: '#00FF00'
Defines the color to be used for the handle stroke color.
HANDLE_STROKECOLOR: 'black'
Defines the color to be used for the label handle fill color.
LABEL_HANDLE_FILLCOLOR: 'yellow'
Defines the color to be used for the connect handle fill color.
CONNECT_HANDLE_FILLCOLOR: '#0000FF'
Defines the color to be used for the locked handle fill color.
LOCKED_HANDLE_FILLCOLOR: '#FF0000'
Defines the color to be used for the outline sizer fill color.
OUTLINE_HANDLE_FILLCOLOR: '#00FFFF'
Defines the color to be used for the outline sizer stroke color.
OUTLINE_HANDLE_STROKECOLOR: '#0033FF'
Defines the default family for all fonts.
DEFAULT_FONTFAMILY: 'Arial
Defines the default size (in px).
DEFAULT_FONTSIZE: 11
Defines the default value for the STYLE_TEXT_DIRECTION if no value is defined for it in the style.
DEFAULT_TEXT_DIRECTION: ''
Defines the key for the text direction style.
STYLE_TEXT_DIRECTION: 'textDirection'
Defines the default line height for text labels.
LINE_HEIGHT: 1.2
Defines the CSS value for the word-wrap property.
WORD_WRAP: 'normal'
Specifies if absolute line heights should be used (px) in CSS.
ABSOLUTE_LINE_HEIGHT: false
Defines the default style for all fonts.
DEFAULT_FONTSTYLE: 0
Defines the default start size for swimlanes.
DEFAULT_STARTSIZE: 40
Defines the default size for all markers.
DEFAULT_MARKERSIZE: 6
Defines the default width and height for images used in the label shape.
DEFAULT_IMAGESIZE: 24
Defines the length of the horizontal segment of an Entity Relation.
ENTITY_SEGMENT: 30
Defines the rounding factor for rounded rectangles in percent between 0 and 1.
RECTANGLE_ROUNDING_FACTOR: 0.15
Defines the size of the arcs for rounded edges.
LINE_ARCSIZE: 20
Defines the spacing between the arrow shape and its terminals.
ARROW_SPACING: 0
Defines the width of the arrow shape.
ARROW_WIDTH: 30
Defines the size of the arrowhead in the arrow shape.
ARROW_SIZE: 30
Defines the rectangle for the A4 portrait page format.
PAGE_FORMAT_A4_PORTRAIT: new mxRectangle( 0, 0, 827, 1169 )
Defines the rectangle for the Letter portrait page format.
PAGE_FORMAT_LETTER_PORTRAIT: new mxRectangle( 0, 0, 850, 1100 )
Defines the value for none.
NONE: 'none'
Defines the key for the perimeter style.
STYLE_PERIMETER: 'perimeter'
Defines the ID of the cell that should be used for computing the perimeter point of the source for an edge.
STYLE_SOURCE_PORT: 'sourcePort'
Defines the ID of the cell that should be used for computing the perimeter point of the target for an edge.
STYLE_TARGET_PORT: 'targetPort'
Defines the direction(s) that edges are allowed to connect to cells in.
STYLE_PORT_CONSTRAINT: 'portConstraint'
Define whether port constraint directions are rotated with vertex rotation.
STYLE_PORT_CONSTRAINT_ROTATION: 'portConstraintRotation'
Defines the direction(s) that edges are allowed to connect to sources in.
STYLE_SOURCE_PORT_CONSTRAINT: 'sourcePortConstraint'
Defines the direction(s) that edges are allowed to connect to targets in.
STYLE_TARGET_PORT_CONSTRAINT: 'targetPortConstraint'
Defines the key for the opacity style.
STYLE_OPACITY: 'opacity'
Defines the key for the fill opacity style.
STYLE_FILL_OPACITY: 'fillOpacity'
Defines the key for the stroke opacity style.
STYLE_STROKE_OPACITY: 'strokeOpacity'
Defines the key for the text opacity style.
STYLE_TEXT_OPACITY: 'textOpacity'
Defines the key for the overflow style.
STYLE_OVERFLOW: '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.
STYLE_ORTHOGONAL: 'orthogonal'
Defines the key for the horizontal relative coordinate connection point of an edge with its source terminal.
STYLE_EXIT_X: 'exitX'
Defines the key for the vertical relative coordinate connection point of an edge with its source terminal.
STYLE_EXIT_Y: 'exitY'
Defines if the perimeter should be used to find the exact entry point along the perimeter of the source.
STYLE_EXIT_PERIMETER: 'exitPerimeter'
Defines the key for the horizontal relative coordinate connection point of an edge with its target terminal.
STYLE_ENTRY_X: 'entryX'
Defines the key for the vertical relative coordinate connection point of an edge with its target terminal.
STYLE_ENTRY_Y: 'entryY'
Defines if the perimeter should be used to find the exact entry point along the perimeter of the target.
STYLE_ENTRY_PERIMETER: 'entryPerimeter'
Defines the key for the white-space style.
STYLE_WHITE_SPACE: 'whiteSpace'
Defines the key for the rotation style.
STYLE_ROTATION: 'rotation'
Defines the key for the fill color.
STYLE_FILLCOLOR: 'fillColor'
Specifies if pointer events should be fired on transparent backgrounds.
STYLE_POINTER_EVENTS: 'pointerEvents'
Defines the key for the fill color of the swimlane background.
STYLE_SWIMLANE_FILLCOLOR: 'swimlaneFillColor'
Defines the key for the margin between the ellipses in the double ellipse shape.
STYLE_MARGIN: 'margin'
Defines the key for the gradient color.
STYLE_GRADIENTCOLOR: 'gradientColor'
Defines the key for the gradient direction.
STYLE_GRADIENT_DIRECTION: 'gradientDirection'
Defines the key for the strokeColor style.
STYLE_STROKECOLOR: 'strokeColor'
Defines the key for the separatorColor style.
STYLE_SEPARATORCOLOR: 'separatorColor'
Defines the key for the strokeWidth style.
STYLE_STROKEWIDTH: 'strokeWidth'
Defines the key for the align style.
STYLE_ALIGN: 'align'
Defines the key for the verticalAlign style.
STYLE_VERTICAL_ALIGN: 'verticalAlign'
Defines the key for the width of the label if the label position is not center.
STYLE_LABEL_WIDTH: 'labelWidth'
Defines the key for the horizontal label position of vertices.
STYLE_LABEL_POSITION: 'labelPosition'
Defines the key for the vertical label position of vertices.
STYLE_VERTICAL_LABEL_POSITION: 'verticalLabelPosition'
Defines the key for the image aspect style.
STYLE_IMAGE_ASPECT: 'imageAspect'
Defines the key for the align style.
STYLE_IMAGE_ALIGN: 'imageAlign'
Defines the key for the verticalAlign style.
STYLE_IMAGE_VERTICAL_ALIGN: 'imageVerticalAlign'
Defines the key for the glass style.
STYLE_GLASS: 'glass'
Defines the key for the image style.
STYLE_IMAGE: 'image'
Defines the key for the imageWidth style.
STYLE_IMAGE_WIDTH: 'imageWidth'
Defines the key for the imageHeight style.
STYLE_IMAGE_HEIGHT: 'imageHeight'
Defines the key for the image background color.
STYLE_IMAGE_BACKGROUND: 'imageBackground'
Defines the key for the image border color.
STYLE_IMAGE_BORDER: 'imageBorder'
Defines the key for the horizontal image flip.
STYLE_FLIPH: 'flipH'
Defines the key for the vertical flip.
STYLE_FLIPV: 'flipV'
Defines the key for the noLabel style.
STYLE_NOLABEL: 'noLabel'
Defines the key for the noEdgeStyle style.
STYLE_NOEDGESTYLE: 'noEdgeStyle'
Defines the key for the label background color.
STYLE_LABEL_BACKGROUNDCOLOR: 'labelBackgroundColor'
Defines the key for the label border color.
STYLE_LABEL_BORDERCOLOR: 'labelBorderColor'
Defines the key for the label padding, ie.
STYLE_LABEL_PADDING: 'labelPadding'
Defines the key for the indicator shape used within an mxLabel.
STYLE_INDICATOR_SHAPE: 'indicatorShape'
Defines the key for the indicator image used within an mxLabel.
STYLE_INDICATOR_IMAGE: 'indicatorImage'
Defines the key for the indicatorColor style.
STYLE_INDICATOR_COLOR: 'indicatorColor'
Defines the key for the indicator stroke color in mxLabel.
STYLE_INDICATOR_STROKECOLOR: 'indicatorStrokeColor'
Defines the key for the indicatorGradientColor style.
STYLE_INDICATOR_GRADIENTCOLOR: 'indicatorGradientColor'
The defines the key for the spacing between the label and the indicator in mxLabel.
STYLE_INDICATOR_SPACING: 'indicatorSpacing'
Defines the key for the indicator width.
STYLE_INDICATOR_WIDTH: 'indicatorWidth'
Defines the key for the indicator height.
STYLE_INDICATOR_HEIGHT: 'indicatorHeight'
Defines the key for the indicatorDirection style.
STYLE_INDICATOR_DIRECTION: 'indicatorDirection'
Defines the key for the shadow style.
STYLE_SHADOW: 'shadow'
Defines the key for the segment style.
STYLE_SEGMENT: 'segment'
Defines the key for the end arrow marker.
STYLE_ENDARROW: 'endArrow'
Defines the key for the start arrow marker.
STYLE_STARTARROW: 'startArrow'
Defines the key for the endSize style.
STYLE_ENDSIZE: 'endSize'
Defines the key for the startSize style.
STYLE_STARTSIZE: 'startSize'
Defines the key for the swimlaneLine style.
STYLE_SWIMLANE_LINE: 'swimlaneLine'
Defines the key for the endFill style.
STYLE_ENDFILL: 'endFill'
Defines the key for the startFill style.
STYLE_STARTFILL: 'startFill'
Defines the key for the dashed style.
STYLE_DASHED: 'dashed'
Defines the key for the rounded style.
STYLE_ROUNDED: 'rounded'
Defines the key for the curved style.
STYLE_CURVED: 'curved'
Defines the rounding factor for a rounded rectangle in percent (without the percent sign).
STYLE_ARCSIZE: 'arcSize'
An experimental style for edges.
STYLE_SMOOTH: 'smooth'
Defines the key for the source perimeter spacing.
STYLE_SOURCE_PERIMETER_SPACING: 'sourcePerimeterSpacing'
Defines the key for the target perimeter spacing.
STYLE_TARGET_PERIMETER_SPACING: 'targetPerimeterSpacing'
Defines the key for the perimeter spacing.
STYLE_PERIMETER_SPACING: 'perimeterSpacing'
Defines the key for the spacing.
STYLE_SPACING: 'spacing'
Defines the key for the spacingTop style.
STYLE_SPACING_TOP: 'spacingTop'
Defines the key for the spacingLeft style.
STYLE_SPACING_LEFT: 'spacingLeft'
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_BOTTOM: 'spacingBottom'
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_SPACING_RIGHT: 'spacingRight'
Defines the key for the horizontal style.
STYLE_HORIZONTAL: 'horizontal'
Defines the key for the direction style.
STYLE_DIRECTION: 'direction'
Defines the key for the elbow style.
STYLE_ELBOW: 'elbow'
Defines the key for the fontColor style.
STYLE_FONTCOLOR: 'fontColor'
Defines the key for the fontFamily style.
STYLE_FONTFAMILY: 'fontFamily'
Defines the key for the fontSize style (in px).
STYLE_FONTSIZE: 'fontSize'
Defines the key for the fontStyle style.
STYLE_FONTSTYLE: 'fontStyle'
Defines the key for the aspect style.
STYLE_ASPECT: 'aspect'
Defines the key for the autosize style.
STYLE_AUTOSIZE: 'autosize'
Defines the key for the foldable style.
STYLE_FOLDABLE: 'foldable'
Defines the key for the editable style.
STYLE_EDITABLE: 'editable'
Defines the key for the bendable style.
STYLE_BENDABLE: 'bendable'
Defines the key for the movable style.
STYLE_MOVABLE: 'movable'
Defines the key for the resizable style.
STYLE_RESIZABLE: 'resizable'
Defines the key for the resizeWidth style.
STYLE_RESIZE_WIDTH: 'resizeWidth'
Defines the key for the rotatable style.
STYLE_ROTATABLE: 'rotatable'
Defines the key for the cloneable style.
STYLE_CLONEABLE: 'cloneable'
Defines the key for the deletable style.
STYLE_DELETABLE: 'deletable'
Defines the key for the shape.
STYLE_SHAPE: 'shape'
Defines the key for the edge style.
STYLE_EDGE: 'edgeStyle'
Defines the key for the jetty size in mxEdgeStyle.OrthConnector.
STYLE_JETTY_SIZE: 'jettySize'
Implements a local orthogonal router between the given cells.
OrthConnector: function( state, source, target, points, result )
Defines the key for the jetty size in mxEdgeStyle.OrthConnector.
STYLE_SOURCE_JETTY_SIZE: 'sourceJettySize'
Defines the key for the jetty size in mxEdgeStyle.OrthConnector.
STYLE_TARGET_JETTY_SIZE: 'targetJettySize'
Defines the key for the loop style.
STYLE_LOOP: 'loopStyle'
Defines the key for the orthogonal loop style.
STYLE_ORTHOGONAL_LOOP: 'orthogonalLoop'
Defines the key for the horizontal routing center.
STYLE_ROUTING_CENTER_X: 'routingCenterX'
Defines the key for the vertical routing center.
STYLE_ROUTING_CENTER_Y: 'routingCenterY'
Constant for bold fonts.
FONT_BOLD: 1
Constant for italic fonts.
FONT_ITALIC: 2
Constant for underlined fonts.
FONT_UNDERLINE: 4
Name under which mxRectangleShape is registered in mxCellRenderer.
SHAPE_RECTANGLE: 'rectangle'
Name under which mxEllipse is registered in mxCellRenderer.
SHAPE_ELLIPSE: 'ellipse'
Name under which mxDoubleEllipse is registered in mxCellRenderer.
SHAPE_DOUBLE_ELLIPSE: 'doubleEllipse'
Name under which mxRhombus is registered in mxCellRenderer.
SHAPE_RHOMBUS: 'rhombus'
Name under which mxLine is registered in mxCellRenderer.
SHAPE_LINE: 'line'
Name under which mxImageShape is registered in mxCellRenderer.
SHAPE_IMAGE: 'image'
Name under which mxArrow is registered in mxCellRenderer.
SHAPE_ARROW: 'arrow'
Name under which mxArrowConnector is registered in mxCellRenderer.
SHAPE_ARROW_CONNECTOR: 'arrowConnector'
Name under which mxLabel is registered in mxCellRenderer.
SHAPE_LABEL: 'label'
Name under which mxCylinder is registered in mxCellRenderer.
SHAPE_CYLINDER: 'cylinder'
Name under which mxSwimlane is registered in mxCellRenderer.
SHAPE_SWIMLANE: 'swimlane'
Name under which mxConnector is registered in mxCellRenderer.
SHAPE_CONNECTOR: 'connector'
Name under which mxActor is registered in mxCellRenderer.
SHAPE_ACTOR: 'actor'
Name under which mxCloud is registered in mxCellRenderer.
SHAPE_CLOUD: 'cloud'
Name under which mxTriangle is registered in mxCellRenderer.
SHAPE_TRIANGLE: 'triangle'
Name under which mxHexagon is registered in mxCellRenderer.
SHAPE_HEXAGON: 'hexagon'
Constant for classic arrow markers.
ARROW_CLASSIC: 'classic'
Constant for thin classic arrow markers.
ARROW_CLASSIC_THIN: 'classicThin'
Constant for block arrow markers.
ARROW_BLOCK: 'block'
Constant for thin block arrow markers.
ARROW_BLOCK_THIN: 'blockThin'
Constant for open arrow markers.
ARROW_OPEN: 'open'
Constant for thin open arrow markers.
ARROW_OPEN_THIN: 'openThin'
Constant for oval arrow markers.
ARROW_OVAL: 'oval'
Constant for diamond arrow markers.
ARROW_DIAMOND: 'diamond'
Constant for thin diamond arrow markers.
ARROW_DIAMOND_THIN: 'diamondThin'
Constant for left horizontal alignment.
ALIGN_LEFT: 'left'
Constant for center horizontal alignment.
ALIGN_CENTER: 'center'
Constant for right horizontal alignment.
ALIGN_RIGHT: 'right'
Constant for top vertical alignment.
ALIGN_TOP: 'top'
Constant for middle vertical alignment.
ALIGN_MIDDLE: 'middle'
Constant for bottom vertical alignment.
ALIGN_BOTTOM: 'bottom'
Constant for direction north.
DIRECTION_NORTH: 'north'
Constant for direction south.
DIRECTION_SOUTH: 'south'
Constant for direction east.
DIRECTION_EAST: 'east'
Constant for direction west.
DIRECTION_WEST: 'west'
Constant for text direction default.
TEXT_DIRECTION_DEFAULT: ''
Constant for text direction automatic.
TEXT_DIRECTION_AUTO: 'auto'
Constant for text direction left to right.
TEXT_DIRECTION_LTR: 'ltr'
Constant for text direction right to left.
TEXT_DIRECTION_RTL: 'rtl'
Constant for no direction.
DIRECTION_MASK_NONE: 0
Bitwise mask for west direction.
DIRECTION_MASK_WEST: 1
Bitwise mask for north direction.
DIRECTION_MASK_NORTH: 2
Bitwise mask for south direction.
DIRECTION_MASK_SOUTH: 4
Bitwise mask for east direction.
DIRECTION_MASK_EAST: 8
Bitwise mask for all directions.
DIRECTION_MASK_ALL: 15
Constant for elbow vertical.
ELBOW_VERTICAL: 'vertical'
Constant for elbow horizontal.
ELBOW_HORIZONTAL: 'horizontal'
Name of the elbow edge style.
EDGESTYLE_ELBOW: 'elbowEdgeStyle'
Name of the entity relation edge style.
EDGESTYLE_ENTITY_RELATION: 'entityRelationEdgeStyle'
Name of the loop edge style.
EDGESTYLE_LOOP: 'loopEdgeStyle'
Name of the side to side edge style.
EDGESTYLE_SIDETOSIDE: 'sideToSideEdgeStyle'
Name of the top to bottom edge style.
EDGESTYLE_TOPTOBOTTOM: 'topToBottomEdgeStyle'
Name of the generic orthogonal edge style.
EDGESTYLE_ORTHOGONAL: 'orthogonalEdgeStyle'
Name of the generic segment edge style.
EDGESTYLE_SEGMENT: 'segmentEdgeStyle'
Name of the ellipse perimeter.
PERIMETER_ELLIPSE: 'ellipsePerimeter'
Name of the rectangle perimeter.
PERIMETER_RECTANGLE: 'rectanglePerimeter'
Name of the rhombus perimeter.
PERIMETER_RHOMBUS: 'rhombusPerimeter'
Name of the hexagon perimeter.
PERIMETER_HEXAGON: 'hexagonPerimeter'
Name of the triangle perimeter.
PERIMETER_TRIANGLE: 'trianglePerimeter'
Returns true if the overflow portion of labels should be hidden.
mxGraph.prototype.isLabelClipped = function( cell )
Returns true if perimeter points should be computed such that the resulting edge has only horizontal or vertical segments.
mxGraph.prototype.isOrthogonal = function( edge )
This enables wrapping for HTML labels.
mxGraph.prototype.isWrapping = function( cell )
Returns true if the size of the given cell should automatically be updated after a change of the label.
mxGraph.prototype.isAutoSizeCell = function( cell )
Returns true if the given cell is foldable.
mxGraph.prototype.isCellFoldable = function( cell, collapse )
Returns true if the given cell is editable.
mxGraph.prototype.isCellEditable = function( cell )
Returns true if the given cell is bendable.
mxGraph.prototype.isCellBendable = function( cell )
Returns true if the given cell is moveable.
mxGraph.prototype.isCellMovable = function( cell )
Returns true if the given cell is resizable.
mxGraph.prototype.isCellResizable = function( cell )
Returns true if the given cell is rotatable.
mxGraph.prototype.isCellRotatable = function( cell )
Returns true if the given cell is cloneable.
mxGraph.prototype.isCellCloneable = function( cell )
Returns true if the given cell is moveable.
mxGraph.prototype.isCellDeletable = function( cell )
Used to determine the automatic text direction.
mxText.prototype.getAutoDirection = function()