mxGraph
Public Attributes | Static Public Attributes
com.mxgraph.mxConstants Class Reference

Defines various global constants. More...

List of all members.

Public Attributes

const int FONT_BOLD = 1
 FONT_BOLD.
const int FONT_ITALIC = 2
 FONT_ITALIC.
const int FONT_UNDERLINE = 4
 FONT_UNDERLINE.
const int FONT_SHADOW = 8
 FONT_SHADOW.
const string SHAPE_RECTANGLE = "rectangle"
 SHAPE_RECTANGLE.
const string SHAPE_ELLIPSE = "ellipse"
 SHAPE_ELLIPSE.
const string SHAPE_DOUBLE_ELLIPSE = "doubleEllipse"
 SHAPE_DOUBLE_ELLIPSE.
const string SHAPE_RHOMBUS = "rhombus"
 SHAPE_RHOMBUS.
const string SHAPE_LINE = "line"
 SHAPE_LINE.
const string SHAPE_IMAGE = "image"
 SHAPE_IMAGE.
const string SHAPE_ARROW = "arrow"
 SHAPE_ARROW.
const string SHAPE_LABEL = "label"
 SHAPE_LABEL.
const string SHAPE_CYLINDER = "cylinder"
 SHAPE_CYLINDER.
const string SHAPE_SWIMLANE = "swimlane"
 SHAPE_SWIMLANE.
const string SHAPE_CONNECTOR = "connector"
 SHAPE_CONNECTOR.
const string SHAPE_ACTOR = "actor"
 SHAPE_ACTOR.
const string SHAPE_CLOUD = "cloud"
 SHAPE_CLOUD.
const string SHAPE_TRIANGLE = "triangle"
 SHAPE_TRIANGLE.
const string SHAPE_HEXAGON = "hexagon"
 SHAPE_HEXAGON.
const string ARROW_CLASSIC = "classic"
 ARROW_CLASSIC.
const string ARROW_BLOCK = "block"
 ARROW_BLOCK.
const string ARROW_OPEN = "open"
 ARROW_OPEN.
const string ARROW_OVAL = "oval"
 ARROW_BLOCK.
const string ARROW_DIAMOND = "diamond"
 ARROW_OPEN.
const string ALIGN_LEFT = "left"
 ALIGN_LEFT.
const string ALIGN_CENTER = "center"
 ALIGN_CENTER.
const string ALIGN_RIGHT = "right"
 ALIGN_RIGHT.
const string ALIGN_TOP = "top"
 ALIGN_TOP.
const string ALIGN_MIDDLE = "middle"
 ALIGN_MIDDLE.
const string ALIGN_BOTTOM = "bottom"
 ALIGN_BOTTOM.
const string DIRECTION_NORTH = "north"
const string DIRECTION_SOUTH = "south"
const string DIRECTION_EAST = "east"
const string DIRECTION_WEST = "west"
const string ELBOW_VERTICAL = "vertical"
 ELBOW_VERTICAL.
const string ELBOW_HORIZONTAL = "horizontal"
 ELBOW_HORIZONTAL.
const string EDGESTYLE_ELBOW = "elbowEdgeStyle"
 Name of the elbow edge style. Can be used as a string value.
const string EDGESTYLE_ENTITY_RELATION = "entityRelationEdgeStyle"
 Name of the entity relation edge style. Can be used as a string value.
const string EDGESTYLE_LOOP = "loopEdgeStyle"
 Name of the loop edge style. Can be used as a string value.
const string EDGESTYLE_SIDETOSIDE = "sideToSideEdgeStyle"
 Name of the side to side edge style. Can be used as a string value.
const string EDGESTYLE_TOPTOBOTTOM = "topToBottomEdgeStyle"
 Name of the top to bottom edge style. Can be used as a string value.
const string PERIMETER_ELLIPSE = "ellipsePerimeter"
 Name of the ellipse perimeter. Can be used as a string value.
const string PERIMETER_RECTANGLE = "rectanglePerimeter"
 Name of the rectangle perimeter. Can be used as a string value.
const string PERIMETER_RHOMBUS = "rhombusPerimeter"
 Name of the rhombus perimeter. Can be used as a string value.
const string PERIMETER_TRIANGLE = "trianglePerimeter"
 Name of the triangle perimeter. Can be used as a string value.

Static Public Attributes

static double DEFAULT_HOTSPOT = 0.3
 Defines the portion of the cell which is.
static double MIN_HOTSPOT_SIZE = 8
 Defines the minimum size in pixels of the.
static string NS_SVG = "http://www.w3.org/2000/svg"
 Defines the SVG namespace.
static string NS_XHTML = "http://www.w3.org/1999/xhtml"
 Defines the XHTML namespace.
static string NS_XLINK = "http://www.w3.org/1999/xlink"
 Defines the XLink namespace.
static String DEFAULT_FONTFAMILIES = "Arial,Helvetica"
 Comma separated list of default fonts for CSS properties. And the default font family value for new image export. Default is Arial, Helvetica.
static String DEFAULT_FONTFAMILY = "Arial"
 Default family for fonts. Default is Arial.
static float DEFAULT_FONTSIZE = 11
 Default size for fonts. Value is 11.
static float DEFAULT_STARTSIZE = 40
 Defines the default start size for swimlanes. Default is 40.
static int LINESPACING = 2
 Specifies the line spacing. Default is 2.
static double FONT_SIZEFACTOR = 0.75
 Defines the factor to multiply font sizes in points to be used as font sizes in em. Default is 1/1.33 = 0.75.
static int LABEL_INSET = 3
 Defines the inset in absolute pixels between the label bounding box and the label text. Default is 3.
static float DEFAULT_MARKERSIZE = 6
 Default size for markers. Value is 6.
static int DEFAULT_IMAGESIZE = 24
 Defines the default width and height for images used in the label shape. Default is 24.
static int STENCIL_SHADOW_OPACITY = 1
 Defines the default opacity for stencils shadows. Default is 1.
static String STENCIL_SHADOWCOLOR = "gray"
 Defines the default shadow color for stencils. Default is "gray".
static Color SHADOWCOLOR = Color.Gray
 Defines the color to be used to draw shadows. Default is gray.
static int SHADOW_OFFSETX = 2
 Defines the x-offset to be used for shadows. Default is 2.
static int SHADOW_OFFSETY = 3
 Defines the y-offset to be used for shadows. Default is 3.
static string W3C_SHADOWCOLOR = "gray"
 Defines the color to be used to draw shadows in W3C standards. Default is gray.
static int 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.
static double RECTANGLE_ROUNDING_FACTOR = 0.15
 Defines the rounding factor for rounded rectangles in percent between 0 and 1. Values should be smaller than 0.5. Default is 0.15.
static double LINE_ARCSIZE = 10
 Defines the size of the arcs for rounded edges. Default is 10.
static int ARROW_SPACING = 10
 Defines the spacing between the arrow shape and its terminals. Default is 10.
static int ARROW_WIDTH = 30
 Defines the width of the arrow shape. Default is 30.
static int ARROW_SIZE = 30
 Defines the size of the arrowhead in the arrow shape. Default is 30.
static string NONE = "none"
 Defines the value for none. Default is "none".
static string STYLE_PERIMETER = "perimeter"
 Defines the key for the perimeter style. Possible values are the functions defined in mxPerimeter.
static string STYLE_SOURCE_PORT = "sourcePort"
 Defines the ID of the cell that should be used for computing the perimeter point of the source for an edge. This allows for graphically connecting to a cell while keeping the actual terminal of the edge.
static string STYLE_TARGET_PORT = "targetPort"
 Defines the ID of the cell that should be used for computing the perimeter point of the target for an edge. This allows for graphically connecting to a cell while keeping the actual terminal of the edge.
static string STYLE_OPACITY = "opacity"
 Defines the key for the opacity style (0-100).
static string STYLE_TEXT_OPACITY = "textOpacity"
 Defines the key for the text opacity style (0-100).
static string STYLE_OVERFLOW = "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.
static string STYLE_ORTHOGONAL = "orthogonal"
 Defines if the connection points on either end of the edge should be.
static string STYLE_EXIT_X = "exitX"
 Defines the key for the horizontal relative coordinate connection point.
static string STYLE_EXIT_Y = "exitY"
 Defines the key for the vertical relative coordinate connection point.
static string STYLE_EXIT_PERIMETER = "exitPerimeter"
 Defines if the perimeter should be used to find the exact entry point.
static string STYLE_ENTRY_X = "entryX"
 Defines the key for the horizontal relative coordinate connection point.
static string STYLE_ENTRY_Y = "entryY"
 Defines the key for the vertical relative coordinate connection point.
static string STYLE_ENTRY_PERIMETER = "entryPerimeter"
 Defines if the perimeter should be used to find the exact entry point.
static string 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.
static string STYLE_ROTATION = "rotation"
 Defines the key for the rotation style (0-360).
static string STYLE_FILLCOLOR = "fillColor"
 Defines the key for the fillColor style. The value is a string expression supported by ColorTranslator.FromHtml.
static string STYLE_GRADIENTCOLOR = "gradientColor"
 Defines the key for the gradientColor style. The value is a string expression supported by ColorTranslator.FromHtml. This is ignored if no fill color is defined.
static string 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.
static string STYLE_STROKECOLOR = "strokeColor"
 Defines the key for the strokeColor style. The value is a string expression supported by ColorTranslator.FromHtml.
static string STYLE_SEPARATORCOLOR = "separatorColor"
 Defines the key for the separatorColor style. The value is a string expression supported by ColorTranslator.FromHtml. This style is only used for SHAPE_SWIMLANE shapes.
static string STYLE_STROKEWIDTH = "strokeWidth"
 Defines the key for the strokeWidth style. The type of the value is float and the possible range is any non-negative value. The value reflects the stroke width in pixels.
static string 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
static string 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.
static String 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.
static String STYLE_VERTICAL_LABEL_POSITION = "verticalLabelPosition"
 Defines the key for the vertical label position of vertices. Possible.
static string 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.
static string 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.
static String 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.
static string STYLE_IMAGE = "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. See mxGraphics2DCanvas.getImageForStyle, loadImage and setImageBasePath on how the image URL is resolved. Finally, mxUtils.loadImage is used for loading the image for a given URL.
static string STYLE_IMAGE_WIDTH = "imageWidth"
 Defines the key for the imageWidth style. The type of this value is int, the value is the image width in pixels and must be greated than 0.
static string STYLE_IMAGE_HEIGHT = "imageHeight"
 Defines the key for the imageHeight style The type of this value is int, the value is the image height in pixels and must be greater than 0.
static string STYLE_IMAGE_BACKGROUND = "imageBackground"
 Defines the key for the image background color. This style is only used.
static string STYLE_IMAGE_BORDER = "imageBorder"
 Defines the key for the image border color. This style is only used for.
static string STYLE_IMAGE_FLIPH = "imageFlipH"
 Defines the key for the horizontal image flip. This style is only used in mxImageShape. Possible values are 0 and 1. Default is 0.
static string STYLE_IMAGE_FLIPV = "imageFlipV"
 Defines the key for the vertical image flip. This style is only used in mxImageShape. Possible values are 0 and 1. Default is 0.
static String STYLE_STENCIL_FLIPH = "stencilFlipH"
 Defines the key for the horizontal stencil flip. This style is only used for <mxStencilShape>. Possible values are 0 and 1. Default is 0.
static String STYLE_STENCIL_FLIPV = "stencilFlipV"
 Defines the key for the vertical stencil flip. This style is only used for <mxStencilShape>. Possible values are 0 and 1. Default is 0.
static String STYLE_NOLABEL = "noLabel"
 Defines the key for the noLabel style. If this is true then no label is visible for a given cell. Possible values are true or false (1 or 0). Default is false (0).
static String STYLE_NOEDGESTYLE = "noEdgeStyle"
 Defines the key for the noEdgeStyle style. If this is true then no edge style is applied for a given edge. Possible values are true or false (1 or 0). Default is false.
static String STYLE_LABEL_BACKGROUNDCOLOR = "labelBackgroundColor"
 Defines the key for the label background color. The value is a string expression supported by ColorTranslator.FromHtml.
static String STYLE_LABEL_BORDERCOLOR = "labelBorderColor"
 Defines the key for the label border color. The value is a string expression supported by ColorTranslator.FromHtml.
static string STYLE_INDICATOR_SHAPE = "indicatorShape"
 Defines the key for the indicatorShape style. Possible values are any of the SHAPE_* constants.
static string STYLE_INDICATOR_IMAGE = "indicatorImage"
 Defines the key for the indicatorImage style. Possible values are any image URL, the type of the value is String.
static string STYLE_INDICATOR_COLOR = "indicatorColor"
 Defines the key for the indicatorColor style. The value is a string expression supported by ColorTranslator.FromHtml.
static string STYLE_INDICATOR_GRADIENTCOLOR = "indicatorGradientColor"
 Defines the key for the indicatorGradientColor style. The value is a string expression supported byColorTranslator.FromHtml. This style is only supported in SHAPE_LABEL shapes.
static string STYLE_INDICATOR_SPACING = "indicatorSpacing"
 Defines the key for the indicatorSpacing style (in px).
static string STYLE_INDICATOR_WIDTH = "indicatorWidth"
 Defines the key for the indicatorWidth style (in px).
static string STYLE_INDICATOR_HEIGHT = "indicatorHeight"
 Defines the key for the indicatorHeight style (in px).
static string STYLE_SHADOW = "shadow"
 Defines the key for the shadow style. The type of the value is boolean. This style applies to vertices and arrow style edges.
static String STYLE_SEGMENT = "segment"
 Defines the key for the segment style. The type of this value is float and the value represents the size of the horizontal segment of the entity relation style. Default is ENTITY_SEGMENT.
static string STYLE_ENDARROW = "endArrow"
 Defines the key for the endArrow style. Possible values are all constants in this class that start with ARROW_. This style is supported in the mxConnector shape.
static string STYLE_STARTARROW = "startArrow"
 Defines the key for the startArrow style. Possible values are all constants in this class that start with ARROW_. See STYLE_ENDARROW. This style is supported in the mxConnector shape.
static string STYLE_ENDSIZE = "endSize"
 Defines the key for the endSize style. The type of this value is float and the value represents the size of the end marker in pixels.
static string STYLE_STARTSIZE = "startSize"
 Defines the key for the startSize style. The type of this value is float and the value represents the size of the start marker or the size of the swimlane title region depending on the shape it is used for.
static string STYLE_DASHED = "dashed"
 Defines the key for the dashed style. The type of this value is boolean and the value determines whether or not an edge or border is drawn with a dashed pattern along the line.
static string 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.
static string STYLE_SOURCE_PERIMETER_SPACING = "sourcePerimeterSpacing"
 Defines the key for the source perimeter spacing. The type of this value is double. 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.
static string STYLE_TARGET_PERIMETER_SPACING = "targetPerimeterSpacing"
 Defines the key for the target perimeter spacing. The type of this value is double. 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.
static string 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).
static string STYLE_SPACING = "spacing"
 Defines the key for the spacing. The value represents the spacing, in pixels, added to each side of a label in a vertex (style applies to vertices only).
static string STYLE_SPACING_TOP = "spacingTop"
 Defines the key for the spacingTop style. The value represents the spacing, in pixels, added to the top side of a label in a vertex (style applies to vertices only).
static string STYLE_SPACING_LEFT = "spacingLeft"
 Defines the key for the spacingLeft style. The value represents the spacing, in pixels, added to the left side of a label in a vertex (style applies to vertices only).
static string STYLE_SPACING_BOTTOM = "spacingBottom"
 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).
static string STYLE_SPACING_RIGHT = "spacingRight"
 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).
static string 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.
static string 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. This value only applies to vertices.
static string 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.
static string STYLE_FONTCOLOR = "fontColor"
 Defines the key for the fontColor style. The value is type String and of the expression supported by ColorTranslator.FromHtml.
static string STYLE_FONTFAMILY = "fontFamily"
 Defines the key for the fontFamily style. Possible values are names such as Arial; Dialog; Verdana; Times New Roman. The value is of type String.
static string STYLE_FONTSIZE = "fontSize"
 Defines the key for the fontSize style (in points). The type of the value is int.
static string STYLE_FONTSTYLE = "fontStyle"
 Defines the key for the fontStyle style. Values may be any logical AND (sum) of FONT_BOLD, FONT_ITALIC, FONT_UNDERLINE and FONT_SHADOW. The type of the value is int.
static string STYLE_SHAPE = "shape"
 Defines the key for the shape style. Possible values are any of the SHAPE_* constants.
static string STYLE_EDGE = "edgeStyle"
 Takes a function that creates points. Possible values are the functions defined in mxEdgeStyle.
static string STYLE_LOOP = "loopStyle"
 Defines the key for the loop style. Possible values are the functions defined in mxEdgeStyle.
static String STYLE_ROUTING_CENTER_X = "routingCenterX"
 Defines the key for the horizontal routing center. Possible values are between -0.5 and 0.5. This is the relative offset from the center used for connecting edges. The type of this value is float.
static String STYLE_ROUTING_CENTER_Y = "routingCenterY"
 Defines the key for the vertical routing center. Possible values are between -0.5 and 0.5. This is the relative offset from the center used for connecting edges. The type of this value is float.

Detailed Description

Defines various global constants.


Member Data Documentation

const string com.mxgraph.mxConstants.ALIGN_BOTTOM = "bottom"

ALIGN_BOTTOM.

const string com.mxgraph.mxConstants.ALIGN_CENTER = "center"

ALIGN_CENTER.

const string com.mxgraph.mxConstants.ALIGN_LEFT = "left"

ALIGN_LEFT.

const string com.mxgraph.mxConstants.ALIGN_MIDDLE = "middle"

ALIGN_MIDDLE.

const string com.mxgraph.mxConstants.ALIGN_RIGHT = "right"

ALIGN_RIGHT.

const string com.mxgraph.mxConstants.ALIGN_TOP = "top"

ALIGN_TOP.

const string com.mxgraph.mxConstants.ARROW_BLOCK = "block"

ARROW_BLOCK.

const string com.mxgraph.mxConstants.ARROW_CLASSIC = "classic"

ARROW_CLASSIC.

const string com.mxgraph.mxConstants.ARROW_DIAMOND = "diamond"

ARROW_OPEN.

const string com.mxgraph.mxConstants.ARROW_OPEN = "open"

ARROW_OPEN.

const string com.mxgraph.mxConstants.ARROW_OVAL = "oval"

ARROW_BLOCK.

Defines the size of the arrowhead in the arrow shape. Default is 30.

Defines the spacing between the arrow shape and its terminals. Default is 10.

Defines the width of the arrow shape. Default is 30.

String com.mxgraph.mxConstants.DEFAULT_FONTFAMILIES = "Arial,Helvetica" [static]

Comma separated list of default fonts for CSS properties. And the default font family value for new image export. Default is Arial, Helvetica.

String com.mxgraph.mxConstants.DEFAULT_FONTFAMILY = "Arial" [static]

Default family for fonts. Default is Arial.

Default size for fonts. Value is 11.

Defines the portion of the cell which is.

to be used as a connectable region.

Defines the default width and height for images used in the label shape. Default is 24.

Default size for markers. Value is 6.

Defines the default start size for swimlanes. Default is 40.

DIRECTION_EAST

DIRECTION_NORTH

DIRECTION_SOUTH

DIRECTION_WEST

const string com.mxgraph.mxConstants.EDGESTYLE_ELBOW = "elbowEdgeStyle"

Name of the elbow edge style. Can be used as a string value.

for the STYLE_EDGE style.

const string com.mxgraph.mxConstants.EDGESTYLE_ENTITY_RELATION = "entityRelationEdgeStyle"

Name of the entity relation edge style. Can be used as a string value.

for the STYLE_EDGE style.

const string com.mxgraph.mxConstants.EDGESTYLE_LOOP = "loopEdgeStyle"

Name of the loop edge style. Can be used as a string value.

for the STYLE_EDGE style.

const string com.mxgraph.mxConstants.EDGESTYLE_SIDETOSIDE = "sideToSideEdgeStyle"

Name of the side to side edge style. Can be used as a string value.

for the STYLE_EDGE style.

const string com.mxgraph.mxConstants.EDGESTYLE_TOPTOBOTTOM = "topToBottomEdgeStyle"

Name of the top to bottom edge style. Can be used as a string value.

for the STYLE_EDGE style.

const string com.mxgraph.mxConstants.ELBOW_HORIZONTAL = "horizontal"

ELBOW_HORIZONTAL.

const string com.mxgraph.mxConstants.ELBOW_VERTICAL = "vertical"

ELBOW_VERTICAL.

Defines the length of the horizontal segment of an Entity Relation. This can be overridden using mxConstants.STYLE_SEGMENT style. Default is 30.

FONT_BOLD.

FONT_ITALIC.

FONT_SHADOW.

Defines the factor to multiply font sizes in points to be used as font sizes in em. Default is 1/1.33 = 0.75.

FONT_UNDERLINE.

Defines the inset in absolute pixels between the label bounding box and the label text. Default is 3.

Defines the size of the arcs for rounded edges. Default is 10.

Specifies the line spacing. Default is 2.

Defines the minimum size in pixels of the.

portion of the cell cell which is to be used as a connectable region.

string com.mxgraph.mxConstants.NONE = "none" [static]

Defines the value for none. Default is "none".

string com.mxgraph.mxConstants.NS_SVG = "http://www.w3.org/2000/svg" [static]

Defines the SVG namespace.

string com.mxgraph.mxConstants.NS_XHTML = "http://www.w3.org/1999/xhtml" [static]

Defines the XHTML namespace.

string com.mxgraph.mxConstants.NS_XLINK = "http://www.w3.org/1999/xlink" [static]

Defines the XLink namespace.

const string com.mxgraph.mxConstants.PERIMETER_ELLIPSE = "ellipsePerimeter"

Name of the ellipse perimeter. Can be used as a string value.

for the STYLE_PERIMETER style.

const string com.mxgraph.mxConstants.PERIMETER_RECTANGLE = "rectanglePerimeter"

Name of the rectangle perimeter. Can be used as a string value.

for the STYLE_PERIMETER style.

const string com.mxgraph.mxConstants.PERIMETER_RHOMBUS = "rhombusPerimeter"

Name of the rhombus perimeter. Can be used as a string value.

for the STYLE_PERIMETER style.

const string com.mxgraph.mxConstants.PERIMETER_TRIANGLE = "trianglePerimeter"

Name of the triangle perimeter. Can be used as a string value.

for the STYLE_PERIMETER style.

Defines the rounding factor for rounded rectangles in percent between 0 and 1. Values should be smaller than 0.5. Default is 0.15.

Defines the x-offset to be used for shadows. Default is 2.

Defines the y-offset to be used for shadows. Default is 3.

Color com.mxgraph.mxConstants.SHADOWCOLOR = Color.Gray [static]

Defines the color to be used to draw shadows. Default is gray.

const string com.mxgraph.mxConstants.SHAPE_ACTOR = "actor"

SHAPE_ACTOR.

const string com.mxgraph.mxConstants.SHAPE_ARROW = "arrow"

SHAPE_ARROW.

const string com.mxgraph.mxConstants.SHAPE_CLOUD = "cloud"

SHAPE_CLOUD.

const string com.mxgraph.mxConstants.SHAPE_CONNECTOR = "connector"

SHAPE_CONNECTOR.

const string com.mxgraph.mxConstants.SHAPE_CYLINDER = "cylinder"

SHAPE_CYLINDER.

const string com.mxgraph.mxConstants.SHAPE_DOUBLE_ELLIPSE = "doubleEllipse"

SHAPE_DOUBLE_ELLIPSE.

const string com.mxgraph.mxConstants.SHAPE_ELLIPSE = "ellipse"

SHAPE_ELLIPSE.

const string com.mxgraph.mxConstants.SHAPE_HEXAGON = "hexagon"

SHAPE_HEXAGON.

const string com.mxgraph.mxConstants.SHAPE_IMAGE = "image"

SHAPE_IMAGE.

const string com.mxgraph.mxConstants.SHAPE_LABEL = "label"

SHAPE_LABEL.

const string com.mxgraph.mxConstants.SHAPE_LINE = "line"

SHAPE_LINE.

const string com.mxgraph.mxConstants.SHAPE_RECTANGLE = "rectangle"

SHAPE_RECTANGLE.

const string com.mxgraph.mxConstants.SHAPE_RHOMBUS = "rhombus"

SHAPE_RHOMBUS.

const string com.mxgraph.mxConstants.SHAPE_SWIMLANE = "swimlane"

SHAPE_SWIMLANE.

const string com.mxgraph.mxConstants.SHAPE_TRIANGLE = "triangle"

SHAPE_TRIANGLE.

Defines the default opacity for stencils shadows. Default is 1.

Defines the default shadow color for stencils. Default is "gray".

string com.mxgraph.mxConstants.STYLE_ALIGN = "align" [static]

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

string com.mxgraph.mxConstants.STYLE_DASHED = "dashed" [static]

Defines the key for the dashed style. The type of this value is boolean and the value determines whether or not an edge or border is drawn with a dashed pattern along the line.

string com.mxgraph.mxConstants.STYLE_DIRECTION = "direction" [static]

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. This value only applies to vertices.

string com.mxgraph.mxConstants.STYLE_EDGE = "edgeStyle" [static]

Takes a function that creates points. Possible values are the functions defined in mxEdgeStyle.

string com.mxgraph.mxConstants.STYLE_ELBOW = "elbow" [static]

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.

string com.mxgraph.mxConstants.STYLE_ENDARROW = "endArrow" [static]

Defines the key for the endArrow style. Possible values are all constants in this class that start with ARROW_. This style is supported in the mxConnector shape.

string com.mxgraph.mxConstants.STYLE_ENDSIZE = "endSize" [static]

Defines the key for the endSize style. The type of this value is float and the value represents the size of the end marker in pixels.

string com.mxgraph.mxConstants.STYLE_ENTRY_PERIMETER = "entryPerimeter" [static]

Defines if the perimeter should be used to find the exact entry point.

along the perimeter of the target. Possible values are 0 (false) and 1 (true). Default is 1 (true).

string com.mxgraph.mxConstants.STYLE_ENTRY_X = "entryX" [static]

Defines the key for the horizontal relative coordinate connection point.

of an edge with its target terminal.

string com.mxgraph.mxConstants.STYLE_ENTRY_Y = "entryY" [static]

Defines the key for the vertical relative coordinate connection point.

of an edge with its target terminal.

string com.mxgraph.mxConstants.STYLE_EXIT_PERIMETER = "exitPerimeter" [static]

Defines if the perimeter should be used to find the exact entry point.

along the perimeter of the source. Possible values are 0 (false) and 1 (true). Default is 1 (true).

string com.mxgraph.mxConstants.STYLE_EXIT_X = "exitX" [static]

Defines the key for the horizontal relative coordinate connection point.

of an edge with its source terminal.

string com.mxgraph.mxConstants.STYLE_EXIT_Y = "exitY" [static]

Defines the key for the vertical relative coordinate connection point.

of an edge with its source terminal.

string com.mxgraph.mxConstants.STYLE_FILLCOLOR = "fillColor" [static]

Defines the key for the fillColor style. The value is a string expression supported by ColorTranslator.FromHtml.

string com.mxgraph.mxConstants.STYLE_FONTCOLOR = "fontColor" [static]

Defines the key for the fontColor style. The value is type String and of the expression supported by ColorTranslator.FromHtml.

string com.mxgraph.mxConstants.STYLE_FONTFAMILY = "fontFamily" [static]

Defines the key for the fontFamily style. Possible values are names such as Arial; Dialog; Verdana; Times New Roman. The value is of type String.

string com.mxgraph.mxConstants.STYLE_FONTSIZE = "fontSize" [static]

Defines the key for the fontSize style (in points). The type of the value is int.

string com.mxgraph.mxConstants.STYLE_FONTSTYLE = "fontStyle" [static]

Defines the key for the fontStyle style. Values may be any logical AND (sum) of FONT_BOLD, FONT_ITALIC, FONT_UNDERLINE and FONT_SHADOW. The type of the value is int.

String com.mxgraph.mxConstants.STYLE_GLASS = "glass" [static]

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.

string com.mxgraph.mxConstants.STYLE_GRADIENT_DIRECTION = "gradientDirection" [static]

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.

string com.mxgraph.mxConstants.STYLE_GRADIENTCOLOR = "gradientColor" [static]

Defines the key for the gradientColor style. The value is a string expression supported by ColorTranslator.FromHtml. This is ignored if no fill color is defined.

string com.mxgraph.mxConstants.STYLE_HORIZONTAL = "horizontal" [static]

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.

string com.mxgraph.mxConstants.STYLE_IMAGE = "image" [static]

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. See mxGraphics2DCanvas.getImageForStyle, loadImage and setImageBasePath on how the image URL is resolved. Finally, mxUtils.loadImage is used for loading the image for a given URL.

string com.mxgraph.mxConstants.STYLE_IMAGE_ALIGN = "imageAlign" [static]

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.

string com.mxgraph.mxConstants.STYLE_IMAGE_BACKGROUND = "imageBackground" [static]

Defines the key for the image background color. This style is only used.

for image shapes. Possible values are all HTML color names or HEX codes.

string com.mxgraph.mxConstants.STYLE_IMAGE_BORDER = "imageBorder" [static]

Defines the key for the image border color. This style is only used for.

image shapes. Possible values are all HTML color names or HEX codes.

string com.mxgraph.mxConstants.STYLE_IMAGE_FLIPH = "imageFlipH" [static]

Defines the key for the horizontal image flip. This style is only used in mxImageShape. Possible values are 0 and 1. Default is 0.

string com.mxgraph.mxConstants.STYLE_IMAGE_FLIPV = "imageFlipV" [static]

Defines the key for the vertical image flip. This style is only used in mxImageShape. Possible values are 0 and 1. Default is 0.

string com.mxgraph.mxConstants.STYLE_IMAGE_HEIGHT = "imageHeight" [static]

Defines the key for the imageHeight style The type of this value is int, the value is the image height in pixels and must be greater than 0.

string com.mxgraph.mxConstants.STYLE_IMAGE_VERTICAL_ALIGN = "imageVerticalAlign" [static]

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.

string com.mxgraph.mxConstants.STYLE_IMAGE_WIDTH = "imageWidth" [static]

Defines the key for the imageWidth style. The type of this value is int, the value is the image width in pixels and must be greated than 0.

string com.mxgraph.mxConstants.STYLE_INDICATOR_COLOR = "indicatorColor" [static]

Defines the key for the indicatorColor style. The value is a string expression supported by ColorTranslator.FromHtml.

string com.mxgraph.mxConstants.STYLE_INDICATOR_GRADIENTCOLOR = "indicatorGradientColor" [static]

Defines the key for the indicatorGradientColor style. The value is a string expression supported byColorTranslator.FromHtml. This style is only supported in SHAPE_LABEL shapes.

string com.mxgraph.mxConstants.STYLE_INDICATOR_HEIGHT = "indicatorHeight" [static]

Defines the key for the indicatorHeight style (in px).

string com.mxgraph.mxConstants.STYLE_INDICATOR_IMAGE = "indicatorImage" [static]

Defines the key for the indicatorImage style. Possible values are any image URL, the type of the value is String.

string com.mxgraph.mxConstants.STYLE_INDICATOR_SHAPE = "indicatorShape" [static]

Defines the key for the indicatorShape style. Possible values are any of the SHAPE_* constants.

string com.mxgraph.mxConstants.STYLE_INDICATOR_SPACING = "indicatorSpacing" [static]

Defines the key for the indicatorSpacing style (in px).

string com.mxgraph.mxConstants.STYLE_INDICATOR_WIDTH = "indicatorWidth" [static]

Defines the key for the indicatorWidth style (in px).

String com.mxgraph.mxConstants.STYLE_LABEL_BACKGROUNDCOLOR = "labelBackgroundColor" [static]

Defines the key for the label background color. The value is a string expression supported by ColorTranslator.FromHtml.

String com.mxgraph.mxConstants.STYLE_LABEL_BORDERCOLOR = "labelBorderColor" [static]

Defines the key for the label border color. The value is a string expression supported by ColorTranslator.FromHtml.

String com.mxgraph.mxConstants.STYLE_LABEL_POSITION = "labelPosition" [static]

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.

string com.mxgraph.mxConstants.STYLE_LOOP = "loopStyle" [static]

Defines the key for the loop style. Possible values are the functions defined in mxEdgeStyle.

String com.mxgraph.mxConstants.STYLE_NOEDGESTYLE = "noEdgeStyle" [static]

Defines the key for the noEdgeStyle style. If this is true then no edge style is applied for a given edge. Possible values are true or false (1 or 0). Default is false.

String com.mxgraph.mxConstants.STYLE_NOLABEL = "noLabel" [static]

Defines the key for the noLabel style. If this is true then no label is visible for a given cell. Possible values are true or false (1 or 0). Default is false (0).

string com.mxgraph.mxConstants.STYLE_OPACITY = "opacity" [static]

Defines the key for the opacity style (0-100).

string com.mxgraph.mxConstants.STYLE_ORTHOGONAL = "orthogonal" [static]

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.

string com.mxgraph.mxConstants.STYLE_OVERFLOW = "overflow" [static]

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.

string com.mxgraph.mxConstants.STYLE_PERIMETER = "perimeter" [static]

Defines the key for the perimeter style. Possible values are the functions defined in mxPerimeter.

string com.mxgraph.mxConstants.STYLE_PERIMETER_SPACING = "perimeterSpacing" [static]

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).

string com.mxgraph.mxConstants.STYLE_ROTATION = "rotation" [static]

Defines the key for the rotation style (0-360).

string com.mxgraph.mxConstants.STYLE_ROUNDED = "rounded" [static]

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.

String com.mxgraph.mxConstants.STYLE_ROUTING_CENTER_X = "routingCenterX" [static]

Defines the key for the horizontal routing center. Possible values are between -0.5 and 0.5. This is the relative offset from the center used for connecting edges. The type of this value is float.

String com.mxgraph.mxConstants.STYLE_ROUTING_CENTER_Y = "routingCenterY" [static]

Defines the key for the vertical routing center. Possible values are between -0.5 and 0.5. This is the relative offset from the center used for connecting edges. The type of this value is float.

String com.mxgraph.mxConstants.STYLE_SEGMENT = "segment" [static]

Defines the key for the segment style. The type of this value is float and the value represents the size of the horizontal segment of the entity relation style. Default is ENTITY_SEGMENT.

string com.mxgraph.mxConstants.STYLE_SEPARATORCOLOR = "separatorColor" [static]

Defines the key for the separatorColor style. The value is a string expression supported by ColorTranslator.FromHtml. This style is only used for SHAPE_SWIMLANE shapes.

string com.mxgraph.mxConstants.STYLE_SHADOW = "shadow" [static]

Defines the key for the shadow style. The type of the value is boolean. This style applies to vertices and arrow style edges.

string com.mxgraph.mxConstants.STYLE_SHAPE = "shape" [static]

Defines the key for the shape style. Possible values are any of the SHAPE_* constants.

string com.mxgraph.mxConstants.STYLE_SOURCE_PERIMETER_SPACING = "sourcePerimeterSpacing" [static]

Defines the key for the source perimeter spacing. The type of this value is double. 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.

string com.mxgraph.mxConstants.STYLE_SOURCE_PORT = "sourcePort" [static]

Defines the ID of the cell that should be used for computing the perimeter point of the source for an edge. This allows for graphically connecting to a cell while keeping the actual terminal of the edge.

string com.mxgraph.mxConstants.STYLE_SPACING = "spacing" [static]

Defines the key for the spacing. The value represents the spacing, in pixels, added to each side of a label in a vertex (style applies to vertices only).

string com.mxgraph.mxConstants.STYLE_SPACING_BOTTOM = "spacingBottom" [static]

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).

string com.mxgraph.mxConstants.STYLE_SPACING_LEFT = "spacingLeft" [static]

Defines the key for the spacingLeft style. The value represents the spacing, in pixels, added to the left side of a label in a vertex (style applies to vertices only).

string com.mxgraph.mxConstants.STYLE_SPACING_RIGHT = "spacingRight" [static]

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).

string com.mxgraph.mxConstants.STYLE_SPACING_TOP = "spacingTop" [static]

Defines the key for the spacingTop style. The value represents the spacing, in pixels, added to the top side of a label in a vertex (style applies to vertices only).

string com.mxgraph.mxConstants.STYLE_STARTARROW = "startArrow" [static]

Defines the key for the startArrow style. Possible values are all constants in this class that start with ARROW_. See STYLE_ENDARROW. This style is supported in the mxConnector shape.

string com.mxgraph.mxConstants.STYLE_STARTSIZE = "startSize" [static]

Defines the key for the startSize style. The type of this value is float and the value represents the size of the start marker or the size of the swimlane title region depending on the shape it is used for.

String com.mxgraph.mxConstants.STYLE_STENCIL_FLIPH = "stencilFlipH" [static]

Defines the key for the horizontal stencil flip. This style is only used for <mxStencilShape>. Possible values are 0 and 1. Default is 0.

String com.mxgraph.mxConstants.STYLE_STENCIL_FLIPV = "stencilFlipV" [static]

Defines the key for the vertical stencil flip. This style is only used for <mxStencilShape>. Possible values are 0 and 1. Default is 0.

string com.mxgraph.mxConstants.STYLE_STROKECOLOR = "strokeColor" [static]

Defines the key for the strokeColor style. The value is a string expression supported by ColorTranslator.FromHtml.

string com.mxgraph.mxConstants.STYLE_STROKEWIDTH = "strokeWidth" [static]

Defines the key for the strokeWidth style. The type of the value is float and the possible range is any non-negative value. The value reflects the stroke width in pixels.

string com.mxgraph.mxConstants.STYLE_TARGET_PERIMETER_SPACING = "targetPerimeterSpacing" [static]

Defines the key for the target perimeter spacing. The type of this value is double. 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.

string com.mxgraph.mxConstants.STYLE_TARGET_PORT = "targetPort" [static]

Defines the ID of the cell that should be used for computing the perimeter point of the target for an edge. This allows for graphically connecting to a cell while keeping the actual terminal of the edge.

string com.mxgraph.mxConstants.STYLE_TEXT_OPACITY = "textOpacity" [static]

Defines the key for the text opacity style (0-100).

string com.mxgraph.mxConstants.STYLE_VERTICAL_ALIGN = "verticalAlign" [static]

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.

String com.mxgraph.mxConstants.STYLE_VERTICAL_LABEL_POSITION = "verticalLabelPosition" [static]

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.

string com.mxgraph.mxConstants.STYLE_WHITE_SPACE = "whiteSpace" [static]

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.

string com.mxgraph.mxConstants.W3C_SHADOWCOLOR = "gray" [static]

Defines the color to be used to draw shadows in W3C standards. Default is gray.


The documentation for this class was generated from the following file: