/** * @class mxConstants */ declare class mxConstants { /** * Defines the portion of the cell which is to be used as a connectable * region. Default is 0.3. Possible values are 0 < x <= 1. * @default 0.3 */ static DEFAULT_HOTSPOT: number; /** * Defines the minimum size in pixels of the portion of the cell which is * to be used as a connectable region. Default is 8. * @default 8 */ static MIN_HOTSPOT_SIZE: number; /** * Defines the maximum size in pixels of the portion of the cell which is * to be used as a connectable region. Use 0 for no maximum. Default is 0. * @default 0 */ static MAX_HOTSPOT_SIZE: number; /** * Defines the exact rendering hint. */ static RENDERING_HINT_EXACT: 'exact'; /** * Defines the faster rendering hint. */ static RENDERING_HINT_FASTER: 'faster'; /** * Defines the fastest rendering hint. */ static RENDERING_HINT_FASTEST: 'fastest'; /** * Defines the SVG display dialect name. */ static DIALECT_SVG: 'svg'; /** * Defines the VML display dialect name. */ static DIALECT_VML: 'vml'; /** * Defines the mixed HTML display dialect name. */ static DIALECT_MIXEDHTML: 'mixedHtml'; /** * Defines the preferred HTML display dialect name. */ static DIALECT_PREFERHTML: 'preferHtml'; /** * Defines the strict HTML display dialect. */ static DIALECT_STRICTHTML: 'strictHtml'; /** * Defines the SVG namespace. */ static NS_SVG: 'http://www.w3.org/2000/svg'; /** * Defines the XHTML namespace. */ static NS_XHTML: 'http://www.w3.org/1999/xhtml'; /** * Defines the XLink namespace. */ static NS_XLINK: 'http://www.w3.org/1999/xlink'; /** * Defines the color to be used to draw shadows in shapes and windows. * @default gray */ static SHADOWCOLOR: string; /** * Used for shadow color in filters where transparency is not supported * (Microsoft Internet Explorer). Default is gray. * * @default gray */ static VML_SHADOWCOLOR: string; /** * Specifies the x-offset of the shadow. Default is 2. * @default 2 */ static SHADOW_OFFSET_X: number; /** * Specifies the y-offset of the shadow. Default is 3. * @default 3 */ static SHADOW_OFFSET_Y: number; /** * Defines the opacity for shadows. Default is 1. * @default 1 */ static SHADOW_OPACITY: number; /** * DOM node of type ELEMENT. * @default 1 */ static NODETYPE_ELEMENT: 1; /** * DOM node of type ATTRIBUTE. * @default 2 */ static NODETYPE_ATTRIBUTE: number; /** * DOM node of type TEXT. * @default 3 */ static NODETYPE_TEXT: number; /** * DOM node of type CDATA. * @default 4 */ static NODETYPE_CDATA: number; /** * DOM node of type ENTITY_REFERENCE. * @default 5 */ static NODETYPE_ENTITY_REFERENCE: number; /** * DOM node of type ENTITY. * @default 6 */ static NODETYPE_ENTITY: number; /** * DOM node of type PROCESSING_INSTRUCTION. * @default 7 */ static NODETYPE_PROCESSING_INSTRUCTION: number; /** * DOM node of type COMMENT. * @default 8 */ static NODETYPE_COMMENT: number; /** * DOM node of type DOCUMENT. * @default 9 */ static NODETYPE_DOCUMENT: number; /** * DOM node of type DOCUMENTTYPE. * @default 10 */ static NODETYPE_DOCUMENTTYPE: number; /** * DOM node of type DOCUMENT_FRAGMENT. * @default 11 */ static NODETYPE_DOCUMENT_FRAGMENT: number; /** * DOM node of type NOTATION. * @default 12 */ static NODETYPE_NOTATION: number; /** * Defines the vertical offset for the tooltip. * Default is 16. * @default 16 */ static TOOLTIP_VERTICAL_OFFSET: number; /** * Specifies the default valid color. Default is #0000FF. * @default #00FF00 */ static DEFAULT_VALID_COLOR: string; /** * Specifies the default invalid color. Default is #FF0000. * @default #FF0000 */ static DEFAULT_INVALID_COLOR: string; /** * Specifies the default highlight color for shape outlines. * Default is #0000FF. This is used in . * @default #00FF00 */ static OUTLINE_HIGHLIGHT_COLOR: string; /** * Defines the strokewidth to be used for shape outlines. * Default is 5. This is used in . * @default 5 */ static OUTLINE_HIGHLIGHT_STROKEWIDTH: number; /** * Defines the strokewidth to be used for the highlights. * Default is 3. * @default 3 */ static HIGHLIGHT_STROKEWIDTH: number; /** * Size of the constraint highlight (in px). Default is 2. * @default 2 */ static HIGHLIGHT_SIZE: number; /** * Opacity (in %) used for the highlights (including outline). * Default is 100. * @default 100 */ static HIGHLIGHT_OPACITY: number; /** * Defines the cursor for a movable vertex. Default is 'move'. */ static CURSOR_MOVABLE_VERTEX: 'move'; /** * Defines the cursor for a movable edge. Default is 'move'. */ static CURSOR_MOVABLE_EDGE: 'move'; /** * Defines the cursor for a movable label. Default is 'default'. */ static CURSOR_LABEL_HANDLE: 'default'; /** * Defines the cursor for a terminal handle. Default is 'pointer'. */ static CURSOR_TERMINAL_HANDLE: 'pointer'; /** * Defines the cursor for a movable bend. Default is 'crosshair'. */ static CURSOR_BEND_HANDLE: 'crosshair'; /** * Defines the cursor for a movable bend. Default is 'crosshair'. */ static CURSOR_VIRTUAL_BEND_HANDLE: 'crosshair'; /** * Defines the cursor for a connectable state. Default is 'pointer'. */ static CURSOR_CONNECT: 'pointer'; /** * Defines the color to be used for the cell highlighting. * Use 'none' for no color. Default is #00FF00. * @default #00FF00 */ static HIGHLIGHT_COLOR: string; /** * Defines the color to be used for highlighting a target cell for a new * or changed connection. Note that this may be either a source or * target terminal in the graph. Use 'none' for no color. * Default is #0000FF. * @default #0000FF */ static CONNECT_TARGET_COLOR: string; /** * Defines the color to be used for highlighting a invalid target cells * for a new or changed connections. Note that this may be either a source * or target terminal in the graph. Use 'none' for no color. Default is * #FF0000. * @default #FF0000 */ static INVALID_CONNECT_TARGET_COLOR: string; /** * Defines the color to be used for the highlighting target parent cells * (for drag and drop). Use 'none' for no color. Default is #0000FF. * @default #0000FF */ static DROP_TARGET_COLOR: string; /** * Defines the color to be used for the coloring valid connection * previews. Use 'none' for no color. Default is #FF0000. * @default #00FF00 */ static VALID_COLOR: string; /** * Defines the color to be used for the coloring invalid connection * previews. Use 'none' for no color. Default is #FF0000. * @default #FF0000 */ static INVALID_COLOR: string; /** * Defines the color to be used for the selection border of edges. Use * 'none' for no color. Default is #00FF00. * @default #00FF00 */ static EDGE_SELECTION_COLOR: string; /** * Defines the color to be used for the selection border of vertices. Use * 'none' for no color. Default is #00FF00. * @default #00FF00 */ static VERTEX_SELECTION_COLOR: string; /** * Defines the strokewidth to be used for vertex selections. * Default is 1. * @default 1 */ static VERTEX_SELECTION_STROKEWIDTH: number; /** * Defines the strokewidth to be used for edge selections. * Default is 1. * @default 1 */ static EDGE_SELECTION_STROKEWIDTH: number; /** * Defines the dashed state to be used for the vertex selection * border. Default is true. */ static VERTEX_SELECTION_DASHED: true; /** * Defines the dashed state to be used for the edge selection * border. Default is true. */ static EDGE_SELECTION_DASHED: true; /** * Defines the color to be used for the guidelines in mxGraphHandler. * Default is #FF0000. * @default #FF0000 */ static GUIDE_COLOR: string; /** * Defines the strokewidth to be used for the guidelines in mxGraphHandler. * Default is 1. * @default 1 */ static GUIDE_STROKEWIDTH: number; /** * Defines the color to be used for the outline rectangle * border. Use 'none' for no color. Default is #0099FF. * @default #0099FF */ static OUTLINE_COLOR: string; /** * Defines the strokewidth to be used for the outline rectangle * stroke width. Default is 3. */ static OUTLINE_STROKEWIDTH: number; /** * Defines the default size for handles. Default is 6. * @default 6 */ static HANDLE_SIZE: number; /** * Defines the default size for label handles. Default is 4. * @default 4 */ static LABEL_HANDLE_SIZE: number; /** * Defines the color to be used for the handle fill color. Use 'none' for * no color. Default is #00FF00 (green). * @default #00FF00 */ static HANDLE_FILLCOLOR: string; /** * Defines the color to be used for the handle stroke color. Use 'none' for * no color. Default is black. */ static HANDLE_STROKECOLOR: 'black'; /** * Defines the color to be used for the label handle fill color. Use 'none' * for no color. Default is yellow. */ static LABEL_HANDLE_FILLCOLOR: 'yellow'; /** * Defines the color to be used for the connect handle fill color. Use * 'none' for no color. Default is #0000FF (blue). * @default #0000FF */ static CONNECT_HANDLE_FILLCOLOR: string; /** * Defines the color to be used for the locked handle fill color. Use * 'none' for no color. Default is #FF0000 (red). * @default #FF0000 */ static LOCKED_HANDLE_FILLCOLOR: string; /** * Defines the color to be used for the outline sizer fill color. Use * 'none' for no color. Default is #00FFFF. * @default #00FFFF */ static OUTLINE_HANDLE_FILLCOLOR: string; /** * Defines the color to be used for the outline sizer stroke color. Use * 'none' for no color. Default is #0033FF. * @default #0033FF */ static OUTLINE_HANDLE_STROKECOLOR: string; /** * Defines the default family for all fonts. Default is Arial,Helvetica. * @default 'Arial,Helvetica' */ static DEFAULT_FONTFAMILY: string; /** * Defines the default size (in px). Default is 11. * @default 11 */ static DEFAULT_FONTSIZE: number; /** * Defines the default value for the 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. */ static DEFAULT_TEXT_DIRECTION: ''; /** * Defines the default line height for text labels. Default is 1.2. * @default 1.2 */ static LINE_HEIGHT: number; /** * Defines the CSS value for the word-wrap property. Default is "normal". * Change this to "break-word" to allow long words to be able to be broken * and wrap onto the next line. */ static WORD_WRAP: 'normal'; /** * Specifies if absolute line heights should be used (px) in CSS. Default * is false. Set this to true for backwards compatibility. */ static ABSOLUTE_LINE_HEIGHT: false; /** * Defines the default style for all fonts. Default is 0. This can be set * to any combination of font styles as follows. * * (code) * mxConstants.DEFAULT_FONTSTYLE = mxConstants.FONT_BOLD | mxConstants.FONT_ITALIC; * (end) * @default 0 */ static DEFAULT_FONTSTYLE: number; /** * Defines the default start size for swimlanes. Default is 40. * @default 40 */ static DEFAULT_STARTSIZE: number; /** * Defines the default size for all markers. Default is 6. * @default 6 */ static DEFAULT_MARKERSIZE: number; /** * Defines the default width and height for images used in the * label shape. Default is 24. * @default 24 */ static DEFAULT_IMAGESIZE: number; /** * Defines the length of the horizontal segment of an Entity Relation. * This can be overridden using style. * Default is 30. */ static ENTITY_SEGMENT: number; /** * Defines the rounding factor for rounded rectangles in percent between * 0 and 1. Values should be smaller than 0.5. Default is 0.15. * @default 0.15 */ static RECTANGLE_ROUNDING_FACTOR: number; /** * Defines the size of the arcs for rounded edges. Default is 20. * @default 20 */ static LINE_ARCSIZE: number; /** * Defines the spacing between the arrow shape and its terminals. Default is 0. * @default 0 */ static ARROW_SPACING: number; /** * Defines the width of the arrow shape. Default is 30. * @default 30 */ static ARROW_WIDTH: number; /** * Defines the size of the arrowhead in the arrow shape. Default is 30. * @default 30 */ static ARROW_SIZE: number; /** * Defines the rectangle for the A4 portrait page format. The dimensions * of this page format are 826x1169 pixels. */ static PAGE_FORMAT_A4_PORTRAIT: mxRectangle; /** * Defines the rectangle for the A4 portrait page format. The dimensions * of this page format are 826x1169 pixels. */ static PAGE_FORMAT_A4_LANDSCAPE: mxRectangle; /** * Defines the rectangle for the Letter portrait page format. The * dimensions of this page format are 850x1100 pixels. */ static PAGE_FORMAT_LETTER_PORTRAIT: mxRectangle; /** * Defines the rectangle for the Letter portrait page format. The dimensions * of this page format are 850x1100 pixels. */ static PAGE_FORMAT_LETTER_LANDSCAPE: mxRectangle; /** * Defines the value for none. Default is "none". */ static NONE: 'none'; /** * 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 . Alternatively, the constants in this * class that start with "PERIMETER_" may be used to access * perimeter styles in . Value is "perimeter". */ static STYLE_PERIMETER: 'perimeter'; /** * 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. * Value is "sourcePort". */ static 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. This allows for graphically * connecting to a cell while keeping the actual terminal of the edge. * Value is "targetPort". */ static STYLE_TARGET_PORT: 'targetPort'; /** * Defines the direction(s) that edges are allowed to connect to cells in. * Possible values are "DIRECTION_NORTH, DIRECTION_SOUTH, * DIRECTION_EAST" and "DIRECTION_WEST". Value is * "portConstraint". */ static STYLE_PORT_CONSTRAINT: 'portConstraint'; /** * 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". */ static STYLE_PORT_CONSTRAINT_ROTATION: 'portConstraintRotation'; /** * Defines the direction(s) that edges are allowed to connect to sources in. * Possible values are "DIRECTION_NORTH, DIRECTION_SOUTH, DIRECTION_EAST" * and "DIRECTION_WEST". Value is "sourcePortConstraint". */ static STYLE_SOURCE_PORT_CONSTRAINT: 'sourcePortConstraint'; /** * Defines the direction(s) that edges are allowed to connect to targets in. * Possible values are "DIRECTION_NORTH, DIRECTION_SOUTH, DIRECTION_EAST" * and "DIRECTION_WEST". Value is "targetPortConstraint". */ static STYLE_TARGET_PORT_CONSTRAINT: 'targetPortConstraint'; /** * Defines the key for the opacity style. The type of the value is * numeric and the possible range is 0-100. Value is "opacity". */ static STYLE_OPACITY: 'opacity'; /** * Defines the key for the fill opacity style. The type of the value is * numeric and the possible range is 0-100. Value is "fillOpacity". */ static STYLE_FILL_OPACITY: 'fillOpacity'; /** * Defines the key for the stroke opacity style. The type of the value is * numeric and the possible range is 0-100. Value is "strokeOpacity". */ static STYLE_STROKE_OPACITY: 'strokeOpacity'; /** * Defines the key for the text opacity style. The type of the value is * numeric and the possible range is 0-100. Value is "textOpacity". */ static STYLE_TEXT_OPACITY: 'textOpacity'; /** * 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 . * 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. */ static STYLE_TEXT_DIRECTION: 'textDirection'; /** * 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 . 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". */ static 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. Default is false. This is * used in , which also returns true if the edgeStyle * of the edge is an elbow or entity. Value is "orthogonal". */ static STYLE_ORTHOGONAL: 'orthogonal'; /** * Defines the key for the horizontal relative coordinate connection point * of an edge with its source terminal. Value is "exitX". */ static STYLE_EXIT_X: 'exitX'; /** * Defines the key for the vertical relative coordinate connection point * of an edge with its source terminal. Value is "exitY". */ static STYLE_EXIT_Y: 'exitY'; /** * 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). Value is "exitPerimeter". */ static STYLE_EXIT_PERIMETER: 'exitPerimeter'; /** * Defines the key for the horizontal relative coordinate connection point * of an edge with its target terminal. Value is "entryX". */ static STYLE_ENTRY_X: 'entryX'; /** * Defines the key for the vertical relative coordinate connection point * of an edge with its target terminal. Value is "entryY". */ static STYLE_ENTRY_Y: 'entryY'; /** * 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). Value is "entryPerimeter". */ static STYLE_ENTRY_PERIMETER: 'entryPerimeter'; /** * 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 . Value is "whiteSpace". */ static STYLE_WHITE_SPACE: 'whiteSpace'; /** * Defines the key for the rotation style. The type of the value is * numeric and the possible range is 0-360. Value is "rotation". */ static STYLE_ROTATION: 'rotation'; /** * Defines the key for the fill 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. Value is "fillColor". */ static STYLE_FILLCOLOR: 'fillColor'; /** * Specifies if pointer events should be fired on transparent backgrounds. * This style is currently only supported in . 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. */ static STYLE_POINTER_EVENTS: 'pointerEvents'; /** * Defines the key for the fill color of the swimlane background. Possible * values are all HTML color names or HEX codes. Default is no background. * Value is "swimlaneFillColor". */ static STYLE_SWIMLANE_FILLCOLOR: 'swimlaneFillColor'; /** * Defines the key for the margin between the ellipses in the double ellipse shape. * Possible values are all positive numbers. Value is "margin". */ static STYLE_MARGIN: 'margin'; /** * 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". */ static STYLE_GRADIENTCOLOR: 'gradientColor'; /** * Defines the key for the gradient direction. Possible values are * , , and * . Default is . Generally, and by * default in mxGraph, gradient painting is done from the value of * to the value of . Taking the * example of , this means color at the * bottom of paint pattern and at top, with a * gradient in-between. Value is "gradientDirection". */ static STYLE_GRADIENT_DIRECTION: 'gradientDirection'; /** * 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". */ static STYLE_STROKECOLOR: 'strokeColor'; /** * Defines the key for the separatorColor style. Possible values are all * HTML color names or HEX codes. This style is only used for * shapes. Value is "separatorColor". */ static STYLE_SEPARATORCOLOR: 'separatorColor'; /** * 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". */ static STYLE_STROKEWIDTH: 'strokeWidth'; /** * Defines the key for the align style. Possible values are ; * and . This value defines how the lines of * the label are horizontally aligned. mean label text lines * are aligned to left of the label bounds, to the right of * the label bounds and 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 * . Value is "align". */ static STYLE_ALIGN: 'align'; /** * Defines the key for the verticalAlign style. Possible values are * , and . This value defines how * the lines of the label are vertically aligned. means the * topmost label text line is aligned against the top of the label bounds; * means the bottom-most label text line is aligned against * the bottom of the label bounds and 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 . Value is "verticalAlign". */ static STYLE_VERTICAL_ALIGN: 'verticalAlign'; /** * Defines the key for the width of the label if the label position is not * center. Value is "labelWidth". */ static STYLE_LABEL_WIDTH: 'labelWidth'; /** * Defines the key for the horizontal label position of vertices. Possible * values are , and . Default is * . The label align defines the position of the label * relative to the cell. means the entire label bounds is * placed completely just to the left of the vertex, means * adjust to the right and 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 . * Value is "labelPosition". */ static STYLE_LABEL_POSITION: 'labelPosition'; /** * Defines the key for the vertical label position of vertices. Possible * values are , and . Default is * . The label align defines the position of the label * relative to the cell. means the entire label bounds is * placed completely just on the top of the vertex, means * adjust on the bottom and 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 * . Value is "verticalLabelPosition". */ static STYLE_VERTICAL_LABEL_POSITION: 'verticalLabelPosition'; /** * 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 * . Default is 1. Value is "imageAspect". */ static STYLE_IMAGE_ASPECT: 'imageAspect'; /** * Defines the key for the align style. Possible values are ; * and . The value defines how any image in the * vertex label is aligned horizontally within the label bounds of a * shape. Value is "imageAlign". */ static STYLE_IMAGE_ALIGN: 'imageAlign'; /** * Defines the key for the verticalAlign style. Possible values are * , and . The value defines how * any image in the vertex label is aligned vertically within the label * bounds of a shape. Value is "imageVerticalAlign". */ static STYLE_IMAGE_VERTICAL_ALIGN: 'imageVerticalAlign'; /** * Defines the key for the glass style. Possible values are 0 (disabled) and * 1(enabled). The default value is 0. This is used in . Value is * "glass". */ static STYLE_GLASS: 'glass'; /** * 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". */ static STYLE_IMAGE: 'image'; /** * 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 greater than 0. * Value is "imageWidth". */ static STYLE_IMAGE_WIDTH: 'imageWidth'; /** * 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. * Value is "imageHeight". */ static STYLE_IMAGE_HEIGHT: 'imageHeight'; /** * Defines the key for the image background color. This style is only used * in . Possible values are all HTML color names or HEX * codes. Value is "imageBackground". */ static STYLE_IMAGE_BACKGROUND: 'imageBackground'; /** * Defines the key for the image border color. This style is only used in * . Possible values are all HTML color names or HEX codes. * Value is "imageBorder". */ static STYLE_IMAGE_BORDER: 'imageBorder'; /** * Defines the key for the horizontal image flip. This style is only used * in . Possible values are 0 and 1. Default is 0. Value is * "flipH". */ static STYLE_FLIPH: 'flipH'; /** * Defines the key for the vertical flip. Possible values are 0 and 1. * Default is 0. Value is "flipV". */ static STYLE_FLIPV: 'flipV'; /** * 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. Value is "noLabel". */ static STYLE_NOLABEL: 'noLabel'; /** * 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. Value is "noEdgeStyle". */ static STYLE_NOEDGESTYLE: 'noEdgeStyle'; /** * Defines the key for the label background color. Possible values are all * HTML color names or HEX codes. Value is "labelBackgroundColor". */ static STYLE_LABEL_BACKGROUNDCOLOR: 'labelBackgroundColor'; /** * Defines the key for the label border color. Possible values are all * HTML color names or HEX codes. Value is "labelBorderColor". */ static STYLE_LABEL_BORDERCOLOR: 'labelBorderColor'; /** * Defines the key for the label padding, ie. the space between the label * border and the label. Value is "labelPadding". */ static STYLE_LABEL_PADDING: 'labelPadding'; /** * Defines the key for the indicator shape used within an . * Possible values are all SHAPE_* constants or the names of any new * shapes. The indicatorShape has precedence over the indicatorImage. * Value is "indicatorShape". */ static STYLE_INDICATOR_SHAPE: 'indicatorShape'; /** * Defines the key for the indicator image used within an . * Possible values are all image URLs. The indicatorShape has * precedence over the indicatorImage. Value is "indicatorImage". */ static STYLE_INDICATOR_IMAGE: 'indicatorImage'; /** * Defines the key for the indicatorColor style. Possible values are all * HTML color names or HEX codes, as well as the special 'swimlane' keyword * to refer to the color of the parent swimlane if one exists. Value is * "indicatorColor". */ static STYLE_INDICATOR_COLOR: 'indicatorColor'; /** * Defines the key for the indicator stroke color in . * Possible values are all color codes. Value is "indicatorStrokeColor". */ static STYLE_INDICATOR_STROKECOLOR: 'indicatorStrokeColor'; /** * Defines the key for the indicatorGradientColor style. Possible values * are all HTML color names or HEX codes. This style is only supported in * shapes. Value is "indicatorGradientColor". */ static STYLE_INDICATOR_GRADIENTCOLOR: 'indicatorGradientColor'; /** * The defines the key for the spacing between the label and the * indicator in . Possible values are in pixels. Value is * "indicatorSpacing". */ static STYLE_INDICATOR_SPACING: 'indicatorSpacing'; /** * Defines the key for the indicator width. Possible values start at 0 (in * pixels). Value is "indicatorWidth". */ static STYLE_INDICATOR_WIDTH: 'indicatorWidth'; /** * Defines the key for the indicator height. Possible values start at 0 (in * pixels). Value is "indicatorHeight". */ static STYLE_INDICATOR_HEIGHT: 'indicatorHeight'; /** * Defines the key for the indicatorDirection style. The direction style is * used to specify the direction of certain shapes (eg. ). * Possible values are (default), ; * and . Value is "indicatorDirection". */ static STYLE_INDICATOR_DIRECTION: 'indicatorDirection'; /** * Defines the key for the shadow style. The type of the value is Boolean. * Value is "shadow". */ static STYLE_SHADOW: 'shadow'; /** * 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. Value is "segment". */ static STYLE_SEGMENT: 'segment'; /** * Defines the key for the end arrow marker. Possible values are all * constants with an ARROW-prefix. This is only used in . * Value is "endArrow". * * Example: * (code) * style[mxConstants.STYLE_ENDARROW] = mxConstants.ARROW_CLASSIC; * (end) */ static STYLE_ENDARROW: 'endArrow'; /** * Defines the key for the start arrow marker. Possible values are all * constants with an ARROW-prefix. This is only used in . * See . Value is "startArrow". */ static STYLE_STARTARROW: 'startArrow'; /** * Defines the key for the endSize style. The type of this value is numeric * and the value represents the size of the end marker in pixels. Value is * "endSize". */ static STYLE_ENDSIZE: 'endSize'; /** * Defines the key for the startSize style. The type of this value is * numeric 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. * Value is "startSize". */ static STYLE_STARTSIZE: 'startSize'; /** * Defines the key for the swimlaneLine style. This style specifies whether * the line between the title regio of a swimlane should be visible. Use 0 * for hidden or 1 (default) for visible. Value is "swimlaneLine". */ static STYLE_SWIMLANE_LINE: 'swimlaneLine'; /** * Defines the key for the endFill style. Use 0 for no fill or 1 (default) * for fill. (This style is only exported via .) Value is * "endFill". */ static STYLE_ENDFILL: 'endFill'; /** * Defines the key for the startFill style. Use 0 for no fill or 1 (default) * for fill. (This style is only exported via .) Value is * "startFill". */ static STYLE_STARTFILL: 'startFill'; /** * Defines the key for the dashed style. Use 0 (default) for non-dashed or 1 * for dashed. Value is "dashed". */ static STYLE_DASHED: 'dashed'; /** * Defines the key for the dashed pattern style in SVG and image exports. * The type of this value is a space separated list of numbers that specify * a custom-defined dash pattern. Dash styles are defined in terms of the * length of the dash (the drawn part of the stroke) and the length of the * space between the dashes. The lengths are relative to the line width: a * length of "1" is equal to the line width. VML ignores this style and * uses dashStyle instead as defined in the VML specification. This style * is only used in the shape. Value is "dashPattern". */ static STYLE_DASH_PATTERN: 'dashPattern'; /** * Defines the key for the fixDash style. Use 0 (default) for dash patterns * that depend on the linewidth and 1 for dash patterns that ignore the * line width. Value is "fixDash". */ static STYLE_FIX_DASH: 'fixDash'; /** * 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". */ static STYLE_ROUNDED: 'rounded'; /** * Defines the key for the curved style. The type of this value is * Boolean. It is only applicable for connector shapes. Use 0 (default) * for non-curved or 1 for curved. Value is "curved". */ static STYLE_CURVED: 'curved'; /** * 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 .) Value is "arcSize". */ static STYLE_ARCSIZE: 'arcSize'; /** * Defines the key for the absolute arc size style. This specifies if * arcSize for rectangles is abolute or relative. Possible values are 1 * and 0 (default). Value is "absoluteArcSize". */ static STYLE_ABSOLUTE_ARCSIZE: 'absoluteArcSize'; /** * 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". */ static STYLE_SOURCE_PERIMETER_SPACING: 'sourcePerimeterSpacing'; /** * 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". */ static STYLE_TARGET_PERIMETER_SPACING: 'targetPerimeterSpacing'; /** * 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". */ static STYLE_PERIMETER_SPACING: 'perimeterSpacing'; /** * 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). Value is "spacing". */ static STYLE_SPACING: 'spacing'; /** * 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). Value is "spacingTop". */ static STYLE_SPACING_TOP: 'spacingTop'; /** * 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). Value is "spacingLeft". */ static 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). Value is "spacingBottom". */ static 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). Value is "spacingRight". */ static STYLE_SPACING_RIGHT: 'spacingRight'; /** * Defines the key for the horizontal style. Possible values are * true or false. This value only applies to vertices. If the * 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". */ static STYLE_HORIZONTAL: 'horizontal'; /** * Defines the key for the direction style. The direction style is used * to specify the direction of certain shapes (eg. ). * Possible values are (default), ; * and . Value is "direction". */ static STYLE_DIRECTION: 'direction'; /** * Defines the key for the anchorPointDirection style. The defines if the * direction style should be taken into account when computing the fixed * point location for connected edges. Default is 1 (yes). Set this to 0 * to ignore the direction style for fixed connection points. Value is * "anchorPointDirection". */ static STYLE_ANCHOR_POINT_DIRECTION: 'anchorPointDirection'; /** * Defines the key for the elbow style. Possible values are * and . Default is . * 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". */ static STYLE_ELBOW: 'elbow'; /** * Defines the key for the fontColor style. Possible values are all HTML * color names or HEX codes. Value is "fontColor". */ static STYLE_FONTCOLOR: 'fontColor'; /** * 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. * Value is fontFamily. */ static STYLE_FONTFAMILY: 'fontFamily'; /** * Defines the key for the fontSize style (in px). The type of the value * is int. Value is "fontSize". */ static STYLE_FONTSIZE: 'fontSize'; /** * Defines the key for the fontStyle style. Values may be any logical AND * (sum) of , and . * The type of the value is int. Value is "fontStyle". */ static STYLE_FONTSTYLE: 'fontStyle'; /** * Defines the key for the aspect style. Possible values are empty or fixed. * If fixed is used then the aspect ratio of the cell will be maintained * when resizing. Default is empty. Value is "aspect". */ static STYLE_ASPECT: 'aspect'; /** * 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 . This is normally combined with * to disable manual sizing. Value is "autosize". */ static STYLE_AUTOSIZE: 'autosize'; /** * 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 * . Value is "foldable". */ static STYLE_FOLDABLE: 'foldable'; /** * 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 . Value is "editable". */ static STYLE_EDITABLE: 'editable'; /** * Defines the key for the backgroundOutline style. This specifies if a * only the background of a cell should be painted when it is highlighted. * Possible values are 0 or 1. Default is 0. Value is "backgroundOutline". */ static STYLE_BACKGROUND_OUTLINE: 'backgroundOutline'; /** * 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 . Value is "bendable". */ static STYLE_BENDABLE: 'bendable'; /** * 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 * . Value is "movable". */ static STYLE_MOVABLE: 'movable'; /** * 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 * . Value is "resizable". */ static STYLE_RESIZABLE: 'resizable'; /** * Defines the key for the resizeWidth style. This specifies if a cell's * width is resized 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". */ static STYLE_RESIZE_WIDTH: '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". */ static STYLE_RESIZE_HEIGHT: 'resizeHeight'; /** * 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 * . Value is "rotatable". */ static STYLE_ROTATABLE: 'rotatable'; /** * 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 * . Value is "cloneable". */ static STYLE_CLONEABLE: 'cloneable'; /** * 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 * . Value is "deletable". */ static STYLE_DELETABLE: 'deletable'; /** * Defines the key for the shape. Possible values are all constants with * a SHAPE-prefix or any newly defined shape names. Value is "shape". */ static STYLE_SHAPE: 'shape'; /** * Defines the key for the edge style. Possible values are the functions * defined in . Value is "edgeStyle". */ static STYLE_EDGE: 'edgeStyle'; /** * Defines the key for the jetty size in . * Default is 10. Possible values are all numeric values or "auto". * Value is "jettySize". */ static STYLE_JETTY_SIZE: 'jettySize'; /** * Defines the key for the jetty size in . * Default is 10. Possible values are numeric values or "auto". This has * precedence over . Value is "sourceJettySize". */ static STYLE_SOURCE_JETTY_SIZE: 'sourceJettySize'; /** * Defines the key for the jetty size in . * Default is 10. Possible values are numeric values or "auto". This has * precedence over . Value is "targetJettySize". */ static STYLE_TARGET_JETTY_SIZE: 'targetJettySize'; /** * Defines the key for the loop style. Possible values are the functions * defined in . Value is "loopStyle". */ static STYLE_LOOP: 'loopStyle'; /** * 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 but will be replaced with a dedicated * orthogonal loop router in later releases. */ static STYLE_ORTHOGONAL_LOOP: 'orthogonalLoop'; /** * 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 numeric. Value is * "routingCenterX". */ static STYLE_ROUTING_CENTER_X: 'routingCenterX'; /** * 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 numeric. Value is * "routingCenterY". */ static STYLE_ROUTING_CENTER_Y: 'routingCenterY'; /** * Constant for bold fonts. Default is 1. * @default 1 */ static FONT_BOLD: number; /** * Constant for italic fonts. Default is 2. * @default 2 */ static FONT_ITALIC: number; /** * Constant for underlined fonts. Default is 4. * @default 4 */ static FONT_UNDERLINE: number; /** * Constant for strikthrough fonts. Default is 8. * @since mxgraph 4.1.0 * @default 8 */ static FONT_STRIKETHROUGH: number; /** * Name under which is registered in . * Default is rectangle. */ static SHAPE_RECTANGLE: 'rectangle'; /** * Name under which is registered in . * Default is ellipse. */ static SHAPE_ELLIPSE: 'ellipse'; /** * Name under which is registered in . * Default is doubleEllipse. */ static SHAPE_DOUBLE_ELLIPSE: 'doubleEllipse'; /** * Name under which is registered in . * Default is rhombus. */ static SHAPE_RHOMBUS: 'rhombus'; /** * Name under which is registered in . * Default is line. */ static SHAPE_LINE: 'line'; /** * Name under which is registered in . * Default is image. */ static SHAPE_IMAGE: 'image'; /** * Name under which is registered in . * Default is arrow. */ static SHAPE_ARROW: 'arrow'; /** * Name under which is registered in . * Default is arrowConnector. */ static SHAPE_ARROW_CONNECTOR: 'arrowConnector'; /** * Name under which is registered in . * Default is label. */ static SHAPE_LABEL: 'label'; /** * Name under which is registered in . * Default is cylinder. */ static SHAPE_CYLINDER: 'cylinder'; /** * Name under which is registered in . * Default is swimlane. */ static SHAPE_SWIMLANE: 'swimlane'; /** * Name under which is registered in . * Default is connector. */ static SHAPE_CONNECTOR: 'connector'; /** * Name under which is registered in . * Default is actor. */ static SHAPE_ACTOR: 'actor'; /** * Name under which is registered in . * Default is cloud. */ static SHAPE_CLOUD: 'cloud'; /** * Name under which is registered in . * Default is triangle. */ static SHAPE_TRIANGLE: 'triangle'; /** * Name under which is registered in . * Default is hexagon. */ static SHAPE_HEXAGON: 'hexagon'; /** * Constant for classic arrow markers. */ static ARROW_CLASSIC: 'classic'; /** * Constant for thin classic arrow markers. */ static ARROW_CLASSIC_THIN: 'classicThin'; /** * Constant for block arrow markers. */ static ARROW_BLOCK: 'block'; /** * Constant for thin block arrow markers. */ static ARROW_BLOCK_THIN: 'blockThin'; /** * Constant for open arrow markers. */ static ARROW_OPEN: 'open'; /** * Constant for thin open arrow markers. */ static ARROW_OPEN_THIN: 'openThin'; /** * Constant for oval arrow markers. */ static ARROW_OVAL: 'oval'; /** * Constant for diamond arrow markers. */ static ARROW_DIAMOND: 'diamond'; /** * Constant for thin diamond arrow markers. */ static ARROW_DIAMOND_THIN: 'diamondThin'; /** * Constant for left horizontal alignment. Default is left. */ static ALIGN_LEFT: 'left'; /** * Constant for center horizontal alignment. Default is center. */ static ALIGN_CENTER: 'center'; /** * Constant for right horizontal alignment. Default is right. */ static ALIGN_RIGHT: 'right'; /** * Constant for top vertical alignment. Default is top. */ static ALIGN_TOP: 'top'; /** * Constant for middle vertical alignment. Default is middle. */ static ALIGN_MIDDLE: 'middle'; /** * Constant for bottom vertical alignment. Default is bottom. */ static ALIGN_BOTTOM: 'bottom'; /** * Constant for direction north. Default is north. */ static DIRECTION_NORTH: 'north'; /** * Constant for direction south. Default is south. */ static DIRECTION_SOUTH: 'south'; /** * Constant for direction east. Default is east. */ static DIRECTION_EAST: 'east'; /** * Constant for direction west. Default is west. */ static DIRECTION_WEST: 'west'; /** * Constant for text direction default. Default is an empty string. Use * this value to use the default text direction of the operating system. */ static TEXT_DIRECTION_DEFAULT: ''; /** * Constant for text direction automatic. Default is auto. Use this value * to find the direction for a given text with . */ static TEXT_DIRECTION_AUTO: 'auto'; /** * Constant for text direction left to right. Default is ltr. Use this * value for left to right text direction. */ static TEXT_DIRECTION_LTR: 'ltr'; /** * Constant for text direction right to left. Default is rtl. Use this * value for right to left text direction. */ static TEXT_DIRECTION_RTL: 'rtl'; /** * Constant for no direction. * @default 0 */ static DIRECTION_MASK_NONE: number; /** * Bitwise mask for west direction. * @default 1 */ static DIRECTION_MASK_WEST: number; /** * Bitwise mask for north direction. * @default 2 */ static DIRECTION_MASK_NORTH: number; /** * Bitwise mask for south direction. * @default 4 */ static DIRECTION_MASK_SOUTH: number; /** * Bitwise mask for east direction. * @default 8 */ static DIRECTION_MASK_EAST: number; /** * Bitwise mask for all directions. * @default 15 */ static DIRECTION_MASK_ALL: number; /** * Constant for elbow vertical. Default is horizontal. */ static ELBOW_VERTICAL: 'vertical'; /** * Constant for elbow horizontal. Default is horizontal. */ static ELBOW_HORIZONTAL: 'horizontal'; /** * Name of the elbow edge style. Can be used as a string value * for the STYLE_EDGE style. */ static EDGESTYLE_ELBOW: 'elbowEdgeStyle'; /** * Name of the entity relation edge style. Can be used as a string value * for the STYLE_EDGE style. */ static EDGESTYLE_ENTITY_RELATION: 'entityRelationEdgeStyle'; /** * Name of the loop edge style. Can be used as a string value * for the STYLE_EDGE style. */ static EDGESTYLE_LOOP: 'loopEdgeStyle'; /** * Name of the side to side edge style. Can be used as a string value * for the STYLE_EDGE style. */ static EDGESTYLE_SIDETOSIDE: 'sideToSideEdgeStyle'; /** * Name of the top to bottom edge style. Can be used as a string value * for the STYLE_EDGE style. */ static EDGESTYLE_TOPTOBOTTOM: 'topToBottomEdgeStyle'; /** * Name of the generic orthogonal edge style. Can be used as a string value * for the STYLE_EDGE style. */ static EDGESTYLE_ORTHOGONAL: 'orthogonalEdgeStyle'; /** * Name of the generic segment edge style. Can be used as a string value * for the STYLE_EDGE style. */ static EDGESTYLE_SEGMENT: 'segmentEdgeStyle'; /** * Name of the ellipse perimeter. Can be used as a string value * for the STYLE_PERIMETER style. */ static PERIMETER_ELLIPSE: 'ellipsePerimeter'; /** * Name of the rectangle perimeter. Can be used as a string value * for the STYLE_PERIMETER style. */ static PERIMETER_RECTANGLE: 'rectanglePerimeter'; /** * Name of the rhombus perimeter. Can be used as a string value * for the STYLE_PERIMETER style. */ static PERIMETER_RHOMBUS: 'rhombusPerimeter'; /** * Name of the hexagon perimeter. Can be used as a string value * for the STYLE_PERIMETER style. */ static PERIMETER_HEXAGON: 'hexagonPerimeter'; /** * Name of the triangle perimeter. Can be used as a string value * for the STYLE_PERIMETER style. */ static PERIMETER_TRIANGLE: 'trianglePerimeter'; } declare type mxDialectConstants = 'svg' | 'vml' | 'mixedHtml' | 'preferHtml' | 'strictHtml';