From e409e12a8d150b64ce28416845ccbc4655c4f82c Mon Sep 17 00:00:00 2001 From: Gaudenz Alder Date: Wed, 6 Apr 2016 10:10:17 +0200 Subject: [PATCH] 3.5.1.0 release --- ChangeLog | 20 + .../handler/mxEdgeSegmentHandler-js.html | 2 +- .../handler/mxSelectionCellsHandler-js.html | 18 +- docs/js-api/files/mxClient-js.html | 2 +- .../files/shape/mxArrowConnector-js.html | 8 +- docs/js-api/files/shape/mxShape-js.html | 44 +- docs/js-api/files/shape/mxText-js.html | 20 +- .../files/util/mxAbstractCanvas2D-js.html | 14 +- docs/js-api/files/util/mxConstants-js.html | 8 +- docs/js-api/files/util/mxUtils-js.html | 56 +- docs/js-api/files/util/mxXmlCanvas2D-js.html | 24 +- docs/js-api/files/view/mxCellRenderer-js.html | 76 +- docs/js-api/files/view/mxGraph-js.html | 4 +- .../files/view/mxGraphSelectionModel-js.html | 2 +- docs/js-api/index/Functions10.html | 8 +- docs/js-api/index/Functions11.html | 4 +- docs/js-api/index/Functions12.html | 6 +- docs/js-api/index/Functions13.html | 4 +- docs/js-api/index/Functions14.html | 4 +- docs/js-api/index/Functions15.html | 4 +- docs/js-api/index/Functions16.html | 4 +- docs/js-api/index/Functions17.html | 4 +- docs/js-api/index/Functions18.html | 4 +- docs/js-api/index/Functions19.html | 8 +- docs/js-api/index/Functions3.html | 2 +- docs/js-api/index/Functions5.html | 2 +- docs/js-api/index/Functions9.html | 4 +- docs/js-api/index/General10.html | 8 +- docs/js-api/index/General11.html | 4 +- docs/js-api/index/General12.html | 6 +- docs/js-api/index/General13.html | 4 +- docs/js-api/index/General14.html | 4 +- docs/js-api/index/General15.html | 4 +- docs/js-api/index/General16.html | 4 +- docs/js-api/index/General17.html | 4 +- docs/js-api/index/General18.html | 4 +- docs/js-api/index/General19.html | 4 +- docs/js-api/index/General20.html | 10 +- docs/js-api/index/General3.html | 2 +- docs/js-api/index/General5.html | 2 +- docs/js-api/index/General9.html | 4 +- docs/js-api/index/Variables12.html | 4 +- docs/js-api/index/Variables13.html | 4 +- docs/js-api/index/Variables14.html | 4 +- docs/js-api/index/Variables15.html | 10 +- docs/js-api/index/Variables16.html | 6 +- docs/js-api/javascript/searchdata.js | 100 +-- docs/js-api/search/FunctionsI.html | 2 +- docs/js-api/search/FunctionsR.html | 2 +- docs/js-api/search/FunctionsS.html | 2 +- docs/js-api/search/FunctionsU.html | 2 +- docs/js-api/search/GeneralI.html | 2 +- docs/js-api/search/GeneralR.html | 2 +- docs/js-api/search/GeneralS.html | 2 +- docs/js-api/search/GeneralU.html | 2 +- docs/js-api/search/VariablesR.html | 2 +- docs/js-api/search/VariablesS.html | 2 +- docs/manual.html | 2 +- docs/manual_javavis.html | 2 +- docs/php-api/files/canvas/mxGdCanvas-php.html | 2 +- docs/php-api/javascript/searchdata.js | 124 +-- dotnet/docs/html/annotated.html | 2 +- ...m_1_1mxgraph_1_1mxBasicCanvas-members.html | 2 +- .../classcom_1_1mxgraph_1_1mxBasicCanvas.html | 2 +- ...classcom_1_1mxgraph_1_1mxCell-members.html | 2 +- .../html/classcom_1_1mxgraph_1_1mxCell.html | 2 +- ...com_1_1mxgraph_1_1mxCellCodec-members.html | 2 +- .../classcom_1_1mxgraph_1_1mxCellCodec.html | 2 +- ...scom_1_1mxgraph_1_1mxCellPath-members.html | 2 +- .../classcom_1_1mxgraph_1_1mxCellPath.html | 2 +- ..._1_1mxgraph_1_1mxCellRenderer-members.html | 2 +- ...classcom_1_1mxgraph_1_1mxCellRenderer.html | 2 +- ...CellRenderer_1_1CanvasFactory-members.html | 2 +- ...ph_1_1mxCellRenderer_1_1CanvasFactory.html | 2 +- ...enderer_1_1ImageCanvasFactory-members.html | 2 +- ...1mxCellRenderer_1_1ImageCanvasFactory.html | 2 +- ...com_1_1mxgraph_1_1mxCellState-members.html | 2 +- .../classcom_1_1mxgraph_1_1mxCellState.html | 2 +- ...lasscom_1_1mxgraph_1_1mxCodec-members.html | 2 +- .../html/classcom_1_1mxgraph_1_1mxCodec.html | 2 +- ...1_1mxgraph_1_1mxCodecRegistry-members.html | 2 +- ...lasscom_1_1mxgraph_1_1mxCodecRegistry.html | 2 +- ...aph_1_1mxConnectionConstraint-members.html | 2 +- ..._1_1mxgraph_1_1mxConnectionConstraint.html | 2 +- ...com_1_1mxgraph_1_1mxConstants-members.html | 114 +-- .../classcom_1_1mxgraph_1_1mxConstants.html | 54 +- ...com_1_1mxgraph_1_1mxEdgeStyle-members.html | 2 +- .../classcom_1_1mxgraph_1_1mxEdgeStyle.html | 2 +- ...xgraph_1_1mxFastOrganicLayout-members.html | 2 +- ...com_1_1mxgraph_1_1mxFastOrganicLayout.html | 2 +- ...com_1_1mxgraph_1_1mxGdiCanvas-members.html | 2 +- .../classcom_1_1mxgraph_1_1mxGdiCanvas.html | 2 +- ...m_1_1mxgraph_1_1mxGdiCanvas2D-members.html | 83 +- .../classcom_1_1mxgraph_1_1mxGdiCanvas2D.html | 114 ++- ...1mxGdiCanvas2D_1_1CanvasState-members.html | 2 +- ...graph_1_1mxGdiCanvas2D_1_1CanvasState.html | 2 +- ...scom_1_1mxgraph_1_1mxGeometry-members.html | 2 +- .../classcom_1_1mxgraph_1_1mxGeometry.html | 2 +- ...lasscom_1_1mxgraph_1_1mxGraph-members.html | 2 +- .../html/classcom_1_1mxgraph_1_1mxGraph.html | 10 +- ...om_1_1mxgraph_1_1mxGraphModel-members.html | 2 +- .../classcom_1_1mxgraph_1_1mxGraphModel.html | 2 +- ...com_1_1mxgraph_1_1mxGraphView-members.html | 2 +- .../classcom_1_1mxgraph_1_1mxGraphView.html | 2 +- ...aph_1_1mxGraphViewImageReader-members.html | 2 +- ..._1_1mxgraph_1_1mxGraphViewImageReader.html | 2 +- ...1mxgraph_1_1mxGraphViewReader-members.html | 2 +- ...sscom_1_1mxgraph_1_1mxGraphViewReader.html | 2 +- ...m_1_1mxgraph_1_1mxImageBundle-members.html | 2 +- .../classcom_1_1mxgraph_1_1mxImageBundle.html | 2 +- ...m_1_1mxgraph_1_1mxImageCanvas-members.html | 2 +- .../classcom_1_1mxgraph_1_1mxImageCanvas.html | 2 +- ...om_1_1mxgraph_1_1mxModelCodec-members.html | 2 +- .../classcom_1_1mxgraph_1_1mxModelCodec.html | 2 +- ...m_1_1mxgraph_1_1mxObjectCodec-members.html | 2 +- .../classcom_1_1mxgraph_1_1mxObjectCodec.html | 2 +- ...com_1_1mxgraph_1_1mxPerimeter-members.html | 2 +- .../classcom_1_1mxgraph_1_1mxPerimeter.html | 2 +- ...lasscom_1_1mxgraph_1_1mxPoint-members.html | 2 +- .../html/classcom_1_1mxgraph_1_1mxPoint.html | 2 +- ...com_1_1mxgraph_1_1mxRectangle-members.html | 2 +- .../classcom_1_1mxgraph_1_1mxRectangle.html | 2 +- ...mxgraph_1_1mxSaxOutputHandler-members.html | 2 +- ...scom_1_1mxgraph_1_1mxSaxOutputHandler.html | 2 +- ...sscom_1_1mxgraph_1_1mxStencil-members.html | 2 +- .../classcom_1_1mxgraph_1_1mxStencil.html | 2 +- ...1mxgraph_1_1mxStencilRegistry-members.html | 2 +- ...sscom_1_1mxgraph_1_1mxStencilRegistry.html | 2 +- ...1_1mxgraph_1_1mxStyleRegistry-members.html | 2 +- ...lasscom_1_1mxgraph_1_1mxStyleRegistry.html | 2 +- ...om_1_1mxgraph_1_1mxStylesheet-members.html | 2 +- .../classcom_1_1mxgraph_1_1mxStylesheet.html | 2 +- ...1mxgraph_1_1mxStylesheetCodec-members.html | 2 +- ...sscom_1_1mxgraph_1_1mxStylesheetCodec.html | 2 +- ...lasscom_1_1mxgraph_1_1mxUtils-members.html | 2 +- .../html/classcom_1_1mxgraph_1_1mxUtils.html | 2 +- dotnet/docs/html/classes.html | 2 +- .../dir_313caf1132e152dd9b58bea13a4052ca.html | 2 +- .../dir_5dd65160827af56e6353642206b80129.html | 2 +- .../dir_68267d1309a1af8e8297ef4c3efbcdba.html | 2 +- .../dir_af89b2be539cdaaafaad341d1e56977e.html | 2 +- .../dir_b39b5091e8d1d2be4b7fc59d57749634.html | 2 +- .../dir_c184e51c84f2c3f0345bbc8a0d75d3e1.html | 2 +- .../dir_eb63608ab2ddc08e14808990907a274d.html | 2 +- .../dir_f2b3bec0b800804983017014eef9ca7d.html | 2 +- dotnet/docs/html/functions.html | 2 +- dotnet/docs/html/functions_b.html | 2 +- dotnet/docs/html/functions_c.html | 2 +- dotnet/docs/html/functions_d.html | 2 +- dotnet/docs/html/functions_e.html | 2 +- dotnet/docs/html/functions_evnt.html | 2 +- dotnet/docs/html/functions_f.html | 6 +- dotnet/docs/html/functions_func.html | 2 +- dotnet/docs/html/functions_func_b.html | 2 +- dotnet/docs/html/functions_func_c.html | 2 +- dotnet/docs/html/functions_func_d.html | 2 +- dotnet/docs/html/functions_func_e.html | 2 +- dotnet/docs/html/functions_func_f.html | 2 +- dotnet/docs/html/functions_func_g.html | 2 +- dotnet/docs/html/functions_func_h.html | 2 +- dotnet/docs/html/functions_func_i.html | 2 +- dotnet/docs/html/functions_func_l.html | 2 +- dotnet/docs/html/functions_func_m.html | 2 +- dotnet/docs/html/functions_func_p.html | 2 +- dotnet/docs/html/functions_func_q.html | 2 +- dotnet/docs/html/functions_func_r.html | 2 +- dotnet/docs/html/functions_func_s.html | 2 +- dotnet/docs/html/functions_func_t.html | 6 +- dotnet/docs/html/functions_func_u.html | 2 +- dotnet/docs/html/functions_func_v.html | 2 +- dotnet/docs/html/functions_func_w.html | 2 +- dotnet/docs/html/functions_g.html | 2 +- dotnet/docs/html/functions_h.html | 2 +- dotnet/docs/html/functions_i.html | 8 +- dotnet/docs/html/functions_l.html | 8 +- dotnet/docs/html/functions_m.html | 2 +- dotnet/docs/html/functions_n.html | 2 +- dotnet/docs/html/functions_o.html | 14 +- dotnet/docs/html/functions_p.html | 2 +- dotnet/docs/html/functions_prop.html | 10 +- dotnet/docs/html/functions_q.html | 2 +- dotnet/docs/html/functions_r.html | 8 +- dotnet/docs/html/functions_s.html | 32 +- dotnet/docs/html/functions_t.html | 38 +- dotnet/docs/html/functions_u.html | 2 +- dotnet/docs/html/functions_v.html | 2 +- dotnet/docs/html/functions_vars.html | 2 +- dotnet/docs/html/functions_vars_b.html | 2 +- dotnet/docs/html/functions_vars_c.html | 2 +- dotnet/docs/html/functions_vars_d.html | 2 +- dotnet/docs/html/functions_vars_e.html | 2 +- dotnet/docs/html/functions_vars_f.html | 2 +- dotnet/docs/html/functions_vars_g.html | 2 +- dotnet/docs/html/functions_vars_h.html | 2 +- dotnet/docs/html/functions_vars_i.html | 2 +- dotnet/docs/html/functions_vars_l.html | 2 +- dotnet/docs/html/functions_vars_m.html | 2 +- dotnet/docs/html/functions_vars_n.html | 2 +- dotnet/docs/html/functions_vars_o.html | 2 +- dotnet/docs/html/functions_vars_p.html | 2 +- dotnet/docs/html/functions_vars_r.html | 2 +- dotnet/docs/html/functions_vars_s.html | 8 +- dotnet/docs/html/functions_vars_t.html | 2 +- dotnet/docs/html/functions_vars_u.html | 2 +- dotnet/docs/html/functions_vars_v.html | 2 +- dotnet/docs/html/functions_vars_w.html | 2 +- dotnet/docs/html/functions_vars_x.html | 2 +- dotnet/docs/html/functions_vars_y.html | 2 +- dotnet/docs/html/functions_w.html | 2 +- dotnet/docs/html/functions_x.html | 2 +- dotnet/docs/html/functions_y.html | 2 +- dotnet/docs/html/hierarchy.html | 2 +- dotnet/docs/html/index.html | 2 +- ...cecom_1_1mxgraph_1_1mxICanvas-members.html | 2 +- .../interfacecom_1_1mxgraph_1_1mxICanvas.html | 2 +- ...com_1_1mxgraph_1_1mxICanvas2D-members.html | 60 +- ...nterfacecom_1_1mxgraph_1_1mxICanvas2D.html | 70 +- ...facecom_1_1mxgraph_1_1mxICell-members.html | 2 +- .../interfacecom_1_1mxgraph_1_1mxICell.html | 2 +- ..._1_1mxgraph_1_1mxIGraphLayout-members.html | 2 +- ...rfacecom_1_1mxgraph_1_1mxIGraphLayout.html | 2 +- ...m_1_1mxgraph_1_1mxIGraphModel-members.html | 2 +- ...erfacecom_1_1mxgraph_1_1mxIGraphModel.html | 2 +- dotnet/docs/html/namespacecom.html | 2 +- dotnet/docs/html/namespacecom_1_1mxgraph.html | 2 +- dotnet/docs/html/namespacemembers.html | 2 +- dotnet/docs/html/namespacemembers_func.html | 2 +- dotnet/docs/html/namespaces.html | 2 +- dotnet/src/canvas/mxGdiCanvas2D.cs | 61 +- dotnet/src/canvas/mxICanvas2D.cs | 585 +++++++------- dotnet/src/reader/mxSaxOutputHandler.cs | 747 +++++++++--------- dotnet/src/utils/mxConstants.cs | 10 + dotnet/src/view/mxGraph.cs | 4 +- index.html | 6 +- java/build.xml | 2 +- java/docs/allclasses-frame.html | 6 +- java/docs/allclasses-noframe.html | 6 +- .../mxgraph/analysis/StructuralException.html | 12 +- .../class-use/StructuralException.html | 12 +- .../analysis/class-use/mxAnalysisGraph.html | 12 +- .../class-use/mxConstantCostFunction.html | 12 +- .../class-use/mxDistanceCostFunction.html | 12 +- .../class-use/mxFibonacciHeap.Node.html | 12 +- .../analysis/class-use/mxFibonacciHeap.html | 12 +- .../analysis/class-use/mxGraphAnalysis.html | 12 +- .../analysis/class-use/mxGraphGenerator.html | 12 +- .../mxGraphProperties.GraphType.html | 12 +- .../analysis/class-use/mxGraphProperties.html | 12 +- .../analysis/class-use/mxGraphStructure.html | 12 +- .../analysis/class-use/mxICostFunction.html | 12 +- .../analysis/class-use/mxTraversal.html | 12 +- .../analysis/class-use/mxUnionFind.Node.html | 12 +- .../analysis/class-use/mxUnionFind.html | 12 +- .../com/mxgraph/analysis/mxAnalysisGraph.html | 12 +- .../analysis/mxConstantCostFunction.html | 12 +- .../analysis/mxDistanceCostFunction.html | 12 +- .../analysis/mxFibonacciHeap.Node.html | 12 +- .../com/mxgraph/analysis/mxFibonacciHeap.html | 12 +- .../com/mxgraph/analysis/mxGraphAnalysis.html | 12 +- .../mxgraph/analysis/mxGraphGenerator.html | 12 +- .../analysis/mxGraphProperties.GraphType.html | 12 +- .../mxgraph/analysis/mxGraphProperties.html | 12 +- .../mxgraph/analysis/mxGraphStructure.html | 12 +- .../com/mxgraph/analysis/mxICostFunction.html | 12 +- .../com/mxgraph/analysis/mxTraversal.html | 12 +- .../mxgraph/analysis/mxUnionFind.Node.html | 12 +- .../com/mxgraph/analysis/mxUnionFind.html | 12 +- .../com/mxgraph/analysis/package-frame.html | 6 +- .../com/mxgraph/analysis/package-summary.html | 12 +- .../com/mxgraph/analysis/package-tree.html | 12 +- .../com/mxgraph/analysis/package-use.html | 12 +- .../canvas/class-use/mxBasicCanvas.html | 12 +- .../canvas/class-use/mxGraphics2DCanvas.html | 12 +- .../mxGraphicsCanvas2D.CanvasState.html | 12 +- .../canvas/class-use/mxGraphicsCanvas2D.html | 12 +- .../canvas/class-use/mxHtmlCanvas.html | 12 +- .../mxgraph/canvas/class-use/mxICanvas.html | 12 +- .../mxgraph/canvas/class-use/mxICanvas2D.html | 12 +- .../canvas/class-use/mxImageCanvas.html | 12 +- .../mxgraph/canvas/class-use/mxSvgCanvas.html | 12 +- .../mxgraph/canvas/class-use/mxVmlCanvas.html | 12 +- .../com/mxgraph/canvas/mxBasicCanvas.html | 12 +- .../mxgraph/canvas/mxGraphics2DCanvas.html | 12 +- .../mxGraphicsCanvas2D.CanvasState.html | 90 ++- .../mxgraph/canvas/mxGraphicsCanvas2D.html | 110 ++- .../docs/com/mxgraph/canvas/mxHtmlCanvas.html | 12 +- java/docs/com/mxgraph/canvas/mxICanvas.html | 12 +- java/docs/com/mxgraph/canvas/mxICanvas2D.html | 76 +- .../com/mxgraph/canvas/mxImageCanvas.html | 12 +- java/docs/com/mxgraph/canvas/mxSvgCanvas.html | 12 +- java/docs/com/mxgraph/canvas/mxVmlCanvas.html | 12 +- .../com/mxgraph/canvas/package-frame.html | 6 +- .../com/mxgraph/canvas/package-summary.html | 12 +- .../docs/com/mxgraph/canvas/package-tree.html | 12 +- java/docs/com/mxgraph/canvas/package-use.html | 12 +- .../class-use/mxConstCostFunction.html | 12 +- .../class-use/mxCostFunction.html | 12 +- .../class-use/mxDoubleValCostFunction.html | 12 +- .../costfunction/mxConstCostFunction.html | 12 +- .../mxgraph/costfunction/mxCostFunction.html | 12 +- .../costfunction/mxDoubleValCostFunction.html | 12 +- .../mxgraph/costfunction/package-frame.html | 6 +- .../mxgraph/costfunction/package-summary.html | 12 +- .../mxgraph/costfunction/package-tree.html | 12 +- .../com/mxgraph/costfunction/package-use.html | 12 +- .../class-use/mxGeneratorConstFunction.html | 12 +- .../class-use/mxGeneratorFunction.html | 12 +- .../class-use/mxGeneratorRandomFunction.html | 12 +- .../mxGeneratorRandomIntFunction.html | 12 +- .../mxGeneratorConstFunction.html | 12 +- .../mxGeneratorFunction.html | 12 +- .../mxGeneratorRandomFunction.html | 12 +- .../mxGeneratorRandomIntFunction.html | 12 +- .../generatorfunction/package-frame.html | 6 +- .../generatorfunction/package-summary.html | 12 +- .../generatorfunction/package-tree.html | 12 +- .../generatorfunction/package-use.html | 12 +- .../com/mxgraph/io/class-use/mxCellCodec.html | 12 +- .../io/class-use/mxChildChangeCodec.html | 12 +- .../com/mxgraph/io/class-use/mxCodec.html | 12 +- .../mxgraph/io/class-use/mxCodecRegistry.html | 12 +- .../com/mxgraph/io/class-use/mxGdCodec.html | 12 +- .../class-use/mxGdCodec.mxGDParseState.html | 12 +- .../io/class-use/mxGenericChangeCodec.html | 12 +- .../mxgraph/io/class-use/mxModelCodec.html | 12 +- .../mxgraph/io/class-use/mxObjectCodec.html | 12 +- .../io/class-use/mxRootChangeCodec.html | 12 +- .../io/class-use/mxStylesheetCodec.html | 12 +- .../io/class-use/mxTerminalChangeCodec.html | 12 +- java/docs/com/mxgraph/io/mxCellCodec.html | 12 +- .../com/mxgraph/io/mxChildChangeCodec.html | 12 +- java/docs/com/mxgraph/io/mxCodec.html | 12 +- java/docs/com/mxgraph/io/mxCodecRegistry.html | 12 +- java/docs/com/mxgraph/io/mxGdCodec.html | 12 +- .../mxgraph/io/mxGdCodec.mxGDParseState.html | 12 +- .../com/mxgraph/io/mxGenericChangeCodec.html | 12 +- java/docs/com/mxgraph/io/mxModelCodec.html | 12 +- java/docs/com/mxgraph/io/mxObjectCodec.html | 12 +- .../com/mxgraph/io/mxRootChangeCodec.html | 12 +- .../com/mxgraph/io/mxStylesheetCodec.html | 12 +- .../com/mxgraph/io/mxTerminalChangeCodec.html | 12 +- java/docs/com/mxgraph/io/package-frame.html | 6 +- java/docs/com/mxgraph/io/package-summary.html | 12 +- java/docs/com/mxgraph/io/package-tree.html | 12 +- java/docs/com/mxgraph/io/package-use.html | 12 +- .../layout/class-use/mxCircleLayout.html | 12 +- .../mxCompactTreeLayout.Polygon.html | 12 +- .../mxCompactTreeLayout.Polyline.html | 12 +- .../mxCompactTreeLayout.TreeNode.html | 12 +- ...xCompactTreeLayout.WeightedCellSorter.html | 12 +- .../layout/class-use/mxCompactTreeLayout.html | 12 +- .../layout/class-use/mxEdgeLabelLayout.html | 12 +- .../layout/class-use/mxFastOrganicLayout.html | 12 +- .../layout/class-use/mxGraphLayout.html | 12 +- .../layout/class-use/mxIGraphLayout.html | 12 +- .../mxOrganicLayout.CellWrapper.html | 12 +- .../layout/class-use/mxOrganicLayout.html | 12 +- .../class-use/mxParallelEdgeLayout.html | 12 +- .../layout/class-use/mxPartitionLayout.html | 12 +- .../layout/class-use/mxStackLayout.html | 12 +- .../class-use/mxHierarchicalLayout.html | 12 +- .../mxGraphAbstractHierarchyCell.html | 12 +- .../model/class-use/mxGraphHierarchyEdge.html | 12 +- .../mxGraphHierarchyModel.CellVisitor.html | 12 +- .../class-use/mxGraphHierarchyModel.html | 12 +- .../model/class-use/mxGraphHierarchyNode.html | 12 +- .../model/class-use/mxGraphHierarchyRank.html | 12 +- .../model/mxGraphAbstractHierarchyCell.html | 12 +- .../model/mxGraphHierarchyEdge.html | 12 +- .../mxGraphHierarchyModel.CellVisitor.html | 12 +- .../model/mxGraphHierarchyModel.html | 12 +- .../model/mxGraphHierarchyNode.html | 12 +- .../model/mxGraphHierarchyRank.html | 12 +- .../hierarchical/model/package-frame.html | 6 +- .../hierarchical/model/package-summary.html | 12 +- .../hierarchical/model/package-tree.html | 12 +- .../hierarchical/model/package-use.html | 12 +- .../hierarchical/mxHierarchicalLayout.html | 12 +- .../layout/hierarchical/package-frame.html | 6 +- .../layout/hierarchical/package-summary.html | 12 +- .../layout/hierarchical/package-tree.html | 12 +- .../layout/hierarchical/package-use.html | 12 +- ...CoordinateAssignment.AreaSpatialCache.html | 12 +- ...ordinateAssignment.WeightedCellSorter.html | 12 +- .../class-use/mxCoordinateAssignment.html | 12 +- .../class-use/mxHierarchicalLayoutStage.html | 12 +- ...ridCrossingReduction.MedianCellSorter.html | 12 +- .../mxMedianHybridCrossingReduction.html | 12 +- .../class-use/mxMinimumCycleRemover.html | 12 +- ...CoordinateAssignment.AreaSpatialCache.html | 12 +- ...ordinateAssignment.WeightedCellSorter.html | 12 +- .../stage/mxCoordinateAssignment.html | 12 +- .../stage/mxHierarchicalLayoutStage.html | 12 +- ...ridCrossingReduction.MedianCellSorter.html | 12 +- .../mxMedianHybridCrossingReduction.html | 12 +- .../stage/mxMinimumCycleRemover.html | 12 +- .../hierarchical/stage/package-frame.html | 6 +- .../hierarchical/stage/package-summary.html | 12 +- .../hierarchical/stage/package-tree.html | 12 +- .../hierarchical/stage/package-use.html | 12 +- .../com/mxgraph/layout/mxCircleLayout.html | 12 +- .../layout/mxCompactTreeLayout.Polygon.html | 12 +- .../layout/mxCompactTreeLayout.Polyline.html | 12 +- .../layout/mxCompactTreeLayout.TreeNode.html | 12 +- ...xCompactTreeLayout.WeightedCellSorter.html | 12 +- .../mxgraph/layout/mxCompactTreeLayout.html | 12 +- .../com/mxgraph/layout/mxEdgeLabelLayout.html | 12 +- .../mxgraph/layout/mxFastOrganicLayout.html | 12 +- .../com/mxgraph/layout/mxGraphLayout.html | 12 +- .../com/mxgraph/layout/mxIGraphLayout.html | 12 +- .../layout/mxOrganicLayout.CellWrapper.html | 12 +- .../com/mxgraph/layout/mxOrganicLayout.html | 12 +- .../mxgraph/layout/mxParallelEdgeLayout.html | 12 +- .../com/mxgraph/layout/mxPartitionLayout.html | 12 +- .../com/mxgraph/layout/mxStackLayout.html | 12 +- .../class-use/mxOrthogonalLayout.html | 12 +- .../model/class-use/mxOrthogonalModel.html | 12 +- .../model/class-use/mxPointPair.html | 12 +- .../model/class-use/mxPointSequence.html | 12 +- .../orthogonal/model/class-use/mxSegment.html | 12 +- .../orthogonal/model/mxOrthogonalModel.html | 12 +- .../layout/orthogonal/model/mxPointPair.html | 12 +- .../orthogonal/model/mxPointSequence.html | 12 +- .../layout/orthogonal/model/mxSegment.html | 12 +- .../orthogonal/model/package-frame.html | 6 +- .../orthogonal/model/package-summary.html | 12 +- .../layout/orthogonal/model/package-tree.html | 12 +- .../layout/orthogonal/model/package-use.html | 12 +- .../layout/orthogonal/mxOrthogonalLayout.html | 12 +- .../layout/orthogonal/package-frame.html | 6 +- .../layout/orthogonal/package-summary.html | 12 +- .../layout/orthogonal/package-tree.html | 12 +- .../layout/orthogonal/package-use.html | 12 +- .../com/mxgraph/layout/package-frame.html | 6 +- .../com/mxgraph/layout/package-summary.html | 12 +- .../docs/com/mxgraph/layout/package-tree.html | 12 +- java/docs/com/mxgraph/layout/package-use.html | 12 +- .../com/mxgraph/model/class-use/mxCell.html | 12 +- .../mxgraph/model/class-use/mxCellPath.html | 12 +- .../mxgraph/model/class-use/mxGeometry.html | 12 +- .../model/class-use/mxGraphModel.Filter.html | 12 +- .../mxgraph/model/class-use/mxGraphModel.html | 12 +- .../class-use/mxGraphModel.mxChildChange.html | 12 +- .../mxGraphModel.mxCollapseChange.html | 12 +- .../mxGraphModel.mxGeometryChange.html | 12 +- .../class-use/mxGraphModel.mxRootChange.html | 12 +- .../class-use/mxGraphModel.mxStyleChange.html | 12 +- .../mxGraphModel.mxTerminalChange.html | 12 +- .../class-use/mxGraphModel.mxValueChange.html | 12 +- .../mxGraphModel.mxVisibleChange.html | 12 +- .../com/mxgraph/model/class-use/mxICell.html | 12 +- .../model/class-use/mxIGraphModel.html | 12 +- ...xIGraphModel.mxAtomicGraphModelChange.html | 12 +- java/docs/com/mxgraph/model/mxCell.html | 12 +- java/docs/com/mxgraph/model/mxCellPath.html | 12 +- java/docs/com/mxgraph/model/mxGeometry.html | 12 +- .../mxgraph/model/mxGraphModel.Filter.html | 12 +- java/docs/com/mxgraph/model/mxGraphModel.html | 12 +- .../model/mxGraphModel.mxChildChange.html | 12 +- .../model/mxGraphModel.mxCollapseChange.html | 12 +- .../model/mxGraphModel.mxGeometryChange.html | 12 +- .../model/mxGraphModel.mxRootChange.html | 12 +- .../model/mxGraphModel.mxStyleChange.html | 12 +- .../model/mxGraphModel.mxTerminalChange.html | 12 +- .../model/mxGraphModel.mxValueChange.html | 12 +- .../model/mxGraphModel.mxVisibleChange.html | 12 +- java/docs/com/mxgraph/model/mxICell.html | 12 +- .../docs/com/mxgraph/model/mxIGraphModel.html | 12 +- ...xIGraphModel.mxAtomicGraphModelChange.html | 12 +- .../docs/com/mxgraph/model/package-frame.html | 6 +- .../com/mxgraph/model/package-summary.html | 12 +- java/docs/com/mxgraph/model/package-tree.html | 12 +- java/docs/com/mxgraph/model/package-use.html | 12 +- .../mxDomOutputParser.IElementHandler.html | 12 +- .../reader/class-use/mxDomOutputParser.html | 12 +- .../class-use/mxGraphViewImageReader.html | 12 +- .../reader/class-use/mxGraphViewReader.html | 12 +- .../mxSaxOutputHandler.IElementHandler.html | 12 +- .../reader/class-use/mxSaxOutputHandler.html | 12 +- .../mxDomOutputParser.IElementHandler.html | 12 +- .../com/mxgraph/reader/mxDomOutputParser.html | 12 +- .../reader/mxGraphViewImageReader.html | 12 +- .../com/mxgraph/reader/mxGraphViewReader.html | 12 +- .../mxSaxOutputHandler.IElementHandler.html | 12 +- .../mxgraph/reader/mxSaxOutputHandler.html | 12 +- .../com/mxgraph/reader/package-frame.html | 6 +- .../com/mxgraph/reader/package-summary.html | 12 +- .../docs/com/mxgraph/reader/package-tree.html | 12 +- java/docs/com/mxgraph/reader/package-use.html | 12 +- .../mxgraph/shape/class-use/mxActorShape.html | 12 +- .../mxgraph/shape/class-use/mxArrowShape.html | 12 +- .../mxgraph/shape/class-use/mxBasicShape.html | 12 +- .../mxgraph/shape/class-use/mxCloudShape.html | 12 +- .../shape/class-use/mxConnectorShape.html | 12 +- .../mxCurveLabelShape.LabelGlyphCache.html | 12 +- .../mxCurveLabelShape.LabelPosition.html | 12 +- .../shape/class-use/mxCurveLabelShape.html | 12 +- .../mxgraph/shape/class-use/mxCurveShape.html | 12 +- .../shape/class-use/mxCylinderShape.html | 12 +- .../shape/class-use/mxDefaultTextShape.html | 12 +- .../shape/class-use/mxDoubleEllipseShape.html | 12 +- .../class-use/mxDoubleRectangleShape.html | 12 +- .../shape/class-use/mxEllipseShape.html | 12 +- .../shape/class-use/mxHexagonShape.html | 12 +- .../shape/class-use/mxHtmlTextShape.html | 12 +- .../mxgraph/shape/class-use/mxIMarker.html | 12 +- .../com/mxgraph/shape/class-use/mxIShape.html | 12 +- .../mxgraph/shape/class-use/mxITextShape.html | 12 +- .../mxgraph/shape/class-use/mxImageShape.html | 12 +- .../mxgraph/shape/class-use/mxLabelShape.html | 12 +- .../mxgraph/shape/class-use/mxLineShape.html | 12 +- .../shape/class-use/mxMarkerRegistry.html | 12 +- .../shape/class-use/mxRectangleShape.html | 12 +- .../shape/class-use/mxRhombusShape.html | 12 +- .../mxgraph/shape/class-use/mxStencil.html | 12 +- .../shape/class-use/mxStencilRegistry.html | 12 +- .../shape/class-use/mxStencilShape.html | 12 +- .../class-use/mxStencilShape.svgShape.html | 12 +- .../shape/class-use/mxSwimlaneShape.html | 12 +- .../shape/class-use/mxTriangleShape.html | 12 +- java/docs/com/mxgraph/shape/mxActorShape.html | 12 +- java/docs/com/mxgraph/shape/mxArrowShape.html | 12 +- java/docs/com/mxgraph/shape/mxBasicShape.html | 12 +- java/docs/com/mxgraph/shape/mxCloudShape.html | 12 +- .../com/mxgraph/shape/mxConnectorShape.html | 12 +- .../mxCurveLabelShape.LabelGlyphCache.html | 12 +- .../mxCurveLabelShape.LabelPosition.html | 12 +- .../com/mxgraph/shape/mxCurveLabelShape.html | 12 +- java/docs/com/mxgraph/shape/mxCurveShape.html | 12 +- .../com/mxgraph/shape/mxCylinderShape.html | 12 +- .../com/mxgraph/shape/mxDefaultTextShape.html | 12 +- .../mxgraph/shape/mxDoubleEllipseShape.html | 12 +- .../mxgraph/shape/mxDoubleRectangleShape.html | 12 +- .../com/mxgraph/shape/mxEllipseShape.html | 12 +- .../com/mxgraph/shape/mxHexagonShape.html | 12 +- .../com/mxgraph/shape/mxHtmlTextShape.html | 12 +- java/docs/com/mxgraph/shape/mxIMarker.html | 12 +- java/docs/com/mxgraph/shape/mxIShape.html | 12 +- java/docs/com/mxgraph/shape/mxITextShape.html | 12 +- java/docs/com/mxgraph/shape/mxImageShape.html | 12 +- java/docs/com/mxgraph/shape/mxLabelShape.html | 12 +- java/docs/com/mxgraph/shape/mxLineShape.html | 12 +- .../com/mxgraph/shape/mxMarkerRegistry.html | 12 +- .../com/mxgraph/shape/mxRectangleShape.html | 12 +- .../com/mxgraph/shape/mxRhombusShape.html | 12 +- java/docs/com/mxgraph/shape/mxStencil.html | 12 +- .../com/mxgraph/shape/mxStencilRegistry.html | 12 +- .../com/mxgraph/shape/mxStencilShape.html | 12 +- .../shape/mxStencilShape.svgShape.html | 12 +- .../com/mxgraph/shape/mxSwimlaneShape.html | 12 +- .../com/mxgraph/shape/mxTriangleShape.html | 12 +- .../docs/com/mxgraph/shape/package-frame.html | 6 +- .../com/mxgraph/shape/package-summary.html | 12 +- java/docs/com/mxgraph/shape/package-tree.html | 12 +- java/docs/com/mxgraph/shape/package-use.html | 12 +- .../swing/class-use/mxGraphComponent.html | 12 +- .../mxGraphComponent.mxGraphControl.html | 12 +- .../mxGraphComponent.mxMouseRedirector.html | 12 +- .../mxGraphOutline.MouseTracker.html | 12 +- .../swing/class-use/mxGraphOutline.html | 12 +- .../handler/class-use/mxCellHandler.html | 12 +- .../swing/handler/class-use/mxCellMarker.html | 12 +- .../handler/class-use/mxCellTracker.html | 12 +- .../handler/class-use/mxConnectPreview.html | 12 +- .../class-use/mxConnectionHandler.html | 12 +- .../handler/class-use/mxEdgeHandler.html | 12 +- .../handler/class-use/mxElbowEdgeHandler.html | 12 +- .../handler/class-use/mxGraphHandler.html | 12 +- .../class-use/mxGraphTransferHandler.html | 12 +- .../handler/class-use/mxInsertHandler.html | 12 +- .../handler/class-use/mxKeyboardHandler.html | 12 +- .../handler/class-use/mxMovePreview.html | 12 +- .../handler/class-use/mxPanningHandler.html | 12 +- .../handler/class-use/mxRotationHandler.html | 12 +- .../swing/handler/class-use/mxRubberband.html | 12 +- .../class-use/mxSelectionCellsHandler.html | 12 +- .../handler/class-use/mxVertexHandler.html | 12 +- .../mxgraph/swing/handler/mxCellHandler.html | 12 +- .../mxgraph/swing/handler/mxCellMarker.html | 12 +- .../mxgraph/swing/handler/mxCellTracker.html | 12 +- .../swing/handler/mxConnectPreview.html | 12 +- .../swing/handler/mxConnectionHandler.html | 12 +- .../mxgraph/swing/handler/mxEdgeHandler.html | 12 +- .../swing/handler/mxElbowEdgeHandler.html | 12 +- .../mxgraph/swing/handler/mxGraphHandler.html | 12 +- .../swing/handler/mxGraphTransferHandler.html | 12 +- .../swing/handler/mxInsertHandler.html | 12 +- .../swing/handler/mxKeyboardHandler.html | 12 +- .../mxgraph/swing/handler/mxMovePreview.html | 12 +- .../swing/handler/mxPanningHandler.html | 12 +- .../swing/handler/mxRotationHandler.html | 12 +- .../mxgraph/swing/handler/mxRubberband.html | 12 +- .../handler/mxSelectionCellsHandler.html | 12 +- .../swing/handler/mxVertexHandler.html | 12 +- .../mxgraph/swing/handler/package-frame.html | 6 +- .../swing/handler/package-summary.html | 12 +- .../mxgraph/swing/handler/package-tree.html | 12 +- .../mxgraph/swing/handler/package-use.html | 12 +- .../com/mxgraph/swing/mxGraphComponent.html | 12 +- .../mxGraphComponent.mxGraphControl.html | 12 +- .../mxGraphComponent.mxMouseRedirector.html | 12 +- .../swing/mxGraphOutline.MouseTracker.html | 12 +- .../com/mxgraph/swing/mxGraphOutline.html | 12 +- .../docs/com/mxgraph/swing/package-frame.html | 6 +- .../com/mxgraph/swing/package-summary.html | 12 +- java/docs/com/mxgraph/swing/package-tree.html | 12 +- java/docs/com/mxgraph/swing/package-use.html | 12 +- .../swing/util/class-use/mxAnimation.html | 12 +- .../swing/util/class-use/mxCellOverlay.html | 12 +- .../mxGraphActions.DeleteAction.html | 12 +- .../class-use/mxGraphActions.DrillAction.html | 12 +- .../class-use/mxGraphActions.EditAction.html | 12 +- .../class-use/mxGraphActions.FoldAction.html | 12 +- .../class-use/mxGraphActions.GroupAction.html | 12 +- .../class-use/mxGraphActions.LayerAction.html | 12 +- ...mxGraphActions.RemoveFromParentAction.html | 12 +- .../mxGraphActions.SelectAction.html | 12 +- .../mxGraphActions.UngroupAction.html | 12 +- ...xGraphActions.UpdateGroupBoundsAction.html | 12 +- .../class-use/mxGraphActions.ZoomAction.html | 12 +- .../swing/util/class-use/mxGraphActions.html | 12 +- .../util/class-use/mxGraphTransferable.html | 12 +- .../swing/util/class-use/mxICellOverlay.html | 12 +- .../swing/util/class-use/mxMorphing.html | 12 +- .../swing/util/class-use/mxMouseAdapter.html | 12 +- .../util/class-use/mxSwingConstants.html | 12 +- .../com/mxgraph/swing/util/mxAnimation.html | 12 +- .../com/mxgraph/swing/util/mxCellOverlay.html | 12 +- .../util/mxGraphActions.DeleteAction.html | 12 +- .../util/mxGraphActions.DrillAction.html | 12 +- .../swing/util/mxGraphActions.EditAction.html | 12 +- .../swing/util/mxGraphActions.FoldAction.html | 12 +- .../util/mxGraphActions.GroupAction.html | 12 +- .../util/mxGraphActions.LayerAction.html | 12 +- ...mxGraphActions.RemoveFromParentAction.html | 12 +- .../util/mxGraphActions.SelectAction.html | 12 +- .../util/mxGraphActions.UngroupAction.html | 12 +- ...xGraphActions.UpdateGroupBoundsAction.html | 12 +- .../swing/util/mxGraphActions.ZoomAction.html | 12 +- .../mxgraph/swing/util/mxGraphActions.html | 12 +- .../swing/util/mxGraphTransferable.html | 12 +- .../mxgraph/swing/util/mxICellOverlay.html | 12 +- .../com/mxgraph/swing/util/mxMorphing.html | 12 +- .../mxgraph/swing/util/mxMouseAdapter.html | 12 +- .../mxgraph/swing/util/mxSwingConstants.html | 12 +- .../com/mxgraph/swing/util/package-frame.html | 6 +- .../mxgraph/swing/util/package-summary.html | 12 +- .../com/mxgraph/swing/util/package-tree.html | 12 +- .../com/mxgraph/swing/util/package-use.html | 12 +- .../swing/view/class-use/mxCellEditor.html | 12 +- .../view/class-use/mxCellStatePreview.html | 12 +- .../swing/view/class-use/mxICellEditor.html | 12 +- .../view/class-use/mxInteractiveCanvas.html | 12 +- .../com/mxgraph/swing/view/mxCellEditor.html | 12 +- .../swing/view/mxCellStatePreview.html | 12 +- .../com/mxgraph/swing/view/mxICellEditor.html | 12 +- .../swing/view/mxInteractiveCanvas.html | 12 +- .../com/mxgraph/swing/view/package-frame.html | 6 +- .../mxgraph/swing/view/package-summary.html | 12 +- .../com/mxgraph/swing/view/package-tree.html | 12 +- .../com/mxgraph/swing/view/package-use.html | 12 +- .../com/mxgraph/util/class-use/mxBase64.html | 12 +- .../mxCellRenderer.CanvasFactory.html | 12 +- .../util/class-use/mxCellRenderer.html | 12 +- .../mxgraph/util/class-use/mxConstants.html | 12 +- .../com/mxgraph/util/class-use/mxCurve.html | 12 +- .../mxgraph/util/class-use/mxDomUtils.html | 12 +- .../com/mxgraph/util/class-use/mxEvent.html | 12 +- .../mxgraph/util/class-use/mxEventObject.html | 12 +- .../mxgraph/util/class-use/mxEventSource.html | 12 +- .../mxEventSource.mxIEventListener.html | 12 +- .../mxgraph/util/class-use/mxHtmlColor.html | 12 +- .../com/mxgraph/util/class-use/mxImage.html | 12 +- .../mxgraph/util/class-use/mxImageBundle.html | 12 +- .../util/class-use/mxLightweightLabel.html | 12 +- .../com/mxgraph/util/class-use/mxLine.html | 12 +- .../com/mxgraph/util/class-use/mxPoint.html | 12 +- .../mxgraph/util/class-use/mxRectangle.html | 12 +- .../mxgraph/util/class-use/mxResources.html | 12 +- .../com/mxgraph/util/class-use/mxSpline.html | 12 +- .../mxgraph/util/class-use/mxSpline1D.html | 12 +- .../mxgraph/util/class-use/mxStyleUtils.html | 12 +- .../mxgraph/util/class-use/mxUndoManager.html | 12 +- .../util/class-use/mxUndoableEdit.html | 12 +- .../mxUndoableEdit.mxUndoableChange.html | 12 +- .../com/mxgraph/util/class-use/mxUtils.html | 12 +- .../mxgraph/util/class-use/mxXmlUtils.html | 12 +- java/docs/com/mxgraph/util/mxBase64.html | 12 +- .../util/mxCellRenderer.CanvasFactory.html | 12 +- .../docs/com/mxgraph/util/mxCellRenderer.html | 12 +- java/docs/com/mxgraph/util/mxConstants.html | 168 ++-- java/docs/com/mxgraph/util/mxCurve.html | 12 +- java/docs/com/mxgraph/util/mxDomUtils.html | 12 +- java/docs/com/mxgraph/util/mxEvent.html | 12 +- java/docs/com/mxgraph/util/mxEventObject.html | 12 +- java/docs/com/mxgraph/util/mxEventSource.html | 12 +- .../util/mxEventSource.mxIEventListener.html | 12 +- java/docs/com/mxgraph/util/mxHtmlColor.html | 39 +- java/docs/com/mxgraph/util/mxImage.html | 12 +- java/docs/com/mxgraph/util/mxImageBundle.html | 12 +- .../com/mxgraph/util/mxLightweightLabel.html | 12 +- java/docs/com/mxgraph/util/mxLine.html | 12 +- java/docs/com/mxgraph/util/mxPoint.html | 12 +- java/docs/com/mxgraph/util/mxRectangle.html | 12 +- java/docs/com/mxgraph/util/mxResources.html | 12 +- java/docs/com/mxgraph/util/mxSpline.html | 12 +- java/docs/com/mxgraph/util/mxSpline1D.html | 12 +- java/docs/com/mxgraph/util/mxStyleUtils.html | 12 +- java/docs/com/mxgraph/util/mxUndoManager.html | 12 +- .../docs/com/mxgraph/util/mxUndoableEdit.html | 12 +- .../util/mxUndoableEdit.mxUndoableChange.html | 12 +- java/docs/com/mxgraph/util/mxUtils.html | 65 +- java/docs/com/mxgraph/util/mxXmlUtils.html | 12 +- java/docs/com/mxgraph/util/package-frame.html | 6 +- .../com/mxgraph/util/package-summary.html | 12 +- java/docs/com/mxgraph/util/package-tree.html | 12 +- java/docs/com/mxgraph/util/package-use.html | 12 +- .../png/class-use/mxPngEncodeParam.Gray.html | 12 +- .../class-use/mxPngEncodeParam.Palette.html | 12 +- .../png/class-use/mxPngEncodeParam.RGB.html | 12 +- .../util/png/class-use/mxPngEncodeParam.html | 12 +- .../util/png/class-use/mxPngImageEncoder.html | 12 +- .../class-use/mxPngSuggestedPaletteEntry.html | 12 +- .../util/png/class-use/mxPngTextDecoder.html | 12 +- .../util/png/mxPngEncodeParam.Gray.html | 12 +- .../util/png/mxPngEncodeParam.Palette.html | 12 +- .../util/png/mxPngEncodeParam.RGB.html | 12 +- .../mxgraph/util/png/mxPngEncodeParam.html | 12 +- .../mxgraph/util/png/mxPngImageEncoder.html | 12 +- .../util/png/mxPngSuggestedPaletteEntry.html | 12 +- .../mxgraph/util/png/mxPngTextDecoder.html | 12 +- .../com/mxgraph/util/png/package-frame.html | 6 +- .../com/mxgraph/util/png/package-summary.html | 12 +- .../com/mxgraph/util/png/package-tree.html | 12 +- .../com/mxgraph/util/png/package-use.html | 12 +- .../com/mxgraph/util/svg/AWTPathProducer.html | 12 +- .../mxgraph/util/svg/AWTPolygonProducer.html | 12 +- .../mxgraph/util/svg/AWTPolylineProducer.html | 12 +- .../com/mxgraph/util/svg/AbstractParser.html | 12 +- .../com/mxgraph/util/svg/CSSConstants.html | 12 +- .../mxgraph/util/svg/DefaultErrorHandler.html | 12 +- .../com/mxgraph/util/svg/ErrorHandler.html | 12 +- .../mxgraph/util/svg/ExtendedGeneralPath.html | 12 +- .../util/svg/ExtendedPathIterator.html | 12 +- .../mxgraph/util/svg/NormalizingReader.html | 12 +- .../com/mxgraph/util/svg/NumberParser.html | 12 +- .../com/mxgraph/util/svg/ParseException.html | 12 +- java/docs/com/mxgraph/util/svg/Parser.html | 12 +- .../com/mxgraph/util/svg/PathHandler.html | 12 +- .../docs/com/mxgraph/util/svg/PathParser.html | 12 +- .../com/mxgraph/util/svg/PointsHandler.html | 12 +- .../com/mxgraph/util/svg/PointsParser.html | 12 +- .../com/mxgraph/util/svg/ShapeProducer.html | 12 +- .../util/svg/StringNormalizingReader.html | 12 +- .../util/svg/class-use/AWTPathProducer.html | 12 +- .../svg/class-use/AWTPolygonProducer.html | 12 +- .../svg/class-use/AWTPolylineProducer.html | 12 +- .../util/svg/class-use/AbstractParser.html | 12 +- .../util/svg/class-use/CSSConstants.html | 12 +- .../svg/class-use/DefaultErrorHandler.html | 12 +- .../util/svg/class-use/ErrorHandler.html | 12 +- .../svg/class-use/ExtendedGeneralPath.html | 12 +- .../svg/class-use/ExtendedPathIterator.html | 12 +- .../util/svg/class-use/NormalizingReader.html | 12 +- .../util/svg/class-use/NumberParser.html | 12 +- .../util/svg/class-use/ParseException.html | 12 +- .../mxgraph/util/svg/class-use/Parser.html | 12 +- .../util/svg/class-use/PathHandler.html | 12 +- .../util/svg/class-use/PathParser.html | 12 +- .../util/svg/class-use/PointsHandler.html | 12 +- .../util/svg/class-use/PointsParser.html | 12 +- .../util/svg/class-use/ShapeProducer.html | 12 +- .../class-use/StringNormalizingReader.html | 12 +- .../com/mxgraph/util/svg/package-frame.html | 6 +- .../com/mxgraph/util/svg/package-summary.html | 12 +- .../com/mxgraph/util/svg/package-tree.html | 12 +- .../com/mxgraph/util/svg/package-use.html | 12 +- .../mxgraph/view/class-use/mxCellState.html | 12 +- .../class-use/mxConnectionConstraint.html | 12 +- .../mxgraph/view/class-use/mxEdgeStyle.html | 12 +- .../mxEdgeStyle.mxEdgeStyleFunction.html | 12 +- .../com/mxgraph/view/class-use/mxGraph.html | 12 +- .../class-use/mxGraph.mxICellVisitor.html | 12 +- .../view/class-use/mxGraphSelectionModel.html | 12 +- ...GraphSelectionModel.mxSelectionChange.html | 12 +- .../mxgraph/view/class-use/mxGraphView.html | 12 +- .../mxGraphView.mxCurrentRootChange.html | 12 +- .../view/class-use/mxLayoutManager.html | 12 +- .../view/class-use/mxMultiplicity.html | 12 +- .../mxgraph/view/class-use/mxPerimeter.html | 12 +- .../mxPerimeter.mxPerimeterFunction.html | 12 +- .../view/class-use/mxStyleRegistry.html | 12 +- .../mxgraph/view/class-use/mxStylesheet.html | 12 +- .../view/class-use/mxSwimlaneManager.html | 12 +- .../view/class-use/mxTemporaryCellStates.html | 12 +- java/docs/com/mxgraph/view/mxCellState.html | 12 +- .../mxgraph/view/mxConnectionConstraint.html | 12 +- java/docs/com/mxgraph/view/mxEdgeStyle.html | 12 +- .../view/mxEdgeStyle.mxEdgeStyleFunction.html | 12 +- java/docs/com/mxgraph/view/mxGraph.html | 14 +- .../mxgraph/view/mxGraph.mxICellVisitor.html | 12 +- .../mxgraph/view/mxGraphSelectionModel.html | 15 +- ...GraphSelectionModel.mxSelectionChange.html | 12 +- java/docs/com/mxgraph/view/mxGraphView.html | 12 +- .../view/mxGraphView.mxCurrentRootChange.html | 12 +- .../com/mxgraph/view/mxLayoutManager.html | 12 +- .../docs/com/mxgraph/view/mxMultiplicity.html | 12 +- java/docs/com/mxgraph/view/mxPerimeter.html | 12 +- .../view/mxPerimeter.mxPerimeterFunction.html | 12 +- .../com/mxgraph/view/mxStyleRegistry.html | 12 +- java/docs/com/mxgraph/view/mxStylesheet.html | 12 +- .../com/mxgraph/view/mxSwimlaneManager.html | 12 +- .../mxgraph/view/mxTemporaryCellStates.html | 12 +- java/docs/com/mxgraph/view/package-frame.html | 6 +- .../com/mxgraph/view/package-summary.html | 12 +- java/docs/com/mxgraph/view/package-tree.html | 12 +- java/docs/com/mxgraph/view/package-use.html | 12 +- java/docs/constant-values.html | 14 +- java/docs/deprecated-list.html | 12 +- java/docs/help-doc.html | 12 +- java/docs/index-all.html | 48 +- java/docs/index.html | 4 +- java/docs/overview-frame.html | 8 +- java/docs/overview-summary.html | 14 +- java/docs/overview-tree.html | 12 +- java/docs/serialized-form.html | 12 +- java/lib/mxgraph-all.jar | Bin 601123 -> 604293 bytes java/lib/mxgraph-core.jar | Bin 453757 -> 456927 bytes java/lib/mxgraph-swing.jar | Bin 147938 -> 147938 bytes .../mxgraph/canvas/mxGraphicsCanvas2D.java | 57 +- java/src/com/mxgraph/canvas/mxICanvas2D.java | 16 + java/src/com/mxgraph/canvas/mxSvgCanvas.java | 28 +- java/src/com/mxgraph/canvas/mxVmlCanvas.java | 10 +- .../com/mxgraph/reader/mxDomOutputParser.java | 16 + .../mxgraph/reader/mxSaxOutputHandler.java | 16 + java/src/com/mxgraph/util/mxConstants.java | 12 + java/src/com/mxgraph/util/mxHtmlColor.java | 16 +- java/src/com/mxgraph/util/mxUtils.java | 18 +- java/src/com/mxgraph/view/mxGraph.java | 4 +- .../mxgraph/view/mxGraphSelectionModel.java | 3 + .../examples/grapheditor/www/index.html | 2 +- .../examples/grapheditor/www/js/Actions.js | 18 +- .../examples/grapheditor/www/js/Dialogs.js | 24 +- .../examples/grapheditor/www/js/Editor.js | 76 +- .../examples/grapheditor/www/js/EditorUi.js | 319 +++++--- .../examples/grapheditor/www/js/Format.js | 173 ++-- .../examples/grapheditor/www/js/Graph.js | 159 +++- .../examples/grapheditor/www/js/Menus.js | 3 +- .../examples/grapheditor/www/js/Shapes.js | 446 ++++++++++- .../examples/grapheditor/www/js/Sidebar.js | 12 +- .../examples/grapheditor/www/js/Toolbar.js | 87 +- .../grapheditor/www/resources/grapheditor.txt | 1 + .../www/resources/grapheditor_de.txt | 1 + .../www/sanitizer/sanitizer.min.js | 69 +- .../grapheditor/www/styles/grapheditor.css | 7 - .../examples/grapheditor/www/viewer.html | 1 + javascript/examples/jquery.html | 23 +- javascript/mxClient.js | 503 +++++++++--- javascript/mxClient.min.js | 258 +++--- javascript/src/js/handler/mxGraphHandler.js | 7 +- .../src/js/handler/mxSelectionCellsHandler.js | 21 + javascript/src/js/handler/mxVertexHandler.js | 15 +- javascript/src/js/mxClient.js | 4 +- javascript/src/js/shape/mxArrowConnector.js | 16 +- javascript/src/js/shape/mxShape.js | 56 +- javascript/src/js/shape/mxText.js | 26 + javascript/src/js/util/mxAbstractCanvas2D.js | 26 +- javascript/src/js/util/mxConstants.js | 21 +- javascript/src/js/util/mxSvgCanvas2D.js | 23 +- javascript/src/js/util/mxUtils.js | 20 +- javascript/src/js/util/mxVmlCanvas2D.js | 14 +- javascript/src/js/util/mxXmlCanvas2D.js | 75 +- javascript/src/js/view/mxCellRenderer.js | 107 ++- javascript/src/js/view/mxGraph.js | 50 +- .../src/js/view/mxGraphSelectionModel.js | 1 + javascript/src/js/view/mxGraphView.js | 21 +- php/src/mxServer.php | 6 +- 877 files changed, 7714 insertions(+), 5686 deletions(-) diff --git a/ChangeLog b/ChangeLog index aafd2d5bf..52fb3bbcf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,23 @@ +06-APR-2016: 3.5.1.0 + +- Fixes vertex label moving with live preview [JavaScript] +- Adds argument in mxGraph.createEdgeHandler [JavaScript] +- Updates handler after style change of cell [JavaScript] +- Resets text shape state before using new style [JavaScript] +- Fixes gradients for certain URLs in IE11/Edge [JavaScript] +- Adds comic style and shapes in grapheditor [JavaScript] +- Fixes 1 pixel offset for move preview [JavaScript] +- Adds mxSelectionCellsHandler.updateHandler [JavaScript] +- Changes default for mxConstants.ARROW_SPACING to 0 [JavaScript] +- Fixes chart.js output in jquery.html example [JavaScript] +- mxCellRenderer.redrawShape creates new shape if needed [JavaScript] +- mxStyleChange no longer requires a new mxCellState [JavaScript] +- Avoids unnecessary text repaints in mxCellRenderer [JavaScript] +- Adds mxShape.initStyles, resetStyles, mxText.resetStyles [JavaScript] +- Fixes mxUtils.equalEntries for new properties in second argument [JavaScript] +- Adds export for strokeAlpha and fillAlpha in .NET backend [Dotnet] +- Fixes export of strokeAlpha and fillAlpha in Java backend [Java] + 01-MAR-2016: 3.5.0.0 - Ctrl+Shift+Drag added for create/remove space in grapheditor [JavaScript] diff --git a/docs/js-api/files/handler/mxEdgeSegmentHandler-js.html b/docs/js-api/files/handler/mxEdgeSegmentHandler-js.html index 77946588a..999497e76 100644 --- a/docs/js-api/files/handler/mxEdgeSegmentHandler-js.html +++ b/docs/js-api/files/handler/mxEdgeSegmentHandler-js.html @@ -1,6 +1,6 @@ -/home/gaudenz/project/mxgraph2/build/mxgraph/javascript/src/src/js/handler/mxEdgeSegmentHandler.js diff --git a/docs/js-api/files/handler/mxSelectionCellsHandler-js.html b/docs/js-api/files/handler/mxSelectionCellsHandler-js.html index 466ac0a63..81c1dbfc2 100644 --- a/docs/js-api/files/handler/mxSelectionCellsHandler-js.html +++ b/docs/js-api/files/handler/mxSelectionCellsHandler-js.html @@ -11,15 +11,15 @@ if (browserType) {document.write("
");if (browserV -

mxSelectionCellsHandler

An event handler that manages cell handlers and invokes their mouse event processing functions.

Summary
mxSelectionCellsHandlerAn event handler that manages cell handlers and invokes their mouse event processing functions.
Events
mxEvent.ADDFires if a cell has been added to the selection.
mxEvent.REMOVEFires if a cell has been remove from the selection.
graphReference to the enclosing mxGraph.
enabledSpecifies if events are handled.
refreshHandlerKeeps a reference to an event listener for later removal.
maxHandlersDefines the maximum number of handlers to paint individually.
handlersmxDictionary that maps from cells to handlers.
isEnabledReturns enabled.
setEnabledSets enabled.
getHandlerReturns the handler for the given cell.
resetResets all handlers.
refreshReloads or updates all handlers.
mouseDownRedirects the given event to the handlers.
mouseMoveRedirects the given event to the handlers.
mouseUpRedirects the given event to the handlers.
destroyDestroys the handler and all its resources and DOM nodes.
+

mxSelectionCellsHandler

An event handler that manages cell handlers and invokes their mouse event processing functions.

Summary
mxSelectionCellsHandlerAn event handler that manages cell handlers and invokes their mouse event processing functions.
Events
mxEvent.ADDFires if a cell has been added to the selection.
mxEvent.REMOVEFires if a cell has been remove from the selection.
graphReference to the enclosing mxGraph.
enabledSpecifies if events are handled.
refreshHandlerKeeps a reference to an event listener for later removal.
maxHandlersDefines the maximum number of handlers to paint individually.
handlersmxDictionary that maps from cells to handlers.
isEnabledReturns enabled.
setEnabledSets enabled.
getHandlerReturns the handler for the given cell.
resetResets all handlers.
refreshReloads or updates all handlers.
updateHandlerUpdates the handler for the given shape if one exists.
mouseDownRedirects the given event to the handlers.
mouseMoveRedirects the given event to the handlers.
mouseUpRedirects the given event to the handlers.
destroyDestroys the handler and all its resources and DOM nodes.

Events

-

mxEvent.ADD

Fires if a cell has been added to the selection.  The <code>state</code> property contains the mxCellState that has been added.

+

mxEvent.ADD

Fires if a cell has been added to the selection.  The <code>state</code> property contains the mxCellState that has been added.

-

mxEvent.REMOVE

Fires if a cell has been remove from the selection.  The <code>state</code> property contains the mxCellState that has been removed.

Parameters

graphReference to the enclosing mxGraph.
+

mxEvent.REMOVE

Fires if a cell has been remove from the selection.  The <code>state</code> property contains the mxCellState that has been removed.

Parameters

graphReference to the enclosing mxGraph.
-

graph

mxSelectionCellsHandler.prototype.graph

Reference to the enclosing mxGraph.

+

graph

mxSelectionCellsHandler.prototype.graph

Reference to the enclosing mxGraph.

enabled

mxSelectionCellsHandler.prototype.enabled

Specifies if events are handled.  Default is true.

@@ -27,11 +27,11 @@ if (browserType) {document.write("
");if (browserV

maxHandlers

mxSelectionCellsHandler.prototype.maxHandlers

Defines the maximum number of handlers to paint individually.  Default is 100.

-

handlers

mxSelectionCellsHandler.prototype.handlers

mxDictionary that maps from cells to handlers.

+

handlers

mxSelectionCellsHandler.prototype.handlers

mxDictionary that maps from cells to handlers.

-

isEnabled

mxSelectionCellsHandler.prototype.isEnabled = function()

Returns enabled.

+

isEnabled

mxSelectionCellsHandler.prototype.isEnabled = function()

Returns enabled.

-

setEnabled

mxSelectionCellsHandler.prototype.setEnabled = function(value)

Sets enabled.

+

setEnabled

mxSelectionCellsHandler.prototype.setEnabled = function(value)

Sets enabled.

getHandler

mxSelectionCellsHandler.prototype.getHandler = function(cell)

Returns the handler for the given cell.

@@ -39,6 +39,8 @@ if (browserType) {document.write("
");if (browserV

refresh

mxSelectionCellsHandler.prototype.refresh = function()

Reloads or updates all handlers.

+

updateHandler

mxSelectionCellsHandler.prototype.updateHandler = function(state)

Updates the handler for the given shape if one exists.

+

mouseDown

mxSelectionCellsHandler.prototype.mouseDown = function(sender,
me)

Redirects the given event to the handlers.

mouseMove

mxSelectionCellsHandler.prototype.mouseMove = function(sender,
me)

Redirects the given event to the handlers.

@@ -61,7 +63,7 @@ HideAllBut([2], 13);// -->
-
mxSelectionCellsHandler.prototype.graph
Reference to the enclosing mxGraph.
Extends mxEventSource to implement a graph component for the browser.
mxSelectionCellsHandler.prototype.enabled
Specifies if events are handled.
mxSelectionCellsHandler.prototype.refreshHandler
Keeps a reference to an event listener for later removal.
mxSelectionCellsHandler.prototype.maxHandlers
Defines the maximum number of handlers to paint individually.
mxSelectionCellsHandler.prototype.handlers
mxDictionary that maps from cells to handlers.
A wrapper class for an associative array with object keys.
mxSelectionCellsHandler.prototype.isEnabled = function()
Returns enabled.
mxSelectionCellsHandler.prototype.setEnabled = function(value)
Sets enabled.
mxSelectionCellsHandler.prototype.getHandler = function(cell)
Returns the handler for the given cell.
mxSelectionCellsHandler.prototype.reset = function()
Resets all handlers.
mxSelectionCellsHandler.prototype.refresh = function()
Reloads or updates all handlers.
mxSelectionCellsHandler.prototype.mouseDown = function(sender,
me)
Redirects the given event to the handlers.
mxSelectionCellsHandler.prototype.mouseMove = function(sender,
me)
Redirects the given event to the handlers.
mxSelectionCellsHandler.prototype.mouseUp = function(sender,
me)
Redirects the given event to the handlers.
mxSelectionCellsHandler.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
Represents the current state of a cell in a given mxGraphView.
+
mxSelectionCellsHandler.prototype.graph
Reference to the enclosing mxGraph.
Extends mxEventSource to implement a graph component for the browser.
mxSelectionCellsHandler.prototype.enabled
Specifies if events are handled.
mxSelectionCellsHandler.prototype.refreshHandler
Keeps a reference to an event listener for later removal.
mxSelectionCellsHandler.prototype.maxHandlers
Defines the maximum number of handlers to paint individually.
mxSelectionCellsHandler.prototype.handlers
mxDictionary that maps from cells to handlers.
A wrapper class for an associative array with object keys.
mxSelectionCellsHandler.prototype.isEnabled = function()
Returns enabled.
mxSelectionCellsHandler.prototype.setEnabled = function(value)
Sets enabled.
mxSelectionCellsHandler.prototype.getHandler = function(cell)
Returns the handler for the given cell.
mxSelectionCellsHandler.prototype.reset = function()
Resets all handlers.
mxSelectionCellsHandler.prototype.refresh = function()
Reloads or updates all handlers.
mxSelectionCellsHandler.prototype.updateHandler = function(state)
Updates the handler for the given shape if one exists.
mxSelectionCellsHandler.prototype.mouseDown = function(sender,
me)
Redirects the given event to the handlers.
mxSelectionCellsHandler.prototype.mouseMove = function(sender,
me)
Redirects the given event to the handlers.
mxSelectionCellsHandler.prototype.mouseUp = function(sender,
me)
Redirects the given event to the handlers.
mxSelectionCellsHandler.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
Represents the current state of a cell in a given mxGraphView.
diff --git a/docs/js-api/files/mxClient-js.html b/docs/js-api/files/mxClient-js.html index c2b7cb92b..790c43295 100644 --- a/docs/js-api/files/mxClient-js.html +++ b/docs/js-api/files/mxClient-js.html @@ -15,7 +15,7 @@ if (browserType) {document.write("
");if (browserV

Variables

-

VERSION

Contains the current version of the mxGraph library.  The strings that communicate versions of mxGraph use the following format.

versionMajor.versionMinor.buildNumber.revisionNumber

Current version is 3.5.0.0.

+

VERSION

Contains the current version of the mxGraph library.  The strings that communicate versions of mxGraph use the following format.

versionMajor.versionMinor.buildNumber.revisionNumber

Current version is 3.5.1.0.

IS_IE

IS_IE: navigator.userAgent.indexOf('MSIE') >

True if the current browser is Internet Explorer 10 or below.  Use mxClient.IS_IE11 to detect IE 11.

diff --git a/docs/js-api/files/shape/mxArrowConnector-js.html b/docs/js-api/files/shape/mxArrowConnector-js.html index d4784bac8..1e05340ef 100644 --- a/docs/js-api/files/shape/mxArrowConnector-js.html +++ b/docs/js-api/files/shape/mxArrowConnector-js.html @@ -11,16 +11,18 @@ if (browserType) {document.write("
");if (browserV -

mxArrowConnector

Extends mxShape to implement an new rounded arrow shape with support for waypoints and double arrows.  (The shape is used to represent edges, not vertices.)  This shape is registered under mxConstants.SHAPE_ARROW_CONNECTOR in mxCellRenderer.

Summary
mxArrowConnectorExtends mxShape to implement an new rounded arrow shape with support for waypoints and double arrows.
Functions
mxArrowConnectorConstructs a new arrow shape.
Variables
useSvgBoundingBoxAllows to use the SVG bounding box in SVG.
Functions
augmentBoundingBoxAugments the bounding box with the edge width and markers.
paintEdgeShapePaints the line shape.
paintEdgeShapePaints the line shape.
isArrowRoundedReturns wether the arrow is rounded
getStartArrowWidthReturns the width of the start arrow
getEndArrowWidthReturns the width of the end arrow
getEdgeWidthReturns the width of the body of the edge
isOpenEndedReturns whether the ends of the shape are drawn
isMarkerStartReturns whether the start marker is drawn
isMarkerEndReturns whether the end marker is drawn
+

mxArrowConnector

Extends mxShape to implement an new rounded arrow shape with support for waypoints and double arrows.  (The shape is used to represent edges, not vertices.)  This shape is registered under mxConstants.SHAPE_ARROW_CONNECTOR in mxCellRenderer.

Summary
mxArrowConnectorExtends mxShape to implement an new rounded arrow shape with support for waypoints and double arrows.
Functions
mxArrowConnectorConstructs a new arrow shape.
Variables
useSvgBoundingBoxAllows to use the SVG bounding box in SVG.
resetStylesOverrides mxShape to reset spacing.
Functions
augmentBoundingBoxAugments the bounding box with the edge width and markers.
paintEdgeShapePaints the line shape.
paintEdgeShapePaints the line shape.
isArrowRoundedReturns wether the arrow is rounded
getStartArrowWidthReturns the width of the start arrow
getEndArrowWidthReturns the width of the end arrow
getEdgeWidthReturns the width of the body of the edge
isOpenEndedReturns whether the ends of the shape are drawn
isMarkerStartReturns whether the start marker is drawn
isMarkerEndReturns whether the end marker is drawn

Functions

-

mxArrowConnector

function mxArrowConnector(points,
fill,
stroke,
strokewidth,
arrowWidth,
spacing,
endSize)

Constructs a new arrow shape.

Parameters

pointsArray of mxPoints that define the points.  This is stored in mxShape.points.
fillString that defines the fill color.  This is stored in <fill>.
strokeString that defines the stroke color.  This is stored in <stroke>.
strokewidthOptional integer that defines the stroke width.  Default is 1.  This is stored in <strokewidth>.
arrowWidthOptional integer that defines the arrow width.  Default is mxConstants.ARROW_WIDTH.  This is stored in <arrowWidth>.
spacingOptional integer that defines the spacing between the arrow shape and its endpoints.  Default is mxConstants.ARROW_SPACING.  This is stored in <spacing>.
endSizeOptional integer that defines the size of the arrowhead.  Default is mxConstants.ARROW_SIZE.  This is stored in <endSize>.
+

mxArrowConnector

function mxArrowConnector(points,
fill,
stroke,
strokewidth,
arrowWidth,
spacing,
endSize)

Constructs a new arrow shape.

Parameters

pointsArray of mxPoints that define the points.  This is stored in mxShape.points.
fillString that defines the fill color.  This is stored in <fill>.
strokeString that defines the stroke color.  This is stored in <stroke>.
strokewidthOptional integer that defines the stroke width.  Default is 1.  This is stored in <strokewidth>.
arrowWidthOptional integer that defines the arrow width.  Default is mxConstants.ARROW_WIDTH.  This is stored in <arrowWidth>.
spacingOptional integer that defines the spacing between the arrow shape and its endpoints.  Default is mxConstants.ARROW_SPACING.  This is stored in <spacing>.
endSizeOptional integer that defines the size of the arrowhead.  Default is mxConstants.ARROW_SIZE.  This is stored in <endSize>.

Variables

useSvgBoundingBox

mxArrowConnector.prototype.useSvgBoundingBox

Allows to use the SVG bounding box in SVG.  Default is false for performance reasons.

+

resetStyles

mxArrowConnector.prototype.resetStyles

Overrides mxShape to reset spacing.

+

Functions

augmentBoundingBox

mxArrowConnector.prototype.augmentBoundingBox = function(bbox)

Augments the bounding box with the edge width and markers.

@@ -57,7 +59,7 @@ HideAllBut([9], 13);// -->
-
Base class for all shapes.
function mxArrowConnector(points,
fill,
stroke,
strokewidth,
arrowWidth,
spacing,
endSize)
Constructs a new arrow shape.
mxArrowConnector.prototype.useSvgBoundingBox
Allows to use the SVG bounding box in SVG.
mxArrowConnector.prototype.augmentBoundingBox = function(bbox)
Augments the bounding box with the edge width and markers.
mxArrowConnector.prototype.paintEdgeShape = function(c,
pts)
Paints the line shape.
mxArrowConnector.prototype.isArrowRounded = function()
Returns wether the arrow is rounded
mxArrowConnector.prototype.getStartArrowWidth = function()
Returns the width of the start arrow
mxArrowConnector.prototype.getEndArrowWidth = function()
Returns the width of the end arrow
mxArrowConnector.prototype.getEdgeWidth = function()
Returns the width of the body of the edge
mxArrowConnector.prototype.isOpenEnded = function()
Returns whether the ends of the shape are drawn
mxArrowConnector.prototype.isMarkerStart = function()
Returns whether the start marker is drawn
mxArrowConnector.prototype.isMarkerEnd = function()
Returns whether the end marker is drawn
Name under which mxArrowConnector is registered in mxCellRenderer.
Renders cells into a document object model.
Implements a 2-dimensional vector with double precision coordinates.
mxShape.prototype.points
Holds the array of mxPoints that specify the points of this shape.
Defines the width of the arrow shape.
Defines the spacing between the arrow shape and its terminals.
Defines the size of the arrowhead in the arrow shape.
+
Base class for all shapes.
function mxArrowConnector(points,
fill,
stroke,
strokewidth,
arrowWidth,
spacing,
endSize)
Constructs a new arrow shape.
mxArrowConnector.prototype.useSvgBoundingBox
Allows to use the SVG bounding box in SVG.
mxArrowConnector.prototype.resetStyles
Overrides mxShape to reset spacing.
mxArrowConnector.prototype.augmentBoundingBox = function(bbox)
Augments the bounding box with the edge width and markers.
mxArrowConnector.prototype.paintEdgeShape = function(c,
pts)
Paints the line shape.
mxArrowConnector.prototype.isArrowRounded = function()
Returns wether the arrow is rounded
mxArrowConnector.prototype.getStartArrowWidth = function()
Returns the width of the start arrow
mxArrowConnector.prototype.getEndArrowWidth = function()
Returns the width of the end arrow
mxArrowConnector.prototype.getEdgeWidth = function()
Returns the width of the body of the edge
mxArrowConnector.prototype.isOpenEnded = function()
Returns whether the ends of the shape are drawn
mxArrowConnector.prototype.isMarkerStart = function()
Returns whether the start marker is drawn
mxArrowConnector.prototype.isMarkerEnd = function()
Returns whether the end marker is drawn
Name under which mxArrowConnector is registered in mxCellRenderer.
Renders cells into a document object model.
Implements a 2-dimensional vector with double precision coordinates.
mxShape.prototype.points
Holds the array of mxPoints that specify the points of this shape.
Defines the width of the arrow shape.
Defines the spacing between the arrow shape and its terminals.
Defines the size of the arrowhead in the arrow shape.
diff --git a/docs/js-api/files/shape/mxShape-js.html b/docs/js-api/files/shape/mxShape-js.html index 71f1578ac..d45490007 100644 --- a/docs/js-api/files/shape/mxShape-js.html +++ b/docs/js-api/files/shape/mxShape-js.html @@ -11,11 +11,11 @@ if (browserType) {document.write("
");if (browserV -

mxShape

Base class for all shapes.  A shape in mxGraph is a separate implementation for SVG, VML and HTML.  Which implementation to use is controlled by the dialect property which is assigned from within the mxCellRenderer when the shape is created.  The dialect must be assigned for a shape, and it does normally depend on the browser and the confiuration of the graph (see mxGraph rendering hint).

For each supported shape in SVG and VML, a corresponding shape exists in mxGraph, namely for text, image, rectangle, rhombus, ellipse and polyline.  The other shapes are a combination of these shapes (eg. label and swimlane) or they consist of one or more (filled) path objects (eg. actor and cylinder).  The HTML implementation is optional but may be required for a HTML-only view of the graph.

Custom Shapes

To extend from this class, the basic code looks as follows.  In the special case where the custom shape consists only of one filled region or one filled region and an additional stroke the mxActor and mxCylinder should be subclassed, respectively.

function CustomShape() { }
+

mxShape

Base class for all shapes.  A shape in mxGraph is a separate implementation for SVG, VML and HTML.  Which implementation to use is controlled by the dialect property which is assigned from within the mxCellRenderer when the shape is created.  The dialect must be assigned for a shape, and it does normally depend on the browser and the confiuration of the graph (see mxGraph rendering hint).

For each supported shape in SVG and VML, a corresponding shape exists in mxGraph, namely for text, image, rectangle, rhombus, ellipse and polyline.  The other shapes are a combination of these shapes (eg. label and swimlane) or they consist of one or more (filled) path objects (eg. actor and cylinder).  The HTML implementation is optional but may be required for a HTML-only view of the graph.

Custom Shapes

To extend from this class, the basic code looks as follows.  In the special case where the custom shape consists only of one filled region or one filled region and an additional stroke the mxActor and mxCylinder should be subclassed, respectively.

function CustomShape() { }
 
 CustomShape.prototype = new mxShape();
 CustomShape.prototype.constructor = CustomShape;

To register a custom shape in an existing graph instance, one must register the shape under a new name in the graph’s cell renderer as follows:

mxCellRenderer.registerShape('customShape', CustomShape);

The second argument is the name of the constructor.

In order to use the shape you can refer to the given name above in a stylesheet.  For example, to change the shape for the default vertex style, the following code is used:

var style = graph.getStylesheet().getDefaultVertexStyle();
-style[mxConstants.STYLE_SHAPE] = 'customShape';
Summary
mxShapeBase class for all shapes.
Functions
mxShapeConstructs a new shape.
Variables
dialectHolds the dialect in which the shape is to be painted.
scaleHolds the scale in which the shape is being painted.
antiAliasRendering hint for configuring the canvas.
boundsHolds the mxRectangle that specifies the bounds of this shape.
pointsHolds the array of mxPoints that specify the points of this shape.
nodeHolds the outermost DOM node that represents this shape.
stateOptional reference to the corresponding mxCellState.
styleOptional reference to the style of the corresponding mxCellState.
boundingBoxContains the bounding box of the shape, that is, the smallest rectangle that includes all pixels of the shape.
stencilHolds the mxStencil that defines the shape.
svgStrokeToleranceEvent-tolerance for SVG strokes (in px).
pointerEventsSpecifies if pointer events should be handled.
svgPointerEventsSpecifies if pointer events should be handled.
shapePointerEventsSpecifies if pointer events outside of shape should be handled.
stencilPointerEventsSpecifies if pointer events outside of stencils should be handled.
vmlScaleScale for improving the precision of VML rendering.
outlineSpecifies if the shape should be drawn as an outline.
visibleSpecifies if the shape is visible.
useSvgBoundingBoxAllows to use the SVG bounding box in SVG.
Functions
initInitializes the shape by creaing the DOM node using create and adding it into the given container.
isParseVmlSpecifies if any VML should be added via insertAdjacentHtml to the DOM.
isHtmlAllowedReturns true if HTML is allowed for this shape.
getSvgScreenOffsetReturns 0, or 0.5 if <strokewidth> % 2 == 1.
createCreates and returns the DOM node(s) for the shape in the given container.
createSvgCreates and returns the SVG node(s) to represent this shape.
createVmlCreates and returns the VML node to represent this shape.
createHtmlCreates and returns the HTML DOM node(s) to represent this shape.
reconfigureReconfigures this shape.
redrawCreates and returns the SVG node(s) to represent this shape.
clearRemoves all child nodes and resets all CSS.
updateBoundsFromPointsUpdates the bounds based on the points.
getLabelBoundsReturns the mxRectangle for the label bounds of this shape, based on the given scaled and translated bounds of the shape.
checkBoundsReturns true if the bounds are not null and all of its variables are numeric.
createVmlGroupReturns the temporary element used for rendering in IE8 standards mode.
redrawShapeUpdates the SVG or VML shape.
createCanvasDestroys the given canvas which was used for drawing.
createSvgCanvasCreates and returns an mxSvgCanvas2D for rendering this shape.
createVmlCanvasCreates and returns an mxVmlCanvas2D for rendering this shape.
updateVmlContainerUpdates the bounds of the VML container.
redrawHtmlAllow optimization by replacing VML with HTML.
updateHtmlFiltersAllow optimization by replacing VML with HTML.
mixedModeHtmlAllow optimization by replacing VML with HTML.
mixedModeHtmlAllow optimization by replacing VML with HTML.
destroyCanvasDestroys the given canvas which was used for drawing.
paintGeneric rendering code.
configureCanvasSets the state of the canvas for drawing the shape.
getGradientBoundsReturns the bounding box for the gradient box for this shape.
updateTransformSets the scale and rotation on the given canvas.
paintVertexShapePaints the vertex shape.
paintBackgroundHook for subclassers.
paintForegroundHook for subclassers.
paintEdgeShapeHook for subclassers.
getArcSizeReturns the arc size for the given dimension.
paintGlassEffectPaints the glass gradient effect.
addPointsPaints the given points with rounded corners.
applyApplies the style of the given mxCellState to the shape.
setCursorSets the cursor on the given shape.
getCursorReturns the current cursor.
updateBoundingBoxUpdates the boundingBox for this shape using createBoundingBox and augmentBoundingBox and stores the result in boundingBox.
createBoundingBoxReturns a new rectangle that represents the bounding box of the bare shape with no shadows or strokewidths.
augmentBoundingBoxAugments the bounding box with the strokewidth and shadow offsets.
isPaintBoundsInvertedReturns true if the bounds should be inverted.
getRotationReturns the rotation from the style.
getTextRotationReturns the rotation for the text label.
getShapeRotationReturns the actual rotation of the shape.
createTransparentSvgRectangleAdds a transparent rectangle that catches all events.
setTransparentBackgroundImageSets a transparent background CSS style to catch all events.
releaseSvgGradientsPaints the line shape.
destroyDestroys the shape by removing it from the DOM and releasing the DOM node associated with the shape using mxEvent.release.
+style[mxConstants.STYLE_SHAPE] = 'customShape';
Summary
mxShapeBase class for all shapes.
Functions
mxShapeConstructs a new shape.
Variables
dialectHolds the dialect in which the shape is to be painted.
scaleHolds the scale in which the shape is being painted.
antiAliasRendering hint for configuring the canvas.
boundsHolds the mxRectangle that specifies the bounds of this shape.
pointsHolds the array of mxPoints that specify the points of this shape.
nodeHolds the outermost DOM node that represents this shape.
stateOptional reference to the corresponding mxCellState.
styleOptional reference to the style of the corresponding mxCellState.
boundingBoxContains the bounding box of the shape, that is, the smallest rectangle that includes all pixels of the shape.
stencilHolds the mxStencil that defines the shape.
svgStrokeToleranceEvent-tolerance for SVG strokes (in px).
pointerEventsSpecifies if pointer events should be handled.
svgPointerEventsSpecifies if pointer events should be handled.
shapePointerEventsSpecifies if pointer events outside of shape should be handled.
stencilPointerEventsSpecifies if pointer events outside of stencils should be handled.
vmlScaleScale for improving the precision of VML rendering.
outlineSpecifies if the shape should be drawn as an outline.
visibleSpecifies if the shape is visible.
useSvgBoundingBoxAllows to use the SVG bounding box in SVG.
Functions
initInitializes the shape by creaing the DOM node using create and adding it into the given container.
initStylesSets the styles to their default values.
isParseVmlSpecifies if any VML should be added via insertAdjacentHtml to the DOM.
isHtmlAllowedReturns true if HTML is allowed for this shape.
getSvgScreenOffsetReturns 0, or 0.5 if <strokewidth> % 2 == 1.
createCreates and returns the DOM node(s) for the shape in the given container.
createSvgCreates and returns the SVG node(s) to represent this shape.
createVmlCreates and returns the VML node to represent this shape.
createHtmlCreates and returns the HTML DOM node(s) to represent this shape.
reconfigureReconfigures this shape.
redrawCreates and returns the SVG node(s) to represent this shape.
clearRemoves all child nodes and resets all CSS.
updateBoundsFromPointsUpdates the bounds based on the points.
getLabelBoundsReturns the mxRectangle for the label bounds of this shape, based on the given scaled and translated bounds of the shape.
checkBoundsReturns true if the bounds are not null and all of its variables are numeric.
createVmlGroupReturns the temporary element used for rendering in IE8 standards mode.
redrawShapeUpdates the SVG or VML shape.
createCanvasDestroys the given canvas which was used for drawing.
createSvgCanvasCreates and returns an mxSvgCanvas2D for rendering this shape.
createVmlCanvasCreates and returns an mxVmlCanvas2D for rendering this shape.
updateVmlContainerUpdates the bounds of the VML container.
redrawHtmlAllow optimization by replacing VML with HTML.
updateHtmlFiltersAllow optimization by replacing VML with HTML.
mixedModeHtmlAllow optimization by replacing VML with HTML.
mixedModeHtmlAllow optimization by replacing VML with HTML.
destroyCanvasDestroys the given canvas which was used for drawing.
paintGeneric rendering code.
configureCanvasSets the state of the canvas for drawing the shape.
getGradientBoundsReturns the bounding box for the gradient box for this shape.
updateTransformSets the scale and rotation on the given canvas.
paintVertexShapePaints the vertex shape.
paintBackgroundHook for subclassers.
paintForegroundHook for subclassers.
paintEdgeShapeHook for subclassers.
getArcSizeReturns the arc size for the given dimension.
paintGlassEffectPaints the glass gradient effect.
addPointsPaints the given points with rounded corners.
resetStylesResets all styles.
applyApplies the style of the given mxCellState to the shape.
setCursorSets the cursor on the given shape.
getCursorReturns the current cursor.
updateBoundingBoxUpdates the boundingBox for this shape using createBoundingBox and augmentBoundingBox and stores the result in boundingBox.
createBoundingBoxReturns a new rectangle that represents the bounding box of the bare shape with no shadows or strokewidths.
augmentBoundingBoxAugments the bounding box with the strokewidth and shadow offsets.
isPaintBoundsInvertedReturns true if the bounds should be inverted.
getRotationReturns the rotation from the style.
getTextRotationReturns the rotation for the text label.
getShapeRotationReturns the actual rotation of the shape.
createTransparentSvgRectangleAdds a transparent rectangle that catches all events.
setTransparentBackgroundImageSets a transparent background CSS style to catch all events.
releaseSvgGradientsPaints the line shape.
destroyDestroys the shape by removing it from the DOM and releasing the DOM node associated with the shape using mxEvent.release.

Functions

@@ -23,27 +23,27 @@ style[mxConstants.STYLE_SHAPE] = 'customShape'; @@ -177,7 +181,7 @@ HideAllBut([9], 13);// -->
-
function mxShape(stencil)
Constructs a new shape.
mxShape.prototype.dialect
Holds the dialect in which the shape is to be painted.
mxShape.prototype.scale
Holds the scale in which the shape is being painted.
mxShape.prototype.antiAlias
Rendering hint for configuring the canvas.
mxShape.prototype.bounds
Holds the mxRectangle that specifies the bounds of this shape.
Extends mxPoint to implement a 2-dimensional rectangle with double precision coordinates.
mxShape.prototype.points
Holds the array of mxPoints that specify the points of this shape.
Implements a 2-dimensional vector with double precision coordinates.
mxShape.prototype.node
Holds the outermost DOM node that represents this shape.
mxShape.prototype.state
Optional reference to the corresponding mxCellState.
Represents the current state of a cell in a given mxGraphView.
mxShape.prototype.style
Optional reference to the style of the corresponding mxCellState.
mxShape.prototype.boundingBox
Contains the bounding box of the shape, that is, the smallest rectangle that includes all pixels of the shape.
mxShape.prototype.stencil
Holds the mxStencil that defines the shape.
Implements a generic shape which is based on a XML node as a description.
mxShape.prototype.svgStrokeTolerance
Event-tolerance for SVG strokes (in px).
mxShape.prototype.pointerEvents
Specifies if pointer events should be handled.
mxShape.prototype.svgPointerEvents
Specifies if pointer events should be handled.
mxShape.prototype.shapePointerEvents
Specifies if pointer events outside of shape should be handled.
mxShape.prototype.stencilPointerEvents
Specifies if pointer events outside of stencils should be handled.
mxShape.prototype.vmlScale
Scale for improving the precision of VML rendering.
mxShape.prototype.outline
Specifies if the shape should be drawn as an outline.
mxShape.prototype.visible
Specifies if the shape is visible.
mxShape.prototype.useSvgBoundingBox
Allows to use the SVG bounding box in SVG.
mxShape.prototype.init = function(container)
Initializes the shape by creaing the DOM node using create and adding it into the given container.
mxShape.prototype.create = function(container)
Creates and returns the DOM node(s) for the shape in the given container.
mxShape.prototype.isParseVml = function()
Specifies if any VML should be added via insertAdjacentHtml to the DOM.
mxShape.prototype.isHtmlAllowed = function()
Returns true if HTML is allowed for this shape.
mxShape.prototype.getSvgScreenOffset = function()
Returns 0, or 0.5 if strokewidth % 2 == 1.
mxShape.prototype.createSvg = function()
Creates and returns the SVG node(s) to represent this shape.
mxShape.prototype.createVml = function()
Creates and returns the VML node to represent this shape.
mxShape.prototype.createHtml = function()
Creates and returns the HTML DOM node(s) to represent this shape.
mxShape.prototype.reconfigure = function()
Reconfigures this shape.
mxShape.prototype.redraw = function()
Creates and returns the SVG node(s) to represent this shape.
mxShape.prototype.clear = function()
Removes all child nodes and resets all CSS.
mxShape.prototype.updateBoundsFromPoints = function()
Updates the bounds based on the points.
mxShape.prototype.getLabelBounds = function(rect)
Returns the mxRectangle for the label bounds of this shape, based on the given scaled and translated bounds of the shape.
mxShape.prototype.checkBounds = function()
Returns true if the bounds are not null and all of its variables are numeric.
mxShape.prototype.createVmlGroup = function()
Returns the temporary element used for rendering in IE8 standards mode.
mxShape.prototype.redrawShape = function()
Updates the SVG or VML shape.
mxShape.prototype.createCanvas = function()
Destroys the given canvas which was used for drawing.
mxShape.prototype.createSvgCanvas = function()
Creates and returns an mxSvgCanvas2D for rendering this shape.
Extends mxAbstractCanvas2D to implement a canvas for SVG.
mxShape.prototype.createVmlCanvas = function()
Creates and returns an mxVmlCanvas2D for rendering this shape.
Implements a canvas to be used for rendering VML.
mxShape.prototype.updateVmlContainer = function()
Updates the bounds of the VML container.
mxShape.prototype.redrawHtmlShape = function()
Allow optimization by replacing VML with HTML.
mxShape.prototype.updateHtmlFilters = function(node)
Allow optimization by replacing VML with HTML.
mxShape.prototype.destroyCanvas = function(canvas)
Destroys the given canvas which was used for drawing.
mxShape.prototype.paint = function(c)
Generic rendering code.
mxShape.prototype.configureCanvas = function(c,
x,
y,
w,
h)
Sets the state of the canvas for drawing the shape.
mxShape.prototype.getGradientBounds = function(c,
x,
y,
w,
h)
Returns the bounding box for the gradient box for this shape.
mxShape.prototype.updateTransform = function(c,
x,
y,
w,
h)
Sets the scale and rotation on the given canvas.
mxShape.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Paints the vertex shape.
mxShape.prototype.paintBackground = function(c,
x,
y,
w,
h)
Hook for subclassers.
mxShape.prototype.paintForeground = function(c,
x,
y,
w,
h)
Hook for subclassers.
mxShape.prototype.paintEdgeShape = function(c,
pts)
Hook for subclassers.
mxShape.prototype.getArcSize = function(w,
h)
Returns the arc size for the given dimension.
mxShape.prototype.paintGlassEffect = function(c,
x,
y,
w,
h,
arc)
Paints the glass gradient effect.
mxShape.prototype.addPoints = function(c,
pts,
rounded,
arcSize,
close)
Paints the given points with rounded corners.
mxShape.prototype.apply = function(state)
Applies the style of the given mxCellState to the shape.
mxShape.prototype.setCursor = function(cursor)
Sets the cursor on the given shape.
mxShape.prototype.getCursor = function()
Returns the current cursor.
mxShape.prototype.updateBoundingBox = function()
Updates the boundingBox for this shape using createBoundingBox and augmentBoundingBox and stores the result in boundingBox.
mxShape.prototype.createBoundingBox = function()
Returns a new rectangle that represents the bounding box of the bare shape with no shadows or strokewidths.
mxShape.prototype.augmentBoundingBox = function(bbox)
Augments the bounding box with the strokewidth and shadow offsets.
mxShape.prototype.isPaintBoundsInverted = function()
Returns true if the bounds should be inverted.
mxShape.prototype.getRotation = function()
Returns the rotation from the style.
mxShape.prototype.getTextRotation = function()
Returns the rotation for the text label.
mxShape.prototype.getShapeRotation = function()
Returns the actual rotation of the shape.
mxShape.prototype.createTransparentSvgRectangle = function(x,
y,
w,
h)
Adds a transparent rectangle that catches all events.
mxShape.prototype.setTransparentBackgroundImage = function(node)
Sets a transparent background CSS style to catch all events.
mxShape.prototype.releaseSvgGradients = function(grads)
Paints the line shape.
mxShape.prototype.destroy = function()
Destroys the shape by removing it from the DOM and releasing the DOM node associated with the shape using mxEvent.release.
release: function(element)
Removes the known listeners from the given DOM node and its descendants.
Renders cells into a document object model.
Extends mxEventSource to implement a graph component for the browser.
Extends mxShape to implement an actor shape.
Extends mxShape to implement an cylinder shape.
Defines various global constants.
Defines the key for the fill color.
Defines the key for the gradient color.
Defines the key for the gradient direction.
Defines the key for the opacity style.
Defines the key for the strokeColor style.
Defines the key for the strokeWidth style.
Defines the key for the shadow style.
Defines the key for the dashed style.
Defines the key for the spacing.
Defines the key for the startSize style.
Defines the key for the endSize style.
Defines the key for the rounded style.
Defines the key for the start arrow marker.
Defines the key for the end arrow marker.
Defines the key for the rotation style.
Defines the key for the direction style.
Defines the key for the glass style.
+
function mxShape(stencil)
Constructs a new shape.
mxShape.prototype.dialect
Holds the dialect in which the shape is to be painted.
mxShape.prototype.scale
Holds the scale in which the shape is being painted.
mxShape.prototype.antiAlias
Rendering hint for configuring the canvas.
mxShape.prototype.bounds
Holds the mxRectangle that specifies the bounds of this shape.
Extends mxPoint to implement a 2-dimensional rectangle with double precision coordinates.
mxShape.prototype.points
Holds the array of mxPoints that specify the points of this shape.
Implements a 2-dimensional vector with double precision coordinates.
mxShape.prototype.node
Holds the outermost DOM node that represents this shape.
mxShape.prototype.state
Optional reference to the corresponding mxCellState.
Represents the current state of a cell in a given mxGraphView.
mxShape.prototype.style
Optional reference to the style of the corresponding mxCellState.
mxShape.prototype.boundingBox
Contains the bounding box of the shape, that is, the smallest rectangle that includes all pixels of the shape.
mxShape.prototype.stencil
Holds the mxStencil that defines the shape.
Implements a generic shape which is based on a XML node as a description.
mxShape.prototype.svgStrokeTolerance
Event-tolerance for SVG strokes (in px).
mxShape.prototype.pointerEvents
Specifies if pointer events should be handled.
mxShape.prototype.svgPointerEvents
Specifies if pointer events should be handled.
mxShape.prototype.shapePointerEvents
Specifies if pointer events outside of shape should be handled.
mxShape.prototype.stencilPointerEvents
Specifies if pointer events outside of stencils should be handled.
mxShape.prototype.vmlScale
Scale for improving the precision of VML rendering.
mxShape.prototype.outline
Specifies if the shape should be drawn as an outline.
mxShape.prototype.visible
Specifies if the shape is visible.
mxShape.prototype.useSvgBoundingBox
Allows to use the SVG bounding box in SVG.
mxShape.prototype.init = function(container)
Initializes the shape by creaing the DOM node using create and adding it into the given container.
mxShape.prototype.create = function(container)
Creates and returns the DOM node(s) for the shape in the given container.
mxShape.prototype.initStyles = function(container)
Sets the styles to their default values.
mxShape.prototype.isParseVml = function()
Specifies if any VML should be added via insertAdjacentHtml to the DOM.
mxShape.prototype.isHtmlAllowed = function()
Returns true if HTML is allowed for this shape.
mxShape.prototype.getSvgScreenOffset = function()
Returns 0, or 0.5 if strokewidth % 2 == 1.
mxShape.prototype.createSvg = function()
Creates and returns the SVG node(s) to represent this shape.
mxShape.prototype.createVml = function()
Creates and returns the VML node to represent this shape.
mxShape.prototype.createHtml = function()
Creates and returns the HTML DOM node(s) to represent this shape.
mxShape.prototype.reconfigure = function()
Reconfigures this shape.
mxShape.prototype.redraw = function()
Creates and returns the SVG node(s) to represent this shape.
mxShape.prototype.clear = function()
Removes all child nodes and resets all CSS.
mxShape.prototype.updateBoundsFromPoints = function()
Updates the bounds based on the points.
mxShape.prototype.getLabelBounds = function(rect)
Returns the mxRectangle for the label bounds of this shape, based on the given scaled and translated bounds of the shape.
mxShape.prototype.checkBounds = function()
Returns true if the bounds are not null and all of its variables are numeric.
mxShape.prototype.createVmlGroup = function()
Returns the temporary element used for rendering in IE8 standards mode.
mxShape.prototype.redrawShape = function()
Updates the SVG or VML shape.
mxShape.prototype.createCanvas = function()
Destroys the given canvas which was used for drawing.
mxShape.prototype.createSvgCanvas = function()
Creates and returns an mxSvgCanvas2D for rendering this shape.
Extends mxAbstractCanvas2D to implement a canvas for SVG.
mxShape.prototype.createVmlCanvas = function()
Creates and returns an mxVmlCanvas2D for rendering this shape.
Implements a canvas to be used for rendering VML.
mxShape.prototype.updateVmlContainer = function()
Updates the bounds of the VML container.
mxShape.prototype.redrawHtmlShape = function()
Allow optimization by replacing VML with HTML.
mxShape.prototype.updateHtmlFilters = function(node)
Allow optimization by replacing VML with HTML.
mxShape.prototype.destroyCanvas = function(canvas)
Destroys the given canvas which was used for drawing.
mxShape.prototype.paint = function(c)
Generic rendering code.
mxShape.prototype.configureCanvas = function(c,
x,
y,
w,
h)
Sets the state of the canvas for drawing the shape.
mxShape.prototype.getGradientBounds = function(c,
x,
y,
w,
h)
Returns the bounding box for the gradient box for this shape.
mxShape.prototype.updateTransform = function(c,
x,
y,
w,
h)
Sets the scale and rotation on the given canvas.
mxShape.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Paints the vertex shape.
mxShape.prototype.paintBackground = function(c,
x,
y,
w,
h)
Hook for subclassers.
mxShape.prototype.paintForeground = function(c,
x,
y,
w,
h)
Hook for subclassers.
mxShape.prototype.paintEdgeShape = function(c,
pts)
Hook for subclassers.
mxShape.prototype.getArcSize = function(w,
h)
Returns the arc size for the given dimension.
mxShape.prototype.paintGlassEffect = function(c,
x,
y,
w,
h,
arc)
Paints the glass gradient effect.
mxShape.prototype.addPoints = function(c,
pts,
rounded,
arcSize,
close)
Paints the given points with rounded corners.
mxShape.prototype.resetStyles = function()
Resets all styles.
mxShape.prototype.apply = function(state)
Applies the style of the given mxCellState to the shape.
mxShape.prototype.setCursor = function(cursor)
Sets the cursor on the given shape.
mxShape.prototype.getCursor = function()
Returns the current cursor.
mxShape.prototype.updateBoundingBox = function()
Updates the boundingBox for this shape using createBoundingBox and augmentBoundingBox and stores the result in boundingBox.
mxShape.prototype.createBoundingBox = function()
Returns a new rectangle that represents the bounding box of the bare shape with no shadows or strokewidths.
mxShape.prototype.augmentBoundingBox = function(bbox)
Augments the bounding box with the strokewidth and shadow offsets.
mxShape.prototype.isPaintBoundsInverted = function()
Returns true if the bounds should be inverted.
mxShape.prototype.getRotation = function()
Returns the rotation from the style.
mxShape.prototype.getTextRotation = function()
Returns the rotation for the text label.
mxShape.prototype.getShapeRotation = function()
Returns the actual rotation of the shape.
mxShape.prototype.createTransparentSvgRectangle = function(x,
y,
w,
h)
Adds a transparent rectangle that catches all events.
mxShape.prototype.setTransparentBackgroundImage = function(node)
Sets a transparent background CSS style to catch all events.
mxShape.prototype.releaseSvgGradients = function(grads)
Paints the line shape.
mxShape.prototype.destroy = function()
Destroys the shape by removing it from the DOM and releasing the DOM node associated with the shape using mxEvent.release.
release: function(element)
Removes the known listeners from the given DOM node and its descendants.
Renders cells into a document object model.
Extends mxEventSource to implement a graph component for the browser.
Extends mxShape to implement an actor shape.
Extends mxShape to implement an cylinder shape.
Defines various global constants.
Defines the key for the fill color.
Defines the key for the gradient color.
Defines the key for the gradient direction.
Defines the key for the opacity style.
Defines the key for the fill opacity style.
Defines the key for the stroke opacity style.
Defines the key for the strokeColor style.
Defines the key for the strokeWidth style.
Defines the key for the shadow style.
Defines the key for the dashed style.
Defines the key for the spacing.
Defines the key for the startSize style.
Defines the key for the endSize style.
Defines the key for the rounded style.
Defines the key for the start arrow marker.
Defines the key for the end arrow marker.
Defines the key for the rotation style.
Defines the key for the direction style.
Defines the key for the glass style.
diff --git a/docs/js-api/files/shape/mxText-js.html b/docs/js-api/files/shape/mxText-js.html index 25d70021a..0f2748e25 100644 --- a/docs/js-api/files/shape/mxText-js.html +++ b/docs/js-api/files/shape/mxText-js.html @@ -11,11 +11,11 @@ if (browserType) {document.write("
");if (browserV -

mxText

Extends mxShape to implement a text shape.  To change vertical text from bottom to top to top to bottom, the following code can be used:

mxText.prototype.verticalTextRotation = 90;
Summary
mxTextExtends mxShape to implement a text shape.
Functions
mxTextConstructs a new text shape.
Variables
baseSpacingTopSpecifies the spacing to be added to the top spacing.
baseSpacingBottomSpecifies the spacing to be added to the bottom spacing.
baseSpacingLeftSpecifies the spacing to be added to the left spacing.
baseSpacingRightSpecifies the spacing to be added to the right spacing.
replaceLinefeedsSpecifies if linefeeds in HTML labels should be replaced with BR tags.
verticalTextRotationRotation for vertical text.
ignoreClippedStringSizeSpecifies if the string size should be measured in updateBoundingBox if the label is clipped and the label position is center and middle.
ignoreStringSizeSpecifies if the actual string size should be measured.
textWidthPaddingSpecifies the padding to be added to the text width for the bounding box.
lastValueContains the last rendered text value.
cacheEnabledSpecifies if caching for HTML labels should be enabled.
Functions
isParseVmlText shapes do not contain VML markup and do not need to be parsed.
isHtmlAllowedReturns true if HTML is allowed for this shape.
getSvgScreenOffsetDisables offset in IE9 for crisper image output.
checkBoundsReturns true if the bounds are not null and all of its variables are numeric.
paintGeneric rendering code.
redrawRenders the text using the given DOM nodes.
applyExtends mxShape to update the text styles.
getAutoDirectionUsed to determine the automatic text direction.
updateBoundingBoxUpdates the <boundingBox> for this shape using the given node and position.
getShapeRotationReturns 0 to avoid using rotation in the canvas via updateTransform.
getTextRotationReturns the rotation for the text label of the corresponding shape.
isPaintBoundsInvertedInverts the bounds if <mxShape.isBoundsInverted> returns true or if the horizontal style is false.
configureCanvasSets the state of the canvas for drawing the shape.
updateVmlContainerSets the width and height of the container to 1px.
redrawHtmlShapeUpdates the HTML node(s) to reflect the latest bounds and scale.
updateHtmlTransformReturns the spacing as an mxPoint.
setInnerHtmlSets the inner HTML of the given element to the <value>.
updateHtmlFilterRotated text rendering quality is bad for IE9 quirks/IE8 standards
updateValueUpdates the HTML node(s) to reflect the latest bounds and scale.
updateFontUpdates the HTML node(s) to reflect the latest bounds and scale.
updateSizeUpdates the HTML node(s) to reflect the latest bounds and scale.
getMarginReturns the spacing as an mxPoint.
getSpacingReturns the spacing as an mxPoint.
+

mxText

Extends mxShape to implement a text shape.  To change vertical text from bottom to top to top to bottom, the following code can be used:

mxText.prototype.verticalTextRotation = 90;
Summary
mxTextExtends mxShape to implement a text shape.
Functions
mxTextConstructs a new text shape.
Variables
baseSpacingTopSpecifies the spacing to be added to the top spacing.
baseSpacingBottomSpecifies the spacing to be added to the bottom spacing.
baseSpacingLeftSpecifies the spacing to be added to the left spacing.
baseSpacingRightSpecifies the spacing to be added to the right spacing.
replaceLinefeedsSpecifies if linefeeds in HTML labels should be replaced with BR tags.
verticalTextRotationRotation for vertical text.
ignoreClippedStringSizeSpecifies if the string size should be measured in updateBoundingBox if the label is clipped and the label position is center and middle.
ignoreStringSizeSpecifies if the actual string size should be measured.
textWidthPaddingSpecifies the padding to be added to the text width for the bounding box.
lastValueContains the last rendered text value.
cacheEnabledSpecifies if caching for HTML labels should be enabled.
Functions
isParseVmlText shapes do not contain VML markup and do not need to be parsed.
isHtmlAllowedReturns true if HTML is allowed for this shape.
getSvgScreenOffsetDisables offset in IE9 for crisper image output.
checkBoundsReturns true if the bounds are not null and all of its variables are numeric.
paintGeneric rendering code.
redrawRenders the text using the given DOM nodes.
resetStylesResets all styles.
applyExtends mxShape to update the text styles.
getAutoDirectionUsed to determine the automatic text direction.
updateBoundingBoxUpdates the <boundingBox> for this shape using the given node and position.
getShapeRotationReturns 0 to avoid using rotation in the canvas via updateTransform.
getTextRotationReturns the rotation for the text label of the corresponding shape.
isPaintBoundsInvertedInverts the bounds if <mxShape.isBoundsInverted> returns true or if the horizontal style is false.
configureCanvasSets the state of the canvas for drawing the shape.
updateVmlContainerSets the width and height of the container to 1px.
redrawHtmlShapeUpdates the HTML node(s) to reflect the latest bounds and scale.
updateHtmlTransformReturns the spacing as an mxPoint.
setInnerHtmlSets the inner HTML of the given element to the <value>.
updateHtmlFilterRotated text rendering quality is bad for IE9 quirks/IE8 standards
updateValueUpdates the HTML node(s) to reflect the latest bounds and scale.
updateFontUpdates the HTML node(s) to reflect the latest bounds and scale.
updateSizeUpdates the HTML node(s) to reflect the latest bounds and scale.
getMarginReturns the spacing as an mxPoint.
getSpacingReturns the spacing as an mxPoint.

Functions

-

mxText

function mxText(value,
bounds,
align,
valign,
color,
family,
size,
fontStyle,
spacing,
spacingTop,
spacingRight,
spacingBottom,
spacingLeft,
horizontal,
background,
border,
wrap,
clipped,
overflow,
labelPadding,
textDirection)

Constructs a new text shape.

Parameters

valueString that represents the text to be displayed.  This is stored in <value>.
boundsmxRectangle that defines the bounds.  This is stored in mxShape.bounds.
alignSpecifies the horizontal alignment.  Default is ‘’.  This is stored in <align>.
valignSpecifies the vertical alignment.  Default is ‘’.  This is stored in <valign>.
colorString that specifies the text color.  Default is ‘black’.  This is stored in <color>.
familyString that specifies the font family.  Default is mxConstants.DEFAULT_FONTFAMILY.  This is stored in <family>.
sizeInteger that specifies the font size.  Default is mxConstants.DEFAULT_FONTSIZE.  This is stored in <size>.
fontStyleSpecifies the font style.  Default is 0.  This is stored in <fontStyle>.
spacingInteger that specifies the global spacing.  Default is 2.  This is stored in <spacing>.
spacingTopInteger that specifies the top spacing.  Default is 0.  The sum of the spacing and this is stored in <spacingTop>.
spacingRightInteger that specifies the right spacing.  Default is 0.  The sum of the spacing and this is stored in <spacingRight>.
spacingBottomInteger that specifies the bottom spacing.  Default is 0.The sum of the spacing and this is stored in <spacingBottom>.
spacingLeftInteger that specifies the left spacing.  Default is 0.  The sum of the spacing and this is stored in <spacingLeft>.
horizontalBoolean that specifies if the label is horizontal.  Default is true.  This is stored in <horizontal>.
backgroundString that specifies the background color.  Default is null.  This is stored in <background>.
borderString that specifies the label border color.  Default is null.  This is stored in <border>.
wrapSpecifies if word-wrapping should be enabled.  Default is false.  This is stored in <wrap>.
clippedSpecifies if the label should be clipped.  Default is false.  This is stored in <clipped>.
overflowValue of the overflow style.  Default is ‘visible’.
+

mxText

function mxText(value,
bounds,
align,
valign,
color,
family,
size,
fontStyle,
spacing,
spacingTop,
spacingRight,
spacingBottom,
spacingLeft,
horizontal,
background,
border,
wrap,
clipped,
overflow,
labelPadding,
textDirection)

Constructs a new text shape.

Parameters

valueString that represents the text to be displayed.  This is stored in <value>.
boundsmxRectangle that defines the bounds.  This is stored in mxShape.bounds.
alignSpecifies the horizontal alignment.  Default is ‘’.  This is stored in <align>.
valignSpecifies the vertical alignment.  Default is ‘’.  This is stored in <valign>.
colorString that specifies the text color.  Default is ‘black’.  This is stored in <color>.
familyString that specifies the font family.  Default is mxConstants.DEFAULT_FONTFAMILY.  This is stored in <family>.
sizeInteger that specifies the font size.  Default is mxConstants.DEFAULT_FONTSIZE.  This is stored in <size>.
fontStyleSpecifies the font style.  Default is 0.  This is stored in <fontStyle>.
spacingInteger that specifies the global spacing.  Default is 2.  This is stored in <spacing>.
spacingTopInteger that specifies the top spacing.  Default is 0.  The sum of the spacing and this is stored in <spacingTop>.
spacingRightInteger that specifies the right spacing.  Default is 0.  The sum of the spacing and this is stored in <spacingRight>.
spacingBottomInteger that specifies the bottom spacing.  Default is 0.The sum of the spacing and this is stored in <spacingBottom>.
spacingLeftInteger that specifies the left spacing.  Default is 0.  The sum of the spacing and this is stored in <spacingLeft>.
horizontalBoolean that specifies if the label is horizontal.  Default is true.  This is stored in <horizontal>.
backgroundString that specifies the background color.  Default is null.  This is stored in <background>.
borderString that specifies the label border color.  Default is null.  This is stored in <border>.
wrapSpecifies if word-wrapping should be enabled.  Default is false.  This is stored in <wrap>.
clippedSpecifies if the label should be clipped.  Default is false.  This is stored in <clipped>.
overflowValue of the overflow style.  Default is ‘visible’.

Variables

@@ -31,7 +31,7 @@ if (browserType) {document.write("
");if (browserV

verticalTextRotation

mxText.prototype.verticalTextRotation

Rotation for vertical text.  Default is -90 (bottom to top).

-

ignoreClippedStringSize

mxText.prototype.ignoreClippedStringSize

Specifies if the string size should be measured in updateBoundingBox if the label is clipped and the label position is center and middle.  If this is true, then the bounding box will be set to <bounds>.  Default is true.  ignoreStringSize has precedence over this switch.

+

ignoreClippedStringSize

mxText.prototype.ignoreClippedStringSize

Specifies if the string size should be measured in updateBoundingBox if the label is clipped and the label position is center and middle.  If this is true, then the bounding box will be set to <bounds>.  Default is true.  ignoreStringSize has precedence over this switch.

ignoreStringSize

mxText.prototype.ignoreStringSize

Specifies if the actual string size should be measured.  If disabled the boundingBox will not ignore the actual size of the string, otherwise <bounds> will be used instead.  Default is false.

@@ -55,9 +55,11 @@ if (browserType) {document.write("
");if (browserV

redraw

mxText.prototype.redraw = function()

Renders the text using the given DOM nodes.

-

apply

mxText.prototype.apply = function(state)

Extends mxShape to update the text styles.

Parameters

statemxCellState of the corresponding cell.
+

resetStyles

mxText.prototype.resetStyles = function()

Resets all styles.

-

getAutoDirection

mxText.prototype.getAutoDirection = function()

Used to determine the automatic text direction.  Returns mxConstants.TEXT_DIRECTION_LTR or mxConstants.TEXT_DIRECTION_RTL depending on the contents of <value>.  This is not invoked for HTML, wrapped content or if <value> is a DOM node.

+

apply

mxText.prototype.apply = function(state)

Extends mxShape to update the text styles.

Parameters

statemxCellState of the corresponding cell.
+ +

getAutoDirection

mxText.prototype.getAutoDirection = function()

Used to determine the automatic text direction.  Returns mxConstants.TEXT_DIRECTION_LTR or mxConstants.TEXT_DIRECTION_RTL depending on the contents of <value>.  This is not invoked for HTML, wrapped content or if <value> is a DOM node.

updateBoundingBox

mxText.prototype.updateBoundingBox = function()

Updates the <boundingBox> for this shape using the given node and position.

@@ -73,7 +75,7 @@ if (browserType) {document.write("
");if (browserV

redrawHtmlShape

mxText.prototype.redrawHtmlShape = function()

Updates the HTML node(s) to reflect the latest bounds and scale.

-

updateHtmlTransform

mxText.prototype.updateHtmlTransform = function()

Returns the spacing as an mxPoint.

+

updateHtmlTransform

mxText.prototype.updateHtmlTransform = function()

Returns the spacing as an mxPoint.

setInnerHtml

Sets the inner HTML of the given element to the <value>.

@@ -85,9 +87,9 @@ if (browserType) {document.write("
");if (browserV

updateSize

mxText.prototype.updateSize = function(node,
enableWrap)

Updates the HTML node(s) to reflect the latest bounds and scale.

-

getMargin

Returns the spacing as an mxPoint.

+

getMargin

Returns the spacing as an mxPoint.

-

getSpacing

mxText.prototype.getSpacing = function()

Returns the spacing as an mxPoint.

+

getSpacing

mxText.prototype.getSpacing = function()

Returns the spacing as an mxPoint.

@@ -103,7 +105,7 @@ HideAllBut([9], 13);// -->
-
Base class for all shapes.
function mxText(value,
bounds,
align,
valign,
color,
family,
size,
fontStyle,
spacing,
spacingTop,
spacingRight,
spacingBottom,
spacingLeft,
horizontal,
background,
border,
wrap,
clipped,
overflow,
labelPadding,
textDirection)
Constructs a new text shape.
mxText.prototype.baseSpacingTop
Specifies the spacing to be added to the top spacing.
mxText.prototype.baseSpacingBottom
Specifies the spacing to be added to the bottom spacing.
mxText.prototype.baseSpacingLeft
Specifies the spacing to be added to the left spacing.
mxText.prototype.baseSpacingRight
Specifies the spacing to be added to the right spacing.
mxText.prototype.replaceLinefeeds
Specifies if linefeeds in HTML labels should be replaced with BR tags.
mxText.prototype.verticalTextRotation
Rotation for vertical text.
mxText.prototype.ignoreClippedStringSize
Specifies if the string size should be measured in updateBoundingBox if the label is clipped and the label position is center and middle.
mxText.prototype.updateBoundingBox = function()
Updates the boundingBox for this shape using the given node and position.
mxText.prototype.ignoreStringSize
Specifies if the actual string size should be measured.
mxText.prototype.textWidthPadding
Specifies the padding to be added to the text width for the bounding box.
mxText.prototype.lastValue
Contains the last rendered text value.
mxText.prototype.cacheEnabled
Specifies if caching for HTML labels should be enabled.
mxText.prototype.isParseVml = function()
Text shapes do not contain VML markup and do not need to be parsed.
mxText.prototype.isHtmlAllowed = function()
Returns true if HTML is allowed for this shape.
mxText.prototype.getSvgScreenOffset = function()
Disables offset in IE9 for crisper image output.
mxText.prototype.checkBounds = function()
Returns true if the bounds are not null and all of its variables are numeric.
mxText.prototype.paint = function(c,
update)
Generic rendering code.
mxText.prototype.redraw = function()
Renders the text using the given DOM nodes.
mxText.prototype.apply = function(state)
Extends mxShape to update the text styles.
mxText.prototype.getAutoDirection = function()
Used to determine the automatic text direction.
mxText.prototype.getShapeRotation = function()
Returns 0 to avoid using rotation in the canvas via updateTransform.
mxText.prototype.getTextRotation = function()
Returns the rotation for the text label of the corresponding shape.
mxText.prototype.isPaintBoundsInverted = function()
Inverts the bounds if mxShape.isBoundsInverted returns true or if the horizontal style is false.
mxText.prototype.configureCanvas = function(c,
x,
y,
w,
h)
Sets the state of the canvas for drawing the shape.
mxText.prototype.updateVmlContainer = function()
Sets the width and height of the container to 1px.
mxText.prototype.redrawHtmlShape = function()
Updates the HTML node(s) to reflect the latest bounds and scale.
mxText.prototype.updateHtmlTransform = function()
Returns the spacing as an mxPoint.
Implements a 2-dimensional vector with double precision coordinates.
mxText.prototype.updateHtmlFilter = function()
Rotated text rendering quality is bad for IE9 quirks/IE8 standards
mxText.prototype.updateValue = function()
Updates the HTML node(s) to reflect the latest bounds and scale.
mxText.prototype.updateFont = function(node)
Updates the HTML node(s) to reflect the latest bounds and scale.
mxText.prototype.updateSize = function(node,
enableWrap)
Updates the HTML node(s) to reflect the latest bounds and scale.
mxText.prototype.getSpacing = function()
Returns the spacing as an mxPoint.
Extends mxPoint to implement a 2-dimensional rectangle with double precision coordinates.
mxShape.prototype.bounds
Holds the mxRectangle that specifies the bounds of this shape.
Defines the default family for all fonts in points.
Defines the default size for all fonts in points.
Represents the current state of a cell in a given mxGraphView.
Constant for text direction left to right.
Constant for text direction right to left.
+
Base class for all shapes.
function mxText(value,
bounds,
align,
valign,
color,
family,
size,
fontStyle,
spacing,
spacingTop,
spacingRight,
spacingBottom,
spacingLeft,
horizontal,
background,
border,
wrap,
clipped,
overflow,
labelPadding,
textDirection)
Constructs a new text shape.
mxText.prototype.baseSpacingTop
Specifies the spacing to be added to the top spacing.
mxText.prototype.baseSpacingBottom
Specifies the spacing to be added to the bottom spacing.
mxText.prototype.baseSpacingLeft
Specifies the spacing to be added to the left spacing.
mxText.prototype.baseSpacingRight
Specifies the spacing to be added to the right spacing.
mxText.prototype.replaceLinefeeds
Specifies if linefeeds in HTML labels should be replaced with BR tags.
mxText.prototype.verticalTextRotation
Rotation for vertical text.
mxText.prototype.ignoreClippedStringSize
Specifies if the string size should be measured in updateBoundingBox if the label is clipped and the label position is center and middle.
mxText.prototype.updateBoundingBox = function()
Updates the boundingBox for this shape using the given node and position.
mxText.prototype.ignoreStringSize
Specifies if the actual string size should be measured.
mxText.prototype.textWidthPadding
Specifies the padding to be added to the text width for the bounding box.
mxText.prototype.lastValue
Contains the last rendered text value.
mxText.prototype.cacheEnabled
Specifies if caching for HTML labels should be enabled.
mxText.prototype.isParseVml = function()
Text shapes do not contain VML markup and do not need to be parsed.
mxText.prototype.isHtmlAllowed = function()
Returns true if HTML is allowed for this shape.
mxText.prototype.getSvgScreenOffset = function()
Disables offset in IE9 for crisper image output.
mxText.prototype.checkBounds = function()
Returns true if the bounds are not null and all of its variables are numeric.
mxText.prototype.paint = function(c,
update)
Generic rendering code.
mxText.prototype.redraw = function()
Renders the text using the given DOM nodes.
mxText.prototype.resetStyles = function()
Resets all styles.
mxText.prototype.apply = function(state)
Extends mxShape to update the text styles.
mxText.prototype.getAutoDirection = function()
Used to determine the automatic text direction.
mxText.prototype.getShapeRotation = function()
Returns 0 to avoid using rotation in the canvas via updateTransform.
mxText.prototype.getTextRotation = function()
Returns the rotation for the text label of the corresponding shape.
mxText.prototype.isPaintBoundsInverted = function()
Inverts the bounds if mxShape.isBoundsInverted returns true or if the horizontal style is false.
mxText.prototype.configureCanvas = function(c,
x,
y,
w,
h)
Sets the state of the canvas for drawing the shape.
mxText.prototype.updateVmlContainer = function()
Sets the width and height of the container to 1px.
mxText.prototype.redrawHtmlShape = function()
Updates the HTML node(s) to reflect the latest bounds and scale.
mxText.prototype.updateHtmlTransform = function()
Returns the spacing as an mxPoint.
Implements a 2-dimensional vector with double precision coordinates.
mxText.prototype.updateHtmlFilter = function()
Rotated text rendering quality is bad for IE9 quirks/IE8 standards
mxText.prototype.updateValue = function()
Updates the HTML node(s) to reflect the latest bounds and scale.
mxText.prototype.updateFont = function(node)
Updates the HTML node(s) to reflect the latest bounds and scale.
mxText.prototype.updateSize = function(node,
enableWrap)
Updates the HTML node(s) to reflect the latest bounds and scale.
mxText.prototype.getSpacing = function()
Returns the spacing as an mxPoint.
Extends mxPoint to implement a 2-dimensional rectangle with double precision coordinates.
mxShape.prototype.bounds
Holds the mxRectangle that specifies the bounds of this shape.
Defines the default family for all fonts in points.
Defines the default size for all fonts in points.
Represents the current state of a cell in a given mxGraphView.
Constant for text direction left to right.
Constant for text direction right to left.
diff --git a/docs/js-api/files/util/mxAbstractCanvas2D-js.html b/docs/js-api/files/util/mxAbstractCanvas2D-js.html index d4ea96d09..b83c4d0d8 100644 --- a/docs/js-api/files/util/mxAbstractCanvas2D-js.html +++ b/docs/js-api/files/util/mxAbstractCanvas2D-js.html @@ -11,7 +11,7 @@ if (browserType) {document.write("
");if (browserV -

mxAbstractCanvas2D

Base class for all canvases.  A description of the public API is available in mxXmlCanvas2D.  All color values of mxConstants.NONE will be converted to null in the state.

Summary
mxAbstractCanvas2DBase class for all canvases.
Functions
mxAbstractCanvas2DConstructs a new abstract canvas.
Variables
converterHolds the mxUrlConverter to convert image URLs.
stateHolds the current state.
statesStack of states.
pathHolds the current path as an array.
rotateHtmlSwitch for rotation of HTML.
lastXHolds the last x coordinate.
lastYHolds the last y coordinate.
moveOpContains the string used for moving in paths.
lineOpContains the string used for moving in paths.
quadOpContains the string used for quadratic paths.
curveOpContains the string used for bezier curves.
closeOpHolds the operator for closing curves.
pointerEventsBoolean value that specifies if events should be handled.
Functions
createUrlConverterCreate a new mxUrlConverter and returns it.
resetResets the state of this canvas.
createStateCreates the state of the this canvas.
formatRounds all numbers to integers.
addOpAdds the given operation to the path.
rotatePointRotates the given point and returns the result as an mxPoint.
saveSaves the current state.
restoreRestores the current state.
setLinkSets the current link.
scaleScales the current state.
translateTranslates the current state.
rotateRotates the current state.
setAlphaSets the current alpha.
setFillColorSets the current fill color.
setGradientSets the current gradient.
setStrokeColorSets the current stroke color.
setStrokeWidthSets the current stroke width.
setDashedEnables or disables dashed lines.
setDashPatternSets the current dash pattern.
setLineCapSets the current line cap.
setLineJoinSets the current line join.
setMiterLimitSets the current miter limit.
setFontColorSets the current font color.
setFontColorSets the current font color.
setFontColorSets the current font color.
setFontSizeSets the current font size.
setFontFamilySets the current font family.
setFontStyleSets the current font style.
setShadowEnables or disables and configures the current shadow.
setShadowColorEnables or disables and configures the current shadow.
setShadowAlphaEnables or disables and configures the current shadow.
setShadowOffsetEnables or disables and configures the current shadow.
beginStarts a new path.
moveToMoves the current path the given coordinates.
lineToDraws a line to the given coordinates.
quadToAdds a quadratic curve to the current path.
curveToAdds a bezier curve to the current path.
arcToAdds the given arc to the current path.
closeCloses the current path.
endEmpty implementation for backwards compatibility.
+

mxAbstractCanvas2D

Base class for all canvases.  A description of the public API is available in mxXmlCanvas2D.  All color values of mxConstants.NONE will be converted to null in the state.

Summary
mxAbstractCanvas2DBase class for all canvases.
Functions
mxAbstractCanvas2DConstructs a new abstract canvas.
Variables
converterHolds the mxUrlConverter to convert image URLs.
stateHolds the current state.
statesStack of states.
pathHolds the current path as an array.
rotateHtmlSwitch for rotation of HTML.
lastXHolds the last x coordinate.
lastYHolds the last y coordinate.
moveOpContains the string used for moving in paths.
lineOpContains the string used for moving in paths.
quadOpContains the string used for quadratic paths.
curveOpContains the string used for bezier curves.
closeOpHolds the operator for closing curves.
pointerEventsBoolean value that specifies if events should be handled.
Functions
createUrlConverterCreate a new mxUrlConverter and returns it.
resetResets the state of this canvas.
createStateCreates the state of the this canvas.
formatRounds all numbers to integers.
addOpAdds the given operation to the path.
rotatePointRotates the given point and returns the result as an mxPoint.
saveSaves the current state.
restoreRestores the current state.
setLinkSets the current link.
scaleScales the current state.
translateTranslates the current state.
rotateRotates the current state.
setAlphaSets the current alpha.
setFillAlphaSets the current solid fill alpha.
setStrokeAlphaSets the current stroke alpha.
setFillColorSets the current fill color.
setGradientSets the current gradient.
setStrokeColorSets the current stroke color.
setStrokeWidthSets the current stroke width.
setDashedEnables or disables dashed lines.
setDashPatternSets the current dash pattern.
setLineCapSets the current line cap.
setLineJoinSets the current line join.
setMiterLimitSets the current miter limit.
setFontColorSets the current font color.
setFontColorSets the current font color.
setFontColorSets the current font color.
setFontSizeSets the current font size.
setFontFamilySets the current font family.
setFontStyleSets the current font style.
setShadowEnables or disables and configures the current shadow.
setShadowColorEnables or disables and configures the current shadow.
setShadowAlphaEnables or disables and configures the current shadow.
setShadowOffsetEnables or disables and configures the current shadow.
beginStarts a new path.
moveToMoves the current path the given coordinates.
lineToDraws a line to the given coordinates.
quadToAdds a quadratic curve to the current path.
curveToAdds a bezier curve to the current path.
arcToAdds the given arc to the current path.
closeCloses the current path.
endEmpty implementation for backwards compatibility.

Functions

@@ -19,7 +19,7 @@ if (browserType) {document.write("
");if (browserV

Variables

-

converter

this.converter

Holds the mxUrlConverter to convert image URLs.

+

converter

this.converter

Holds the mxUrlConverter to convert image URLs.

state

mxAbstractCanvas2D.prototype.state

Holds the current state.

@@ -47,7 +47,7 @@ if (browserType) {document.write("
");if (browserV

Functions

-

createUrlConverter

mxAbstractCanvas2D.prototype.createUrlConverter = function()

Create a new mxUrlConverter and returns it.

+

createUrlConverter

mxAbstractCanvas2D.prototype.createUrlConverter = function()

Create a new mxUrlConverter and returns it.

reset

mxAbstractCanvas2D.prototype.reset = function()

Resets the state of this canvas.

@@ -57,7 +57,7 @@ if (browserType) {document.write("
");if (browserV

addOp

mxAbstractCanvas2D.prototype.addOp = function()

Adds the given operation to the path.

-

rotatePoint

mxAbstractCanvas2D.prototype.rotatePoint = function(x,
y,
theta,
cx,
cy)

Rotates the given point and returns the result as an mxPoint.

+

rotatePoint

mxAbstractCanvas2D.prototype.rotatePoint = function(x,
y,
theta,
cx,
cy)

Rotates the given point and returns the result as an mxPoint.

save

mxAbstractCanvas2D.prototype.save = function()

Saves the current state.

@@ -73,6 +73,10 @@ if (browserType) {document.write("
");if (browserV

setAlpha

mxAbstractCanvas2D.prototype.setAlpha = function(value)

Sets the current alpha.

+

setFillAlpha

mxAbstractCanvas2D.prototype.setFillAlpha = function(value)

Sets the current solid fill alpha.

+ +

setStrokeAlpha

mxAbstractCanvas2D.prototype.setStrokeAlpha = function(value)

Sets the current stroke alpha.

+

setFillColor

mxAbstractCanvas2D.prototype.setFillColor = function(value)

Sets the current fill color.

setGradient

mxAbstractCanvas2D.prototype.setGradient = function(color1,
color2,
x,
y,
w,
h,
direction,
alpha1,
alpha2)

Sets the current gradient.

@@ -141,7 +145,7 @@ HideAllBut([10], 13);// -->
-
function mxAbstractCanvas2D()
Constructs a new abstract canvas.
this.converter
Holds the mxUrlConverter to convert image URLs.
Converts relative and absolute URLs to absolute URLs with protocol and domain.
mxAbstractCanvas2D.prototype.state
Holds the current state.
mxAbstractCanvas2D.prototype.states
Stack of states.
mxAbstractCanvas2D.prototype.path
Holds the current path as an array.
mxAbstractCanvas2D.prototype.rotateHtml
Switch for rotation of HTML.
mxAbstractCanvas2D.prototype.lastX
Holds the last x coordinate.
mxAbstractCanvas2D.prototype.lastY
Holds the last y coordinate.
mxAbstractCanvas2D.prototype.moveOp
Contains the string used for moving in paths.
mxAbstractCanvas2D.prototype.lineOp
Contains the string used for moving in paths.
mxAbstractCanvas2D.prototype.quadOp
Contains the string used for quadratic paths.
mxAbstractCanvas2D.prototype.curveOp
Contains the string used for bezier curves.
mxAbstractCanvas2D.prototype.closeOp
Holds the operator for closing curves.
mxAbstractCanvas2D.prototype.pointerEvents
Boolean value that specifies if events should be handled.
mxAbstractCanvas2D.prototype.createUrlConverter = function()
Create a new mxUrlConverter and returns it.
mxAbstractCanvas2D.prototype.reset = function()
Resets the state of this canvas.
mxAbstractCanvas2D.prototype.createState = function()
Creates the state of the this canvas.
mxAbstractCanvas2D.prototype.format = function(value)
Rounds all numbers to integers.
mxAbstractCanvas2D.prototype.addOp = function()
Adds the given operation to the path.
mxAbstractCanvas2D.prototype.rotatePoint = function(x,
y,
theta,
cx,
cy)
Rotates the given point and returns the result as an mxPoint.
Implements a 2-dimensional vector with double precision coordinates.
mxAbstractCanvas2D.prototype.save = function()
Saves the current state.
mxAbstractCanvas2D.prototype.restore = function()
Restores the current state.
mxAbstractCanvas2D.prototype.setLink = function(link)
Sets the current link.
mxAbstractCanvas2D.prototype.scale = function(value)
Scales the current state.
mxAbstractCanvas2D.prototype.translate = function(dx,
dy)
Translates the current state.
mxAbstractCanvas2D.prototype.rotate = function(theta,
flipH,
flipV,
cx,
cy)
Rotates the current state.
mxAbstractCanvas2D.prototype.setAlpha = function(value)
Sets the current alpha.
mxAbstractCanvas2D.prototype.setFillColor = function(value)
Sets the current fill color.
mxAbstractCanvas2D.prototype.setGradient = function(color1,
color2,
x,
y,
w,
h,
direction,
alpha1,
alpha2)
Sets the current gradient.
mxAbstractCanvas2D.prototype.setStrokeColor = function(value)
Sets the current stroke color.
mxAbstractCanvas2D.prototype.setStrokeWidth = function(value)
Sets the current stroke width.
mxAbstractCanvas2D.prototype.setDashed = function(value)
Enables or disables dashed lines.
mxAbstractCanvas2D.prototype.setDashPattern = function(value)
Sets the current dash pattern.
mxAbstractCanvas2D.prototype.setLineCap = function(value)
Sets the current line cap.
mxAbstractCanvas2D.prototype.setLineJoin = function(value)
Sets the current line join.
mxAbstractCanvas2D.prototype.setMiterLimit = function(value)
Sets the current miter limit.
mxAbstractCanvas2D.prototype.setFontColor = function(value)
Sets the current font color.
mxAbstractCanvas2D.prototype.setFontSize = function(value)
Sets the current font size.
mxAbstractCanvas2D.prototype.setFontFamily = function(value)
Sets the current font family.
mxAbstractCanvas2D.prototype.setFontStyle = function(value)
Sets the current font style.
mxAbstractCanvas2D.prototype.setShadow = function(enabled)
Enables or disables and configures the current shadow.
mxAbstractCanvas2D.prototype.setShadowColor = function(value)
Enables or disables and configures the current shadow.
mxAbstractCanvas2D.prototype.setShadowAlpha = function(value)
Enables or disables and configures the current shadow.
mxAbstractCanvas2D.prototype.setShadowOffset = function(dx,
dy)
Enables or disables and configures the current shadow.
mxAbstractCanvas2D.prototype.begin = function()
Starts a new path.
mxAbstractCanvas2D.prototype.moveTo = function(x,
y)
Moves the current path the given coordinates.
mxAbstractCanvas2D.prototype.lineTo = function(x,
y)
Draws a line to the given coordinates.
mxAbstractCanvas2D.prototype.quadTo = function(x1,
y1,
x2,
y2)
Adds a quadratic curve to the current path.
mxAbstractCanvas2D.prototype.curveTo = function(x1,
y1,
x2,
y2,
x3,
y3)
Adds a bezier curve to the current path.
mxAbstractCanvas2D.prototype.arcTo = function(rx,
ry,
angle,
largeArcFlag,
sweepFlag,
x,
y)
Adds the given arc to the current path.
mxAbstractCanvas2D.prototype.close = function(x1,
y1,
x2,
y2,
x3,
y3)
Closes the current path.
mxAbstractCanvas2D.prototype.end = function()
Empty implementation for backwards compatibility.
Base class for all canvases.
Defines the value for none.
+
function mxAbstractCanvas2D()
Constructs a new abstract canvas.
this.converter
Holds the mxUrlConverter to convert image URLs.
Converts relative and absolute URLs to absolute URLs with protocol and domain.
mxAbstractCanvas2D.prototype.state
Holds the current state.
mxAbstractCanvas2D.prototype.states
Stack of states.
mxAbstractCanvas2D.prototype.path
Holds the current path as an array.
mxAbstractCanvas2D.prototype.rotateHtml
Switch for rotation of HTML.
mxAbstractCanvas2D.prototype.lastX
Holds the last x coordinate.
mxAbstractCanvas2D.prototype.lastY
Holds the last y coordinate.
mxAbstractCanvas2D.prototype.moveOp
Contains the string used for moving in paths.
mxAbstractCanvas2D.prototype.lineOp
Contains the string used for moving in paths.
mxAbstractCanvas2D.prototype.quadOp
Contains the string used for quadratic paths.
mxAbstractCanvas2D.prototype.curveOp
Contains the string used for bezier curves.
mxAbstractCanvas2D.prototype.closeOp
Holds the operator for closing curves.
mxAbstractCanvas2D.prototype.pointerEvents
Boolean value that specifies if events should be handled.
mxAbstractCanvas2D.prototype.createUrlConverter = function()
Create a new mxUrlConverter and returns it.
mxAbstractCanvas2D.prototype.reset = function()
Resets the state of this canvas.
mxAbstractCanvas2D.prototype.createState = function()
Creates the state of the this canvas.
mxAbstractCanvas2D.prototype.format = function(value)
Rounds all numbers to integers.
mxAbstractCanvas2D.prototype.addOp = function()
Adds the given operation to the path.
mxAbstractCanvas2D.prototype.rotatePoint = function(x,
y,
theta,
cx,
cy)
Rotates the given point and returns the result as an mxPoint.
Implements a 2-dimensional vector with double precision coordinates.
mxAbstractCanvas2D.prototype.save = function()
Saves the current state.
mxAbstractCanvas2D.prototype.restore = function()
Restores the current state.
mxAbstractCanvas2D.prototype.setLink = function(link)
Sets the current link.
mxAbstractCanvas2D.prototype.scale = function(value)
Scales the current state.
mxAbstractCanvas2D.prototype.translate = function(dx,
dy)
Translates the current state.
mxAbstractCanvas2D.prototype.rotate = function(theta,
flipH,
flipV,
cx,
cy)
Rotates the current state.
mxAbstractCanvas2D.prototype.setAlpha = function(value)
Sets the current alpha.
mxAbstractCanvas2D.prototype.setFillAlpha = function(value)
Sets the current solid fill alpha.
mxAbstractCanvas2D.prototype.setStrokeAlpha = function(value)
Sets the current stroke alpha.
mxAbstractCanvas2D.prototype.setFillColor = function(value)
Sets the current fill color.
mxAbstractCanvas2D.prototype.setGradient = function(color1,
color2,
x,
y,
w,
h,
direction,
alpha1,
alpha2)
Sets the current gradient.
mxAbstractCanvas2D.prototype.setStrokeColor = function(value)
Sets the current stroke color.
mxAbstractCanvas2D.prototype.setStrokeWidth = function(value)
Sets the current stroke width.
mxAbstractCanvas2D.prototype.setDashed = function(value)
Enables or disables dashed lines.
mxAbstractCanvas2D.prototype.setDashPattern = function(value)
Sets the current dash pattern.
mxAbstractCanvas2D.prototype.setLineCap = function(value)
Sets the current line cap.
mxAbstractCanvas2D.prototype.setLineJoin = function(value)
Sets the current line join.
mxAbstractCanvas2D.prototype.setMiterLimit = function(value)
Sets the current miter limit.
mxAbstractCanvas2D.prototype.setFontColor = function(value)
Sets the current font color.
mxAbstractCanvas2D.prototype.setFontSize = function(value)
Sets the current font size.
mxAbstractCanvas2D.prototype.setFontFamily = function(value)
Sets the current font family.
mxAbstractCanvas2D.prototype.setFontStyle = function(value)
Sets the current font style.
mxAbstractCanvas2D.prototype.setShadow = function(enabled)
Enables or disables and configures the current shadow.
mxAbstractCanvas2D.prototype.setShadowColor = function(value)
Enables or disables and configures the current shadow.
mxAbstractCanvas2D.prototype.setShadowAlpha = function(value)
Enables or disables and configures the current shadow.
mxAbstractCanvas2D.prototype.setShadowOffset = function(dx,
dy)
Enables or disables and configures the current shadow.
mxAbstractCanvas2D.prototype.begin = function()
Starts a new path.
mxAbstractCanvas2D.prototype.moveTo = function(x,
y)
Moves the current path the given coordinates.
mxAbstractCanvas2D.prototype.lineTo = function(x,
y)
Draws a line to the given coordinates.
mxAbstractCanvas2D.prototype.quadTo = function(x1,
y1,
x2,
y2)
Adds a quadratic curve to the current path.
mxAbstractCanvas2D.prototype.curveTo = function(x1,
y1,
x2,
y2,
x3,
y3)
Adds a bezier curve to the current path.
mxAbstractCanvas2D.prototype.arcTo = function(rx,
ry,
angle,
largeArcFlag,
sweepFlag,
x,
y)
Adds the given arc to the current path.
mxAbstractCanvas2D.prototype.close = function(x1,
y1,
x2,
y2,
x3,
y3)
Closes the current path.
mxAbstractCanvas2D.prototype.end = function()
Empty implementation for backwards compatibility.
Base class for all canvases.
Defines the value for none.
diff --git a/docs/js-api/files/util/mxConstants-js.html b/docs/js-api/files/util/mxConstants-js.html index a340ffe43..49e63553d 100644 --- a/docs/js-api/files/util/mxConstants-js.html +++ b/docs/js-api/files/util/mxConstants-js.html @@ -11,7 +11,7 @@ if (browserType) {document.write("
");if (browserV -

mxConstants

Defines various global constants.

Summary
mxConstantsDefines various global constants.
Variables
DEFAULT_HOTSPOTDefines the portion of the cell which is to be used as a connectable region.
MIN_HOTSPOT_SIZEDefines the minimum size in pixels of the portion of the cell which is to be used as a connectable region.
MAX_HOTSPOT_SIZEDefines the maximum size in pixels of the portion of the cell which is to be used as a connectable region.
RENDERING_HINT_EXACTDefines the exact rendering hint.
RENDERING_HINT_FASTERDefines the faster rendering hint.
RENDERING_HINT_FASTESTDefines the fastest rendering hint.
DIALECT_SVGDefines the SVG display dialect name.
DIALECT_VMLDefines the VML display dialect name.
DIALECT_MIXEDHTMLDefines the mixed HTML display dialect name.
DIALECT_PREFERHTMLDefines the preferred HTML display dialect name.
DIALECT_STRICTHTMLDefines the strict HTML display dialect.
NS_SVGDefines the SVG namespace.
NS_XHTMLDefines the XHTML namespace.
NS_XLINKDefines the XLink namespace.
SHADOWCOLORDefines the color to be used to draw shadows in shapes and windows.
VML_SHADOWCOLORUsed for shadow color in filters where transparency is not supported (Microsoft Internet Explorer).
SHADOW_OFFSET_XSpecifies the x-offset of the shadow.
SHADOW_OFFSET_YSpecifies the y-offset of the shadow.
SHADOW_OPACITYDefines the opacity for shadows.
NODETYPE_ELEMENTDOM node of type ELEMENT.
NODETYPE_ATTRIBUTEDOM node of type ATTRIBUTE.
NODETYPE_TEXTDOM node of type TEXT.
NODETYPE_CDATADOM node of type CDATA.
NODETYPE_ENTITY_REFERENCEDOM node of type ENTITY_REFERENCE.
NODETYPE_ENTITYDOM node of type ENTITY.
NODETYPE_PROCESSING_INSTRUCTIONDOM node of type PROCESSING_INSTRUCTION.
NODETYPE_COMMENTDOM node of type COMMENT.
NODETYPE_DOCUMENTDOM node of type DOCUMENT.
NODETYPE_DOCUMENTTYPEDOM node of type DOCUMENTTYPE.
NODETYPE_DOCUMENT_FRAGMENTDOM node of type DOCUMENT_FRAGMENT.
NODETYPE_NOTATIONDOM node of type NOTATION.
TOOLTIP_VERTICAL_OFFSETDefines the vertical offset for the tooltip.
DEFAULT_VALID_COLORSpecifies the default valid color.
DEFAULT_INVALID_COLORSpecifies the default invalid color.
OUTLINE_HIGHLIGHT_COLORSpecifies the default highlight color for shape outlines.
OUTLINE_HIGHLIGHT_COLORDefines the strokewidth to be used for shape outlines.
HIGHLIGHT_STROKEWIDTHDefines the strokewidth to be used for the highlights.
CONSTRAINT_HIGHLIGHT_SIZESize of the constraint highlight (in px).
HIGHLIGHT_OPACITYOpacity (in %) used for the highlights (including outline).
CURSOR_MOVABLE_VERTEXDefines the cursor for a movable vertex.
CURSOR_MOVABLE_EDGEDefines the cursor for a movable edge.
CURSOR_LABEL_HANDLEDefines the cursor for a movable label.
CURSOR_TERMINAL_HANDLEDefines the cursor for a terminal handle.
CURSOR_BEND_HANDLEDefines the cursor for a movable bend.
CURSOR_VIRTUAL_BEND_HANDLEDefines the cursor for a movable bend.
CURSOR_CONNECTDefines the cursor for a connectable state.
HIGHLIGHT_COLORDefines the color to be used for the cell highlighting.
TARGET_HIGHLIGHT_COLORDefines the color to be used for highlighting a target cell for a new or changed connection.
INVALID_CONNECT_TARGET_COLORDefines the color to be used for highlighting a invalid target cells for a new or changed connections.
DROP_TARGET_COLORDefines the color to be used for the highlighting target parent cells (for drag and drop).
VALID_COLORDefines the color to be used for the coloring valid connection previews.
INVALID_COLORDefines the color to be used for the coloring invalid connection previews.
EDGE_SELECTION_COLORDefines the color to be used for the selection border of edges.
VERTEX_SELECTION_COLORDefines the color to be used for the selection border of vertices.
VERTEX_SELECTION_STROKEWIDTHDefines the strokewidth to be used for vertex selections.
EDGE_SELECTION_STROKEWIDTHDefines the strokewidth to be used for edge selections.
SELECTION_DASHEDDefines the dashed state to be used for the vertex selection border.
SELECTION_DASHEDDefines the dashed state to be used for the edge selection border.
GUIDE_COLORDefines the color to be used for the guidelines in mxGraphHandler.
GUIDE_STROKEWIDTHDefines the strokewidth to be used for the guidelines in mxGraphHandler.
OUTLINE_COLORDefines the color to be used for the outline rectangle border.
OUTLINE_STROKEWIDTHDefines the strokewidth to be used for the outline rectangle stroke width.
HANDLE_SIZEDefines the default size for handles.
LABEL_HANDLE_SIZEDefines the default size for label handles.
HANDLE_FILLCOLORDefines the color to be used for the handle fill color.
HANDLE_STROKECOLORDefines the color to be used for the handle stroke color.
LABEL_HANDLE_FILLCOLORDefines the color to be used for the label handle fill color.
CONNECT_HANDLE_FILLCOLORDefines the color to be used for the connect handle fill color.
LOCKED_HANDLE_FILLCOLORDefines the color to be used for the locked handle fill color.
OUTLINE_HANDLE_FILLCOLORDefines the color to be used for the outline sizer fill color.
OUTLINE_HANDLE_STROKECOLORDefines the color to be used for the outline sizer stroke color.
DEFAULT_FONTFAMILYDefines the default family for all fonts in points.
DEFAULT_FONTSIZEDefines the default size for all fonts in points.
DEFAULT_TEXT_DIRECTIONDefines the default value for the STYLE_TEXT_DIRECTION if no value is defined for it in the style.
LINE_HEIGHTDefines the default line height for text labels.
ABSOLUTE_LINE_HEIGHTSpecifies if absolute line heights should be used (px) in CSS.
DEFAULT_FONTSTYLEDefines the default style for all fonts.
DEFAULT_STARTSIZEDefines the default start size for swimlanes.
DEFAULT_MARKERSIZEDefines the default size for all markers.
DEFAULT_IMAGESIZEDefines the default width and height for images used in the label shape.
ENTITY_SEGMENTDefines the length of the horizontal segment of an Entity Relation.
RECTANGLE_ROUNDING_FACTORDefines the rounding factor for rounded rectangles in percent between 0 and 1.
LINE_ARCSIZEDefines the size of the arcs for rounded edges.
ARROW_SPACINGDefines the spacing between the arrow shape and its terminals.
ARROW_WIDTHDefines the width of the arrow shape.
ARROW_SIZEDefines the size of the arrowhead in the arrow shape.
PAGE_FORMAT_A4_PORTRAITDefines the rectangle for the A4 portrait page format.
PAGE_FORMAT_A4_PORTRAITDefines the rectangle for the A4 portrait page format.
PAGE_FORMAT_LETTER_PORTRAITDefines the rectangle for the Letter portrait page format.
PAGE_FORMAT_LETTER_PORTRAITDefines the rectangle for the Letter portrait page format.
NONEDefines the value for none.
STYLE_PERIMETERDefines the key for the perimeter style.
STYLE_SOURCE_PORTDefines the ID of the cell that should be used for computing the perimeter point of the source for an edge.
STYLE_TARGET_PORTDefines the ID of the cell that should be used for computing the perimeter point of the target for an edge.
STYLE_PORT_CONSTRAINTDefines the direction(s) that edges are allowed to connect to cells in.
STYLE_PORT_CONSTRAINT_ROTATIONDefine whether port constraint directions are rotated with vertex rotation.
STYLE_OPACITYDefines the key for the opacity style.
STYLE_TEXT_OPACITYDefines the key for the text opacity style.
STYLE_TEXT_DIRECTIONDefines the key for the text direction style.
STYLE_OVERFLOWDefines the key for the overflow style.
STYLE_ORTHOGONALDefines if the connection points on either end of the edge should be computed so that the edge is vertical or horizontal if possible and if the point is not at a fixed location.
STYLE_EXIT_XDefines the key for the horizontal relative coordinate connection point of an edge with its source terminal.
STYLE_EXIT_YDefines the key for the vertical relative coordinate connection point of an edge with its source terminal.
STYLE_EXIT_PERIMETERDefines if the perimeter should be used to find the exact entry point along the perimeter of the source.
STYLE_ENTRY_XDefines the key for the horizontal relative coordinate connection point of an edge with its target terminal.
STYLE_ENTRY_YDefines the key for the vertical relative coordinate connection point of an edge with its target terminal.
STYLE_ENTRY_PERIMETERDefines if the perimeter should be used to find the exact entry point along the perimeter of the target.
STYLE_WHITE_SPACEDefines the key for the white-space style.
STYLE_ROTATIONDefines the key for the rotation style.
STYLE_FILLCOLORDefines the key for the fill color.
STYLE_POINTER_EVENTSSpecifies if pointer events should be fired on transparent backgrounds.
STYLE_SWIMLANE_FILLCOLORDefines the key for the fill color of the swimlane background.
STYLE_MARGINDefines the key for the margin between the ellipses in the double ellipse shape.
STYLE_GRADIENTCOLORDefines the key for the gradient color.
STYLE_GRADIENT_DIRECTIONDefines the key for the gradient direction.
STYLE_STROKECOLORDefines the key for the strokeColor style.
STYLE_SEPARATORCOLORDefines the key for the separatorColor style.
STYLE_STROKEWIDTHDefines the key for the strokeWidth style.
STYLE_ALIGNDefines the key for the align style.
STYLE_VERTICAL_ALIGNDefines the key for the verticalAlign style.
STYLE_LABEL_WIDTHDefines the key for the width of the label if the label position is not center.
STYLE_LABEL_POSITIONDefines the key for the horizontal label position of vertices.
STYLE_VERTICAL_LABEL_POSITIONDefines the key for the vertical label position of vertices.
STYLE_IMAGE_ASPECTDefines the key for the image aspect style.
STYLE_IMAGE_ALIGNDefines the key for the align style.
STYLE_IMAGE_VERTICAL_ALIGNDefines the key for the verticalAlign style.
STYLE_GLASSDefines the key for the glass style.
STYLE_IMAGEDefines the key for the image style.
STYLE_IMAGE_WIDTHDefines the key for the imageWidth style.
STYLE_IMAGE_HEIGHTDefines the key for the imageHeight style.
STYLE_IMAGE_BACKGROUNDDefines the key for the image background color.
STYLE_IMAGE_BORDERDefines the key for the image border color.
STYLE_FLIPHDefines the key for the horizontal image flip.
STYLE_FLIPVDefines the key for the vertical flip.
STYLE_NOLABELDefines the key for the noLabel style.
STYLE_NOEDGESTYLEDefines the key for the noEdgeStyle style.
STYLE_LABEL_BACKGROUNDCOLORDefines the key for the label background color.
STYLE_LABEL_BORDERCOLORDefines the key for the label border color.
STYLE_LABEL_PADDINGDefines the key for the label padding, ie.
STYLE_INDICATOR_SHAPEDefines the key for the indicator shape used within an mxLabel.
STYLE_INDICATOR_IMAGEDefines the key for the indicator image used within an mxLabel.
STYLE_INDICATOR_COLORDefines the key for the indicatorColor style.
STYLE_INDICATOR_STROKECOLORDefines the key for the indicator stroke color in mxLabel.
STYLE_INDICATOR_GRADIENTCOLORDefines the key for the indicatorGradientColor style.
STYLE_INDICATOR_SPACINGThe defines the key for the spacing between the label and the indicator in mxLabel.
STYLE_INDICATOR_WIDTHDefines the key for the indicator width.
STYLE_INDICATOR_HEIGHTDefines the key for the indicator height.
STYLE_INDICATOR_DIRECTIONDefines the key for the indicatorDirection style.
STYLE_SHADOWDefines the key for the shadow style.
STYLE_SEGMENTDefines the key for the segment style.
STYLE_ENDARROWDefines the key for the end arrow marker.
STYLE_STARTARROWDefines the key for the start arrow marker.
STYLE_ENDSIZEDefines the key for the endSize style.
STYLE_STARTSIZEDefines the key for the startSize style.
STYLE_SWIMLANE_LINEDefines the key for the swimlaneLine style.
STYLE_ENDFILLDefines the key for the endFill style.
STYLE_STARTFILLDefines the key for the startFill style.
STYLE_DASHEDDefines the key for the dashed style.
STYLE_ROUNDEDDefines the key for the rounded style.
STYLE_CURVEDDefines the key for the curved style.
STYLE_ARCSIZEDefines the rounding factor for a rounded rectangle in percent (without the percent sign).
STYLE_SMOOTHAn experimental style for edges.
STYLE_SOURCE_PERIMETER_SPACINGDefines the key for the source perimeter spacing.
STYLE_TARGET_PERIMETER_SPACINGDefines the key for the target perimeter spacing.
STYLE_PERIMETER_SPACINGDefines the key for the perimeter spacing.
STYLE_SPACINGDefines the key for the spacing.
STYLE_SPACING_TOPDefines the key for the spacingTop style.
STYLE_SPACING_LEFTDefines the key for the spacingLeft style.
STYLE_SPACING_BOTTOMDefines the key for the spacingBottom style The value represents the spacing, in pixels, added to the bottom side of a label in a vertex (style applies to vertices only).
STYLE_SPACING_RIGHTDefines the key for the spacingRight style The value represents the spacing, in pixels, added to the right side of a label in a vertex (style applies to vertices only).
STYLE_HORIZONTALDefines the key for the horizontal style.
STYLE_DIRECTIONDefines the key for the direction style.
STYLE_ELBOWDefines the key for the elbow style.
STYLE_FONTCOLORDefines the key for the fontColor style.
STYLE_FONTFAMILYDefines the key for the fontFamily style.
STYLE_FONTSIZEDefines the key for the fontSize style (in points).
STYLE_FONTSTYLEDefines the key for the fontStyle style.
STYLE_ASPECTDefines the key for the aspect style.
STYLE_AUTOSIZEDefines the key for the autosize style.
STYLE_FOLDABLEDefines the key for the foldable style.
STYLE_EDITABLEDefines the key for the editable style.
STYLE_BENDABLEDefines the key for the bendable style.
STYLE_MOVABLEDefines the key for the movable style.
STYLE_RESIZABLEDefines the key for the resizable style.
STYLE_RESIZE_WIDTHDefines the key for the resizeWidth style.
STYLE_RESIZE_WIDTHDefines the key for the resizeHeight style.
STYLE_ROTATABLEDefines the key for the rotatable style.
STYLE_CLONEABLEDefines the key for the cloneable style.
STYLE_DELETABLEDefines the key for the deletable style.
STYLE_SHAPEDefines the key for the shape.
STYLE_EDGEDefines the key for the edge style.
STYLE_JETTY_SIZEDefines the key for the jetty size in mxEdgeStyle.OrthConnector.
STYLE_SOURCE_JETTY_SIZEDefines the key for the jetty size in mxEdgeStyle.OrthConnector.
targetJettySizeDefines the key for the jetty size in mxEdgeStyle.OrthConnector.
STYLE_LOOPDefines the key for the loop style.
STYLE_ORTHOGONAL_LOOPDefines the key for the orthogonal loop style.
STYLE_ROUTING_CENTER_XDefines the key for the horizontal routing center.
STYLE_ROUTING_CENTER_YDefines the key for the vertical routing center.
FONT_BOLDConstant for bold fonts.
FONT_ITALICConstant for italic fonts.
FONT_UNDERLINEConstant for underlined fonts.
SHAPE_RECTANGLEName under which mxRectangleShape is registered in mxCellRenderer.
SHAPE_ELLIPSEName under which mxEllipse is registered in mxCellRenderer.
SHAPE_DOUBLE_ELLIPSEName under which mxDoubleEllipse is registered in mxCellRenderer.
SHAPE_RHOMBUSName under which mxRhombus is registered in mxCellRenderer.
SHAPE_LINEName under which mxLine is registered in mxCellRenderer.
SHAPE_IMAGEName under which mxImageShape is registered in mxCellRenderer.
SHAPE_ARROWName under which mxArrow is registered in mxCellRenderer.
SHAPE_ARROW_CONNECTORName under which mxArrowConnector is registered in mxCellRenderer.
SHAPE_LABELName under which mxLabel is registered in mxCellRenderer.
SHAPE_CYLINDERName under which mxCylinder is registered in mxCellRenderer.
SHAPE_SWIMLANEName under which mxSwimlane is registered in mxCellRenderer.
SHAPE_CONNECTORName under which mxConnector is registered in mxCellRenderer.
SHAPE_ACTORName under which mxActor is registered in mxCellRenderer.
SHAPE_CLOUDName under which mxCloud is registered in mxCellRenderer.
SHAPE_TRIANGLEName under which mxTriangle is registered in mxCellRenderer.
SHAPE_HEXAGONName under which mxHexagon is registered in mxCellRenderer.
ARROW_CLASSICConstant for classic arrow markers.
ARROW_CLASSIC_THINConstant for thin classic arrow markers.
ARROW_BLOCKConstant for block arrow markers.
ARROW_BLOCK_THINConstant for thin block arrow markers.
ARROW_OPENConstant for open arrow markers.
ARROW_OPEN_THINConstant for thin open arrow markers.
ARROW_OVALConstant for oval arrow markers.
ARROW_DIAMONDConstant for diamond arrow markers.
ARROW_DIAMOND_THINConstant for thin diamond arrow markers.
ALIGN_LEFTConstant for left horizontal alignment.
ALIGN_CENTERConstant for center horizontal alignment.
ALIGN_RIGHTConstant for right horizontal alignment.
ALIGN_TOPConstant for top vertical alignment.
ALIGN_MIDDLEConstant for middle vertical alignment.
ALIGN_BOTTOMConstant for bottom vertical alignment.
DIRECTION_NORTHConstant for direction north.
DIRECTION_SOUTHConstant for direction south.
DIRECTION_EASTConstant for direction east.
DIRECTION_WESTConstant for direction west.
TEXT_DIRECTION_DEFAULTConstant for text direction default.
TEXT_DIRECTION_AUTOConstant for text direction automatic.
TEXT_DIRECTION_LTRConstant for text direction left to right.
TEXT_DIRECTION_RTLConstant for text direction right to left.
DIRECTION_MASK_NONEConstant for no direction.
DIRECTION_MASK_WESTBitwise mask for west direction.
DIRECTION_MASK_NORTHBitwise mask for north direction.
DIRECTION_MASK_SOUTHBitwise mask for south direction.
DIRECTION_MASK_EASTBitwise mask for east direction.
DIRECTION_MASK_ALLBitwise mask for all directions.
ELBOW_VERTICALConstant for elbow vertical.
ELBOW_HORIZONTALConstant for elbow horizontal.
EDGESTYLE_ELBOWName of the elbow edge style.
EDGESTYLE_ENTITY_RELATIONName of the entity relation edge style.
EDGESTYLE_LOOPName of the loop edge style.
EDGESTYLE_SIDETOSIDEName of the side to side edge style.
EDGESTYLE_TOPTOBOTTOMName of the top to bottom edge style.
EDGESTYLE_ORTHOGONALName of the generic orthogonal edge style.
EDGESTYLE_SEGMENTName of the generic segment edge style.
PERIMETER_ELLIPSEName of the ellipse perimeter.
PERIMETER_RECTANGLEName of the rectangle perimeter.
PERIMETER_RHOMBUSName of the rhombus perimeter.
PERIMETER_HEXAGONName of the hexagon perimeter.
PERIMETER_TRIANGLEName of the triangle perimeter.
+

mxConstants

Defines various global constants.

Summary
mxConstantsDefines various global constants.
Variables
DEFAULT_HOTSPOTDefines the portion of the cell which is to be used as a connectable region.
MIN_HOTSPOT_SIZEDefines the minimum size in pixels of the portion of the cell which is to be used as a connectable region.
MAX_HOTSPOT_SIZEDefines the maximum size in pixels of the portion of the cell which is to be used as a connectable region.
RENDERING_HINT_EXACTDefines the exact rendering hint.
RENDERING_HINT_FASTERDefines the faster rendering hint.
RENDERING_HINT_FASTESTDefines the fastest rendering hint.
DIALECT_SVGDefines the SVG display dialect name.
DIALECT_VMLDefines the VML display dialect name.
DIALECT_MIXEDHTMLDefines the mixed HTML display dialect name.
DIALECT_PREFERHTMLDefines the preferred HTML display dialect name.
DIALECT_STRICTHTMLDefines the strict HTML display dialect.
NS_SVGDefines the SVG namespace.
NS_XHTMLDefines the XHTML namespace.
NS_XLINKDefines the XLink namespace.
SHADOWCOLORDefines the color to be used to draw shadows in shapes and windows.
VML_SHADOWCOLORUsed for shadow color in filters where transparency is not supported (Microsoft Internet Explorer).
SHADOW_OFFSET_XSpecifies the x-offset of the shadow.
SHADOW_OFFSET_YSpecifies the y-offset of the shadow.
SHADOW_OPACITYDefines the opacity for shadows.
NODETYPE_ELEMENTDOM node of type ELEMENT.
NODETYPE_ATTRIBUTEDOM node of type ATTRIBUTE.
NODETYPE_TEXTDOM node of type TEXT.
NODETYPE_CDATADOM node of type CDATA.
NODETYPE_ENTITY_REFERENCEDOM node of type ENTITY_REFERENCE.
NODETYPE_ENTITYDOM node of type ENTITY.
NODETYPE_PROCESSING_INSTRUCTIONDOM node of type PROCESSING_INSTRUCTION.
NODETYPE_COMMENTDOM node of type COMMENT.
NODETYPE_DOCUMENTDOM node of type DOCUMENT.
NODETYPE_DOCUMENTTYPEDOM node of type DOCUMENTTYPE.
NODETYPE_DOCUMENT_FRAGMENTDOM node of type DOCUMENT_FRAGMENT.
NODETYPE_NOTATIONDOM node of type NOTATION.
TOOLTIP_VERTICAL_OFFSETDefines the vertical offset for the tooltip.
DEFAULT_VALID_COLORSpecifies the default valid color.
DEFAULT_INVALID_COLORSpecifies the default invalid color.
OUTLINE_HIGHLIGHT_COLORSpecifies the default highlight color for shape outlines.
OUTLINE_HIGHLIGHT_COLORDefines the strokewidth to be used for shape outlines.
HIGHLIGHT_STROKEWIDTHDefines the strokewidth to be used for the highlights.
CONSTRAINT_HIGHLIGHT_SIZESize of the constraint highlight (in px).
HIGHLIGHT_OPACITYOpacity (in %) used for the highlights (including outline).
CURSOR_MOVABLE_VERTEXDefines the cursor for a movable vertex.
CURSOR_MOVABLE_EDGEDefines the cursor for a movable edge.
CURSOR_LABEL_HANDLEDefines the cursor for a movable label.
CURSOR_TERMINAL_HANDLEDefines the cursor for a terminal handle.
CURSOR_BEND_HANDLEDefines the cursor for a movable bend.
CURSOR_VIRTUAL_BEND_HANDLEDefines the cursor for a movable bend.
CURSOR_CONNECTDefines the cursor for a connectable state.
HIGHLIGHT_COLORDefines the color to be used for the cell highlighting.
TARGET_HIGHLIGHT_COLORDefines the color to be used for highlighting a target cell for a new or changed connection.
INVALID_CONNECT_TARGET_COLORDefines the color to be used for highlighting a invalid target cells for a new or changed connections.
DROP_TARGET_COLORDefines the color to be used for the highlighting target parent cells (for drag and drop).
VALID_COLORDefines the color to be used for the coloring valid connection previews.
INVALID_COLORDefines the color to be used for the coloring invalid connection previews.
EDGE_SELECTION_COLORDefines the color to be used for the selection border of edges.
VERTEX_SELECTION_COLORDefines the color to be used for the selection border of vertices.
VERTEX_SELECTION_STROKEWIDTHDefines the strokewidth to be used for vertex selections.
EDGE_SELECTION_STROKEWIDTHDefines the strokewidth to be used for edge selections.
SELECTION_DASHEDDefines the dashed state to be used for the vertex selection border.
SELECTION_DASHEDDefines the dashed state to be used for the edge selection border.
GUIDE_COLORDefines the color to be used for the guidelines in mxGraphHandler.
GUIDE_STROKEWIDTHDefines the strokewidth to be used for the guidelines in mxGraphHandler.
OUTLINE_COLORDefines the color to be used for the outline rectangle border.
OUTLINE_STROKEWIDTHDefines the strokewidth to be used for the outline rectangle stroke width.
HANDLE_SIZEDefines the default size for handles.
LABEL_HANDLE_SIZEDefines the default size for label handles.
HANDLE_FILLCOLORDefines the color to be used for the handle fill color.
HANDLE_STROKECOLORDefines the color to be used for the handle stroke color.
LABEL_HANDLE_FILLCOLORDefines the color to be used for the label handle fill color.
CONNECT_HANDLE_FILLCOLORDefines the color to be used for the connect handle fill color.
LOCKED_HANDLE_FILLCOLORDefines the color to be used for the locked handle fill color.
OUTLINE_HANDLE_FILLCOLORDefines the color to be used for the outline sizer fill color.
OUTLINE_HANDLE_STROKECOLORDefines the color to be used for the outline sizer stroke color.
DEFAULT_FONTFAMILYDefines the default family for all fonts in points.
DEFAULT_FONTSIZEDefines the default size for all fonts in points.
DEFAULT_TEXT_DIRECTIONDefines the default value for the STYLE_TEXT_DIRECTION if no value is defined for it in the style.
LINE_HEIGHTDefines the default line height for text labels.
ABSOLUTE_LINE_HEIGHTSpecifies if absolute line heights should be used (px) in CSS.
DEFAULT_FONTSTYLEDefines the default style for all fonts.
DEFAULT_STARTSIZEDefines the default start size for swimlanes.
DEFAULT_MARKERSIZEDefines the default size for all markers.
DEFAULT_IMAGESIZEDefines the default width and height for images used in the label shape.
ENTITY_SEGMENTDefines the length of the horizontal segment of an Entity Relation.
RECTANGLE_ROUNDING_FACTORDefines the rounding factor for rounded rectangles in percent between 0 and 1.
LINE_ARCSIZEDefines the size of the arcs for rounded edges.
ARROW_SPACINGDefines the spacing between the arrow shape and its terminals.
ARROW_WIDTHDefines the width of the arrow shape.
ARROW_SIZEDefines the size of the arrowhead in the arrow shape.
PAGE_FORMAT_A4_PORTRAITDefines the rectangle for the A4 portrait page format.
PAGE_FORMAT_A4_PORTRAITDefines the rectangle for the A4 portrait page format.
PAGE_FORMAT_LETTER_PORTRAITDefines the rectangle for the Letter portrait page format.
PAGE_FORMAT_LETTER_PORTRAITDefines the rectangle for the Letter portrait page format.
NONEDefines the value for none.
STYLE_PERIMETERDefines the key for the perimeter style.
STYLE_SOURCE_PORTDefines the ID of the cell that should be used for computing the perimeter point of the source for an edge.
STYLE_TARGET_PORTDefines the ID of the cell that should be used for computing the perimeter point of the target for an edge.
STYLE_PORT_CONSTRAINTDefines the direction(s) that edges are allowed to connect to cells in.
STYLE_PORT_CONSTRAINT_ROTATIONDefine whether port constraint directions are rotated with vertex rotation.
STYLE_OPACITYDefines the key for the opacity style.
STYLE_FILL_OPACITYDefines the key for the fill opacity style.
STYLE_STROKE_OPACITYDefines the key for the stroke opacity style.
STYLE_TEXT_OPACITYDefines the key for the text opacity style.
STYLE_TEXT_DIRECTIONDefines the key for the text direction style.
STYLE_OVERFLOWDefines the key for the overflow style.
STYLE_ORTHOGONALDefines if the connection points on either end of the edge should be computed so that the edge is vertical or horizontal if possible and if the point is not at a fixed location.
STYLE_EXIT_XDefines the key for the horizontal relative coordinate connection point of an edge with its source terminal.
STYLE_EXIT_YDefines the key for the vertical relative coordinate connection point of an edge with its source terminal.
STYLE_EXIT_PERIMETERDefines if the perimeter should be used to find the exact entry point along the perimeter of the source.
STYLE_ENTRY_XDefines the key for the horizontal relative coordinate connection point of an edge with its target terminal.
STYLE_ENTRY_YDefines the key for the vertical relative coordinate connection point of an edge with its target terminal.
STYLE_ENTRY_PERIMETERDefines if the perimeter should be used to find the exact entry point along the perimeter of the target.
STYLE_WHITE_SPACEDefines the key for the white-space style.
STYLE_ROTATIONDefines the key for the rotation style.
STYLE_FILLCOLORDefines the key for the fill color.
STYLE_POINTER_EVENTSSpecifies if pointer events should be fired on transparent backgrounds.
STYLE_SWIMLANE_FILLCOLORDefines the key for the fill color of the swimlane background.
STYLE_MARGINDefines the key for the margin between the ellipses in the double ellipse shape.
STYLE_GRADIENTCOLORDefines the key for the gradient color.
STYLE_GRADIENT_DIRECTIONDefines the key for the gradient direction.
STYLE_STROKECOLORDefines the key for the strokeColor style.
STYLE_SEPARATORCOLORDefines the key for the separatorColor style.
STYLE_STROKEWIDTHDefines the key for the strokeWidth style.
STYLE_ALIGNDefines the key for the align style.
STYLE_VERTICAL_ALIGNDefines the key for the verticalAlign style.
STYLE_LABEL_WIDTHDefines the key for the width of the label if the label position is not center.
STYLE_LABEL_POSITIONDefines the key for the horizontal label position of vertices.
STYLE_VERTICAL_LABEL_POSITIONDefines the key for the vertical label position of vertices.
STYLE_IMAGE_ASPECTDefines the key for the image aspect style.
STYLE_IMAGE_ALIGNDefines the key for the align style.
STYLE_IMAGE_VERTICAL_ALIGNDefines the key for the verticalAlign style.
STYLE_GLASSDefines the key for the glass style.
STYLE_IMAGEDefines the key for the image style.
STYLE_IMAGE_WIDTHDefines the key for the imageWidth style.
STYLE_IMAGE_HEIGHTDefines the key for the imageHeight style.
STYLE_IMAGE_BACKGROUNDDefines the key for the image background color.
STYLE_IMAGE_BORDERDefines the key for the image border color.
STYLE_FLIPHDefines the key for the horizontal image flip.
STYLE_FLIPVDefines the key for the vertical flip.
STYLE_NOLABELDefines the key for the noLabel style.
STYLE_NOEDGESTYLEDefines the key for the noEdgeStyle style.
STYLE_LABEL_BACKGROUNDCOLORDefines the key for the label background color.
STYLE_LABEL_BORDERCOLORDefines the key for the label border color.
STYLE_LABEL_PADDINGDefines the key for the label padding, ie.
STYLE_INDICATOR_SHAPEDefines the key for the indicator shape used within an mxLabel.
STYLE_INDICATOR_IMAGEDefines the key for the indicator image used within an mxLabel.
STYLE_INDICATOR_COLORDefines the key for the indicatorColor style.
STYLE_INDICATOR_STROKECOLORDefines the key for the indicator stroke color in mxLabel.
STYLE_INDICATOR_GRADIENTCOLORDefines the key for the indicatorGradientColor style.
STYLE_INDICATOR_SPACINGThe defines the key for the spacing between the label and the indicator in mxLabel.
STYLE_INDICATOR_WIDTHDefines the key for the indicator width.
STYLE_INDICATOR_HEIGHTDefines the key for the indicator height.
STYLE_INDICATOR_DIRECTIONDefines the key for the indicatorDirection style.
STYLE_SHADOWDefines the key for the shadow style.
STYLE_SEGMENTDefines the key for the segment style.
STYLE_ENDARROWDefines the key for the end arrow marker.
STYLE_STARTARROWDefines the key for the start arrow marker.
STYLE_ENDSIZEDefines the key for the endSize style.
STYLE_STARTSIZEDefines the key for the startSize style.
STYLE_SWIMLANE_LINEDefines the key for the swimlaneLine style.
STYLE_ENDFILLDefines the key for the endFill style.
STYLE_STARTFILLDefines the key for the startFill style.
STYLE_DASHEDDefines the key for the dashed style.
STYLE_ROUNDEDDefines the key for the rounded style.
STYLE_CURVEDDefines the key for the curved style.
STYLE_ARCSIZEDefines the rounding factor for a rounded rectangle in percent (without the percent sign).
STYLE_SMOOTHAn experimental style for edges.
STYLE_SOURCE_PERIMETER_SPACINGDefines the key for the source perimeter spacing.
STYLE_TARGET_PERIMETER_SPACINGDefines the key for the target perimeter spacing.
STYLE_PERIMETER_SPACINGDefines the key for the perimeter spacing.
STYLE_SPACINGDefines the key for the spacing.
STYLE_SPACING_TOPDefines the key for the spacingTop style.
STYLE_SPACING_LEFTDefines the key for the spacingLeft style.
STYLE_SPACING_BOTTOMDefines the key for the spacingBottom style The value represents the spacing, in pixels, added to the bottom side of a label in a vertex (style applies to vertices only).
STYLE_SPACING_RIGHTDefines the key for the spacingRight style The value represents the spacing, in pixels, added to the right side of a label in a vertex (style applies to vertices only).
STYLE_HORIZONTALDefines the key for the horizontal style.
STYLE_DIRECTIONDefines the key for the direction style.
STYLE_ELBOWDefines the key for the elbow style.
STYLE_FONTCOLORDefines the key for the fontColor style.
STYLE_FONTFAMILYDefines the key for the fontFamily style.
STYLE_FONTSIZEDefines the key for the fontSize style (in points).
STYLE_FONTSTYLEDefines the key for the fontStyle style.
STYLE_ASPECTDefines the key for the aspect style.
STYLE_AUTOSIZEDefines the key for the autosize style.
STYLE_FOLDABLEDefines the key for the foldable style.
STYLE_EDITABLEDefines the key for the editable style.
STYLE_BENDABLEDefines the key for the bendable style.
STYLE_MOVABLEDefines the key for the movable style.
STYLE_RESIZABLEDefines the key for the resizable style.
STYLE_RESIZE_WIDTHDefines the key for the resizeWidth style.
STYLE_RESIZE_WIDTHDefines the key for the resizeHeight style.
STYLE_ROTATABLEDefines the key for the rotatable style.
STYLE_CLONEABLEDefines the key for the cloneable style.
STYLE_DELETABLEDefines the key for the deletable style.
STYLE_SHAPEDefines the key for the shape.
STYLE_EDGEDefines the key for the edge style.
STYLE_JETTY_SIZEDefines the key for the jetty size in mxEdgeStyle.OrthConnector.
STYLE_SOURCE_JETTY_SIZEDefines the key for the jetty size in mxEdgeStyle.OrthConnector.
targetJettySizeDefines the key for the jetty size in mxEdgeStyle.OrthConnector.
STYLE_LOOPDefines the key for the loop style.
STYLE_ORTHOGONAL_LOOPDefines the key for the orthogonal loop style.
STYLE_ROUTING_CENTER_XDefines the key for the horizontal routing center.
STYLE_ROUTING_CENTER_YDefines the key for the vertical routing center.
FONT_BOLDConstant for bold fonts.
FONT_ITALICConstant for italic fonts.
FONT_UNDERLINEConstant for underlined fonts.
SHAPE_RECTANGLEName under which mxRectangleShape is registered in mxCellRenderer.
SHAPE_ELLIPSEName under which mxEllipse is registered in mxCellRenderer.
SHAPE_DOUBLE_ELLIPSEName under which mxDoubleEllipse is registered in mxCellRenderer.
SHAPE_RHOMBUSName under which mxRhombus is registered in mxCellRenderer.
SHAPE_LINEName under which mxLine is registered in mxCellRenderer.
SHAPE_IMAGEName under which mxImageShape is registered in mxCellRenderer.
SHAPE_ARROWName under which mxArrow is registered in mxCellRenderer.
SHAPE_ARROW_CONNECTORName under which mxArrowConnector is registered in mxCellRenderer.
SHAPE_LABELName under which mxLabel is registered in mxCellRenderer.
SHAPE_CYLINDERName under which mxCylinder is registered in mxCellRenderer.
SHAPE_SWIMLANEName under which mxSwimlane is registered in mxCellRenderer.
SHAPE_CONNECTORName under which mxConnector is registered in mxCellRenderer.
SHAPE_ACTORName under which mxActor is registered in mxCellRenderer.
SHAPE_CLOUDName under which mxCloud is registered in mxCellRenderer.
SHAPE_TRIANGLEName under which mxTriangle is registered in mxCellRenderer.
SHAPE_HEXAGONName under which mxHexagon is registered in mxCellRenderer.
ARROW_CLASSICConstant for classic arrow markers.
ARROW_CLASSIC_THINConstant for thin classic arrow markers.
ARROW_BLOCKConstant for block arrow markers.
ARROW_BLOCK_THINConstant for thin block arrow markers.
ARROW_OPENConstant for open arrow markers.
ARROW_OPEN_THINConstant for thin open arrow markers.
ARROW_OVALConstant for oval arrow markers.
ARROW_DIAMONDConstant for diamond arrow markers.
ARROW_DIAMOND_THINConstant for thin diamond arrow markers.
ALIGN_LEFTConstant for left horizontal alignment.
ALIGN_CENTERConstant for center horizontal alignment.
ALIGN_RIGHTConstant for right horizontal alignment.
ALIGN_TOPConstant for top vertical alignment.
ALIGN_MIDDLEConstant for middle vertical alignment.
ALIGN_BOTTOMConstant for bottom vertical alignment.
DIRECTION_NORTHConstant for direction north.
DIRECTION_SOUTHConstant for direction south.
DIRECTION_EASTConstant for direction east.
DIRECTION_WESTConstant for direction west.
TEXT_DIRECTION_DEFAULTConstant for text direction default.
TEXT_DIRECTION_AUTOConstant for text direction automatic.
TEXT_DIRECTION_LTRConstant for text direction left to right.
TEXT_DIRECTION_RTLConstant for text direction right to left.
DIRECTION_MASK_NONEConstant for no direction.
DIRECTION_MASK_WESTBitwise mask for west direction.
DIRECTION_MASK_NORTHBitwise mask for north direction.
DIRECTION_MASK_SOUTHBitwise mask for south direction.
DIRECTION_MASK_EASTBitwise mask for east direction.
DIRECTION_MASK_ALLBitwise mask for all directions.
ELBOW_VERTICALConstant for elbow vertical.
ELBOW_HORIZONTALConstant for elbow horizontal.
EDGESTYLE_ELBOWName of the elbow edge style.
EDGESTYLE_ENTITY_RELATIONName of the entity relation edge style.
EDGESTYLE_LOOPName of the loop edge style.
EDGESTYLE_SIDETOSIDEName of the side to side edge style.
EDGESTYLE_TOPTOBOTTOMName of the top to bottom edge style.
EDGESTYLE_ORTHOGONALName of the generic orthogonal edge style.
EDGESTYLE_SEGMENTName of the generic segment edge style.
PERIMETER_ELLIPSEName of the ellipse perimeter.
PERIMETER_RECTANGLEName of the rectangle perimeter.
PERIMETER_RHOMBUSName of the rhombus perimeter.
PERIMETER_HEXAGONName of the hexagon perimeter.
PERIMETER_TRIANGLEName of the triangle perimeter.

Variables

@@ -181,7 +181,7 @@ if (browserType) {document.write("
");if (browserV

LINE_ARCSIZE

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

-

ARROW_SPACING

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

+

ARROW_SPACING

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

ARROW_WIDTH

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

@@ -209,6 +209,10 @@ if (browserType) {document.write("
");if (browserV

STYLE_OPACITY

Defines the key for the opacity style.  The type of the value is numeric and the possible range is 0-100.  Value is “opacity”.

+

STYLE_FILL_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”.

+ +

STYLE_STROKE_OPACITY

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

+

STYLE_TEXT_OPACITY

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

STYLE_TEXT_DIRECTION

Defines the key for the text direction style.  Possible values are “TEXT_DIRECTION_DEFAULT, TEXT_DIRECTION_AUTO, TEXT_DIRECTION_LTR” and “TEXT_DIRECTION_RTL”.  Value is “textDirection”.  The default value for the style is defined in DEFAULT_TEXT_DIRECTION.  It is used is no value is defined for this key in a given style.  This is an experimental style that is currently ignored in the backends.

diff --git a/docs/js-api/files/util/mxUtils-js.html b/docs/js-api/files/util/mxUtils-js.html index 8db33d1a1..7429f724c 100644 --- a/docs/js-api/files/util/mxUtils-js.html +++ b/docs/js-api/files/util/mxUtils-js.html @@ -11,7 +11,7 @@ if (browserType) {document.write("
");if (browserV -

mxUtils

A singleton class that provides cross-browser helper methods.  This is a global functionality.  To access the functions in this class, use the global classname appended by the functionname.  You may have to load chrome://global/content/contentAreaUtils.js to disable certain security restrictions in Mozilla for the <open>, <save>, <saveAs> and <copy> function.

For example, the following code displays an error message

mxUtils.error('Browser is not supported!', 200, false);
Summary
mxUtilsA singleton class that provides cross-browser helper methods.
Variables
errorResourceSpecifies the resource key for the title of the error window.
closeResourceSpecifies the resource key for the label of the close button.
errorImageDefines the image used for error dialogs.
Functions
removeCursorsRemoves the cursors from the style of the given DOM node and its descendants.
getCurrentStyleReturns the current style of the specified element.
setPrefixedStyleAdds the given style with the standard name and an optional vendor prefix for the current browser.
hasScrollbarsReturns true if the overflow CSS property of the given node is either scroll or auto.
bindReturns a wrapper function that locks the execution scope of the given function to the specified scope.
evalEvaluates the given expression using eval and returns the JavaScript object that represents the expression result.
findNodeReturns the first node where attr equals value.
getFunctionNameReturns the name for the given function.
indexOfReturns the index of obj in array or -1 if the array does not contain the given object.
removeRemoves all occurrences of the given object in the given array or object.
isNodeReturns true if the given value is an XML node with the node name and if the optional attribute has the specified value.
isAncestorNodeReturns true if the given ancestor is an ancestor of the given DOM node in the DOM.
getChildNodesReturns an array of child nodes that are of the given node type.
importNodeCross browser implementation for document.importNode.
createXmlDocumentReturns a new, empty XML document.
parseXmlParses the specified XML string into a new XML document and returns the new document.
clearSelectionClears the current selection in the page.
getPrettyXMLReturns a pretty printed string that represents the XML tree for the given node.
removeWhitespaceRemoves the sibling text nodes for the given node that only consists of tabs, newlines and spaces.
htmlEntitiesReplaces characters (less than, greater than, newlines and quotes) with their HTML entities in the given string and returns the result.
isVmlReturns true if the given node is in the VML namespace.
getXmlReturns the XML content of the specified node.
extractTextWithWhitespaceReturns the text content of the specified node.
replaceTrailingNewlinesReplaces each trailing newline with the given pattern.
getTextContentReturns the text content of the specified node.
setTextContentSets the text content of the specified node.
getInnerHtmlReturns the inner HTML for the given node as a string or an empty string if no node was specified.
getOuterHtmlReturns the outer HTML for the given node as a string or an empty string if no node was specified.
writeCreates a text node for the given string and appends it to the given parent.
writelnCreates a text node for the given string and appends it to the given parent with an additional linefeed.
brAppends a linebreak to the given parent and returns the linebreak.
buttonReturns a new button with the given level and function as an onclick event handler.
paraAppends a new paragraph with the given text to the specified parent and returns the paragraph.
addTransparentBackgroundFilterAdds a transparent background to the filter of the given node.
linkActionAdds a hyperlink to the specified parent that invokes action on the specified editor.
linkInvokeAdds a hyperlink to the specified parent that invokes the specified function on the editor passing along the specified argument.
linkAdds a hyperlink to the specified parent and invokes the given function when the link is clicked.
fitMakes sure the given node is inside the visible area of the window.
loadLoads the specified URL synchronously and returns the mxXmlRequest.
getLoads the specified URL asynchronously and invokes the given functions depending on the request status.
getAllLoads the URLs in the given array asynchronously and invokes the given function if all requests returned with a valid 2xx status.
postPosts the specified params to the given URL asynchronously and invokes the given functions depending on the request status.
submitSubmits the given parameters to the specified URL using mxXmlRequest.simulate and returns the mxXmlRequest.
loadIntoLoads the specified URL asynchronously into the specified document, invoking onload after the document has been loaded.
getValueReturns the value for the given key in the given associative array or the given default value if the value is null.
getNumberReturns the numeric value for the given key in the given associative array or the given default value (or 0) if the value is null.
getColorReturns the color value for the given key in the given associative array or the given default value if the value is null.
cloneRecursively clones the specified object ignoring all fieldnames in the given array of transient fields.
equalPointsCompares all mxPoints in the given lists.
equalEntriesReturns true if all entries of the given objects are equal.
removeDuplicatesRemoves all duplicates from the given array.
isNaNReturns true if the given value is of type number and isNaN returns true.
extendAssigns a copy of the superclass prototype to the subclass prototype.
toStringReturns a textual representation of the specified object.
toRadiansConverts the given degree to radians.
toDegreeConverts the given radians to degree.
arcToCurvesConverts the given arc to a series of curves.
getBoundingBoxReturns the bounding box for the rotated rectangle.
getRotatedPointRotates the given point by the given cos and sin.
reversePortConstraintsReverse the port constraint bitmask.
findNearestSegmentFinds the index of the nearest segment on the given cell state for the specified coordinate pair.
rectangleIntersectsSegmentReturns true if the given rectangle intersects the given segment.
containsReturns true if the specified point (x, y) is contained in the given rectangle.
intersectsReturns true if the two rectangles intersect.
intersectsReturns true if the two rectangles intersect.
getOffsetReturns the offset for the specified container as an mxPoint.
getDocumentScrollOriginReturns the scroll origin of the given document or the current document if no document is given.
getScrollOriginReturns the top, left corner of the viewrect as an mxPoint.
convertPointConverts the specified point (x, y) using the offset of the specified container and returns a new mxPoint with the result.
ltrimStrips all whitespaces from the beginning of the string.
rtrimStrips all whitespaces from the end of the string.
trimStrips all whitespaces from both end of the string.
isNumericReturns true if the specified value is numeric, that is, if it is not null, not an empty string, not a HEX number and isNaN returns false.
isIntegerReturns true if the given value is an valid integer number.
modReturns the remainder of division of n by m.
intersectionReturns the intersection of two lines as an mxPoint.
ptSegDistSqReturns the square distance between a segment and a point.
ptLineDistReturns the distance between a line defined by two points and a point.
relativeCcwReturns 1 if the given point on the right side of the segment, 0 if its on the segment, and -1 if the point is on the left side of the segment.
animateChangesSee mxEffects.animateChanges.
cascadeOpacitySee mxEffects.cascadeOpacity.
fadeOutSee mxEffects.fadeOut.
setOpacitySets the opacity of the specified DOM node to the given value in %.
createImageCreates and returns an image (IMG node) or VML image (v:image) in IE6 in quirks mode.
sortCellsSorts the given cells according to the order in the cell hierarchy.
getStylenameReturns the stylename in a style of the form [(stylename|key=value);] or an empty string if the given style does not contain a stylename.
getStylenamesReturns the stylenames in a style of the form [(stylename|key=value);] or an empty array if the given style does not contain any stylenames.
indexOfStylenameReturns the index of the given stylename in the given style.
addStylenameAdds the specified stylename to the given style if it does not already contain the stylename.
removeStylenameRemoves all occurrences of the specified stylename in the given style and returns the updated style.
removeAllStylenamesRemoves all stylenames from the given style and returns the updated style.
setCellStylesAssigns the value for the given key in the styles of the given cells, or removes the key from the styles if the value is null.
setStyleAdds or removes the given key, value pair to the style and returns the new style.
setCellStyleFlagsSets or toggles the flag bit for the given key in the cell’s styles.
setStyleFlagSets or removes the given key from the specified style and returns the new style.
getAlignmentAsPointReturns an mxPoint that represents the horizontal and vertical alignment for numeric computations.
getSizeForStringReturns an mxRectangle with the size (width and height in pixels) of the given string.
getViewXml
getScaleForPageCountReturns the scale to be used for printing the graph with the given bounds across the specifies number of pages with the given format.
showCopies the styles and the markup from the graph’s container into the given document and removes all cursor styles.
printScreenPrints the specified graph using a new window and the built-in print dialog.
popupShows the specified text content in a new mxWindow or a new browser window if isInternalWindow is false.
alertDisplayss the given alert in a new dialog.
promptDisplays the given message in a prompt dialog.
confirmDisplays the given message in a confirm dialog.
errorDisplays the given error message in a new mxWindow of the given width.
makeDraggableConfigures the given DOM element to act as a drag source for the specified graph.
+

mxUtils

A singleton class that provides cross-browser helper methods.  This is a global functionality.  To access the functions in this class, use the global classname appended by the functionname.  You may have to load chrome://global/content/contentAreaUtils.js to disable certain security restrictions in Mozilla for the <open>, <save>, <saveAs> and <copy> function.

For example, the following code displays an error message

mxUtils.error('Browser is not supported!', 200, false);
Summary
mxUtilsA singleton class that provides cross-browser helper methods.
Variables
errorResourceSpecifies the resource key for the title of the error window.
closeResourceSpecifies the resource key for the label of the close button.
errorImageDefines the image used for error dialogs.
Functions
removeCursorsRemoves the cursors from the style of the given DOM node and its descendants.
getCurrentStyleReturns the current style of the specified element.
setPrefixedStyleAdds the given style with the standard name and an optional vendor prefix for the current browser.
hasScrollbarsReturns true if the overflow CSS property of the given node is either scroll or auto.
bindReturns a wrapper function that locks the execution scope of the given function to the specified scope.
evalEvaluates the given expression using eval and returns the JavaScript object that represents the expression result.
findNodeReturns the first node where attr equals value.
getFunctionNameReturns the name for the given function.
indexOfReturns the index of obj in array or -1 if the array does not contain the given object.
removeRemoves all occurrences of the given object in the given array or object.
isNodeReturns true if the given value is an XML node with the node name and if the optional attribute has the specified value.
isAncestorNodeReturns true if the given ancestor is an ancestor of the given DOM node in the DOM.
getChildNodesReturns an array of child nodes that are of the given node type.
importNodeCross browser implementation for document.importNode.
createXmlDocumentReturns a new, empty XML document.
parseXmlParses the specified XML string into a new XML document and returns the new document.
clearSelectionClears the current selection in the page.
getPrettyXMLReturns a pretty printed string that represents the XML tree for the given node.
removeWhitespaceRemoves the sibling text nodes for the given node that only consists of tabs, newlines and spaces.
htmlEntitiesReplaces characters (less than, greater than, newlines and quotes) with their HTML entities in the given string and returns the result.
isVmlReturns true if the given node is in the VML namespace.
getXmlReturns the XML content of the specified node.
extractTextWithWhitespaceReturns the text content of the specified node.
replaceTrailingNewlinesReplaces each trailing newline with the given pattern.
getTextContentReturns the text content of the specified node.
setTextContentSets the text content of the specified node.
getInnerHtmlReturns the inner HTML for the given node as a string or an empty string if no node was specified.
getOuterHtmlReturns the outer HTML for the given node as a string or an empty string if no node was specified.
writeCreates a text node for the given string and appends it to the given parent.
writelnCreates a text node for the given string and appends it to the given parent with an additional linefeed.
brAppends a linebreak to the given parent and returns the linebreak.
buttonReturns a new button with the given level and function as an onclick event handler.
paraAppends a new paragraph with the given text to the specified parent and returns the paragraph.
addTransparentBackgroundFilterAdds a transparent background to the filter of the given node.
linkActionAdds a hyperlink to the specified parent that invokes action on the specified editor.
linkInvokeAdds a hyperlink to the specified parent that invokes the specified function on the editor passing along the specified argument.
linkAdds a hyperlink to the specified parent and invokes the given function when the link is clicked.
fitMakes sure the given node is inside the visible area of the window.
loadLoads the specified URL synchronously and returns the mxXmlRequest.
getLoads the specified URL asynchronously and invokes the given functions depending on the request status.
getAllLoads the URLs in the given array asynchronously and invokes the given function if all requests returned with a valid 2xx status.
postPosts the specified params to the given URL asynchronously and invokes the given functions depending on the request status.
submitSubmits the given parameters to the specified URL using mxXmlRequest.simulate and returns the mxXmlRequest.
loadIntoLoads the specified URL asynchronously into the specified document, invoking onload after the document has been loaded.
getValueReturns the value for the given key in the given associative array or the given default value if the value is null.
getNumberReturns the numeric value for the given key in the given associative array or the given default value (or 0) if the value is null.
getColorReturns the color value for the given key in the given associative array or the given default value if the value is null.
cloneRecursively clones the specified object ignoring all fieldnames in the given array of transient fields.
equalPointsCompares all mxPoints in the given lists.
equalEntriesReturns true if all properties of the given objects are equal.
removeDuplicatesRemoves all duplicates from the given array.
isNaNReturns true if the given value is of type number and isNaN returns true.
extendAssigns a copy of the superclass prototype to the subclass prototype.
toStringReturns a textual representation of the specified object.
toRadiansConverts the given degree to radians.
toDegreeConverts the given radians to degree.
arcToCurvesConverts the given arc to a series of curves.
getBoundingBoxReturns the bounding box for the rotated rectangle.
getRotatedPointRotates the given point by the given cos and sin.
reversePortConstraintsReverse the port constraint bitmask.
findNearestSegmentFinds the index of the nearest segment on the given cell state for the specified coordinate pair.
rectangleIntersectsSegmentReturns true if the given rectangle intersects the given segment.
containsReturns true if the specified point (x, y) is contained in the given rectangle.
intersectsReturns true if the two rectangles intersect.
intersectsReturns true if the two rectangles intersect.
getOffsetReturns the offset for the specified container as an mxPoint.
getDocumentScrollOriginReturns the scroll origin of the given document or the current document if no document is given.
getScrollOriginReturns the top, left corner of the viewrect as an mxPoint.
convertPointConverts the specified point (x, y) using the offset of the specified container and returns a new mxPoint with the result.
ltrimStrips all whitespaces from the beginning of the string.
rtrimStrips all whitespaces from the end of the string.
trimStrips all whitespaces from both end of the string.
isNumericReturns true if the specified value is numeric, that is, if it is not null, not an empty string, not a HEX number and isNaN returns false.
isIntegerReturns true if the given value is an valid integer number.
modReturns the remainder of division of n by m.
intersectionReturns the intersection of two lines as an mxPoint.
ptSegDistSqReturns the square distance between a segment and a point.
ptLineDistReturns the distance between a line defined by two points and a point.
relativeCcwReturns 1 if the given point on the right side of the segment, 0 if its on the segment, and -1 if the point is on the left side of the segment.
animateChangesSee mxEffects.animateChanges.
cascadeOpacitySee mxEffects.cascadeOpacity.
fadeOutSee mxEffects.fadeOut.
setOpacitySets the opacity of the specified DOM node to the given value in %.
createImageCreates and returns an image (IMG node) or VML image (v:image) in IE6 in quirks mode.
sortCellsSorts the given cells according to the order in the cell hierarchy.
getStylenameReturns the stylename in a style of the form [(stylename|key=value);] or an empty string if the given style does not contain a stylename.
getStylenamesReturns the stylenames in a style of the form [(stylename|key=value);] or an empty array if the given style does not contain any stylenames.
indexOfStylenameReturns the index of the given stylename in the given style.
addStylenameAdds the specified stylename to the given style if it does not already contain the stylename.
removeStylenameRemoves all occurrences of the specified stylename in the given style and returns the updated style.
removeAllStylenamesRemoves all stylenames from the given style and returns the updated style.
setCellStylesAssigns the value for the given key in the styles of the given cells, or removes the key from the styles if the value is null.
setStyleAdds or removes the given key, value pair to the style and returns the new style.
setCellStyleFlagsSets or toggles the flag bit for the given key in the cell’s styles.
setStyleFlagSets or removes the given key from the specified style and returns the new style.
getAlignmentAsPointReturns an mxPoint that represents the horizontal and vertical alignment for numeric computations.
getSizeForStringReturns an mxRectangle with the size (width and height in pixels) of the given string.
getViewXml
getScaleForPageCountReturns the scale to be used for printing the graph with the given bounds across the specifies number of pages with the given format.
showCopies the styles and the markup from the graph’s container into the given document and removes all cursor styles.
printScreenPrints the specified graph using a new window and the built-in print dialog.
popupShows the specified text content in a new mxWindow or a new browser window if isInternalWindow is false.
alertDisplayss the given alert in a new dialog.
promptDisplays the given message in a prompt dialog.
confirmDisplays the given message in a confirm dialog.
errorDisplays the given error message in a new mxWindow of the given width.
makeDraggableConfigures the given DOM element to act as a drag source for the specified graph.

Variables

@@ -151,7 +151,7 @@ catch (ex)

equalPoints

equalPoints: function(a,
b)

Compares all mxPoints in the given lists.

Parameters

aArray of mxPoints to be compared.
bArray of mxPoints to be compared.
-

equalEntries

equalEntries: function(a,
b)

Returns true if all entries of the given objects are equal.  Values with with Number.NaN are equal to Number.NaN and unequal to any other value.

Parameters

amxRectangle to be compared.
bmxRectangle to be compared.
+

equalEntries

equalEntries: function(a,
b)

Returns true if all properties of the given objects are equal.  Values with NaN are equal to NaN and unequal to any other value.

Parameters

aFirst object to be compared.
bSecond object to be compared.

removeDuplicates

removeDuplicates: function(arr)

Removes all duplicates from the given array.

@@ -172,7 +172,7 @@ mxUtils.extend(MyGraph, mxGraph);

Parameter

arcToCurves

arcToCurves: function(x0,
y0,
r1,
r2,
angle,
largeArcFlag,
sweepFlag,
x,
y)

Converts the given arc to a series of curves.

-

getBoundingBox

getBoundingBox: function(rect,
rotation,
cx)

Returns the bounding box for the rotated rectangle.

Parameters

rectmxRectangle to be rotated.
angleNumber that represents the angle (in degrees).
cxOptional mxPoint that represents the rotation center.  If no rotation center is given then the center of rect is used.
+

getBoundingBox

getBoundingBox: function(rect,
rotation,
cx)

Returns the bounding box for the rotated rectangle.

Parameters

rectmxRectangle to be rotated.
angleNumber that represents the angle (in degrees).
cxOptional mxPoint that represents the rotation center.  If no rotation center is given then the center of rect is used.

getRotatedPoint

getRotatedPoint: function(pt,
cos,
sin,
c)

Rotates the given point by the given cos and sin.

@@ -180,21 +180,21 @@ mxUtils.extend(MyGraph, mxGraph);

Parameter

findNearestSegment

findNearestSegment: function(state,
x,
y)

Finds the index of the nearest segment on the given cell state for the specified coordinate pair.

-

rectangleIntersectsSegment

rectangleIntersectsSegment: function(bounds,
p1,
p2)

Returns true if the given rectangle intersects the given segment.

Parameters

boundsmxRectangle that represents the rectangle.
p1mxPoint that represents the first point of the segment.
p2mxPoint that represents the second point of the segment.
+

rectangleIntersectsSegment

rectangleIntersectsSegment: function(bounds,
p1,
p2)

Returns true if the given rectangle intersects the given segment.

Parameters

boundsmxRectangle that represents the rectangle.
p1mxPoint that represents the first point of the segment.
p2mxPoint that represents the second point of the segment.
-

contains

contains: function(bounds,
x,
y)

Returns true if the specified point (x, y) is contained in the given rectangle.

Parameters

boundsmxRectangle that represents the area.
xX-coordinate of the point.
yY-coordinate of the point.
+

contains

contains: function(bounds,
x,
y)

Returns true if the specified point (x, y) is contained in the given rectangle.

Parameters

boundsmxRectangle that represents the area.
xX-coordinate of the point.
yY-coordinate of the point.
-

intersects

intersects: function(a,
b)

Returns true if the two rectangles intersect.

Parameters

amxRectangle to be checked for intersection.
bmxRectangle to be checked for intersection.
+

intersects

intersects: function(a,
b)

Returns true if the two rectangles intersect.

Parameters

amxRectangle to be checked for intersection.
bmxRectangle to be checked for intersection.
-

intersects

intersectsHotspot: function(state,
x,
y,
hotspot,
min,
max)

Returns true if the two rectangles intersect.

Parameters

amxRectangle to be checked for intersection.
bmxRectangle to be checked for intersection.
+

intersects

intersectsHotspot: function(state,
x,
y,
hotspot,
min,
max)

Returns true if the two rectangles intersect.

Parameters

amxRectangle to be checked for intersection.
bmxRectangle to be checked for intersection.
-

getOffset

getOffset: function(container,
scrollOffset)

Returns the offset for the specified container as an mxPoint.  The offset is the distance from the top left corner of the container to the top left corner of the document.

Parameters

containerDOM node to return the offset for.
scollOffsetOptional boolean to add the scroll offset of the document.  Default is false.
+

getOffset

getOffset: function(container,
scrollOffset)

Returns the offset for the specified container as an mxPoint.  The offset is the distance from the top left corner of the container to the top left corner of the document.

Parameters

containerDOM node to return the offset for.
scollOffsetOptional boolean to add the scroll offset of the document.  Default is false.

getDocumentScrollOrigin

getDocumentScrollOrigin: function(doc)

Returns the scroll origin of the given document or the current document if no document is given.

-

getScrollOrigin

getScrollOrigin: function(node)

Returns the top, left corner of the viewrect as an mxPoint.

+

getScrollOrigin

getScrollOrigin: function(node)

Returns the top, left corner of the viewrect as an mxPoint.

-

convertPoint

convertPoint: function(container,
x,
y)

Converts the specified point (x, y) using the offset of the specified container and returns a new mxPoint with the result.

var pt = mxUtils.convertPoint(graph.container,
+

convertPoint

convertPoint: function(container,
x,
y)

Converts the specified point (x, y) using the offset of the specified container and returns a new mxPoint with the result.

var pt = mxUtils.convertPoint(graph.container,
   mxEvent.getClientX(evt), mxEvent.getClientY(evt));

Parameters

containerDOM node to use for the offset.
xX-coordinate of the point to be converted.
yY-coordinate of the point to be converted.

ltrim

ltrim: function(str,
chars)

Strips all whitespaces from the beginning of the string.  Without the second parameter, this will trim these characters:

  • ” “ (ASCII 32 (0x20)), an ordinary space
  • ”\t” (ASCII 9 (0x09)), a tab
  • ”\n” (ASCII 10 (0x0A)), a new line (line feed)
  • ”\r” (ASCII 13 (0x0D)), a carriage return
  • ”\0” (ASCII 0 (0x00)), the NUL-byte
  • ”\x0B” (ASCII 11 (0x0B)), a vertical tab
@@ -209,19 +209,19 @@ mxUtils.extend(MyGraph, mxGraph);

Parameter

mod

mod: function(n,
m)

Returns the remainder of division of n by m.  You should use this instead of the built-in operation as the built-in operation does not properly handle negative numbers.

-

intersection

intersection: function (x0,
y0,
x1,
y1,
x2,
y2,
x3,
y3)

Returns the intersection of two lines as an mxPoint.

Parameters

x0X-coordinate of the first line’s startpoint.
y0X-coordinate of the first line’s startpoint.
x1X-coordinate of the first line’s endpoint.
y1Y-coordinate of the first line’s endpoint.
x2X-coordinate of the second line’s startpoint.
y2Y-coordinate of the second line’s startpoint.
x3X-coordinate of the second line’s endpoint.
y3Y-coordinate of the second line’s endpoint.
+

intersection

intersection: function (x0,
y0,
x1,
y1,
x2,
y2,
x3,
y3)

Returns the intersection of two lines as an mxPoint.

Parameters

x0X-coordinate of the first line’s startpoint.
y0X-coordinate of the first line’s startpoint.
x1X-coordinate of the first line’s endpoint.
y1Y-coordinate of the first line’s endpoint.
x2X-coordinate of the second line’s startpoint.
y2Y-coordinate of the second line’s startpoint.
x3X-coordinate of the second line’s endpoint.
y3Y-coordinate of the second line’s endpoint.
-

ptSegDistSq

ptSegDistSq: function(x1,
y1,
x2,
y2,
px,
py)

Returns the square distance between a segment and a point.  To get the distance between a point and a line (with infinite length) use mxUtils.ptLineDist.

Parameters

x1X-coordinate of the startpoint of the segment.
y1Y-coordinate of the startpoint of the segment.
x2X-coordinate of the endpoint of the segment.
y2Y-coordinate of the endpoint of the segment.
pxX-coordinate of the point.
pyY-coordinate of the point.
+

ptSegDistSq

ptSegDistSq: function(x1,
y1,
x2,
y2,
px,
py)

Returns the square distance between a segment and a point.  To get the distance between a point and a line (with infinite length) use mxUtils.ptLineDist.

Parameters

x1X-coordinate of the startpoint of the segment.
y1Y-coordinate of the startpoint of the segment.
x2X-coordinate of the endpoint of the segment.
y2Y-coordinate of the endpoint of the segment.
pxX-coordinate of the point.
pyY-coordinate of the point.

ptLineDist

ptLineDist: function(x1,
y1,
x2,
y2,
px,
py)

Returns the distance between a line defined by two points and a point.  To get the distance between a point and a segment (with a specific length) use <mxUtils.ptSeqDistSq>.

Parameters

x1X-coordinate of point 1 of the line.
y1Y-coordinate of point 1 of the line.
x2X-coordinate of point 1 of the line.
y2Y-coordinate of point 1 of the line.
pxX-coordinate of the point.
pyY-coordinate of the point.

relativeCcw

relativeCcw: function(x1,
y1,
x2,
y2,
px,
py)

Returns 1 if the given point on the right side of the segment, 0 if its on the segment, and -1 if the point is on the left side of the segment.

Parameters

x1X-coordinate of the startpoint of the segment.
y1Y-coordinate of the startpoint of the segment.
x2X-coordinate of the endpoint of the segment.
y2Y-coordinate of the endpoint of the segment.
pxX-coordinate of the point.
pyY-coordinate of the point.
-

animateChanges

animateChanges: function(graph,
changes)

See mxEffects.animateChanges.  This is for backwards compatibility and will be removed later.

+

animateChanges

animateChanges: function(graph,
changes)

See mxEffects.animateChanges.  This is for backwards compatibility and will be removed later.

-

cascadeOpacity

cascadeOpacity: function(graph,
cell,
opacity)

See mxEffects.cascadeOpacity.  This is for backwards compatibility and will be removed later.

+

cascadeOpacity

cascadeOpacity: function(graph,
cell,
opacity)

See mxEffects.cascadeOpacity.  This is for backwards compatibility and will be removed later.

-

fadeOut

fadeOut: function(node,
from,
remove,
step,
delay,
isEnabled)

See mxEffects.fadeOut.  This is for backwards compatibility and will be removed later.

+

fadeOut

fadeOut: function(node,
from,
remove,
step,
delay,
isEnabled)

See mxEffects.fadeOut.  This is for backwards compatibility and will be removed later.

setOpacity

setOpacity: function(node,
value)

Sets the opacity of the specified DOM node to the given value in %.

Parameters

nodeDOM node to set the opacity for.
valueOpacity in %.  Possible values are between 0 and 100.
@@ -241,7 +241,7 @@ mxUtils.extend(MyGraph, mxGraph);

Parameter

removeAllStylenames

removeAllStylenames: function(style)

Removes all stylenames from the given style and returns the updated style.

-

setCellStyles

setCellStyles: function(model,
cells,
key,
value)

Assigns the value for the given key in the styles of the given cells, or removes the key from the styles if the value is null.

Parameters

modelmxGraphModel to execute the transaction in.
cellsArray of mxCells to be updated.
keyKey of the style to be changed.
valueNew value for the given key.
+

setCellStyles

setCellStyles: function(model,
cells,
key,
value)

Assigns the value for the given key in the styles of the given cells, or removes the key from the styles if the value is null.

Parameters

modelmxGraphModel to execute the transaction in.
cellsArray of mxCells to be updated.
keyKey of the style to be changed.
valueNew value for the given key.

setStyle

setStyle: function(style,
key,
value)

Adds or removes the given key, value pair to the style and returns the new style.  If value is null or zero length then the key is removed from the style.  This is for cell styles, not for CSS styles.

Parameters

styleString of the form [(stylename|key=value);].
keyKey of the style to be changed.
valueNew value for the given key.
@@ -249,24 +249,24 @@ mxUtils.extend(MyGraph, mxGraph);

Parameter mxUtils.setCellStyleFlags(graph.model, cells, mxConstants.STYLE_FONTSTYLE, - mxConstants.FONT_BOLD);

Toggles the bold font style.

Parameters

modelmxGraphModel that contains the cells.
cellsArray of mxCells to change the style for.
keyKey of the style to be changed.
flagInteger for the bit to be changed.
valueOptional boolean value for the flag.
+ mxConstants.FONT_BOLD);

Toggles the bold font style.

Parameters

modelmxGraphModel that contains the cells.
cellsArray of mxCells to change the style for.
keyKey of the style to be changed.
flagInteger for the bit to be changed.
valueOptional boolean value for the flag.

setStyleFlag

setStyleFlag: function(style,
key,
flag,
value)

Sets or removes the given key from the specified style and returns the new style.  If value is null then the flag is toggled.

Parameters

styleString of the form [(stylename|key=value);].
keyKey of the style to be changed.
flagInteger for the bit to be changed.
valueOptional boolean value for the given flag.
-

getAlignmentAsPoint

getAlignmentAsPoint: function(align,
valign)

Returns an mxPoint that represents the horizontal and vertical alignment for numeric computations.  X is -0.5 for center, -1 for right and 0 for left alignment.  Y is -0.5 for middle, -1 for bottom and 0 for top alignment.  Default values for missing arguments is top, left.

+

getAlignmentAsPoint

getAlignmentAsPoint: function(align,
valign)

Returns an mxPoint that represents the horizontal and vertical alignment for numeric computations.  X is -0.5 for center, -1 for right and 0 for left alignment.  Y is -0.5 for middle, -1 for bottom and 0 for top alignment.  Default values for missing arguments is top, left.

-

getSizeForString

getSizeForString: function(text,
fontSize,
fontFamily,
textWidth)

Returns an mxRectangle with the size (width and height in pixels) of the given string.  The string may contain HTML markup.  Newlines should be converted to br before calling this method.  The caller is responsible for sanitizing the HTML markup.

Example

var label = graph.getLabel(cell).replace(/\n/g, "<br>");
-var size = graph.getSizeForString(label);

Parameters

textString whose size should be returned.
fontSizeInteger that specifies the font size in pixels.  Default is mxConstants.DEFAULT_FONTSIZE.
fontFamilyString that specifies the name of the font family.  Default is mxConstants.DEFAULT_FONTFAMILY.
textWidthOptional width for text wrapping.
+

getSizeForString

getSizeForString: function(text,
fontSize,
fontFamily,
textWidth)

Returns an mxRectangle with the size (width and height in pixels) of the given string.  The string may contain HTML markup.  Newlines should be converted to br before calling this method.  The caller is responsible for sanitizing the HTML markup.

Example

var label = graph.getLabel(cell).replace(/\n/g, "<br>");
+var size = graph.getSizeForString(label);

Parameters

textString whose size should be returned.
fontSizeInteger that specifies the font size in pixels.  Default is mxConstants.DEFAULT_FONTSIZE.
fontFamilyString that specifies the name of the font family.  Default is mxConstants.DEFAULT_FONTFAMILY.
textWidthOptional width for text wrapping.

getViewXml

getViewXml: function(graph,
scale,
cells,
x0,
y0)
-

getScaleForPageCount

getScaleForPageCount: function(pageCount,
graph,
pageFormat,
border)

Returns the scale to be used for printing the graph with the given bounds across the specifies number of pages with the given format.  The scale is always computed such that it given the given amount or fewer pages in the print output.  See mxPrintPreview for an example.

Parameters

pageCountSpecifies the number of pages in the print output.
graphmxGraph that should be printed.
pageFormatOptional mxRectangle that specifies the page format.  Default is mxConstants.PAGE_FORMAT_A4_PORTRAIT.
borderThe border along each side of every page.
+

getScaleForPageCount

getScaleForPageCount: function(pageCount,
graph,
pageFormat,
border)

Returns the scale to be used for printing the graph with the given bounds across the specifies number of pages with the given format.  The scale is always computed such that it given the given amount or fewer pages in the print output.  See mxPrintPreview for an example.

Parameters

pageCountSpecifies the number of pages in the print output.
graphmxGraph that should be printed.
pageFormatOptional mxRectangle that specifies the page format.  Default is mxConstants.PAGE_FORMAT_A4_PORTRAIT.
borderThe border along each side of every page.
-

show

show: function(graph,
doc,
x0,
y0,
w,
h)

Copies the styles and the markup from the graph’s container into the given document and removes all cursor styles.  The document is returned.

This function should be called from within the document with the graph.  If you experience problems with missing stylesheets in IE then try adding the domain to the trusted sites.

Parameters

graphmxGraph to be copied.
docDocument where the new graph is created.
x0X-coordinate of the graph view origin.  Default is 0.
y0Y-coordinate of the graph view origin.  Default is 0.
wOptional width of the graph view.
hOptional height of the graph view.
+

show

show: function(graph,
doc,
x0,
y0,
w,
h)

Copies the styles and the markup from the graph’s container into the given document and removes all cursor styles.  The document is returned.

This function should be called from within the document with the graph.  If you experience problems with missing stylesheets in IE then try adding the domain to the trusted sites.

Parameters

graphmxGraph to be copied.
docDocument where the new graph is created.
x0X-coordinate of the graph view origin.  Default is 0.
y0Y-coordinate of the graph view origin.  Default is 0.
wOptional width of the graph view.
hOptional height of the graph view.
-

printScreen

printScreen: function(graph)

Prints the specified graph using a new window and the built-in print dialog.

This function should be called from within the document with the graph.

Parameters

graphmxGraph to be printed.
+

printScreen

printScreen: function(graph)

Prints the specified graph using a new window and the built-in print dialog.

This function should be called from within the document with the graph.

Parameters

graphmxGraph to be printed.
-

popup

popup: function(content,
isInternalWindow)

Shows the specified text content in a new mxWindow or a new browser window if isInternalWindow is false.

Parameters

contentString that specifies the text to be displayed.
isInternalWindowOptional boolean indicating if an mxWindow should be used instead of a new browser window.  Default is false.
+

popup

popup: function(content,
isInternalWindow)

Shows the specified text content in a new mxWindow or a new browser window if isInternalWindow is false.

Parameters

contentString that specifies the text to be displayed.
isInternalWindowOptional boolean indicating if an mxWindow should be used instead of a new browser window.  Default is false.

alert

alert: function(message)

Displayss the given alert in a new dialog.  This implementation uses the built-in alert function.  This is used to display validation errors when connections cannot be changed or created.

Parameters

messageString specifying the message to be displayed.
@@ -274,9 +274,9 @@ var size = graph.getSizeForString(label);

P

confirm

confirm: function(message)

Displays the given message in a confirm dialog.  This implementation uses the built-in confirm function.

Parameters

messageString specifying the message to be displayed.
-

error

error: function(message,
width,
close,
icon)

Displays the given error message in a new mxWindow of the given width.  If close is true then an additional close button is added to the window.  The optional icon specifies the icon to be used for the window.  Default is mxUtils.errorImage.

Parameters

messageString specifying the message to be displayed.
widthInteger specifying the width of the window.
closeOptional boolean indicating whether to add a close button.
iconOptional icon for the window decoration.
+

error

error: function(message,
width,
close,
icon)

Displays the given error message in a new mxWindow of the given width.  If close is true then an additional close button is added to the window.  The optional icon specifies the icon to be used for the window.  Default is mxUtils.errorImage.

Parameters

messageString specifying the message to be displayed.
widthInteger specifying the width of the window.
closeOptional boolean indicating whether to add a close button.
iconOptional icon for the window decoration.
-

makeDraggable

makeDraggable: function(element,
graphF,
funct,
dragElement,
dx,
dy,
autoscroll,
scalePreview,
highlightDropTargets,
getDropTarget)

Configures the given DOM element to act as a drag source for the specified graph.  Returns a a new mxDragSource.  If <mxDragSource.guideEnabled> is enabled then the x and y arguments must be used in funct to match the preview location.

Example

var funct = function(graph, evt, cell, x, y)
+

makeDraggable

makeDraggable: function(element,
graphF,
funct,
dragElement,
dx,
dy,
autoscroll,
scalePreview,
highlightDropTargets,
getDropTarget)

Configures the given DOM element to act as a drag source for the specified graph.  Returns a a new mxDragSource.  If <mxDragSource.guideEnabled> is enabled then the x and y arguments must be used in funct to match the preview location.

Example

var funct = function(graph, evt, cell, x, y)
 {
   if (graph.canImportCell(cell))
   {
@@ -309,7 +309,7 @@ var dragImage = img.cloneNode(true);
 dragImage.style.width = '32px';
 dragImage.style.height = '32px';
 mxUtils.makeDraggable(img, graph, funct, dragImage);
-document.body.appendChild(img);

Parameters

elementDOM element to make draggable.
graphFmxGraph that acts as the drop target or a function that takes a mouse event and returns the current mxGraph.
functFunction to execute on a successful drop.
dragElementOptional DOM node to be used for the drag preview.
dxOptional horizontal offset between the cursor and the drag preview.
dyOptional vertical offset between the cursor and the drag preview.
autoscrollOptional boolean that specifies if autoscroll should be used.  Default is mxGraph.autoscroll.
scalePreviewOptional boolean that specifies if the preview element should be scaled according to the graph scale.  If this is true, then the offsets will also be scaled.  Default is false.
highlightDropTargetsOptional boolean that specifies if dropTargets should be highlighted.  Default is true.
getDropTargetOptional function to return the drop target for a given location (x, y).  Default is mxGraph.getCellAt.
+document.body.appendChild(img);

Parameters

elementDOM element to make draggable.
graphFmxGraph that acts as the drop target or a function that takes a mouse event and returns the current mxGraph.
functFunction to execute on a successful drop.
dragElementOptional DOM node to be used for the drag preview.
dxOptional horizontal offset between the cursor and the drag preview.
dyOptional vertical offset between the cursor and the drag preview.
autoscrollOptional boolean that specifies if autoscroll should be used.  Default is mxGraph.autoscroll.
scalePreviewOptional boolean that specifies if the preview element should be scaled according to the graph scale.  If this is true, then the offsets will also be scaled.  Default is false.
highlightDropTargetsOptional boolean that specifies if dropTargets should be highlighted.  Default is true.
getDropTargetOptional function to return the drop target for a given location (x, y).  Default is mxGraph.getCellAt.

@@ -325,7 +325,7 @@ HideAllBut([10], 13);// -->
-
removeCursors: function(element)
Removes the cursors from the style of the given DOM node and its descendants.
getCurrentStyle: function()
Returns the current style of the specified element.
setPrefixedStyle: function()
Adds the given style with the standard name and an optional vendor prefix for the current browser.
hasScrollbars: function(node)
Returns true if the overflow CSS property of the given node is either scroll or auto.
bind: function(scope,
funct)
Returns a wrapper function that locks the execution scope of the given function to the specified scope.
eval: function(expr)
Evaluates the given expression using eval and returns the JavaScript object that represents the expression result.
findNode: function(node,
attr,
value)
Returns the first node where attr equals value.
getFunctionName: function(f)
Returns the name for the given function.
indexOf: function(array,
obj)
Returns the index of obj in array or -1 if the array does not contain the given object.
remove: function(obj,
array)
Removes all occurrences of the given object in the given array or object.
isNode: function(value,
nodeName,
attributeName,
attributeValue)
Returns true if the given value is an XML node with the node name and if the optional attribute has the specified value.
isAncestorNode: function(ancestor,
child)
Returns true if the given ancestor is an ancestor of the given DOM node in the DOM.
getChildNodes: function(node,
nodeType)
Returns an array of child nodes that are of the given node type.
importNode: function(doc,
node,
allChildren)
Cross browser implementation for document.importNode.
createXmlDocument: function()
Returns a new, empty XML document.
parseXml: function()
Parses the specified XML string into a new XML document and returns the new document.
clearSelection: function()
Clears the current selection in the page.
removeWhitespace: function(node,
before)
Removes the sibling text nodes for the given node that only consists of tabs, newlines and spaces.
htmlEntities: function(s,
newline)
Replaces characters (less than, greater than, newlines and quotes) with their HTML entities in the given string and returns the result.
isVml: function(node)
Returns true if the given node is in the VML namespace.
getXml: function(node,
linefeed)
Returns the XML content of the specified node.
extractTextWithWhitespace: function(elems)
Returns the text content of the specified node.
replaceTrailingNewlines: function(str,
pattern)
Replaces each trailing newline with the given pattern.
getTextContent: function(node)
Returns the text content of the specified node.
setTextContent: function(node,
text)
Sets the text content of the specified node.
getInnerHtml: function()
Returns the inner HTML for the given node as a string or an empty string if no node was specified.
getOuterHtml: function()
Returns the outer HTML for the given node as a string or an empty string if no node was specified.
write: function(parent,
text)
Creates a text node for the given string and appends it to the given parent.
writeln: function(parent,
text)
Creates a text node for the given string and appends it to the given parent with an additional linefeed.
br: function(parent,
count)
Appends a linebreak to the given parent and returns the linebreak.
button: function(label,
funct,
doc)
Returns a new button with the given level and function as an onclick event handler.
para: function(parent,
text)
Appends a new paragraph with the given text to the specified parent and returns the paragraph.
addTransparentBackgroundFilter: function(node)
Adds a transparent background to the filter of the given node.
linkAction: function(parent,
text,
editor,
action,
pad)
Adds a hyperlink to the specified parent that invokes action on the specified editor.
linkInvoke: function(parent,
text,
editor,
functName,
arg,
pad)
Adds a hyperlink to the specified parent that invokes the specified function on the editor passing along the specified argument.
link: function(parent,
text,
funct,
pad)
Adds a hyperlink to the specified parent and invokes the given function when the link is clicked.
fit: function(node)
Makes sure the given node is inside the visible area of the window.
load: function(url)
Loads the specified URL synchronously and returns the mxXmlRequest.
XML HTTP request wrapper.
get: function(url,
onload,
onerror,
binary,
timeout,
ontimeout)
Loads the specified URL asynchronously and invokes the given functions depending on the request status.
getAll: function(urls,
onload,
onerror)
Loads the URLs in the given array asynchronously and invokes the given function if all requests returned with a valid 2xx status.
post: function(url,
params,
onload,
onerror)
Posts the specified params to the given URL asynchronously and invokes the given functions depending on the request status.
submit: function(url,
params,
doc,
target)
Submits the given parameters to the specified URL using mxXmlRequest.simulate and returns the mxXmlRequest.
mxXmlRequest.prototype.simulate = function(doc,
target)
Creates and posts a request to the given target URL using a dynamically created form inside the given document.
loadInto: function(url,
doc,
onload)
Loads the specified URL asynchronously into the specified document, invoking onload after the document has been loaded.
getValue: function(array,
key,
defaultValue)
Returns the value for the given key in the given associative array or the given default value if the value is null.
getNumber: function(array,
key,
defaultValue)
Returns the numeric value for the given key in the given associative array or the given default value (or 0) if the value is null.
getColor: function(array,
key,
defaultValue)
Returns the color value for the given key in the given associative array or the given default value if the value is null.
clone: function(obj,
transients,
shallow)
Recursively clones the specified object ignoring all fieldnames in the given array of transient fields.
equalPoints: function(a,
b)
Compares all mxPoints in the given lists.
equalEntries: function(a,
b)
Returns true if all entries of the given objects are equal.
removeDuplicates: function(arr)
Removes all duplicates from the given array.
isNaN: function(value)
Returns true if the given value is of type number and isNaN returns true.
extend: function(ctor,
superCtor)
Assigns a copy of the superclass prototype to the subclass prototype.
toString: function(obj)
Returns a textual representation of the specified object.
toRadians: function(deg)
Converts the given degree to radians.
toDegree: function(rad)
Converts the given radians to degree.
arcToCurves: function(x0,
y0,
r1,
r2,
angle,
largeArcFlag,
sweepFlag,
x,
y)
Converts the given arc to a series of curves.
getBoundingBox: function(rect,
rotation,
cx)
Returns the bounding box for the rotated rectangle.
getRotatedPoint: function(pt,
cos,
sin,
c)
Rotates the given point by the given cos and sin.
reversePortConstraints: function(constraint)
Reverse the port constraint bitmask.
findNearestSegment: function(state,
x,
y)
Finds the index of the nearest segment on the given cell state for the specified coordinate pair.
rectangleIntersectsSegment: function(bounds,
p1,
p2)
Returns true if the given rectangle intersects the given segment.
contains: function(bounds,
x,
y)
Returns true if the specified point (x, y) is contained in the given rectangle.
intersects: function(a,
b)
Returns true if the two rectangles intersect.
getOffset: function(container,
scrollOffset)
Returns the offset for the specified container as an mxPoint.
Implements a 2-dimensional vector with double precision coordinates.
getDocumentScrollOrigin: function(doc)
Returns the scroll origin of the given document or the current document if no document is given.
getScrollOrigin: function(node)
Returns the top, left corner of the viewrect as an mxPoint.
convertPoint: function(container,
x,
y)
Converts the specified point (x, y) using the offset of the specified container and returns a new mxPoint with the result.
ltrim: function(str,
chars)
Strips all whitespaces from the beginning of the string.
rtrim: function(str,
chars)
Strips all whitespaces from the end of the string.
trim: function(str,
chars)
Strips all whitespaces from both end of the string.
isNumeric: function(n)
Returns true if the specified value is numeric, that is, if it is not null, not an empty string, not a HEX number and isNaN returns false.
isInteger: function(n)
Returns true if the given value is an valid integer number.
mod: function(n,
m)
Returns the remainder of division of n by m.
intersection: function (x0,
y0,
x1,
y1,
x2,
y2,
x3,
y3)
Returns the intersection of two lines as an mxPoint.
ptSegDistSq: function(x1,
y1,
x2,
y2,
px,
py)
Returns the square distance between a segment and a point.
ptLineDist: function(x1,
y1,
x2,
y2,
px,
py)
Returns the distance between a line defined by two points and a point.
relativeCcw: function(x1,
y1,
x2,
y2,
px,
py)
Returns 1 if the given point on the right side of the segment, 0 if its on the segment, and -1 if the point is on the left side of the segment.
animateChanges: function(graph,
changes)
See mxEffects.animateChanges.
animateChanges: function(graph,
changes,
done)
Asynchronous animated move operation.
cascadeOpacity: function(graph,
cell,
opacity)
See mxEffects.cascadeOpacity.
cascadeOpacity: function(graph,
cell,
opacity)
Sets the opacity on the given cell and its descendants.
fadeOut: function(node,
from,
remove,
step,
delay,
isEnabled)
See mxEffects.fadeOut.
fadeOut: function(node,
from,
remove,
step,
delay,
isEnabled)
Asynchronous fade-out operation.
setOpacity: function(node,
value)
Sets the opacity of the specified DOM node to the given value in %.
createImage: function(src)
Creates and returns an image (IMG node) or VML image (v:image) in IE6 in quirks mode.
sortCells: function(cells,
ascending)
Sorts the given cells according to the order in the cell hierarchy.
getStylename: function(style)
Returns the stylename in a style of the form [(stylename|key=value);] or an empty string if the given style does not contain a stylename.
getStylenames: function(style)
Returns the stylenames in a style of the form [(stylename|key=value);] or an empty array if the given style does not contain any stylenames.
indexOfStylename: function(style,
stylename)
Returns the index of the given stylename in the given style.
addStylename: function(style,
stylename)
Adds the specified stylename to the given style if it does not already contain the stylename.
removeStylename: function(style,
stylename)
Removes all occurrences of the specified stylename in the given style and returns the updated style.
removeAllStylenames: function(style)
Removes all stylenames from the given style and returns the updated style.
setCellStyles: function(model,
cells,
key,
value)
Assigns the value for the given key in the styles of the given cells, or removes the key from the styles if the value is null.
setStyle: function(style,
key,
value)
Adds or removes the given key, value pair to the style and returns the new style.
setCellStyleFlags: function(model,
cells,
key,
flag,
value)
Sets or toggles the flag bit for the given key in the cell’s styles.
setStyleFlag: function(style,
key,
flag,
value)
Sets or removes the given key from the specified style and returns the new style.
getAlignmentAsPoint: function(align,
valign)
Returns an mxPoint that represents the horizontal and vertical alignment for numeric computations.
getSizeForString: function(text,
fontSize,
fontFamily,
textWidth)
Returns an mxRectangle with the size (width and height in pixels) of the given string.
Extends mxPoint to implement a 2-dimensional rectangle with double precision coordinates.
getViewXml: function(graph,
scale,
cells,
x0,
y0)
getScaleForPageCount: function(pageCount,
graph,
pageFormat,
border)
Returns the scale to be used for printing the graph with the given bounds across the specifies number of pages with the given format.
show: function(graph,
doc,
x0,
y0,
w,
h)
Copies the styles and the markup from the graph’s container into the given document and removes all cursor styles.
printScreen: function(graph)
Prints the specified graph using a new window and the built-in print dialog.
popup: function(content,
isInternalWindow)
Shows the specified text content in a new mxWindow or a new browser window if isInternalWindow is false.
Basic window inside a document.
alert: function(message)
Displayss the given alert in a new dialog.
prompt: function(message,
defaultValue)
Displays the given message in a prompt dialog.
confirm: function(message)
Displays the given message in a confirm dialog.
error: function(message,
width,
close,
icon)
Displays the given error message in a new mxWindow of the given width.
makeDraggable: function(element,
graphF,
funct,
dragElement,
dx,
dy,
autoscroll,
scalePreview,
highlightDropTargets,
getDropTarget)
Configures the given DOM element to act as a drag source for the specified graph.
DOM node of type ELEMENT.
Extends mxEventSource to implement a application wrapper for a graph that adds actions, I/O using mxCodec, auto-layout using mxLayoutManager, command history using undoManager, and standard dialogs and widgets, eg.
Defines the value for none.
Name of the field to be used to store the object ID.
Extends mxEventSource to implement a graph model.
Cells are the elements of the graph model.
Defines the default size for all fonts in points.
Defines the default family for all fonts in points.
Implements printing of a diagram across multiple pages.
Extends mxEventSource to implement a graph component for the browser.
Defines the rectangle for the A4 portrait page format.
Defines the image used for error dialogs.
Wrapper to create a drag source from a DOM element so that the element can be dragged over a graph and dropped into the graph as a new cell.
+
removeCursors: function(element)
Removes the cursors from the style of the given DOM node and its descendants.
getCurrentStyle: function()
Returns the current style of the specified element.
setPrefixedStyle: function()
Adds the given style with the standard name and an optional vendor prefix for the current browser.
hasScrollbars: function(node)
Returns true if the overflow CSS property of the given node is either scroll or auto.
bind: function(scope,
funct)
Returns a wrapper function that locks the execution scope of the given function to the specified scope.
eval: function(expr)
Evaluates the given expression using eval and returns the JavaScript object that represents the expression result.
findNode: function(node,
attr,
value)
Returns the first node where attr equals value.
getFunctionName: function(f)
Returns the name for the given function.
indexOf: function(array,
obj)
Returns the index of obj in array or -1 if the array does not contain the given object.
remove: function(obj,
array)
Removes all occurrences of the given object in the given array or object.
isNode: function(value,
nodeName,
attributeName,
attributeValue)
Returns true if the given value is an XML node with the node name and if the optional attribute has the specified value.
isAncestorNode: function(ancestor,
child)
Returns true if the given ancestor is an ancestor of the given DOM node in the DOM.
getChildNodes: function(node,
nodeType)
Returns an array of child nodes that are of the given node type.
importNode: function(doc,
node,
allChildren)
Cross browser implementation for document.importNode.
createXmlDocument: function()
Returns a new, empty XML document.
parseXml: function()
Parses the specified XML string into a new XML document and returns the new document.
clearSelection: function()
Clears the current selection in the page.
removeWhitespace: function(node,
before)
Removes the sibling text nodes for the given node that only consists of tabs, newlines and spaces.
htmlEntities: function(s,
newline)
Replaces characters (less than, greater than, newlines and quotes) with their HTML entities in the given string and returns the result.
isVml: function(node)
Returns true if the given node is in the VML namespace.
getXml: function(node,
linefeed)
Returns the XML content of the specified node.
extractTextWithWhitespace: function(elems)
Returns the text content of the specified node.
replaceTrailingNewlines: function(str,
pattern)
Replaces each trailing newline with the given pattern.
getTextContent: function(node)
Returns the text content of the specified node.
setTextContent: function(node,
text)
Sets the text content of the specified node.
getInnerHtml: function()
Returns the inner HTML for the given node as a string or an empty string if no node was specified.
getOuterHtml: function()
Returns the outer HTML for the given node as a string or an empty string if no node was specified.
write: function(parent,
text)
Creates a text node for the given string and appends it to the given parent.
writeln: function(parent,
text)
Creates a text node for the given string and appends it to the given parent with an additional linefeed.
br: function(parent,
count)
Appends a linebreak to the given parent and returns the linebreak.
button: function(label,
funct,
doc)
Returns a new button with the given level and function as an onclick event handler.
para: function(parent,
text)
Appends a new paragraph with the given text to the specified parent and returns the paragraph.
addTransparentBackgroundFilter: function(node)
Adds a transparent background to the filter of the given node.
linkAction: function(parent,
text,
editor,
action,
pad)
Adds a hyperlink to the specified parent that invokes action on the specified editor.
linkInvoke: function(parent,
text,
editor,
functName,
arg,
pad)
Adds a hyperlink to the specified parent that invokes the specified function on the editor passing along the specified argument.
link: function(parent,
text,
funct,
pad)
Adds a hyperlink to the specified parent and invokes the given function when the link is clicked.
fit: function(node)
Makes sure the given node is inside the visible area of the window.
load: function(url)
Loads the specified URL synchronously and returns the mxXmlRequest.
XML HTTP request wrapper.
get: function(url,
onload,
onerror,
binary,
timeout,
ontimeout)
Loads the specified URL asynchronously and invokes the given functions depending on the request status.
getAll: function(urls,
onload,
onerror)
Loads the URLs in the given array asynchronously and invokes the given function if all requests returned with a valid 2xx status.
post: function(url,
params,
onload,
onerror)
Posts the specified params to the given URL asynchronously and invokes the given functions depending on the request status.
submit: function(url,
params,
doc,
target)
Submits the given parameters to the specified URL using mxXmlRequest.simulate and returns the mxXmlRequest.
mxXmlRequest.prototype.simulate = function(doc,
target)
Creates and posts a request to the given target URL using a dynamically created form inside the given document.
loadInto: function(url,
doc,
onload)
Loads the specified URL asynchronously into the specified document, invoking onload after the document has been loaded.
getValue: function(array,
key,
defaultValue)
Returns the value for the given key in the given associative array or the given default value if the value is null.
getNumber: function(array,
key,
defaultValue)
Returns the numeric value for the given key in the given associative array or the given default value (or 0) if the value is null.
getColor: function(array,
key,
defaultValue)
Returns the color value for the given key in the given associative array or the given default value if the value is null.
clone: function(obj,
transients,
shallow)
Recursively clones the specified object ignoring all fieldnames in the given array of transient fields.
equalPoints: function(a,
b)
Compares all mxPoints in the given lists.
equalEntries: function(a,
b)
Returns true if all properties of the given objects are equal.
removeDuplicates: function(arr)
Removes all duplicates from the given array.
isNaN: function(value)
Returns true if the given value is of type number and isNaN returns true.
extend: function(ctor,
superCtor)
Assigns a copy of the superclass prototype to the subclass prototype.
toString: function(obj)
Returns a textual representation of the specified object.
toRadians: function(deg)
Converts the given degree to radians.
toDegree: function(rad)
Converts the given radians to degree.
arcToCurves: function(x0,
y0,
r1,
r2,
angle,
largeArcFlag,
sweepFlag,
x,
y)
Converts the given arc to a series of curves.
getBoundingBox: function(rect,
rotation,
cx)
Returns the bounding box for the rotated rectangle.
getRotatedPoint: function(pt,
cos,
sin,
c)
Rotates the given point by the given cos and sin.
reversePortConstraints: function(constraint)
Reverse the port constraint bitmask.
findNearestSegment: function(state,
x,
y)
Finds the index of the nearest segment on the given cell state for the specified coordinate pair.
rectangleIntersectsSegment: function(bounds,
p1,
p2)
Returns true if the given rectangle intersects the given segment.
contains: function(bounds,
x,
y)
Returns true if the specified point (x, y) is contained in the given rectangle.
intersects: function(a,
b)
Returns true if the two rectangles intersect.
getOffset: function(container,
scrollOffset)
Returns the offset for the specified container as an mxPoint.
Implements a 2-dimensional vector with double precision coordinates.
getDocumentScrollOrigin: function(doc)
Returns the scroll origin of the given document or the current document if no document is given.
getScrollOrigin: function(node)
Returns the top, left corner of the viewrect as an mxPoint.
convertPoint: function(container,
x,
y)
Converts the specified point (x, y) using the offset of the specified container and returns a new mxPoint with the result.
ltrim: function(str,
chars)
Strips all whitespaces from the beginning of the string.
rtrim: function(str,
chars)
Strips all whitespaces from the end of the string.
trim: function(str,
chars)
Strips all whitespaces from both end of the string.
isNumeric: function(n)
Returns true if the specified value is numeric, that is, if it is not null, not an empty string, not a HEX number and isNaN returns false.
isInteger: function(n)
Returns true if the given value is an valid integer number.
mod: function(n,
m)
Returns the remainder of division of n by m.
intersection: function (x0,
y0,
x1,
y1,
x2,
y2,
x3,
y3)
Returns the intersection of two lines as an mxPoint.
ptSegDistSq: function(x1,
y1,
x2,
y2,
px,
py)
Returns the square distance between a segment and a point.
ptLineDist: function(x1,
y1,
x2,
y2,
px,
py)
Returns the distance between a line defined by two points and a point.
relativeCcw: function(x1,
y1,
x2,
y2,
px,
py)
Returns 1 if the given point on the right side of the segment, 0 if its on the segment, and -1 if the point is on the left side of the segment.
animateChanges: function(graph,
changes)
See mxEffects.animateChanges.
animateChanges: function(graph,
changes,
done)
Asynchronous animated move operation.
cascadeOpacity: function(graph,
cell,
opacity)
See mxEffects.cascadeOpacity.
cascadeOpacity: function(graph,
cell,
opacity)
Sets the opacity on the given cell and its descendants.
fadeOut: function(node,
from,
remove,
step,
delay,
isEnabled)
See mxEffects.fadeOut.
fadeOut: function(node,
from,
remove,
step,
delay,
isEnabled)
Asynchronous fade-out operation.
setOpacity: function(node,
value)
Sets the opacity of the specified DOM node to the given value in %.
createImage: function(src)
Creates and returns an image (IMG node) or VML image (v:image) in IE6 in quirks mode.
sortCells: function(cells,
ascending)
Sorts the given cells according to the order in the cell hierarchy.
getStylename: function(style)
Returns the stylename in a style of the form [(stylename|key=value);] or an empty string if the given style does not contain a stylename.
getStylenames: function(style)
Returns the stylenames in a style of the form [(stylename|key=value);] or an empty array if the given style does not contain any stylenames.
indexOfStylename: function(style,
stylename)
Returns the index of the given stylename in the given style.
addStylename: function(style,
stylename)
Adds the specified stylename to the given style if it does not already contain the stylename.
removeStylename: function(style,
stylename)
Removes all occurrences of the specified stylename in the given style and returns the updated style.
removeAllStylenames: function(style)
Removes all stylenames from the given style and returns the updated style.
setCellStyles: function(model,
cells,
key,
value)
Assigns the value for the given key in the styles of the given cells, or removes the key from the styles if the value is null.
setStyle: function(style,
key,
value)
Adds or removes the given key, value pair to the style and returns the new style.
setCellStyleFlags: function(model,
cells,
key,
flag,
value)
Sets or toggles the flag bit for the given key in the cell’s styles.
setStyleFlag: function(style,
key,
flag,
value)
Sets or removes the given key from the specified style and returns the new style.
getAlignmentAsPoint: function(align,
valign)
Returns an mxPoint that represents the horizontal and vertical alignment for numeric computations.
getSizeForString: function(text,
fontSize,
fontFamily,
textWidth)
Returns an mxRectangle with the size (width and height in pixels) of the given string.
Extends mxPoint to implement a 2-dimensional rectangle with double precision coordinates.
getViewXml: function(graph,
scale,
cells,
x0,
y0)
getScaleForPageCount: function(pageCount,
graph,
pageFormat,
border)
Returns the scale to be used for printing the graph with the given bounds across the specifies number of pages with the given format.
show: function(graph,
doc,
x0,
y0,
w,
h)
Copies the styles and the markup from the graph’s container into the given document and removes all cursor styles.
printScreen: function(graph)
Prints the specified graph using a new window and the built-in print dialog.
popup: function(content,
isInternalWindow)
Shows the specified text content in a new mxWindow or a new browser window if isInternalWindow is false.
Basic window inside a document.
alert: function(message)
Displayss the given alert in a new dialog.
prompt: function(message,
defaultValue)
Displays the given message in a prompt dialog.
confirm: function(message)
Displays the given message in a confirm dialog.
error: function(message,
width,
close,
icon)
Displays the given error message in a new mxWindow of the given width.
makeDraggable: function(element,
graphF,
funct,
dragElement,
dx,
dy,
autoscroll,
scalePreview,
highlightDropTargets,
getDropTarget)
Configures the given DOM element to act as a drag source for the specified graph.
DOM node of type ELEMENT.
Extends mxEventSource to implement a application wrapper for a graph that adds actions, I/O using mxCodec, auto-layout using mxLayoutManager, command history using undoManager, and standard dialogs and widgets, eg.
Defines the value for none.
Name of the field to be used to store the object ID.
Extends mxEventSource to implement a graph model.
Cells are the elements of the graph model.
Defines the default size for all fonts in points.
Defines the default family for all fonts in points.
Implements printing of a diagram across multiple pages.
Extends mxEventSource to implement a graph component for the browser.
Defines the rectangle for the A4 portrait page format.
Defines the image used for error dialogs.
Wrapper to create a drag source from a DOM element so that the element can be dragged over a graph and dropped into the graph as a new cell.
diff --git a/docs/js-api/files/util/mxXmlCanvas2D-js.html b/docs/js-api/files/util/mxXmlCanvas2D-js.html index f9b3db261..0632b1154 100644 --- a/docs/js-api/files/util/mxXmlCanvas2D-js.html +++ b/docs/js-api/files/util/mxXmlCanvas2D-js.html @@ -11,7 +11,7 @@ if (browserType) {document.write("
");if (browserV -

mxXmlCanvas2D

Base class for all canvases.  The following methods make up the public interface of the canvas 2D for all painting in mxGraph:

mxAbstractCanvas2D.arcTo is an additional method for drawing paths.  This is a synthetic method, meaning that it is turned into a sequence of curves by default.  Subclassers may add native support for arcs.

Summary
mxXmlCanvas2DBase class for all canvases.
Functions
mxXmlCanvas2DConstructs a new abstract canvas.
Variables
rootReference to the container for the SVG content.
textEnabledSpecifies if text output should be enabled.
compressedSpecifies if the output should be compressed by removing redundant calls.
Functions
writeDefaults
formatReturns a formatted number with 2 decimal places.
createElementCreates the given element using the owner document of root.
saveSaves the drawing state.
restoreRestores the drawing state.
scaleScales the output.
translateTranslates the output.
rotateRotates and/or flips the output around a given center.
setAlphaSets the current alpha.
setFillColorSets the current fill color.
setGradientSets the gradient.
setStrokeColorSets the current stroke color.
setStrokeWidthSets the current stroke width.
setDashedEnables or disables dashed lines.
setDashPatternSets the current dash pattern.
setLineCapSets the line cap.
setLineJoinSets the line join.
setMiterLimitSets the miter limit.
setFontColorSets the current font color.
setFontBackgroundColorSets the current font background color.
setFontBorderColorSets the current font border color.
setFontSizeSets the current font size.
setFontFamilySets the current font family.
setFontStyleSets the current font style.
setShadowEnables or disables shadows.
setShadowColorSets the current shadow color.
setShadowAlphaSets the current shadows alpha.
setShadowOffsetSets the current shadow offset.
rectPuts a rectangle into the drawing buffer.
roundrectPuts a rounded rectangle into the drawing buffer.
ellipsePuts an ellipse into the drawing buffer.
imagePaints an image.
beginStarts a new path and puts it into the drawing buffer.
moveToMoves the current path the given point.
lineToDraws a line to the given coordinates.
quadToAdds a quadratic curve to the current path.
curveToAdds a bezier curve to the current path.
closeCloses the current path.
textPaints the given text.
strokePaints the outline of the current drawing buffer.
fillFills the current drawing buffer.
fillAndStrokeFills the current drawing buffer and its outline.
+

mxXmlCanvas2D

Base class for all canvases.  The following methods make up the public interface of the canvas 2D for all painting in mxGraph:

mxAbstractCanvas2D.arcTo is an additional method for drawing paths.  This is a synthetic method, meaning that it is turned into a sequence of curves by default.  Subclassers may add native support for arcs.

Summary
mxXmlCanvas2DBase class for all canvases.
Functions
mxXmlCanvas2DConstructs a new abstract canvas.
Variables
rootReference to the container for the SVG content.
textEnabledSpecifies if text output should be enabled.
compressedSpecifies if the output should be compressed by removing redundant calls.
Functions
writeDefaults
formatReturns a formatted number with 2 decimal places.
createElementCreates the given element using the owner document of root.
saveSaves the drawing state.
restoreRestores the drawing state.
scaleScales the output.
translateTranslates the output.
rotateRotates and/or flips the output around a given center.
setAlphaSets the current alpha.
setFillAlphaSets the current fill alpha.
setStrokeAlphaSets the current stroke alpha.
setFillColorSets the current fill color.
setGradientSets the gradient.
setStrokeColorSets the current stroke color.
setStrokeWidthSets the current stroke width.
setDashedEnables or disables dashed lines.
setDashPatternSets the current dash pattern.
setLineCapSets the line cap.
setLineJoinSets the line join.
setMiterLimitSets the miter limit.
setFontColorSets the current font color.
setFontBackgroundColorSets the current font background color.
setFontBorderColorSets the current font border color.
setFontSizeSets the current font size.
setFontFamilySets the current font family.
setFontStyleSets the current font style.
setShadowEnables or disables shadows.
setShadowColorSets the current shadow color.
setShadowAlphaSets the current shadows alpha.
setShadowOffsetSets the current shadow offset.
rectPuts a rectangle into the drawing buffer.
roundrectPuts a rounded rectangle into the drawing buffer.
ellipsePuts an ellipse into the drawing buffer.
imagePaints an image.
beginStarts a new path and puts it into the drawing buffer.
moveToMoves the current path the given point.
lineToDraws a line to the given coordinates.
quadToAdds a quadratic curve to the current path.
curveToAdds a bezier curve to the current path.
closeCloses the current path.
textPaints the given text.
strokePaints the outline of the current drawing buffer.
fillFills the current drawing buffer.
fillAndStrokeFills the current drawing buffer and its outline.

Functions

@@ -27,11 +27,11 @@ if (browserType) {document.write("
");if (browserV

Functions

-

writeDefaults

mxXmlCanvas2D.prototype.writeDefaults = function()

Writes the rendering defaults to root

+

writeDefaults

mxXmlCanvas2D.prototype.writeDefaults = function()

Writes the rendering defaults to root

format

mxXmlCanvas2D.prototype.format = function(value)

Returns a formatted number with 2 decimal places.

-

createElement

mxXmlCanvas2D.prototype.createElement = function(name)

Creates the given element using the owner document of root.

+

createElement

mxXmlCanvas2D.prototype.createElement = function(name)

Creates the given element using the owner document of root.

save

mxXmlCanvas2D.prototype.save = function()

Saves the drawing state.

@@ -45,9 +45,13 @@ if (browserType) {document.write("
");if (browserV

setAlpha

mxXmlCanvas2D.prototype.setAlpha = function(value)

Sets the current alpha.

Parameters

valueNumber that represents the new alpha.  Possible values are between 1 (opaque) and 0 (transparent).
+

setFillAlpha

mxXmlCanvas2D.prototype.setFillAlpha = function(value)

Sets the current fill alpha.

Parameters

valueNumber that represents the new fill alpha.  Possible values are between 1 (opaque) and 0 (transparent).
+ +

setStrokeAlpha

mxXmlCanvas2D.prototype.setStrokeAlpha = function(value)

Sets the current stroke alpha.

Parameters

valueNumber that represents the new stroke alpha.  Possible values are between 1 (opaque) and 0 (transparent).
+

setFillColor

mxXmlCanvas2D.prototype.setFillColor = function(value)

Sets the current fill color.

Parameters

valueHexadecimal representation of the color or ‘none’.
-

setGradient

mxXmlCanvas2D.prototype.setGradient = function(color1,
color2,
x,
y,
w,
h,
direction,
alpha1,
alpha2)

Sets the gradient.  Note that the coordinates may be ignored by some implementations.

Parameters

color1Hexadecimal representation of the start color.
color2Hexadecimal representation of the end color.
xX-coordinate of the gradient region.
yy-coordinate of the gradient region.
wWidth of the gradient region.
hHeight of the gradient region.
directionOne of mxConstants.DIRECTION_NORTH, mxConstants.DIRECTION_EAST, mxConstants.DIRECTION_SOUTH or mxConstants.DIRECTION_WEST.
alpha1Optional alpha of the start color.  Default is 1.  Possible values are between 1 (opaque) and 0 (transparent).
alpha2Optional alpha of the end color.  Default is 1.  Possible values are between 1 (opaque) and 0 (transparent).
+

setGradient

mxXmlCanvas2D.prototype.setGradient = function(color1,
color2,
x,
y,
w,
h,
direction,
alpha1,
alpha2)

Sets the gradient.  Note that the coordinates may be ignored by some implementations.

Parameters

color1Hexadecimal representation of the start color.
color2Hexadecimal representation of the end color.
xX-coordinate of the gradient region.
yy-coordinate of the gradient region.
wWidth of the gradient region.
hHeight of the gradient region.
directionOne of mxConstants.DIRECTION_NORTH, mxConstants.DIRECTION_EAST, mxConstants.DIRECTION_SOUTH or mxConstants.DIRECTION_WEST.
alpha1Optional alpha of the start color.  Default is 1.  Possible values are between 1 (opaque) and 0 (transparent).
alpha2Optional alpha of the end color.  Default is 1.  Possible values are between 1 (opaque) and 0 (transparent).

setStrokeColor

mxXmlCanvas2D.prototype.setStrokeColor = function(value)

Sets the current stroke color.

Parameters

valueHexadecimal representation of the color or ‘none’.
@@ -69,17 +73,17 @@ if (browserType) {document.write("
");if (browserV

setFontBorderColor

mxXmlCanvas2D.prototype.setFontBorderColor = function(value)

Sets the current font border color.

Parameters

valueHexadecimal representation of the color or ‘none’.
-

setFontSize

mxXmlCanvas2D.prototype.setFontSize = function(value)

Sets the current font size.  Default is mxConstants.DEFAULT_FONTSIZE.

Parameters

valueNumeric representation of the font size.
+

setFontSize

mxXmlCanvas2D.prototype.setFontSize = function(value)

Sets the current font size.  Default is mxConstants.DEFAULT_FONTSIZE.

Parameters

valueNumeric representation of the font size.
-

setFontFamily

mxXmlCanvas2D.prototype.setFontFamily = function(value)

Sets the current font family.  Default is mxConstants.DEFAULT_FONTFAMILY.

Parameters

valueString representation of the font family.  This handles the same values as the CSS font-family property.
+

setFontFamily

mxXmlCanvas2D.prototype.setFontFamily = function(value)

Sets the current font family.  Default is mxConstants.DEFAULT_FONTFAMILY.

Parameters

valueString representation of the font family.  This handles the same values as the CSS font-family property.
-

setFontStyle

mxXmlCanvas2D.prototype.setFontStyle = function(value)

Sets the current font style.

Parameters

valueNumeric representation of the font family.  This is the sum of the font styles from mxConstants.
+

setFontStyle

mxXmlCanvas2D.prototype.setFontStyle = function(value)

Sets the current font style.

Parameters

valueNumeric representation of the font family.  This is the sum of the font styles from mxConstants.

setShadow

mxXmlCanvas2D.prototype.setShadow = function(value)

Enables or disables shadows.

Parameters

valueBoolean that specifies if shadows should be enabled.
-

setShadowColor

mxXmlCanvas2D.prototype.setShadowColor = function(value)

Sets the current shadow color.  Default is mxConstants.SHADOWCOLOR.

Parameters

valueHexadecimal representation of the color or ‘none’.
+

setShadowColor

mxXmlCanvas2D.prototype.setShadowColor = function(value)

Sets the current shadow color.  Default is mxConstants.SHADOWCOLOR.

Parameters

valueHexadecimal representation of the color or ‘none’.
-

setShadowAlpha

mxXmlCanvas2D.prototype.setShadowAlpha = function(value)

Sets the current shadows alpha.  Default is mxConstants.SHADOW_OPACITY.

Parameters

valueNumber that represents the new alpha.  Possible values are between 1 (opaque) and 0 (transparent).
+

setShadowAlpha

mxXmlCanvas2D.prototype.setShadowAlpha = function(value)

Sets the current shadows alpha.  Default is mxConstants.SHADOW_OPACITY.

Parameters

valueNumber that represents the new alpha.  Possible values are between 1 (opaque) and 0 (transparent).

setShadowOffset

mxXmlCanvas2D.prototype.setShadowOffset = function(dx,
dy)

Sets the current shadow offset.

Parameters

dxNumber that represents the horizontal offset of the shadow.
dyNumber that represents the vertical offset of the shadow.
@@ -125,7 +129,7 @@ HideAllBut([10], 13);// -->
-
function mxXmlCanvas2D(root)
Constructs a new abstract canvas.
this.root
Reference to the container for the SVG content.
mxXmlCanvas2D.prototype.textEnabled
Specifies if text output should be enabled.
mxXmlCanvas2D.prototype.compressed
Specifies if the output should be compressed by removing redundant calls.
mxXmlCanvas2D.prototype.writeDefaults = function()
mxXmlCanvas2D.prototype.format = function(value)
Returns a formatted number with 2 decimal places.
mxXmlCanvas2D.prototype.createElement = function(name)
Creates the given element using the owner document of root.
mxXmlCanvas2D.prototype.save = function()
Saves the drawing state.
mxXmlCanvas2D.prototype.restore = function()
Restores the drawing state.
mxXmlCanvas2D.prototype.scale = function(value)
Scales the output.
mxXmlCanvas2D.prototype.translate = function(dx,
dy)
Translates the output.
mxXmlCanvas2D.prototype.rotate = function(theta,
flipH,
flipV,
cx,
cy)
Rotates and/or flips the output around a given center.
mxXmlCanvas2D.prototype.setAlpha = function(value)
Sets the current alpha.
mxXmlCanvas2D.prototype.setFillColor = function(value)
Sets the current fill color.
mxXmlCanvas2D.prototype.setGradient = function(color1,
color2,
x,
y,
w,
h,
direction,
alpha1,
alpha2)
Sets the gradient.
mxXmlCanvas2D.prototype.setStrokeColor = function(value)
Sets the current stroke color.
mxXmlCanvas2D.prototype.setStrokeWidth = function(value)
Sets the current stroke width.
mxXmlCanvas2D.prototype.setDashed = function(value)
Enables or disables dashed lines.
mxXmlCanvas2D.prototype.setDashPattern = function(value)
Sets the current dash pattern.
mxXmlCanvas2D.prototype.setLineCap = function(value)
Sets the line cap.
mxXmlCanvas2D.prototype.setLineJoin = function(value)
Sets the line join.
mxXmlCanvas2D.prototype.setMiterLimit = function(value)
Sets the miter limit.
mxXmlCanvas2D.prototype.setFontColor = function(value)
Sets the current font color.
mxXmlCanvas2D.prototype.setFontBackgroundColor = function(value)
Sets the current font background color.
mxXmlCanvas2D.prototype.setFontBorderColor = function(value)
Sets the current font border color.
mxXmlCanvas2D.prototype.setFontSize = function(value)
Sets the current font size.
mxXmlCanvas2D.prototype.setFontFamily = function(value)
Sets the current font family.
mxXmlCanvas2D.prototype.setFontStyle = function(value)
Sets the current font style.
mxXmlCanvas2D.prototype.setShadow = function(value)
Enables or disables shadows.
mxXmlCanvas2D.prototype.setShadowColor = function(value)
Sets the current shadow color.
mxXmlCanvas2D.prototype.setShadowAlpha = function(value)
Sets the current shadows alpha.
mxXmlCanvas2D.prototype.setShadowOffset = function(dx,
dy)
Sets the current shadow offset.
mxXmlCanvas2D.prototype.rect = function(x,
y,
w,
h)
Puts a rectangle into the drawing buffer.
mxXmlCanvas2D.prototype.roundrect = function(x,
y,
w,
h,
dx,
dy)
Puts a rounded rectangle into the drawing buffer.
mxXmlCanvas2D.prototype.ellipse = function(x,
y,
w,
h)
Puts an ellipse into the drawing buffer.
mxXmlCanvas2D.prototype.image = function(x,
y,
w,
h,
src,
aspect,
flipH,
flipV)
Paints an image.
mxXmlCanvas2D.prototype.begin = function()
Starts a new path and puts it into the drawing buffer.
mxXmlCanvas2D.prototype.moveTo = function(x,
y)
Moves the current path the given point.
mxXmlCanvas2D.prototype.lineTo = function(x,
y)
Draws a line to the given coordinates.
mxXmlCanvas2D.prototype.quadTo = function(x1,
y1,
x2,
y2)
Adds a quadratic curve to the current path.
mxXmlCanvas2D.prototype.curveTo = function(x1,
y1,
x2,
y2,
x3,
y3)
Adds a bezier curve to the current path.
mxXmlCanvas2D.prototype.close = function()
Closes the current path.
mxXmlCanvas2D.prototype.text = function(x,
y,
w,
h,
str,
align,
valign,
wrap,
format,
overflow,
clip,
rotation,
dir)
Paints the given text.
mxXmlCanvas2D.prototype.stroke = function()
Paints the outline of the current drawing buffer.
mxXmlCanvas2D.prototype.fill = function()
Fills the current drawing buffer.
mxXmlCanvas2D.prototype.fillAndStroke = function()
Fills the current drawing buffer and its outline.
mxAbstractCanvas2D.prototype.arcTo = function(rx,
ry,
angle,
largeArcFlag,
sweepFlag,
x,
y)
Adds the given arc to the current path.
Constant for direction north.
Constant for direction east.
Constant for direction south.
Constant for direction west.
Defines the default size for all fonts in points.
Defines the default family for all fonts in points.
Defines various global constants.
Defines the color to be used to draw shadows in shapes and windows.
Defines the opacity for shadows.
+
function mxXmlCanvas2D(root)
Constructs a new abstract canvas.
this.root
Reference to the container for the SVG content.
mxXmlCanvas2D.prototype.textEnabled
Specifies if text output should be enabled.
mxXmlCanvas2D.prototype.compressed
Specifies if the output should be compressed by removing redundant calls.
mxXmlCanvas2D.prototype.writeDefaults = function()
mxXmlCanvas2D.prototype.format = function(value)
Returns a formatted number with 2 decimal places.
mxXmlCanvas2D.prototype.createElement = function(name)
Creates the given element using the owner document of root.
mxXmlCanvas2D.prototype.save = function()
Saves the drawing state.
mxXmlCanvas2D.prototype.restore = function()
Restores the drawing state.
mxXmlCanvas2D.prototype.scale = function(value)
Scales the output.
mxXmlCanvas2D.prototype.translate = function(dx,
dy)
Translates the output.
mxXmlCanvas2D.prototype.rotate = function(theta,
flipH,
flipV,
cx,
cy)
Rotates and/or flips the output around a given center.
mxXmlCanvas2D.prototype.setAlpha = function(value)
Sets the current alpha.
mxXmlCanvas2D.prototype.setFillAlpha = function(value)
Sets the current fill alpha.
mxXmlCanvas2D.prototype.setStrokeAlpha = function(value)
Sets the current stroke alpha.
mxXmlCanvas2D.prototype.setFillColor = function(value)
Sets the current fill color.
mxXmlCanvas2D.prototype.setGradient = function(color1,
color2,
x,
y,
w,
h,
direction,
alpha1,
alpha2)
Sets the gradient.
mxXmlCanvas2D.prototype.setStrokeColor = function(value)
Sets the current stroke color.
mxXmlCanvas2D.prototype.setStrokeWidth = function(value)
Sets the current stroke width.
mxXmlCanvas2D.prototype.setDashed = function(value)
Enables or disables dashed lines.
mxXmlCanvas2D.prototype.setDashPattern = function(value)
Sets the current dash pattern.
mxXmlCanvas2D.prototype.setLineCap = function(value)
Sets the line cap.
mxXmlCanvas2D.prototype.setLineJoin = function(value)
Sets the line join.
mxXmlCanvas2D.prototype.setMiterLimit = function(value)
Sets the miter limit.
mxXmlCanvas2D.prototype.setFontColor = function(value)
Sets the current font color.
mxXmlCanvas2D.prototype.setFontBackgroundColor = function(value)
Sets the current font background color.
mxXmlCanvas2D.prototype.setFontBorderColor = function(value)
Sets the current font border color.
mxXmlCanvas2D.prototype.setFontSize = function(value)
Sets the current font size.
mxXmlCanvas2D.prototype.setFontFamily = function(value)
Sets the current font family.
mxXmlCanvas2D.prototype.setFontStyle = function(value)
Sets the current font style.
mxXmlCanvas2D.prototype.setShadow = function(value)
Enables or disables shadows.
mxXmlCanvas2D.prototype.setShadowColor = function(value)
Sets the current shadow color.
mxXmlCanvas2D.prototype.setShadowAlpha = function(value)
Sets the current shadows alpha.
mxXmlCanvas2D.prototype.setShadowOffset = function(dx,
dy)
Sets the current shadow offset.
mxXmlCanvas2D.prototype.rect = function(x,
y,
w,
h)
Puts a rectangle into the drawing buffer.
mxXmlCanvas2D.prototype.roundrect = function(x,
y,
w,
h,
dx,
dy)
Puts a rounded rectangle into the drawing buffer.
mxXmlCanvas2D.prototype.ellipse = function(x,
y,
w,
h)
Puts an ellipse into the drawing buffer.
mxXmlCanvas2D.prototype.image = function(x,
y,
w,
h,
src,
aspect,
flipH,
flipV)
Paints an image.
mxXmlCanvas2D.prototype.begin = function()
Starts a new path and puts it into the drawing buffer.
mxXmlCanvas2D.prototype.moveTo = function(x,
y)
Moves the current path the given point.
mxXmlCanvas2D.prototype.lineTo = function(x,
y)
Draws a line to the given coordinates.
mxXmlCanvas2D.prototype.quadTo = function(x1,
y1,
x2,
y2)
Adds a quadratic curve to the current path.
mxXmlCanvas2D.prototype.curveTo = function(x1,
y1,
x2,
y2,
x3,
y3)
Adds a bezier curve to the current path.
mxXmlCanvas2D.prototype.close = function()
Closes the current path.
mxXmlCanvas2D.prototype.text = function(x,
y,
w,
h,
str,
align,
valign,
wrap,
format,
overflow,
clip,
rotation,
dir)
Paints the given text.
mxXmlCanvas2D.prototype.stroke = function()
Paints the outline of the current drawing buffer.
mxXmlCanvas2D.prototype.fill = function()
Fills the current drawing buffer.
mxXmlCanvas2D.prototype.fillAndStroke = function()
Fills the current drawing buffer and its outline.
mxAbstractCanvas2D.prototype.arcTo = function(rx,
ry,
angle,
largeArcFlag,
sweepFlag,
x,
y)
Adds the given arc to the current path.
Constant for direction north.
Constant for direction east.
Constant for direction south.
Constant for direction west.
Defines the default size for all fonts in points.
Defines the default family for all fonts in points.
Defines various global constants.
Defines the color to be used to draw shadows in shapes and windows.
Defines the opacity for shadows.
diff --git a/docs/js-api/files/view/mxCellRenderer-js.html b/docs/js-api/files/view/mxCellRenderer-js.html index c0c186a77..a6ebad9d7 100644 --- a/docs/js-api/files/view/mxCellRenderer-js.html +++ b/docs/js-api/files/view/mxCellRenderer-js.html @@ -11,11 +11,11 @@ if (browserType) {document.write("
");if (browserV -

mxCellRenderer

Renders cells into a document object model.  The defaultShapes is a global map of shapename, constructor pairs that is used in all instances.  You can get a list of all available shape names using the following code.

In general the cell renderer is in charge of creating, redrawing and destroying the shape and label associated with a cell state, as well as some other graphical objects, namely controls and overlays.  The shape hieararchy in the display (ie. the hierarchy in which the DOM nodes appear in the document) does not reflect the cell hierarchy.  The shapes are a (flat) sequence of shapes and labels inside the draw pane of the graph view, with some exceptions, namely the HTML labels being placed directly inside the graph container for certain browsers.

mxLog.show();
+

mxCellRenderer

Renders cells into a document object model.  The defaultShapes is a global map of shapename, constructor pairs that is used in all instances.  You can get a list of all available shape names using the following code.

In general the cell renderer is in charge of creating, redrawing and destroying the shape and label associated with a cell state, as well as some other graphical objects, namely controls and overlays.  The shape hieararchy in the display (ie. the hierarchy in which the DOM nodes appear in the document) does not reflect the cell hierarchy.  The shapes are a (flat) sequence of shapes and labels inside the draw pane of the graph view, with some exceptions, namely the HTML labels being placed directly inside the graph container for certain browsers.

mxLog.show();
 for (var i in mxCellRenderer.prototype.defaultShapes)
 {
   mxLog.debug(i);
-}
Summary
mxCellRendererRenders cells into a document object model.
Functions
mxCellRendererarrow, rectangle, ellipse, rhombus, image, line, label, cylinder, swimlane, connector, actor and cloud.
Variables
defaultEdgeShapeDefines the default shape for edges.
defaultVertexShapeDefines the default shape for vertices.
defaultTextShapeDefines the default shape for labels.
legacyControlPositionSpecifies if the folding icon should ignore the horizontal orientation of a swimlane.
legacySpacingSpecifies if spacing and label position should be ignored if overflow is fill or width.
defaultShapesStatic array that contains the globally registered shapes which are known to all instances of this class.
antiAliasAnti-aliasing option for new shapes.
Functions
registerShapeRegisters the given constructor under the specified key in this instance of the renderer.
initializeShapeInitializes the shape in the given state by calling its init method with the correct container after configuring it using configureShape.
createShapeCreates and returns the shape for the given cell state.
createIndicatorShapeCreates the indicator shape for the given cell state.
getShapeReturns the shape for the given name from defaultShapes.
getShapeConstructorReturns the constructor to be used for creating the shape.
configureShapeConfigures the shape for the given cell state.
postConfigureShapeReplaces any reserved words used for attributes, eg.
resolveColorResolves special keywords ‘inherit’, ‘indicated’ and ‘swimlane’ and sets the respective color on the shape.
getLabelValueReturns the value to be used for the label.
createLabelCreates the label for the given cell state.
initializeLabelInitiailzes the label with a suitable container.
createCellOverlaysCreates the actual shape for showing the overlay for the given cell state.
initializeOverlayInitializes the given overlay.
installOverlayListenersInstalls the listeners for the given mxCellState, mxCellOverlay and mxShape that represents the overlay.
createControlCreates the control for the given cell state.
createControlClickHandlerHook for creating the click handler for the folding icon.
initControlInitializes the given control and returns the corresponding DOM node.
isShapeEventReturns true if the event is for the shape of the given state.
isLabelEventReturns true if the event is for the label of the given state.
installListenersInstalls the event listeners for the given cell state.
redrawLabelRedraws the label for the given cell state.
redrawLabelShapeCalled to invoked redraw on the given text shape.
getTextScaleReturns the scaling used for the label of the given state
getLabelBoundsReturns the bounds to be used to draw the label of the given state.
rotateLabelBoundsAdds the shape rotation to the given label bounds and applies the alignment and offsets.
redrawCellOverlaysRedraws the overlays for the given cell state.
redrawControlRedraws the control for the given cell state.
getControlBoundsReturns the bounds to be used to draw the control (folding icon) of the given state.
insertStateAfterInserts the given array of mxShapes after the given nodes in the DOM.
getShapesForStateReturns the mxShapes for the given cell state in the order in which they should appear in the DOM.
redrawUpdates the bounds or points and scale of the shapes for the given cell state.
redrawShapeRedraws the shape for the given cell state.
destroyDestroys the shapes associated with the given cell state.
+}
Summary
mxCellRendererRenders cells into a document object model.
Functions
mxCellRendererarrow, rectangle, ellipse, rhombus, image, line, label, cylinder, swimlane, connector, actor and cloud.
Variables
defaultEdgeShapeDefines the default shape for edges.
defaultVertexShapeDefines the default shape for vertices.
defaultTextShapeDefines the default shape for labels.
legacyControlPositionSpecifies if the folding icon should ignore the horizontal orientation of a swimlane.
legacySpacingSpecifies if spacing and label position should be ignored if overflow is fill or width.
defaultShapesStatic array that contains the globally registered shapes which are known to all instances of this class.
antiAliasAnti-aliasing option for new shapes.
Functions
registerShapeRegisters the given constructor under the specified key in this instance of the renderer.
initializeShapeInitializes the shape in the given state by calling its init method with the correct container after configuring it using configureShape.
createShapeCreates and returns the shape for the given cell state.
createIndicatorShapeCreates the indicator shape for the given cell state.
getShapeReturns the shape for the given name from defaultShapes.
getShapeConstructorReturns the constructor to be used for creating the shape.
configureShapeConfigures the shape for the given cell state.
postConfigureShapeReplaces any reserved words used for attributes, eg.
resolveColorResolves special keywords ‘inherit’, ‘indicated’ and ‘swimlane’ and sets the respective color on the shape.
getLabelValueReturns the value to be used for the label.
createLabelCreates the label for the given cell state.
initializeLabelInitiailzes the label with a suitable container.
createCellOverlaysCreates the actual shape for showing the overlay for the given cell state.
initializeOverlayInitializes the given overlay.
installOverlayListenersInstalls the listeners for the given mxCellState, mxCellOverlay and mxShape that represents the overlay.
createControlCreates the control for the given cell state.
createControlClickHandlerHook for creating the click handler for the folding icon.
initControlInitializes the given control and returns the corresponding DOM node.
isShapeEventReturns true if the event is for the shape of the given state.
isLabelEventReturns true if the event is for the label of the given state.
installListenersInstalls the event listeners for the given cell state.
redrawLabelRedraws the label for the given cell state.
isTextShapeInvalidReturns true if the style for the text shape has changed.
redrawLabelShapeCalled to invoked redraw on the given text shape.
getTextScaleReturns the scaling used for the label of the given state
getLabelBoundsReturns the bounds to be used to draw the label of the given state.
rotateLabelBoundsAdds the shape rotation to the given label bounds and applies the alignment and offsets.
redrawCellOverlaysRedraws the overlays for the given cell state.
redrawControlRedraws the control for the given cell state.
getControlBoundsReturns the bounds to be used to draw the control (folding icon) of the given state.
insertStateAfterInserts the given array of mxShapes after the given nodes in the DOM.
getShapesForStateReturns the mxShapes for the given cell state in the order in which they should appear in the DOM.
redrawUpdates the bounds or points and scale of the shapes for the given cell state.
redrawShapeRedraws the shape for the given cell state.
destroyDestroys the shapes associated with the given cell state.

Functions

@@ -23,89 +23,91 @@ for (var i in mxCellRenderer.prototype.defaultShapes)

Variables

-

defaultEdgeShape

mxCellRenderer.prototype.defaultEdgeShape

Defines the default shape for edges.  Default is mxConnector.

+

defaultEdgeShape

mxCellRenderer.prototype.defaultEdgeShape

Defines the default shape for edges.  Default is mxConnector.

-

defaultVertexShape

mxCellRenderer.prototype.defaultVertexShape

Defines the default shape for vertices.  Default is mxRectangleShape.

+

defaultVertexShape

mxCellRenderer.prototype.defaultVertexShape

Defines the default shape for vertices.  Default is mxRectangleShape.

-

defaultTextShape

mxCellRenderer.prototype.defaultTextShape

Defines the default shape for labels.  Default is mxText.

+

defaultTextShape

mxCellRenderer.prototype.defaultTextShape

Defines the default shape for labels.  Default is mxText.

legacyControlPosition

mxCellRenderer.prototype.legacyControlPosition

Specifies if the folding icon should ignore the horizontal orientation of a swimlane.  Default is true.

legacySpacing

mxCellRenderer.prototype.legacySpacing

Specifies if spacing and label position should be ignored if overflow is fill or width.  Default is true for backwards compatiblity.

-

defaultShapes

mxCellRenderer.prototype.defaultShapes

Static array that contains the globally registered shapes which are known to all instances of this class.  For adding new shapes you should use the static mxCellRenderer.registerShape function.

+

defaultShapes

mxCellRenderer.prototype.defaultShapes

Static array that contains the globally registered shapes which are known to all instances of this class.  For adding new shapes you should use the static mxCellRenderer.registerShape function.

antiAlias

mxCellRenderer.prototype.antiAlias

Anti-aliasing option for new shapes.  Default is true.

Functions

-

registerShape

mxCellRenderer.registerShape = function(key,
shape)

Registers the given constructor under the specified key in this instance of the renderer.

Example

mxCellRenderer.registerShape(mxConstants.SHAPE_RECTANGLE, mxRectangleShape);

Parameters

keyString representing the shape name.
shapeConstructor of the mxShape subclass.
+

registerShape

mxCellRenderer.registerShape = function(key,
shape)

Registers the given constructor under the specified key in this instance of the renderer.

Example

mxCellRenderer.registerShape(mxConstants.SHAPE_RECTANGLE, mxRectangleShape);

Parameters

keyString representing the shape name.
shapeConstructor of the mxShape subclass.
-

initializeShape

mxCellRenderer.prototype.initializeShape = function(state)

Initializes the shape in the given state by calling its init method with the correct container after configuring it using configureShape.

Parameters

statemxCellState for which the shape should be initialized.
+

initializeShape

mxCellRenderer.prototype.initializeShape = function(state)

Initializes the shape in the given state by calling its init method with the correct container after configuring it using configureShape.

Parameters

statemxCellState for which the shape should be initialized.
-

createShape

mxCellRenderer.prototype.createShape = function(state)

Creates and returns the shape for the given cell state.

Parameters

statemxCellState for which the shape should be created.
+

createShape

mxCellRenderer.prototype.createShape = function(state)

Creates and returns the shape for the given cell state.

Parameters

statemxCellState for which the shape should be created.
-

createIndicatorShape

mxCellRenderer.prototype.createIndicatorShape = function(state)

Creates the indicator shape for the given cell state.

Parameters

statemxCellState for which the indicator shape should be created.
+

createIndicatorShape

mxCellRenderer.prototype.createIndicatorShape = function(state)

Creates the indicator shape for the given cell state.

Parameters

statemxCellState for which the indicator shape should be created.
-

getShape

mxCellRenderer.prototype.getShape = function(name)

Returns the shape for the given name from defaultShapes.

+

getShape

mxCellRenderer.prototype.getShape = function(name)

Returns the shape for the given name from defaultShapes.

getShapeConstructor

mxCellRenderer.prototype.getShapeConstructor = function(state)

Returns the constructor to be used for creating the shape.

-

configureShape

mxCellRenderer.prototype.configureShape = function(state)

Configures the shape for the given cell state.

Parameters

statemxCellState for which the shape should be configured.
+

configureShape

mxCellRenderer.prototype.configureShape = function(state)

Configures the shape for the given cell state.

Parameters

statemxCellState for which the shape should be configured.

postConfigureShape

mxCellRenderer.prototype.postConfigureShape = function(state)

Replaces any reserved words used for attributes, eg. inherit, indicated or swimlane for colors in the shape for the given state.  This implementation resolves these keywords on the fill, stroke and gradient color keys.

resolveColor

mxCellRenderer.prototype.resolveColor = function(state,
field,
key)

Resolves special keywords ‘inherit’, ‘indicated’ and ‘swimlane’ and sets the respective color on the shape.

-

getLabelValue

mxCellRenderer.prototype.getLabelValue = function(state)

Returns the value to be used for the label.

Parameters

statemxCellState for which the label should be created.
+

getLabelValue

mxCellRenderer.prototype.getLabelValue = function(state)

Returns the value to be used for the label.

Parameters

statemxCellState for which the label should be created.
-

createLabel

mxCellRenderer.prototype.createLabel = function(state,
value)

Creates the label for the given cell state.

Parameters

statemxCellState for which the label should be created.
+

createLabel

mxCellRenderer.prototype.createLabel = function(state,
value)

Creates the label for the given cell state.

Parameters

statemxCellState for which the label should be created.
-

initializeLabel

mxCellRenderer.prototype.initializeLabel = function(state,
shape)

Initiailzes the label with a suitable container.

Parameters

statemxCellState whose label should be initialized.
+

initializeLabel

mxCellRenderer.prototype.initializeLabel = function(state,
shape)

Initiailzes the label with a suitable container.

Parameters

statemxCellState whose label should be initialized.
-

createCellOverlays

mxCellRenderer.prototype.createCellOverlays = function(state)

Creates the actual shape for showing the overlay for the given cell state.

Parameters

statemxCellState for which the overlay should be created.
+

createCellOverlays

mxCellRenderer.prototype.createCellOverlays = function(state)

Creates the actual shape for showing the overlay for the given cell state.

Parameters

statemxCellState for which the overlay should be created.
-

initializeOverlay

mxCellRenderer.prototype.initializeOverlay = function(state,
overlay)

Initializes the given overlay.

Parameters

statemxCellState for which the overlay should be created.
overlaymxImageShape that represents the overlay.
+

initializeOverlay

mxCellRenderer.prototype.initializeOverlay = function(state,
overlay)

Initializes the given overlay.

Parameters

statemxCellState for which the overlay should be created.
overlaymxImageShape that represents the overlay.
-

installOverlayListeners

Installs the listeners for the given mxCellState, mxCellOverlay and mxShape that represents the overlay.

+

installOverlayListeners

Installs the listeners for the given mxCellState, mxCellOverlay and mxShape that represents the overlay.

-

createControl

mxCellRenderer.prototype.createControl = function(state)

Creates the control for the given cell state.

Parameters

statemxCellState for which the control should be created.
+

createControl

mxCellRenderer.prototype.createControl = function(state)

Creates the control for the given cell state.

Parameters

statemxCellState for which the control should be created.
-

createControlClickHandler

mxCellRenderer.prototype.createControlClickHandler = function(state)

Hook for creating the click handler for the folding icon.

Parameters

statemxCellState whose control click handler should be returned.
+

createControlClickHandler

mxCellRenderer.prototype.createControlClickHandler = function(state)

Hook for creating the click handler for the folding icon.

Parameters

statemxCellState whose control click handler should be returned.
-

initControl

mxCellRenderer.prototype.initControl = function(state,
control,
handleEvents,
clickHandler)

Initializes the given control and returns the corresponding DOM node.

Parameters

statemxCellState for which the control should be initialized.
controlmxShape to be initialized.
handleEventsBoolean indicating if mousedown and mousemove should fire events via the graph.
clickHandlerOptional function to implement clicks on the control.
+

initControl

mxCellRenderer.prototype.initControl = function(state,
control,
handleEvents,
clickHandler)

Initializes the given control and returns the corresponding DOM node.

Parameters

statemxCellState for which the control should be initialized.
controlmxShape to be initialized.
handleEventsBoolean indicating if mousedown and mousemove should fire events via the graph.
clickHandlerOptional function to implement clicks on the control.
-

isShapeEvent

mxCellRenderer.prototype.isShapeEvent = function(state,
evt)

Returns true if the event is for the shape of the given state.  This implementation always returns true.

Parameters

statemxCellState whose shape fired the event.
evtMouse event which was fired.
+

isShapeEvent

mxCellRenderer.prototype.isShapeEvent = function(state,
evt)

Returns true if the event is for the shape of the given state.  This implementation always returns true.

Parameters

statemxCellState whose shape fired the event.
evtMouse event which was fired.
-

isLabelEvent

mxCellRenderer.prototype.isLabelEvent = function(state,
evt)

Returns true if the event is for the label of the given state.  This implementation always returns true.

Parameters

statemxCellState whose label fired the event.
evtMouse event which was fired.
+

isLabelEvent

mxCellRenderer.prototype.isLabelEvent = function(state,
evt)

Returns true if the event is for the label of the given state.  This implementation always returns true.

Parameters

statemxCellState whose label fired the event.
evtMouse event which was fired.
-

installListeners

mxCellRenderer.prototype.installListeners = function(state)

Installs the event listeners for the given cell state.

Parameters

statemxCellState for which the event listeners should be isntalled.
+

installListeners

mxCellRenderer.prototype.installListeners = function(state)

Installs the event listeners for the given cell state.

Parameters

statemxCellState for which the event listeners should be isntalled.
-

redrawLabel

mxCellRenderer.prototype.redrawLabel = function(state,
forced)

Redraws the label for the given cell state.

Parameters

statemxCellState whose label should be redrawn.
+

redrawLabel

mxCellRenderer.prototype.redrawLabel = function(state,
forced)

Redraws the label for the given cell state.

Parameters

statemxCellState whose label should be redrawn.
-

redrawLabelShape

mxCellRenderer.prototype.redrawLabelShape = function(shape)

Called to invoked redraw on the given text shape.

Parameters

shapemxText shape to be redrawn.
+

isTextShapeInvalid

mxCellRenderer.prototype.isTextShapeInvalid = function(state,
shape)

Returns true if the style for the text shape has changed.

Parameters

statemxCellState whose label should be checked.
shapemxText shape to be checked.
-

getTextScale

mxCellRenderer.prototype.getTextScale = function(state)

Returns the scaling used for the label of the given state

Parameters

statemxCellState whose label scale should be returned.
+

redrawLabelShape

mxCellRenderer.prototype.redrawLabelShape = function(shape)

Called to invoked redraw on the given text shape.

Parameters

shapemxText shape to be redrawn.
-

getLabelBounds

mxCellRenderer.prototype.getLabelBounds = function(state)

Returns the bounds to be used to draw the label of the given state.

Parameters

statemxCellState whose label bounds should be returned.
+

getTextScale

mxCellRenderer.prototype.getTextScale = function(state)

Returns the scaling used for the label of the given state

Parameters

statemxCellState whose label scale should be returned.
-

rotateLabelBounds

mxCellRenderer.prototype.rotateLabelBounds = function(state,
bounds)

Adds the shape rotation to the given label bounds and applies the alignment and offsets.

Parameters

statemxCellState whose label bounds should be rotated.
boundsmxRectangle the rectangle to be rotated.
+

getLabelBounds

mxCellRenderer.prototype.getLabelBounds = function(state)

Returns the bounds to be used to draw the label of the given state.

Parameters

statemxCellState whose label bounds should be returned.
-

redrawCellOverlays

mxCellRenderer.prototype.redrawCellOverlays = function(state,
forced)

Redraws the overlays for the given cell state.

Parameters

statemxCellState whose overlays should be redrawn.
+

rotateLabelBounds

mxCellRenderer.prototype.rotateLabelBounds = function(state,
bounds)

Adds the shape rotation to the given label bounds and applies the alignment and offsets.

Parameters

statemxCellState whose label bounds should be rotated.
boundsmxRectangle the rectangle to be rotated.
-

redrawControl

mxCellRenderer.prototype.redrawControl = function(state,
forced)

Redraws the control for the given cell state.

Parameters

statemxCellState whose control should be redrawn.
+

redrawCellOverlays

mxCellRenderer.prototype.redrawCellOverlays = function(state,
forced)

Redraws the overlays for the given cell state.

Parameters

statemxCellState whose overlays should be redrawn.
+ +

redrawControl

mxCellRenderer.prototype.redrawControl = function(state,
forced)

Redraws the control for the given cell state.

Parameters

statemxCellState whose control should be redrawn.

getControlBounds

mxCellRenderer.prototype.getControlBounds = function(state,
w,
h)

Returns the bounds to be used to draw the control (folding icon) of the given state.

-

insertStateAfter

mxCellRenderer.prototype.insertStateAfter = function(state,
node,
htmlNode)

Inserts the given array of mxShapes after the given nodes in the DOM.

Parameters

shapesArray of mxShapes to be inserted.
nodeNode in <drawPane> after which the shapes should be inserted.
htmlNodeNode in the graph container after which the shapes should be inserted that will not go into the <drawPane> (eg.  HTML labels without foreignObjects).
+

insertStateAfter

mxCellRenderer.prototype.insertStateAfter = function(state,
node,
htmlNode)

Inserts the given array of mxShapes after the given nodes in the DOM.

Parameters

shapesArray of mxShapes to be inserted.
nodeNode in <drawPane> after which the shapes should be inserted.
htmlNodeNode in the graph container after which the shapes should be inserted that will not go into the <drawPane> (eg.  HTML labels without foreignObjects).
-

getShapesForState

mxCellRenderer.prototype.getShapesForState = function(state)

Returns the mxShapes for the given cell state in the order in which they should appear in the DOM.

Parameters

statemxCellState whose shapes should be returned.
+

getShapesForState

mxCellRenderer.prototype.getShapesForState = function(state)

Returns the mxShapes for the given cell state in the order in which they should appear in the DOM.

Parameters

statemxCellState whose shapes should be returned.
-

redraw

mxCellRenderer.prototype.redraw = function(state,
force,
rendering)

Updates the bounds or points and scale of the shapes for the given cell state.  This is called in mxGraphView.validatePoints as the last step of updating all cells.

Parameters

statemxCellState for which the shapes should be updated.
forceOptional boolean that specifies if the cell should be reconfiured and redrawn without any additional checks.
renderingOptional boolean that specifies if the cell should actually be drawn into the DOM.  If this is false then redraw and/or reconfigure will not be called on the shape.
+

redraw

mxCellRenderer.prototype.redraw = function(state,
force,
rendering)

Updates the bounds or points and scale of the shapes for the given cell state.  This is called in mxGraphView.validatePoints as the last step of updating all cells.

Parameters

statemxCellState for which the shapes should be updated.
forceOptional boolean that specifies if the cell should be reconfiured and redrawn without any additional checks.
renderingOptional boolean that specifies if the cell should actually be drawn into the DOM.  If this is false then redraw and/or reconfigure will not be called on the shape.
-

redrawShape

mxCellRenderer.prototype.redrawShape = function(state,
force,
rendering)

Redraws the shape for the given cell state.

Parameters

statemxCellState whose label should be redrawn.
+

redrawShape

mxCellRenderer.prototype.redrawShape = function(state,
force,
rendering)

Redraws the shape for the given cell state.

Parameters

statemxCellState whose label should be redrawn.
-

destroy

mxCellRenderer.prototype.destroy = function(state)

Destroys the shapes associated with the given cell state.

Parameters

statemxCellState for which the shapes should be destroyed.
+

destroy

mxCellRenderer.prototype.destroy = function(state)

Destroys the shapes associated with the given cell state.

Parameters

statemxCellState for which the shapes should be destroyed.
@@ -121,7 +123,7 @@ HideAllBut([11], 13);// -->
-
function mxCellRenderer()
arrow, rectangle, ellipse, rhombus, image, line, label, cylinder, swimlane, connector, actor and cloud.
mxCellRenderer.prototype.defaultEdgeShape
Defines the default shape for edges.
mxCellRenderer.prototype.defaultVertexShape
Defines the default shape for vertices.
mxCellRenderer.prototype.defaultTextShape
Defines the default shape for labels.
mxCellRenderer.prototype.legacyControlPosition
Specifies if the folding icon should ignore the horizontal orientation of a swimlane.
mxCellRenderer.prototype.legacySpacing
Specifies if spacing and label position should be ignored if overflow is fill or width.
mxCellRenderer.prototype.defaultShapes
Static array that contains the globally registered shapes which are known to all instances of this class.
mxCellRenderer.prototype.antiAlias
Anti-aliasing option for new shapes.
mxCellRenderer.registerShape = function(key,
shape)
Registers the given constructor under the specified key in this instance of the renderer.
mxCellRenderer.prototype.initializeShape = function(state)
Initializes the shape in the given state by calling its init method with the correct container after configuring it using configureShape.
mxCellRenderer.prototype.configureShape = function(state)
Configures the shape for the given cell state.
mxCellRenderer.prototype.createShape = function(state)
Creates and returns the shape for the given cell state.
mxCellRenderer.prototype.createIndicatorShape = function(state)
Creates the indicator shape for the given cell state.
mxCellRenderer.prototype.getShape = function(name)
Returns the shape for the given name from defaultShapes.
mxCellRenderer.prototype.getShapeConstructor = function(state)
Returns the constructor to be used for creating the shape.
mxCellRenderer.prototype.postConfigureShape = function(state)
Replaces any reserved words used for attributes, eg.
mxCellRenderer.prototype.resolveColor = function(state,
field,
key)
Resolves special keywords ‘inherit’, ‘indicated’ and ‘swimlane’ and sets the respective color on the shape.
mxCellRenderer.prototype.getLabelValue = function(state)
Returns the value to be used for the label.
mxCellRenderer.prototype.createLabel = function(state,
value)
Creates the label for the given cell state.
mxCellRenderer.prototype.initializeLabel = function(state,
shape)
Initiailzes the label with a suitable container.
mxCellRenderer.prototype.createCellOverlays = function(state)
Creates the actual shape for showing the overlay for the given cell state.
mxCellRenderer.prototype.initializeOverlay = function(state,
overlay)
Initializes the given overlay.
Represents the current state of a cell in a given mxGraphView.
Extends mxEventSource to implement a graph overlay, represented by an icon and a tooltip.
Base class for all shapes.
mxCellRenderer.prototype.createControl = function(state)
Creates the control for the given cell state.
mxCellRenderer.prototype.createControlClickHandler = function(state)
Hook for creating the click handler for the folding icon.
mxCellRenderer.prototype.initControl = function(state,
control,
handleEvents,
clickHandler)
Initializes the given control and returns the corresponding DOM node.
mxCellRenderer.prototype.isShapeEvent = function(state,
evt)
Returns true if the event is for the shape of the given state.
mxCellRenderer.prototype.isLabelEvent = function(state,
evt)
Returns true if the event is for the label of the given state.
mxCellRenderer.prototype.installListeners = function(state)
Installs the event listeners for the given cell state.
mxCellRenderer.prototype.redrawLabel = function(state,
forced)
Redraws the label for the given cell state.
mxCellRenderer.prototype.redrawLabelShape = function(shape)
Called to invoked redraw on the given text shape.
mxCellRenderer.prototype.getTextScale = function(state)
Returns the scaling used for the label of the given state
mxCellRenderer.prototype.getLabelBounds = function(state)
Returns the bounds to be used to draw the label of the given state.
mxCellRenderer.prototype.rotateLabelBounds = function(state,
bounds)
Adds the shape rotation to the given label bounds and applies the alignment and offsets.
mxCellRenderer.prototype.redrawCellOverlays = function(state,
forced)
Redraws the overlays for the given cell state.
mxCellRenderer.prototype.redrawControl = function(state,
forced)
Redraws the control for the given cell state.
mxCellRenderer.prototype.getControlBounds = function(state,
w,
h)
Returns the bounds to be used to draw the control (folding icon) of the given state.
mxCellRenderer.prototype.insertStateAfter = function(state,
node,
htmlNode)
Inserts the given array of mxShapes after the given nodes in the DOM.
mxCellRenderer.prototype.getShapesForState = function(state)
Returns the mxShapes for the given cell state in the order in which they should appear in the DOM.
mxCellRenderer.prototype.redraw = function(state,
force,
rendering)
Updates the bounds or points and scale of the shapes for the given cell state.
mxCellRenderer.prototype.redrawShape = function(state,
force,
rendering)
Redraws the shape for the given cell state.
mxCellRenderer.prototype.destroy = function(state)
Destroys the shapes associated with the given cell state.
Extends mxShape to implement a connector shape.
Extends mxShape to implement a rectangle shape.
Extends mxShape to implement a text shape.
Extends mxShape to implement an image shape.
Extends mxPoint to implement a 2-dimensional rectangle with double precision coordinates.
+
function mxCellRenderer()
arrow, rectangle, ellipse, rhombus, image, line, label, cylinder, swimlane, connector, actor and cloud.
mxCellRenderer.prototype.defaultEdgeShape
Defines the default shape for edges.
mxCellRenderer.prototype.defaultVertexShape
Defines the default shape for vertices.
mxCellRenderer.prototype.defaultTextShape
Defines the default shape for labels.
mxCellRenderer.prototype.legacyControlPosition
Specifies if the folding icon should ignore the horizontal orientation of a swimlane.
mxCellRenderer.prototype.legacySpacing
Specifies if spacing and label position should be ignored if overflow is fill or width.
mxCellRenderer.prototype.defaultShapes
Static array that contains the globally registered shapes which are known to all instances of this class.
mxCellRenderer.prototype.antiAlias
Anti-aliasing option for new shapes.
mxCellRenderer.registerShape = function(key,
shape)
Registers the given constructor under the specified key in this instance of the renderer.
mxCellRenderer.prototype.initializeShape = function(state)
Initializes the shape in the given state by calling its init method with the correct container after configuring it using configureShape.
mxCellRenderer.prototype.configureShape = function(state)
Configures the shape for the given cell state.
mxCellRenderer.prototype.createShape = function(state)
Creates and returns the shape for the given cell state.
mxCellRenderer.prototype.createIndicatorShape = function(state)
Creates the indicator shape for the given cell state.
mxCellRenderer.prototype.getShape = function(name)
Returns the shape for the given name from defaultShapes.
mxCellRenderer.prototype.getShapeConstructor = function(state)
Returns the constructor to be used for creating the shape.
mxCellRenderer.prototype.postConfigureShape = function(state)
Replaces any reserved words used for attributes, eg.
mxCellRenderer.prototype.resolveColor = function(state,
field,
key)
Resolves special keywords ‘inherit’, ‘indicated’ and ‘swimlane’ and sets the respective color on the shape.
mxCellRenderer.prototype.getLabelValue = function(state)
Returns the value to be used for the label.
mxCellRenderer.prototype.createLabel = function(state,
value)
Creates the label for the given cell state.
mxCellRenderer.prototype.initializeLabel = function(state,
shape)
Initiailzes the label with a suitable container.
mxCellRenderer.prototype.createCellOverlays = function(state)
Creates the actual shape for showing the overlay for the given cell state.
mxCellRenderer.prototype.initializeOverlay = function(state,
overlay)
Initializes the given overlay.
Represents the current state of a cell in a given mxGraphView.
Extends mxEventSource to implement a graph overlay, represented by an icon and a tooltip.
Base class for all shapes.
mxCellRenderer.prototype.createControl = function(state)
Creates the control for the given cell state.
mxCellRenderer.prototype.createControlClickHandler = function(state)
Hook for creating the click handler for the folding icon.
mxCellRenderer.prototype.initControl = function(state,
control,
handleEvents,
clickHandler)
Initializes the given control and returns the corresponding DOM node.
mxCellRenderer.prototype.isShapeEvent = function(state,
evt)
Returns true if the event is for the shape of the given state.
mxCellRenderer.prototype.isLabelEvent = function(state,
evt)
Returns true if the event is for the label of the given state.
mxCellRenderer.prototype.installListeners = function(state)
Installs the event listeners for the given cell state.
mxCellRenderer.prototype.redrawLabel = function(state,
forced)
Redraws the label for the given cell state.
mxCellRenderer.prototype.isTextShapeInvalid = function(state,
shape)
Returns true if the style for the text shape has changed.
mxCellRenderer.prototype.redrawLabelShape = function(shape)
Called to invoked redraw on the given text shape.
mxCellRenderer.prototype.getTextScale = function(state)
Returns the scaling used for the label of the given state
mxCellRenderer.prototype.getLabelBounds = function(state)
Returns the bounds to be used to draw the label of the given state.
mxCellRenderer.prototype.rotateLabelBounds = function(state,
bounds)
Adds the shape rotation to the given label bounds and applies the alignment and offsets.
mxCellRenderer.prototype.redrawCellOverlays = function(state,
forced)
Redraws the overlays for the given cell state.
mxCellRenderer.prototype.redrawControl = function(state,
forced)
Redraws the control for the given cell state.
mxCellRenderer.prototype.getControlBounds = function(state,
w,
h)
Returns the bounds to be used to draw the control (folding icon) of the given state.
mxCellRenderer.prototype.insertStateAfter = function(state,
node,
htmlNode)
Inserts the given array of mxShapes after the given nodes in the DOM.
mxCellRenderer.prototype.getShapesForState = function(state)
Returns the mxShapes for the given cell state in the order in which they should appear in the DOM.
mxCellRenderer.prototype.redraw = function(state,
force,
rendering)
Updates the bounds or points and scale of the shapes for the given cell state.
mxCellRenderer.prototype.redrawShape = function(state,
force,
rendering)
Redraws the shape for the given cell state.
mxCellRenderer.prototype.destroy = function(state)
Destroys the shapes associated with the given cell state.
Extends mxShape to implement a connector shape.
Extends mxShape to implement a rectangle shape.
Extends mxShape to implement a text shape.
Extends mxShape to implement an image shape.
Extends mxPoint to implement a 2-dimensional rectangle with double precision coordinates.
diff --git a/docs/js-api/files/view/mxGraph-js.html b/docs/js-api/files/view/mxGraph-js.html index e4c63f449..18c52579c 100644 --- a/docs/js-api/files/view/mxGraph-js.html +++ b/docs/js-api/files/view/mxGraph-js.html @@ -1310,7 +1310,7 @@ graph.traverse(cell, false, function(vertex, edge)

createVertexHandler

mxGraph.prototype.createVertexHandler = function(state)

Hooks to create a new mxVertexHandler for the given mxCellState.

Parameters

statemxCellState to create the handler for.
-

createEdgeHandler

mxGraph.prototype.createEdgeHandler = function(state)

Hooks to create a new mxEdgeHandler for the given mxCellState.

Parameters

statemxCellState to create the handler for.
+

createEdgeHandler

mxGraph.prototype.createEdgeHandler = function(state,
edgeStyle)

Hooks to create a new mxEdgeHandler for the given mxCellState.

Parameters

statemxCellState to create the handler for.

createEdgeSegmentHandler

mxGraph.prototype.createEdgeSegmentHandler = function(state)

Hooks to create a new <mxEdgeSegmentHandler> for the given mxCellState.

Parameters

statemxCellState to create the handler for.
@@ -1376,7 +1376,7 @@ HideAllBut([11], 13);// -->
-
Base class for objects that dispatch named events.
mxGraph.prototype.alignCells = function(align,
cells,
param)
Aligns the given cells vertically or horizontally according to the given alignment using the optional parameter as the coordinate.
mxGraph.prototype.flipEdge = function(edge)
Toggles the style of the given edge between null (or empty) and alternateEdgeStyle.
mxGraph.prototype.orderCells = function(back,
cells)
Moves the given cells to the front or back.
mxGraph.prototype.cellsOrdered = function(cells,
back)
Moves the given cells to the front or back.
mxGraph.prototype.groupCells = function(group,
border,
cells)
Adds the cells into the given group.
mxGraph.prototype.ungroupCells = function(cells)
Ungroups the given cells by moving the children the children to their parents parent and removing the empty groups.
mxGraph.prototype.removeCellsFromParent = function(cells)
Removes the specified cells from their parents and adds them to the default parent.
mxGraph.prototype.addCells = function(cells,
parent,
index,
source,
target)
Adds the cells to the parent at the given index, connecting each cell to the optional source and target terminal.
mxGraph.prototype.cellsAdded = function(cells,
parent,
index,
source,
target,
absolute,
constrain)
Adds the specified cells to the given parent.
mxGraph.prototype.removeCells = function(cells,
includeEdges)
Removes the given cells from the graph including all connected edges if includeEdges is true.
mxGraph.prototype.cellsRemoved = function(cells)
Removes the given cells from the model.
mxGraph.prototype.splitEdge = function(edge,
cells,
newEdge,
dx,
dy)
Splits the given edge by adding the newEdge between the previous source and the given cell and reconnecting the source of the given edge to the given cell.
mxGraph.prototype.toggleCells = function(show,
cells,
includeEdges)
Sets the visible state of the specified cells and all connected edges if includeEdges is true.
mxGraph.prototype.foldCells = function(collapse,
recurse,
cells,
checkFoldable,
evt)
Sets the collapsed state of the specified cells and all descendants if recurse is true.
mxGraph.prototype.updateCellSize = function(cell,
ignoreChildren)
Updates the size of the given cell in the model using cellSizeUpdated.
mxGraph.prototype.resizeCells = function(cells,
bounds,
recurse)
Sets the bounds of the given cells and fires a mxEvent.RESIZE_CELLS event while the transaction is in progress.
mxGraph.prototype.cellsResized = function(cells,
bounds,
recurse)
Sets the bounds of the given cells and fires a mxEvent.CELLS_RESIZED event.
mxGraph.prototype.moveCells = function(cells,
dx,
dy,
clone,
target,
evt,
mapping)
Moves or clones the specified cells and moves the cells or clones by the given amount, adding them to the optional target cell.
mxGraph.prototype.cellsMoved = function(cells,
dx,
dy,
disconnect,
constrain,
extend)
Moves the specified cells by the given vector, disconnecting the cells using disconnectGraph is disconnect is true.
mxGraph.prototype.connectCell = function(edge,
terminal,
source,
constraint)
Connects the specified end of the given edge to the given terminal using cellConnected and fires mxEvent.CONNECT_CELL while the transaction is in progress.
mxGraph.prototype.cellConnected = function(edge,
terminal,
source,
constraint)
Sets the new terminal for the given edge and resets the edge points if resetEdgesOnConnect is true.
mxGraph.prototype.refresh = function(cell)
Clears all cell states or the states for the hierarchy starting at the given cell and validates the graph.
mxGraph.prototype.click = function(me)
Processes a singleclick on an optional cell and fires a click event.
mxGraph.prototype.dblClick = function(evt,
cell)
Processes a doubleclick on an optional cell and fires a dblclick event.
mxGraph.prototype.fireGestureEvent = function(evt,
cell)
Dispatches a mxEvent.GESTURE event.
mxGraph.prototype.tapAndHold = function(me)
Handles the mxMouseEvent by highlighting the mxCellState.
mxGraph.prototype.fireMouseEvent = function(evtName,
me,
sender)
Dispatches the given event in the graph event dispatch loop.
mxGraph.prototype.sizeDidChange = function()
Called when the size of the graph has changed.
mxGraph.prototype.startEditingAtCell = function(cell,
evt)
Fires a startEditing event and invokes mxCellEditor.startEditing on editor.
mxGraph.prototype.stopEditing = function(cancel)
Stops the current editing and fires a editingStopped event.
mxGraph.prototype.cellLabelChanged = function(cell,
value,
autoSize)
Sets the new label for a cell.
mxGraph.prototype.addCellOverlay = function(cell,
overlay)
Adds an mxCellOverlay for the specified cell.
mxGraph.prototype.removeCellOverlay = function(cell,
overlay)
Removes and returns the given mxCellOverlay from the given cell.
mxGraph.prototype.removeCellOverlays = function(cell)
Removes all mxCellOverlays from the given cell.
function mxGraph(container,
model,
renderHint,
stylesheet)
Constructs a new mxGraph in the specified container.
mxGraph.prototype.EMPTY_ARRAY
Immutable empty array instance.
mxGraph.prototype.mouseListeners
Holds the mouse event listeners.
mxGraph.prototype.isMouseDown
Holds the state of the mouse button.
mxGraph.prototype.model
Holds the mxGraphModel that contains the cells to be displayed.
Extends mxEventSource to implement a graph model.
mxGraph.prototype.view
Holds the mxGraphView that caches the mxCellStates for the cells.
Extends mxEventSource to implement a view for a graph.
Represents the current state of a cell in a given mxGraphView.
mxGraph.prototype.stylesheet
Holds the mxStylesheet that defines the appearance of the cells.
Defines the appearance of the cells in a graph.
mxGraph.prototype.selectionModel
Holds the mxGraphSelectionModel that models the current selection.
Implements the selection model for a graph.
mxGraph.prototype.cellEditor
Holds the mxCellEditor that is used as the in-place editing.
In-place editor for the graph.
mxGraph.prototype.cellRenderer
Holds the mxCellRenderer for rendering the cells in the graph.
Renders cells into a document object model.
mxGraph.prototype.multiplicities
An array of mxMultiplicities describing the allowed connections in a graph.
Defines invalid connections along with the error messages that they produce.
mxGraph.prototype.renderHint
RenderHint as it was passed to the constructor.
mxGraph.prototype.dialect
Dialect to be used for drawing the graph.
mxGraph.prototype.gridSize
Specifies the grid size.
mxGraph.prototype.gridEnabled
Specifies if the grid is enabled.
mxGraph.prototype.portsEnabled
Specifies if ports are enabled.
mxGraph.prototype.doubleTapEnabled
Specifies if double taps on touch-based devices should be handled as a double click.
mxGraph.prototype.doubleTapTimeout
Specifies the timeout for double taps and non-native double clicks.
mxGraph.prototype.doubleTapTolerance
Specifies the tolerance for double taps and double clicks in quirks mode.
mxGraph.prototype.lastTouchTime
Holds the time of the last touch event for double click detection.
mxGraph.prototype.tapAndHoldEnabled
Specifies if tap and hold should be used for starting connections on touch-based devices.
mxGraph.prototype.tapAndHoldDelay
Specifies the time for a tap and hold.
mxGraph.prototype.tapAndHoldInProgress
True if the timer for tap and hold events is running.
mxGraph.prototype.tapAndHoldValid
True as long as the timer is running and the touch events stay within the given tapAndHoldTolerance.
mxGraph.prototype.initialTouchX
Holds the x-coordinate of the intial touch event for tap and hold.
mxGraph.prototype.initialTouchY
Holds the y-coordinate of the intial touch event for tap and hold.
mxGraph.prototype.tolerance
Tolerance for a move to be handled as a single click.
mxGraph.prototype.defaultOverlap
Value returned by getOverlap if isAllowOverlapParent returns true for the given cell.
mxGraph.prototype.getOverlap = function(cell)
Returns a decimal number representing the amount of the width and height of the given cell that is allowed to overlap its parent.
mxGraph.prototype.isAllowOverlapParent = function(cell)
Returns true if the given cell is allowed to be placed outside of the parents area.
mxGraph.prototype.defaultParent
Specifies the default parent to be used to insert new cells.
mxGraph.prototype.alternateEdgeStyle
Specifies the alternate edge style to be used if the main control point on an edge is being doubleclicked.
mxGraph.prototype.backgroundImage
Specifies the mxImage to be returned by getBackgroundImage.
Encapsulates the URL, width and height of an image.
mxGraph.prototype.getBackgroundImage = function()
Returns the backgroundImage as an mxImage.
mxGraph.prototype.pageVisible
Specifies if the background page should be visible.
mxGraph.prototype.pageBreaksVisible
Specifies if a dashed line should be drawn between multiple pages.
mxGraph.prototype.pageBreakColor
Specifies the color for page breaks.
mxGraph.prototype.pageBreakDashed
Specifies the page breaks should be dashed.
mxGraph.prototype.minPageBreakDist
Specifies the minimum distance for page breaks to be visible.
mxGraph.prototype.preferPageSize
Specifies if the graph size should be rounded to the next page number in sizeDidChange.
mxGraph.prototype.pageFormat
Specifies the page format for the background page.
mxGraph.prototype.pageScale
Specifies the scale of the background page.
mxGraph.prototype.enabled
Specifies the return value for isEnabled.
mxGraph.prototype.isEnabled = function()
Returns true if the graph is enabled.
mxGraph.prototype.escapeEnabled
Specifies if mxKeyHandler should invoke escape when the escape key is pressed.
Event handler that listens to keystroke events.
mxGraph.prototype.escape = function(evt)
Processes an escape keystroke.
mxGraph.prototype.invokesStopCellEditing
If true, when editing is to be stopped by way of selection changing, data in diagram changing or other means stopCellEditing is invoked, and changes are saved.
mxGraph.prototype.enterStopsCellEditing
If true, pressing the enter key without pressing control or shift will stop editing and accept the new value.
mxGraph.prototype.useScrollbarsForPanning
Specifies if scrollbars should be used for panning in panGraph if any scrollbars are available.
mxGraph.prototype.panGraph = function(dx,
dy)
Shifts the graph display by the given amount.
mxGraph.prototype.exportEnabled
Specifies the return value for canExportCell.
mxGraph.prototype.canExportCell = function(cell)
Returns true if the given cell may be exported to the clipboard.
mxGraph.prototype.importEnabled
Specifies the return value for canImportCell.
mxGraph.prototype.canImportCell = function(cell)
Returns true if the given cell may be imported from the clipboard.
mxGraph.prototype.cellsLocked
Specifies the return value for isCellLocked.
mxGraph.prototype.isCellLocked = function(cell)
Returns true if the given cell may not be moved, sized, bended, disconnected, edited or selected.
mxGraph.prototype.cellsCloneable
Specifies the return value for isCellCloneable.
mxGraph.prototype.isCellCloneable = function(cell)
Returns true if the given cell is cloneable.
mxGraph.prototype.foldingEnabled
Specifies if folding (collapse and expand via an image icon in the graph should be enabled).
mxGraph.prototype.cellsEditable
Specifies the return value for isCellEditable.
mxGraph.prototype.isCellEditable = function(cell)
Returns true if the given cell is editable.
mxGraph.prototype.cellsDeletable
Specifies the return value for isCellDeletable.
mxGraph.prototype.isCellDeletable = function(cell)
Returns true if the given cell is moveable.
mxGraph.prototype.cellsMovable
Specifies the return value for isCellMovable.
mxGraph.prototype.isCellMovable = function(cell)
Returns true if the given cell is moveable.
mxGraph.prototype.edgeLabelsMovable
Specifies the return value for edges in isLabelMovable.
mxGraph.prototype.isLabelMovable = function(cell)
Returns true if the given edges’s label is moveable.
mxGraph.prototype.vertexLabelsMovable
Specifies the return value for vertices in isLabelMovable.
mxGraph.prototype.dropEnabled
Specifies the return value for isDropEnabled.
mxGraph.prototype.isDropEnabled = function()
Returns dropEnabled as a boolean.
mxGraph.prototype.splitEnabled
Specifies if dropping onto edges should be enabled.
mxGraph.prototype.cellsResizable
Specifies the return value for isCellResizable.
mxGraph.prototype.isCellResizable = function(cell)
Returns true if the given cell is resizable.
mxGraph.prototype.cellsBendable
Specifies the return value for isCellsBendable.
mxGraph.prototype.isCellsBendable = function()
Returns cellsBenadable.
mxGraph.prototype.cellsSelectable
Specifies the return value for isCellSelectable.
mxGraph.prototype.isCellSelectable = function(cell)
Returns true if the given cell is selectable.
mxGraph.prototype.cellsDisconnectable
Specifies the return value for isCellDisconntable.
mxGraph.prototype.autoSizeCells
Specifies if the graph should automatically update the cell size after an edit.
mxGraph.prototype.autoSizeCellsOnAdd
Specifies if autoSize style should be applied when cells are added.
mxGraph.prototype.autoScroll
Specifies if the graph should automatically scroll if the mouse goes near the container edge while dragging.
mxGraph.prototype.ignoreScrollbars
Specifies if the graph should automatically scroll regardless of the scrollbars.
mxGraph.prototype.translateToScrollPosition
Specifies if the graph should automatically convert the current scroll position to a translate in the graph view when a mouseUp event is received.
mxGraph.prototype.timerAutoScroll
Specifies if autoscrolling should be carried out via mxPanningManager even if the container has scrollbars.
mxGraph.prototype.allowAutoPanning
Specifies if panning via panGraph should be allowed to implement autoscroll if no scrollbars are available in scrollPointToVisible.
mxGraph.prototype.scrollPointToVisible = function(x,
y,
extend,
border)
Scrolls the graph to the given point, extending the graph container if specified.
mxGraph.prototype.autoExtend
Specifies if the size of the graph should be automatically extended if the mouse goes near the container edge while dragging.
mxGraph.prototype.maximumGraphBounds
mxRectangle that specifies the area in which all cells in the diagram should be placed.
Extends mxPoint to implement a 2-dimensional rectangle with double precision coordinates.
mxGraph.prototype.minimumGraphSize
mxRectangle that specifies the minimum size of the graph.
mxGraph.prototype.minimumContainerSize
mxRectangle that specifies the minimum size of the container if resizeContainer is true.
mxGraph.prototype.resizeContainer
Specifies if the container should be resized to the graph size when the graph size has changed.
mxGraph.prototype.maximumContainerSize
mxRectangle that specifies the maximum size of the container if resizeContainer is true.
mxGraph.prototype.border
Border to be added to the bottom and right side when the container is being resized after the graph has been changed.
mxGraph.prototype.keepEdgesInForeground
Specifies if edges should appear in the foreground regardless of their order in the model.
mxGraph.prototype.keepEdgesInBackground
Specifies if edges should appear in the background regardless of their order in the model.
mxGraph.prototype.allowNegativeCoordinates
Specifies if negative coordinates for vertices are allowed.
mxGraph.prototype.constrainChildren
Specifies if a child should be constrained inside the parent bounds after a move of the child.
mxGraph.prototype.constrainChildrenOnResize
Specifies if children should be constrained according to the constrainChildren switch if cells are resized (including via foldCells).
mxGraph.prototype.extendParents
Specifies if a parent should contain the child bounds after a resize of the child.
mxGraph.prototype.extendParentsOnAdd
Specifies if parents should be extended according to the extendParents switch if cells are added.
mxGraph.prototype.recursiveResize
Specifies the return value for isRecursiveResize.
mxGraph.prototype.isRecursiveResize = function(state)
Returns recursiveResize.
mxGraph.prototype.collapseToPreferredSize
Specifies if the cell size should be changed to the preferred size when a cell is first collapsed.
mxGraph.prototype.zoomFactor
Specifies the factor used for zoomIn and zoomOut.
mxGraph.prototype.zoomIn = function()
Zooms into the graph by zoomFactor.
mxGraph.prototype.zoomOut = function()
Zooms out of the graph by zoomFactor.
mxGraph.prototype.keepSelectionVisibleOnZoom
Specifies if the viewport should automatically contain the selection cells after a zoom operation.
mxGraph.prototype.centerZoom
Specifies if the zoom operations should go into the center of the actual diagram rather than going from top, left.
mxGraph.prototype.resetViewOnRootChange
Specifies if the scale and translate should be reset if the root changes in the model.
mxGraph.prototype.resetEdgesOnResize
Specifies if edge control points should be reset after the resize of a connected cell.
mxGraph.prototype.resetEdgesOnMove
Specifies if edge control points should be reset after the move of a connected cell.
mxGraph.prototype.resetEdgesOnConnect
Specifies if edge control points should be reset after the the edge has been reconnected.
mxGraph.prototype.allowLoops
Specifies if loops (aka self-references) are allowed.
mxGraph.prototype.defaultLoopStyle
mxEdgeStyle to be used for loops.
Provides various edge styles to be used as the values for mxConstants.STYLE_EDGE in a cell style.
mxGraph.prototype.multigraph
Specifies if multiple edges in the same direction between the same pair of vertices are allowed.
mxGraph.prototype.connectableEdges
Specifies if edges are connectable.
mxGraph.prototype.allowDanglingEdges
Specifies if edges with disconnected terminals are allowed in the graph.
mxGraph.prototype.cloneInvalidEdges
Specifies if edges that are cloned should be validated and only inserted if they are valid.
mxGraph.prototype.disconnectOnMove
Specifies if edges should be disconnected from their terminals when they are moved.
mxGraph.prototype.labelsVisible
Specifies if labels should be visible.
mxGraph.prototype.htmlLabels
Specifies the return value for isHtmlLabel.
mxGraph.prototype.isHtmlLabel = function(cell)
Returns true if the label must be rendered as HTML markup.
mxGraph.prototype.swimlaneSelectionEnabled
Specifies if swimlanes should be selectable via the content if the mouse is released.
mxGraph.prototype.swimlaneNesting
Specifies if nesting of swimlanes is allowed.
mxGraph.prototype.swimlaneIndicatorColorAttribute
The attribute used to find the color for the indicator if the indicator color is set to ‘swimlane’.
mxGraph.prototype.imageBundles
Holds the list of image bundles.
mxGraph.prototype.minFitScale
Specifies the minimum scale to be applied in fit.
mxGraph.prototype.fit = function(border,
keepOrigin,
margin,
enabled)
Scales the graph such that the complete diagram fits into container and returns the current scale in the view.
mxGraph.prototype.maxFitScale
Specifies the maximum scale to be applied in fit.
mxGraph.prototype.panDx
Current horizontal panning value.
mxGraph.prototype.panDy
Current vertical panning value.
mxGraph.prototype.collapsedImage
Specifies the mxImage to indicate a collapsed state.
mxGraph.prototype.expandedImage
Specifies the mxImage to indicate a expanded state.
mxGraph.prototype.warningImage
Specifies the mxImage for the image to be used to display a warning overlay.
mxGraph.prototype.alreadyConnectedResource
Specifies the resource key for the error message to be displayed in non-multigraphs when two vertices are already connected.
mxGraph.prototype.containsValidationErrorsResource
Specifies the resource key for the warning message to be displayed when a collapsed cell contains validation errors.
mxGraph.prototype.collapseExpandResource
Specifies the resource key for the tooltip on the collapse/expand icon.
mxGraph.prototype.init = function(container)
Initializes the container and creates the respective datastructures.
mxGraph.prototype.createHandlers = function()
Creates the tooltip-, panning-, connection- and graph-handler (in this order).
mxGraph.prototype.createTooltipHandler = function()
Creates and returns a new mxTooltipHandler to be used in this graph.
Graph event handler that displays tooltips.
mxGraph.prototype.createSelectionCellsHandler = function()
Creates and returns a new mxTooltipHandler to be used in this graph.
mxGraph.prototype.createConnectionHandler = function()
Creates and returns a new mxConnectionHandler to be used in this graph.
Graph event handler that creates new connections.
mxGraph.prototype.createGraphHandler = function()
Creates and returns a new mxGraphHandler to be used in this graph.
Graph event handler that handles selection.
mxGraph.prototype.createPanningHandler = function()
Creates and returns a new mxPanningHandler to be used in this graph.
Event handler that pans and creates popupmenus.
mxGraph.prototype.createPopupMenuHandler = function()
Creates and returns a new mxPopupMenuHandler to be used in this graph.
Event handler that creates popupmenus.
mxGraph.prototype.createSelectionModel = function()
Creates a new mxGraphSelectionModel to be used in this graph.
mxGraph.prototype.createStylesheet = function()
Creates a new mxGraphSelectionModel to be used in this graph.
mxGraph.prototype.createGraphView = function()
Creates a new mxGraphView to be used in this graph.
mxGraph.prototype.createCellRenderer = function()
Creates a new mxCellRenderer to be used in this graph.
mxGraph.prototype.createCellEditor = function()
Creates a new mxCellEditor to be used in this graph.
mxGraph.prototype.getModel = function()
Returns the mxGraphModel that contains the cells.
mxGraph.prototype.getView = function()
Returns the mxGraphView that contains the mxCellStates.
mxGraph.prototype.getStylesheet = function()
Returns the mxStylesheet that defines the style.
mxGraph.prototype.setStylesheet = function(stylesheet)
Sets the mxStylesheet that defines the style.
mxGraph.prototype.getSelectionModel = function()
Returns the mxGraphSelectionModel that contains the selection.
mxGraph.prototype.setSelectionModel = function(selectionModel)
Sets the mxSelectionModel that contains the selection.
mxGraph.prototype.getSelectionCellsForChanges = function(changes)
Returns the cells to be selected for the given array of changes.
mxGraph.prototype.graphModelChanged = function(changes)
Called when the graph model changes.
mxGraph.prototype.getRemovedCellsForChanges = function(changes)
Returns the cells that have been removed from the model.
mxGraph.prototype.processChange = function(change)
Processes the given change and invalidates the respective cached data in view.
mxGraph.prototype.removeStateForCell = function(cell)
Removes all cached information for the given cell and its descendants.
Extends mxEventSource to implement a graph overlay, represented by an icon and a tooltip.
mxGraph.prototype.getCellOverlays = function(cell)
Returns the array of mxCellOverlays for the given cell or null, if no overlays are defined.
mxGraph.prototype.clearCellOverlays = function(cell)
Removes all mxCellOverlays in the graph for the given cell and all its descendants.
mxGraph.prototype.setCellWarning = function(cell,
warning,
img,
isSelect)
Creates an overlay for the given cell using the warning and image or warningImage and returns the new mxCellOverlay.
mxGraph.prototype.startEditing = function(evt)
Calls startEditingAtCell using the given cell or the first selection cell.
mxCellEditor.prototype.startEditing = function(cell,
trigger)
Starts the editor for the given cell.
mxGraph.prototype.getEditingValue = function(cell,
evt)
Returns the initial value for in-place editing.
mxGraph.prototype.labelChanged = function(cell,
value,
evt)
Sets the label of the specified cell to the given value using cellLabelChanged and fires mxEvent.LABEL_CHANGED while the transaction is in progress.
Fires between begin- and endUpdate in cellLabelChanged.
Base class for all mouse events in mxGraph.
mxGraph.prototype.createPanningManager = function()
Creates and returns an mxPanningManager.
Implements a handler for panning.
mxGraph.prototype.getBorderSizes = function()
Returns the size of the border and padding on all four sides of the container.
mxGraph.prototype.getPreferredPageSize = function(bounds,
width,
height)
Returns the preferred size of the background page if preferPageSize is true.
mxGraph.prototype.doResizeContainer = function(width,
height)
Resizes the container for the given graph width and height.
mxGraph.prototype.updatePageBreaks = function(visible,
width,
height)
Invokes from sizeDidChange to redraw the page breaks.
mxGraph.prototype.getCellStyle = function(cell)
Returns an array of key, value pairs representing the cell style for the given cell.
mxGraph.prototype.postProcessCellStyle = function(style)
Tries to resolve the value for the image style in the image bundles and turns short data URIs as defined in mxImageBundle to data URIs as defined in RFC 2397 of the IETF.
mxGraph.prototype.setCellStyle = function(style,
cells)
Sets the style of the specified cells.
mxGraph.prototype.toggleCellStyle = function(key,
defaultValue,
cell)
Toggles the boolean value for the given key in the style of the given cell and returns the new value as 0 or 1.
mxGraph.prototype.toggleCellStyles = function(key,
defaultValue,
cells)
Toggles the boolean value for the given key in the style of the given cells and returns the new value as 0 or 1.
mxGraph.prototype.setCellStyles = function(key,
value,
cells)
Sets the key to value in the styles of the given cells.
mxGraph.prototype.toggleCellStyleFlags = function(key,
flag,
cells)
Toggles the given bit for the given key in the styles of the specified cells.
mxGraph.prototype.setCellStyleFlags = function(key,
flag,
value,
cells)
Sets or toggles the given bit for the given key in the styles of the specified cells.
mxGraph.prototype.addImageBundle = function(bundle)
Adds the specified mxImageBundle.
Maps from keys to base64 encoded images or file locations.
mxGraph.prototype.removeImageBundle = function(bundle)
Removes the specified mxImageBundle.
mxGraph.prototype.getImageFromBundles = function(key)
Searches all imageBundles for the specified key and returns the value for the first match or null if the key is not found.
mxGraph.prototype.getCellsForGroup = function(cells)
Returns the cells with the same parent as the first cell in the given array.
mxGraph.prototype.getBoundsForGroup = function(group,
children,
border)
Returns the bounds to be used for the given group and children.
mxGraph.prototype.createGroupCell = function(cells)
Hook for creating the group cell to hold the given array of mxCells if no group cell was given to the group function.
Cells are the elements of the graph model.
mxGraph.prototype.removeCellsAfterUngroup = function(cells)
Hook to remove the groups after ungroupCells.
mxGraph.prototype.updateGroupBounds = function(cells,
border,
moveGroup,
topBorder,
rightBorder,
bottomBorder,
leftBorder)
Updates the bounds of the given groups to include all children and returns the passed-in cells.
mxGraph.prototype.getBoundingBox = function(cells)
Returns the bounding box for the given array of mxCells.
mxGraph.prototype.cloneCells = function(cells,
allowInvalidEdges,
mapping)
Returns the clones for the given cells.
mxGraph.prototype.insertVertex = function(parent,
id,
value,
x,
y,
width,
height,
style,
relative)
Adds a new vertex into the given parent mxCell using value as the user object and the given coordinates as the mxGeometry of the new vertex.
Extends mxRectangle to represent the geometry of a cell.
mxGraph.prototype.createVertex = function(parent,
id,
value,
x,
y,
width,
height,
style,
relative)
Hook method that creates the new vertex for insertVertex.
mxGraph.prototype.insertEdge = function(parent,
id,
value,
source,
target,
style)
Adds a new edge into the given parent mxCell using value as the user object and the given source and target as the terminals of the new edge.
mxGraph.prototype.createEdge = function(parent,
id,
value,
source,
target,
style)
Hook method that creates the new edge for insertEdge.
mxGraph.prototype.addEdge = function(edge,
parent,
source,
target,
index)
Adds the edge to the parent and connects it to the given source and target terminals.
mxGraph.prototype.addCell = function(cell,
parent,
index,
source,
target)
Adds the cell to the parent and connects it to the given source and target terminals.
mxGraph.prototype.autoSizeCell = function(cell,
recurse)
Resizes the specified cell to just fit around the its label and/or children
mxGraph.prototype.cellsToggled = function(cells,
show)
Sets the visible state of the specified cells.
mxGraph.prototype.cellsFolded = function(cells,
collapse,
recurse,
checkFoldable)
Sets the collapsed state of the specified cells.
mxGraph.prototype.swapBounds = function(cell,
willCollapse)
Swaps the alternate and the actual bounds in the geometry of the given cell invoking updateAlternateBounds before carrying out the swap.
mxGraph.prototype.updateAlternateBounds = function(cell,
geo,
willCollapse)
Updates or sets the alternate bounds in the given geometry for the given cell depending on whether the cell is going to be collapsed.
mxGraph.prototype.addAllEdges = function(cells)
Returns an array with the given cells and all edges that are connected to a cell or one of its descendants.
mxGraph.prototype.getAllEdges = function(cells)
Returns all edges connected to the given cells or its descendants.
mxGraph.prototype.cellSizeUpdated = function(cell,
ignoreChildren)
Updates the size of the given cell in the model using getPreferredSizeForCell to get the new size.
mxGraph.prototype.getPreferredSizeForCell = function(cell)
Returns the preferred width and height of the given mxCell as an mxRectangle.
mxGraph.prototype.resizeCell = function(cell,
bounds,
recurse)
Sets the bounds of the given cell using resizeCells.
Fires between begin- and endUpdate in resizeCells.
Fires between begin- and endUpdate in cellsResized.
mxGraph.prototype.cellResized = function(cell,
bounds,
ignoreRelative,
recurse)
Resizes the parents recursively so that they contain the complete area of the resized child cell.
mxGraph.prototype.resizeChildCells = function(cell,
newGeo)
Resizes the child cells of the given cell for the given new geometry with respect to the current geometry of the cell.
mxGraph.prototype.constrainChildCells = function(cell)
Constrains the children of the given cell using constrainChild.
mxGraph.prototype.constrainChild = function(cell)
Keeps the given cell inside the bounds returned by getCellContainmentArea for its parent, according to the rules defined by getOverlap and isConstrainChild.
mxGraph.prototype.scaleCell = function(cell,
dx,
dy,
recurse)
Scales the points, position and size of the given cell according to the given vertical and horizontal scaling factors.
mxGraph.prototype.extendParent = function(cell)
Resizes the parents recursively so that they contain the complete area of the resized child cell.
mxGraph.prototype.importCells = function(cells,
dx,
dy,
target,
evt,
mapping)
Clones and inserts the given cells into the graph using the move method and returns the inserted cells.
mxGraph.prototype.translateCell = function(cell,
dx,
dy)
Translates the geometry of the given cell and stores the new, translated geometry in the model as an atomic change.
mxGraph.prototype.getCellContainmentArea = function(cell)
Returns the mxRectangle inside which a cell is to be kept.
mxGraph.prototype.getMaximumGraphBounds = function()
Returns the bounds inside which the diagram should be kept as an mxRectangle.
mxGraph.prototype.isConstrainChild = function(cell)
Returns true if the given cell should be kept inside the bounds of its parent according to the rules defined by getOverlap and isAllowOverlapParent.
mxGraph.prototype.resetEdges = function(cells)
Resets the control points of the edges that are connected to the given cells if not both ends of the edge are in the given cells array.
mxGraph.prototype.resetEdge = function(edge)
Resets the control points of the given edge.
mxGraph.prototype.getOutlineConstraint = function(point,
terminalState,
me)
Returns the constraint used to connect to the outline of the given state.
mxGraph.prototype.getAllConnectionConstraints = function(terminal,
source)
Returns an array of all mxConnectionConstraints for the given terminal.
Defines an object that contains the constraints about how to connect one side of an edge to its terminal.
mxGraph.prototype.getConnectionConstraint = function(edge,
terminal,
source)
Returns an mxConnectionConstraint that describes the given connection point.
mxGraph.prototype.setConnectionConstraint = function(edge,
terminal,
source,
constraint)
Sets the mxConnectionConstraint that describes the given connection point.
mxGraph.prototype.getConnectionPoint = function(vertex,
constraint)
Returns the nearest point in the list of absolute points or the center of the opposite terminal.
Fires between begin- and endUpdate in connectCell.
mxGraph.prototype.disconnectGraph = function(cells)
Disconnects the given edges from the terminals which are not in the given array.
mxGraph.prototype.getCurrentRoot = function()
Returns the current root of the displayed cell hierarchy.
mxGraph.prototype.getTranslateForRoot = function(cell)
Returns the translation to be used if the given cell is the root cell as an mxPoint.
Implements a 2-dimensional vector with double precision coordinates.
mxGraph.prototype.isPort = function(cell)
Returns true if the given cell is a “port”, that is, when connecting to it, the cell returned by getTerminalForPort should be used as the terminal and the port should be referenced by the ID in either the mxConstants.STYLE_SOURCE_PORT or the or the mxConstants.STYLE_TARGET_PORT.
mxGraph.prototype.getTerminalForPort = function(cell,
source)
Returns the terminal to be used for a given port.
mxGraph.prototype.getChildOffsetForCell = function(cell)
Returns the offset to be used for the cells inside the given cell.
mxGraph.prototype.enterGroup = function(cell)
Uses the given cell as the root of the displayed cell hierarchy.
mxGraph.prototype.exitGroup = function()
Changes the current root to the next valid root in the displayed cell hierarchy.
mxGraph.prototype.home = function()
Uses the root of the model as the root of the displayed cell hierarchy and selects the previous root.
mxGraph.prototype.isValidRoot = function(cell)
Returns true if the given cell is a valid root for the cell display hierarchy.
mxGraph.prototype.getGraphBounds = function()
Returns the bounds of the visible graph.
mxGraph.prototype.getCellBounds = function(cell,
includeEdges,
includeDescendants)
Returns the scaled, translated bounds for the given cell.
mxGraph.prototype.getBoundingBoxFromGeometry = function(cells,
includeEdges)
Returns the bounding box for the geometries of the vertices in the given array of cells.
mxGraph.prototype.snap = function(value)
Snaps the given numeric value to the grid if gridEnabled is true.
mxGraph.prototype.zoomActual = function()
Resets the zoom and panning in the view.
mxGraph.prototype.zoomTo = function(scale,
center)
Zooms the graph to the given scale with an optional boolean center argument, which is passd to zoom.
mxGraph.prototype.zoom = function(factor,
center)
Zooms the graph using the given factor.
mxGraph.prototype.center = function(horizontal,
vertical,
cx,
cy)
Centers the graph in the container.
mxGraph.prototype.zoomToRect = function(rect)
Zooms the graph to the specified rectangle.
mxGraph.prototype.scrollCellToVisible = function(cell,
center)
Pans the graph so that it shows the given cell.
mxGraph.prototype.scrollRectToVisible = function(rect)
Pans the graph so that it shows the given rectangle.
mxGraph.prototype.getCellGeometry = function(cell)
Returns the mxGeometry for the given cell.
mxGraph.prototype.isCellVisible = function(cell)
Returns true if the given cell is visible in this graph.
mxGraph.prototype.isCellCollapsed = function(cell)
Returns true if the given cell is collapsed in this graph.
mxGraph.prototype.isCellConnectable = function(cell)
Returns true if the given cell is connectable in this graph.
mxGraph.prototype.isOrthogonal = function(edge)
Returns true if perimeter points should be computed such that the resulting edge has only horizontal or vertical segments.
mxGraph.prototype.isLoop = function(state)
Returns true if the given cell state is a loop.
mxGraph.prototype.isCloneEvent = function(evt)
Returns true if the given event is a clone event.
mxGraph.prototype.isToggleEvent = function(evt)
Returns true if the given event is a toggle event.
mxGraph.prototype.isGridEnabledEvent = function(evt)
Returns true if the given mouse event should be aligned to the grid.
mxGraph.prototype.isConstrainedEvent = function(evt)
Returns true if the given mouse event should be aligned to the grid.
mxGraph.prototype.validationAlert = function(message)
Displays the given validation error in a dialog.
mxGraph.prototype.isEdgeValid = function(edge,
source,
target)
Checks if the return value of getEdgeValidationError for the given arguments is null.
mxGraph.prototype.getEdgeValidationError = function(edge,
source,
target)
Returns the validation error message to be displayed when inserting or changing an edges’ connectivity.
mxGraph.prototype.validateEdge = function(edge,
source,
target)
Hook method for subclassers to return an error message for the given edge and terminals.
mxGraph.prototype.validateGraph = function(cell,
context)
Validates the graph by validating each descendant of the given cell or the root of the model.
mxGraph.prototype.getCellValidationError = function(cell)
Checks all multiplicities that cannot be enforced while the graph is being modified, namely, all multiplicities that require a minimum of 1 edge.
mxGraph.prototype.validateCell = function(cell,
context)
Hook method for subclassers to return an error message for the given cell and validation context.
mxGraph.prototype.setBackgroundImage = function(image)
Sets the new backgroundImage.
mxGraph.prototype.getFoldingImage = function(state)
Returns the mxImage used to display the collapsed state of the specified cell state.
mxGraph.prototype.convertValueToString = function(cell)
Returns the textual representation for the given cell.
mxGraph.prototype.getLabel = function(cell)
Returns a string or DOM node that represents the label for the given cell.
mxGraph.prototype.isHtmlLabels = function()
Returns htmlLabels.
mxGraph.prototype.setHtmlLabels = function(value)
Sets htmlLabels.
mxGraph.prototype.isWrapping = function(cell)
This enables wrapping for HTML labels.
mxGraph.prototype.isLabelClipped = function(cell)
Returns true if the overflow portion of labels should be hidden.
mxGraph.prototype.getTooltip = function(state,
node,
x,
y)
Returns the string or DOM node that represents the tooltip for the given state, node and coordinate pair.
mxGraph.prototype.getTooltipForCell = function(cell)
Returns the string or DOM node to be used as the tooltip for the given cell.
mxGraph.prototype.getCursorForMouseEvent = function(me)
Returns the cursor value to be used for the CSS of the shape for the given event.
mxGraph.prototype.getCursorForCell = function(cell)
Returns the cursor value to be used for the CSS of the shape for the given cell.
mxGraph.prototype.getStartSize = function(swimlane)
Returns the start size of the given swimlane, that is, the width or height of the part that contains the title, depending on the horizontal style.
mxGraph.prototype.getImage = function(state)
Returns the image URL for the given cell state.
mxGraph.prototype.getVerticalAlign = function(state)
Returns the vertical alignment for the given cell state.
mxGraph.prototype.getIndicatorColor = function(state)
Returns the indicator color for the given cell state.
mxGraph.prototype.getIndicatorGradientColor = function(state)
Returns the indicator gradient color for the given cell state.
mxGraph.prototype.getIndicatorShape = function(state)
Returns the indicator shape for the given cell state.
mxGraph.prototype.getIndicatorImage = function(state)
Returns the indicator image for the given cell state.
mxGraph.prototype.getBorder = function()
Returns the value of border.
mxGraph.prototype.setBorder = function(value)
Sets the value of border.
mxGraph.prototype.isSwimlane = function (cell)
Returns true if the given cell is a swimlane in the graph.
mxGraph.prototype.isResizeContainer = function()
Returns resizeContainer.
mxGraph.prototype.setResizeContainer = function(value)
Sets resizeContainer.
mxGraph.prototype.setEnabled = function(value)
Specifies if the graph should allow any interactions.
mxGraph.prototype.isEscapeEnabled = function()
Returns escapeEnabled.
mxGraph.prototype.setEscapeEnabled = function(value)
Sets escapeEnabled.
mxGraph.prototype.isInvokesStopCellEditing = function()
Returns invokesStopCellEditing.
mxGraph.prototype.setInvokesStopCellEditing = function(value)
Sets invokesStopCellEditing.
mxGraph.prototype.isEnterStopsCellEditing = function()
Returns enterStopsCellEditing.
mxGraph.prototype.setEnterStopsCellEditing = function(value)
Sets enterStopsCellEditing.
mxGraph.prototype.isCellsLocked = function()
Returns true if the given cell may not be moved, sized, bended, disconnected, edited or selected.
mxGraph.prototype.getCloneableCells = function(cells)
Returns the cells which may be exported in the given array of cells.
mxGraph.prototype.isCellsCloneable = function()
Returns cellsCloneable, that is, if the graph allows cloning of cells by using control-drag.
mxGraph.prototype.setCellsCloneable = function(value)
Specifies if the graph should allow cloning of cells by holding down the control key while cells are being moved.
mxGraph.prototype.getExportableCells = function(cells)
Returns the cells which may be exported in the given array of cells.
mxGraph.prototype.getImportableCells = function(cells)
Returns the cells which may be imported in the given array of cells.
mxGraph.prototype.isCellsSelectable = function()
Returns cellsSelectable.
mxGraph.prototype.setCellsSelectable = function(value)
Sets cellsSelectable.
mxGraph.prototype.getDeletableCells = function(cells)
Returns the cells which may be exported in the given array of cells.
mxGraph.prototype.isCellsDeletable = function()
Returns cellsDeletable.
mxGraph.prototype.setCellsDeletable = function(value)
Sets cellsDeletable.
mxGraph.prototype.isCellRotatable = function(cell)
Returns true if the given cell is rotatable.
mxGraph.prototype.getMovableCells = function(cells)
Returns the cells which are movable in the given array of cells.
mxGraph.prototype.isCellsMovable = function()
Returns cellsMovable.
mxGraph.prototype.setCellsMovable = function(value)
Specifies if the graph should allow moving of cells.
mxGraph.prototype.isGridEnabled = function()
Returns gridEnabled as a boolean.
mxGraph.prototype.setGridEnabled = function(value)
Specifies if the grid should be enabled.
mxGraph.prototype.isPortsEnabled = function()
Returns portsEnabled as a boolean.
mxGraph.prototype.setPortsEnabled = function(value)
Specifies if the ports should be enabled.
mxGraph.prototype.getGridSize = function()
Returns gridSize.
mxGraph.prototype.setGridSize = function(value)
Sets gridSize.
mxGraph.prototype.getTolerance = function()
Returns tolerance.
mxGraph.prototype.setTolerance = function(value)
Sets tolerance.
mxGraph.prototype.isVertexLabelsMovable = function()
Returns vertexLabelsMovable.
mxGraph.prototype.setVertexLabelsMovable = function(value)
Sets vertexLabelsMovable.
mxGraph.prototype.isEdgeLabelsMovable = function()
Returns edgeLabelsMovable.
mxGraph.prototype.isSwimlaneNesting = function()
Returns swimlaneNesting as a boolean.
mxGraph.prototype.setSwimlaneNesting = function(value)
Specifies if swimlanes can be nested by drag and drop.
mxGraph.prototype.isSwimlaneSelectionEnabled = function()
Returns swimlaneSelectionEnabled as a boolean.
mxGraph.prototype.setSwimlaneSelectionEnabled = function(value)
Specifies if swimlanes should be selected if the mouse is released over their content area.
mxGraph.prototype.isMultigraph = function()
Returns multigraph as a boolean.
mxGraph.prototype.setMultigraph = function(value)
Specifies if the graph should allow multiple connections between the same pair of vertices.
mxGraph.prototype.isAllowLoops = function()
Returns allowLoops as a boolean.
mxGraph.prototype.setAllowDanglingEdges = function(value)
Specifies if dangling edges are allowed, that is, if edges are allowed that do not have a source and/or target terminal defined.
mxGraph.prototype.isAllowDanglingEdges = function()
Returns allowDanglingEdges as a boolean.
mxGraph.prototype.setConnectableEdges = function(value)
Specifies if edges should be connectable.
mxGraph.prototype.isConnectableEdges = function()
Returns connectableEdges as a boolean.
mxGraph.prototype.setCloneInvalidEdges = function(value)
Specifies if edges should be inserted when cloned but not valid wrt.
mxGraph.prototype.isCloneInvalidEdges = function()
Returns cloneInvalidEdges as a boolean.
mxGraph.prototype.setAllowLoops = function(value)
Specifies if loops are allowed.
mxGraph.prototype.isDisconnectOnMove = function()
Returns disconnectOnMove as a boolean.
mxGraph.prototype.setDisconnectOnMove = function(value)
Specifies if edges should be disconnected when moved.
mxGraph.prototype.setDropEnabled = function(value)
Specifies if the graph should allow dropping of cells onto or into other cells.
mxGraph.prototype.isSplitEnabled = function()
Returns splitEnabled as a boolean.
mxGraph.prototype.setSplitEnabled = function(value)
Specifies if the graph should allow dropping of cells onto or into other cells.
mxGraph.prototype.isCellsResizable = function()
Returns cellsResizable.
mxGraph.prototype.setCellsResizable = function(value)
Specifies if the graph should allow resizing of cells.
mxGraph.prototype.isTerminalPointMovable = function(cell,
source)
Returns true if the given terminal point is movable.
mxGraph.prototype.isCellBendable = function(cell)
Returns true if the given cell is bendable.
mxGraph.prototype.setCellsBendable = function(value)
Specifies if the graph should allow bending of edges.
mxGraph.prototype.isCellsEditable = function()
Returns cellsEditable.
mxGraph.prototype.setCellsEditable = function(value)
Specifies if the graph should allow in-place editing for cell labels.
mxGraph.prototype.isCellDisconnectable = function(cell,
terminal,
source)
Returns true if the given cell is disconnectable from the source or target terminal.
mxGraph.prototype.isCellsDisconnectable = function()
Returns cellsDisconnectable.
mxGraph.prototype.setCellsDisconnectable = function(value)
Sets cellsDisconnectable.
mxGraph.prototype.isValidSource = function(cell)
Returns true if the given cell is a valid source for new connections.
mxGraph.prototype.isValidTarget = function(cell)
Returns isValidSource for the given cell.
mxGraph.prototype.isValidConnection = function(source,
target)
Returns true if the given target cell is a valid target for source.
mxGraph.prototype.setConnectable = function(connectable)
Specifies if the graph should allow new connections.
mxGraph.prototype.isConnectable = function(connectable)
Returns true if the connectionHandler is enabled.
mxGraph.prototype.setTooltips = function (enabled)
Specifies if tooltips should be enabled.
mxGraph.prototype.setPanning = function(enabled)
Specifies if panning should be enabled.
mxGraph.prototype.isEditing = function(cell)
Returns true if the given cell is currently being edited.
mxGraph.prototype.isAutoSizeCell = function(cell)
Returns true if the size of the given cell should automatically be updated after a change of the label.
mxGraph.prototype.isAutoSizeCells = function()
Returns autoSizeCells.
mxGraph.prototype.setAutoSizeCells = function(value)
Specifies if cell sizes should be automatically updated after a label change.
mxGraph.prototype.isExtendParent = function(cell)
Returns true if the parent of the given cell should be extended if the child has been resized so that it overlaps the parent.
mxGraph.prototype.isExtendParents = function()
Returns extendParents.
mxGraph.prototype.setExtendParents = function(value)
Sets extendParents.
mxGraph.prototype.isExtendParentsOnAdd = function(cell)
Returns extendParentsOnAdd.
mxGraph.prototype.setExtendParentsOnAdd = function(value)
Sets extendParentsOnAdd.
mxGraph.prototype.isExtendParentsOnMove = function()
Returns extendParentsOnAdd.
mxGraph.prototype.setExtendParentsOnMove = function(value)
Sets extendParentsOnAdd.
mxGraph.prototype.setRecursiveResize = function(value)
Sets recursiveResize.
mxGraph.prototype.isConstrainChildren = function()
Returns constrainChildren.
mxGraph.prototype.setConstrainChildren = function(value)
Sets constrainChildren.
mxGraph.prototype.setConstrainChildrenOnResize = function(value)
Sets constrainChildrenOnResize.
mxGraph.prototype.isConstrainChildrenOnResize = function()
Returns constrainChildrenOnResize.
mxGraph.prototype.getFoldableCells = function(cells,
collapse)
Returns the cells which are movable in the given array of cells.
mxGraph.prototype.isCellFoldable = function(cell,
collapse)
Returns true if the given cell is foldable.
mxGraph.prototype.isValidDropTarget = function(cell,
cells,
evt)
Returns true if the given cell is a valid drop target for the specified cells.
mxGraph.prototype.isSplitTarget = function(target,
cells,
evt)
Returns true if the given edge may be splitted into two edges with the given cell as a new terminal between the two.
mxGraph.prototype.getDropTarget = function(cells,
evt,
cell,
clone)
Returns the given cell if it is a drop target for the given cells or the nearest ancestor that may be used as a drop target for the given cells.
mxGraph.prototype.getDefaultParent = function()
Returns defaultParent or mxGraphView.currentRoot or the first child child of mxGraphModel.root if both are null.
mxGraphView.prototype.currentRoot
mxCell that acts as the root of the displayed cell hierarchy.
mxGraphModel.prototype.root
Holds the root cell, which in turn contains the cells that represent the layers of the diagram as child cells.
mxGraph.prototype.setDefaultParent = function(cell)
Sets the defaultParent to the given cell.
mxGraph.prototype.getSwimlane = function(cell)
Returns the nearest ancestor of the given cell which is a swimlane, or the given cell, if it is itself a swimlane.
mxGraph.prototype.getSwimlaneAt = function (x,
y,
parent)
Returns the bottom-most swimlane that intersects the given point (x, y) in the cell hierarchy that starts at the given parent.
mxGraph.prototype.getCellAt = function(x,
y,
parent,
vertices,
edges,
ignoreFn)
Returns the bottom-most cell that intersects the given point (x, y) in the cell hierarchy starting at the given parent.
mxGraph.prototype.intersects = function(state,
x,
y)
Returns the bottom-most cell that intersects the given point (x, y) in the cell hierarchy that starts at the given parent.
mxGraph.prototype.hitsSwimlaneContent = function(swimlane,
x,
y)
Returns true if the given coordinate pair is inside the content are of the given swimlane.
mxGraph.prototype.getChildVertices = function(parent)
Returns the visible child vertices of the given parent.
mxGraph.prototype.getChildEdges = function(parent)
Returns the visible child edges of the given parent.
mxGraph.prototype.getChildCells = function(parent,
vertices,
edges)
Returns the visible child vertices or edges in the given parent.
mxGraph.prototype.getConnections = function(cell,
parent)
Returns all visible edges connected to the given cell without loops.
mxGraph.prototype.getIncomingEdges = function(cell,
parent)
Returns the visible incoming edges for the given cell.
mxGraph.prototype.getOutgoingEdges = function(cell,
parent)
Returns the visible outgoing edges for the given cell.
mxGraph.prototype.getEdges = function(cell,
parent,
incoming,
outgoing,
includeLoops,
recurse)
Returns the incoming and/or outgoing edges for the given cell.
mxGraph.prototype.isValidAncestor = function(cell,
parent,
recurse)
Returns whether or not the specified parent is a valid ancestor of the specified cell, either direct or indirectly based on whether ancestor recursion is enabled.
mxGraph.prototype.getOpposites = function(edges,
terminal,
sources,
targets)
Returns all distinct visible opposite cells for the specified terminal on the given edges.
mxGraph.prototype.getEdgesBetween = function(source,
target,
directed)
Returns the edges between the given source and target.
mxGraph.prototype.getPointForEvent = function(evt,
addOffset)
Returns an mxPoint representing the given event in the unscaled, non-translated coordinate space of container and applies the grid.
mxGraph.prototype.getCells = function(x,
y,
width,
height,
parent,
result)
Returns the child vertices and edges of the given parent that are contained in the given rectangle.
mxGraph.prototype.getCellsBeyond = function(x0,
y0,
parent,
rightHalfpane,
bottomHalfpane)
Returns the children of the given parent that are contained in the halfpane from the given point (x0, y0) rightwards or downwards depending on rightHalfpane and bottomHalfpane.
mxGraph.prototype.findTreeRoots = function(parent,
isolate,
invert)
Returns all children in the given parent which do not have incoming edges.
mxGraph.prototype.traverse = function(vertex,
directed,
func,
edge,
visited)
Traverses the (directed) graph invoking the given function for each visited vertex and edge.
mxGraph.prototype.isCellSelected = function(cell)
Returns true if the given cell is selected.
mxGraph.prototype.isSelectionEmpty = function()
Returns true if the selection is empty.
mxGraph.prototype.clearSelection = function()
Clears the selection using mxGraphSelectionModel.clear.
mxGraphSelectionModel.prototype.clear = function()
Clears the selection and fires a change event if the selection was not empty.
mxGraph.prototype.getSelectionCount = function()
Returns the number of selected cells.
mxGraph.prototype.getSelectionCell = function()
Returns the first cell from the array of selected mxCells.
mxGraph.prototype.getSelectionCells = function()
Returns the array of selected mxCells.
mxGraph.prototype.setSelectionCell = function(cell)
Sets the selection cell.
mxGraph.prototype.setSelectionCells = function(cells)
Sets the selection cell.
mxGraph.prototype.addSelectionCell = function(cell)
Adds the given cell to the selection.
mxGraph.prototype.addSelectionCells = function(cells)
Adds the given cells to the selection.
mxGraph.prototype.removeSelectionCell = function(cell)
Removes the given cell from the selection.
mxGraph.prototype.removeSelectionCells = function(cells)
Removes the given cells from the selection.
mxGraph.prototype.selectRegion = function(rect,
evt)
Selects and returns the cells inside the given rectangle for the specified event.
mxGraph.prototype.selectNextCell = function()
Selects the next cell.
mxGraph.prototype.selectPreviousCell = function()
Selects the previous cell.
mxGraph.prototype.selectParentCell = function()
Selects the parent cell.
mxGraph.prototype.selectChildCell = function()
Selects the first child cell.
mxGraph.prototype.selectCell = function(isNext,
isParent,
isChild)
Selects the next, parent, first child or previous cell, if all arguments are false.
mxGraph.prototype.selectAll = function(parent)
Selects all children of the given parent cell or the children of the default parent if no parent is specified.
mxGraph.prototype.selectVertices = function(parent)
Select all vertices inside the given parent or the default parent.
mxGraph.prototype.selectCells = function(vertices,
edges,
parent)
Selects all vertices and/or edges depending on the given boolean arguments recursively, starting at the given parent or the default parent if no parent is specified.
mxGraph.prototype.selectCellForEvent = function(cell,
evt)
Selects the given cell by either adding it to the selection or replacing the selection depending on whether the given mouse event is a toggle event.
mxGraph.prototype.selectCellsForEvent = function(cells,
evt)
Selects the given cells by either adding them to the selection or replacing the selection depending on whether the given mouse event is a toggle event.
mxGraph.prototype.createHandler = function(state)
Creates a new handler for the given cell state.
mxGraph.prototype.createVertexHandler = function(state)
Hooks to create a new mxVertexHandler for the given mxCellState.
Event handler for resizing cells.
mxGraph.prototype.createEdgeHandler = function(state)
Hooks to create a new mxEdgeHandler for the given mxCellState.
Graph event handler that reconnects edges and modifies control points and the edge label location.
mxGraph.prototype.createEdgeSegmentHandler = function(state)
Hooks to create a new mxEdgeSegmentHandler for the given mxCellState.
mxGraph.prototype.createElbowEdgeHandler = function(state)
Hooks to create a new mxElbowEdgeHandler for the given mxCellState.
Graph event handler that reconnects edges and modifies control points and the edge label location.
mxGraph.prototype.addMouseListener = function(listener)
Adds a listener to the graph event dispatch loop.
mxGraph.prototype.removeMouseListener = function(listener)
Removes the specified graph listener.
mxGraph.prototype.updateMouseEvent = function(me,
evtName)
Sets the graphX and graphY properties if the given mxMouseEvent if required and returned the event.
mxGraph.prototype.isEventIgnored = function(evtName,
me,
sender)
Returns true if the event should be ignored in fireMouseEvent.
mxGraph.prototype.isSyntheticEventIgnored = function(evtName,
me,
sender)
Hook for ignoring synthetic mouse events after touchend in Firefox.
mxGraph.prototype.isEventSourceIgnored = function(evtName,
me)
Returns true if the event should be ignored in fireMouseEvent.
mxGraph.prototype.getEventState = function(state)
Returns the mxCellState to be used when firing the mouse event for the given state.
mxGraph.prototype.consumeMouseEvent = function(evtName,
me,
sender)
Destroys the graph and all its resources.
Fires in fireGestureEvent after a touch gesture.
mxGraph.prototype.destroy = function()
Destroys the graph and all its resources.
Event handler that selects rectangular regions.
mxGraphView.prototype.validate = function(cell)
Calls validateCell and validateCellState and updates the graphBounds using getBoundingBox.
Name under which mxImageShape is registered in mxCellRenderer.
Name under which mxLabel is registered in mxCellRenderer.
Defines the key for the image style.
mxGraphModel.prototype.setValue = function(cell,
value)
Sets the user object of then given mxCell using mxValueChange and adds the change to the current transaction.
mxGraphModel.prototype.valueForCellChanged = function(cell,
value)
Inner callback to update the user object of the given mxCell using mxCell.valueChanged and return the previous value, that is, the return value of mxCell.valueChanged.
Action to change a user object in a model.
Defines various global constants.
mxCell.prototype.style
Holds the style as a string of the form [(stylename|key=value);].
Defines the SVG display dialect name.
Defines the strict HTML display dialect.
Defines the preferred HTML display dialect name.
Defines the mixed HTML display dialect name.
Defines the VML display dialect name.
Defines the rectangle for the A4 portrait page format.
Implements printing of a diagram across multiple pages.
mxPanningManager.prototype.border
Border to handle automatic panning inside the component.
Defines the key for the loop style.
Loop: function (state,
source,
target,
points,
result)
Implements a self-reference, aka.
Defines the key for the fill color.
Defines the key for the rounded style.
Fires between begin- and endUpdate in flipEdge.
Defines the key for the elbow style.
Fires between begin- and endUpdate in orderCells.
Fires between begin- and endUpdate in cellsOrdered.
Fires between begin- and endUpdate in groupCells.
mxGraphView.prototype.getBoundingBox = function(state,
recurse)
Returns the bounding box of the shape and the label for the given mxCellState and its children if recurse is true.
Fires between begin- and endUpdate in addCells.
Fires between begin- and endUpdate in cellsAdded.
Fires between begin- and endUpdate in removeCells.
Fires between begin- and endUpdate in cellsRemoved.
Fires between begin- and endUpdate in splitEdge.
Fires between begin- and endUpdate in toggleCells.
Fires between begin- and endUpdate in foldCells.
Fires between begin- and endUpdate in cellsFolded.
Fires between begin- and endUpdate in updateCellSize.
Fires between begin- and endUpdate in moveCells.
Fires between begin- and endUpdate in cellsMoved.
Implements a generic shape which is based on a XML node as a description.
Fires between begin- and endUpdate in cellConnected.
mxGraphModel.prototype.isRoot = function(cell)
Returns true if the given cell is the root of the model and a non-null value.
mxGraphModel.prototype.isLayer = function(cell)
Returns true if isRoot returns true for the parent of the given cell.
mxGraphView.prototype.getGraphBounds = function()
Returns graphBounds.
mxGraphView.prototype.getBounds = function(cells)
Returns the union of all mxCellStates for the given array of mxCells.
mxGraphView.prototype.setTranslate = function(dx,
dy)
Sets the translation and fires a translate event before calling revalidate followed by mxGraph.sizeDidChange.
Specifies the event name for pan.
mxGraphView.prototype.rendering
Specifies if shapes should be created, updated and destroyed using the methods of mxCellRenderer in graph.
mxGraphModel.prototype.getGeometry = function(cell)
Returns the mxGeometry of the given mxCell.
mxGraphModel.prototype.isVisible = function(cell)
Returns true if the given mxCell is visible.
mxGraphModel.prototype.isCollapsed = function(cell)
Returns true if the given mxCell is collapsed.
mxGraphModel.prototype.isConnectable = function(cell)
Returns true if the given mxCell is connectable.
Defines the key for the white-space style.
Defines the key for the overflow style.
Defines the key for the verticalAlign style.
Defines the key for the indicatorColor style.
Defines the key for the indicatorGradientColor style.
Defines the key for the indicator shape used within an mxLabel.
Defines the key for the indicator image used within an mxLabel.
Extends mxShape to implement a swimlane shape.
Defines the key for the cloneable style.
Defines the key for the deletable style.
Defines the key for the rotatable style.
Defines the key for the movable style.
Defines the key for the resizable style.
Defines the key for the bendable style.
Defines the key for the editable style.
mxConnectionHandler.prototype.enabled
Specifies if events are handled.
mxTooltipHandler.prototype.enabled
Specifies if events are handled.
mxPanningHandler.prototype.panningEnabled
Specifies if panning should be enabled.
Defines the key for the autosize style.
Defines the key for the foldable style.
A wrapper class for an associative array with object keys.
Specifies the event name for mouseDown.
Specifies the event name for mouseMove.
Specifies the event name for mouseUp.
+
Base class for objects that dispatch named events.
mxGraph.prototype.alignCells = function(align,
cells,
param)
Aligns the given cells vertically or horizontally according to the given alignment using the optional parameter as the coordinate.
mxGraph.prototype.flipEdge = function(edge)
Toggles the style of the given edge between null (or empty) and alternateEdgeStyle.
mxGraph.prototype.orderCells = function(back,
cells)
Moves the given cells to the front or back.
mxGraph.prototype.cellsOrdered = function(cells,
back)
Moves the given cells to the front or back.
mxGraph.prototype.groupCells = function(group,
border,
cells)
Adds the cells into the given group.
mxGraph.prototype.ungroupCells = function(cells)
Ungroups the given cells by moving the children the children to their parents parent and removing the empty groups.
mxGraph.prototype.removeCellsFromParent = function(cells)
Removes the specified cells from their parents and adds them to the default parent.
mxGraph.prototype.addCells = function(cells,
parent,
index,
source,
target)
Adds the cells to the parent at the given index, connecting each cell to the optional source and target terminal.
mxGraph.prototype.cellsAdded = function(cells,
parent,
index,
source,
target,
absolute,
constrain)
Adds the specified cells to the given parent.
mxGraph.prototype.removeCells = function(cells,
includeEdges)
Removes the given cells from the graph including all connected edges if includeEdges is true.
mxGraph.prototype.cellsRemoved = function(cells)
Removes the given cells from the model.
mxGraph.prototype.splitEdge = function(edge,
cells,
newEdge,
dx,
dy)
Splits the given edge by adding the newEdge between the previous source and the given cell and reconnecting the source of the given edge to the given cell.
mxGraph.prototype.toggleCells = function(show,
cells,
includeEdges)
Sets the visible state of the specified cells and all connected edges if includeEdges is true.
mxGraph.prototype.foldCells = function(collapse,
recurse,
cells,
checkFoldable,
evt)
Sets the collapsed state of the specified cells and all descendants if recurse is true.
mxGraph.prototype.updateCellSize = function(cell,
ignoreChildren)
Updates the size of the given cell in the model using cellSizeUpdated.
mxGraph.prototype.resizeCells = function(cells,
bounds,
recurse)
Sets the bounds of the given cells and fires a mxEvent.RESIZE_CELLS event while the transaction is in progress.
mxGraph.prototype.cellsResized = function(cells,
bounds,
recurse)
Sets the bounds of the given cells and fires a mxEvent.CELLS_RESIZED event.
mxGraph.prototype.moveCells = function(cells,
dx,
dy,
clone,
target,
evt,
mapping)
Moves or clones the specified cells and moves the cells or clones by the given amount, adding them to the optional target cell.
mxGraph.prototype.cellsMoved = function(cells,
dx,
dy,
disconnect,
constrain,
extend)
Moves the specified cells by the given vector, disconnecting the cells using disconnectGraph is disconnect is true.
mxGraph.prototype.connectCell = function(edge,
terminal,
source,
constraint)
Connects the specified end of the given edge to the given terminal using cellConnected and fires mxEvent.CONNECT_CELL while the transaction is in progress.
mxGraph.prototype.cellConnected = function(edge,
terminal,
source,
constraint)
Sets the new terminal for the given edge and resets the edge points if resetEdgesOnConnect is true.
mxGraph.prototype.refresh = function(cell)
Clears all cell states or the states for the hierarchy starting at the given cell and validates the graph.
mxGraph.prototype.click = function(me)
Processes a singleclick on an optional cell and fires a click event.
mxGraph.prototype.dblClick = function(evt,
cell)
Processes a doubleclick on an optional cell and fires a dblclick event.
mxGraph.prototype.fireGestureEvent = function(evt,
cell)
Dispatches a mxEvent.GESTURE event.
mxGraph.prototype.tapAndHold = function(me)
Handles the mxMouseEvent by highlighting the mxCellState.
mxGraph.prototype.fireMouseEvent = function(evtName,
me,
sender)
Dispatches the given event in the graph event dispatch loop.
mxGraph.prototype.sizeDidChange = function()
Called when the size of the graph has changed.
mxGraph.prototype.startEditingAtCell = function(cell,
evt)
Fires a startEditing event and invokes mxCellEditor.startEditing on editor.
mxGraph.prototype.stopEditing = function(cancel)
Stops the current editing and fires a editingStopped event.
mxGraph.prototype.cellLabelChanged = function(cell,
value,
autoSize)
Sets the new label for a cell.
mxGraph.prototype.addCellOverlay = function(cell,
overlay)
Adds an mxCellOverlay for the specified cell.
mxGraph.prototype.removeCellOverlay = function(cell,
overlay)
Removes and returns the given mxCellOverlay from the given cell.
mxGraph.prototype.removeCellOverlays = function(cell)
Removes all mxCellOverlays from the given cell.
function mxGraph(container,
model,
renderHint,
stylesheet)
Constructs a new mxGraph in the specified container.
mxGraph.prototype.EMPTY_ARRAY
Immutable empty array instance.
mxGraph.prototype.mouseListeners
Holds the mouse event listeners.
mxGraph.prototype.isMouseDown
Holds the state of the mouse button.
mxGraph.prototype.model
Holds the mxGraphModel that contains the cells to be displayed.
Extends mxEventSource to implement a graph model.
mxGraph.prototype.view
Holds the mxGraphView that caches the mxCellStates for the cells.
Extends mxEventSource to implement a view for a graph.
Represents the current state of a cell in a given mxGraphView.
mxGraph.prototype.stylesheet
Holds the mxStylesheet that defines the appearance of the cells.
Defines the appearance of the cells in a graph.
mxGraph.prototype.selectionModel
Holds the mxGraphSelectionModel that models the current selection.
Implements the selection model for a graph.
mxGraph.prototype.cellEditor
Holds the mxCellEditor that is used as the in-place editing.
In-place editor for the graph.
mxGraph.prototype.cellRenderer
Holds the mxCellRenderer for rendering the cells in the graph.
Renders cells into a document object model.
mxGraph.prototype.multiplicities
An array of mxMultiplicities describing the allowed connections in a graph.
Defines invalid connections along with the error messages that they produce.
mxGraph.prototype.renderHint
RenderHint as it was passed to the constructor.
mxGraph.prototype.dialect
Dialect to be used for drawing the graph.
mxGraph.prototype.gridSize
Specifies the grid size.
mxGraph.prototype.gridEnabled
Specifies if the grid is enabled.
mxGraph.prototype.portsEnabled
Specifies if ports are enabled.
mxGraph.prototype.doubleTapEnabled
Specifies if double taps on touch-based devices should be handled as a double click.
mxGraph.prototype.doubleTapTimeout
Specifies the timeout for double taps and non-native double clicks.
mxGraph.prototype.doubleTapTolerance
Specifies the tolerance for double taps and double clicks in quirks mode.
mxGraph.prototype.lastTouchTime
Holds the time of the last touch event for double click detection.
mxGraph.prototype.tapAndHoldEnabled
Specifies if tap and hold should be used for starting connections on touch-based devices.
mxGraph.prototype.tapAndHoldDelay
Specifies the time for a tap and hold.
mxGraph.prototype.tapAndHoldInProgress
True if the timer for tap and hold events is running.
mxGraph.prototype.tapAndHoldValid
True as long as the timer is running and the touch events stay within the given tapAndHoldTolerance.
mxGraph.prototype.initialTouchX
Holds the x-coordinate of the intial touch event for tap and hold.
mxGraph.prototype.initialTouchY
Holds the y-coordinate of the intial touch event for tap and hold.
mxGraph.prototype.tolerance
Tolerance for a move to be handled as a single click.
mxGraph.prototype.defaultOverlap
Value returned by getOverlap if isAllowOverlapParent returns true for the given cell.
mxGraph.prototype.getOverlap = function(cell)
Returns a decimal number representing the amount of the width and height of the given cell that is allowed to overlap its parent.
mxGraph.prototype.isAllowOverlapParent = function(cell)
Returns true if the given cell is allowed to be placed outside of the parents area.
mxGraph.prototype.defaultParent
Specifies the default parent to be used to insert new cells.
mxGraph.prototype.alternateEdgeStyle
Specifies the alternate edge style to be used if the main control point on an edge is being doubleclicked.
mxGraph.prototype.backgroundImage
Specifies the mxImage to be returned by getBackgroundImage.
Encapsulates the URL, width and height of an image.
mxGraph.prototype.getBackgroundImage = function()
Returns the backgroundImage as an mxImage.
mxGraph.prototype.pageVisible
Specifies if the background page should be visible.
mxGraph.prototype.pageBreaksVisible
Specifies if a dashed line should be drawn between multiple pages.
mxGraph.prototype.pageBreakColor
Specifies the color for page breaks.
mxGraph.prototype.pageBreakDashed
Specifies the page breaks should be dashed.
mxGraph.prototype.minPageBreakDist
Specifies the minimum distance for page breaks to be visible.
mxGraph.prototype.preferPageSize
Specifies if the graph size should be rounded to the next page number in sizeDidChange.
mxGraph.prototype.pageFormat
Specifies the page format for the background page.
mxGraph.prototype.pageScale
Specifies the scale of the background page.
mxGraph.prototype.enabled
Specifies the return value for isEnabled.
mxGraph.prototype.isEnabled = function()
Returns true if the graph is enabled.
mxGraph.prototype.escapeEnabled
Specifies if mxKeyHandler should invoke escape when the escape key is pressed.
Event handler that listens to keystroke events.
mxGraph.prototype.escape = function(evt)
Processes an escape keystroke.
mxGraph.prototype.invokesStopCellEditing
If true, when editing is to be stopped by way of selection changing, data in diagram changing or other means stopCellEditing is invoked, and changes are saved.
mxGraph.prototype.enterStopsCellEditing
If true, pressing the enter key without pressing control or shift will stop editing and accept the new value.
mxGraph.prototype.useScrollbarsForPanning
Specifies if scrollbars should be used for panning in panGraph if any scrollbars are available.
mxGraph.prototype.panGraph = function(dx,
dy)
Shifts the graph display by the given amount.
mxGraph.prototype.exportEnabled
Specifies the return value for canExportCell.
mxGraph.prototype.canExportCell = function(cell)
Returns true if the given cell may be exported to the clipboard.
mxGraph.prototype.importEnabled
Specifies the return value for canImportCell.
mxGraph.prototype.canImportCell = function(cell)
Returns true if the given cell may be imported from the clipboard.
mxGraph.prototype.cellsLocked
Specifies the return value for isCellLocked.
mxGraph.prototype.isCellLocked = function(cell)
Returns true if the given cell may not be moved, sized, bended, disconnected, edited or selected.
mxGraph.prototype.cellsCloneable
Specifies the return value for isCellCloneable.
mxGraph.prototype.isCellCloneable = function(cell)
Returns true if the given cell is cloneable.
mxGraph.prototype.foldingEnabled
Specifies if folding (collapse and expand via an image icon in the graph should be enabled).
mxGraph.prototype.cellsEditable
Specifies the return value for isCellEditable.
mxGraph.prototype.isCellEditable = function(cell)
Returns true if the given cell is editable.
mxGraph.prototype.cellsDeletable
Specifies the return value for isCellDeletable.
mxGraph.prototype.isCellDeletable = function(cell)
Returns true if the given cell is moveable.
mxGraph.prototype.cellsMovable
Specifies the return value for isCellMovable.
mxGraph.prototype.isCellMovable = function(cell)
Returns true if the given cell is moveable.
mxGraph.prototype.edgeLabelsMovable
Specifies the return value for edges in isLabelMovable.
mxGraph.prototype.isLabelMovable = function(cell)
Returns true if the given edges’s label is moveable.
mxGraph.prototype.vertexLabelsMovable
Specifies the return value for vertices in isLabelMovable.
mxGraph.prototype.dropEnabled
Specifies the return value for isDropEnabled.
mxGraph.prototype.isDropEnabled = function()
Returns dropEnabled as a boolean.
mxGraph.prototype.splitEnabled
Specifies if dropping onto edges should be enabled.
mxGraph.prototype.cellsResizable
Specifies the return value for isCellResizable.
mxGraph.prototype.isCellResizable = function(cell)
Returns true if the given cell is resizable.
mxGraph.prototype.cellsBendable
Specifies the return value for isCellsBendable.
mxGraph.prototype.isCellsBendable = function()
Returns cellsBenadable.
mxGraph.prototype.cellsSelectable
Specifies the return value for isCellSelectable.
mxGraph.prototype.isCellSelectable = function(cell)
Returns true if the given cell is selectable.
mxGraph.prototype.cellsDisconnectable
Specifies the return value for isCellDisconntable.
mxGraph.prototype.autoSizeCells
Specifies if the graph should automatically update the cell size after an edit.
mxGraph.prototype.autoSizeCellsOnAdd
Specifies if autoSize style should be applied when cells are added.
mxGraph.prototype.autoScroll
Specifies if the graph should automatically scroll if the mouse goes near the container edge while dragging.
mxGraph.prototype.ignoreScrollbars
Specifies if the graph should automatically scroll regardless of the scrollbars.
mxGraph.prototype.translateToScrollPosition
Specifies if the graph should automatically convert the current scroll position to a translate in the graph view when a mouseUp event is received.
mxGraph.prototype.timerAutoScroll
Specifies if autoscrolling should be carried out via mxPanningManager even if the container has scrollbars.
mxGraph.prototype.allowAutoPanning
Specifies if panning via panGraph should be allowed to implement autoscroll if no scrollbars are available in scrollPointToVisible.
mxGraph.prototype.scrollPointToVisible = function(x,
y,
extend,
border)
Scrolls the graph to the given point, extending the graph container if specified.
mxGraph.prototype.autoExtend
Specifies if the size of the graph should be automatically extended if the mouse goes near the container edge while dragging.
mxGraph.prototype.maximumGraphBounds
mxRectangle that specifies the area in which all cells in the diagram should be placed.
Extends mxPoint to implement a 2-dimensional rectangle with double precision coordinates.
mxGraph.prototype.minimumGraphSize
mxRectangle that specifies the minimum size of the graph.
mxGraph.prototype.minimumContainerSize
mxRectangle that specifies the minimum size of the container if resizeContainer is true.
mxGraph.prototype.resizeContainer
Specifies if the container should be resized to the graph size when the graph size has changed.
mxGraph.prototype.maximumContainerSize
mxRectangle that specifies the maximum size of the container if resizeContainer is true.
mxGraph.prototype.border
Border to be added to the bottom and right side when the container is being resized after the graph has been changed.
mxGraph.prototype.keepEdgesInForeground
Specifies if edges should appear in the foreground regardless of their order in the model.
mxGraph.prototype.keepEdgesInBackground
Specifies if edges should appear in the background regardless of their order in the model.
mxGraph.prototype.allowNegativeCoordinates
Specifies if negative coordinates for vertices are allowed.
mxGraph.prototype.constrainChildren
Specifies if a child should be constrained inside the parent bounds after a move of the child.
mxGraph.prototype.constrainChildrenOnResize
Specifies if children should be constrained according to the constrainChildren switch if cells are resized (including via foldCells).
mxGraph.prototype.extendParents
Specifies if a parent should contain the child bounds after a resize of the child.
mxGraph.prototype.extendParentsOnAdd
Specifies if parents should be extended according to the extendParents switch if cells are added.
mxGraph.prototype.recursiveResize
Specifies the return value for isRecursiveResize.
mxGraph.prototype.isRecursiveResize = function(state)
Returns recursiveResize.
mxGraph.prototype.collapseToPreferredSize
Specifies if the cell size should be changed to the preferred size when a cell is first collapsed.
mxGraph.prototype.zoomFactor
Specifies the factor used for zoomIn and zoomOut.
mxGraph.prototype.zoomIn = function()
Zooms into the graph by zoomFactor.
mxGraph.prototype.zoomOut = function()
Zooms out of the graph by zoomFactor.
mxGraph.prototype.keepSelectionVisibleOnZoom
Specifies if the viewport should automatically contain the selection cells after a zoom operation.
mxGraph.prototype.centerZoom
Specifies if the zoom operations should go into the center of the actual diagram rather than going from top, left.
mxGraph.prototype.resetViewOnRootChange
Specifies if the scale and translate should be reset if the root changes in the model.
mxGraph.prototype.resetEdgesOnResize
Specifies if edge control points should be reset after the resize of a connected cell.
mxGraph.prototype.resetEdgesOnMove
Specifies if edge control points should be reset after the move of a connected cell.
mxGraph.prototype.resetEdgesOnConnect
Specifies if edge control points should be reset after the the edge has been reconnected.
mxGraph.prototype.allowLoops
Specifies if loops (aka self-references) are allowed.
mxGraph.prototype.defaultLoopStyle
mxEdgeStyle to be used for loops.
Provides various edge styles to be used as the values for mxConstants.STYLE_EDGE in a cell style.
mxGraph.prototype.multigraph
Specifies if multiple edges in the same direction between the same pair of vertices are allowed.
mxGraph.prototype.connectableEdges
Specifies if edges are connectable.
mxGraph.prototype.allowDanglingEdges
Specifies if edges with disconnected terminals are allowed in the graph.
mxGraph.prototype.cloneInvalidEdges
Specifies if edges that are cloned should be validated and only inserted if they are valid.
mxGraph.prototype.disconnectOnMove
Specifies if edges should be disconnected from their terminals when they are moved.
mxGraph.prototype.labelsVisible
Specifies if labels should be visible.
mxGraph.prototype.htmlLabels
Specifies the return value for isHtmlLabel.
mxGraph.prototype.isHtmlLabel = function(cell)
Returns true if the label must be rendered as HTML markup.
mxGraph.prototype.swimlaneSelectionEnabled
Specifies if swimlanes should be selectable via the content if the mouse is released.
mxGraph.prototype.swimlaneNesting
Specifies if nesting of swimlanes is allowed.
mxGraph.prototype.swimlaneIndicatorColorAttribute
The attribute used to find the color for the indicator if the indicator color is set to ‘swimlane’.
mxGraph.prototype.imageBundles
Holds the list of image bundles.
mxGraph.prototype.minFitScale
Specifies the minimum scale to be applied in fit.
mxGraph.prototype.fit = function(border,
keepOrigin,
margin,
enabled)
Scales the graph such that the complete diagram fits into container and returns the current scale in the view.
mxGraph.prototype.maxFitScale
Specifies the maximum scale to be applied in fit.
mxGraph.prototype.panDx
Current horizontal panning value.
mxGraph.prototype.panDy
Current vertical panning value.
mxGraph.prototype.collapsedImage
Specifies the mxImage to indicate a collapsed state.
mxGraph.prototype.expandedImage
Specifies the mxImage to indicate a expanded state.
mxGraph.prototype.warningImage
Specifies the mxImage for the image to be used to display a warning overlay.
mxGraph.prototype.alreadyConnectedResource
Specifies the resource key for the error message to be displayed in non-multigraphs when two vertices are already connected.
mxGraph.prototype.containsValidationErrorsResource
Specifies the resource key for the warning message to be displayed when a collapsed cell contains validation errors.
mxGraph.prototype.collapseExpandResource
Specifies the resource key for the tooltip on the collapse/expand icon.
mxGraph.prototype.init = function(container)
Initializes the container and creates the respective datastructures.
mxGraph.prototype.createHandlers = function()
Creates the tooltip-, panning-, connection- and graph-handler (in this order).
mxGraph.prototype.createTooltipHandler = function()
Creates and returns a new mxTooltipHandler to be used in this graph.
Graph event handler that displays tooltips.
mxGraph.prototype.createSelectionCellsHandler = function()
Creates and returns a new mxTooltipHandler to be used in this graph.
mxGraph.prototype.createConnectionHandler = function()
Creates and returns a new mxConnectionHandler to be used in this graph.
Graph event handler that creates new connections.
mxGraph.prototype.createGraphHandler = function()
Creates and returns a new mxGraphHandler to be used in this graph.
Graph event handler that handles selection.
mxGraph.prototype.createPanningHandler = function()
Creates and returns a new mxPanningHandler to be used in this graph.
Event handler that pans and creates popupmenus.
mxGraph.prototype.createPopupMenuHandler = function()
Creates and returns a new mxPopupMenuHandler to be used in this graph.
Event handler that creates popupmenus.
mxGraph.prototype.createSelectionModel = function()
Creates a new mxGraphSelectionModel to be used in this graph.
mxGraph.prototype.createStylesheet = function()
Creates a new mxGraphSelectionModel to be used in this graph.
mxGraph.prototype.createGraphView = function()
Creates a new mxGraphView to be used in this graph.
mxGraph.prototype.createCellRenderer = function()
Creates a new mxCellRenderer to be used in this graph.
mxGraph.prototype.createCellEditor = function()
Creates a new mxCellEditor to be used in this graph.
mxGraph.prototype.getModel = function()
Returns the mxGraphModel that contains the cells.
mxGraph.prototype.getView = function()
Returns the mxGraphView that contains the mxCellStates.
mxGraph.prototype.getStylesheet = function()
Returns the mxStylesheet that defines the style.
mxGraph.prototype.setStylesheet = function(stylesheet)
Sets the mxStylesheet that defines the style.
mxGraph.prototype.getSelectionModel = function()
Returns the mxGraphSelectionModel that contains the selection.
mxGraph.prototype.setSelectionModel = function(selectionModel)
Sets the mxSelectionModel that contains the selection.
mxGraph.prototype.getSelectionCellsForChanges = function(changes)
Returns the cells to be selected for the given array of changes.
mxGraph.prototype.graphModelChanged = function(changes)
Called when the graph model changes.
mxGraph.prototype.getRemovedCellsForChanges = function(changes)
Returns the cells that have been removed from the model.
mxGraph.prototype.processChange = function(change)
Processes the given change and invalidates the respective cached data in view.
mxGraph.prototype.removeStateForCell = function(cell)
Removes all cached information for the given cell and its descendants.
Extends mxEventSource to implement a graph overlay, represented by an icon and a tooltip.
mxGraph.prototype.getCellOverlays = function(cell)
Returns the array of mxCellOverlays for the given cell or null, if no overlays are defined.
mxGraph.prototype.clearCellOverlays = function(cell)
Removes all mxCellOverlays in the graph for the given cell and all its descendants.
mxGraph.prototype.setCellWarning = function(cell,
warning,
img,
isSelect)
Creates an overlay for the given cell using the warning and image or warningImage and returns the new mxCellOverlay.
mxGraph.prototype.startEditing = function(evt)
Calls startEditingAtCell using the given cell or the first selection cell.
mxCellEditor.prototype.startEditing = function(cell,
trigger)
Starts the editor for the given cell.
mxGraph.prototype.getEditingValue = function(cell,
evt)
Returns the initial value for in-place editing.
mxGraph.prototype.labelChanged = function(cell,
value,
evt)
Sets the label of the specified cell to the given value using cellLabelChanged and fires mxEvent.LABEL_CHANGED while the transaction is in progress.
Fires between begin- and endUpdate in cellLabelChanged.
Base class for all mouse events in mxGraph.
mxGraph.prototype.createPanningManager = function()
Creates and returns an mxPanningManager.
Implements a handler for panning.
mxGraph.prototype.getBorderSizes = function()
Returns the size of the border and padding on all four sides of the container.
mxGraph.prototype.getPreferredPageSize = function(bounds,
width,
height)
Returns the preferred size of the background page if preferPageSize is true.
mxGraph.prototype.doResizeContainer = function(width,
height)
Resizes the container for the given graph width and height.
mxGraph.prototype.updatePageBreaks = function(visible,
width,
height)
Invokes from sizeDidChange to redraw the page breaks.
mxGraph.prototype.getCellStyle = function(cell)
Returns an array of key, value pairs representing the cell style for the given cell.
mxGraph.prototype.postProcessCellStyle = function(style)
Tries to resolve the value for the image style in the image bundles and turns short data URIs as defined in mxImageBundle to data URIs as defined in RFC 2397 of the IETF.
mxGraph.prototype.setCellStyle = function(style,
cells)
Sets the style of the specified cells.
mxGraph.prototype.toggleCellStyle = function(key,
defaultValue,
cell)
Toggles the boolean value for the given key in the style of the given cell and returns the new value as 0 or 1.
mxGraph.prototype.toggleCellStyles = function(key,
defaultValue,
cells)
Toggles the boolean value for the given key in the style of the given cells and returns the new value as 0 or 1.
mxGraph.prototype.setCellStyles = function(key,
value,
cells)
Sets the key to value in the styles of the given cells.
mxGraph.prototype.toggleCellStyleFlags = function(key,
flag,
cells)
Toggles the given bit for the given key in the styles of the specified cells.
mxGraph.prototype.setCellStyleFlags = function(key,
flag,
value,
cells)
Sets or toggles the given bit for the given key in the styles of the specified cells.
mxGraph.prototype.addImageBundle = function(bundle)
Adds the specified mxImageBundle.
Maps from keys to base64 encoded images or file locations.
mxGraph.prototype.removeImageBundle = function(bundle)
Removes the specified mxImageBundle.
mxGraph.prototype.getImageFromBundles = function(key)
Searches all imageBundles for the specified key and returns the value for the first match or null if the key is not found.
mxGraph.prototype.getCellsForGroup = function(cells)
Returns the cells with the same parent as the first cell in the given array.
mxGraph.prototype.getBoundsForGroup = function(group,
children,
border)
Returns the bounds to be used for the given group and children.
mxGraph.prototype.createGroupCell = function(cells)
Hook for creating the group cell to hold the given array of mxCells if no group cell was given to the group function.
Cells are the elements of the graph model.
mxGraph.prototype.removeCellsAfterUngroup = function(cells)
Hook to remove the groups after ungroupCells.
mxGraph.prototype.updateGroupBounds = function(cells,
border,
moveGroup,
topBorder,
rightBorder,
bottomBorder,
leftBorder)
Updates the bounds of the given groups to include all children and returns the passed-in cells.
mxGraph.prototype.getBoundingBox = function(cells)
Returns the bounding box for the given array of mxCells.
mxGraph.prototype.cloneCells = function(cells,
allowInvalidEdges,
mapping)
Returns the clones for the given cells.
mxGraph.prototype.insertVertex = function(parent,
id,
value,
x,
y,
width,
height,
style,
relative)
Adds a new vertex into the given parent mxCell using value as the user object and the given coordinates as the mxGeometry of the new vertex.
Extends mxRectangle to represent the geometry of a cell.
mxGraph.prototype.createVertex = function(parent,
id,
value,
x,
y,
width,
height,
style,
relative)
Hook method that creates the new vertex for insertVertex.
mxGraph.prototype.insertEdge = function(parent,
id,
value,
source,
target,
style)
Adds a new edge into the given parent mxCell using value as the user object and the given source and target as the terminals of the new edge.
mxGraph.prototype.createEdge = function(parent,
id,
value,
source,
target,
style)
Hook method that creates the new edge for insertEdge.
mxGraph.prototype.addEdge = function(edge,
parent,
source,
target,
index)
Adds the edge to the parent and connects it to the given source and target terminals.
mxGraph.prototype.addCell = function(cell,
parent,
index,
source,
target)
Adds the cell to the parent and connects it to the given source and target terminals.
mxGraph.prototype.autoSizeCell = function(cell,
recurse)
Resizes the specified cell to just fit around the its label and/or children
mxGraph.prototype.cellsToggled = function(cells,
show)
Sets the visible state of the specified cells.
mxGraph.prototype.cellsFolded = function(cells,
collapse,
recurse,
checkFoldable)
Sets the collapsed state of the specified cells.
mxGraph.prototype.swapBounds = function(cell,
willCollapse)
Swaps the alternate and the actual bounds in the geometry of the given cell invoking updateAlternateBounds before carrying out the swap.
mxGraph.prototype.updateAlternateBounds = function(cell,
geo,
willCollapse)
Updates or sets the alternate bounds in the given geometry for the given cell depending on whether the cell is going to be collapsed.
mxGraph.prototype.addAllEdges = function(cells)
Returns an array with the given cells and all edges that are connected to a cell or one of its descendants.
mxGraph.prototype.getAllEdges = function(cells)
Returns all edges connected to the given cells or its descendants.
mxGraph.prototype.cellSizeUpdated = function(cell,
ignoreChildren)
Updates the size of the given cell in the model using getPreferredSizeForCell to get the new size.
mxGraph.prototype.getPreferredSizeForCell = function(cell)
Returns the preferred width and height of the given mxCell as an mxRectangle.
mxGraph.prototype.resizeCell = function(cell,
bounds,
recurse)
Sets the bounds of the given cell using resizeCells.
Fires between begin- and endUpdate in resizeCells.
Fires between begin- and endUpdate in cellsResized.
mxGraph.prototype.cellResized = function(cell,
bounds,
ignoreRelative,
recurse)
Resizes the parents recursively so that they contain the complete area of the resized child cell.
mxGraph.prototype.resizeChildCells = function(cell,
newGeo)
Resizes the child cells of the given cell for the given new geometry with respect to the current geometry of the cell.
mxGraph.prototype.constrainChildCells = function(cell)
Constrains the children of the given cell using constrainChild.
mxGraph.prototype.constrainChild = function(cell)
Keeps the given cell inside the bounds returned by getCellContainmentArea for its parent, according to the rules defined by getOverlap and isConstrainChild.
mxGraph.prototype.scaleCell = function(cell,
dx,
dy,
recurse)
Scales the points, position and size of the given cell according to the given vertical and horizontal scaling factors.
mxGraph.prototype.extendParent = function(cell)
Resizes the parents recursively so that they contain the complete area of the resized child cell.
mxGraph.prototype.importCells = function(cells,
dx,
dy,
target,
evt,
mapping)
Clones and inserts the given cells into the graph using the move method and returns the inserted cells.
mxGraph.prototype.translateCell = function(cell,
dx,
dy)
Translates the geometry of the given cell and stores the new, translated geometry in the model as an atomic change.
mxGraph.prototype.getCellContainmentArea = function(cell)
Returns the mxRectangle inside which a cell is to be kept.
mxGraph.prototype.getMaximumGraphBounds = function()
Returns the bounds inside which the diagram should be kept as an mxRectangle.
mxGraph.prototype.isConstrainChild = function(cell)
Returns true if the given cell should be kept inside the bounds of its parent according to the rules defined by getOverlap and isAllowOverlapParent.
mxGraph.prototype.resetEdges = function(cells)
Resets the control points of the edges that are connected to the given cells if not both ends of the edge are in the given cells array.
mxGraph.prototype.resetEdge = function(edge)
Resets the control points of the given edge.
mxGraph.prototype.getOutlineConstraint = function(point,
terminalState,
me)
Returns the constraint used to connect to the outline of the given state.
mxGraph.prototype.getAllConnectionConstraints = function(terminal,
source)
Returns an array of all mxConnectionConstraints for the given terminal.
Defines an object that contains the constraints about how to connect one side of an edge to its terminal.
mxGraph.prototype.getConnectionConstraint = function(edge,
terminal,
source)
Returns an mxConnectionConstraint that describes the given connection point.
mxGraph.prototype.setConnectionConstraint = function(edge,
terminal,
source,
constraint)
Sets the mxConnectionConstraint that describes the given connection point.
mxGraph.prototype.getConnectionPoint = function(vertex,
constraint)
Returns the nearest point in the list of absolute points or the center of the opposite terminal.
Fires between begin- and endUpdate in connectCell.
mxGraph.prototype.disconnectGraph = function(cells)
Disconnects the given edges from the terminals which are not in the given array.
mxGraph.prototype.getCurrentRoot = function()
Returns the current root of the displayed cell hierarchy.
mxGraph.prototype.getTranslateForRoot = function(cell)
Returns the translation to be used if the given cell is the root cell as an mxPoint.
Implements a 2-dimensional vector with double precision coordinates.
mxGraph.prototype.isPort = function(cell)
Returns true if the given cell is a “port”, that is, when connecting to it, the cell returned by getTerminalForPort should be used as the terminal and the port should be referenced by the ID in either the mxConstants.STYLE_SOURCE_PORT or the or the mxConstants.STYLE_TARGET_PORT.
mxGraph.prototype.getTerminalForPort = function(cell,
source)
Returns the terminal to be used for a given port.
mxGraph.prototype.getChildOffsetForCell = function(cell)
Returns the offset to be used for the cells inside the given cell.
mxGraph.prototype.enterGroup = function(cell)
Uses the given cell as the root of the displayed cell hierarchy.
mxGraph.prototype.exitGroup = function()
Changes the current root to the next valid root in the displayed cell hierarchy.
mxGraph.prototype.home = function()
Uses the root of the model as the root of the displayed cell hierarchy and selects the previous root.
mxGraph.prototype.isValidRoot = function(cell)
Returns true if the given cell is a valid root for the cell display hierarchy.
mxGraph.prototype.getGraphBounds = function()
Returns the bounds of the visible graph.
mxGraph.prototype.getCellBounds = function(cell,
includeEdges,
includeDescendants)
Returns the scaled, translated bounds for the given cell.
mxGraph.prototype.getBoundingBoxFromGeometry = function(cells,
includeEdges)
Returns the bounding box for the geometries of the vertices in the given array of cells.
mxGraph.prototype.snap = function(value)
Snaps the given numeric value to the grid if gridEnabled is true.
mxGraph.prototype.zoomActual = function()
Resets the zoom and panning in the view.
mxGraph.prototype.zoomTo = function(scale,
center)
Zooms the graph to the given scale with an optional boolean center argument, which is passd to zoom.
mxGraph.prototype.zoom = function(factor,
center)
Zooms the graph using the given factor.
mxGraph.prototype.center = function(horizontal,
vertical,
cx,
cy)
Centers the graph in the container.
mxGraph.prototype.zoomToRect = function(rect)
Zooms the graph to the specified rectangle.
mxGraph.prototype.scrollCellToVisible = function(cell,
center)
Pans the graph so that it shows the given cell.
mxGraph.prototype.scrollRectToVisible = function(rect)
Pans the graph so that it shows the given rectangle.
mxGraph.prototype.getCellGeometry = function(cell)
Returns the mxGeometry for the given cell.
mxGraph.prototype.isCellVisible = function(cell)
Returns true if the given cell is visible in this graph.
mxGraph.prototype.isCellCollapsed = function(cell)
Returns true if the given cell is collapsed in this graph.
mxGraph.prototype.isCellConnectable = function(cell)
Returns true if the given cell is connectable in this graph.
mxGraph.prototype.isOrthogonal = function(edge)
Returns true if perimeter points should be computed such that the resulting edge has only horizontal or vertical segments.
mxGraph.prototype.isLoop = function(state)
Returns true if the given cell state is a loop.
mxGraph.prototype.isCloneEvent = function(evt)
Returns true if the given event is a clone event.
mxGraph.prototype.isToggleEvent = function(evt)
Returns true if the given event is a toggle event.
mxGraph.prototype.isGridEnabledEvent = function(evt)
Returns true if the given mouse event should be aligned to the grid.
mxGraph.prototype.isConstrainedEvent = function(evt)
Returns true if the given mouse event should be aligned to the grid.
mxGraph.prototype.validationAlert = function(message)
Displays the given validation error in a dialog.
mxGraph.prototype.isEdgeValid = function(edge,
source,
target)
Checks if the return value of getEdgeValidationError for the given arguments is null.
mxGraph.prototype.getEdgeValidationError = function(edge,
source,
target)
Returns the validation error message to be displayed when inserting or changing an edges’ connectivity.
mxGraph.prototype.validateEdge = function(edge,
source,
target)
Hook method for subclassers to return an error message for the given edge and terminals.
mxGraph.prototype.validateGraph = function(cell,
context)
Validates the graph by validating each descendant of the given cell or the root of the model.
mxGraph.prototype.getCellValidationError = function(cell)
Checks all multiplicities that cannot be enforced while the graph is being modified, namely, all multiplicities that require a minimum of 1 edge.
mxGraph.prototype.validateCell = function(cell,
context)
Hook method for subclassers to return an error message for the given cell and validation context.
mxGraph.prototype.setBackgroundImage = function(image)
Sets the new backgroundImage.
mxGraph.prototype.getFoldingImage = function(state)
Returns the mxImage used to display the collapsed state of the specified cell state.
mxGraph.prototype.convertValueToString = function(cell)
Returns the textual representation for the given cell.
mxGraph.prototype.getLabel = function(cell)
Returns a string or DOM node that represents the label for the given cell.
mxGraph.prototype.isHtmlLabels = function()
Returns htmlLabels.
mxGraph.prototype.setHtmlLabels = function(value)
Sets htmlLabels.
mxGraph.prototype.isWrapping = function(cell)
This enables wrapping for HTML labels.
mxGraph.prototype.isLabelClipped = function(cell)
Returns true if the overflow portion of labels should be hidden.
mxGraph.prototype.getTooltip = function(state,
node,
x,
y)
Returns the string or DOM node that represents the tooltip for the given state, node and coordinate pair.
mxGraph.prototype.getTooltipForCell = function(cell)
Returns the string or DOM node to be used as the tooltip for the given cell.
mxGraph.prototype.getCursorForMouseEvent = function(me)
Returns the cursor value to be used for the CSS of the shape for the given event.
mxGraph.prototype.getCursorForCell = function(cell)
Returns the cursor value to be used for the CSS of the shape for the given cell.
mxGraph.prototype.getStartSize = function(swimlane)
Returns the start size of the given swimlane, that is, the width or height of the part that contains the title, depending on the horizontal style.
mxGraph.prototype.getImage = function(state)
Returns the image URL for the given cell state.
mxGraph.prototype.getVerticalAlign = function(state)
Returns the vertical alignment for the given cell state.
mxGraph.prototype.getIndicatorColor = function(state)
Returns the indicator color for the given cell state.
mxGraph.prototype.getIndicatorGradientColor = function(state)
Returns the indicator gradient color for the given cell state.
mxGraph.prototype.getIndicatorShape = function(state)
Returns the indicator shape for the given cell state.
mxGraph.prototype.getIndicatorImage = function(state)
Returns the indicator image for the given cell state.
mxGraph.prototype.getBorder = function()
Returns the value of border.
mxGraph.prototype.setBorder = function(value)
Sets the value of border.
mxGraph.prototype.isSwimlane = function (cell)
Returns true if the given cell is a swimlane in the graph.
mxGraph.prototype.isResizeContainer = function()
Returns resizeContainer.
mxGraph.prototype.setResizeContainer = function(value)
Sets resizeContainer.
mxGraph.prototype.setEnabled = function(value)
Specifies if the graph should allow any interactions.
mxGraph.prototype.isEscapeEnabled = function()
Returns escapeEnabled.
mxGraph.prototype.setEscapeEnabled = function(value)
Sets escapeEnabled.
mxGraph.prototype.isInvokesStopCellEditing = function()
Returns invokesStopCellEditing.
mxGraph.prototype.setInvokesStopCellEditing = function(value)
Sets invokesStopCellEditing.
mxGraph.prototype.isEnterStopsCellEditing = function()
Returns enterStopsCellEditing.
mxGraph.prototype.setEnterStopsCellEditing = function(value)
Sets enterStopsCellEditing.
mxGraph.prototype.isCellsLocked = function()
Returns true if the given cell may not be moved, sized, bended, disconnected, edited or selected.
mxGraph.prototype.getCloneableCells = function(cells)
Returns the cells which may be exported in the given array of cells.
mxGraph.prototype.isCellsCloneable = function()
Returns cellsCloneable, that is, if the graph allows cloning of cells by using control-drag.
mxGraph.prototype.setCellsCloneable = function(value)
Specifies if the graph should allow cloning of cells by holding down the control key while cells are being moved.
mxGraph.prototype.getExportableCells = function(cells)
Returns the cells which may be exported in the given array of cells.
mxGraph.prototype.getImportableCells = function(cells)
Returns the cells which may be imported in the given array of cells.
mxGraph.prototype.isCellsSelectable = function()
Returns cellsSelectable.
mxGraph.prototype.setCellsSelectable = function(value)
Sets cellsSelectable.
mxGraph.prototype.getDeletableCells = function(cells)
Returns the cells which may be exported in the given array of cells.
mxGraph.prototype.isCellsDeletable = function()
Returns cellsDeletable.
mxGraph.prototype.setCellsDeletable = function(value)
Sets cellsDeletable.
mxGraph.prototype.isCellRotatable = function(cell)
Returns true if the given cell is rotatable.
mxGraph.prototype.getMovableCells = function(cells)
Returns the cells which are movable in the given array of cells.
mxGraph.prototype.isCellsMovable = function()
Returns cellsMovable.
mxGraph.prototype.setCellsMovable = function(value)
Specifies if the graph should allow moving of cells.
mxGraph.prototype.isGridEnabled = function()
Returns gridEnabled as a boolean.
mxGraph.prototype.setGridEnabled = function(value)
Specifies if the grid should be enabled.
mxGraph.prototype.isPortsEnabled = function()
Returns portsEnabled as a boolean.
mxGraph.prototype.setPortsEnabled = function(value)
Specifies if the ports should be enabled.
mxGraph.prototype.getGridSize = function()
Returns gridSize.
mxGraph.prototype.setGridSize = function(value)
Sets gridSize.
mxGraph.prototype.getTolerance = function()
Returns tolerance.
mxGraph.prototype.setTolerance = function(value)
Sets tolerance.
mxGraph.prototype.isVertexLabelsMovable = function()
Returns vertexLabelsMovable.
mxGraph.prototype.setVertexLabelsMovable = function(value)
Sets vertexLabelsMovable.
mxGraph.prototype.isEdgeLabelsMovable = function()
Returns edgeLabelsMovable.
mxGraph.prototype.isSwimlaneNesting = function()
Returns swimlaneNesting as a boolean.
mxGraph.prototype.setSwimlaneNesting = function(value)
Specifies if swimlanes can be nested by drag and drop.
mxGraph.prototype.isSwimlaneSelectionEnabled = function()
Returns swimlaneSelectionEnabled as a boolean.
mxGraph.prototype.setSwimlaneSelectionEnabled = function(value)
Specifies if swimlanes should be selected if the mouse is released over their content area.
mxGraph.prototype.isMultigraph = function()
Returns multigraph as a boolean.
mxGraph.prototype.setMultigraph = function(value)
Specifies if the graph should allow multiple connections between the same pair of vertices.
mxGraph.prototype.isAllowLoops = function()
Returns allowLoops as a boolean.
mxGraph.prototype.setAllowDanglingEdges = function(value)
Specifies if dangling edges are allowed, that is, if edges are allowed that do not have a source and/or target terminal defined.
mxGraph.prototype.isAllowDanglingEdges = function()
Returns allowDanglingEdges as a boolean.
mxGraph.prototype.setConnectableEdges = function(value)
Specifies if edges should be connectable.
mxGraph.prototype.isConnectableEdges = function()
Returns connectableEdges as a boolean.
mxGraph.prototype.setCloneInvalidEdges = function(value)
Specifies if edges should be inserted when cloned but not valid wrt.
mxGraph.prototype.isCloneInvalidEdges = function()
Returns cloneInvalidEdges as a boolean.
mxGraph.prototype.setAllowLoops = function(value)
Specifies if loops are allowed.
mxGraph.prototype.isDisconnectOnMove = function()
Returns disconnectOnMove as a boolean.
mxGraph.prototype.setDisconnectOnMove = function(value)
Specifies if edges should be disconnected when moved.
mxGraph.prototype.setDropEnabled = function(value)
Specifies if the graph should allow dropping of cells onto or into other cells.
mxGraph.prototype.isSplitEnabled = function()
Returns splitEnabled as a boolean.
mxGraph.prototype.setSplitEnabled = function(value)
Specifies if the graph should allow dropping of cells onto or into other cells.
mxGraph.prototype.isCellsResizable = function()
Returns cellsResizable.
mxGraph.prototype.setCellsResizable = function(value)
Specifies if the graph should allow resizing of cells.
mxGraph.prototype.isTerminalPointMovable = function(cell,
source)
Returns true if the given terminal point is movable.
mxGraph.prototype.isCellBendable = function(cell)
Returns true if the given cell is bendable.
mxGraph.prototype.setCellsBendable = function(value)
Specifies if the graph should allow bending of edges.
mxGraph.prototype.isCellsEditable = function()
Returns cellsEditable.
mxGraph.prototype.setCellsEditable = function(value)
Specifies if the graph should allow in-place editing for cell labels.
mxGraph.prototype.isCellDisconnectable = function(cell,
terminal,
source)
Returns true if the given cell is disconnectable from the source or target terminal.
mxGraph.prototype.isCellsDisconnectable = function()
Returns cellsDisconnectable.
mxGraph.prototype.setCellsDisconnectable = function(value)
Sets cellsDisconnectable.
mxGraph.prototype.isValidSource = function(cell)
Returns true if the given cell is a valid source for new connections.
mxGraph.prototype.isValidTarget = function(cell)
Returns isValidSource for the given cell.
mxGraph.prototype.isValidConnection = function(source,
target)
Returns true if the given target cell is a valid target for source.
mxGraph.prototype.setConnectable = function(connectable)
Specifies if the graph should allow new connections.
mxGraph.prototype.isConnectable = function(connectable)
Returns true if the connectionHandler is enabled.
mxGraph.prototype.setTooltips = function (enabled)
Specifies if tooltips should be enabled.
mxGraph.prototype.setPanning = function(enabled)
Specifies if panning should be enabled.
mxGraph.prototype.isEditing = function(cell)
Returns true if the given cell is currently being edited.
mxGraph.prototype.isAutoSizeCell = function(cell)
Returns true if the size of the given cell should automatically be updated after a change of the label.
mxGraph.prototype.isAutoSizeCells = function()
Returns autoSizeCells.
mxGraph.prototype.setAutoSizeCells = function(value)
Specifies if cell sizes should be automatically updated after a label change.
mxGraph.prototype.isExtendParent = function(cell)
Returns true if the parent of the given cell should be extended if the child has been resized so that it overlaps the parent.
mxGraph.prototype.isExtendParents = function()
Returns extendParents.
mxGraph.prototype.setExtendParents = function(value)
Sets extendParents.
mxGraph.prototype.isExtendParentsOnAdd = function(cell)
Returns extendParentsOnAdd.
mxGraph.prototype.setExtendParentsOnAdd = function(value)
Sets extendParentsOnAdd.
mxGraph.prototype.isExtendParentsOnMove = function()
Returns extendParentsOnAdd.
mxGraph.prototype.setExtendParentsOnMove = function(value)
Sets extendParentsOnAdd.
mxGraph.prototype.setRecursiveResize = function(value)
Sets recursiveResize.
mxGraph.prototype.isConstrainChildren = function()
Returns constrainChildren.
mxGraph.prototype.setConstrainChildren = function(value)
Sets constrainChildren.
mxGraph.prototype.setConstrainChildrenOnResize = function(value)
Sets constrainChildrenOnResize.
mxGraph.prototype.isConstrainChildrenOnResize = function()
Returns constrainChildrenOnResize.
mxGraph.prototype.getFoldableCells = function(cells,
collapse)
Returns the cells which are movable in the given array of cells.
mxGraph.prototype.isCellFoldable = function(cell,
collapse)
Returns true if the given cell is foldable.
mxGraph.prototype.isValidDropTarget = function(cell,
cells,
evt)
Returns true if the given cell is a valid drop target for the specified cells.
mxGraph.prototype.isSplitTarget = function(target,
cells,
evt)
Returns true if the given edge may be splitted into two edges with the given cell as a new terminal between the two.
mxGraph.prototype.getDropTarget = function(cells,
evt,
cell,
clone)
Returns the given cell if it is a drop target for the given cells or the nearest ancestor that may be used as a drop target for the given cells.
mxGraph.prototype.getDefaultParent = function()
Returns defaultParent or mxGraphView.currentRoot or the first child child of mxGraphModel.root if both are null.
mxGraphView.prototype.currentRoot
mxCell that acts as the root of the displayed cell hierarchy.
mxGraphModel.prototype.root
Holds the root cell, which in turn contains the cells that represent the layers of the diagram as child cells.
mxGraph.prototype.setDefaultParent = function(cell)
Sets the defaultParent to the given cell.
mxGraph.prototype.getSwimlane = function(cell)
Returns the nearest ancestor of the given cell which is a swimlane, or the given cell, if it is itself a swimlane.
mxGraph.prototype.getSwimlaneAt = function (x,
y,
parent)
Returns the bottom-most swimlane that intersects the given point (x, y) in the cell hierarchy that starts at the given parent.
mxGraph.prototype.getCellAt = function(x,
y,
parent,
vertices,
edges,
ignoreFn)
Returns the bottom-most cell that intersects the given point (x, y) in the cell hierarchy starting at the given parent.
mxGraph.prototype.intersects = function(state,
x,
y)
Returns the bottom-most cell that intersects the given point (x, y) in the cell hierarchy that starts at the given parent.
mxGraph.prototype.hitsSwimlaneContent = function(swimlane,
x,
y)
Returns true if the given coordinate pair is inside the content are of the given swimlane.
mxGraph.prototype.getChildVertices = function(parent)
Returns the visible child vertices of the given parent.
mxGraph.prototype.getChildEdges = function(parent)
Returns the visible child edges of the given parent.
mxGraph.prototype.getChildCells = function(parent,
vertices,
edges)
Returns the visible child vertices or edges in the given parent.
mxGraph.prototype.getConnections = function(cell,
parent)
Returns all visible edges connected to the given cell without loops.
mxGraph.prototype.getIncomingEdges = function(cell,
parent)
Returns the visible incoming edges for the given cell.
mxGraph.prototype.getOutgoingEdges = function(cell,
parent)
Returns the visible outgoing edges for the given cell.
mxGraph.prototype.getEdges = function(cell,
parent,
incoming,
outgoing,
includeLoops,
recurse)
Returns the incoming and/or outgoing edges for the given cell.
mxGraph.prototype.isValidAncestor = function(cell,
parent,
recurse)
Returns whether or not the specified parent is a valid ancestor of the specified cell, either direct or indirectly based on whether ancestor recursion is enabled.
mxGraph.prototype.getOpposites = function(edges,
terminal,
sources,
targets)
Returns all distinct visible opposite cells for the specified terminal on the given edges.
mxGraph.prototype.getEdgesBetween = function(source,
target,
directed)
Returns the edges between the given source and target.
mxGraph.prototype.getPointForEvent = function(evt,
addOffset)
Returns an mxPoint representing the given event in the unscaled, non-translated coordinate space of container and applies the grid.
mxGraph.prototype.getCells = function(x,
y,
width,
height,
parent,
result)
Returns the child vertices and edges of the given parent that are contained in the given rectangle.
mxGraph.prototype.getCellsBeyond = function(x0,
y0,
parent,
rightHalfpane,
bottomHalfpane)
Returns the children of the given parent that are contained in the halfpane from the given point (x0, y0) rightwards or downwards depending on rightHalfpane and bottomHalfpane.
mxGraph.prototype.findTreeRoots = function(parent,
isolate,
invert)
Returns all children in the given parent which do not have incoming edges.
mxGraph.prototype.traverse = function(vertex,
directed,
func,
edge,
visited)
Traverses the (directed) graph invoking the given function for each visited vertex and edge.
mxGraph.prototype.isCellSelected = function(cell)
Returns true if the given cell is selected.
mxGraph.prototype.isSelectionEmpty = function()
Returns true if the selection is empty.
mxGraph.prototype.clearSelection = function()
Clears the selection using mxGraphSelectionModel.clear.
mxGraphSelectionModel.prototype.clear = function()
Clears the selection and fires a change event if the selection was not empty.
mxGraph.prototype.getSelectionCount = function()
Returns the number of selected cells.
mxGraph.prototype.getSelectionCell = function()
Returns the first cell from the array of selected mxCells.
mxGraph.prototype.getSelectionCells = function()
Returns the array of selected mxCells.
mxGraph.prototype.setSelectionCell = function(cell)
Sets the selection cell.
mxGraph.prototype.setSelectionCells = function(cells)
Sets the selection cell.
mxGraph.prototype.addSelectionCell = function(cell)
Adds the given cell to the selection.
mxGraph.prototype.addSelectionCells = function(cells)
Adds the given cells to the selection.
mxGraph.prototype.removeSelectionCell = function(cell)
Removes the given cell from the selection.
mxGraph.prototype.removeSelectionCells = function(cells)
Removes the given cells from the selection.
mxGraph.prototype.selectRegion = function(rect,
evt)
Selects and returns the cells inside the given rectangle for the specified event.
mxGraph.prototype.selectNextCell = function()
Selects the next cell.
mxGraph.prototype.selectPreviousCell = function()
Selects the previous cell.
mxGraph.prototype.selectParentCell = function()
Selects the parent cell.
mxGraph.prototype.selectChildCell = function()
Selects the first child cell.
mxGraph.prototype.selectCell = function(isNext,
isParent,
isChild)
Selects the next, parent, first child or previous cell, if all arguments are false.
mxGraph.prototype.selectAll = function(parent)
Selects all children of the given parent cell or the children of the default parent if no parent is specified.
mxGraph.prototype.selectVertices = function(parent)
Select all vertices inside the given parent or the default parent.
mxGraph.prototype.selectCells = function(vertices,
edges,
parent)
Selects all vertices and/or edges depending on the given boolean arguments recursively, starting at the given parent or the default parent if no parent is specified.
mxGraph.prototype.selectCellForEvent = function(cell,
evt)
Selects the given cell by either adding it to the selection or replacing the selection depending on whether the given mouse event is a toggle event.
mxGraph.prototype.selectCellsForEvent = function(cells,
evt)
Selects the given cells by either adding them to the selection or replacing the selection depending on whether the given mouse event is a toggle event.
mxGraph.prototype.createHandler = function(state)
Creates a new handler for the given cell state.
mxGraph.prototype.createVertexHandler = function(state)
Hooks to create a new mxVertexHandler for the given mxCellState.
Event handler for resizing cells.
mxGraph.prototype.createEdgeHandler = function(state,
edgeStyle)
Hooks to create a new mxEdgeHandler for the given mxCellState.
Graph event handler that reconnects edges and modifies control points and the edge label location.
mxGraph.prototype.createEdgeSegmentHandler = function(state)
Hooks to create a new mxEdgeSegmentHandler for the given mxCellState.
mxGraph.prototype.createElbowEdgeHandler = function(state)
Hooks to create a new mxElbowEdgeHandler for the given mxCellState.
Graph event handler that reconnects edges and modifies control points and the edge label location.
mxGraph.prototype.addMouseListener = function(listener)
Adds a listener to the graph event dispatch loop.
mxGraph.prototype.removeMouseListener = function(listener)
Removes the specified graph listener.
mxGraph.prototype.updateMouseEvent = function(me,
evtName)
Sets the graphX and graphY properties if the given mxMouseEvent if required and returned the event.
mxGraph.prototype.isEventIgnored = function(evtName,
me,
sender)
Returns true if the event should be ignored in fireMouseEvent.
mxGraph.prototype.isSyntheticEventIgnored = function(evtName,
me,
sender)
Hook for ignoring synthetic mouse events after touchend in Firefox.
mxGraph.prototype.isEventSourceIgnored = function(evtName,
me)
Returns true if the event should be ignored in fireMouseEvent.
mxGraph.prototype.getEventState = function(state)
Returns the mxCellState to be used when firing the mouse event for the given state.
mxGraph.prototype.consumeMouseEvent = function(evtName,
me,
sender)
Destroys the graph and all its resources.
Fires in fireGestureEvent after a touch gesture.
mxGraph.prototype.destroy = function()
Destroys the graph and all its resources.
Event handler that selects rectangular regions.
mxGraphView.prototype.validate = function(cell)
Calls validateCell and validateCellState and updates the graphBounds using getBoundingBox.
Name under which mxImageShape is registered in mxCellRenderer.
Name under which mxLabel is registered in mxCellRenderer.
Defines the key for the image style.
mxGraphModel.prototype.setValue = function(cell,
value)
Sets the user object of then given mxCell using mxValueChange and adds the change to the current transaction.
mxGraphModel.prototype.valueForCellChanged = function(cell,
value)
Inner callback to update the user object of the given mxCell using mxCell.valueChanged and return the previous value, that is, the return value of mxCell.valueChanged.
Action to change a user object in a model.
Defines various global constants.
mxCell.prototype.style
Holds the style as a string of the form [(stylename|key=value);].
Defines the SVG display dialect name.
Defines the strict HTML display dialect.
Defines the preferred HTML display dialect name.
Defines the mixed HTML display dialect name.
Defines the VML display dialect name.
Defines the rectangle for the A4 portrait page format.
Implements printing of a diagram across multiple pages.
mxPanningManager.prototype.border
Border to handle automatic panning inside the component.
Defines the key for the loop style.
Loop: function (state,
source,
target,
points,
result)
Implements a self-reference, aka.
Defines the key for the fill color.
Defines the key for the rounded style.
Fires between begin- and endUpdate in flipEdge.
Defines the key for the elbow style.
Fires between begin- and endUpdate in orderCells.
Fires between begin- and endUpdate in cellsOrdered.
Fires between begin- and endUpdate in groupCells.
mxGraphView.prototype.getBoundingBox = function(state,
recurse)
Returns the bounding box of the shape and the label for the given mxCellState and its children if recurse is true.
Fires between begin- and endUpdate in addCells.
Fires between begin- and endUpdate in cellsAdded.
Fires between begin- and endUpdate in removeCells.
Fires between begin- and endUpdate in cellsRemoved.
Fires between begin- and endUpdate in splitEdge.
Fires between begin- and endUpdate in toggleCells.
Fires between begin- and endUpdate in foldCells.
Fires between begin- and endUpdate in cellsFolded.
Fires between begin- and endUpdate in updateCellSize.
Fires between begin- and endUpdate in moveCells.
Fires between begin- and endUpdate in cellsMoved.
Implements a generic shape which is based on a XML node as a description.
Fires between begin- and endUpdate in cellConnected.
mxGraphModel.prototype.isRoot = function(cell)
Returns true if the given cell is the root of the model and a non-null value.
mxGraphModel.prototype.isLayer = function(cell)
Returns true if isRoot returns true for the parent of the given cell.
mxGraphView.prototype.getGraphBounds = function()
Returns graphBounds.
mxGraphView.prototype.getBounds = function(cells)
Returns the union of all mxCellStates for the given array of mxCells.
mxGraphView.prototype.setTranslate = function(dx,
dy)
Sets the translation and fires a translate event before calling revalidate followed by mxGraph.sizeDidChange.
Specifies the event name for pan.
mxGraphView.prototype.rendering
Specifies if shapes should be created, updated and destroyed using the methods of mxCellRenderer in graph.
mxGraphModel.prototype.getGeometry = function(cell)
Returns the mxGeometry of the given mxCell.
mxGraphModel.prototype.isVisible = function(cell)
Returns true if the given mxCell is visible.
mxGraphModel.prototype.isCollapsed = function(cell)
Returns true if the given mxCell is collapsed.
mxGraphModel.prototype.isConnectable = function(cell)
Returns true if the given mxCell is connectable.
Defines the key for the white-space style.
Defines the key for the overflow style.
Defines the key for the verticalAlign style.
Defines the key for the indicatorColor style.
Defines the key for the indicatorGradientColor style.
Defines the key for the indicator shape used within an mxLabel.
Defines the key for the indicator image used within an mxLabel.
Extends mxShape to implement a swimlane shape.
Defines the key for the cloneable style.
Defines the key for the deletable style.
Defines the key for the rotatable style.
Defines the key for the movable style.
Defines the key for the resizable style.
Defines the key for the bendable style.
Defines the key for the editable style.
mxConnectionHandler.prototype.enabled
Specifies if events are handled.
mxTooltipHandler.prototype.enabled
Specifies if events are handled.
mxPanningHandler.prototype.panningEnabled
Specifies if panning should be enabled.
Defines the key for the autosize style.
Defines the key for the foldable style.
A wrapper class for an associative array with object keys.
Specifies the event name for mouseDown.
Specifies the event name for mouseMove.
Specifies the event name for mouseUp.
diff --git a/docs/js-api/files/view/mxGraphSelectionModel-js.html b/docs/js-api/files/view/mxGraphSelectionModel-js.html index 6cf2e34b5..4386f6b9b 100644 --- a/docs/js-api/files/view/mxGraphSelectionModel-js.html +++ b/docs/js-api/files/view/mxGraphSelectionModel-js.html @@ -25,7 +25,7 @@ if (browserType) {document.write("
");if (browserV

mxEvent.UNDO

Fires after the selection was changed in changeSelection.  The <code>edit</code> property contains the mxUndoableEdit which contains the mxSelectionChange.

-

mxEvent.CHANGE

Fires after the selection changes by executing an mxSelectionChange.  The <code>added</code> and <code>removed</code> properties contain arrays of cells that have been added to or removed from the selection, respectively.

+

mxEvent.CHANGE

Fires after the selection changes by executing an mxSelectionChange.  The <code>added</code> and <code>removed</code> properties contain arrays of cells that have been added to or removed from the selection, respectively.  The names are inverted due to historic reasons.  This cannot be changed.

Functions

diff --git a/docs/js-api/index/Functions10.html b/docs/js-api/index/Functions10.html index 451f20696..b7f9d96e4 100644 --- a/docs/js-api/index/Functions10.html +++ b/docs/js-api/index/Functions10.html @@ -11,17 +11,17 @@ if (browserType) {document.write("
");if (browserV -
Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
J
 join, mxCompactTreeLayout
K
 keyDown, mxKeyHandler
L
 labelChanged, mxGraph
 layeringStage
 layout
 layoutCells, mxLayoutManager
 layoutLeaf, mxCompactTreeLayout
 leave, mxLog
 lineTo
 link
 linkAction, mxUtils
 linkInvoke, mxUtils
 load, mxUtils
 loadInto, mxUtils
 loadResources, mxResources
 localEdgeProcessing
 lookup, mxCodec
 Loop, mxEdgeStyle
 ltrim, mxUtils
+
Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
J
 join, mxCompactTreeLayout
K
 keyDown, mxKeyHandler
L
 labelChanged, mxGraph
 layeringStage
 layout
 layoutCells, mxLayoutManager
 layoutLeaf, mxCompactTreeLayout
 leave, mxLog
 lineTo
 link
 linkAction, mxUtils
 linkInvoke, mxUtils
 load, mxUtils
 loadInto, mxUtils
 loadResources, mxResources
 localEdgeProcessing
 lookup, mxCodec
 Loop, mxEdgeStyle
 ltrim, mxUtils
-
mxCompactTreeLayout.prototype.join = function(node)
+
mxCompactTreeLayout.prototype.join = function(node)
-
mxKeyHandler.prototype.keyDown = function(evt)
Handles the event by invoking the function bound to the respective keystroke if isEnabledForEvent returns true for the given event and if isEventIgnored returns false, except for escape for which isEventIgnored is not invoked.
+
mxKeyHandler.prototype.keyDown = function(evt)
Handles the event by invoking the function bound to the respective keystroke if isEnabledForEvent returns true for the given event and if isEventIgnored returns false, except for escape for which isEventIgnored is not invoked.
-
mxGraph.prototype.labelChanged = function(cell,
value,
evt)
Sets the label of the specified cell to the given value using cellLabelChanged and fires mxEvent.LABEL_CHANGED while the transaction is in progress.
mxHierarchicalLayout.prototype.layeringStage = function()
Implements first stage of a Sugiyama layout.
mxSwimlaneLayout.prototype.layeringStage = function()
Implements first stage of a Sugiyama layout.
mxCompactTreeLayout.prototype.layout = function(node)
Starts the actual compact tree layout algorithm at the given node.
mxParallelEdgeLayout.prototype.layout = function(parallels)
Lays out the parallel edges in the given array.
mxLayoutManager.prototype.layoutCells = function(cells)
Executes all layouts which have been scheduled during the changes.
mxCompactTreeLayout.prototype.layoutLeaf = function(node)
leave: function(string,
t0)
Writes the specified string to the console if TRACE is true and computes the difference between the current time and t0 in milliseconds.
mxAbstractCanvas2D.prototype.lineTo = function(x,
y)
Draws a line to the given coordinates.
mxXmlCanvas2D.prototype.lineTo = function(x,
y)
Draws a line to the given coordinates.
link: function(rel,
href,
doc)
Adds a link node to the head of the document.
link: function(parent,
text,
funct,
pad)
Adds a hyperlink to the specified parent and invokes the given function when the link is clicked.
linkAction: function(parent,
text,
editor,
action,
pad)
Adds a hyperlink to the specified parent that invokes action on the specified editor.
linkInvoke: function(parent,
text,
editor,
functName,
arg,
pad)
Adds a hyperlink to the specified parent that invokes the specified function on the editor passing along the specified argument.
load: function(url)
Loads the specified URL synchronously and returns the mxXmlRequest.
loadInto: function(url,
doc,
onload)
Loads the specified URL asynchronously into the specified document, invoking onload after the document has been loaded.
loadResources: function(callback)
Loads all required resources asynchronously.
mxCompactTreeLayout.prototype.localEdgeProcessing = function(node)
Moves the specified node and all of its children by the given amount.
mxCoordinateAssignment.prototype.localEdgeProcessing = function(model)
Separates the x position of edges as they connect to vertices
mxCodec.prototype.lookup = function(id)
Hook for subclassers to implement a custom lookup mechanism for cell IDs.
Loop: function (state,
source,
target,
points,
result)
Implements a self-reference, aka.
ltrim: function(str,
chars)
Strips all whitespaces from the beginning of the string.
+
mxGraph.prototype.labelChanged = function(cell,
value,
evt)
Sets the label of the specified cell to the given value using cellLabelChanged and fires mxEvent.LABEL_CHANGED while the transaction is in progress.
mxHierarchicalLayout.prototype.layeringStage = function()
Implements first stage of a Sugiyama layout.
mxSwimlaneLayout.prototype.layeringStage = function()
Implements first stage of a Sugiyama layout.
mxCompactTreeLayout.prototype.layout = function(node)
Starts the actual compact tree layout algorithm at the given node.
mxParallelEdgeLayout.prototype.layout = function(parallels)
Lays out the parallel edges in the given array.
mxLayoutManager.prototype.layoutCells = function(cells)
Executes all layouts which have been scheduled during the changes.
mxCompactTreeLayout.prototype.layoutLeaf = function(node)
leave: function(string,
t0)
Writes the specified string to the console if TRACE is true and computes the difference between the current time and t0 in milliseconds.
mxAbstractCanvas2D.prototype.lineTo = function(x,
y)
Draws a line to the given coordinates.
mxXmlCanvas2D.prototype.lineTo = function(x,
y)
Draws a line to the given coordinates.
link: function(rel,
href,
doc)
Adds a link node to the head of the document.
link: function(parent,
text,
funct,
pad)
Adds a hyperlink to the specified parent and invokes the given function when the link is clicked.
linkAction: function(parent,
text,
editor,
action,
pad)
Adds a hyperlink to the specified parent that invokes action on the specified editor.
linkInvoke: function(parent,
text,
editor,
functName,
arg,
pad)
Adds a hyperlink to the specified parent that invokes the specified function on the editor passing along the specified argument.
load: function(url)
Loads the specified URL synchronously and returns the mxXmlRequest.
loadInto: function(url,
doc,
onload)
Loads the specified URL asynchronously into the specified document, invoking onload after the document has been loaded.
loadResources: function(callback)
Loads all required resources asynchronously.
mxCompactTreeLayout.prototype.localEdgeProcessing = function(node)
Moves the specified node and all of its children by the given amount.
mxCoordinateAssignment.prototype.localEdgeProcessing = function(model)
Separates the x position of edges as they connect to vertices
mxCodec.prototype.lookup = function(id)
Hook for subclassers to implement a custom lookup mechanism for cell IDs.
Loop: function (state,
source,
target,
points,
result)
Implements a self-reference, aka.
ltrim: function(str,
chars)
Strips all whitespaces from the beginning of the string.
diff --git a/docs/js-api/index/Functions11.html b/docs/js-api/index/Functions11.html index 1937113a6..2aedbf2f8 100644 --- a/docs/js-api/index/Functions11.html +++ b/docs/js-api/index/Functions11.html @@ -11,9 +11,9 @@ if (browserType) {document.write("
");if (browserV -
Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
M
 makeDraggable, mxUtils
 map, mxDictionary
 mark
 markCell, mxCellMarker
 maxChainDfs, mxSwimlaneModel
 MedianCellSorter, MedianCellSorter
 medianPos, mxCoordinateAssignment
 medianRank, mxMedianHybridCrossingReduction
 medianValue, mxMedianHybridCrossingReduction
 medianXValue, mxCoordinateAssignment
 merge, mxCompactTreeLayout
 mergeChildren, mxGraphModel
 minNode, mxCoordinateAssignment
 minPath, mxCoordinateAssignment
 mixedModeHtml, mxShape
 mod, mxUtils
 mouseDown
 mouseMove
 mouseUp
 move, mxGuide
 moveCell
 moveCells
 moveChildren, mxVertexHandler
 moveLabel, mxEdgeHandler
 moveNode, mxCompactTreeLayout
 moveState, mxCellStatePreview
 moveTo
 mxAbstractCanvas2D, mxAbstractCanvas2D
 mxActor, mxActor
 mxAnimation, mxAnimation
 mxArrow, mxArrow
 mxArrowConnector, mxArrowConnector
 mxAutoSaveManager, mxAutoSaveManager
 mxCell, mxCell
 mxCellAttributeChange, mxCellAttributeChange
 mxCellEditor, mxCellEditor
 mxCellHighlight, mxCellHighlight
 mxCellMarker, mxCellMarker
 mxCellOverlay, mxCellOverlay
 mxCellRenderer, mxCellRenderer
 mxCellState, mxCellState
 mxCellStatePreview, mxCellStatePreview
 mxCellTracker, mxCellTracker
 mxChildChange, mxChildChange
 mxCircleLayout, mxCircleLayout
 mxCloud, mxCloud
 mxCodec, mxCodec
 mxCollapseChange, mxCollapseChange
 mxCompactTreeLayout
 mxCompositeLayout, mxCompositeLayout
 mxConnectionConstraint, mxConnectionConstraint
 mxConnectionHandler, mxConnectionHandler
 mxConnector, mxConnector
 mxConstraintHandler, mxConstraintHandler
 mxCoordinateAssignment, mxCoordinateAssignment
 mxCurrentRootChange
 mxCylinder, mxCylinder
 mxDefaultKeyHandler, mxDefaultKeyHandler
 mxDefaultPopupMenu, mxDefaultPopupMenu
 mxDefaultToolbar, mxDefaultToolbar
 mxDivResizer, mxDivResizer
 mxDoubleEllipse, mxDoubleEllipse
 mxDragSource, mxDragSource
 mxEdgeHandler
 mxEdgeLabelLayout, mxEdgeLabelLayout
 mxEditor, mxEditor
 mxEllipse, mxEllipse
 mxEventObject, mxEventObject
 mxEventSource
 mxForm, mxForm
 mxGenericChangeCodec, mxGenericChangeCodec
 mxGeometry, mxGeometry
 mxGeometryChange, mxGeometryChange
 mxGraph, mxGraph
 mxGraphAbstractHierarchyCell, mxGraphAbstractHierarchyCell
 mxGraphHandler, mxGraphHandler
 mxGraphHierarchyEdge, mxGraphHierarchyEdge
 mxGraphHierarchyModel, mxGraphHierarchyModel
 mxGraphHierarchyNode, mxGraphHierarchyNode
 mxGraphLayout, mxGraphLayout
 mxGraphModel, mxGraphModel
 mxGraphSelectionModel, mxGraphSelectionModel
 mxGraphView, mxGraphView
 mxGuide, mxGuide
 mxHandle, mxHandle
 mxHexagon, mxHexagon
 mxHierarchicalLayout, mxHierarchicalLayout
 mxHierarchicalLayoutStage, mxHierarchicalLayoutStage
 mxImage, mxImage
 mxImageExport, mxImageExport
 mxImageShape, mxImageShape
 mxKeyHandler, mxKeyHandler
 mxLabel, mxLabel
 mxLayoutManager, mxLayoutManager
 mxLine, mxLine
 mxMedianHybridCrossingReduction, mxMedianHybridCrossingReduction
 mxMinimumCycleRemover, mxMinimumCycleRemover
 mxMorphing, mxMorphing
 mxMouseEvent, mxMouseEvent
 mxMultiplicity, mxMultiplicity
 mxObjectCodec, mxObjectCodec
 mxOutline, mxOutline
 mxPanningHandler, mxPanningHandler
 mxPartitionLayout, mxPartitionLayout
 mxPoint, mxPoint
 mxPolyline, mxPolyline
 mxPopupMenu, mxPopupMenu
 mxPopupMenuHandler, mxPopupMenuHandler
 mxPrintPreview, mxPrintPreview
 mxRadialTreeLayout, mxRadialTreeLayout
 mxRectangle
 mxRectangleShape, mxRectangleShape
 mxRhombus, mxRhombus
 mxRootChange, mxRootChange
 mxRubberband, mxRubberband
 mxShape, mxShape
 mxStackLayout, mxStackLayout
 mxStencil, mxStencil
 mxStyleChange, mxStyleChange
 mxStylesheet, mxStylesheet
 mxSvgCanvas2D, mxSvgCanvas2D
 mxSwimlane, mxSwimlane
 mxSwimlaneLayout, mxSwimlaneLayout
 mxSwimlaneManager, mxSwimlaneManager
 mxSwimlaneModel, mxSwimlaneModel
 mxSwimlaneOrdering, mxSwimlaneOrdering
 mxTerminalChange, mxTerminalChange
 mxText, mxText
 mxToolbar, mxToolbar
 mxTooltipHandler, mxTooltipHandler
 mxTriangle, mxTriangle
 mxUndoableEdit, mxUndoableEdit
 mxUndoManager, mxUndoManager
 mxValueChange, mxValueChange
 mxVertexHandler, mxVertexHandler
 mxVisibleChange, mxVisibleChange
 mxWindow, mxWindow
 mxXmlCanvas2D, mxXmlCanvas2D
 mxXmlRequest, mxXmlRequest
+
Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
M
 makeDraggable, mxUtils
 map, mxDictionary
 mark
 markCell, mxCellMarker
 maxChainDfs, mxSwimlaneModel
 MedianCellSorter, MedianCellSorter
 medianPos, mxCoordinateAssignment
 medianRank, mxMedianHybridCrossingReduction
 medianValue, mxMedianHybridCrossingReduction
 medianXValue, mxCoordinateAssignment
 merge, mxCompactTreeLayout
 mergeChildren, mxGraphModel
 minNode, mxCoordinateAssignment
 minPath, mxCoordinateAssignment
 mixedModeHtml, mxShape
 mod, mxUtils
 mouseDown
 mouseMove
 mouseUp
 move, mxGuide
 moveCell
 moveCells
 moveChildren, mxVertexHandler
 moveLabel, mxEdgeHandler
 moveNode, mxCompactTreeLayout
 moveState, mxCellStatePreview
 moveTo
 mxAbstractCanvas2D, mxAbstractCanvas2D
 mxActor, mxActor
 mxAnimation, mxAnimation
 mxArrow, mxArrow
 mxArrowConnector, mxArrowConnector
 mxAutoSaveManager, mxAutoSaveManager
 mxCell, mxCell
 mxCellAttributeChange, mxCellAttributeChange
 mxCellEditor, mxCellEditor
 mxCellHighlight, mxCellHighlight
 mxCellMarker, mxCellMarker
 mxCellOverlay, mxCellOverlay
 mxCellRenderer, mxCellRenderer
 mxCellState, mxCellState
 mxCellStatePreview, mxCellStatePreview
 mxCellTracker, mxCellTracker
 mxChildChange, mxChildChange
 mxCircleLayout, mxCircleLayout
 mxCloud, mxCloud
 mxCodec, mxCodec
 mxCollapseChange, mxCollapseChange
 mxCompactTreeLayout
 mxCompositeLayout, mxCompositeLayout
 mxConnectionConstraint, mxConnectionConstraint
 mxConnectionHandler, mxConnectionHandler
 mxConnector, mxConnector
 mxConstraintHandler, mxConstraintHandler
 mxCoordinateAssignment, mxCoordinateAssignment
 mxCurrentRootChange
 mxCylinder, mxCylinder
 mxDefaultKeyHandler, mxDefaultKeyHandler
 mxDefaultPopupMenu, mxDefaultPopupMenu
 mxDefaultToolbar, mxDefaultToolbar
 mxDivResizer, mxDivResizer
 mxDoubleEllipse, mxDoubleEllipse
 mxDragSource, mxDragSource
 mxEdgeHandler
 mxEdgeLabelLayout, mxEdgeLabelLayout
 mxEditor, mxEditor
 mxEllipse, mxEllipse
 mxEventObject, mxEventObject
 mxEventSource
 mxForm, mxForm
 mxGenericChangeCodec, mxGenericChangeCodec
 mxGeometry, mxGeometry
 mxGeometryChange, mxGeometryChange
 mxGraph, mxGraph
 mxGraphAbstractHierarchyCell, mxGraphAbstractHierarchyCell
 mxGraphHandler, mxGraphHandler
 mxGraphHierarchyEdge, mxGraphHierarchyEdge
 mxGraphHierarchyModel, mxGraphHierarchyModel
 mxGraphHierarchyNode, mxGraphHierarchyNode
 mxGraphLayout, mxGraphLayout
 mxGraphModel, mxGraphModel
 mxGraphSelectionModel, mxGraphSelectionModel
 mxGraphView, mxGraphView
 mxGuide, mxGuide
 mxHandle, mxHandle
 mxHexagon, mxHexagon
 mxHierarchicalLayout, mxHierarchicalLayout
 mxHierarchicalLayoutStage, mxHierarchicalLayoutStage
 mxImage, mxImage
 mxImageExport, mxImageExport
 mxImageShape, mxImageShape
 mxKeyHandler, mxKeyHandler
 mxLabel, mxLabel
 mxLayoutManager, mxLayoutManager
 mxLine, mxLine
 mxMedianHybridCrossingReduction, mxMedianHybridCrossingReduction
 mxMinimumCycleRemover, mxMinimumCycleRemover
 mxMorphing, mxMorphing
 mxMouseEvent, mxMouseEvent
 mxMultiplicity, mxMultiplicity
 mxObjectCodec, mxObjectCodec
 mxOutline, mxOutline
 mxPanningHandler, mxPanningHandler
 mxPartitionLayout, mxPartitionLayout
 mxPoint, mxPoint
 mxPolyline, mxPolyline
 mxPopupMenu, mxPopupMenu
 mxPopupMenuHandler, mxPopupMenuHandler
 mxPrintPreview, mxPrintPreview
 mxRadialTreeLayout, mxRadialTreeLayout
 mxRectangle
 mxRectangleShape, mxRectangleShape
 mxRhombus, mxRhombus
 mxRootChange, mxRootChange
 mxRubberband, mxRubberband
 mxShape, mxShape
 mxStackLayout, mxStackLayout
 mxStencil, mxStencil
 mxStyleChange, mxStyleChange
 mxStylesheet, mxStylesheet
 mxSvgCanvas2D, mxSvgCanvas2D
 mxSwimlane, mxSwimlane
 mxSwimlaneLayout, mxSwimlaneLayout
 mxSwimlaneManager, mxSwimlaneManager
 mxSwimlaneModel, mxSwimlaneModel
 mxSwimlaneOrdering, mxSwimlaneOrdering
 mxTerminalChange, mxTerminalChange
 mxText, mxText
 mxToolbar, mxToolbar
 mxTooltipHandler, mxTooltipHandler
 mxTriangle, mxTriangle
 mxUndoableEdit, mxUndoableEdit
 mxUndoManager, mxUndoManager
 mxValueChange, mxValueChange
 mxVertexHandler, mxVertexHandler
 mxVisibleChange, mxVisibleChange
 mxWindow, mxWindow
 mxXmlCanvas2D, mxXmlCanvas2D
 mxXmlRequest, mxXmlRequest
-
makeDraggable: function(element,
graphF,
funct,
dragElement,
dx,
dy,
autoscroll,
scalePreview,
highlightDropTargets,
getDropTarget)
Configures the given DOM element to act as a drag source for the specified graph.
Stores the (key, value) pairs in this dictionary.
Marks the markedState and fires a mark event.
mxCellMarker.prototype.mark = function()
Marks the markedState and fires a mark event.
mxCellMarker.prototype.markCell = function(cell,
color)
Marks the given cell using the given color, or validColor if no color is specified.
mxSwimlaneModel.prototype.maxChainDfs = function(parent,
root,
connectingEdge,
seen,
chainCount)
Performs a depth first search on the internal hierarchy model.
function MedianCellSorter()
Constructs a new median cell sorter.
mxCoordinateAssignment.prototype.medianPos = function(i,
model)
Performs one median positioning sweep in one direction
mxMedianHybridCrossingReduction.prototype.medianRank = function(rankValue,
downwardSweep)
Attempts to minimise the median placement of connected cells on this rank and one of the adjacent ranks
mxMedianHybridCrossingReduction.prototype.medianValue = function(
   connectedCells,
   rankValue
)
Calculates the median rank order positioning for the specified cell using the connected cells on the specified rank.
mxCoordinateAssignment.prototype.medianXValue = function(connectedCells,
rankValue)
Calculates the median position of the connected cell on the specified rank
mxCompactTreeLayout.prototype.merge = function(p1,
p2)
mxGraphModel.prototype.mergeChildren = function(from,
to,
cloneAllEdges)
Merges the children of the given cell into the given target cell inside this model.
mxCoordinateAssignment.prototype.minNode = function(model)
Performs one median positioning sweep in both directions
mxCoordinateAssignment.prototype.minPath = function(graph,
model)
Straightens out chains of virtual nodes where possibleacade to those stored after this layout processing step has completed.
Allow optimization by replacing VML with HTML.
mod: function(n,
m)
Returns the remainder of division of n by m.
mxCellTracker.prototype.mouseDown = function(sender,
me)
Ignores the event.
mxConnectionHandler.prototype.mouseDown = function(sender,
me)
Handles the event by initiating a new connection.
mxDragSource.prototype.mouseDown = function(evt)
Returns the drop target for the given graph and coordinates.
mxEdgeHandler.prototype.mouseDown = function(sender,
me)
Handles the event by checking if a special element of the handler was clicked, in which case the index parameter is non-null.
mxGraphHandler.prototype.mouseDown = function(sender,
me)
Handles the event by selecing the given cell and creating a handle for it.
mxOutline.prototype.mouseDown = function(sender,
me)
Handles the event by starting a translation or zoom.
mxPanningHandler.prototype.mouseDown = function(sender,
me)
Handles the event by initiating the panning.
mxPopupMenuHandler.prototype.mouseDown = function(sender,
me)
Handles the event by initiating the panning.
mxRubberband.prototype.mouseDown = function(sender,
me)
Handles the event by initiating a rubberband selection.
mxSelectionCellsHandler.prototype.mouseDown = function(sender,
me)
Redirects the given event to the handlers.
mxTooltipHandler.prototype.mouseDown = function(sender,
me)
Handles the event by initiating a rubberband selection.
mxVertexHandler.prototype.mouseDown = function(sender,
me)
Handles the event if a handle has been clicked.
mxCellTracker.prototype.mouseMove = function(sender,
me)
Handles the event by highlighting the cell under the mousepointer if it is over the hotspot region of the cell.
mxConnectionHandler.prototype.mouseMove = function(sender,
me)
Handles the event by updating the preview edge or by highlighting a possible source or target terminal.
mxDragSource.prototype.mouseMove = function(evt)
Gets the graph for the given event using getGraphForEvent, updates the currentGraph, calling dragEnter and dragExit on the new and old graph, respectively, and invokes dragOver if currentGraph is not null.
mxEdgeHandler.prototype.mouseMove = function(sender,
me)
Handles the event by updating the preview.
mxGraphHandler.prototype.mouseMove = function(sender,
me)
Handles the event by highlighting possible drop targets and updating the preview.
mxOutline.prototype.mouseMove = function(sender,
me)
Handles the event by previewing the viewrect in graph and updating the rectangle that represents the viewrect in the outline.
mxPanningHandler.prototype.mouseMove = function(sender,
me)
Handles the event by updating the panning on the graph.
mxPopupMenuHandler.prototype.mouseMove = function(sender,
me)
Handles the event by updating the panning on the graph.
mxRubberband.prototype.mouseMove = function(sender,
me)
Handles the event by updating therubberband selection.
mxSelectionCellsHandler.prototype.mouseMove = function(sender,
me)
Redirects the given event to the handlers.
mxTooltipHandler.prototype.mouseMove = function(sender,
me)
Handles the event by updating the rubberband selection.
mxVertexHandler.prototype.mouseMove = function(sender,
me)
Handles the event by updating the preview.
mxCellTracker.prototype.mouseUp = function(sender,
me)
Handles the event by reseting the highlight.
mxConnectionHandler.prototype.mouseUp = function(sender,
me)
Handles the event by inserting the new connection.
mxDragSource.prototype.mouseUp = function(evt)
Processes the mouse up event and invokes drop, dragExit and stopDrag as required.
mxEdgeHandler.prototype.mouseUp = function(sender,
me)
Handles the event to applying the previewed changes on the edge by using moveLabel, connect or changePoints.
mxGraphHandler.prototype.mouseUp = function(sender,
me)
Handles the event by applying the changes to the selection cells.
mxOutline.prototype.mouseUp = function(sender,
me)
Handles the event by applying the translation or zoom to graph.
mxPanningHandler.prototype.mouseUp = function(sender,
me)
Handles the event by setting the translation on the view or showing the popupmenu.
mxPopupMenuHandler.prototype.mouseUp = function(sender,
me)
Handles the event by setting the translation on the view or showing the popupmenu.
mxRubberband.prototype.mouseUp = function(sender,
me)
Handles the event by selecting the region of the rubberband using mxGraph.selectRegion.
mxSelectionCellsHandler.prototype.mouseUp = function(sender,
me)
Redirects the given event to the handlers.
mxTooltipHandler.prototype.mouseUp = function(sender,
me)
Handles the event by resetting the tooltip timer or hiding the existing tooltip.
mxVertexHandler.prototype.mouseUp = function(sender,
me)
Handles the event by applying the changes to the geometry.
mxGuide.prototype.move = function(bounds,
delta,
gridEnabled)
Moves the bounds by the given mxPoint and returnt the snapped point.
mxCompositeLayout.prototype.moveCell = function(cell,
x,
y)
Implements mxGraphLayout.moveCell by calling move on master or the first layout in layouts.
mxGraphLayout.prototype.moveCell = function(cell,
x,
y)
Notified when a cell is being moved in a parent that has automatic layout to update the cell state (eg.
mxPartitionLayout.prototype.moveCell = function(cell,
x,
y)
Implements mxGraphLayout.moveCell.
mxStackLayout.prototype.moveCell = function(cell,
x,
y)
Implements mxGraphLayout.moveCell.
mxGraph.prototype.moveCells = function(cells,
dx,
dy,
clone,
target,
evt,
mapping)
Moves or clones the specified cells and moves the cells or clones by the given amount, adding them to the optional target cell.
mxGraphHandler.prototype.moveCells = function(cells,
dx,
dy,
clone,
target,
evt)
Moves the given cells by the specified amount.
mxVertexHandler.prototype.moveChildren = function(cell,
dx,
dy)
Moves the children of the given cell by the given vector.
mxEdgeHandler.prototype.moveLabel = function(edgeState,
x,
y)
Changes the coordinates for the label of the given edge.
mxCompactTreeLayout.prototype.moveNode = function(node,
dx,
dy)
Moves the specified node and all of its children by the given amount.
mxCellStatePreview.prototype.moveState = function(state,
dx,
dy,
add,
includeEdges)
mxAbstractCanvas2D.prototype.moveTo = function(x,
y)
Moves the current path the given coordinates.
mxXmlCanvas2D.prototype.moveTo = function(x,
y)
Moves the current path the given point.
function mxAbstractCanvas2D()
Constructs a new abstract canvas.
function mxActor(bounds,
fill,
stroke,
strokewidth)
Constructs a new actor shape.
function mxAnimation(delay)
Constructs an animation.
function mxArrow(points,
fill,
stroke,
strokewidth,
arrowWidth,
spacing,
endSize)
Constructs a new arrow shape.
function mxArrowConnector(points,
fill,
stroke,
strokewidth,
arrowWidth,
spacing,
endSize)
Constructs a new arrow shape.
function mxAutoSaveManager(graph)
Constructs a new automatic layout for the given graph.
function mxCell(value,
geometry,
style)
Constructs a new cell to be used in a graph model.
function mxCellAttributeChange(cell,
attribute,
value)
Constructs a change of a attribute of the DOM node stored as the value of the given mxCell.
function mxCellEditor(graph)
Constructs a new in-place editor for the specified graph.
function mxCellHighlight(graph,
highlightColor,
strokeWidth,
dashed)
Constructs a cell highlight.
function mxCellMarker(graph,
validColor,
invalidColor,
hotspot)
Constructs a new cell marker.
function mxCellOverlay(image,
tooltip,
align,
verticalAlign,
offset,
cursor)
Constructs a new overlay using the given image and tooltip.
function mxCellRenderer()
arrow, rectangle, ellipse, rhombus, image, line, label, cylinder, swimlane, connector, actor and cloud.
function mxCellState(view,
cell,
style)
Constructs a new object that represents the current state of the given cell in the specified view.
function mxCellStatePreview(graph)
Constructs a move preview for the given graph.
function mxCellTracker(graph,
color,
funct)
Constructs an event handler that highlights cells.
function mxChildChange(model,
parent,
child,
index)
Constructs a change of a child in the specified model.
function mxCircleLayout(graph,
radius)
Constructs a new circular layout for the specified radius.
function mxCloud(bounds,
fill,
stroke,
strokewidth)
Constructs a new cloud shape.
function mxCodec(document)
Constructs an XML encoder/decoder for the specified owner document.
function mxCollapseChange(model,
cell,
collapsed)
Constructs a change of a collapsed state in the specified model.
function mxCompactTreeLayout(graph,
horizontal,
invert)
Constructs a new compact tree layout for the specified graph and orientation.
Constructs a new fast organic layout for the specified graph.
Constructs a new fast organic layout for the specified graph.
function mxCompositeLayout(graph,
layouts,
master)
Constructs a new layout using the given layouts.
function mxConnectionConstraint(point,
perimeter)
Constructs a new connection constraint for the given point and boolean arguments.
function mxConnectionHandler(graph,
factoryMethod)
Constructs an event handler that connects vertices using the specified factory method to create the new edges.
function mxConnector(points,
stroke,
strokewidth)
Constructs a new connector shape.
function mxConstraintHandler(graph)
Constructs an new constraint handler.
function mxCoordinateAssignment(layout,
intraCellSpacing,
interRankCellSpacing,
orientation,
initialX,
parallelEdgeSpacing)
Creates a coordinate assignment.
function mxCurrentRootChange(view,
root)
Constructs a change of the current root in the given view.
Constructs a change of the current root in the given view.
function mxCylinder(bounds,
fill,
stroke,
strokewidth)
Constructs a new cylinder shape.
function mxDefaultKeyHandler(editor)
Constructs a new default key handler for the mxEditor.graph in the given mxEditor.
function mxDefaultPopupMenu(config)
Constructs a new popupmenu-factory based on given configuration.
function mxDefaultToolbar(container,
editor)
Constructs a new toolbar for the given container and editor.
function mxDivResizer(div,
container)
Constructs an object that maintains the size of a div element when the window is being resized.
function mxDoubleEllipse(bounds,
fill,
stroke,
strokewidth)
Constructs a new ellipse shape.
function mxDragSource(element,
dropHandler)
Constructs a new drag source for the given element.
function mxEdgeHandler(state)
Constructs an edge handler for the specified mxCellState.
Constructs an edge handler for the specified mxCellState.
function mxEdgeLabelLayout(graph,
radius)
Constructs a new edge label layout.
function mxEditor(config)
Constructs a new editor.
function mxEllipse(bounds,
fill,
stroke,
strokewidth)
Constructs a new ellipse shape.
function mxEventObject(name)
Constructs a new event object with the specified name.
Constructs a new dictionary which allows object to be used as keys.
function mxEventSource(eventSource)
Constructs a new event source.
function mxForm(className)
Creates a HTML table using the specified classname.
var mxGenericChangeCodec = function(obj,
variable)
Factory function that creates a mxObjectCodec for the specified change and fieldname.
function mxGeometry(x,
y,
width,
height)
Constructs a new object to describe the size and location of a vertex or the control points of an edge.
function mxGeometryChange(model,
cell,
geometry)
Constructs a change of a geometry in the specified model.
function mxGraph(container,
model,
renderHint,
stylesheet)
Constructs a new mxGraph in the specified container.
function mxGraphAbstractHierarchyCell()
Constructs a new hierarchical layout algorithm.
function mxGraphHandler(graph)
Constructs an event handler that creates handles for the selection cells.
function mxGraphHierarchyEdge(edges)
Constructs a hierarchy edge
function mxGraphHierarchyModel(layout,
vertices,
roots,
parent,
tightenToSource)
Creates an internal ordered graph model using the vertices passed in.
function mxGraphHierarchyNode(cell)
Constructs an internal node to represent the specified real graph cell
function mxGraphLayout(graph)
Constructs a new layout using the given layouts.
function mxGraphModel(root)
Constructs a new graph model.
function mxGraphSelectionModel(graph)
Constructs a new graph selection model for the given mxGraph.
function mxGraphView(graph)
Constructs a new view for the given mxGraph.
function mxGuide(graph,
states)
Constructs a new guide object.
function mxHandle(state,
cursor,
image)
Constructs a new handle for the given state.
function mxHexagon()
Constructs a new hexagon shape.
function mxHierarchicalLayout(graph,
orientation,
deterministic)
Constructs a new hierarchical layout algorithm.
function mxHierarchicalLayoutStage()
Constructs a new hierarchical layout stage.
function mxImage(src,
width,
height)
Constructs a new image.
function mxImageExport()
Constructs a new image export.
function mxImageShape(bounds,
image,
fill,
stroke,
strokewidth)
Constructs a new image shape.
function mxKeyHandler(graph,
target)
Constructs an event handler that executes functions bound to specific keystrokes.
function mxLabel(bounds,
fill,
stroke,
strokewidth)
Constructs a new label shape.
function mxLayoutManager(graph)
Constructs a new automatic layout for the given graph.
function mxLine(bounds,
stroke,
strokewidth)
Constructs a new line shape.
function mxMedianHybridCrossingReduction(layout)
Creates a coordinate assignment.
function mxMinimumCycleRemover(layout)
Creates a cycle remover for the given internal model.
function mxMorphing(graph,
steps,
ease,
delay)
Constructs an animation.
function mxMouseEvent(evt,
state)
Constructs a new event object for the given arguments.
function mxMultiplicity(source,
type,
attr,
value,
min,
max,
validNeighbors,
countError,
typeError,
validNeighborsAllowed)
Instantiate class mxMultiplicity in order to describe allowed connections in a graph.
function mxObjectCodec(template,
exclude,
idrefs,
mapping)
Constructs a new codec for the specified template object.
function mxOutline(source,
container)
Constructs a new outline for the specified graph inside the given container.
Constructs an event handler that creates a mxPopupMenu and pans the graph.
function mxPartitionLayout(graph,
horizontal,
spacing,
border)
Constructs a new stack layout layout for the specified graph, spacing, orientation and offset.
function mxPoint(x,
y)
Constructs a new point for the optional x and y coordinates.
function mxPolyline(points,
stroke,
strokewidth)
Constructs a new polyline shape.
Constructs a popupmenu.
function mxPopupMenuHandler(graph,
factoryMethod)
Constructs an event handler that creates a mxPopupMenu.
function mxPrintPreview(graph,
scale,
pageFormat,
border,
x0,
y0,
borderColor,
title,
pageSelector)
Constructs a new print preview for the given parameters.
function mxRadialTreeLayout(graph)
Constructs a new radial tree layout for the specified graph
function mxRectangle(x,
y,
width,
height)
Constructs a new rectangle for the optional parameters.
Constructs a new rectangle for the optional parameters.
function mxRectangleShape(bounds,
fill,
stroke,
strokewidth)
Constructs a new rectangle shape.
function mxRhombus(bounds,
fill,
stroke,
strokewidth)
Constructs a new rhombus shape.
function mxRootChange(model,
root)
Constructs a change of the root in the specified model.
function mxRubberband(graph)
Constructs an event handler that selects rectangular regions in the graph using rubberband selection.
function mxShape(stencil)
Constructs a new shape.
function mxStackLayout(graph,
horizontal,
spacing,
x0,
y0,
border)
Constructs a new stack layout layout for the specified graph, spacing, orientation and offset.
function mxStencil(desc)
Constructs a new generic shape by setting desc to the given XML node and invoking parseDescription and parseConstraints.
function mxStyleChange(model,
cell,
style)
Constructs a change of a style in the specified model.
function mxStylesheet()
Constructs a new stylesheet and assigns default styles.
function mxSvgCanvas2D(root,
styleEnabled)
Constructs a new SVG canvas.
function mxSwimlane(bounds,
fill,
stroke,
strokewidth)
Constructs a new swimlane shape.
function mxSwimlaneLayout(graph,
orientation,
deterministic)
Constructs a new hierarchical layout algorithm.
function mxSwimlaneManager(graph,
horizontal,
addEnabled,
resizeEnabled)
Constructs a new swimlane manager for the given graph.
function mxSwimlaneModel(layout,
vertices,
roots,
parent,
tightenToSource)
Creates an internal ordered graph model using the vertices passed in.
function mxSwimlaneOrdering(layout)
Creates a cycle remover for the given internal model.
function mxTerminalChange(model,
cell,
terminal,
source)
Constructs a change of a terminal in the specified model.
function mxText(value,
bounds,
align,
valign,
color,
family,
size,
fontStyle,
spacing,
spacingTop,
spacingRight,
spacingBottom,
spacingLeft,
horizontal,
background,
border,
wrap,
clipped,
overflow,
labelPadding,
textDirection)
Constructs a new text shape.
function mxToolbar(container)
Constructs a toolbar in the specified container.
function mxTooltipHandler(graph,
delay)
Constructs an event handler that displays tooltips with the specified delay (in milliseconds).
function mxTriangle()
Constructs a new triangle shape.
function mxUndoableEdit(source,
significant)
Constructs a new undoable edit for the given source.
function mxUndoManager(size)
Constructs a new undo manager with the given history size.
function mxValueChange(model,
cell,
value)
Constructs a change of a user object in the specified model.
function mxVertexHandler(state)
Constructs an event handler that allows to resize vertices and groups.
function mxVisibleChange(model,
cell,
visible)
Constructs a change of a visible state in the specified model.
function mxWindow(title,
content,
x,
y,
width,
height,
minimizable,
movable,
replaceNode,
style)
Constructs a new window with the given dimension and title to display the specified content.
function mxXmlCanvas2D(root)
Constructs a new abstract canvas.
function mxXmlRequest(url,
params,
method,
async,
username,
password)
Constructs an XML HTTP request.
+
makeDraggable: function(element,
graphF,
funct,
dragElement,
dx,
dy,
autoscroll,
scalePreview,
highlightDropTargets,
getDropTarget)
Configures the given DOM element to act as a drag source for the specified graph.
Stores the (key, value) pairs in this dictionary.
Marks the markedState and fires a mark event.
mxCellMarker.prototype.mark = function()
Marks the markedState and fires a mark event.
mxCellMarker.prototype.markCell = function(cell,
color)
Marks the given cell using the given color, or validColor if no color is specified.
mxSwimlaneModel.prototype.maxChainDfs = function(parent,
root,
connectingEdge,
seen,
chainCount)
Performs a depth first search on the internal hierarchy model.
function MedianCellSorter()
Constructs a new median cell sorter.
mxCoordinateAssignment.prototype.medianPos = function(i,
model)
Performs one median positioning sweep in one direction
mxMedianHybridCrossingReduction.prototype.medianRank = function(rankValue,
downwardSweep)
Attempts to minimise the median placement of connected cells on this rank and one of the adjacent ranks
mxMedianHybridCrossingReduction.prototype.medianValue = function(
   connectedCells,
   rankValue
)
Calculates the median rank order positioning for the specified cell using the connected cells on the specified rank.
mxCoordinateAssignment.prototype.medianXValue = function(connectedCells,
rankValue)
Calculates the median position of the connected cell on the specified rank
mxCompactTreeLayout.prototype.merge = function(p1,
p2)
mxGraphModel.prototype.mergeChildren = function(from,
to,
cloneAllEdges)
Merges the children of the given cell into the given target cell inside this model.
mxCoordinateAssignment.prototype.minNode = function(model)
Performs one median positioning sweep in both directions
mxCoordinateAssignment.prototype.minPath = function(graph,
model)
Straightens out chains of virtual nodes where possibleacade to those stored after this layout processing step has completed.
Allow optimization by replacing VML with HTML.
mod: function(n,
m)
Returns the remainder of division of n by m.
mxCellTracker.prototype.mouseDown = function(sender,
me)
Ignores the event.
mxConnectionHandler.prototype.mouseDown = function(sender,
me)
Handles the event by initiating a new connection.
mxDragSource.prototype.mouseDown = function(evt)
Returns the drop target for the given graph and coordinates.
mxEdgeHandler.prototype.mouseDown = function(sender,
me)
Handles the event by checking if a special element of the handler was clicked, in which case the index parameter is non-null.
mxGraphHandler.prototype.mouseDown = function(sender,
me)
Handles the event by selecing the given cell and creating a handle for it.
mxOutline.prototype.mouseDown = function(sender,
me)
Handles the event by starting a translation or zoom.
mxPanningHandler.prototype.mouseDown = function(sender,
me)
Handles the event by initiating the panning.
mxPopupMenuHandler.prototype.mouseDown = function(sender,
me)
Handles the event by initiating the panning.
mxRubberband.prototype.mouseDown = function(sender,
me)
Handles the event by initiating a rubberband selection.
mxSelectionCellsHandler.prototype.mouseDown = function(sender,
me)
Redirects the given event to the handlers.
mxTooltipHandler.prototype.mouseDown = function(sender,
me)
Handles the event by initiating a rubberband selection.
mxVertexHandler.prototype.mouseDown = function(sender,
me)
Handles the event if a handle has been clicked.
mxCellTracker.prototype.mouseMove = function(sender,
me)
Handles the event by highlighting the cell under the mousepointer if it is over the hotspot region of the cell.
mxConnectionHandler.prototype.mouseMove = function(sender,
me)
Handles the event by updating the preview edge or by highlighting a possible source or target terminal.
mxDragSource.prototype.mouseMove = function(evt)
Gets the graph for the given event using getGraphForEvent, updates the currentGraph, calling dragEnter and dragExit on the new and old graph, respectively, and invokes dragOver if currentGraph is not null.
mxEdgeHandler.prototype.mouseMove = function(sender,
me)
Handles the event by updating the preview.
mxGraphHandler.prototype.mouseMove = function(sender,
me)
Handles the event by highlighting possible drop targets and updating the preview.
mxOutline.prototype.mouseMove = function(sender,
me)
Handles the event by previewing the viewrect in graph and updating the rectangle that represents the viewrect in the outline.
mxPanningHandler.prototype.mouseMove = function(sender,
me)
Handles the event by updating the panning on the graph.
mxPopupMenuHandler.prototype.mouseMove = function(sender,
me)
Handles the event by updating the panning on the graph.
mxRubberband.prototype.mouseMove = function(sender,
me)
Handles the event by updating therubberband selection.
mxSelectionCellsHandler.prototype.mouseMove = function(sender,
me)
Redirects the given event to the handlers.
mxTooltipHandler.prototype.mouseMove = function(sender,
me)
Handles the event by updating the rubberband selection.
mxVertexHandler.prototype.mouseMove = function(sender,
me)
Handles the event by updating the preview.
mxCellTracker.prototype.mouseUp = function(sender,
me)
Handles the event by reseting the highlight.
mxConnectionHandler.prototype.mouseUp = function(sender,
me)
Handles the event by inserting the new connection.
mxDragSource.prototype.mouseUp = function(evt)
Processes the mouse up event and invokes drop, dragExit and stopDrag as required.
mxEdgeHandler.prototype.mouseUp = function(sender,
me)
Handles the event to applying the previewed changes on the edge by using moveLabel, connect or changePoints.
mxGraphHandler.prototype.mouseUp = function(sender,
me)
Handles the event by applying the changes to the selection cells.
mxOutline.prototype.mouseUp = function(sender,
me)
Handles the event by applying the translation or zoom to graph.
mxPanningHandler.prototype.mouseUp = function(sender,
me)
Handles the event by setting the translation on the view or showing the popupmenu.
mxPopupMenuHandler.prototype.mouseUp = function(sender,
me)
Handles the event by setting the translation on the view or showing the popupmenu.
mxRubberband.prototype.mouseUp = function(sender,
me)
Handles the event by selecting the region of the rubberband using mxGraph.selectRegion.
mxSelectionCellsHandler.prototype.mouseUp = function(sender,
me)
Redirects the given event to the handlers.
mxTooltipHandler.prototype.mouseUp = function(sender,
me)
Handles the event by resetting the tooltip timer or hiding the existing tooltip.
mxVertexHandler.prototype.mouseUp = function(sender,
me)
Handles the event by applying the changes to the geometry.
mxGuide.prototype.move = function(bounds,
delta,
gridEnabled)
Moves the bounds by the given mxPoint and returnt the snapped point.
mxCompositeLayout.prototype.moveCell = function(cell,
x,
y)
Implements mxGraphLayout.moveCell by calling move on master or the first layout in layouts.
mxGraphLayout.prototype.moveCell = function(cell,
x,
y)
Notified when a cell is being moved in a parent that has automatic layout to update the cell state (eg.
mxPartitionLayout.prototype.moveCell = function(cell,
x,
y)
Implements mxGraphLayout.moveCell.
mxStackLayout.prototype.moveCell = function(cell,
x,
y)
Implements mxGraphLayout.moveCell.
mxGraph.prototype.moveCells = function(cells,
dx,
dy,
clone,
target,
evt,
mapping)
Moves or clones the specified cells and moves the cells or clones by the given amount, adding them to the optional target cell.
mxGraphHandler.prototype.moveCells = function(cells,
dx,
dy,
clone,
target,
evt)
Moves the given cells by the specified amount.
mxVertexHandler.prototype.moveChildren = function(cell,
dx,
dy)
Moves the children of the given cell by the given vector.
mxEdgeHandler.prototype.moveLabel = function(edgeState,
x,
y)
Changes the coordinates for the label of the given edge.
mxCompactTreeLayout.prototype.moveNode = function(node,
dx,
dy)
Moves the specified node and all of its children by the given amount.
mxCellStatePreview.prototype.moveState = function(state,
dx,
dy,
add,
includeEdges)
mxAbstractCanvas2D.prototype.moveTo = function(x,
y)
Moves the current path the given coordinates.
mxXmlCanvas2D.prototype.moveTo = function(x,
y)
Moves the current path the given point.
function mxAbstractCanvas2D()
Constructs a new abstract canvas.
function mxActor(bounds,
fill,
stroke,
strokewidth)
Constructs a new actor shape.
function mxAnimation(delay)
Constructs an animation.
function mxArrow(points,
fill,
stroke,
strokewidth,
arrowWidth,
spacing,
endSize)
Constructs a new arrow shape.
function mxArrowConnector(points,
fill,
stroke,
strokewidth,
arrowWidth,
spacing,
endSize)
Constructs a new arrow shape.
function mxAutoSaveManager(graph)
Constructs a new automatic layout for the given graph.
function mxCell(value,
geometry,
style)
Constructs a new cell to be used in a graph model.
function mxCellAttributeChange(cell,
attribute,
value)
Constructs a change of a attribute of the DOM node stored as the value of the given mxCell.
function mxCellEditor(graph)
Constructs a new in-place editor for the specified graph.
function mxCellHighlight(graph,
highlightColor,
strokeWidth,
dashed)
Constructs a cell highlight.
function mxCellMarker(graph,
validColor,
invalidColor,
hotspot)
Constructs a new cell marker.
function mxCellOverlay(image,
tooltip,
align,
verticalAlign,
offset,
cursor)
Constructs a new overlay using the given image and tooltip.
function mxCellRenderer()
arrow, rectangle, ellipse, rhombus, image, line, label, cylinder, swimlane, connector, actor and cloud.
function mxCellState(view,
cell,
style)
Constructs a new object that represents the current state of the given cell in the specified view.
function mxCellStatePreview(graph)
Constructs a move preview for the given graph.
function mxCellTracker(graph,
color,
funct)
Constructs an event handler that highlights cells.
function mxChildChange(model,
parent,
child,
index)
Constructs a change of a child in the specified model.
function mxCircleLayout(graph,
radius)
Constructs a new circular layout for the specified radius.
function mxCloud(bounds,
fill,
stroke,
strokewidth)
Constructs a new cloud shape.
function mxCodec(document)
Constructs an XML encoder/decoder for the specified owner document.
function mxCollapseChange(model,
cell,
collapsed)
Constructs a change of a collapsed state in the specified model.
function mxCompactTreeLayout(graph,
horizontal,
invert)
Constructs a new compact tree layout for the specified graph and orientation.
Constructs a new fast organic layout for the specified graph.
Constructs a new fast organic layout for the specified graph.
function mxCompositeLayout(graph,
layouts,
master)
Constructs a new layout using the given layouts.
function mxConnectionConstraint(point,
perimeter)
Constructs a new connection constraint for the given point and boolean arguments.
function mxConnectionHandler(graph,
factoryMethod)
Constructs an event handler that connects vertices using the specified factory method to create the new edges.
function mxConnector(points,
stroke,
strokewidth)
Constructs a new connector shape.
function mxConstraintHandler(graph)
Constructs an new constraint handler.
function mxCoordinateAssignment(layout,
intraCellSpacing,
interRankCellSpacing,
orientation,
initialX,
parallelEdgeSpacing)
Creates a coordinate assignment.
function mxCurrentRootChange(view,
root)
Constructs a change of the current root in the given view.
Constructs a change of the current root in the given view.
function mxCylinder(bounds,
fill,
stroke,
strokewidth)
Constructs a new cylinder shape.
function mxDefaultKeyHandler(editor)
Constructs a new default key handler for the mxEditor.graph in the given mxEditor.
function mxDefaultPopupMenu(config)
Constructs a new popupmenu-factory based on given configuration.
function mxDefaultToolbar(container,
editor)
Constructs a new toolbar for the given container and editor.
function mxDivResizer(div,
container)
Constructs an object that maintains the size of a div element when the window is being resized.
function mxDoubleEllipse(bounds,
fill,
stroke,
strokewidth)
Constructs a new ellipse shape.
function mxDragSource(element,
dropHandler)
Constructs a new drag source for the given element.
function mxEdgeHandler(state)
Constructs an edge handler for the specified mxCellState.
Constructs an edge handler for the specified mxCellState.
function mxEdgeLabelLayout(graph,
radius)
Constructs a new edge label layout.
function mxEditor(config)
Constructs a new editor.
function mxEllipse(bounds,
fill,
stroke,
strokewidth)
Constructs a new ellipse shape.
function mxEventObject(name)
Constructs a new event object with the specified name.
Constructs a new dictionary which allows object to be used as keys.
function mxEventSource(eventSource)
Constructs a new event source.
function mxForm(className)
Creates a HTML table using the specified classname.
var mxGenericChangeCodec = function(obj,
variable)
Factory function that creates a mxObjectCodec for the specified change and fieldname.
function mxGeometry(x,
y,
width,
height)
Constructs a new object to describe the size and location of a vertex or the control points of an edge.
function mxGeometryChange(model,
cell,
geometry)
Constructs a change of a geometry in the specified model.
function mxGraph(container,
model,
renderHint,
stylesheet)
Constructs a new mxGraph in the specified container.
function mxGraphAbstractHierarchyCell()
Constructs a new hierarchical layout algorithm.
function mxGraphHandler(graph)
Constructs an event handler that creates handles for the selection cells.
function mxGraphHierarchyEdge(edges)
Constructs a hierarchy edge
function mxGraphHierarchyModel(layout,
vertices,
roots,
parent,
tightenToSource)
Creates an internal ordered graph model using the vertices passed in.
function mxGraphHierarchyNode(cell)
Constructs an internal node to represent the specified real graph cell
function mxGraphLayout(graph)
Constructs a new layout using the given layouts.
function mxGraphModel(root)
Constructs a new graph model.
function mxGraphSelectionModel(graph)
Constructs a new graph selection model for the given mxGraph.
function mxGraphView(graph)
Constructs a new view for the given mxGraph.
function mxGuide(graph,
states)
Constructs a new guide object.
function mxHandle(state,
cursor,
image)
Constructs a new handle for the given state.
function mxHexagon()
Constructs a new hexagon shape.
function mxHierarchicalLayout(graph,
orientation,
deterministic)
Constructs a new hierarchical layout algorithm.
function mxHierarchicalLayoutStage()
Constructs a new hierarchical layout stage.
function mxImage(src,
width,
height)
Constructs a new image.
function mxImageExport()
Constructs a new image export.
function mxImageShape(bounds,
image,
fill,
stroke,
strokewidth)
Constructs a new image shape.
function mxKeyHandler(graph,
target)
Constructs an event handler that executes functions bound to specific keystrokes.
function mxLabel(bounds,
fill,
stroke,
strokewidth)
Constructs a new label shape.
function mxLayoutManager(graph)
Constructs a new automatic layout for the given graph.
function mxLine(bounds,
stroke,
strokewidth)
Constructs a new line shape.
function mxMedianHybridCrossingReduction(layout)
Creates a coordinate assignment.
function mxMinimumCycleRemover(layout)
Creates a cycle remover for the given internal model.
function mxMorphing(graph,
steps,
ease,
delay)
Constructs an animation.
function mxMouseEvent(evt,
state)
Constructs a new event object for the given arguments.
function mxMultiplicity(source,
type,
attr,
value,
min,
max,
validNeighbors,
countError,
typeError,
validNeighborsAllowed)
Instantiate class mxMultiplicity in order to describe allowed connections in a graph.
function mxObjectCodec(template,
exclude,
idrefs,
mapping)
Constructs a new codec for the specified template object.
function mxOutline(source,
container)
Constructs a new outline for the specified graph inside the given container.
Constructs an event handler that creates a mxPopupMenu and pans the graph.
function mxPartitionLayout(graph,
horizontal,
spacing,
border)
Constructs a new stack layout layout for the specified graph, spacing, orientation and offset.
function mxPoint(x,
y)
Constructs a new point for the optional x and y coordinates.
function mxPolyline(points,
stroke,
strokewidth)
Constructs a new polyline shape.
Constructs a popupmenu.
function mxPopupMenuHandler(graph,
factoryMethod)
Constructs an event handler that creates a mxPopupMenu.
function mxPrintPreview(graph,
scale,
pageFormat,
border,
x0,
y0,
borderColor,
title,
pageSelector)
Constructs a new print preview for the given parameters.
function mxRadialTreeLayout(graph)
Constructs a new radial tree layout for the specified graph
function mxRectangle(x,
y,
width,
height)
Constructs a new rectangle for the optional parameters.
Constructs a new rectangle for the optional parameters.
function mxRectangleShape(bounds,
fill,
stroke,
strokewidth)
Constructs a new rectangle shape.
function mxRhombus(bounds,
fill,
stroke,
strokewidth)
Constructs a new rhombus shape.
function mxRootChange(model,
root)
Constructs a change of the root in the specified model.
function mxRubberband(graph)
Constructs an event handler that selects rectangular regions in the graph using rubberband selection.
function mxShape(stencil)
Constructs a new shape.
function mxStackLayout(graph,
horizontal,
spacing,
x0,
y0,
border)
Constructs a new stack layout layout for the specified graph, spacing, orientation and offset.
function mxStencil(desc)
Constructs a new generic shape by setting desc to the given XML node and invoking parseDescription and parseConstraints.
function mxStyleChange(model,
cell,
style)
Constructs a change of a style in the specified model.
function mxStylesheet()
Constructs a new stylesheet and assigns default styles.
function mxSvgCanvas2D(root,
styleEnabled)
Constructs a new SVG canvas.
function mxSwimlane(bounds,
fill,
stroke,
strokewidth)
Constructs a new swimlane shape.
function mxSwimlaneLayout(graph,
orientation,
deterministic)
Constructs a new hierarchical layout algorithm.
function mxSwimlaneManager(graph,
horizontal,
addEnabled,
resizeEnabled)
Constructs a new swimlane manager for the given graph.
function mxSwimlaneModel(layout,
vertices,
roots,
parent,
tightenToSource)
Creates an internal ordered graph model using the vertices passed in.
function mxSwimlaneOrdering(layout)
Creates a cycle remover for the given internal model.
function mxTerminalChange(model,
cell,
terminal,
source)
Constructs a change of a terminal in the specified model.
function mxText(value,
bounds,
align,
valign,
color,
family,
size,
fontStyle,
spacing,
spacingTop,
spacingRight,
spacingBottom,
spacingLeft,
horizontal,
background,
border,
wrap,
clipped,
overflow,
labelPadding,
textDirection)
Constructs a new text shape.
function mxToolbar(container)
Constructs a toolbar in the specified container.
function mxTooltipHandler(graph,
delay)
Constructs an event handler that displays tooltips with the specified delay (in milliseconds).
function mxTriangle()
Constructs a new triangle shape.
function mxUndoableEdit(source,
significant)
Constructs a new undoable edit for the given source.
function mxUndoManager(size)
Constructs a new undo manager with the given history size.
function mxValueChange(model,
cell,
value)
Constructs a change of a user object in the specified model.
function mxVertexHandler(state)
Constructs an event handler that allows to resize vertices and groups.
function mxVisibleChange(model,
cell,
visible)
Constructs a change of a visible state in the specified model.
function mxWindow(title,
content,
x,
y,
width,
height,
minimizable,
movable,
replaceNode,
style)
Constructs a new window with the given dimension and title to display the specified content.
function mxXmlCanvas2D(root)
Constructs a new abstract canvas.
function mxXmlRequest(url,
params,
method,
async,
username,
password)
Constructs an XML HTTP request.
diff --git a/docs/js-api/index/Functions12.html b/docs/js-api/index/Functions12.html index 0f3550fe7..3938b9fce 100644 --- a/docs/js-api/index/Functions12.html +++ b/docs/js-api/index/Functions12.html @@ -11,13 +11,13 @@ if (browserType) {document.write("
");if (browserV -
Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
N
 notify, mxUndoableEdit
O
 offset, mxCompactTreeLayout
 onEncode, mxRootChangeCodec
 onInit
 open
 orderCells, mxGraph
 OrthConnector, mxEdgeStyle
 outline, mxOutline
+
Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
N
 notify, mxUndoableEdit
O
 offset, mxCompactTreeLayout
 onEncode, mxRootChangeCodec
 onInit
 open
 orderCells, mxGraph
 OrthConnector, mxEdgeStyle
 outline, mxOutline
-
mxUndoableEdit.prototype.notify = function()
Hook to notify any listeners of the changes after an undo or redo has been carried out.
+
mxUndoableEdit.prototype.notify = function()
Hook to notify any listeners of the changes after an undo or redo has been carried out.
-
mxCompactTreeLayout.prototype.offset = function(p1,
p2,
a1,
a2,
b1,
b2)
Encodes the child recursively.
Called from within the constructor.
Called from within the constructor.
mxEditor.prototype.open = function (filename)
Opens the specified file synchronously and parses it using readGraphModel.
mxPrintPreview.prototype.open = function(css,
targetWindow)
Shows the print preview window.
mxGraph.prototype.orderCells = function(back,
cells)
Moves the given cells to the front or back.
OrthConnector: function(state,
source,
target,
points,
result)
Implements a local orthogonal router between the given cells.
Reference to the mxGraph that renders the outline.
+
mxCompactTreeLayout.prototype.offset = function(p1,
p2,
a1,
a2,
b1,
b2)
Encodes the child recursively.
Called from within the constructor.
Called from within the constructor.
mxEditor.prototype.open = function (filename)
Opens the specified file synchronously and parses it using readGraphModel.
mxPrintPreview.prototype.open = function(css,
targetWindow)
Shows the print preview window.
mxGraph.prototype.orderCells = function(back,
cells)
Moves the given cells to the front or back.
OrthConnector: function(state,
source,
target,
points,
result)
Implements a local orthogonal router between the given cells.
Reference to the mxGraph that renders the outline.
diff --git a/docs/js-api/index/Functions13.html b/docs/js-api/index/Functions13.html index ea560af3a..8e48c97cc 100644 --- a/docs/js-api/index/Functions13.html +++ b/docs/js-api/index/Functions13.html @@ -11,9 +11,9 @@ if (browserType) {document.write("
");if (browserV -
Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
P
 paint
 paintBackground
 paintEdgeShape
 paintForeground
 paintGlassEffect, mxShape
 paintImage, mxLabel
 paintIndicator, mxLabel
 paintLine, mxPolyline
 paintRoundedSwimlane, mxSwimlane
 paintSwimlane, mxSwimlane
 paintVertexShape
 panGraph
 para, mxUtils
 parentForCellChanged, mxGraphModel
 parse, mxResources
 parseConstraint, mxStencil
 parseConstraints, mxStencil
 parseDescription, mxStencil
 parseXml, mxUtils
 paste, mxClipboard
 placeLabels, mxEdgeLabelLayout
 placementStage
 plainText, mxVmlCanvas2D
 popup
 positionChanged, mxHandle
 post, mxUtils
 postConfigureShape, mxCellRenderer
 postDiagram, mxEditor
 postProcessCellStyle, mxGraph
 print, mxPrintPreview
 printScreen, mxUtils
 process, mxCellMarker
 processChange, mxGraph
 processEvent, mxHandle
 processInclude, mxObjectCodec
 processReversedEdge, mxCoordinateAssignment
 prompt, mxUtils
 ptLineDist, mxUtils
 ptSegDistSq, mxUtils
 put, mxDictionary
 putCellStyle, mxStylesheet
 putDefaultEdgeStyle, mxStylesheet
 putDefaultVertexStyle, mxStylesheet
 putImage, mxImageBundle
 putObject, mxCodec
 putValue, mxStyleRegistry
+
Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
P
 paint
 paintBackground
 paintEdgeShape
 paintForeground
 paintGlassEffect, mxShape
 paintImage, mxLabel
 paintIndicator, mxLabel
 paintLine, mxPolyline
 paintRoundedSwimlane, mxSwimlane
 paintSwimlane, mxSwimlane
 paintVertexShape
 panGraph
 para, mxUtils
 parentForCellChanged, mxGraphModel
 parse, mxResources
 parseConstraint, mxStencil
 parseConstraints, mxStencil
 parseDescription, mxStencil
 parseXml, mxUtils
 paste, mxClipboard
 placeLabels, mxEdgeLabelLayout
 placementStage
 plainText, mxVmlCanvas2D
 popup
 positionChanged, mxHandle
 post, mxUtils
 postConfigureShape, mxCellRenderer
 postDiagram, mxEditor
 postProcessCellStyle, mxGraph
 print, mxPrintPreview
 printScreen, mxUtils
 process, mxCellMarker
 processChange, mxGraph
 processEvent, mxHandle
 processInclude, mxObjectCodec
 processReversedEdge, mxCoordinateAssignment
 prompt, mxUtils
 ptLineDist, mxUtils
 ptSegDistSq, mxUtils
 put, mxDictionary
 putCellStyle, mxStylesheet
 putDefaultEdgeStyle, mxStylesheet
 putDefaultVertexStyle, mxStylesheet
 putImage, mxImageBundle
 putObject, mxCodec
 putValue, mxStyleRegistry
-
mxShape.prototype.paint = function(c)
Generic rendering code.
mxText.prototype.paint = function(c,
update)
Generic rendering code.
mxDoubleEllipse.prototype.paintBackground = function(c,
x,
y,
w,
h)
Paints the background.
mxRectangleShape.prototype.paintBackground = function(c,
x,
y,
w,
h)
Generic background painting implementation.
mxShape.prototype.paintBackground = function(c,
x,
y,
w,
h)
Hook for subclassers.
mxArrow.prototype.paintEdgeShape = function(c,
pts)
Paints the line shape.
mxArrowConnector.prototype.paintEdgeShape = function(c,
pts)
Paints the line shape.
mxConnector.prototype.paintEdgeShape = function(c,
pts)
Paints the line shape.
mxPolyline.prototype.paintEdgeShape = function(c,
pts)
Paints the line shape.
mxShape.prototype.paintEdgeShape = function(c,
pts)
Hook for subclassers.
mxDoubleEllipse.prototype.paintForeground = function(c,
x,
y,
w,
h)
Paints the foreground.
mxLabel.prototype.paintForeground = function(c,
x,
y,
w,
h)
Generic background painting implementation.
mxRectangleShape.prototype.paintForeground = function(c,
x,
y,
w,
h)
Generic background painting implementation.
mxShape.prototype.paintForeground = function(c,
x,
y,
w,
h)
Hook for subclassers.
mxShape.prototype.paintGlassEffect = function(c,
x,
y,
w,
h,
arc)
Paints the glass gradient effect.
mxLabel.prototype.paintImage = function(c,
x,
y,
w,
h)
Generic background painting implementation.
mxLabel.prototype.paintIndicator = function(c,
x,
y,
w,
h)
Generic background painting implementation.
mxPolyline.prototype.paintLine = function(c,
pts,
rounded)
Paints the line shape.
mxSwimlane.prototype.paintRoundedSwimlane = function(c,
x,
y,
w,
h,
start,
r,
fill,
swimlaneLine)
Paints the swimlane vertex shape.
mxSwimlane.prototype.paintSwimlane = function(c,
x,
y,
w,
h,
start,
fill,
swimlaneLine)
Paints the swimlane vertex shape.
mxActor.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Redirects to redrawPath for subclasses to work.
mxCylinder.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Redirects to redrawPath for subclasses to work.
mxEllipse.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Paints the ellipse shape.
mxImageShape.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Generic background painting implementation.
mxLine.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Redirects to redrawPath for subclasses to work.
mxRhombus.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Generic painting implementation.
mxShape.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Paints the vertex shape.
Paints the swimlane vertex shape.
mxGraph.prototype.panGraph = function(dx,
dy)
Shifts the graph display by the given amount.
mxPanningHandler.prototype.panGraph = function(dx,
dy)
Pans graph by the given amount.
para: function(parent,
text)
Appends a new paragraph with the given text to the specified parent and returns the paragraph.
mxGraphModel.prototype.parentForCellChanged = function(cell,
parent,
index)
Inner callback to update the parent of a cell using mxCell.insert on the parent and return the previous parent.
parse: function(text)
Parses the key, value pairs in the specified text and stores them as local resources.
mxStencil.prototype.parseConstraint = function(node)
Parses the given XML node and returns its mxConnectionConstraint.
mxStencil.prototype.parseConstraints = function()
Reads the constraints from desc into constraints using parseConstraint.
mxStencil.prototype.parseDescription = function()
Reads w0, h0, aspect, bgNodes and fgNodes from desc.
parseXml: function()
Parses the specified XML string into a new XML document and returns the new document.
paste: function(graph)
Pastes the cells into the specified graph restoring the relation to parents, if possible.
mxEdgeLabelLayout.prototype.placeLabels = function(v,
e)
Places the labels of the given edges.
mxHierarchicalLayout.prototype.placementStage = function(initialX,
parent)
Executes the placement stage using mxCoordinateAssignment.
mxSwimlaneLayout.prototype.placementStage = function(initialX,
parent)
Executes the placement stage using mxCoordinateAssignment.
mxVmlCanvas2D.prototype.plainText = function(x,
y,
w,
h,
str,
align,
valign,
wrap,
format,
overflow,
clip,
rotation,
dir)
Paints the outline of the current path.
mxPopupMenu.prototype.popup = function(x,
y,
cell,
evt)
Shows the popup menu for the given event and cell.
popup: function(content,
isInternalWindow)
Shows the specified text content in a new mxWindow or a new browser window if isInternalWindow is false.
mxHandle.prototype.positionChanged = function()
Called after setPosition has been called in processEvent.
post: function(url,
params,
onload,
onerror)
Posts the specified params to the given URL asynchronously and invokes the given functions depending on the request status.
mxCellRenderer.prototype.postConfigureShape = function(state)
Replaces any reserved words used for attributes, eg.
mxEditor.prototype.postDiagram = function (url,
data)
Hook for subclassers to override the posting of a diagram represented by the given node to the given URL.
mxGraph.prototype.postProcessCellStyle = function(style)
Tries to resolve the value for the image style in the image bundles and turns short data URIs as defined in mxImageBundle to data URIs as defined in RFC 2397 of the IETF.
mxPrintPreview.prototype.print = function(css)
Opens the print preview and shows the print dialog.
printScreen: function(graph)
Prints the specified graph using a new window and the built-in print dialog.
mxCellMarker.prototype.process = function(me)
Processes the given event and cell and marks the state returned by getState with the color returned by getMarkerColor.
mxGraph.prototype.processChange = function(change)
Processes the given change and invalidates the respective cached data in view.
mxHandle.prototype.processEvent = function(me)
Processes the given mxMouseEvent and invokes setPosition.
mxObjectCodec.prototype.processInclude = function(dec,
node,
into)
Returns true if the given node is an include directive and executes the include by decoding the XML document.
mxCoordinateAssignment.prototype.processReversedEdge = function(graph,
model)
Hook to add additional processing
prompt: function(message,
defaultValue)
Displays the given message in a prompt dialog.
ptLineDist: function(x1,
y1,
x2,
y2,
px,
py)
Returns the distance between a line defined by two points and a point.
ptSegDistSq: function(x1,
y1,
x2,
y2,
px,
py)
Returns the square distance between a segment and a point.
mxDictionary.prototype.put = function(key,
value)
Stores the value under the given key and returns the previous value for that key.
mxStylesheet.prototype.putCellStyle = function(name,
style)
Stores the given map of key, value pairs under the given name in styles.
mxStylesheet.prototype.putDefaultEdgeStyle = function(style)
Sets the default style for edges using defaultEdge as the stylename.
mxStylesheet.prototype.putDefaultVertexStyle = function(style)
Sets the default style for vertices using defaultVertex as the stylename.
mxImageBundle.prototype.putImage = function(key,
value,
fallback)
Adds the specified entry to the map.
mxCodec.prototype.putObject = function(id,
obj)
Assoiates the given object with the given ID and returns the given object.
putValue: function(name,
obj)
Puts the given object into the registry under the given name.
+
mxShape.prototype.paint = function(c)
Generic rendering code.
mxText.prototype.paint = function(c,
update)
Generic rendering code.
mxDoubleEllipse.prototype.paintBackground = function(c,
x,
y,
w,
h)
Paints the background.
mxRectangleShape.prototype.paintBackground = function(c,
x,
y,
w,
h)
Generic background painting implementation.
mxShape.prototype.paintBackground = function(c,
x,
y,
w,
h)
Hook for subclassers.
mxArrow.prototype.paintEdgeShape = function(c,
pts)
Paints the line shape.
mxArrowConnector.prototype.paintEdgeShape = function(c,
pts)
Paints the line shape.
mxConnector.prototype.paintEdgeShape = function(c,
pts)
Paints the line shape.
mxPolyline.prototype.paintEdgeShape = function(c,
pts)
Paints the line shape.
mxShape.prototype.paintEdgeShape = function(c,
pts)
Hook for subclassers.
mxDoubleEllipse.prototype.paintForeground = function(c,
x,
y,
w,
h)
Paints the foreground.
mxLabel.prototype.paintForeground = function(c,
x,
y,
w,
h)
Generic background painting implementation.
mxRectangleShape.prototype.paintForeground = function(c,
x,
y,
w,
h)
Generic background painting implementation.
mxShape.prototype.paintForeground = function(c,
x,
y,
w,
h)
Hook for subclassers.
mxShape.prototype.paintGlassEffect = function(c,
x,
y,
w,
h,
arc)
Paints the glass gradient effect.
mxLabel.prototype.paintImage = function(c,
x,
y,
w,
h)
Generic background painting implementation.
mxLabel.prototype.paintIndicator = function(c,
x,
y,
w,
h)
Generic background painting implementation.
mxPolyline.prototype.paintLine = function(c,
pts,
rounded)
Paints the line shape.
mxSwimlane.prototype.paintRoundedSwimlane = function(c,
x,
y,
w,
h,
start,
r,
fill,
swimlaneLine)
Paints the swimlane vertex shape.
mxSwimlane.prototype.paintSwimlane = function(c,
x,
y,
w,
h,
start,
fill,
swimlaneLine)
Paints the swimlane vertex shape.
mxActor.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Redirects to redrawPath for subclasses to work.
mxCylinder.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Redirects to redrawPath for subclasses to work.
mxEllipse.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Paints the ellipse shape.
mxImageShape.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Generic background painting implementation.
mxLine.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Redirects to redrawPath for subclasses to work.
mxRhombus.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Generic painting implementation.
mxShape.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Paints the vertex shape.
Paints the swimlane vertex shape.
mxGraph.prototype.panGraph = function(dx,
dy)
Shifts the graph display by the given amount.
mxPanningHandler.prototype.panGraph = function(dx,
dy)
Pans graph by the given amount.
para: function(parent,
text)
Appends a new paragraph with the given text to the specified parent and returns the paragraph.
mxGraphModel.prototype.parentForCellChanged = function(cell,
parent,
index)
Inner callback to update the parent of a cell using mxCell.insert on the parent and return the previous parent.
parse: function(text)
Parses the key, value pairs in the specified text and stores them as local resources.
mxStencil.prototype.parseConstraint = function(node)
Parses the given XML node and returns its mxConnectionConstraint.
mxStencil.prototype.parseConstraints = function()
Reads the constraints from desc into constraints using parseConstraint.
mxStencil.prototype.parseDescription = function()
Reads w0, h0, aspect, bgNodes and fgNodes from desc.
parseXml: function()
Parses the specified XML string into a new XML document and returns the new document.
paste: function(graph)
Pastes the cells into the specified graph restoring the relation to parents, if possible.
mxEdgeLabelLayout.prototype.placeLabels = function(v,
e)
Places the labels of the given edges.
mxHierarchicalLayout.prototype.placementStage = function(initialX,
parent)
Executes the placement stage using mxCoordinateAssignment.
mxSwimlaneLayout.prototype.placementStage = function(initialX,
parent)
Executes the placement stage using mxCoordinateAssignment.
mxVmlCanvas2D.prototype.plainText = function(x,
y,
w,
h,
str,
align,
valign,
wrap,
format,
overflow,
clip,
rotation,
dir)
Paints the outline of the current path.
mxPopupMenu.prototype.popup = function(x,
y,
cell,
evt)
Shows the popup menu for the given event and cell.
popup: function(content,
isInternalWindow)
Shows the specified text content in a new mxWindow or a new browser window if isInternalWindow is false.
mxHandle.prototype.positionChanged = function()
Called after setPosition has been called in processEvent.
post: function(url,
params,
onload,
onerror)
Posts the specified params to the given URL asynchronously and invokes the given functions depending on the request status.
mxCellRenderer.prototype.postConfigureShape = function(state)
Replaces any reserved words used for attributes, eg.
mxEditor.prototype.postDiagram = function (url,
data)
Hook for subclassers to override the posting of a diagram represented by the given node to the given URL.
mxGraph.prototype.postProcessCellStyle = function(style)
Tries to resolve the value for the image style in the image bundles and turns short data URIs as defined in mxImageBundle to data URIs as defined in RFC 2397 of the IETF.
mxPrintPreview.prototype.print = function(css)
Opens the print preview and shows the print dialog.
printScreen: function(graph)
Prints the specified graph using a new window and the built-in print dialog.
mxCellMarker.prototype.process = function(me)
Processes the given event and cell and marks the state returned by getState with the color returned by getMarkerColor.
mxGraph.prototype.processChange = function(change)
Processes the given change and invalidates the respective cached data in view.
mxHandle.prototype.processEvent = function(me)
Processes the given mxMouseEvent and invokes setPosition.
mxObjectCodec.prototype.processInclude = function(dec,
node,
into)
Returns true if the given node is an include directive and executes the include by decoding the XML document.
mxCoordinateAssignment.prototype.processReversedEdge = function(graph,
model)
Hook to add additional processing
prompt: function(message,
defaultValue)
Displays the given message in a prompt dialog.
ptLineDist: function(x1,
y1,
x2,
y2,
px,
py)
Returns the distance between a line defined by two points and a point.
ptSegDistSq: function(x1,
y1,
x2,
y2,
px,
py)
Returns the square distance between a segment and a point.
mxDictionary.prototype.put = function(key,
value)
Stores the value under the given key and returns the previous value for that key.
mxStylesheet.prototype.putCellStyle = function(name,
style)
Stores the given map of key, value pairs under the given name in styles.
mxStylesheet.prototype.putDefaultEdgeStyle = function(style)
Sets the default style for edges using defaultEdge as the stylename.
mxStylesheet.prototype.putDefaultVertexStyle = function(style)
Sets the default style for vertices using defaultVertex as the stylename.
mxImageBundle.prototype.putImage = function(key,
value,
fallback)
Adds the specified entry to the map.
mxCodec.prototype.putObject = function(id,
obj)
Assoiates the given object with the given ID and returns the given object.
putValue: function(name,
obj)
Puts the given object into the registry under the given name.
diff --git a/docs/js-api/index/Functions14.html b/docs/js-api/index/Functions14.html index f797a263d..4aeab45aa 100644 --- a/docs/js-api/index/Functions14.html +++ b/docs/js-api/index/Functions14.html @@ -11,9 +11,9 @@ if (browserType) {document.write("
");if (browserV -
Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
Q
 quadTo
+
Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
Q
 quadTo
-
mxAbstractCanvas2D.prototype.quadTo = function(x1,
y1,
x2,
y2)
Adds a quadratic curve to the current path.
mxVmlCanvas2D.prototype.quadTo = function(x1,
y1,
x2,
y2)
Replaces quadratic curve with bezier curve in VML.
mxXmlCanvas2D.prototype.quadTo = function(x1,
y1,
x2,
y2)
Adds a quadratic curve to the current path.
+
mxAbstractCanvas2D.prototype.quadTo = function(x1,
y1,
x2,
y2)
Adds a quadratic curve to the current path.
mxVmlCanvas2D.prototype.quadTo = function(x1,
y1,
x2,
y2)
Replaces quadratic curve with bezier curve in VML.
mxXmlCanvas2D.prototype.quadTo = function(x1,
y1,
x2,
y2)
Adds a quadratic curve to the current path.
diff --git a/docs/js-api/index/Functions15.html b/docs/js-api/index/Functions15.html index 0157ddcfb..3ccf0baa5 100644 --- a/docs/js-api/index/Functions15.html +++ b/docs/js-api/index/Functions15.html @@ -11,9 +11,9 @@ if (browserType) {document.write("
");if (browserV -
Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
R
 rankCoordinates, mxCoordinateAssignment
 rankMedianPosition, mxCoordinateAssignment
 readGraphModel, mxEditor
 reconfigure, mxShape
 rect
 rectangleIntersectsSegment, mxUtils
 RectanglePerimeter, mxPerimeter
 redirectMouseEvents, mxEvent
 redo
 redraw
 redrawBackgroundImage, mxGraphView
 redrawCellOverlays, mxCellRenderer
 redrawControl, mxCellRenderer
 redrawHandles
 redrawHtml, mxShape
 redrawHtmlShape
 redrawIcons, mxConnectionHandler
 redrawInnerBends
 redrawLabel, mxCellRenderer
 redrawLabelShape, mxCellRenderer
 redrawPath
 redrawShape
 reduceTemperature, mxFastOrganicLayout
 reference, mxCodec
 refresh
 refreshTasks, mxEditor
 register, mxCodecRegistry
 registerShape, mxCellRenderer
 relativeCcw, mxUtils
 release, mxEvent
 releaseSvgGradients, mxShape
 remove
 removeAllListeners, mxEvent
 removeAllStylenames, mxUtils
 removeCell, mxGraphSelectionModel
 removeCellOverlay, mxGraph
 removeCellOverlays, mxGraph
 removeCells
 removeCellsAfterUngroup, mxGraph
 removeCellsFromParent, mxGraph
 removeCursors, mxUtils
 removeDragElement, mxDragSource
 removeDuplicates, mxUtils
 removeEdge, mxCell
 removeFromParent, mxCell
 removeFromTerminal, mxCell
 removeGestureListeners, mxEvent
 removeHint
 removeImageBundle, mxGraph
 removeListener
 removeListeners, mxDragSource
 removeMouseListener, mxGraph
 removePoint, mxEdgeHandler
 removeSelectionCell, mxGraph
 removeSelectionCells, mxGraph
 removeState, mxGraphView
 removeStateForCell, mxGraph
 removeStylename, mxUtils
 removeWhitespace, mxUtils
 renderPage, mxPrintPreview
 repaint
 replacePlaceholders, mxResources
 replaceTrailingNewlines, mxUtils
 repositionValid, mxCoordinateAssignment
 reset
 resetEdge, mxGraph
 resetEdges, mxGraph
 resetFirstTime, mxEditor
 resetHistory, mxEditor
 resetMode, mxToolbar
 resetTimer, mxTooltipHandler
 resetValidationState, mxGraphView
 resize
 resizeCell
 resizeCells, mxGraph
 resizeChildCells, mxGraph
 resizeHeight, mxDivResizer
 resizeSwimlane, mxSwimlaneManager
 resizeWidth, mxDivResizer
 resolve, mxCellPath
 resolveColor, mxCellRenderer
 restore
 restoreClone, mxGraphModel
 revalidate, mxGraphView
 revalidateState, mxCellStatePreview
 reversePortConstraints, mxUtils
 RhombusPerimeter, mxPerimeter
 rootChanged, mxGraphModel
 rotate
 rotate90, mxRectangle
 rotateCell, mxVertexHandler
 rotateClick, mxVertexHandler
 rotateLabelBounds, mxCellRenderer
 rotatePoint
 rotateVertex, mxVertexHandler
 roundAngle, mxVertexHandler
 roundLength
 roundrect
 route, mxParallelEdgeLayout
 rtrim, mxUtils
 run
+
Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
R
 rankCoordinates, mxCoordinateAssignment
 rankMedianPosition, mxCoordinateAssignment
 readGraphModel, mxEditor
 reconfigure, mxShape
 rect
 rectangleIntersectsSegment, mxUtils
 RectanglePerimeter, mxPerimeter
 redirectMouseEvents, mxEvent
 redo
 redraw
 redrawBackgroundImage, mxGraphView
 redrawCellOverlays, mxCellRenderer
 redrawControl, mxCellRenderer
 redrawHandles
 redrawHtml, mxShape
 redrawHtmlShape
 redrawIcons, mxConnectionHandler
 redrawInnerBends
 redrawLabel, mxCellRenderer
 redrawLabelShape, mxCellRenderer
 redrawPath
 redrawShape
 reduceTemperature, mxFastOrganicLayout
 reference, mxCodec
 refresh
 refreshTasks, mxEditor
 register, mxCodecRegistry
 registerShape, mxCellRenderer
 relativeCcw, mxUtils
 release, mxEvent
 releaseSvgGradients, mxShape
 remove
 removeAllListeners, mxEvent
 removeAllStylenames, mxUtils
 removeCell, mxGraphSelectionModel
 removeCellOverlay, mxGraph
 removeCellOverlays, mxGraph
 removeCells
 removeCellsAfterUngroup, mxGraph
 removeCellsFromParent, mxGraph
 removeCursors, mxUtils
 removeDragElement, mxDragSource
 removeDuplicates, mxUtils
 removeEdge, mxCell
 removeFromParent, mxCell
 removeFromTerminal, mxCell
 removeGestureListeners, mxEvent
 removeHint
 removeImageBundle, mxGraph
 removeListener
 removeListeners, mxDragSource
 removeMouseListener, mxGraph
 removePoint, mxEdgeHandler
 removeSelectionCell, mxGraph
 removeSelectionCells, mxGraph
 removeState, mxGraphView
 removeStateForCell, mxGraph
 removeStylename, mxUtils
 removeWhitespace, mxUtils
 renderPage, mxPrintPreview
 repaint
 replacePlaceholders, mxResources
 replaceTrailingNewlines, mxUtils
 repositionValid, mxCoordinateAssignment
 reset
 resetEdge, mxGraph
 resetEdges, mxGraph
 resetFirstTime, mxEditor
 resetHistory, mxEditor
 resetMode, mxToolbar
 resetStyles
 resetTimer, mxTooltipHandler
 resetValidationState, mxGraphView
 resize
 resizeCell
 resizeCells, mxGraph
 resizeChildCells, mxGraph
 resizeHeight, mxDivResizer
 resizeSwimlane, mxSwimlaneManager
 resizeWidth, mxDivResizer
 resolve, mxCellPath
 resolveColor, mxCellRenderer
 restore
 restoreClone, mxGraphModel
 revalidate, mxGraphView
 revalidateState, mxCellStatePreview
 reversePortConstraints, mxUtils
 RhombusPerimeter, mxPerimeter
 rootChanged, mxGraphModel
 rotate
 rotate90, mxRectangle
 rotateCell, mxVertexHandler
 rotateClick, mxVertexHandler
 rotateLabelBounds, mxCellRenderer
 rotatePoint
 rotateVertex, mxVertexHandler
 roundAngle, mxVertexHandler
 roundLength
 roundrect
 route, mxParallelEdgeLayout
 rtrim, mxUtils
 run
-
mxCoordinateAssignment.prototype.rankCoordinates = function(rankValue,
graph,
model)
Sets up the layout in an initial positioning.
mxCoordinateAssignment.prototype.rankMedianPosition = function(rankValue,
model,
nextRankValue)
Performs median minimisation over one rank.
mxEditor.prototype.readGraphModel = function (node)
Reads the specified XML node into the existing graph model and resets the command history and modified state.
mxShape.prototype.reconfigure = function()
Reconfigures this shape.
mxSvgCanvas2D.prototype.rect = function(x,
y,
w,
h)
Private helper function to create SVG elements
mxVmlCanvas2D.prototype.rect = function(x,
y,
w,
h)
Sets the current path to a rectangle.
mxXmlCanvas2D.prototype.rect = function(x,
y,
w,
h)
Puts a rectangle into the drawing buffer.
rectangleIntersectsSegment: function(bounds,
p1,
p2)
Returns true if the given rectangle intersects the given segment.
RectanglePerimeter: function (bounds,
vertex,
next,
orthogonal)
Describes a rectangular perimeter for the given bounds.
redirectMouseEvents: function(node,
graph,
state,
down,
move,
up,
dblClick)
Redirects the mouse events from the given DOM node to the graph dispatch loop using the event and given state as event arguments.
mxEditor.prototype.redo = function ()
Redo the last change in graph.
mxUndoableEdit.prototype.redo = function()
Redoes all changes in this edit.
mxUndoManager.prototype.redo = function()
Redoes the last change.
mxEdgeSegmentHandler.prototype.redraw = function()
Overridden to invoke refresh before the redraw.
mxCellRenderer.prototype.redraw = function(state,
force,
rendering)
Updates the bounds or points and scale of the shapes for the given cell state.
mxEdgeHandler.prototype.redraw = function()
Redraws the preview, and the bends- and label control points.
mxHandle.prototype.redraw = function()
Renders the shape for this handle.
mxImageShape.prototype.redrawHtmlShape = function()
Overrides mxShape.redraw to preserve the aspect ratio of images.
mxLabel.prototype.redraw = function()
Reconfigures this shape.
mxShape.prototype.redraw = function()
Creates and returns the SVG node(s) to represent this shape.
mxText.prototype.redraw = function()
Renders the text using the given DOM nodes.
mxVertexHandler.prototype.redraw = function()
Redraws the handles and the preview.
mxGraphView.prototype.redrawBackgroundImage = function(backgroundImage,
bg)
Updates the bounds and redraws the background image.
mxCellRenderer.prototype.redrawCellOverlays = function(state,
forced)
Redraws the overlays for the given cell state.
mxCellRenderer.prototype.redrawControl = function(state,
forced)
Redraws the control for the given cell state.
mxEdgeHandler.prototype.redrawHandles = function()
Redraws the handles.
mxVertexHandler.prototype.redrawHandles = function()
Redraws the handles.
mxShape.prototype.redrawHtmlShape = function()
Allow optimization by replacing VML with HTML.
mxLabel.prototype.redrawHtmlShape = function()
Generic background painting implementation.
mxText.prototype.redrawHtmlShape = function()
Updates the HTML node(s) to reflect the latest bounds and scale.
mxConnectionHandler.prototype.redrawIcons = function(icons,
state)
Redraws the given array of mxImageShapes.
mxEdgeSegmentHandler.prototype.redrawInnerBends = function(p0,
pe)
Updates the position of the custom bends.
mxEdgeHandler.prototype.redrawInnerBends = function(p0,
pe)
Updates and redraws the inner bends.
mxElbowEdgeHandler.prototype.redrawInnerBends = function(p0,
pe)
Updates and redraws the inner bends.
mxCellRenderer.prototype.redrawLabel = function(state,
forced)
Redraws the label for the given cell state.
mxCellRenderer.prototype.redrawLabelShape = function(shape)
Called to invoked redraw on the given text shape.
mxActor.prototype.redrawPath = function(c,
x,
y,
w,
h)
Draws the path for this shape.
mxCloud.prototype.redrawPath = function(c,
x,
y,
w,
h)
Draws the path for this shape.
mxCylinder.prototype.redrawPath = function(c,
x,
y,
w,
h,
isForeground)
Draws the path for this shape.
mxHexagon.prototype.redrawPath = function(c,
x,
y,
w,
h)
Draws the path for this shape.
mxTriangle.prototype.redrawPath = function(c,
x,
y,
w,
h)
Draws the path for this shape.
mxCellRenderer.prototype.redrawShape = function(state,
force,
rendering)
Redraws the shape for the given cell state.
mxShape.prototype.redrawShape = function()
Updates the SVG or VML shape.
mxFastOrganicLayout.prototype.reduceTemperature = function()
Reduces the temperature of the layout from an initial setting in a linear fashion to zero.
mxCodec.prototype.reference = function(obj)
Hook for subclassers to implement a custom method for retrieving IDs from objects.
mxEdgeHandler.prototype.refresh = function()
Refreshes the bends of this handler.
mxGraph.prototype.refresh = function(cell)
Clears all cell states or the states for the hierarchy starting at the given cell and validates the graph.
mxGraphView.prototype.refresh = function()
Clears the view if currentRoot is not null and revalidates.
mxOutline.prototype.refresh = function()
Invokes update and revalidate the outline.
mxSelectionCellsHandler.prototype.refresh = function()
Reloads or updates all handlers.
mxEditor.prototype.refreshTasks = function (div)
Updates the contents of the tasks window using createTasks.
register: function(codec)
Registers a new codec and associates the name of the template constructor in the codec with the codec object.
mxCellRenderer.registerShape = function(key,
shape)
Registers the given constructor under the specified key in this instance of the renderer.
relativeCcw: function(x1,
y1,
x2,
y2,
px,
py)
Returns 1 if the given point on the right side of the segment, 0 if its on the segment, and -1 if the point is on the left side of the segment.
release: function(element)
Removes the known listeners from the given DOM node and its descendants.
mxShape.prototype.releaseSvgGradients = function(grads)
Paints the line shape.
mxCell.prototype.remove = function(index)
Removes the child at the specified index from the child array and returns the child that was removed.
mxDictionary.prototype.remove = function(key)
Removes the value for the given key and returns the value that has been removed.
mxGraphModel.prototype.remove = function(cell)
Removes the specified cell from the model using mxChildChange and adds the change to the current transaction.
remove: function(obj,
array)
Removes all occurrences of the given object in the given array or object.
removeAllListeners: function(element)
Removes all listeners from the given element.
removeAllStylenames: function(style)
Removes all stylenames from the given style and returns the updated style.
mxGraphSelectionModel.prototype.removeCell = function(cell)
Removes the specified mxCell from the selection and fires a select event for the remaining cells.
mxGraph.prototype.removeCellOverlay = function(cell,
overlay)
Removes and returns the given mxCellOverlay from the given cell.
mxGraph.prototype.removeCellOverlays = function(cell)
Removes all mxCellOverlays from the given cell.
removeCells: function(graph,
cells)
Hook to remove the given cells from the given graph after a cut operation.
mxGraph.prototype.removeCells = function(cells,
includeEdges)
Removes the given cells from the graph including all connected edges if includeEdges is true.
mxGraphSelectionModel.prototype.removeCells = function(cells)
mxGraph.prototype.removeCellsAfterUngroup = function(cells)
Hook to remove the groups after ungroupCells.
mxGraph.prototype.removeCellsFromParent = function(cells)
Removes the specified cells from their parents and adds them to the default parent.
removeCursors: function(element)
Removes the cursors from the style of the given DOM node and its descendants.
mxDragSource.prototype.removeDragElement = function()
Removes and destroys the dragElement.
removeDuplicates: function(arr)
Removes all duplicates from the given array.
mxCell.prototype.removeEdge = function(edge,
isOutgoing)
Removes the specified edge from the edge array and returns the edge.
mxCell.prototype.removeFromParent = function()
Removes the cell from its parent.
mxCell.prototype.removeFromTerminal = function(isSource)
Removes the edge from its source or target terminal.
removeGestureListeners: function(node,
startListener,
moveListener,
endListener)
Removes the given listeners from mousedown, mousemove, mouseup and the respective touch events if mxClient.IS_TOUCH is true.
mxEdgeHandler.prototype.removeHint = function()
Hooks for subclassers to hide details when the handler gets inactive.
mxGraphHandler.prototype.removeHint = function()
Hooks for subclassers to hide details when the handler gets inactive.
mxVertexHandler.prototype.removeHint = function()
Hooks for subclassers to hide details when the handler gets inactive.
mxGraph.prototype.removeImageBundle = function(bundle)
Removes the specified mxImageBundle.
removeListener: function()
Removes the specified listener from the given element.
mxEventSource.prototype.removeListener = function(funct)
Removes all occurrences of the given listener from eventListeners.
mxDragSource.prototype.removeListeners = function()
Actives the given graph as a drop target.
mxGraph.prototype.removeMouseListener = function(listener)
Removes the specified graph listener.
mxEdgeHandler.prototype.removePoint = function(state,
index)
Removes the control point at the given index from the given state.
mxGraph.prototype.removeSelectionCell = function(cell)
Removes the given cell from the selection.
mxGraph.prototype.removeSelectionCells = function(cells)
Removes the given cells from the selection.
mxGraphView.prototype.removeState = function(cell)
Removes and returns the mxCellState for the given cell.
mxGraph.prototype.removeStateForCell = function(cell)
Removes all cached information for the given cell and its descendants.
removeStylename: function(style,
stylename)
Removes all occurrences of the specified stylename in the given style and returns the updated style.
removeWhitespace: function(node,
before)
Removes the sibling text nodes for the given node that only consists of tabs, newlines and spaces.
mxPrintPreview.prototype.renderPage = function(w,
h,
dx,
dy,
content,
pageNumber)
Creates a DIV that prints a single page of the given graph using the given scale and returns the DIV that represents the page.
mxCellHighlight.prototype.repaint = function()
Updates the highlight after a change of the model or view.
mxRubberband.prototype.repaint = function()
Computes the bounding box and updates the style of the div.
replacePlaceholders: function(value,
params)
Replaces the given placeholders with the given parameters.
replaceTrailingNewlines: function(str,
pattern)
Replaces each trailing newline with the given pattern.
mxCoordinateAssignment.prototype.repositionValid = function(model,
cell,
rank,
position)
Determines whether or not a node may be moved to the specified x position on the specified rank
mxAbstractCanvas2D.prototype.reset = function()
Resets the state of this canvas.
mxAutoSaveManager.prototype.reset = function()
Resets all counters.
mxCellMarker.prototype.reset = function()
Resets the state of the cell marker.
mxConnectionHandler.prototype.reset = function()
Resets the state of this handler.
mxConstraintHandler.prototype.reset = function()
Resets the state of this handler.
mxDragSource.prototype.reset = function()
Stops and removes everything and restores the state of the object.
mxEdgeHandler.prototype.reset = function()
Resets the state of this handler.
mxGraphHandler.prototype.reset = function()
Resets the state of this handler.
mxHandle.prototype.reset = function()
Resets the state of this handle by setting its visibility to true.
mxRubberband.prototype.reset = function()
Resets the state of the rubberband selection.
mxSelectionCellsHandler.prototype.reset = function()
Resets all handlers.
mxSvgCanvas2D.prototype.reset = function()
Returns any offsets for rendering pixels.
mxTooltipHandler.prototype.reset = function(me,
restart)
Resets and/or restarts the timer to trigger the display of the tooltip.
mxVertexHandler.prototype.reset = function()
Resets the state of this handler.
mxGraph.prototype.resetEdge = function(edge)
Resets the control points of the given edge.
mxGraph.prototype.resetEdges = function(cells)
Resets the control points of the edges that are connected to the given cells if not both ends of the edge are in the given cells array.
mxEditor.prototype.resetFirstTime = function ()
Resets the cookie that is used to remember if the editor has already been used.
mxEditor.prototype.resetHistory = function ()
Resets the command history, modified state and counters.
mxToolbar.prototype.resetMode = function(forced)
Selects the default mode and resets the state of the previously selected mode.
mxTooltipHandler.prototype.resetTimer = function()
Resets the timer.
mxGraphView.prototype.resetValidationState = function()
Resets the current validation state.
mxCellEditor.prototype.resize = function()
Returns modified.
mxDivResizer.prototype.resize = function()
Updates the style of the DIV after the window has been resized.
mxGraph.prototype.resizeCell = function(cell,
bounds,
recurse)
Sets the bounds of the given cell using resizeCells.
mxVertexHandler.prototype.resizeCell = function(cell,
dx,
dy,
index,
gridEnabled,
constrained,
recurse)
Uses the given vector to change the bounds of the given cell in the graph using mxGraph.resizeCell.
mxGraph.prototype.resizeCells = function(cells,
bounds,
recurse)
Sets the bounds of the given cells and fires a mxEvent.RESIZE_CELLS event while the transaction is in progress.
mxGraph.prototype.resizeChildCells = function(cell,
newGeo)
Resizes the child cells of the given cell for the given new geometry with respect to the current geometry of the cell.
Boolean specifying if the height should be updated.
mxSwimlaneManager.prototype.resizeSwimlane = function(swimlane,
w,
h,
parentHorizontal)
Called from cellsResized for all swimlanes that are not ignored to update the size of the siblings and the size of the parent swimlanes, recursively, if bubbling is true.
Boolean specifying if the width should be updated.
resolve: function(root,
path)
Returns the cell for the specified cell path using the given root as the root of the path.
mxCellRenderer.prototype.resolveColor = function(state,
field,
key)
Resolves special keywords ‘inherit’, ‘indicated’ and ‘swimlane’ and sets the respective color on the shape.
mxAbstractCanvas2D.prototype.restore = function()
Restores the current state.
mxXmlCanvas2D.prototype.restore = function()
Restores the drawing state.
mxGraphModel.prototype.restoreClone = function(clone,
cell,
mapping)
Inner helper method for restoring the connections in a network of cloned cells.
mxGraphView.prototype.revalidate = function()
Revalidates the complete view with all cell states.
mxCellStatePreview.prototype.revalidateState = function(state,
dx,
dy,
visitor)
reversePortConstraints: function(constraint)
Reverse the port constraint bitmask.
RhombusPerimeter: function (bounds,
vertex,
next,
orthogonal)
Describes a rhombus (aka diamond) perimeter.
mxGraphModel.prototype.rootChanged = function(root)
Inner callback to change the root of the model and update the internal datastructures, such as cells and nextId.
mxAbstractCanvas2D.prototype.rotate = function(theta,
flipH,
flipV,
cx,
cy)
Rotates the current state.
mxGeometry.prototype.rotate = function(angle,
cx)
Rotates the geometry by the given angle around the given center.
mxSvgCanvas2D.prototype.rotate = function(theta,
flipH,
flipV,
cx,
cy)
Sets the rotation of the canvas.
mxVmlCanvas2D.prototype.rotate = function(theta,
flipH,
flipV,
cx,
cy)
Sets the rotation of the canvas.
mxXmlCanvas2D.prototype.rotate = function(theta,
flipH,
flipV,
cx,
cy)
Rotates and/or flips the output around a given center.
mxRectangle.prototype.rotate90 = function()
Rotates this rectangle by 90 degree around its center point.
Rotates the given cell to the given rotation.
mxVertexHandler.prototype.rotateClick = function()
Hook for subclassers to implement a single click on the rotation handle.
mxCellRenderer.prototype.rotateLabelBounds = function(state,
bounds)
Adds the shape rotation to the given label bounds and applies the alignment and offsets.
mxAbstractCanvas2D.prototype.rotatePoint = function(x,
y,
theta,
cx,
cy)
Rotates the given point and returns the result as an mxPoint.
mxHandle.prototype.rotatePoint = function(pt,
alpha)
Rotates the point by the given angle.
Rotates the vertex.
mxVertexHandler.prototype.roundAngle = function(angle)
Hook for rounding the angle.
mxEdgeHandler.prototype.roundLength = function(length)
Hook for rounding the unscaled width or height.
mxGraphHandler.prototype.roundLength = function(length)
Hook for rounding the unscaled vector.
mxVertexHandler.prototype.roundLength = function(length)
Hook for rounding the unscaled width or height.
mxSvgCanvas2D.prototype.roundrect = function(x,
y,
w,
h,
dx,
dy)
Private helper function to create SVG elements
mxVmlCanvas2D.prototype.roundrect = function(x,
y,
w,
h,
dx,
dy)
Sets the current path to a rounded rectangle.
mxXmlCanvas2D.prototype.roundrect = function(x,
y,
w,
h,
dx,
dy)
Puts a rounded rectangle into the drawing buffer.
mxParallelEdgeLayout.prototype.route = function(edge,
x,
y)
Routes the given edge via the given point.
rtrim: function(str,
chars)
Strips all whitespaces from the end of the string.
mxHierarchicalLayout.prototype.run = function(parent)
The API method used to exercise the layout upon the graph description and produce a separate description of the vertex position and edge routing changes made.
mxSwimlaneLayout.prototype.run = function(parent)
The API method used to exercise the layout upon the graph description and produce a separate description of the vertex position and edge routing changes made.
+
mxCoordinateAssignment.prototype.rankCoordinates = function(rankValue,
graph,
model)
Sets up the layout in an initial positioning.
mxCoordinateAssignment.prototype.rankMedianPosition = function(rankValue,
model,
nextRankValue)
Performs median minimisation over one rank.
mxEditor.prototype.readGraphModel = function (node)
Reads the specified XML node into the existing graph model and resets the command history and modified state.
mxShape.prototype.reconfigure = function()
Reconfigures this shape.
mxSvgCanvas2D.prototype.rect = function(x,
y,
w,
h)
Private helper function to create SVG elements
mxVmlCanvas2D.prototype.rect = function(x,
y,
w,
h)
Sets the current path to a rectangle.
mxXmlCanvas2D.prototype.rect = function(x,
y,
w,
h)
Puts a rectangle into the drawing buffer.
rectangleIntersectsSegment: function(bounds,
p1,
p2)
Returns true if the given rectangle intersects the given segment.
RectanglePerimeter: function (bounds,
vertex,
next,
orthogonal)
Describes a rectangular perimeter for the given bounds.
redirectMouseEvents: function(node,
graph,
state,
down,
move,
up,
dblClick)
Redirects the mouse events from the given DOM node to the graph dispatch loop using the event and given state as event arguments.
mxEditor.prototype.redo = function ()
Redo the last change in graph.
mxUndoableEdit.prototype.redo = function()
Redoes all changes in this edit.
mxUndoManager.prototype.redo = function()
Redoes the last change.
mxEdgeSegmentHandler.prototype.redraw = function()
Overridden to invoke refresh before the redraw.
mxCellRenderer.prototype.redraw = function(state,
force,
rendering)
Updates the bounds or points and scale of the shapes for the given cell state.
mxEdgeHandler.prototype.redraw = function()
Redraws the preview, and the bends- and label control points.
mxHandle.prototype.redraw = function()
Renders the shape for this handle.
mxImageShape.prototype.redrawHtmlShape = function()
Overrides mxShape.redraw to preserve the aspect ratio of images.
mxLabel.prototype.redraw = function()
Reconfigures this shape.
mxShape.prototype.redraw = function()
Creates and returns the SVG node(s) to represent this shape.
mxText.prototype.redraw = function()
Renders the text using the given DOM nodes.
mxVertexHandler.prototype.redraw = function()
Redraws the handles and the preview.
mxGraphView.prototype.redrawBackgroundImage = function(backgroundImage,
bg)
Updates the bounds and redraws the background image.
mxCellRenderer.prototype.redrawCellOverlays = function(state,
forced)
Redraws the overlays for the given cell state.
mxCellRenderer.prototype.redrawControl = function(state,
forced)
Redraws the control for the given cell state.
mxEdgeHandler.prototype.redrawHandles = function()
Redraws the handles.
mxVertexHandler.prototype.redrawHandles = function()
Redraws the handles.
mxShape.prototype.redrawHtmlShape = function()
Allow optimization by replacing VML with HTML.
mxLabel.prototype.redrawHtmlShape = function()
Generic background painting implementation.
mxText.prototype.redrawHtmlShape = function()
Updates the HTML node(s) to reflect the latest bounds and scale.
mxConnectionHandler.prototype.redrawIcons = function(icons,
state)
Redraws the given array of mxImageShapes.
mxEdgeSegmentHandler.prototype.redrawInnerBends = function(p0,
pe)
Updates the position of the custom bends.
mxEdgeHandler.prototype.redrawInnerBends = function(p0,
pe)
Updates and redraws the inner bends.
mxElbowEdgeHandler.prototype.redrawInnerBends = function(p0,
pe)
Updates and redraws the inner bends.
mxCellRenderer.prototype.redrawLabel = function(state,
forced)
Redraws the label for the given cell state.
mxCellRenderer.prototype.redrawLabelShape = function(shape)
Called to invoked redraw on the given text shape.
mxActor.prototype.redrawPath = function(c,
x,
y,
w,
h)
Draws the path for this shape.
mxCloud.prototype.redrawPath = function(c,
x,
y,
w,
h)
Draws the path for this shape.
mxCylinder.prototype.redrawPath = function(c,
x,
y,
w,
h,
isForeground)
Draws the path for this shape.
mxHexagon.prototype.redrawPath = function(c,
x,
y,
w,
h)
Draws the path for this shape.
mxTriangle.prototype.redrawPath = function(c,
x,
y,
w,
h)
Draws the path for this shape.
mxCellRenderer.prototype.redrawShape = function(state,
force,
rendering)
Redraws the shape for the given cell state.
mxShape.prototype.redrawShape = function()
Updates the SVG or VML shape.
mxFastOrganicLayout.prototype.reduceTemperature = function()
Reduces the temperature of the layout from an initial setting in a linear fashion to zero.
mxCodec.prototype.reference = function(obj)
Hook for subclassers to implement a custom method for retrieving IDs from objects.
mxEdgeHandler.prototype.refresh = function()
Refreshes the bends of this handler.
mxGraph.prototype.refresh = function(cell)
Clears all cell states or the states for the hierarchy starting at the given cell and validates the graph.
mxGraphView.prototype.refresh = function()
Clears the view if currentRoot is not null and revalidates.
mxOutline.prototype.refresh = function()
Invokes update and revalidate the outline.
mxSelectionCellsHandler.prototype.refresh = function()
Reloads or updates all handlers.
mxEditor.prototype.refreshTasks = function (div)
Updates the contents of the tasks window using createTasks.
register: function(codec)
Registers a new codec and associates the name of the template constructor in the codec with the codec object.
mxCellRenderer.registerShape = function(key,
shape)
Registers the given constructor under the specified key in this instance of the renderer.
relativeCcw: function(x1,
y1,
x2,
y2,
px,
py)
Returns 1 if the given point on the right side of the segment, 0 if its on the segment, and -1 if the point is on the left side of the segment.
release: function(element)
Removes the known listeners from the given DOM node and its descendants.
mxShape.prototype.releaseSvgGradients = function(grads)
Paints the line shape.
mxCell.prototype.remove = function(index)
Removes the child at the specified index from the child array and returns the child that was removed.
mxDictionary.prototype.remove = function(key)
Removes the value for the given key and returns the value that has been removed.
mxGraphModel.prototype.remove = function(cell)
Removes the specified cell from the model using mxChildChange and adds the change to the current transaction.
remove: function(obj,
array)
Removes all occurrences of the given object in the given array or object.
removeAllListeners: function(element)
Removes all listeners from the given element.
removeAllStylenames: function(style)
Removes all stylenames from the given style and returns the updated style.
mxGraphSelectionModel.prototype.removeCell = function(cell)
Removes the specified mxCell from the selection and fires a select event for the remaining cells.
mxGraph.prototype.removeCellOverlay = function(cell,
overlay)
Removes and returns the given mxCellOverlay from the given cell.
mxGraph.prototype.removeCellOverlays = function(cell)
Removes all mxCellOverlays from the given cell.
removeCells: function(graph,
cells)
Hook to remove the given cells from the given graph after a cut operation.
mxGraph.prototype.removeCells = function(cells,
includeEdges)
Removes the given cells from the graph including all connected edges if includeEdges is true.
mxGraphSelectionModel.prototype.removeCells = function(cells)
mxGraph.prototype.removeCellsAfterUngroup = function(cells)
Hook to remove the groups after ungroupCells.
mxGraph.prototype.removeCellsFromParent = function(cells)
Removes the specified cells from their parents and adds them to the default parent.
removeCursors: function(element)
Removes the cursors from the style of the given DOM node and its descendants.
mxDragSource.prototype.removeDragElement = function()
Removes and destroys the dragElement.
removeDuplicates: function(arr)
Removes all duplicates from the given array.
mxCell.prototype.removeEdge = function(edge,
isOutgoing)
Removes the specified edge from the edge array and returns the edge.
mxCell.prototype.removeFromParent = function()
Removes the cell from its parent.
mxCell.prototype.removeFromTerminal = function(isSource)
Removes the edge from its source or target terminal.
removeGestureListeners: function(node,
startListener,
moveListener,
endListener)
Removes the given listeners from mousedown, mousemove, mouseup and the respective touch events if mxClient.IS_TOUCH is true.
mxEdgeHandler.prototype.removeHint = function()
Hooks for subclassers to hide details when the handler gets inactive.
mxGraphHandler.prototype.removeHint = function()
Hooks for subclassers to hide details when the handler gets inactive.
mxVertexHandler.prototype.removeHint = function()
Hooks for subclassers to hide details when the handler gets inactive.
mxGraph.prototype.removeImageBundle = function(bundle)
Removes the specified mxImageBundle.
removeListener: function()
Removes the specified listener from the given element.
mxEventSource.prototype.removeListener = function(funct)
Removes all occurrences of the given listener from eventListeners.
mxDragSource.prototype.removeListeners = function()
Actives the given graph as a drop target.
mxGraph.prototype.removeMouseListener = function(listener)
Removes the specified graph listener.
mxEdgeHandler.prototype.removePoint = function(state,
index)
Removes the control point at the given index from the given state.
mxGraph.prototype.removeSelectionCell = function(cell)
Removes the given cell from the selection.
mxGraph.prototype.removeSelectionCells = function(cells)
Removes the given cells from the selection.
mxGraphView.prototype.removeState = function(cell)
Removes and returns the mxCellState for the given cell.
mxGraph.prototype.removeStateForCell = function(cell)
Removes all cached information for the given cell and its descendants.
removeStylename: function(style,
stylename)
Removes all occurrences of the specified stylename in the given style and returns the updated style.
removeWhitespace: function(node,
before)
Removes the sibling text nodes for the given node that only consists of tabs, newlines and spaces.
mxPrintPreview.prototype.renderPage = function(w,
h,
dx,
dy,
content,
pageNumber)
Creates a DIV that prints a single page of the given graph using the given scale and returns the DIV that represents the page.
mxCellHighlight.prototype.repaint = function()
Updates the highlight after a change of the model or view.
mxRubberband.prototype.repaint = function()
Computes the bounding box and updates the style of the div.
replacePlaceholders: function(value,
params)
Replaces the given placeholders with the given parameters.
replaceTrailingNewlines: function(str,
pattern)
Replaces each trailing newline with the given pattern.
mxCoordinateAssignment.prototype.repositionValid = function(model,
cell,
rank,
position)
Determines whether or not a node may be moved to the specified x position on the specified rank
mxAbstractCanvas2D.prototype.reset = function()
Resets the state of this canvas.
mxAutoSaveManager.prototype.reset = function()
Resets all counters.
mxCellMarker.prototype.reset = function()
Resets the state of the cell marker.
mxConnectionHandler.prototype.reset = function()
Resets the state of this handler.
mxConstraintHandler.prototype.reset = function()
Resets the state of this handler.
mxDragSource.prototype.reset = function()
Stops and removes everything and restores the state of the object.
mxEdgeHandler.prototype.reset = function()
Resets the state of this handler.
mxGraphHandler.prototype.reset = function()
Resets the state of this handler.
mxHandle.prototype.reset = function()
Resets the state of this handle by setting its visibility to true.
mxRubberband.prototype.reset = function()
Resets the state of the rubberband selection.
mxSelectionCellsHandler.prototype.reset = function()
Resets all handlers.
mxSvgCanvas2D.prototype.reset = function()
Returns any offsets for rendering pixels.
mxTooltipHandler.prototype.reset = function(me,
restart)
Resets and/or restarts the timer to trigger the display of the tooltip.
mxVertexHandler.prototype.reset = function()
Resets the state of this handler.
mxGraph.prototype.resetEdge = function(edge)
Resets the control points of the given edge.
mxGraph.prototype.resetEdges = function(cells)
Resets the control points of the edges that are connected to the given cells if not both ends of the edge are in the given cells array.
mxEditor.prototype.resetFirstTime = function ()
Resets the cookie that is used to remember if the editor has already been used.
mxEditor.prototype.resetHistory = function ()
Resets the command history, modified state and counters.
mxToolbar.prototype.resetMode = function(forced)
Selects the default mode and resets the state of the previously selected mode.
mxShape.prototype.resetStyles = function()
Resets all styles.
mxText.prototype.resetStyles = function()
Resets all styles.
mxTooltipHandler.prototype.resetTimer = function()
Resets the timer.
mxGraphView.prototype.resetValidationState = function()
Resets the current validation state.
mxCellEditor.prototype.resize = function()
Returns modified.
mxDivResizer.prototype.resize = function()
Updates the style of the DIV after the window has been resized.
mxGraph.prototype.resizeCell = function(cell,
bounds,
recurse)
Sets the bounds of the given cell using resizeCells.
mxVertexHandler.prototype.resizeCell = function(cell,
dx,
dy,
index,
gridEnabled,
constrained,
recurse)
Uses the given vector to change the bounds of the given cell in the graph using mxGraph.resizeCell.
mxGraph.prototype.resizeCells = function(cells,
bounds,
recurse)
Sets the bounds of the given cells and fires a mxEvent.RESIZE_CELLS event while the transaction is in progress.
mxGraph.prototype.resizeChildCells = function(cell,
newGeo)
Resizes the child cells of the given cell for the given new geometry with respect to the current geometry of the cell.
Boolean specifying if the height should be updated.
mxSwimlaneManager.prototype.resizeSwimlane = function(swimlane,
w,
h,
parentHorizontal)
Called from cellsResized for all swimlanes that are not ignored to update the size of the siblings and the size of the parent swimlanes, recursively, if bubbling is true.
Boolean specifying if the width should be updated.
resolve: function(root,
path)
Returns the cell for the specified cell path using the given root as the root of the path.
mxCellRenderer.prototype.resolveColor = function(state,
field,
key)
Resolves special keywords ‘inherit’, ‘indicated’ and ‘swimlane’ and sets the respective color on the shape.
mxAbstractCanvas2D.prototype.restore = function()
Restores the current state.
mxXmlCanvas2D.prototype.restore = function()
Restores the drawing state.
mxGraphModel.prototype.restoreClone = function(clone,
cell,
mapping)
Inner helper method for restoring the connections in a network of cloned cells.
mxGraphView.prototype.revalidate = function()
Revalidates the complete view with all cell states.
mxCellStatePreview.prototype.revalidateState = function(state,
dx,
dy,
visitor)
reversePortConstraints: function(constraint)
Reverse the port constraint bitmask.
RhombusPerimeter: function (bounds,
vertex,
next,
orthogonal)
Describes a rhombus (aka diamond) perimeter.
mxGraphModel.prototype.rootChanged = function(root)
Inner callback to change the root of the model and update the internal datastructures, such as cells and nextId.
mxAbstractCanvas2D.prototype.rotate = function(theta,
flipH,
flipV,
cx,
cy)
Rotates the current state.
mxGeometry.prototype.rotate = function(angle,
cx)
Rotates the geometry by the given angle around the given center.
mxSvgCanvas2D.prototype.rotate = function(theta,
flipH,
flipV,
cx,
cy)
Sets the rotation of the canvas.
mxVmlCanvas2D.prototype.rotate = function(theta,
flipH,
flipV,
cx,
cy)
Sets the rotation of the canvas.
mxXmlCanvas2D.prototype.rotate = function(theta,
flipH,
flipV,
cx,
cy)
Rotates and/or flips the output around a given center.
mxRectangle.prototype.rotate90 = function()
Rotates this rectangle by 90 degree around its center point.
Rotates the given cell to the given rotation.
mxVertexHandler.prototype.rotateClick = function()
Hook for subclassers to implement a single click on the rotation handle.
mxCellRenderer.prototype.rotateLabelBounds = function(state,
bounds)
Adds the shape rotation to the given label bounds and applies the alignment and offsets.
mxAbstractCanvas2D.prototype.rotatePoint = function(x,
y,
theta,
cx,
cy)
Rotates the given point and returns the result as an mxPoint.
mxHandle.prototype.rotatePoint = function(pt,
alpha)
Rotates the point by the given angle.
Rotates the vertex.
mxVertexHandler.prototype.roundAngle = function(angle)
Hook for rounding the angle.
mxEdgeHandler.prototype.roundLength = function(length)
Hook for rounding the unscaled width or height.
mxGraphHandler.prototype.roundLength = function(length)
Hook for rounding the unscaled vector.
mxVertexHandler.prototype.roundLength = function(length)
Hook for rounding the unscaled width or height.
mxSvgCanvas2D.prototype.roundrect = function(x,
y,
w,
h,
dx,
dy)
Private helper function to create SVG elements
mxVmlCanvas2D.prototype.roundrect = function(x,
y,
w,
h,
dx,
dy)
Sets the current path to a rounded rectangle.
mxXmlCanvas2D.prototype.roundrect = function(x,
y,
w,
h,
dx,
dy)
Puts a rounded rectangle into the drawing buffer.
mxParallelEdgeLayout.prototype.route = function(edge,
x,
y)
Routes the given edge via the given point.
rtrim: function(str,
chars)
Strips all whitespaces from the end of the string.
mxHierarchicalLayout.prototype.run = function(parent)
The API method used to exercise the layout upon the graph description and produce a separate description of the vertex position and edge routing changes made.
mxSwimlaneLayout.prototype.run = function(parent)
The API method used to exercise the layout upon the graph description and produce a separate description of the vertex position and edge routing changes made.
diff --git a/docs/js-api/index/Functions16.html b/docs/js-api/index/Functions16.html index af34cfb23..d938cf407 100644 --- a/docs/js-api/index/Functions16.html +++ b/docs/js-api/index/Functions16.html @@ -11,9 +11,9 @@ if (browserType) {document.write("
");if (browserV -
Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
S
 save
 scale
 scaleAndTranslate, mxGraphView
 scaleCell, mxGraph
 scrollCellToVisible, mxGraph
 scrollPointToVisible, mxGraph
 scrollRectToVisible, mxGraph
 SegmentConnector, mxEdgeStyle
 selectAll, mxGraph
 selectCell, mxGraph
 selectCellForEvent, mxGraph
 selectCells
 selectCellsForEvent, mxGraph
 selectChildCell, mxGraph
 selectDelayed, mxGraphHandler
 selectMode, mxToolbar
 selectNextCell, mxGraph
 selectParentCell, mxGraph
 selectPreviousCell, mxGraph
 selectRegion, mxGraph
 selectVertices, mxGraph
 send, mxXmlRequest
 setAbsoluteTerminalPoint, mxCellState
 setAddEnabled, mxSwimlaneManager
 setAllowDanglingEdges, mxGraph
 setAllowEval, mxGraphView
 setAllowLoops, mxGraph
 setAlpha
 setAttribute
 setAutoSizeCells, mxGraph
 setBackgroundImage, mxGraph
 setBaseDomain, mxUrlConverter
 setBaseUrl, mxUrlConverter
 setBinary, mxXmlRequest
 setBorder, mxGraph
 setBubbling, mxLayoutManager
 setCell, mxGraphSelectionModel
 setCellHeights, mxCompactTreeLayout
 setCellLocations, mxCoordinateAssignment
 setCells
 setCellsBendable, mxGraph
 setCellsCloneable, mxGraph
 setCellsDeletable, mxGraph
 setCellsDisconnectable, mxGraph
 setCellsEditable, mxGraph
 setCellsMovable, mxGraph
 setCellsResizable, mxGraph
 setCellsSelectable, mxGraph
 setCellStyle, mxGraph
 setCellStyleFlags
 setCellStyles
 setCellWarning, mxGraph
 setCloneEnabled, mxGraphHandler
 setCloneInvalidEdges, mxGraph
 setClosable, mxWindow
 setCollapsed
 setConnectable
 setConnectableEdges, mxGraph
 setConnectionConstraint, mxGraph
 setConstrainChildren, mxGraph
 setConstrainChildrenOnResize, mxGraph
 setCreateIds, mxGraphModel
 setCreateTarget, mxConnectionHandler
 setCurrentRoot, mxGraphView
 setCurrentState, mxCellMarker
 setCursor
 setDashed
 setDashPattern
 setDefaultParent, mxGraph
 setDisconnectOnMove, mxGraph
 setDropEnabled, mxGraph
 setEdge, mxCell
 setEdgePoints, mxGraphLayout
 setEdgePosition, mxCoordinateAssignment
 setEdgeStyleEnabled, mxGraphLayout
 setEnabled
 setEnterStopsCellEditing, mxGraph
 setEscapeEnabled, mxGraph
 setEventsEnabled, mxEventSource
 setEventSource, mxEventSource
 setExtendParents, mxGraph
 setExtendParentsOnAdd, mxGraph
 setExtendParentsOnMove, mxGraph
 setFillColor
 setFocus, mxConstraintHandler
 setFontBackgroundColor, mxXmlCanvas2D
 setFontBorderColor, mxXmlCanvas2D
 setFontColor
 setFontFamily
 setFontSize
 setFontStyle
 setGeneralPurposeVariable
 setGeometry
 setGradient
 setGraph
 setGraphBounds, mxGraphView
 setGraphContainer, mxEditor
 setGridEnabled
 setGridSize, mxGraph
 setGuidesEnabled, mxDragSource
 setHideOnHover, mxTooltipHandler
 setHighlightColor
 setHorizontal, mxSwimlaneManager
 setHotspot, mxCellMarker
 setHotspotEnabled, mxCellMarker
 setHtmlLabels, mxGraph
 setId, mxCell
 setImage, mxWindow
 setInnerHtml, mxText
 setInvokesStopCellEditing, mxGraph
 setLineCap
 setLineJoin
 setLink
 setLocation, mxWindow
 setLocked, mxGraph
 setMaximizable, mxWindow
 setMinimizable, mxWindow
 setMiterLimit
 setMode, mxEditor
 setModified, mxEditor
 setMoveEnabled, mxGraphHandler
 setMultigraph, mxGraph
 setOpacity, mxUtils
 setOrthogonalEdge, mxGraphLayout
 setPanning, mxGraph
 setPanningEnabled, mxPanningHandler
 setParent, mxCell
 setPinchEnabled, mxPanningHandler
 setPortsEnabled, mxGraph
 setPosition, mxHandle
 setPrefixedStyle, mxUtils
 setPreviewColor, mxEdgeHandler
 setRect, mxRectangle
 setRecursiveResize, mxGraph
 setRemoveCellsFromParent, mxGraphHandler
 setRendering, mxGraphView
 setRequestHeaders, mxXmlRequest
 setResizable, mxWindow
 setResizeContainer, mxGraph
 setResizeEnabled, mxSwimlaneManager
 setRoot, mxGraphModel
 setScale, mxGraphView
 setScrollable, mxWindow
 setSelectEnabled, mxGraphHandler
 setSelectionCell, mxGraph
 setSelectionCells, mxGraph
 setSelectionModel, mxGraph
 setShadow
 setShadowAlpha
 setShadowColor
 setShadowOffset
 setSingleSelection, mxGraphSelectionModel
 setSize, mxWindow
 setSplitEnabled, mxGraph
 setState, mxCellState
 setStates
 setStatus, mxEditor
 setStatusContainer, mxEditor
 setStrokeColor
 setStrokeWidth
 setStyle
 setStyleFlag, mxUtils
 setStylesheet, mxGraph
 setSwimlaneNesting, mxGraph
 setSwimlaneSelectionEnabled, mxGraph
 setTerminal
 setTerminalPoint, mxGeometry
 setTerminals, mxGraphModel
 setTextContent, mxUtils
 setTitle, mxWindow
 setTitleContainer, mxEditor
 setTolerance, mxGraph
 setToolbarContainer, mxEditor
 setTooltips, mxGraph
 setTranslate, mxGraphView
 setTransparentBackgroundImage, mxShape
 setValue
 setVertex, mxCell
 setVertexLabelsMovable, mxGraph
 setVertexLocation
 setVisible
 setVisibleTerminalState, mxCellState
 setX, mxGraphAbstractHierarchyCell
 setY, mxGraphAbstractHierarchyCell
 setZoomEnabled, mxOutline
 shouldRemoveCellsFromParent, mxGraphHandler
 show
 showHelp, mxEditor
 showMenu, mxPopupMenu
 showOutline, mxEditor
 showProperties, mxEditor
 showSubmenu, mxPopupMenu
 showTasks, mxEditor
 SideToSide, mxEdgeStyle
 simulate, mxXmlRequest
 sizeDidChange, mxGraph
 snap
 snapPoint, mxHandle
 snapToPreview, mxConnectionHandler
 sortCells, mxUtils
 sortOutgoingEdges, mxCompactTreeLayout
 source, mxOutline
 splitEdge, mxGraph
 start
 startAnimation, mxAnimation
 startDrag, mxDragSource
 startEditing
 startEditingAtCell, mxGraph
 stateValidated, mxGraphView
 stopAnimation, mxAnimation
 stopDrag, mxDragSource
 stopEditing
 stopRecursion, mxMorphing
 stroke
 styleForCellChanged, mxGraphModel
 styles, mxStylesheet
 submit, mxUtils
 swap, mxGeometry
 swapBounds, mxGraph
 swapStyles, mxEditor
 swimlaneAdded, mxSwimlaneManager
+
Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
S
 save
 scale
 scaleAndTranslate, mxGraphView
 scaleCell, mxGraph
 scrollCellToVisible, mxGraph
 scrollPointToVisible, mxGraph
 scrollRectToVisible, mxGraph
 SegmentConnector, mxEdgeStyle
 selectAll, mxGraph
 selectCell, mxGraph
 selectCellForEvent, mxGraph
 selectCells
 selectCellsForEvent, mxGraph
 selectChildCell, mxGraph
 selectDelayed, mxGraphHandler
 selectMode, mxToolbar
 selectNextCell, mxGraph
 selectParentCell, mxGraph
 selectPreviousCell, mxGraph
 selectRegion, mxGraph
 selectVertices, mxGraph
 send, mxXmlRequest
 setAbsoluteTerminalPoint, mxCellState
 setAddEnabled, mxSwimlaneManager
 setAllowDanglingEdges, mxGraph
 setAllowEval, mxGraphView
 setAllowLoops, mxGraph
 setAlpha
 setAttribute
 setAutoSizeCells, mxGraph
 setBackgroundImage, mxGraph
 setBaseDomain, mxUrlConverter
 setBaseUrl, mxUrlConverter
 setBinary, mxXmlRequest
 setBorder, mxGraph
 setBubbling, mxLayoutManager
 setCell, mxGraphSelectionModel
 setCellHeights, mxCompactTreeLayout
 setCellLocations, mxCoordinateAssignment
 setCells
 setCellsBendable, mxGraph
 setCellsCloneable, mxGraph
 setCellsDeletable, mxGraph
 setCellsDisconnectable, mxGraph
 setCellsEditable, mxGraph
 setCellsMovable, mxGraph
 setCellsResizable, mxGraph
 setCellsSelectable, mxGraph
 setCellStyle, mxGraph
 setCellStyleFlags
 setCellStyles
 setCellWarning, mxGraph
 setCloneEnabled, mxGraphHandler
 setCloneInvalidEdges, mxGraph
 setClosable, mxWindow
 setCollapsed
 setConnectable
 setConnectableEdges, mxGraph
 setConnectionConstraint, mxGraph
 setConstrainChildren, mxGraph
 setConstrainChildrenOnResize, mxGraph
 setCreateIds, mxGraphModel
 setCreateTarget, mxConnectionHandler
 setCurrentRoot, mxGraphView
 setCurrentState, mxCellMarker
 setCursor
 setDashed
 setDashPattern
 setDefaultParent, mxGraph
 setDisconnectOnMove, mxGraph
 setDropEnabled, mxGraph
 setEdge, mxCell
 setEdgePoints, mxGraphLayout
 setEdgePosition, mxCoordinateAssignment
 setEdgeStyleEnabled, mxGraphLayout
 setEnabled
 setEnterStopsCellEditing, mxGraph
 setEscapeEnabled, mxGraph
 setEventsEnabled, mxEventSource
 setEventSource, mxEventSource
 setExtendParents, mxGraph
 setExtendParentsOnAdd, mxGraph
 setExtendParentsOnMove, mxGraph
 setFillAlpha
 setFillColor
 setFocus, mxConstraintHandler
 setFontBackgroundColor, mxXmlCanvas2D
 setFontBorderColor, mxXmlCanvas2D
 setFontColor
 setFontFamily
 setFontSize
 setFontStyle
 setGeneralPurposeVariable
 setGeometry
 setGradient
 setGraph
 setGraphBounds, mxGraphView
 setGraphContainer, mxEditor
 setGridEnabled
 setGridSize, mxGraph
 setGuidesEnabled, mxDragSource
 setHideOnHover, mxTooltipHandler
 setHighlightColor
 setHorizontal, mxSwimlaneManager
 setHotspot, mxCellMarker
 setHotspotEnabled, mxCellMarker
 setHtmlLabels, mxGraph
 setId, mxCell
 setImage, mxWindow
 setInnerHtml, mxText
 setInvokesStopCellEditing, mxGraph
 setLineCap
 setLineJoin
 setLink
 setLocation, mxWindow
 setLocked, mxGraph
 setMaximizable, mxWindow
 setMinimizable, mxWindow
 setMiterLimit
 setMode, mxEditor
 setModified, mxEditor
 setMoveEnabled, mxGraphHandler
 setMultigraph, mxGraph
 setOpacity, mxUtils
 setOrthogonalEdge, mxGraphLayout
 setPanning, mxGraph
 setPanningEnabled, mxPanningHandler
 setParent, mxCell
 setPinchEnabled, mxPanningHandler
 setPortsEnabled, mxGraph
 setPosition, mxHandle
 setPrefixedStyle, mxUtils
 setPreviewColor, mxEdgeHandler
 setRect, mxRectangle
 setRecursiveResize, mxGraph
 setRemoveCellsFromParent, mxGraphHandler
 setRendering, mxGraphView
 setRequestHeaders, mxXmlRequest
 setResizable, mxWindow
 setResizeContainer, mxGraph
 setResizeEnabled, mxSwimlaneManager
 setRoot, mxGraphModel
 setScale, mxGraphView
 setScrollable, mxWindow
 setSelectEnabled, mxGraphHandler
 setSelectionCell, mxGraph
 setSelectionCells, mxGraph
 setSelectionModel, mxGraph
 setShadow
 setShadowAlpha
 setShadowColor
 setShadowOffset
 setSingleSelection, mxGraphSelectionModel
 setSize, mxWindow
 setSplitEnabled, mxGraph
 setState, mxCellState
 setStates
 setStatus, mxEditor
 setStatusContainer, mxEditor
 setStrokeAlpha
 setStrokeColor
 setStrokeWidth
 setStyle
 setStyleFlag, mxUtils
 setStylesheet, mxGraph
 setSwimlaneNesting, mxGraph
 setSwimlaneSelectionEnabled, mxGraph
 setTerminal
 setTerminalPoint, mxGeometry
 setTerminals, mxGraphModel
 setTextContent, mxUtils
 setTitle, mxWindow
 setTitleContainer, mxEditor
 setTolerance, mxGraph
 setToolbarContainer, mxEditor
 setTooltips, mxGraph
 setTranslate, mxGraphView
 setTransparentBackgroundImage, mxShape
 setValue
 setVertex, mxCell
 setVertexLabelsMovable, mxGraph
 setVertexLocation
 setVisible
 setVisibleTerminalState, mxCellState
 setX, mxGraphAbstractHierarchyCell
 setY, mxGraphAbstractHierarchyCell
 setZoomEnabled, mxOutline
 shouldRemoveCellsFromParent, mxGraphHandler
 show
 showHelp, mxEditor
 showMenu, mxPopupMenu
 showOutline, mxEditor
 showProperties, mxEditor
 showSubmenu, mxPopupMenu
 showTasks, mxEditor
 SideToSide, mxEdgeStyle
 simulate, mxXmlRequest
 sizeDidChange, mxGraph
 snap
 snapPoint, mxHandle
 snapToPreview, mxConnectionHandler
 sortCells, mxUtils
 sortOutgoingEdges, mxCompactTreeLayout
 source, mxOutline
 splitEdge, mxGraph
 start
 startAnimation, mxAnimation
 startDrag, mxDragSource
 startEditing
 startEditingAtCell, mxGraph
 stateValidated, mxGraphView
 stopAnimation, mxAnimation
 stopDrag, mxDragSource
 stopEditing
 stopRecursion, mxMorphing
 stroke
 styleForCellChanged, mxGraphModel
 styles, mxStylesheet
 submit, mxUtils
 swap, mxGeometry
 swapBounds, mxGraph
 swapStyles, mxEditor
 swimlaneAdded, mxSwimlaneManager
-
mxAbstractCanvas2D.prototype.save = function()
Saves the current state.
mxAutoSaveManager.prototype.save = function()
Empty hook that is called if the graph should be saved.
mxEditor.prototype.save = function (url,
linefeed)
Posts the string returned by writeGraphModel to the given URL or the URL returned by getUrlPost.
mxXmlCanvas2D.prototype.save = function()
Saves the drawing state.
mxAbstractCanvas2D.prototype.scale = function(value)
Scales the current state.
mxGeometry.prototype.scale = function(sx,
sy,
fixedAspect)
Scales the geometry by the given amount.
mxXmlCanvas2D.prototype.scale = function(value)
Scales the output.
mxGraphView.prototype.scaleAndTranslate = function(scale,
dx,
dy)
Sets the scale and translation and fires a scale and translate event before calling revalidate followed by mxGraph.sizeDidChange.
mxGraph.prototype.scaleCell = function(cell,
dx,
dy,
recurse)
Scales the points, position and size of the given cell according to the given vertical and horizontal scaling factors.
mxGraph.prototype.scrollCellToVisible = function(cell,
center)
Pans the graph so that it shows the given cell.
mxGraph.prototype.scrollPointToVisible = function(x,
y,
extend,
border)
Scrolls the graph to the given point, extending the graph container if specified.
mxGraph.prototype.scrollRectToVisible = function(rect)
Pans the graph so that it shows the given rectangle.
SegmentConnector: function(state,
source,
target,
hints,
result)
Implements an orthogonal edge style.
mxGraph.prototype.selectAll = function(parent)
Selects all children of the given parent cell or the children of the default parent if no parent is specified.
mxGraph.prototype.selectCell = function(isNext,
isParent,
isChild)
Selects the next, parent, first child or previous cell, if all arguments are false.
mxGraph.prototype.selectCellForEvent = function(cell,
evt)
Selects the given cell by either adding it to the selection or replacing the selection depending on whether the given mouse event is a toggle event.
mxConnectionHandler.prototype.selectCells = function(edge,
target)
Selects the given edge after adding a new connection.
mxGraph.prototype.selectCells = function(vertices,
edges,
parent)
Selects all vertices and/or edges depending on the given boolean arguments recursively, starting at the given parent or the default parent if no parent is specified.
mxGraph.prototype.selectCellsForEvent = function(cells,
evt)
Selects the given cells by either adding them to the selection or replacing the selection depending on whether the given mouse event is a toggle event.
mxGraph.prototype.selectChildCell = function()
Selects the first child cell.
mxGraphHandler.prototype.selectDelayed = function(me)
Implements the delayed selection for the given mouse event.
mxToolbar.prototype.selectMode = function(domNode,
funct)
Resets the state of the previously selected mode and displays the given DOM node as selected.
mxGraph.prototype.selectNextCell = function()
Selects the next cell.
mxGraph.prototype.selectParentCell = function()
Selects the parent cell.
mxGraph.prototype.selectPreviousCell = function()
Selects the previous cell.
mxGraph.prototype.selectRegion = function(rect,
evt)
Selects and returns the cells inside the given rectangle for the specified event.
mxGraph.prototype.selectVertices = function(parent)
Select all vertices inside the given parent or the default parent.
mxXmlRequest.prototype.send = function(onload,
onerror,
timeout,
ontimeout)
Send the request to the target URL using the specified functions to process the response asychronously.
mxCellState.prototype.setAbsoluteTerminalPoint = function(point,
isSource)
Sets the first or last point in absolutePoints depending on isSource.
mxSwimlaneManager.prototype.setAddEnabled = function(value)
Sets addEnabled.
mxGraph.prototype.setAllowDanglingEdges = function(value)
Specifies if dangling edges are allowed, that is, if edges are allowed that do not have a source and/or target terminal defined.
mxGraphView.prototype.setAllowEval = function(value)
Sets allowEval.
mxGraph.prototype.setAllowLoops = function(value)
Specifies if loops are allowed.
mxAbstractCanvas2D.prototype.setAlpha = function(value)
Sets the current alpha.
mxXmlCanvas2D.prototype.setAlpha = function(value)
Sets the current alpha.
mxCell.prototype.setAttribute = function(name,
value)
Sets the specified attribute on the user object if it is an XML node.
mxCodec.prototype.setAttribute = function(node,
attribute,
value)
Sets the attribute on the specified node to value.
mxGraph.prototype.setAutoSizeCells = function(value)
Specifies if cell sizes should be automatically updated after a label change.
mxGraph.prototype.setBackgroundImage = function(image)
Sets the new backgroundImage.
mxUrlConverter.prototype.setBaseDomain = function(value)
Sets baseDomain.
mxUrlConverter.prototype.setBaseUrl = function(value)
Sets baseUrl.
mxXmlRequest.prototype.setBinary = function(value)
Sets binary.
mxGraph.prototype.setBorder = function(value)
Sets the value of border.
mxLayoutManager.prototype.setBubbling = function(value)
Sets bubbling.
mxGraphSelectionModel.prototype.setCell = function(cell)
Selects the specified mxCell using setCells.
mxCompactTreeLayout.prototype.setCellHeights = function(node,
rank)
Set the cells heights (relative to the layout direction) when the tops of each rank are to be aligned
mxCoordinateAssignment.prototype.setCellLocations = function(graph,
model)
Sets the cell locations in the facade to those stored after this layout processing step has completed.
setCells: function(cells)
Sets the cells in the clipboard.
mxGraphSelectionModel.prototype.setCells = function(cells)
Selects the given array of mxCells and fires a change event.
mxGraph.prototype.setCellsBendable = function(value)
Specifies if the graph should allow bending of edges.
mxGraph.prototype.setCellsCloneable = function(value)
Specifies if the graph should allow cloning of cells by holding down the control key while cells are being moved.
mxGraph.prototype.setCellsDeletable = function(value)
Sets cellsDeletable.
mxGraph.prototype.setCellsDisconnectable = function(value)
Sets cellsDisconnectable.
mxGraph.prototype.setCellsEditable = function(value)
Specifies if the graph should allow in-place editing for cell labels.
mxGraph.prototype.setCellsMovable = function(value)
Specifies if the graph should allow moving of cells.
mxGraph.prototype.setCellsResizable = function(value)
Specifies if the graph should allow resizing of cells.
mxGraph.prototype.setCellsSelectable = function(value)
Sets cellsSelectable.
mxGraph.prototype.setCellStyle = function(style,
cells)
Sets the style of the specified cells.
mxGraph.prototype.setCellStyleFlags = function(key,
flag,
value,
cells)
Sets or toggles the given bit for the given key in the styles of the specified cells.
setCellStyleFlags: function(model,
cells,
key,
flag,
value)
Sets or toggles the flag bit for the given key in the cell’s styles.
mxGraph.prototype.setCellStyles = function(key,
value,
cells)
Sets the key to value in the styles of the given cells.
setCellStyles: function(model,
cells,
key,
value)
Assigns the value for the given key in the styles of the given cells, or removes the key from the styles if the value is null.
mxGraph.prototype.setCellWarning = function(cell,
warning,
img,
isSelect)
Creates an overlay for the given cell using the warning and image or warningImage and returns the new mxCellOverlay.
mxGraphHandler.prototype.setCloneEnabled = function(value)
Sets cloneEnabled.
mxGraph.prototype.setCloneInvalidEdges = function(value)
Specifies if edges should be inserted when cloned but not valid wrt.
mxWindow.prototype.setClosable = function(closable)
Sets the image associated with the window.
mxCell.prototype.setCollapsed = function(collapsed)
Sets the collapsed state.
mxGraphModel.prototype.setCollapsed = function(cell,
collapsed)
Sets the collapsed state of the given mxCell using mxCollapseChange and adds the change to the current transaction.
mxCell.prototype.setConnectable = function(connectable)
Sets the connectable state.
mxGraph.prototype.setConnectable = function(connectable)
Specifies if the graph should allow new connections.
mxGraph.prototype.setConnectableEdges = function(value)
Specifies if edges should be connectable.
mxGraph.prototype.setConnectionConstraint = function(edge,
terminal,
source,
constraint)
Sets the mxConnectionConstraint that describes the given connection point.
mxGraph.prototype.setConstrainChildren = function(value)
Sets constrainChildren.
mxGraph.prototype.setConstrainChildrenOnResize = function(value)
Sets constrainChildrenOnResize.
mxGraphModel.prototype.setCreateIds = function(value)
Sets createIds.
mxConnectionHandler.prototype.setCreateTarget = function(value)
Sets createTarget.
mxGraphView.prototype.setCurrentRoot = function(root)
Sets and returns the current root and fires an undo event before calling mxGraph.sizeDidChange.
mxCellMarker.prototype.setCurrentState = function(state,
me,
color)
Sets and marks the current valid state.
mxCellState.prototype.setCursor = function(cursor)
Sets the given cursor on the shape and text shape.
mxShape.prototype.setCursor = function(cursor)
Sets the cursor on the given shape.
mxAbstractCanvas2D.prototype.setDashed = function(value)
Enables or disables dashed lines.
mxXmlCanvas2D.prototype.setDashed = function(value)
Enables or disables dashed lines.
mxAbstractCanvas2D.prototype.setDashPattern = function(value)
Sets the current dash pattern.
mxXmlCanvas2D.prototype.setDashPattern = function(value)
Sets the current dash pattern.
mxGraph.prototype.setDefaultParent = function(cell)
Sets the defaultParent to the given cell.
mxGraph.prototype.setDisconnectOnMove = function(value)
Specifies if edges should be disconnected when moved.
mxGraph.prototype.setDropEnabled = function(value)
Specifies if the graph should allow dropping of cells onto or into other cells.
mxCell.prototype.setEdge = function(edge)
Specifies if the cell is an edge.
mxGraphLayout.prototype.setEdgePoints = function(edge,
points)
Replaces the array of mxPoints in the geometry of the given edge with the given array of mxPoints.
mxCoordinateAssignment.prototype.setEdgePosition = function(cell)
Fixes the control points
mxGraphLayout.prototype.setEdgeStyleEnabled = function(edge,
value)
Disables or enables the edge style of the given edge.
mxAutoSaveManager.prototype.setEnabled = function(value)
Enables or disables event handling.
mxCellMarker.prototype.setEnabled = function(enabled)
Enables or disables event handling.
mxConnectionHandler.prototype.setEnabled = function(enabled)
Enables or disables event handling.
mxConstraintHandler.prototype.setEnabled = function(enabled)
Enables or disables event handling.
mxDragSource.prototype.setEnabled = function(value)
Sets enabled.
mxGraph.prototype.setEnabled = function(value)
Specifies if the graph should allow any interactions.
mxGraphHandler.prototype.setEnabled = function(value)
Sets enabled.
mxKeyHandler.prototype.setEnabled = function(enabled)
Enables or disables event handling by updating enabled.
mxLayoutManager.prototype.setEnabled = function(enabled)
Enables or disables event handling.
mxOutline.prototype.setEnabled = function(value)
Enables or disables event handling.
mxPopupMenu.prototype.setEnabled = function(enabled)
Enables or disables event handling.
mxRubberband.prototype.setEnabled = function(enabled)
Enables or disables event handling.
mxSelectionCellsHandler.prototype.setEnabled = function(value)
Sets enabled.
mxSwimlaneManager.prototype.setEnabled = function(value)
Enables or disables event handling.
mxTooltipHandler.prototype.setEnabled = function(enabled)
Enables or disables event handling.
mxUrlConverter.prototype.setEnabled = function(value)
Sets enabled.
mxGraph.prototype.setEnterStopsCellEditing = function(value)
Sets enterStopsCellEditing.
mxGraph.prototype.setEscapeEnabled = function(value)
Sets escapeEnabled.
mxEventSource.prototype.setEventsEnabled = function(value)
Sets eventsEnabled.
mxEventSource.prototype.setEventSource = function(value)
Sets eventSource.
mxGraph.prototype.setExtendParents = function(value)
Sets extendParents.
mxGraph.prototype.setExtendParentsOnAdd = function(value)
Sets extendParentsOnAdd.
mxGraph.prototype.setExtendParentsOnMove = function(value)
Sets extendParentsOnAdd.
mxAbstractCanvas2D.prototype.setFillColor = function(value)
Sets the current fill color.
mxXmlCanvas2D.prototype.setFillColor = function(value)
Sets the current fill color.
mxConstraintHandler.prototype.setFocus = function(me,
state,
source)
Transfers the focus to the given state as a source or target terminal.
mxXmlCanvas2D.prototype.setFontBackgroundColor = function(value)
Sets the current font background color.
mxXmlCanvas2D.prototype.setFontBorderColor = function(value)
Sets the current font border color.
mxAbstractCanvas2D.prototype.setFontColor = function(value)
Sets the current font color.
mxXmlCanvas2D.prototype.setFontColor = function(value)
Sets the current font color.
mxAbstractCanvas2D.prototype.setFontFamily = function(value)
Sets the current font family.
mxXmlCanvas2D.prototype.setFontFamily = function(value)
Sets the current font family.
mxAbstractCanvas2D.prototype.setFontSize = function(value)
Sets the current font size.
mxXmlCanvas2D.prototype.setFontSize = function(value)
Sets the current font size.
mxAbstractCanvas2D.prototype.setFontStyle = function(value)
Sets the current font style.
mxXmlCanvas2D.prototype.setFontStyle = function(value)
Sets the current font style.
mxGraphAbstractHierarchyCell.prototype.setGeneralPurposeVariable = function(
   layer,
   value
)
Set the value of temp for the specified layer
mxGraphHierarchyEdge.prototype.setGeneralPurposeVariable = function(layer,
value)
Set the value of temp for the specified layer
mxGraphHierarchyNode.prototype.setGeneralPurposeVariable = function(layer,
value)
Set the value of temp for the specified layer
mxCell.prototype.setGeometry = function(geometry)
Sets the mxGeometry to be used as the geometry.
mxGraphModel.prototype.setGeometry = function(cell,
geometry)
Sets the mxGeometry of the given mxCell.
mxAbstractCanvas2D.prototype.setGradient = function(color1,
color2,
x,
y,
w,
h,
direction,
alpha1,
alpha2)
Sets the current gradient.
mxXmlCanvas2D.prototype.setGradient = function(color1,
color2,
x,
y,
w,
h,
direction,
alpha1,
alpha2)
Sets the gradient.
mxAutoSaveManager.prototype.setGraph = function(graph)
Sets the graph that the layouts operate on.
mxLayoutManager.prototype.setGraph = function(graph)
Sets the graph that the layouts operate on.
mxSwimlaneManager.prototype.setGraph = function(graph)
Sets the graph that the manager operates on.
mxGraphView.prototype.setGraphBounds = function(value)
Sets graphBounds.
mxEditor.prototype.setGraphContainer = function (container)
Sets the graph’s container using mxGraph.init.
mxDragSource.prototype.setGridEnabled = function(value)
Sets gridEnabled.
mxGraph.prototype.setGridEnabled = function(value)
Specifies if the grid should be enabled.
mxGraph.prototype.setGridSize = function(value)
Sets gridSize.
mxDragSource.prototype.setGuidesEnabled = function(value)
Sets guidesEnabled.
mxTooltipHandler.prototype.setHideOnHover = function(value)
Sets hideOnHover.
mxCellHighlight.prototype.setHighlightColor = function(color)
Sets the color of the rectangle used to highlight drop targets.
mxGraphHandler.prototype.setHighlightColor = function(color)
Sets the color of the rectangle used to highlight drop targets.
mxSwimlaneManager.prototype.setHorizontal = function(value)
Sets horizontal.
mxCellMarker.prototype.setHotspot = function(hotspot)
Sets the hotspot.
mxCellMarker.prototype.setHotspotEnabled = function(enabled)
Specifies whether the hotspot should be used in intersects.
mxGraph.prototype.setHtmlLabels = function(value)
Sets htmlLabels.
mxCell.prototype.setId = function(id)
Sets the Id of the cell to the given string.
mxWindow.prototype.setImage = function(image)
Sets the image associated with the window.
Sets the inner HTML of the given element to the value.
mxGraph.prototype.setInvokesStopCellEditing = function(value)
Sets invokesStopCellEditing.
mxAbstractCanvas2D.prototype.setLineCap = function(value)
Sets the current line cap.
mxXmlCanvas2D.prototype.setLineCap = function(value)
Sets the line cap.
mxAbstractCanvas2D.prototype.setLineJoin = function(value)
Sets the current line join.
mxXmlCanvas2D.prototype.setLineJoin = function(value)
Sets the line join.
mxAbstractCanvas2D.prototype.setLink = function(link)
Sets the current link.
mxSvgCanvas2D.prototype.setLink = function(link)
Experimental implementation for hyperlinks.
mxWindow.prototype.setLocation = function(x,
y)
Sets the upper, left corner of the window.
Sets if any cell may be moved, sized, bended, disconnected, edited or selected.
mxWindow.prototype.setMaximizable = function(maximizable)
Sets if the window is maximizable.
mxWindow.prototype.setMinimizable = function(minimizable)
Sets if the window is minimizable.
mxAbstractCanvas2D.prototype.setMiterLimit = function(value)
Sets the current miter limit.
mxXmlCanvas2D.prototype.setMiterLimit = function(value)
Sets the miter limit.
mxEditor.prototype.setMode = function(modename)
Puts the graph into the specified mode.
mxEditor.prototype.setModified = function (value)
Sets modified to the specified boolean value.
mxGraphHandler.prototype.setMoveEnabled = function(value)
Sets moveEnabled.
mxGraph.prototype.setMultigraph = function(value)
Specifies if the graph should allow multiple connections between the same pair of vertices.
setOpacity: function(node,
value)
Sets the opacity of the specified DOM node to the given value in %.
mxGraphLayout.prototype.setOrthogonalEdge = function(edge,
value)
Disables or enables orthogonal end segments of the given edge.
mxGraph.prototype.setPanning = function(enabled)
Specifies if panning should be enabled.
mxPanningHandler.prototype.setPanningEnabled = function(value)
Sets panningEnabled.
mxCell.prototype.setParent = function(parent)
Sets the parent cell.
mxPanningHandler.prototype.setPinchEnabled = function(value)
Sets pinchEnabled.
mxGraph.prototype.setPortsEnabled = function(value)
Specifies if the ports should be enabled.
mxHandle.prototype.setPosition = function(bounds,
pt,
me)
Hooks for subclassers to update the style in the state.
setPrefixedStyle: function()
Adds the given style with the standard name and an optional vendor prefix for the current browser.
mxEdgeHandler.prototype.setPreviewColor = function(color)
Sets the color of the preview to the given value.
mxRectangle.prototype.setRect = function(x,
y,
w,
h)
Sets this rectangle to the specified values
mxGraph.prototype.setRecursiveResize = function(value)
Sets recursiveResize.
mxGraphHandler.prototype.setRemoveCellsFromParent = function(value)
Sets removeCellsFromParent.
mxGraphView.prototype.setRendering = function(value)
Sets rendering.
mxXmlRequest.prototype.setRequestHeaders = function(request,
params)
Sets the headers for the given request and parameters.
mxWindow.prototype.setResizable = function(resizable)
Sets if the window should be resizable.
mxGraph.prototype.setResizeContainer = function(value)
Sets resizeContainer.
mxSwimlaneManager.prototype.setResizeEnabled = function(value)
Sets resizeEnabled.
mxGraphModel.prototype.setRoot = function(root)
Sets the root of the model using mxRootChange and adds the change to the current transaction.
mxGraphView.prototype.setScale = function(value)
Sets the scale and fires a scale event before calling revalidate followed by mxGraph.sizeDidChange.
mxWindow.prototype.setScrollable = function(scrollable)
Sets if the window contents should be scrollable.
mxGraphHandler.prototype.setSelectEnabled = function(value)
Sets selectEnabled.
mxGraph.prototype.setSelectionCell = function(cell)
Sets the selection cell.
mxGraph.prototype.setSelectionCells = function(cells)
Sets the selection cell.
mxGraph.prototype.setSelectionModel = function(selectionModel)
Sets the mxSelectionModel that contains the selection.
mxAbstractCanvas2D.prototype.setShadow = function(enabled)
Enables or disables and configures the current shadow.
mxXmlCanvas2D.prototype.setShadow = function(value)
Enables or disables shadows.
mxAbstractCanvas2D.prototype.setShadowAlpha = function(value)
Enables or disables and configures the current shadow.
mxXmlCanvas2D.prototype.setShadowAlpha = function(value)
Sets the current shadows alpha.
mxAbstractCanvas2D.prototype.setShadowColor = function(value)
Enables or disables and configures the current shadow.
mxXmlCanvas2D.prototype.setShadowColor = function(value)
Sets the current shadow color.
mxAbstractCanvas2D.prototype.setShadowOffset = function(dx,
dy)
Enables or disables and configures the current shadow.
mxXmlCanvas2D.prototype.setShadowOffset = function(dx,
dy)
Sets the current shadow offset.
mxGraphSelectionModel.prototype.setSingleSelection = function(singleSelection)
Sets the singleSelection flag.
mxWindow.prototype.setSize = function(width,
height)
Sets the size of the window.
mxGraph.prototype.setSplitEnabled = function(value)
Specifies if the graph should allow dropping of cells onto or into other cells.
mxCellState.prototype.setState = function(state)
Copies all fields from the given state to this state.
mxGraphView.prototype.setStates = function(value)
Sets states.
mxGuide.prototype.setStates = function(states)
Sets the mxCellStates that should be used for alignment.
mxEditor.prototype.setStatus = function (message)
Display the specified message in the status bar.
mxEditor.prototype.setStatusContainer = function (container)
Creates the status using the specified container.
mxAbstractCanvas2D.prototype.setStrokeColor = function(value)
Sets the current stroke color.
mxXmlCanvas2D.prototype.setStrokeColor = function(value)
Sets the current stroke color.
mxAbstractCanvas2D.prototype.setStrokeWidth = function(value)
Sets the current stroke width.
mxXmlCanvas2D.prototype.setStrokeWidth = function(value)
Sets the current stroke width.
mxCell.prototype.setStyle = function(style)
Sets the string to be used as the style.
mxGraphModel.prototype.setStyle = function(cell,
style)
Sets the style of the given mxCell using mxStyleChange and adds the change to the current transaction.
setStyle: function(style,
key,
value)
Adds or removes the given key, value pair to the style and returns the new style.
setStyleFlag: function(style,
key,
flag,
value)
Sets or removes the given key from the specified style and returns the new style.
mxGraph.prototype.setStylesheet = function(stylesheet)
Sets the mxStylesheet that defines the style.
mxGraph.prototype.setSwimlaneNesting = function(value)
Specifies if swimlanes can be nested by drag and drop.
mxGraph.prototype.setSwimlaneSelectionEnabled = function(value)
Specifies if swimlanes should be selected if the mouse is released over their content area.
mxCell.prototype.setTerminal = function(terminal,
isSource)
Sets the source or target terminal and returns the new terminal.
mxGraphModel.prototype.setTerminal = function(edge,
terminal,
isSource)
Sets the source or target terminal of the given mxCell using mxTerminalChange and adds the change to the current transaction.
mxGeometry.prototype.setTerminalPoint = function(point,
isSource)
Sets the sourcePoint or targetPoint to the given mxPoint and returns the new point.
mxGraphModel.prototype.setTerminals = function(edge,
source,
target)
Sets the source and target mxCell of the given mxCell in a single transaction using setTerminal for each end of the edge.
setTextContent: function(node,
text)
Sets the text content of the specified node.
mxWindow.prototype.setTitle = function(title)
Sets the window title to the given string.
mxEditor.prototype.setTitleContainer = function (container)
Creates a listener to update the inner HTML of the specified DOM node with the value of getTitle.
mxGraph.prototype.setTolerance = function(value)
Sets tolerance.
mxEditor.prototype.setToolbarContainer = function (container)
Initializes the toolbar for the given container.
mxGraph.prototype.setTooltips = function (enabled)
Specifies if tooltips should be enabled.
mxGraphView.prototype.setTranslate = function(dx,
dy)
Sets the translation and fires a translate event before calling revalidate followed by mxGraph.sizeDidChange.
mxShape.prototype.setTransparentBackgroundImage = function(node)
Sets a transparent background CSS style to catch all events.
mxCell.prototype.setValue = function(value)
Sets the user object of the cell.
mxGraphModel.prototype.setValue = function(cell,
value)
Sets the user object of then given mxCell using mxValueChange and adds the change to the current transaction.
mxCell.prototype.setVertex = function(vertex)
Specifies if the cell is a vertex.
mxGraph.prototype.setVertexLabelsMovable = function(value)
Sets vertexLabelsMovable.
mxCoordinateAssignment.prototype.setVertexLocation = function(cell)
Fixes the position of the specified vertex.
mxGraphLayout.prototype.setVertexLocation = function(cell,
x,
y)
Sets the new position of the given cell taking into account the size of the bounding box if useBoundingBox is true.
mxCell.prototype.setVisible = function(visible)
Specifies if the cell is visible.
mxGraphModel.prototype.setVisible = function(cell,
visible)
Sets the visible state of the given mxCell using mxVisibleChange and adds the change to the current transaction.
mxGuide.prototype.setVisible = function(visible)
Shows or hides the current guides.
mxHandle.prototype.setVisible = function(visible)
Shows or hides this handle.
setVisible: function(visible)
Shows or hides the console.
mxWindow.prototype.setVisible = function(visible)
Shows or hides the window depending on the given flag.
mxCellState.prototype.setVisibleTerminalState = function(terminalState,
source)
Sets the visible source or target terminal state.
mxGraphAbstractHierarchyCell.prototype.setX = function(layer,
value)
Set the value of x for the specified layer
mxGraphAbstractHierarchyCell.prototype.setY = function(layer,
value)
Set the value of y for the specified layer
mxOutline.prototype.setZoomEnabled = function(value)
Enables or disables the zoom handling by showing or hiding the respective handle.
mxGraphHandler.prototype.shouldRemoveCellsFromParent = function(parent,
cells,
evt)
Returns true if the given cells should be removed from the parent for the specified mousereleased event.
mxCellStatePreview.prototype.show = function(visitor)
show: function()
Shows the console.
mxMorphing.prototype.show = function(move)
Shows the changes in the given mxCellStatePreview.
mxTooltipHandler.prototype.show = function(tip,
x,
y)
Shows the tooltip for the specified cell and optional index at the specified location (with a vertical offset of 10 pixels).
show: function(graph,
doc,
x0,
y0,
w,
h)
Copies the styles and the markup from the graph’s container into the given document and removes all cursor styles.
mxWindow.prototype.show = function()
Shows the window.
mxEditor.prototype.showHelp = function (tasks)
Shows the help window.
mxPopupMenu.prototype.showMenu = function()
Shows the menu.
mxEditor.prototype.showOutline = function ()
Shows the outline window.
mxEditor.prototype.showProperties = function (cell)
Creates and shows the properties dialog for the given cell.
mxPopupMenu.prototype.showSubmenu = function(parent,
row)
Shows the submenu inside the given parent row.
mxEditor.prototype.showTasks = function ()
Shows the tasks window.
SideToSide: function (state,
source,
target,
points,
result)
Implements a vertical elbow edge.
mxXmlRequest.prototype.simulate = function(doc,
target)
Creates and posts a request to the given target URL using a dynamically created form inside the given document.
mxGraph.prototype.sizeDidChange = function()
Called when the size of the graph has changed.
mxGraph.prototype.snap = function(value)
Snaps the given numeric value to the grid if gridEnabled is true.
mxGraphHandler.prototype.snap = function(vector)
Snaps the given vector to the grid and returns the given mxPoint instance.
mxHandle.prototype.snapPoint = function(pt,
ignore)
Snaps the given point to the grid if ignore is false.
mxConnectionHandler.prototype.snapToPreview = function(me,
point)
Called to snap the given point to the current preview.
sortCells: function(cells,
ascending)
Sorts the given cells according to the order in the cell hierarchy.
mxCompactTreeLayout.prototype.sortOutgoingEdges = function(source,
edges)
Called if sortEdges is true to sort the array of outgoing edges in place.
Reference to the source mxGraph.
mxGraph.prototype.splitEdge = function(edge,
cells,
newEdge,
dx,
dy)
Splits the given edge by adding the newEdge between the previous source and the given cell and reconnecting the source of the given edge to the given cell.
mxConnectionHandler.prototype.start = function(state,
x,
y,
edgeState)
Starts a new connection for the given state and coordinates.
mxEdgeHandler.prototype.start = function(x,
y,
index)
Starts the handling of the mouse gesture.
mxGraphHandler.prototype.start = function(cell,
x,
y)
Starts the handling of the mouse gesture.
mxPanningHandler.prototype.start = function(me)
Starts panning at the given event.
mxRubberband.prototype.start = function(x,
y)
Sets the start point for the rubberband selection.
mxVertexHandler.prototype.start = function(x,
y,
index)
Starts the handling of the mouse gesture.
mxAnimation.prototype.startAnimation = function()
Starts the animation by repeatedly invoking updateAnimation.
mxDragSource.prototype.startDrag = function(evt)
Creates the dragElement using createDragElement.
mxCellEditor.prototype.startEditing = function(cell,
trigger)
Starts the editor for the given cell.
mxGraph.prototype.startEditing = function(evt)
Calls startEditingAtCell using the given cell or the first selection cell.
mxGraph.prototype.startEditingAtCell = function(cell,
evt)
Fires a startEditing event and invokes mxCellEditor.startEditing on editor.
mxGraphView.prototype.stateValidated = function(state)
Invoked when a state has been processed in validatePoints.
mxAnimation.prototype.stopAnimation = function()
Stops the animation by deleting the timer and fires an mxEvent.DONE.
mxDragSource.prototype.stopDrag = function()
Invokes removeDragElement.
mxCellEditor.prototype.stopEditing = function(cancel)
Stops the editor and applies the value if cancel is false.
mxGraph.prototype.stopEditing = function(cancel)
Stops the current editing and fires a editingStopped event.
mxMorphing.prototype.stopRecursion = function(state,
delta)
Returns true if the animation should not recursively find more deltas for children if the given parent state has been animated.
mxSvgCanvas2D.prototype.stroke = function()
Paints the outline of the current path.
mxVmlCanvas2D.prototype.stroke = function()
Paints the outline of the current path.
mxXmlCanvas2D.prototype.stroke = function()
Paints the outline of the current drawing buffer.
mxGraphModel.prototype.styleForCellChanged = function(cell,
style)
Inner callback to update the style of the given mxCell using mxCell.setStyle and return the previous style.
Maps from names to cell styles.
submit: function(url,
params,
doc,
target)
Submits the given parameters to the specified URL using mxXmlRequest.simulate and returns the mxXmlRequest.
mxGeometry.prototype.swap = function()
Swaps the x, y, width and height with the values stored in alternateBounds and puts the previous values into alternateBounds as a rectangle.
mxGraph.prototype.swapBounds = function(cell,
willCollapse)
Swaps the alternate and the actual bounds in the geometry of the given cell invoking updateAlternateBounds before carrying out the swap.
mxEditor.prototype.swapStyles = function (first,
second)
Swaps the styles for the given names in the graph’s stylesheet and refreshes the graph.
mxSwimlaneManager.prototype.swimlaneAdded = function(swimlane)
Updates the size of the given swimlane to match that of any existing siblings swimlanes.
+
mxAbstractCanvas2D.prototype.save = function()
Saves the current state.
mxAutoSaveManager.prototype.save = function()
Empty hook that is called if the graph should be saved.
mxEditor.prototype.save = function (url,
linefeed)
Posts the string returned by writeGraphModel to the given URL or the URL returned by getUrlPost.
mxXmlCanvas2D.prototype.save = function()
Saves the drawing state.
mxAbstractCanvas2D.prototype.scale = function(value)
Scales the current state.
mxGeometry.prototype.scale = function(sx,
sy,
fixedAspect)
Scales the geometry by the given amount.
mxXmlCanvas2D.prototype.scale = function(value)
Scales the output.
mxGraphView.prototype.scaleAndTranslate = function(scale,
dx,
dy)
Sets the scale and translation and fires a scale and translate event before calling revalidate followed by mxGraph.sizeDidChange.
mxGraph.prototype.scaleCell = function(cell,
dx,
dy,
recurse)
Scales the points, position and size of the given cell according to the given vertical and horizontal scaling factors.
mxGraph.prototype.scrollCellToVisible = function(cell,
center)
Pans the graph so that it shows the given cell.
mxGraph.prototype.scrollPointToVisible = function(x,
y,
extend,
border)
Scrolls the graph to the given point, extending the graph container if specified.
mxGraph.prototype.scrollRectToVisible = function(rect)
Pans the graph so that it shows the given rectangle.
SegmentConnector: function(state,
source,
target,
hints,
result)
Implements an orthogonal edge style.
mxGraph.prototype.selectAll = function(parent)
Selects all children of the given parent cell or the children of the default parent if no parent is specified.
mxGraph.prototype.selectCell = function(isNext,
isParent,
isChild)
Selects the next, parent, first child or previous cell, if all arguments are false.
mxGraph.prototype.selectCellForEvent = function(cell,
evt)
Selects the given cell by either adding it to the selection or replacing the selection depending on whether the given mouse event is a toggle event.
mxConnectionHandler.prototype.selectCells = function(edge,
target)
Selects the given edge after adding a new connection.
mxGraph.prototype.selectCells = function(vertices,
edges,
parent)
Selects all vertices and/or edges depending on the given boolean arguments recursively, starting at the given parent or the default parent if no parent is specified.
mxGraph.prototype.selectCellsForEvent = function(cells,
evt)
Selects the given cells by either adding them to the selection or replacing the selection depending on whether the given mouse event is a toggle event.
mxGraph.prototype.selectChildCell = function()
Selects the first child cell.
mxGraphHandler.prototype.selectDelayed = function(me)
Implements the delayed selection for the given mouse event.
mxToolbar.prototype.selectMode = function(domNode,
funct)
Resets the state of the previously selected mode and displays the given DOM node as selected.
mxGraph.prototype.selectNextCell = function()
Selects the next cell.
mxGraph.prototype.selectParentCell = function()
Selects the parent cell.
mxGraph.prototype.selectPreviousCell = function()
Selects the previous cell.
mxGraph.prototype.selectRegion = function(rect,
evt)
Selects and returns the cells inside the given rectangle for the specified event.
mxGraph.prototype.selectVertices = function(parent)
Select all vertices inside the given parent or the default parent.
mxXmlRequest.prototype.send = function(onload,
onerror,
timeout,
ontimeout)
Send the request to the target URL using the specified functions to process the response asychronously.
mxCellState.prototype.setAbsoluteTerminalPoint = function(point,
isSource)
Sets the first or last point in absolutePoints depending on isSource.
mxSwimlaneManager.prototype.setAddEnabled = function(value)
Sets addEnabled.
mxGraph.prototype.setAllowDanglingEdges = function(value)
Specifies if dangling edges are allowed, that is, if edges are allowed that do not have a source and/or target terminal defined.
mxGraphView.prototype.setAllowEval = function(value)
Sets allowEval.
mxGraph.prototype.setAllowLoops = function(value)
Specifies if loops are allowed.
mxAbstractCanvas2D.prototype.setAlpha = function(value)
Sets the current alpha.
mxXmlCanvas2D.prototype.setAlpha = function(value)
Sets the current alpha.
mxCell.prototype.setAttribute = function(name,
value)
Sets the specified attribute on the user object if it is an XML node.
mxCodec.prototype.setAttribute = function(node,
attribute,
value)
Sets the attribute on the specified node to value.
mxGraph.prototype.setAutoSizeCells = function(value)
Specifies if cell sizes should be automatically updated after a label change.
mxGraph.prototype.setBackgroundImage = function(image)
Sets the new backgroundImage.
mxUrlConverter.prototype.setBaseDomain = function(value)
Sets baseDomain.
mxUrlConverter.prototype.setBaseUrl = function(value)
Sets baseUrl.
mxXmlRequest.prototype.setBinary = function(value)
Sets binary.
mxGraph.prototype.setBorder = function(value)
Sets the value of border.
mxLayoutManager.prototype.setBubbling = function(value)
Sets bubbling.
mxGraphSelectionModel.prototype.setCell = function(cell)
Selects the specified mxCell using setCells.
mxCompactTreeLayout.prototype.setCellHeights = function(node,
rank)
Set the cells heights (relative to the layout direction) when the tops of each rank are to be aligned
mxCoordinateAssignment.prototype.setCellLocations = function(graph,
model)
Sets the cell locations in the facade to those stored after this layout processing step has completed.
setCells: function(cells)
Sets the cells in the clipboard.
mxGraphSelectionModel.prototype.setCells = function(cells)
Selects the given array of mxCells and fires a change event.
mxGraph.prototype.setCellsBendable = function(value)
Specifies if the graph should allow bending of edges.
mxGraph.prototype.setCellsCloneable = function(value)
Specifies if the graph should allow cloning of cells by holding down the control key while cells are being moved.
mxGraph.prototype.setCellsDeletable = function(value)
Sets cellsDeletable.
mxGraph.prototype.setCellsDisconnectable = function(value)
Sets cellsDisconnectable.
mxGraph.prototype.setCellsEditable = function(value)
Specifies if the graph should allow in-place editing for cell labels.
mxGraph.prototype.setCellsMovable = function(value)
Specifies if the graph should allow moving of cells.
mxGraph.prototype.setCellsResizable = function(value)
Specifies if the graph should allow resizing of cells.
mxGraph.prototype.setCellsSelectable = function(value)
Sets cellsSelectable.
mxGraph.prototype.setCellStyle = function(style,
cells)
Sets the style of the specified cells.
mxGraph.prototype.setCellStyleFlags = function(key,
flag,
value,
cells)
Sets or toggles the given bit for the given key in the styles of the specified cells.
setCellStyleFlags: function(model,
cells,
key,
flag,
value)
Sets or toggles the flag bit for the given key in the cell’s styles.
mxGraph.prototype.setCellStyles = function(key,
value,
cells)
Sets the key to value in the styles of the given cells.
setCellStyles: function(model,
cells,
key,
value)
Assigns the value for the given key in the styles of the given cells, or removes the key from the styles if the value is null.
mxGraph.prototype.setCellWarning = function(cell,
warning,
img,
isSelect)
Creates an overlay for the given cell using the warning and image or warningImage and returns the new mxCellOverlay.
mxGraphHandler.prototype.setCloneEnabled = function(value)
Sets cloneEnabled.
mxGraph.prototype.setCloneInvalidEdges = function(value)
Specifies if edges should be inserted when cloned but not valid wrt.
mxWindow.prototype.setClosable = function(closable)
Sets the image associated with the window.
mxCell.prototype.setCollapsed = function(collapsed)
Sets the collapsed state.
mxGraphModel.prototype.setCollapsed = function(cell,
collapsed)
Sets the collapsed state of the given mxCell using mxCollapseChange and adds the change to the current transaction.
mxCell.prototype.setConnectable = function(connectable)
Sets the connectable state.
mxGraph.prototype.setConnectable = function(connectable)
Specifies if the graph should allow new connections.
mxGraph.prototype.setConnectableEdges = function(value)
Specifies if edges should be connectable.
mxGraph.prototype.setConnectionConstraint = function(edge,
terminal,
source,
constraint)
Sets the mxConnectionConstraint that describes the given connection point.
mxGraph.prototype.setConstrainChildren = function(value)
Sets constrainChildren.
mxGraph.prototype.setConstrainChildrenOnResize = function(value)
Sets constrainChildrenOnResize.
mxGraphModel.prototype.setCreateIds = function(value)
Sets createIds.
mxConnectionHandler.prototype.setCreateTarget = function(value)
Sets createTarget.
mxGraphView.prototype.setCurrentRoot = function(root)
Sets and returns the current root and fires an undo event before calling mxGraph.sizeDidChange.
mxCellMarker.prototype.setCurrentState = function(state,
me,
color)
Sets and marks the current valid state.
mxCellState.prototype.setCursor = function(cursor)
Sets the given cursor on the shape and text shape.
mxShape.prototype.setCursor = function(cursor)
Sets the cursor on the given shape.
mxAbstractCanvas2D.prototype.setDashed = function(value)
Enables or disables dashed lines.
mxXmlCanvas2D.prototype.setDashed = function(value)
Enables or disables dashed lines.
mxAbstractCanvas2D.prototype.setDashPattern = function(value)
Sets the current dash pattern.
mxXmlCanvas2D.prototype.setDashPattern = function(value)
Sets the current dash pattern.
mxGraph.prototype.setDefaultParent = function(cell)
Sets the defaultParent to the given cell.
mxGraph.prototype.setDisconnectOnMove = function(value)
Specifies if edges should be disconnected when moved.
mxGraph.prototype.setDropEnabled = function(value)
Specifies if the graph should allow dropping of cells onto or into other cells.
mxCell.prototype.setEdge = function(edge)
Specifies if the cell is an edge.
mxGraphLayout.prototype.setEdgePoints = function(edge,
points)
Replaces the array of mxPoints in the geometry of the given edge with the given array of mxPoints.
mxCoordinateAssignment.prototype.setEdgePosition = function(cell)
Fixes the control points
mxGraphLayout.prototype.setEdgeStyleEnabled = function(edge,
value)
Disables or enables the edge style of the given edge.
mxAutoSaveManager.prototype.setEnabled = function(value)
Enables or disables event handling.
mxCellMarker.prototype.setEnabled = function(enabled)
Enables or disables event handling.
mxConnectionHandler.prototype.setEnabled = function(enabled)
Enables or disables event handling.
mxConstraintHandler.prototype.setEnabled = function(enabled)
Enables or disables event handling.
mxDragSource.prototype.setEnabled = function(value)
Sets enabled.
mxGraph.prototype.setEnabled = function(value)
Specifies if the graph should allow any interactions.
mxGraphHandler.prototype.setEnabled = function(value)
Sets enabled.
mxKeyHandler.prototype.setEnabled = function(enabled)
Enables or disables event handling by updating enabled.
mxLayoutManager.prototype.setEnabled = function(enabled)
Enables or disables event handling.
mxOutline.prototype.setEnabled = function(value)
Enables or disables event handling.
mxPopupMenu.prototype.setEnabled = function(enabled)
Enables or disables event handling.
mxRubberband.prototype.setEnabled = function(enabled)
Enables or disables event handling.
mxSelectionCellsHandler.prototype.setEnabled = function(value)
Sets enabled.
mxSwimlaneManager.prototype.setEnabled = function(value)
Enables or disables event handling.
mxTooltipHandler.prototype.setEnabled = function(enabled)
Enables or disables event handling.
mxUrlConverter.prototype.setEnabled = function(value)
Sets enabled.
mxGraph.prototype.setEnterStopsCellEditing = function(value)
Sets enterStopsCellEditing.
mxGraph.prototype.setEscapeEnabled = function(value)
Sets escapeEnabled.
mxEventSource.prototype.setEventsEnabled = function(value)
Sets eventsEnabled.
mxEventSource.prototype.setEventSource = function(value)
Sets eventSource.
mxGraph.prototype.setExtendParents = function(value)
Sets extendParents.
mxGraph.prototype.setExtendParentsOnAdd = function(value)
Sets extendParentsOnAdd.
mxGraph.prototype.setExtendParentsOnMove = function(value)
Sets extendParentsOnAdd.
mxAbstractCanvas2D.prototype.setFillAlpha = function(value)
Sets the current solid fill alpha.
mxXmlCanvas2D.prototype.setFillAlpha = function(value)
Sets the current fill alpha.
mxAbstractCanvas2D.prototype.setFillColor = function(value)
Sets the current fill color.
mxXmlCanvas2D.prototype.setFillColor = function(value)
Sets the current fill color.
mxConstraintHandler.prototype.setFocus = function(me,
state,
source)
Transfers the focus to the given state as a source or target terminal.
mxXmlCanvas2D.prototype.setFontBackgroundColor = function(value)
Sets the current font background color.
mxXmlCanvas2D.prototype.setFontBorderColor = function(value)
Sets the current font border color.
mxAbstractCanvas2D.prototype.setFontColor = function(value)
Sets the current font color.
mxXmlCanvas2D.prototype.setFontColor = function(value)
Sets the current font color.
mxAbstractCanvas2D.prototype.setFontFamily = function(value)
Sets the current font family.
mxXmlCanvas2D.prototype.setFontFamily = function(value)
Sets the current font family.
mxAbstractCanvas2D.prototype.setFontSize = function(value)
Sets the current font size.
mxXmlCanvas2D.prototype.setFontSize = function(value)
Sets the current font size.
mxAbstractCanvas2D.prototype.setFontStyle = function(value)
Sets the current font style.
mxXmlCanvas2D.prototype.setFontStyle = function(value)
Sets the current font style.
mxGraphAbstractHierarchyCell.prototype.setGeneralPurposeVariable = function(
   layer,
   value
)
Set the value of temp for the specified layer
mxGraphHierarchyEdge.prototype.setGeneralPurposeVariable = function(layer,
value)
Set the value of temp for the specified layer
mxGraphHierarchyNode.prototype.setGeneralPurposeVariable = function(layer,
value)
Set the value of temp for the specified layer
mxCell.prototype.setGeometry = function(geometry)
Sets the mxGeometry to be used as the geometry.
mxGraphModel.prototype.setGeometry = function(cell,
geometry)
Sets the mxGeometry of the given mxCell.
mxAbstractCanvas2D.prototype.setGradient = function(color1,
color2,
x,
y,
w,
h,
direction,
alpha1,
alpha2)
Sets the current gradient.
mxXmlCanvas2D.prototype.setGradient = function(color1,
color2,
x,
y,
w,
h,
direction,
alpha1,
alpha2)
Sets the gradient.
mxAutoSaveManager.prototype.setGraph = function(graph)
Sets the graph that the layouts operate on.
mxLayoutManager.prototype.setGraph = function(graph)
Sets the graph that the layouts operate on.
mxSwimlaneManager.prototype.setGraph = function(graph)
Sets the graph that the manager operates on.
mxGraphView.prototype.setGraphBounds = function(value)
Sets graphBounds.
mxEditor.prototype.setGraphContainer = function (container)
Sets the graph’s container using mxGraph.init.
mxDragSource.prototype.setGridEnabled = function(value)
Sets gridEnabled.
mxGraph.prototype.setGridEnabled = function(value)
Specifies if the grid should be enabled.
mxGraph.prototype.setGridSize = function(value)
Sets gridSize.
mxDragSource.prototype.setGuidesEnabled = function(value)
Sets guidesEnabled.
mxTooltipHandler.prototype.setHideOnHover = function(value)
Sets hideOnHover.
mxCellHighlight.prototype.setHighlightColor = function(color)
Sets the color of the rectangle used to highlight drop targets.
mxGraphHandler.prototype.setHighlightColor = function(color)
Sets the color of the rectangle used to highlight drop targets.
mxSwimlaneManager.prototype.setHorizontal = function(value)
Sets horizontal.
mxCellMarker.prototype.setHotspot = function(hotspot)
Sets the hotspot.
mxCellMarker.prototype.setHotspotEnabled = function(enabled)
Specifies whether the hotspot should be used in intersects.
mxGraph.prototype.setHtmlLabels = function(value)
Sets htmlLabels.
mxCell.prototype.setId = function(id)
Sets the Id of the cell to the given string.
mxWindow.prototype.setImage = function(image)
Sets the image associated with the window.
Sets the inner HTML of the given element to the value.
mxGraph.prototype.setInvokesStopCellEditing = function(value)
Sets invokesStopCellEditing.
mxAbstractCanvas2D.prototype.setLineCap = function(value)
Sets the current line cap.
mxXmlCanvas2D.prototype.setLineCap = function(value)
Sets the line cap.
mxAbstractCanvas2D.prototype.setLineJoin = function(value)
Sets the current line join.
mxXmlCanvas2D.prototype.setLineJoin = function(value)
Sets the line join.
mxAbstractCanvas2D.prototype.setLink = function(link)
Sets the current link.
mxSvgCanvas2D.prototype.setLink = function(link)
Experimental implementation for hyperlinks.
mxWindow.prototype.setLocation = function(x,
y)
Sets the upper, left corner of the window.
Sets if any cell may be moved, sized, bended, disconnected, edited or selected.
mxWindow.prototype.setMaximizable = function(maximizable)
Sets if the window is maximizable.
mxWindow.prototype.setMinimizable = function(minimizable)
Sets if the window is minimizable.
mxAbstractCanvas2D.prototype.setMiterLimit = function(value)
Sets the current miter limit.
mxXmlCanvas2D.prototype.setMiterLimit = function(value)
Sets the miter limit.
mxEditor.prototype.setMode = function(modename)
Puts the graph into the specified mode.
mxEditor.prototype.setModified = function (value)
Sets modified to the specified boolean value.
mxGraphHandler.prototype.setMoveEnabled = function(value)
Sets moveEnabled.
mxGraph.prototype.setMultigraph = function(value)
Specifies if the graph should allow multiple connections between the same pair of vertices.
setOpacity: function(node,
value)
Sets the opacity of the specified DOM node to the given value in %.
mxGraphLayout.prototype.setOrthogonalEdge = function(edge,
value)
Disables or enables orthogonal end segments of the given edge.
mxGraph.prototype.setPanning = function(enabled)
Specifies if panning should be enabled.
mxPanningHandler.prototype.setPanningEnabled = function(value)
Sets panningEnabled.
mxCell.prototype.setParent = function(parent)
Sets the parent cell.
mxPanningHandler.prototype.setPinchEnabled = function(value)
Sets pinchEnabled.
mxGraph.prototype.setPortsEnabled = function(value)
Specifies if the ports should be enabled.
mxHandle.prototype.setPosition = function(bounds,
pt,
me)
Hooks for subclassers to update the style in the state.
setPrefixedStyle: function()
Adds the given style with the standard name and an optional vendor prefix for the current browser.
mxEdgeHandler.prototype.setPreviewColor = function(color)
Sets the color of the preview to the given value.
mxRectangle.prototype.setRect = function(x,
y,
w,
h)
Sets this rectangle to the specified values
mxGraph.prototype.setRecursiveResize = function(value)
Sets recursiveResize.
mxGraphHandler.prototype.setRemoveCellsFromParent = function(value)
Sets removeCellsFromParent.
mxGraphView.prototype.setRendering = function(value)
Sets rendering.
mxXmlRequest.prototype.setRequestHeaders = function(request,
params)
Sets the headers for the given request and parameters.
mxWindow.prototype.setResizable = function(resizable)
Sets if the window should be resizable.
mxGraph.prototype.setResizeContainer = function(value)
Sets resizeContainer.
mxSwimlaneManager.prototype.setResizeEnabled = function(value)
Sets resizeEnabled.
mxGraphModel.prototype.setRoot = function(root)
Sets the root of the model using mxRootChange and adds the change to the current transaction.
mxGraphView.prototype.setScale = function(value)
Sets the scale and fires a scale event before calling revalidate followed by mxGraph.sizeDidChange.
mxWindow.prototype.setScrollable = function(scrollable)
Sets if the window contents should be scrollable.
mxGraphHandler.prototype.setSelectEnabled = function(value)
Sets selectEnabled.
mxGraph.prototype.setSelectionCell = function(cell)
Sets the selection cell.
mxGraph.prototype.setSelectionCells = function(cells)
Sets the selection cell.
mxGraph.prototype.setSelectionModel = function(selectionModel)
Sets the mxSelectionModel that contains the selection.
mxAbstractCanvas2D.prototype.setShadow = function(enabled)
Enables or disables and configures the current shadow.
mxXmlCanvas2D.prototype.setShadow = function(value)
Enables or disables shadows.
mxAbstractCanvas2D.prototype.setShadowAlpha = function(value)
Enables or disables and configures the current shadow.
mxXmlCanvas2D.prototype.setShadowAlpha = function(value)
Sets the current shadows alpha.
mxAbstractCanvas2D.prototype.setShadowColor = function(value)
Enables or disables and configures the current shadow.
mxXmlCanvas2D.prototype.setShadowColor = function(value)
Sets the current shadow color.
mxAbstractCanvas2D.prototype.setShadowOffset = function(dx,
dy)
Enables or disables and configures the current shadow.
mxXmlCanvas2D.prototype.setShadowOffset = function(dx,
dy)
Sets the current shadow offset.
mxGraphSelectionModel.prototype.setSingleSelection = function(singleSelection)
Sets the singleSelection flag.
mxWindow.prototype.setSize = function(width,
height)
Sets the size of the window.
mxGraph.prototype.setSplitEnabled = function(value)
Specifies if the graph should allow dropping of cells onto or into other cells.
mxCellState.prototype.setState = function(state)
Copies all fields from the given state to this state.
mxGraphView.prototype.setStates = function(value)
Sets states.
mxGuide.prototype.setStates = function(states)
Sets the mxCellStates that should be used for alignment.
mxEditor.prototype.setStatus = function (message)
Display the specified message in the status bar.
mxEditor.prototype.setStatusContainer = function (container)
Creates the status using the specified container.
mxAbstractCanvas2D.prototype.setStrokeAlpha = function(value)
Sets the current stroke alpha.
mxXmlCanvas2D.prototype.setStrokeAlpha = function(value)
Sets the current stroke alpha.
mxAbstractCanvas2D.prototype.setStrokeColor = function(value)
Sets the current stroke color.
mxXmlCanvas2D.prototype.setStrokeColor = function(value)
Sets the current stroke color.
mxAbstractCanvas2D.prototype.setStrokeWidth = function(value)
Sets the current stroke width.
mxXmlCanvas2D.prototype.setStrokeWidth = function(value)
Sets the current stroke width.
mxCell.prototype.setStyle = function(style)
Sets the string to be used as the style.
mxGraphModel.prototype.setStyle = function(cell,
style)
Sets the style of the given mxCell using mxStyleChange and adds the change to the current transaction.
setStyle: function(style,
key,
value)
Adds or removes the given key, value pair to the style and returns the new style.
setStyleFlag: function(style,
key,
flag,
value)
Sets or removes the given key from the specified style and returns the new style.
mxGraph.prototype.setStylesheet = function(stylesheet)
Sets the mxStylesheet that defines the style.
mxGraph.prototype.setSwimlaneNesting = function(value)
Specifies if swimlanes can be nested by drag and drop.
mxGraph.prototype.setSwimlaneSelectionEnabled = function(value)
Specifies if swimlanes should be selected if the mouse is released over their content area.
mxCell.prototype.setTerminal = function(terminal,
isSource)
Sets the source or target terminal and returns the new terminal.
mxGraphModel.prototype.setTerminal = function(edge,
terminal,
isSource)
Sets the source or target terminal of the given mxCell using mxTerminalChange and adds the change to the current transaction.
mxGeometry.prototype.setTerminalPoint = function(point,
isSource)
Sets the sourcePoint or targetPoint to the given mxPoint and returns the new point.
mxGraphModel.prototype.setTerminals = function(edge,
source,
target)
Sets the source and target mxCell of the given mxCell in a single transaction using setTerminal for each end of the edge.
setTextContent: function(node,
text)
Sets the text content of the specified node.
mxWindow.prototype.setTitle = function(title)
Sets the window title to the given string.
mxEditor.prototype.setTitleContainer = function (container)
Creates a listener to update the inner HTML of the specified DOM node with the value of getTitle.
mxGraph.prototype.setTolerance = function(value)
Sets tolerance.
mxEditor.prototype.setToolbarContainer = function (container)
Initializes the toolbar for the given container.
mxGraph.prototype.setTooltips = function (enabled)
Specifies if tooltips should be enabled.
mxGraphView.prototype.setTranslate = function(dx,
dy)
Sets the translation and fires a translate event before calling revalidate followed by mxGraph.sizeDidChange.
mxShape.prototype.setTransparentBackgroundImage = function(node)
Sets a transparent background CSS style to catch all events.
mxCell.prototype.setValue = function(value)
Sets the user object of the cell.
mxGraphModel.prototype.setValue = function(cell,
value)
Sets the user object of then given mxCell using mxValueChange and adds the change to the current transaction.
mxCell.prototype.setVertex = function(vertex)
Specifies if the cell is a vertex.
mxGraph.prototype.setVertexLabelsMovable = function(value)
Sets vertexLabelsMovable.
mxCoordinateAssignment.prototype.setVertexLocation = function(cell)
Fixes the position of the specified vertex.
mxGraphLayout.prototype.setVertexLocation = function(cell,
x,
y)
Sets the new position of the given cell taking into account the size of the bounding box if useBoundingBox is true.
mxCell.prototype.setVisible = function(visible)
Specifies if the cell is visible.
mxGraphModel.prototype.setVisible = function(cell,
visible)
Sets the visible state of the given mxCell using mxVisibleChange and adds the change to the current transaction.
mxGuide.prototype.setVisible = function(visible)
Shows or hides the current guides.
mxHandle.prototype.setVisible = function(visible)
Shows or hides this handle.
setVisible: function(visible)
Shows or hides the console.
mxWindow.prototype.setVisible = function(visible)
Shows or hides the window depending on the given flag.
mxCellState.prototype.setVisibleTerminalState = function(terminalState,
source)
Sets the visible source or target terminal state.
mxGraphAbstractHierarchyCell.prototype.setX = function(layer,
value)
Set the value of x for the specified layer
mxGraphAbstractHierarchyCell.prototype.setY = function(layer,
value)
Set the value of y for the specified layer
mxOutline.prototype.setZoomEnabled = function(value)
Enables or disables the zoom handling by showing or hiding the respective handle.
mxGraphHandler.prototype.shouldRemoveCellsFromParent = function(parent,
cells,
evt)
Returns true if the given cells should be removed from the parent for the specified mousereleased event.
mxCellStatePreview.prototype.show = function(visitor)
show: function()
Shows the console.
mxMorphing.prototype.show = function(move)
Shows the changes in the given mxCellStatePreview.
mxTooltipHandler.prototype.show = function(tip,
x,
y)
Shows the tooltip for the specified cell and optional index at the specified location (with a vertical offset of 10 pixels).
show: function(graph,
doc,
x0,
y0,
w,
h)
Copies the styles and the markup from the graph’s container into the given document and removes all cursor styles.
mxWindow.prototype.show = function()
Shows the window.
mxEditor.prototype.showHelp = function (tasks)
Shows the help window.
mxPopupMenu.prototype.showMenu = function()
Shows the menu.
mxEditor.prototype.showOutline = function ()
Shows the outline window.
mxEditor.prototype.showProperties = function (cell)
Creates and shows the properties dialog for the given cell.
mxPopupMenu.prototype.showSubmenu = function(parent,
row)
Shows the submenu inside the given parent row.
mxEditor.prototype.showTasks = function ()
Shows the tasks window.
SideToSide: function (state,
source,
target,
points,
result)
Implements a vertical elbow edge.
mxXmlRequest.prototype.simulate = function(doc,
target)
Creates and posts a request to the given target URL using a dynamically created form inside the given document.
mxGraph.prototype.sizeDidChange = function()
Called when the size of the graph has changed.
mxGraph.prototype.snap = function(value)
Snaps the given numeric value to the grid if gridEnabled is true.
mxGraphHandler.prototype.snap = function(vector)
Snaps the given vector to the grid and returns the given mxPoint instance.
mxHandle.prototype.snapPoint = function(pt,
ignore)
Snaps the given point to the grid if ignore is false.
mxConnectionHandler.prototype.snapToPreview = function(me,
point)
Called to snap the given point to the current preview.
sortCells: function(cells,
ascending)
Sorts the given cells according to the order in the cell hierarchy.
mxCompactTreeLayout.prototype.sortOutgoingEdges = function(source,
edges)
Called if sortEdges is true to sort the array of outgoing edges in place.
Reference to the source mxGraph.
mxGraph.prototype.splitEdge = function(edge,
cells,
newEdge,
dx,
dy)
Splits the given edge by adding the newEdge between the previous source and the given cell and reconnecting the source of the given edge to the given cell.
mxConnectionHandler.prototype.start = function(state,
x,
y,
edgeState)
Starts a new connection for the given state and coordinates.
mxEdgeHandler.prototype.start = function(x,
y,
index)
Starts the handling of the mouse gesture.
mxGraphHandler.prototype.start = function(cell,
x,
y)
Starts the handling of the mouse gesture.
mxPanningHandler.prototype.start = function(me)
Starts panning at the given event.
mxRubberband.prototype.start = function(x,
y)
Sets the start point for the rubberband selection.
mxVertexHandler.prototype.start = function(x,
y,
index)
Starts the handling of the mouse gesture.
mxAnimation.prototype.startAnimation = function()
Starts the animation by repeatedly invoking updateAnimation.
mxDragSource.prototype.startDrag = function(evt)
Creates the dragElement using createDragElement.
mxCellEditor.prototype.startEditing = function(cell,
trigger)
Starts the editor for the given cell.
mxGraph.prototype.startEditing = function(evt)
Calls startEditingAtCell using the given cell or the first selection cell.
mxGraph.prototype.startEditingAtCell = function(cell,
evt)
Fires a startEditing event and invokes mxCellEditor.startEditing on editor.
mxGraphView.prototype.stateValidated = function(state)
Invoked when a state has been processed in validatePoints.
mxAnimation.prototype.stopAnimation = function()
Stops the animation by deleting the timer and fires an mxEvent.DONE.
mxDragSource.prototype.stopDrag = function()
Invokes removeDragElement.
mxCellEditor.prototype.stopEditing = function(cancel)
Stops the editor and applies the value if cancel is false.
mxGraph.prototype.stopEditing = function(cancel)
Stops the current editing and fires a editingStopped event.
mxMorphing.prototype.stopRecursion = function(state,
delta)
Returns true if the animation should not recursively find more deltas for children if the given parent state has been animated.
mxSvgCanvas2D.prototype.stroke = function()
Paints the outline of the current path.
mxVmlCanvas2D.prototype.stroke = function()
Paints the outline of the current path.
mxXmlCanvas2D.prototype.stroke = function()
Paints the outline of the current drawing buffer.
mxGraphModel.prototype.styleForCellChanged = function(cell,
style)
Inner callback to update the style of the given mxCell using mxCell.setStyle and return the previous style.
Maps from names to cell styles.
submit: function(url,
params,
doc,
target)
Submits the given parameters to the specified URL using mxXmlRequest.simulate and returns the mxXmlRequest.
mxGeometry.prototype.swap = function()
Swaps the x, y, width and height with the values stored in alternateBounds and puts the previous values into alternateBounds as a rectangle.
mxGraph.prototype.swapBounds = function(cell,
willCollapse)
Swaps the alternate and the actual bounds in the geometry of the given cell invoking updateAlternateBounds before carrying out the swap.
mxEditor.prototype.swapStyles = function (first,
second)
Swaps the styles for the given names in the graph’s stylesheet and refreshes the graph.
mxSwimlaneManager.prototype.swimlaneAdded = function(swimlane)
Updates the size of the given swimlane to match that of any existing siblings swimlanes.
diff --git a/docs/js-api/index/Functions17.html b/docs/js-api/index/Functions17.html index c48a94711..4e60479b1 100644 --- a/docs/js-api/index/Functions17.html +++ b/docs/js-api/index/Functions17.html @@ -11,9 +11,9 @@ if (browserType) {document.write("
");if (browserV -
Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
T
 tapAndHold, mxGraph
 terminalForCellChanged, mxGraphModel
 text
 toDegree, mxUtils
 toggleCells, mxGraph
 toggleCellStyle, mxGraph
 toggleCellStyleFlags, mxGraph
 toggleCellStyles, mxGraph
 TopToBottom, mxEdgeStyle
 toRadians, mxUtils
 toString
 transformControlPoint, mxGraphView
 translate
 translateCell, mxGraph
 translateState, mxCellStatePreview
 transpose, mxMedianHybridCrossingReduction
 traverse
 treeLayout, mxEditor
 TrianglePerimeter, mxPerimeter
 trim
+
Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
T
 tapAndHold, mxGraph
 terminalForCellChanged, mxGraphModel
 text
 toDegree, mxUtils
 toggleCells, mxGraph
 toggleCellStyle, mxGraph
 toggleCellStyleFlags, mxGraph
 toggleCellStyles, mxGraph
 TopToBottom, mxEdgeStyle
 toRadians, mxUtils
 toString
 transformControlPoint, mxGraphView
 translate
 translateCell, mxGraph
 translateState, mxCellStatePreview
 transpose, mxMedianHybridCrossingReduction
 traverse
 treeLayout, mxEditor
 TrianglePerimeter, mxPerimeter
 trim
-
mxGraph.prototype.tapAndHold = function(me)
Handles the mxMouseEvent by highlighting the mxCellState.
mxGraphModel.prototype.terminalForCellChanged = function(edge,
terminal,
isSource)
Inner helper function to update the terminal of the edge using mxCell.insertEdge and return the previous terminal.
mxSvgCanvas2D.prototype.text = function(x,
y,
w,
h,
str,
align,
valign,
wrap,
format,
overflow,
clip,
rotation,
dir)
Paints the given text.
mxVmlCanvas2D.prototype.text = function(x,
y,
w,
h,
str,
align,
valign,
wrap,
format,
overflow,
clip,
rotation,
dir)
Paints the given text.
mxXmlCanvas2D.prototype.text = function(x,
y,
w,
h,
str,
align,
valign,
wrap,
format,
overflow,
clip,
rotation,
dir)
Paints the given text.
toDegree: function(rad)
Converts the given radians to degree.
mxGraph.prototype.toggleCells = function(show,
cells,
includeEdges)
Sets the visible state of the specified cells and all connected edges if includeEdges is true.
mxGraph.prototype.toggleCellStyle = function(key,
defaultValue,
cell)
Toggles the boolean value for the given key in the style of the given cell and returns the new value as 0 or 1.
mxGraph.prototype.toggleCellStyleFlags = function(key,
flag,
cells)
Toggles the given bit for the given key in the styles of the specified cells.
mxGraph.prototype.toggleCellStyles = function(key,
defaultValue,
cells)
Toggles the boolean value for the given key in the style of the given cells and returns the new value as 0 or 1.
TopToBottom: function(state,
source,
target,
points,
result)
Implements a horizontal elbow edge.
toRadians: function(deg)
Converts the given degree to radians.
mxCellOverlay.prototype.toString = function()
Returns the textual representation of the overlay to be used as the tooltip.
toString: function(obj)
Returns a textual representation of the specified object.
mxGraphView.prototype.transformControlPoint = function(state,
pt)
Transforms the given control point to an absolute point.
mxAbstractCanvas2D.prototype.translate = function(dx,
dy)
Translates the current state.
mxGeometry.prototype.translate = function(dx,
dy)
Translates the geometry by the specified amount.
mxXmlCanvas2D.prototype.translate = function(dx,
dy)
Translates the output.
mxGraph.prototype.translateCell = function(cell,
dx,
dy)
Translates the geometry of the given cell and stores the new, translated geometry in the model as an atomic change.
mxCellStatePreview.prototype.translateState = function(state,
dx,
dy)
mxMedianHybridCrossingReduction.prototype.transpose = function(
   mainLoopIteration,
   model
)
Takes each possible adjacent cell pair on each rank and checks if swapping them around reduces the number of crossing
mxGraph.prototype.traverse = function(vertex,
directed,
func,
edge,
visited)
Traverses the (directed) graph invoking the given function for each visited vertex and edge.
mxGraphLayout.traverse = function(vertex,
directed,
func,
edge,
visited)
Traverses the (directed) graph invoking the given function for each visited vertex and edge.
mxEditor.prototype.treeLayout = function (cell,
horizontal)
Executes a vertical or horizontal compact tree layout using the specified cell as an argument.
TrianglePerimeter: function (bounds,
vertex,
next,
orthogonal)
Describes a triangle perimeter.
mxUndoManager.prototype.trim = function()
Removes all pending steps after indexOfNextAdd from the history, invoking die on each edit.
trim: function(str,
chars)
Strips all whitespaces from both end of the string.
+
mxGraph.prototype.tapAndHold = function(me)
Handles the mxMouseEvent by highlighting the mxCellState.
mxGraphModel.prototype.terminalForCellChanged = function(edge,
terminal,
isSource)
Inner helper function to update the terminal of the edge using mxCell.insertEdge and return the previous terminal.
mxSvgCanvas2D.prototype.text = function(x,
y,
w,
h,
str,
align,
valign,
wrap,
format,
overflow,
clip,
rotation,
dir)
Paints the given text.
mxVmlCanvas2D.prototype.text = function(x,
y,
w,
h,
str,
align,
valign,
wrap,
format,
overflow,
clip,
rotation,
dir)
Paints the given text.
mxXmlCanvas2D.prototype.text = function(x,
y,
w,
h,
str,
align,
valign,
wrap,
format,
overflow,
clip,
rotation,
dir)
Paints the given text.
toDegree: function(rad)
Converts the given radians to degree.
mxGraph.prototype.toggleCells = function(show,
cells,
includeEdges)
Sets the visible state of the specified cells and all connected edges if includeEdges is true.
mxGraph.prototype.toggleCellStyle = function(key,
defaultValue,
cell)
Toggles the boolean value for the given key in the style of the given cell and returns the new value as 0 or 1.
mxGraph.prototype.toggleCellStyleFlags = function(key,
flag,
cells)
Toggles the given bit for the given key in the styles of the specified cells.
mxGraph.prototype.toggleCellStyles = function(key,
defaultValue,
cells)
Toggles the boolean value for the given key in the style of the given cells and returns the new value as 0 or 1.
TopToBottom: function(state,
source,
target,
points,
result)
Implements a horizontal elbow edge.
toRadians: function(deg)
Converts the given degree to radians.
mxCellOverlay.prototype.toString = function()
Returns the textual representation of the overlay to be used as the tooltip.
toString: function(obj)
Returns a textual representation of the specified object.
mxGraphView.prototype.transformControlPoint = function(state,
pt)
Transforms the given control point to an absolute point.
mxAbstractCanvas2D.prototype.translate = function(dx,
dy)
Translates the current state.
mxGeometry.prototype.translate = function(dx,
dy)
Translates the geometry by the specified amount.
mxXmlCanvas2D.prototype.translate = function(dx,
dy)
Translates the output.
mxGraph.prototype.translateCell = function(cell,
dx,
dy)
Translates the geometry of the given cell and stores the new, translated geometry in the model as an atomic change.
mxCellStatePreview.prototype.translateState = function(state,
dx,
dy)
mxMedianHybridCrossingReduction.prototype.transpose = function(
   mainLoopIteration,
   model
)
Takes each possible adjacent cell pair on each rank and checks if swapping them around reduces the number of crossing
mxGraph.prototype.traverse = function(vertex,
directed,
func,
edge,
visited)
Traverses the (directed) graph invoking the given function for each visited vertex and edge.
mxGraphLayout.traverse = function(vertex,
directed,
func,
edge,
visited)
Traverses the (directed) graph invoking the given function for each visited vertex and edge.
mxEditor.prototype.treeLayout = function (cell,
horizontal)
Executes a vertical or horizontal compact tree layout using the specified cell as an argument.
TrianglePerimeter: function (bounds,
vertex,
next,
orthogonal)
Describes a triangle perimeter.
mxUndoManager.prototype.trim = function()
Removes all pending steps after indexOfNextAdd from the history, invoking die on each edit.
trim: function(str,
chars)
Strips all whitespaces from both end of the string.
diff --git a/docs/js-api/index/Functions18.html b/docs/js-api/index/Functions18.html index 7e83181af..5dc1bcd56 100644 --- a/docs/js-api/index/Functions18.html +++ b/docs/js-api/index/Functions18.html @@ -11,9 +11,9 @@ if (browserType) {document.write("
");if (browserV -
Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
U
 undo
 undoableEditHappened, mxUndoManager
 ungroupCells, mxGraph
 union, mxVertexHandler
 unmark, mxCellMarker
 update
 updateAlternateBounds, mxGraph
 updateAnimation
 updateBaseUrl, mxUrlConverter
 updateBoundingBox
 updateBoundsFromPoints, mxShape
 updateBoundsFromStencil, mxGraphView
 updateCachedBounds, mxCellState
 updateCellSize, mxGraph
 updateCellState, mxGraphView
 updateContainerStyle, mxGraphView
 updateCurrentState, mxConnectionHandler
 updateEdgeBounds, mxGraphView
 updateEdgeLabelOffset, mxGraphView
 updateEdgeParent, mxGraphModel
 updateEdgeParents, mxGraphModel
 updateEdgeState
 updateFill, mxSvgCanvas2D
 updateFixedTerminalPoint, mxGraphView
 updateFixedTerminalPoints, mxGraphView
 updateFloatingTerminalPoint, mxGraphView
 updateFloatingTerminalPoints, mxGraphView
 updateFont
 updateGroupBounds
 updateHint
 updateHtmlCanvasSize, mxGraphView
 updateHtmlFilter, mxText
 updateHtmlFilters, mxShape
 updateHtmlTransform, mxText
 updateIcons, mxConnectionHandler
 updateLivePreview, mxVertexHandler
 updateMinBounds, mxVertexHandler
 updateMouseEvent, mxGraph
 updatePageBreaks, mxGraph
 updateParentHighlight, mxVertexHandler
 updatePoints, mxGraphView
 updatePreviewShape, mxGraphHandler
 updatePreviewState
 updateSize, mxText
 updateStroke, mxSvgCanvas2D
 updateStrokeAttributes, mxSvgCanvas2D
 updateTransform, mxShape
 updateValue, mxText
 updateVertexLabelOffset, mxGraphView
 updateVertexState, mxGraphView
 updateVmlContainer
 updatingDocumentResource, mxGraphView
 useGuidesForEvent, mxGraphHandler
+
Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
U
 undo
 undoableEditHappened, mxUndoManager
 ungroupCells, mxGraph
 union, mxVertexHandler
 unmark, mxCellMarker
 update
 updateAlternateBounds, mxGraph
 updateAnimation
 updateBaseUrl, mxUrlConverter
 updateBoundingBox
 updateBoundsFromPoints, mxShape
 updateBoundsFromStencil, mxGraphView
 updateCachedBounds, mxCellState
 updateCellSize, mxGraph
 updateCellState, mxGraphView
 updateContainerStyle, mxGraphView
 updateCurrentState, mxConnectionHandler
 updateEdgeBounds, mxGraphView
 updateEdgeLabelOffset, mxGraphView
 updateEdgeParent, mxGraphModel
 updateEdgeParents, mxGraphModel
 updateEdgeState
 updateFill, mxSvgCanvas2D
 updateFixedTerminalPoint, mxGraphView
 updateFixedTerminalPoints, mxGraphView
 updateFloatingTerminalPoint, mxGraphView
 updateFloatingTerminalPoints, mxGraphView
 updateFont
 updateGroupBounds
 updateHandler, mxSelectionCellsHandler
 updateHint
 updateHtmlCanvasSize, mxGraphView
 updateHtmlFilter, mxText
 updateHtmlFilters, mxShape
 updateHtmlTransform, mxText
 updateIcons, mxConnectionHandler
 updateLivePreview, mxVertexHandler
 updateMinBounds, mxVertexHandler
 updateMouseEvent, mxGraph
 updatePageBreaks, mxGraph
 updateParentHighlight, mxVertexHandler
 updatePoints, mxGraphView
 updatePreviewShape, mxGraphHandler
 updatePreviewState
 updateSize, mxText
 updateStroke, mxSvgCanvas2D
 updateStrokeAttributes, mxSvgCanvas2D
 updateTransform, mxShape
 updateValue, mxText
 updateVertexLabelOffset, mxGraphView
 updateVertexState, mxGraphView
 updateVmlContainer
 updatingDocumentResource, mxGraphView
 useGuidesForEvent, mxGraphHandler
-
mxEditor.prototype.undo = function ()
Undo the last change in graph.
mxUndoableEdit.prototype.undo = function()
Undoes all changes in this edit.
mxUndoManager.prototype.undo = function()
Undoes the last change.
mxUndoManager.prototype.undoableEditHappened = function(undoableEdit)
Method to be called to add new undoable edits to the history.
mxGraph.prototype.ungroupCells = function(cells)
Ungroups the given cells by moving the children the children to their parents parent and removing the empty groups.
mxVertexHandler.prototype.union = function(bounds,
dx,
dy,
index,
gridEnabled,
scale,
tr,
constrained,
centered)
Returns the union of the given bounds and location for the specified handle index.
mxCellMarker.prototype.unmark = function()
Hides the marker and fires a mark event.
mxConstraintHandler.prototype.update = function(me,
source,
existingEdge,
point)
Updates the state of this handler based on the given mxMouseEvent.
mxOutline.prototype.update = function(revalidate)
Updates the outline.
mxRubberband.prototype.update = function(x,
y)
Sets currentX and currentY and calls repaint.
mxGraph.prototype.updateAlternateBounds = function(cell,
geo,
willCollapse)
Updates or sets the alternate bounds in the given geometry for the given cell depending on whether the cell is going to be collapsed.
mxAnimation.prototype.updateAnimation = function()
Hook for subclassers to implement the animation.
mxMorphing.prototype.updateAnimation = function()
Animation step.
mxUrlConverter.prototype.updateBaseUrl = function()
Private helper function to update the base URL.
mxConnector.prototype.updateBoundingBox = function()
Updates the boundingBox for this shape using createBoundingBox and augmentBoundingBox and stores the result in boundingBox.
mxShape.prototype.updateBoundingBox = function()
Updates the boundingBox for this shape using createBoundingBox and augmentBoundingBox and stores the result in boundingBox.
mxText.prototype.updateBoundingBox = function()
Updates the boundingBox for this shape using the given node and position.
mxShape.prototype.updateBoundsFromPoints = function()
Updates the bounds based on the points.
mxGraphView.prototype.updateBoundsFromStencil = function(state)
Updates the bounds of the given cell state to reflect the bounds of the stencil if it has a fixed aspect and returns the previous bounds as an mxRectangle if the bounds have been modified or null otherwise.
mxCellState.prototype.updateCachedBounds = function()
Updates the cellBounds and paintBounds.
mxGraph.prototype.updateCellSize = function(cell,
ignoreChildren)
Updates the size of the given cell in the model using cellSizeUpdated.
mxGraphView.prototype.updateCellState = function(state)
Updates the given mxCellState.
mxGraphView.prototype.updateContainerStyle = function(container)
Updates the style of the container after installing the SVG DOM elements.
mxConnectionHandler.prototype.updateCurrentState = function(me,
point)
Updates the current state for a given mouse move event by using the marker.
mxGraphView.prototype.updateEdgeBounds = function(state)
Updates the given state using the bounding box of t he absolute points.
mxGraphView.prototype.updateEdgeLabelOffset = function(state)
Updates mxCellState.absoluteOffset for the given state.
mxGraphModel.prototype.updateEdgeParent = function(edge,
root)
Inner callback to update the parent of the specified mxCell to the nearest-common-ancestor of its two terminals.
mxGraphModel.prototype.updateEdgeParents = function(cell,
root)
Updates the parent for all edges that are connected to cell or one of its descendants using updateEdgeParent.
mxConnectionHandler.prototype.updateEdgeState = function(current,
constraint)
Updates edgeState.
mxGraphView.prototype.updateEdgeState = function(state,
geo)
Validates the given cell state.
mxSvgCanvas2D.prototype.updateFill = function()
Transfers the stroke attributes from state to node.
mxGraphView.prototype.updateFixedTerminalPoint = function(edge,
terminal,
source,
constraint)
Sets the fixed source or target terminal point on the given edge.
mxGraphView.prototype.updateFixedTerminalPoints = function(edge,
source,
target)
Sets the initial absolute terminal points in the given state before the edge style is computed.
mxGraphView.prototype.updateFloatingTerminalPoint = function(edge,
start,
end,
source)
Updates the absolute terminal point in the given state for the given start and end state, where start is the source if source is true.
mxGraphView.prototype.updateFloatingTerminalPoints = function(state,
source,
target)
Updates the terminal points in the given state after the edge style was computed for the edge.
mxSvgCanvas2D.prototype.updateFont = function(node)
Updates the text properties for the given node.
mxText.prototype.updateFont = function(node)
Updates the HTML node(s) to reflect the latest bounds and scale.
mxGraph.prototype.updateGroupBounds = function(cells,
border,
moveGroup,
topBorder,
rightBorder,
bottomBorder,
leftBorder)
Updates the bounds of the given groups to include all children and returns the passed-in cells.
mxSwimlaneLayout.prototype.updateGroupBounds = function()
Updates the bounds of the given array of groups so that it includes all child vertices.
mxEdgeHandler.prototype.updateHint = function(me,
point)
Hook for subclassers do show details while the handler is active.
mxGraphHandler.prototype.updateHint = function(me)
Hook for subclassers do show details while the handler is active.
mxVertexHandler.prototype.updateHint = function(me)
Hook for subclassers do show details while the handler is active.
mxGraphView.prototype.updateHtmlCanvasSize = function(width,
height)
Updates the size of the HTML canvas.
mxText.prototype.updateHtmlFilter = function()
Rotated text rendering quality is bad for IE9 quirks/IE8 standards
mxShape.prototype.updateHtmlFilters = function(node)
Allow optimization by replacing VML with HTML.
mxText.prototype.updateHtmlTransform = function()
Returns the spacing as an mxPoint.
mxConnectionHandler.prototype.updateIcons = function(state,
icons,
me)
Hook to update the icon position(s) based on a mouseOver event.
mxVertexHandler.prototype.updateLivePreview = function(me)
Repaints the live preview.
mxVertexHandler.prototype.updateMinBounds = function()
Initializes the shapes required for this vertex handler.
mxGraph.prototype.updateMouseEvent = function(me,
evtName)
Sets the graphX and graphY properties if the given mxMouseEvent if required and returned the event.
mxGraph.prototype.updatePageBreaks = function(visible,
width,
height)
Invokes from sizeDidChange to redraw the page breaks.
mxVertexHandler.prototype.updateParentHighlight = function()
Updates the highlight of the parent if parentHighlightEnabled is true.
mxGraphView.prototype.updatePoints = function(edge,
points,
source,
target)
Updates the absolute points in the given state using the specified array of mxPoints as the relative points.
mxGraphHandler.prototype.updatePreviewShape = function()
Updates the bounds of the preview shape.
mxEdgeSegmentHandler.prototype.updatePreviewState = function(edge,
point,
terminalState,
me)
Overridden to perform optimization of the edge style result.
mxEdgeHandler.prototype.updatePreviewState = function(edge,
point,
terminalState,
me,
outline)
Updates the given preview state taking into account the state of the constraint handler.
mxText.prototype.updateSize = function(node,
enableWrap)
Updates the HTML node(s) to reflect the latest bounds and scale.
mxSvgCanvas2D.prototype.updateStroke = function()
Transfers the stroke attributes from state to node.
mxSvgCanvas2D.prototype.updateStrokeAttributes = function()
Transfers the stroke attributes from state to node.
mxShape.prototype.updateTransform = function(c,
x,
y,
w,
h)
Sets the scale and rotation on the given canvas.
mxText.prototype.updateValue = function()
Updates the HTML node(s) to reflect the latest bounds and scale.
mxGraphView.prototype.updateVertexLabelOffset = function(state)
Updates the absoluteOffset of the given vertex cell state.
mxGraphView.prototype.updateVertexState = function(state,
geo)
Validates the given cell state.
mxShape.prototype.updateVmlContainer = function()
Updates the bounds of the VML container.
mxText.prototype.updateVmlContainer = function()
Sets the width and height of the container to 1px.
Specifies the resource key for the status message while the document is being updated.
mxGraphHandler.prototype.useGuidesForEvent = function(me)
Returns true if the guides should be used for the given mxMouseEvent.
+
mxEditor.prototype.undo = function ()
Undo the last change in graph.
mxUndoableEdit.prototype.undo = function()
Undoes all changes in this edit.
mxUndoManager.prototype.undo = function()
Undoes the last change.
mxUndoManager.prototype.undoableEditHappened = function(undoableEdit)
Method to be called to add new undoable edits to the history.
mxGraph.prototype.ungroupCells = function(cells)
Ungroups the given cells by moving the children the children to their parents parent and removing the empty groups.
mxVertexHandler.prototype.union = function(bounds,
dx,
dy,
index,
gridEnabled,
scale,
tr,
constrained,
centered)
Returns the union of the given bounds and location for the specified handle index.
mxCellMarker.prototype.unmark = function()
Hides the marker and fires a mark event.
mxConstraintHandler.prototype.update = function(me,
source,
existingEdge,
point)
Updates the state of this handler based on the given mxMouseEvent.
mxOutline.prototype.update = function(revalidate)
Updates the outline.
mxRubberband.prototype.update = function(x,
y)
Sets currentX and currentY and calls repaint.
mxGraph.prototype.updateAlternateBounds = function(cell,
geo,
willCollapse)
Updates or sets the alternate bounds in the given geometry for the given cell depending on whether the cell is going to be collapsed.
mxAnimation.prototype.updateAnimation = function()
Hook for subclassers to implement the animation.
mxMorphing.prototype.updateAnimation = function()
Animation step.
mxUrlConverter.prototype.updateBaseUrl = function()
Private helper function to update the base URL.
mxConnector.prototype.updateBoundingBox = function()
Updates the boundingBox for this shape using createBoundingBox and augmentBoundingBox and stores the result in boundingBox.
mxShape.prototype.updateBoundingBox = function()
Updates the boundingBox for this shape using createBoundingBox and augmentBoundingBox and stores the result in boundingBox.
mxText.prototype.updateBoundingBox = function()
Updates the boundingBox for this shape using the given node and position.
mxShape.prototype.updateBoundsFromPoints = function()
Updates the bounds based on the points.
mxGraphView.prototype.updateBoundsFromStencil = function(state)
Updates the bounds of the given cell state to reflect the bounds of the stencil if it has a fixed aspect and returns the previous bounds as an mxRectangle if the bounds have been modified or null otherwise.
mxCellState.prototype.updateCachedBounds = function()
Updates the cellBounds and paintBounds.
mxGraph.prototype.updateCellSize = function(cell,
ignoreChildren)
Updates the size of the given cell in the model using cellSizeUpdated.
mxGraphView.prototype.updateCellState = function(state)
Updates the given mxCellState.
mxGraphView.prototype.updateContainerStyle = function(container)
Updates the style of the container after installing the SVG DOM elements.
mxConnectionHandler.prototype.updateCurrentState = function(me,
point)
Updates the current state for a given mouse move event by using the marker.
mxGraphView.prototype.updateEdgeBounds = function(state)
Updates the given state using the bounding box of t he absolute points.
mxGraphView.prototype.updateEdgeLabelOffset = function(state)
Updates mxCellState.absoluteOffset for the given state.
mxGraphModel.prototype.updateEdgeParent = function(edge,
root)
Inner callback to update the parent of the specified mxCell to the nearest-common-ancestor of its two terminals.
mxGraphModel.prototype.updateEdgeParents = function(cell,
root)
Updates the parent for all edges that are connected to cell or one of its descendants using updateEdgeParent.
mxConnectionHandler.prototype.updateEdgeState = function(current,
constraint)
Updates edgeState.
mxGraphView.prototype.updateEdgeState = function(state,
geo)
Validates the given cell state.
mxSvgCanvas2D.prototype.updateFill = function()
Transfers the stroke attributes from state to node.
mxGraphView.prototype.updateFixedTerminalPoint = function(edge,
terminal,
source,
constraint)
Sets the fixed source or target terminal point on the given edge.
mxGraphView.prototype.updateFixedTerminalPoints = function(edge,
source,
target)
Sets the initial absolute terminal points in the given state before the edge style is computed.
mxGraphView.prototype.updateFloatingTerminalPoint = function(edge,
start,
end,
source)
Updates the absolute terminal point in the given state for the given start and end state, where start is the source if source is true.
mxGraphView.prototype.updateFloatingTerminalPoints = function(state,
source,
target)
Updates the terminal points in the given state after the edge style was computed for the edge.
mxSvgCanvas2D.prototype.updateFont = function(node)
Updates the text properties for the given node.
mxText.prototype.updateFont = function(node)
Updates the HTML node(s) to reflect the latest bounds and scale.
mxGraph.prototype.updateGroupBounds = function(cells,
border,
moveGroup,
topBorder,
rightBorder,
bottomBorder,
leftBorder)
Updates the bounds of the given groups to include all children and returns the passed-in cells.
mxSwimlaneLayout.prototype.updateGroupBounds = function()
Updates the bounds of the given array of groups so that it includes all child vertices.
mxSelectionCellsHandler.prototype.updateHandler = function(state)
Updates the handler for the given shape if one exists.
mxEdgeHandler.prototype.updateHint = function(me,
point)
Hook for subclassers do show details while the handler is active.
mxGraphHandler.prototype.updateHint = function(me)
Hook for subclassers do show details while the handler is active.
mxVertexHandler.prototype.updateHint = function(me)
Hook for subclassers do show details while the handler is active.
mxGraphView.prototype.updateHtmlCanvasSize = function(width,
height)
Updates the size of the HTML canvas.
mxText.prototype.updateHtmlFilter = function()
Rotated text rendering quality is bad for IE9 quirks/IE8 standards
mxShape.prototype.updateHtmlFilters = function(node)
Allow optimization by replacing VML with HTML.
mxText.prototype.updateHtmlTransform = function()
Returns the spacing as an mxPoint.
mxConnectionHandler.prototype.updateIcons = function(state,
icons,
me)
Hook to update the icon position(s) based on a mouseOver event.
mxVertexHandler.prototype.updateLivePreview = function(me)
Repaints the live preview.
mxVertexHandler.prototype.updateMinBounds = function()
Initializes the shapes required for this vertex handler.
mxGraph.prototype.updateMouseEvent = function(me,
evtName)
Sets the graphX and graphY properties if the given mxMouseEvent if required and returned the event.
mxGraph.prototype.updatePageBreaks = function(visible,
width,
height)
Invokes from sizeDidChange to redraw the page breaks.
mxVertexHandler.prototype.updateParentHighlight = function()
Updates the highlight of the parent if parentHighlightEnabled is true.
mxGraphView.prototype.updatePoints = function(edge,
points,
source,
target)
Updates the absolute points in the given state using the specified array of mxPoints as the relative points.
mxGraphHandler.prototype.updatePreviewShape = function()
Updates the bounds of the preview shape.
mxEdgeSegmentHandler.prototype.updatePreviewState = function(edge,
point,
terminalState,
me)
Overridden to perform optimization of the edge style result.
mxEdgeHandler.prototype.updatePreviewState = function(edge,
point,
terminalState,
me,
outline)
Updates the given preview state taking into account the state of the constraint handler.
mxText.prototype.updateSize = function(node,
enableWrap)
Updates the HTML node(s) to reflect the latest bounds and scale.
mxSvgCanvas2D.prototype.updateStroke = function()
Transfers the stroke attributes from state to node.
mxSvgCanvas2D.prototype.updateStrokeAttributes = function()
Transfers the stroke attributes from state to node.
mxShape.prototype.updateTransform = function(c,
x,
y,
w,
h)
Sets the scale and rotation on the given canvas.
mxText.prototype.updateValue = function()
Updates the HTML node(s) to reflect the latest bounds and scale.
mxGraphView.prototype.updateVertexLabelOffset = function(state)
Updates the absoluteOffset of the given vertex cell state.
mxGraphView.prototype.updateVertexState = function(state,
geo)
Validates the given cell state.
mxShape.prototype.updateVmlContainer = function()
Updates the bounds of the VML container.
mxText.prototype.updateVmlContainer = function()
Sets the width and height of the container to 1px.
Specifies the resource key for the status message while the document is being updated.
mxGraphHandler.prototype.useGuidesForEvent = function(me)
Returns true if the guides should be used for the given mxMouseEvent.
diff --git a/docs/js-api/index/Functions19.html b/docs/js-api/index/Functions19.html index 8bcb721fd..2c67546ff 100644 --- a/docs/js-api/index/Functions19.html +++ b/docs/js-api/index/Functions19.html @@ -11,17 +11,17 @@ if (browserType) {document.write("
");if (browserV -
Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
V
 validate, mxGraphView
 validateBackground, mxGraphView
 validateBackgroundImage, mxGraphView
 validateBackgroundPage, mxGraphView
 validateCell
 validateCellState, mxGraphView
 validateConnection
 validateEdge, mxGraph
 validateGraph, mxGraph
 validationAlert, mxGraph
 valueChanged, mxCell
 valueForCellChanged, mxGraphModel
 verticalLayout, mxCompactTreeLayout
 visibleStateForCellChanged, mxGraphModel
 visit
W
 warn, mxLog
 WeightedCellSorter, WeightedCellSorter
 weightedMedian, mxMedianHybridCrossingReduction
 write
 writeAttribute, mxObjectCodec
 writeComplexAttribute, mxObjectCodec
 writeDefaults, mxXmlCanvas2D
 writeGraphModel, mxEditor
 writeHead, mxPrintPreview
 writeln
 writePostfix, mxPrintPreview
 writePrimitiveAttribute, mxObjectCodec
Z
 zoom, mxGraph
 zoomActual, mxGraph
 zoomIn, mxGraph
 zoomOut, mxGraph
 zoomTo, mxGraph
 zoomToRect, mxGraph
+
Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
V
 validate, mxGraphView
 validateBackground, mxGraphView
 validateBackgroundImage, mxGraphView
 validateBackgroundPage, mxGraphView
 validateCell
 validateCellState, mxGraphView
 validateConnection
 validateEdge, mxGraph
 validateGraph, mxGraph
 validationAlert, mxGraph
 valueChanged, mxCell
 valueForCellChanged, mxGraphModel
 verticalLayout, mxCompactTreeLayout
 visibleStateForCellChanged, mxGraphModel
 visit
W
 warn, mxLog
 WeightedCellSorter, WeightedCellSorter
 weightedMedian, mxMedianHybridCrossingReduction
 write
 writeAttribute, mxObjectCodec
 writeComplexAttribute, mxObjectCodec
 writeDefaults, mxXmlCanvas2D
 writeGraphModel, mxEditor
 writeHead, mxPrintPreview
 writeln
 writePostfix, mxPrintPreview
 writePrimitiveAttribute, mxObjectCodec
Z
 zoom, mxGraph
 zoomActual, mxGraph
 zoomIn, mxGraph
 zoomOut, mxGraph
 zoomTo, mxGraph
 zoomToRect, mxGraph
-
mxGraphView.prototype.validate = function(cell)
Calls validateCell and validateCellState and updates the graphBounds using getBoundingBox.
mxGraphView.prototype.validateBackground = function()
Calls validateBackgroundImage and validateBackgroundPage.
mxGraphView.prototype.validateBackgroundImage = function()
Validates the background image.
mxGraphView.prototype.validateBackgroundPage = function()
Validates the background page.
mxGraph.prototype.validateCell = function(cell,
context)
Hook method for subclassers to return an error message for the given cell and validation context.
mxGraphView.prototype.validateCell = function(cell,
visible)
Recursively creates the cell state for the given cell if visible is true and the given cell is visible.
mxGraphView.prototype.validateCellState = function(cell,
recurse)
Validates and repaints the mxCellState for the given mxCell.
mxConnectionHandler.prototype.validateConnection = function(source,
target)
Returns the error message or an empty string if the connection for the given source target pair is not valid.
mxEdgeHandler.prototype.validateConnection = function(source,
target)
Returns the error message or an empty string if the connection for the given source, target pair is not valid.
mxGraph.prototype.validateEdge = function(edge,
source,
target)
Hook method for subclassers to return an error message for the given edge and terminals.
mxGraph.prototype.validateGraph = function(cell,
context)
Validates the graph by validating each descendant of the given cell or the root of the model.
mxGraph.prototype.validationAlert = function(message)
Displays the given validation error in a dialog.
mxCell.prototype.valueChanged = function(newValue)
Changes the user object after an in-place edit and returns the previous value.
mxGraphModel.prototype.valueForCellChanged = function(cell,
value)
Inner callback to update the user object of the given mxCell using mxCell.valueChanged and return the previous value, that is, the return value of mxCell.valueChanged.
mxCompactTreeLayout.prototype.verticalLayout = function(node,
parent,
x0,
y0,
bounds)
mxGraphModel.prototype.visibleStateForCellChanged = function(cell,
visible)
Inner callback to update the visible state of the given mxCell using mxCell.setCollapsed and return the previous visible state.
mxDictionary.prototype.visit = function(visitor)
Visits all entries in the dictionary using the given function with the following signature: function(key, value) where key is a string and value is an object.
mxGraphHierarchyModel.prototype.visit = function(visitor,
dfsRoots,
trackAncestors,
seenNodes)
A depth first search through the internal heirarchy model.
mxSwimlaneModel.prototype.visit = function(visitor,
dfsRoots,
trackAncestors,
seenNodes)
A depth first search through the internal heirarchy model.
+
mxGraphView.prototype.validate = function(cell)
Calls validateCell and validateCellState and updates the graphBounds using getBoundingBox.
mxGraphView.prototype.validateBackground = function()
Calls validateBackgroundImage and validateBackgroundPage.
mxGraphView.prototype.validateBackgroundImage = function()
Validates the background image.
mxGraphView.prototype.validateBackgroundPage = function()
Validates the background page.
mxGraph.prototype.validateCell = function(cell,
context)
Hook method for subclassers to return an error message for the given cell and validation context.
mxGraphView.prototype.validateCell = function(cell,
visible)
Recursively creates the cell state for the given cell if visible is true and the given cell is visible.
mxGraphView.prototype.validateCellState = function(cell,
recurse)
Validates and repaints the mxCellState for the given mxCell.
mxConnectionHandler.prototype.validateConnection = function(source,
target)
Returns the error message or an empty string if the connection for the given source target pair is not valid.
mxEdgeHandler.prototype.validateConnection = function(source,
target)
Returns the error message or an empty string if the connection for the given source, target pair is not valid.
mxGraph.prototype.validateEdge = function(edge,
source,
target)
Hook method for subclassers to return an error message for the given edge and terminals.
mxGraph.prototype.validateGraph = function(cell,
context)
Validates the graph by validating each descendant of the given cell or the root of the model.
mxGraph.prototype.validationAlert = function(message)
Displays the given validation error in a dialog.
mxCell.prototype.valueChanged = function(newValue)
Changes the user object after an in-place edit and returns the previous value.
mxGraphModel.prototype.valueForCellChanged = function(cell,
value)
Inner callback to update the user object of the given mxCell using mxCell.valueChanged and return the previous value, that is, the return value of mxCell.valueChanged.
mxCompactTreeLayout.prototype.verticalLayout = function(node,
parent,
x0,
y0,
bounds)
mxGraphModel.prototype.visibleStateForCellChanged = function(cell,
visible)
Inner callback to update the visible state of the given mxCell using mxCell.setCollapsed and return the previous visible state.
mxDictionary.prototype.visit = function(visitor)
Visits all entries in the dictionary using the given function with the following signature: function(key, value) where key is a string and value is an object.
mxGraphHierarchyModel.prototype.visit = function(visitor,
dfsRoots,
trackAncestors,
seenNodes)
A depth first search through the internal heirarchy model.
mxSwimlaneModel.prototype.visit = function(visitor,
dfsRoots,
trackAncestors,
seenNodes)
A depth first search through the internal heirarchy model.
-
warn: function()
Adds all arguments to the console if WARN is enabled.
function WeightedCellSorter(cell,
weightedValue)
Constructs a new weighted cell sorted for the given cell and weight.
mxMedianHybridCrossingReduction.prototype.weightedMedian = function(iteration,
model)
Sweeps up or down the layout attempting to minimise the median placement of connected cells on adjacent ranks
write: function()
Adds the specified strings to the console.
write: function(parent,
text)
Creates a text node for the given string and appends it to the given parent.
mxObjectCodec.prototype.writeAttribute = function(enc,
obj,
name,
value,
node)
Writes the given value into node using writePrimitiveAttribute or writeComplexAttribute depending on the type of the value.
mxObjectCodec.prototype.writeComplexAttribute = function(enc,
obj,
name,
value,
node)
Writes the given value as a child node of the given node.
mxXmlCanvas2D.prototype.writeDefaults = function()
mxEditor.prototype.writeGraphModel = function (linefeed)
Hook to create the string representation of the diagram.
mxPrintPreview.prototype.writeHead = function(doc,
css)
Writes the HEAD section into the given document, without the opening and closing HEAD tags.
writeln: function()
Adds the specified strings to the console, appending a linefeed at the end of each string.
writeln: function(parent,
text)
Creates a text node for the given string and appends it to the given parent with an additional linefeed.
mxPrintPreview.prototype.writePostfix = function(doc)
Called before closing the body of the page.
mxObjectCodec.prototype.writePrimitiveAttribute = function(enc,
obj,
name,
value,
node)
Writes the given value as an attribute of the given node.
+
warn: function()
Adds all arguments to the console if WARN is enabled.
function WeightedCellSorter(cell,
weightedValue)
Constructs a new weighted cell sorted for the given cell and weight.
mxMedianHybridCrossingReduction.prototype.weightedMedian = function(iteration,
model)
Sweeps up or down the layout attempting to minimise the median placement of connected cells on adjacent ranks
write: function()
Adds the specified strings to the console.
write: function(parent,
text)
Creates a text node for the given string and appends it to the given parent.
mxObjectCodec.prototype.writeAttribute = function(enc,
obj,
name,
value,
node)
Writes the given value into node using writePrimitiveAttribute or writeComplexAttribute depending on the type of the value.
mxObjectCodec.prototype.writeComplexAttribute = function(enc,
obj,
name,
value,
node)
Writes the given value as a child node of the given node.
mxXmlCanvas2D.prototype.writeDefaults = function()
mxEditor.prototype.writeGraphModel = function (linefeed)
Hook to create the string representation of the diagram.
mxPrintPreview.prototype.writeHead = function(doc,
css)
Writes the HEAD section into the given document, without the opening and closing HEAD tags.
writeln: function()
Adds the specified strings to the console, appending a linefeed at the end of each string.
writeln: function(parent,
text)
Creates a text node for the given string and appends it to the given parent with an additional linefeed.
mxPrintPreview.prototype.writePostfix = function(doc)
Called before closing the body of the page.
mxObjectCodec.prototype.writePrimitiveAttribute = function(enc,
obj,
name,
value,
node)
Writes the given value as an attribute of the given node.
-
mxGraph.prototype.zoom = function(factor,
center)
Zooms the graph using the given factor.
mxGraph.prototype.zoomActual = function()
Resets the zoom and panning in the view.
mxGraph.prototype.zoomIn = function()
Zooms into the graph by zoomFactor.
mxGraph.prototype.zoomOut = function()
Zooms out of the graph by zoomFactor.
mxGraph.prototype.zoomTo = function(scale,
center)
Zooms the graph to the given scale with an optional boolean center argument, which is passd to zoom.
mxGraph.prototype.zoomToRect = function(rect)
Zooms the graph to the specified rectangle.
+
mxGraph.prototype.zoom = function(factor,
center)
Zooms the graph using the given factor.
mxGraph.prototype.zoomActual = function()
Resets the zoom and panning in the view.
mxGraph.prototype.zoomIn = function()
Zooms into the graph by zoomFactor.
mxGraph.prototype.zoomOut = function()
Zooms out of the graph by zoomFactor.
mxGraph.prototype.zoomTo = function(scale,
center)
Zooms the graph to the given scale with an optional boolean center argument, which is passd to zoom.
mxGraph.prototype.zoomToRect = function(rect)
Zooms the graph to the specified rectangle.
diff --git a/docs/js-api/index/Functions3.html b/docs/js-api/index/Functions3.html index 1596e1782..182a3fea7 100644 --- a/docs/js-api/index/Functions3.html +++ b/docs/js-api/index/Functions3.html @@ -13,7 +13,7 @@ if (browserType) {document.write("
");if (browserV
Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
C
 calcAttraction, mxFastOrganicLayout
 calcPositions, mxFastOrganicLayout
 calcRepulsion, mxFastOrganicLayout
 calcRowDims, mxRadialTreeLayout
 calculateCrossings, mxMedianHybridCrossingReduction
 calculatedWeightedValue, mxCoordinateAssignment
 calculateRankCrossing, mxMedianHybridCrossingReduction
 calculateWidestRank, mxCoordinateAssignment
 canExportCell, mxGraph
 canImportCell, mxGraph
 canRedo, mxUndoManager
 canUndo, mxUndoManager
 cascadeOpacity
 cellAdded
 cellCloned, mxGraphModel
 cellConnected, mxGraph
 cellLabelChanged, mxGraph
 cellRemoved
 cellResized, mxGraph
 cellsAdded
 cellsFolded, mxGraph
 cellSizeUpdated, mxGraph
 cellsMoved
 cellsOrdered, mxGraph
 cellsRemoved, mxGraph
 cellsResized
 cellsToggled, mxGraph
 center, mxGraph
 changePoints, mxEdgeHandler
 changeSelection, mxGraphSelectionModel
 changeTerminalPoint, mxEdgeHandler
 check, mxMultiplicity
 checkBounds
 checkLabelHandle, mxEdgeHandler
 checkNeighbors, mxMultiplicity
 checkTerminal, mxMultiplicity
 checkTolerance, mxVertexHandler
 checkType, mxMultiplicity
 circle, mxCircleLayout
 clear
 clearCellOverlays, mxGraph
 clearSelection
 click, mxGraph
 clone
 cloneCell, mxGraphModel
 cloneCellImpl, mxGraphModel
 cloneCells
 clonePreviewState, mxEdgeHandler
 cloneTemplate, mxObjectCodec
 cloneValue, mxCell
 close
 collapsedStateForCellChanged, mxGraphModel
 compare
 computeAspect, mxStencil
 configure, mxEditor
 configureCanvas
 configureShape, mxCellRenderer
 confirm, mxUtils
 connect
 connectCell, mxGraph
 constrainChild, mxGraph
 constrainChildCells, mxGraph
 consume
 consumeCycleAttribute, mxEditor
 consumeMouseEvent, mxGraph
 consumePanningTrigger, mxPanningHandler
 contains
 convert, mxUrlConverter
 convertAttributeFromXml, mxObjectCodec
 convertAttributeToXml, mxObjectCodec
 convertHtml, mxSvgCanvas2D
 convertPoint
 convertValueToString, mxGraph
 convertWaypoint, mxConnectionHandler
 copy, mxClipboard
 copyStyle, mxHandle
 create
 createBackgroundPageShape, mxGraphView
 createBends
 createBoundingBox, mxShape
 createBounds, mxVertexHandler
 createCanvas, mxShape
 createCellEditor, mxGraph
 createCellOverlays, mxCellRenderer
 createCellRenderer, mxGraph
 createClip, mxSvgCanvas2D
 createConditions, mxDefaultPopupMenu
 createConnectionHandler, mxGraph
 createControl, mxCellRenderer
 createControlClickHandler, mxCellRenderer
 createCustomHandles
 createDashPattern, mxSvgCanvas2D
 createDefaultEdgeStyle, mxStylesheet
 createDefaultVertexStyle, mxStylesheet
 createDiagramLayout, mxEditor
 createDiv, mxSvgCanvas2D
 createDragElement, mxDragSource
 createEdge
 createEdgeHandler, mxGraph
 createEdgeSegmentHandler, mxGraph
 createEdgeState, mxConnectionHandler
 createElbowEdgeHandler, mxGraph
 createElement
 createFill, mxVmlCanvas2D
 createGradientId, mxSvgCanvas2D
 createGraph
 createGraphHandler, mxGraph
 createGraphView, mxGraph
 createGroup, mxEditor
 createGroupCell, mxGraph
 createGuideShape, mxGuide
 createHandler, mxGraph
 createHandlers, mxGraph
 createHandleShape, mxEdgeHandler
 createHighlightShape, mxConstraintHandler
 createHtml
 createHtmlPane, mxGraphView
 createIcons, mxConnectionHandler
 createId, mxGraphModel
 createImage, mxUtils
 createIndicatorShape, mxCellRenderer
 createInternalCells
 createLabel, mxCellRenderer
 createLabelHandleShape, mxEdgeHandler
 createLayoutManager, mxEditor
 createLine, mxCompactTreeLayout
 createMarker
 createMenu, mxDefaultPopupMenu
 createNode, mxCompactTreeLayout
 createPageSelector, mxPrintPreview
 createPanningHandler, mxGraph
 createPanningManager, mxGraph
 createParentHighlightShape, mxVertexHandler
 createPopupMenu, mxEditor
 createPopupMenuHandler, mxGraph
 createPreviewElement, mxDragSource
 createPreviewShape, mxGraphHandler
 createProperties, mxEditor
 createRect, mxVmlCanvas2D
 createRoot, mxGraphModel
 createSelectionCellsHandler, mxGraph
 createSelectionModel, mxGraph
 createSelectionShape
 createShadow
 createShadowFill, mxVmlCanvas2D
 createShadowStroke, mxVmlCanvas2D
 createShape
 createSizer
 createSizerShape, mxVertexHandler
 createState
 createStroke, mxVmlCanvas2D
 createStyle, mxSvgCanvas2D
 createStylesheet, mxGraph
 createSubmenu, mxPopupMenu
 createSvg, mxShape
 createSvgCanvas, mxShape
 createSvgGradient, mxSvgCanvas2D
 createSwimlaneLayout, mxEditor
 createSwimlaneManager, mxEditor
 createTargetVertex, mxConnectionHandler
 createTasks, mxEditor
 createText, mxVmlCanvas2D
 createTolerance, mxSvgCanvas2D
 createToolbar, mxEditor
 createTooltipHandler, mxGraph
 createTransparentFill, mxVmlCanvas2D
 createTransparentSvgRectangle, mxShape
 createUndoableEdit, mxGraphModel
 createUrlConverter, mxAbstractCanvas2D
 createVertex, mxGraph
 createVertexHandler, mxGraph
 createVirtualBend, mxElbowEdgeHandler
 createVirtualBends, mxEdgeHandler
 createVml, mxShape
 createVmlCanvas, mxShape
 createVmlElement, mxVmlCanvas2D
 createVmlGroup, mxShape
 createVmlPane, mxGraphView
 createXmlDocument, mxUtils
 crossingStage
 curveTo
 cut, mxClipboard
 cycleAttribute, mxEditor
 cycleStage
-
mxFastOrganicLayout.prototype.calcAttraction = function()
Calculates the attractive forces between all laid out nodes linked by edges
mxFastOrganicLayout.prototype.calcPositions = function()
Takes the displacements calculated for each cell and applies them to the local cache of cell positions.
mxFastOrganicLayout.prototype.calcRepulsion = function()
Calculates the repulsive forces between all laid out nodes
mxRadialTreeLayout.prototype.calcRowDims = function(row,
rowNum)
Recursive function to calculate the dimensions of each row
mxMedianHybridCrossingReduction.prototype.calculateCrossings = function(model)
Calculates the total number of edge crossing in the current graph.
mxCoordinateAssignment.prototype.calculatedWeightedValue = function(
   currentCell,
   collection
)
Calculates the priority the specified cell has based on the type of its cell and the cells it is connected to on the next layer
mxMedianHybridCrossingReduction.prototype.calculateRankCrossing = function(
   i,
   model
)
Calculates the number of edges crossings between the specified rank and the rank below it.
mxCoordinateAssignment.prototype.calculateWidestRank = function(graph,
model)
Calculates the width rank in the hierarchy.
mxGraph.prototype.canExportCell = function(cell)
Returns true if the given cell may be exported to the clipboard.
mxGraph.prototype.canImportCell = function(cell)
Returns true if the given cell may be imported from the clipboard.
mxUndoManager.prototype.canRedo = function()
Returns true if a redo is possible.
mxUndoManager.prototype.canUndo = function()
Returns true if an undo is possible.
cascadeOpacity: function(graph,
cell,
opacity)
Sets the opacity on the given cell and its descendants.
cascadeOpacity: function(graph,
cell,
opacity)
See mxEffects.cascadeOpacity.
mxGraphModel.prototype.cellAdded = function(cell)
Inner callback to update cells when a cell has been added.
mxGraphSelectionModel.prototype.cellAdded = function(cell)
Inner callback to add the specified mxCell to the selection.
mxGraphModel.prototype.cellCloned = function(cell)
Hook for cloning the cell.
mxGraph.prototype.cellConnected = function(edge,
terminal,
source,
constraint)
Sets the new terminal for the given edge and resets the edge points if resetEdgesOnConnect is true.
mxGraph.prototype.cellLabelChanged = function(cell,
value,
autoSize)
Sets the new label for a cell.
mxGraphModel.prototype.cellRemoved = function(cell)
Inner callback to update cells when a cell has been removed.
mxGraphSelectionModel.prototype.cellRemoved = function(cell)
Inner callback to remove the specified mxCell from the selection.
mxGraph.prototype.cellResized = function(cell,
bounds,
ignoreRelative,
recurse)
Resizes the parents recursively so that they contain the complete area of the resized child cell.
mxGraph.prototype.cellsAdded = function(cells,
parent,
index,
source,
target,
absolute,
constrain)
Adds the specified cells to the given parent.
mxSwimlaneManager.prototype.cellsAdded = function(cells)
Called if any cells have been added.
mxGraph.prototype.cellsFolded = function(cells,
collapse,
recurse,
checkFoldable)
Sets the collapsed state of the specified cells.
mxGraph.prototype.cellSizeUpdated = function(cell,
ignoreChildren)
Updates the size of the given cell in the model using getPreferredSizeForCell to get the new size.
mxGraph.prototype.cellsMoved = function(cells,
dx,
dy,
disconnect,
constrain,
extend)
Moves the specified cells by the given vector, disconnecting the cells using disconnectGraph is disconnect is true.
mxLayoutManager.prototype.cellsMoved = function(cells,
evt)
Called from the moveHandler.
mxGraph.prototype.cellsOrdered = function(cells,
back)
Moves the given cells to the front or back.
mxGraph.prototype.cellsRemoved = function(cells)
Removes the given cells from the model.
mxGraph.prototype.cellsResized = function(cells,
bounds,
recurse)
Sets the bounds of the given cells and fires a mxEvent.CELLS_RESIZED event.
mxSwimlaneManager.prototype.cellsResized = function(cells)
Called if any cells have been resizes.
mxGraph.prototype.cellsToggled = function(cells,
show)
Sets the visible state of the specified cells.
mxGraph.prototype.center = function(horizontal,
vertical,
cx,
cy)
Centers the graph in the container.
mxEdgeHandler.prototype.changePoints = function(edge,
points,
clone)
Changes the control points of the given edge in the graph model.
mxGraphSelectionModel.prototype.changeSelection = function(added,
removed)
Inner callback to add the specified mxCell to the selection.
mxEdgeHandler.prototype.changeTerminalPoint = function(edge,
point,
isSource,
clone)
Changes the terminal point of the given edge.
mxMultiplicity.prototype.check = function(graph,
edge,
source,
target,
sourceOut,
targetIn)
Checks the multiplicity for the given arguments and returns the error for the given connection or null if the multiplicity does not apply.
mxShape.prototype.checkBounds = function()
Returns true if the bounds are not null and all of its variables are numeric.
mxText.prototype.checkBounds = function()
Returns true if the bounds are not null and all of its variables are numeric.
mxEdgeHandler.prototype.checkLabelHandle = function(b)
Checks if the label handle intersects the given bounds and moves it if it intersects.
mxMultiplicity.prototype.checkNeighbors = function(graph,
edge,
source,
target)
Checks if there are any valid neighbours in validNeighbors.
mxMultiplicity.prototype.checkTerminal = function(graph,
terminal,
edge)
Checks the given terminal cell and returns true if this rule applies.
mxVertexHandler.prototype.checkTolerance = function(me)
Checks if the coordinates for the given event are within the mxGraph.tolerance.
mxMultiplicity.prototype.checkType = function(graph,
value,
type,
attr,
attrValue)
Checks the type of the given value.
mxCircleLayout.prototype.circle = function(vertices,
r,
left,
top)
Executes the circular layout for the specified array of vertices and the given radius.
mxDictionary.prototype.clear = function()
Clears the dictionary.
mxGraphModel.prototype.clear = function()
Sets a new root using createRoot.
mxGraphSelectionModel.prototype.clear = function()
Clears the selection and fires a change event if the selection was not empty.
mxGraphView.prototype.clear = function(cell,
force,
recurse)
Removes the state of the given cell and all descendants if the given cell is not the current root.
clear: function(obj)
Deletes the ID from the given object or function.
mxShape.prototype.clear = function()
Removes all child nodes and resets all CSS.
mxUndoManager.prototype.clear = function()
Clears the command history.
mxGraph.prototype.clearCellOverlays = function(cell)
Removes all mxCellOverlays in the graph for the given cell and all its descendants.
mxGraph.prototype.clearSelection = function()
Clears the selection using mxGraphSelectionModel.clear.
clearSelection: function()
Clears the current selection in the page.
mxGraph.prototype.click = function(me)
Processes a singleclick on an optional cell and fires a click event.
mxCell.prototype.clone = function()
Returns a clone of the cell.
mxCellState.prototype.clone = function()
Returns a clone of this mxPoint.
mxPoint.prototype.clone = function()
Returns a clone of this mxPoint.
clone: function(obj,
transients,
shallow)
Recursively clones the specified object ignoring all fieldnames in the given array of transient fields.
mxGraphModel.prototype.cloneCell = function(cell)
Returns a deep clone of the given mxCell (including the children) which is created using cloneCells.
mxGraphModel.prototype.cloneCellImpl = function(cell,
mapping,
includeChildren)
Inner helper method for cloning cells recursively.
mxGraph.prototype.cloneCells = function(cells,
allowInvalidEdges,
mapping)
Returns the clones for the given cells.
mxGraphModel.prototype.cloneCells = function(cells,
includeChildren,
mapping)
Returns an array of clones for the given array of mxCells.
mxEdgeHandler.prototype.clonePreviewState = function(point,
terminal)
Returns a clone of the current preview state for the given point and terminal.
mxObjectCodec.prototype.cloneTemplate = function()
Returns a new instance of the template for this codec.
mxCell.prototype.cloneValue = function()
Returns a clone of the cell’s user object.
mxAbstractCanvas2D.prototype.close = function(x1,
y1,
x2,
y2,
x3,
y3)
Closes the current path.
mxPrintPreview.prototype.close = function()
Closes the print preview window.
mxXmlCanvas2D.prototype.close = function()
Closes the current path.
mxGraphModel.prototype.collapsedStateForCellChanged = function(cell,
collapsed)
Inner callback to update the collapsed state of the given mxCell using mxCell.setCollapsed and return the previous collapsed state.
MedianCellSorter.prototype.compare = function(a,
b)
Compares two MedianCellSorters.
compare: function(p1,
p2)
Compares the given cell paths and returns -1 if p1 is smaller, 0 if p1 is equal and 1 if p1 is greater than p2.
WeightedCellSorter.prototype.compare = function(a,
b)
Compares two WeightedCellSorters.
mxStencil.prototype.computeAspect = function(shape,
x,
y,
w,
h,
direction)
Returns a rectangle that contains the offset in x and y and the horizontal and vertical scale in width and height used to draw this shape inside the given mxRectangle.
mxEditor.prototype.configure = function (node)
Configures the editor using the specified node.
mxShape.prototype.configureCanvas = function(c,
x,
y,
w,
h)
Sets the state of the canvas for drawing the shape.
mxText.prototype.configureCanvas = function(c,
x,
y,
w,
h)
Sets the state of the canvas for drawing the shape.
mxCellRenderer.prototype.configureShape = function(state)
Configures the shape for the given cell state.
confirm: function(message)
Displays the given message in a confirm dialog.
mxConnectionHandler.prototype.connect = function(source,
target,
evt,
dropTarget)
Connects the given source and target using a new edge.
mxDefaultToolbar.prototype.connect = function(vertex,
evt,
source)
Handles a drop by connecting the given vertex to the given source cell.
mxEdgeHandler.prototype.connect = function(edge,
terminal,
isSource,
isClone,
me)
Changes the terminal or terminal point of the given edge in the graph model.
mxGraph.prototype.connectCell = function(edge,
terminal,
source,
constraint)
Connects the specified end of the given edge to the given terminal using cellConnected and fires mxEvent.CONNECT_CELL while the transaction is in progress.
mxGraph.prototype.constrainChild = function(cell)
Keeps the given cell inside the bounds returned by getCellContainmentArea for its parent, according to the rules defined by getOverlap and isConstrainChild.
mxGraph.prototype.constrainChildCells = function(cell)
Constrains the children of the given cell using constrainChild.
consume: function(evt,
preventDefault,
stopPropagation)
Consumes the given event.
mxEventObject.prototype.consume = function()
Consumes the event.
mxMouseEvent.prototype.consume = function(preventDefault)
Sets consumed to true and invokes preventDefault on the native event if such a method is defined.
mxEditor.prototype.consumeCycleAttribute = function (cell)
Returns the next attribute in cycleAttributeValues or null, if not attribute should be used in the specified cell.
mxGraph.prototype.consumeMouseEvent = function(evtName,
me,
sender)
Destroys the graph and all its resources.
mxPanningHandler.prototype.consumePanningTrigger = function(me)
Consumes the given mxMouseEvent if it was a panning trigger in mouseDown.
mxGraphModel.prototype.contains = function(cell)
Returns true if the model contains the given mxCell.
contains: function(bounds,
x,
y)
Returns true if the specified point (x, y) is contained in the given rectangle.
mxUrlConverter.prototype.convert = function(url)
Converts the given URL to an absolute URL with protol and domain.
mxObjectCodec.prototype.convertAttributeFromXml = function(dec,
attr,
obj)
Converts booleans and numeric values to the respective types.
mxObjectCodec.prototype.convertAttributeToXml = function(enc,
obj,
name,
value)
Converts true to “1” and false to “0” is isBooleanAttribute returns true.
mxSvgCanvas2D.prototype.convertHtml = function(val)
Converts the given HTML string to XHTML.
mxEdgeHandler.prototype.convertPoint = function(point,
gridEnabled)
Converts the given point in-place from screen to unscaled, untranslated graph coordinates and applies the grid.
mxElbowEdgeHandler.prototype.convertPoint = function(point,
gridEnabled)
Converts the given point in-place from screen to unscaled, untranslated graph coordinates and applies the grid.
convertPoint: function(container,
x,
y)
Converts the specified point (x, y) using the offset of the specified container and returns a new mxPoint with the result.
mxGraph.prototype.convertValueToString = function(cell)
Returns the textual representation for the given cell.
mxConnectionHandler.prototype.convertWaypoint = function(point)
Converts the given point from screen coordinates to model coordinates.
copy: function(graph,
cells)
Copies the given array of mxCells from the specified graph to cells.
mxHandle.prototype.copyStyle = function(key)
Sets the cell style with the given name to the corresponding value in state.
create: function(cell)
Creates the cell path for the given cell.
mxGraphView.prototype.createHtml = function()
Creates the DOM nodes for the HTML display.
mxShape.prototype.create = function(container)
Creates and returns the DOM node(s) for the shape in the given container.
mxXmlRequest.prototype.create = function()
Creates and returns the inner request object.
mxGraphView.prototype.createBackgroundPageShape = function(bounds)
Creates and returns the shape used as the background page.
Adds custom bends for the center of each segment.
mxEdgeHandler.prototype.createBends = function()
Creates and returns the bends used for modifying the edge.
mxElbowEdgeHandler.prototype.createBends = function()
Overrides mxEdgeHandler.createBends to create custom bends.
mxShape.prototype.createBoundingBox = function()
Returns a new rectangle that represents the bounding box of the bare shape with no shadows or strokewidths.
Helper method to create an mxRectangle around the given centerpoint with a width and height of 2*s or 6, if no s is given.
mxShape.prototype.createCanvas = function()
Destroys the given canvas which was used for drawing.
mxGraph.prototype.createCellEditor = function()
Creates a new mxCellEditor to be used in this graph.
mxCellRenderer.prototype.createCellOverlays = function(state)
Creates the actual shape for showing the overlay for the given cell state.
mxGraph.prototype.createCellRenderer = function()
Creates a new mxCellRenderer to be used in this graph.
mxSvgCanvas2D.prototype.createClip = function(x,
y,
w,
h)
Creates a clip for the given coordinates.
mxDefaultPopupMenu.prototype.createConditions = function(editor,
cell,
evt)
Evaluates the default conditions for the given context.
mxGraph.prototype.createConnectionHandler = function()
Creates and returns a new mxConnectionHandler to be used in this graph.
mxCellRenderer.prototype.createControl = function(state)
Creates the control for the given cell state.
mxCellRenderer.prototype.createControlClickHandler = function(state)
Hook for creating the click handler for the folding icon.
mxEdgeHandler.prototype.createCustomHandles = function()
Returns an array of custom handles.
mxVertexHandler.prototype.createCustomHandles = function()
Returns an array of custom handles.
mxSvgCanvas2D.prototype.createDashPattern = function(scale)
Creates the SVG dash pattern for the given state.
mxStylesheet.prototype.createDefaultEdgeStyle = function()
Creates and returns the default edge style.
mxStylesheet.prototype.createDefaultVertexStyle = function()
Creates and returns the default vertex style.
mxEditor.prototype.createDiagramLayout = function ()
Creates the layout instance used to layout the swimlanes in the diagram.
mxSvgCanvas2D.prototype.createDiv = function(str,
align,
valign,
style,
overflow)
Private helper function to create SVG elements
mxDragSource.prototype.createDragElement = function(evt)
Creates and returns a clone of the dragElementPrototype or the element if the former is not defined.
mxConnectionHandler.prototype.createEdge = function(value,
source,
target,
style)
Creates and returns a new edge using factoryMethod if one exists.
mxEditor.prototype.createEdge = function (source,
target)
Uses defaultEdge as the prototype for creating new edges in the connection handler of the graph.
mxGraph.prototype.createEdge = function(parent,
id,
value,
source,
target,
style)
Hook method that creates the new edge for insertEdge.
mxGraph.prototype.createEdgeHandler = function(state)
Hooks to create a new mxEdgeHandler for the given mxCellState.
mxGraph.prototype.createEdgeSegmentHandler = function(state)
Hooks to create a new mxEdgeSegmentHandler for the given mxCellState.
mxConnectionHandler.prototype.createEdgeState = function(me)
Hook to return an mxCellState which may be used during the preview.
mxGraph.prototype.createElbowEdgeHandler = function(state)
Hooks to create a new mxElbowEdgeHandler for the given mxCellState.
mxSvgCanvas2D.prototype.createElement = function(tagName,
namespace)
Private helper function to create SVG elements
mxVmlCanvas2D.prototype.createElement = function(name)
Creates the given element using the document.
mxXmlCanvas2D.prototype.createElement = function(name)
Creates the given element using the owner document of root.
mxVmlCanvas2D.prototype.createFill = function()
Creates a fill for the current state.
mxSvgCanvas2D.prototype.createGradientId = function(start,
end,
alpha1,
alpha2,
direction)
Private helper function to create SVG elements
mxEditor.prototype.createGraph = function ()
Creates the graph for the editor.
mxOutline.prototype.createGraph = function(container)
Creates the mxGraph used in the outline.
mxGraph.prototype.createGraphHandler = function()
Creates and returns a new mxGraphHandler to be used in this graph.
mxGraph.prototype.createGraphView = function()
Creates a new mxGraphView to be used in this graph.
mxEditor.prototype.createGroup = function ()
Creates and returns a clone of defaultGroup to be used as a new group cell in group.
mxGraph.prototype.createGroupCell = function(cells)
Hook for creating the group cell to hold the given array of mxCells if no group cell was given to the group function.
mxGuide.prototype.createGuideShape = function(horizontal)
Returns the mxShape to be used for painting the respective guide.
mxGraph.prototype.createHandler = function(state)
Creates a new handler for the given cell state.
mxGraph.prototype.createHandlers = function()
Creates the tooltip-, panning-, connection- and graph-handler (in this order).
mxEdgeHandler.prototype.createHandleShape = function(index)
Creates the shape used to display the given bend.
mxConstraintHandler.prototype.createHighlightShape = function()
Create the shape used to paint the highlight.
mxImageShape.prototype.createHtml = function()
Creates and returns the HTML DOM node(s) to represent this shape.
mxShape.prototype.createHtml = function()
Creates and returns the HTML DOM node(s) to represent this shape.
mxGraphView.prototype.createHtmlPane = function(width,
height)
Creates and returns a drawing pane in HTML (DIV).
mxConnectionHandler.prototype.createIcons = function(state)
Creates the array mxImageShapes that represent the connect icons for the given mxCellState.
mxGraphModel.prototype.createId = function(cell)
Hook method to create an Id for the specified cell.
createImage: function(src)
Creates and returns an image (IMG node) or VML image (v:image) in IE6 in quirks mode.
mxCellRenderer.prototype.createIndicatorShape = function(state)
Creates the indicator shape for the given cell state.
mxGraphHierarchyModel.prototype.createInternalCells = function(layout,
vertices,
internalVertices)
Creates all edges in the internal model
mxSwimlaneModel.prototype.createInternalCells = function(layout,
vertices,
internalVertices)
Creates all edges in the internal model
mxCellRenderer.prototype.createLabel = function(state,
value)
Creates the label for the given cell state.
mxEdgeHandler.prototype.createLabelHandleShape = function()
Creates the shape used to display the the label handle.
mxEditor.prototype.createLayoutManager = function (graph)
Creates a layout manager for the swimlane and diagram layouts, that is, the locally defined inter- and intraswimlane layouts.
mxCompactTreeLayout.prototype.createLine = function(dx,
dy,
next)
mxConnectionHandler.prototype.createMarker = function()
Creates and returns the mxCellMarker used in marker.
mxConnector.prototype.createMarker = function(c,
pts,
source)
Prepares the marker by adding offsets in pts and returning a function to paint the marker.
mxEdgeHandler.prototype.createMarker = function()
Creates and returns the mxCellMarker used in marker.
createMarker: function(canvas,
shape,
type,
pe,
unitX,
unitY,
size,
source,
sw,
filled)
Returns a function to paint the given marker.
mxDefaultPopupMenu.prototype.createMenu = function(editor,
menu,
cell,
evt)
This function is called from mxEditor to add items to the given menu based on config.
mxCompactTreeLayout.prototype.createNode = function(cell)
mxPrintPreview.prototype.createPageSelector = function(vpages,
hpages)
Creates the page selector table.
mxGraph.prototype.createPanningHandler = function()
Creates and returns a new mxPanningHandler to be used in this graph.
mxGraph.prototype.createPanningManager = function()
Creates and returns an mxPanningManager.
mxVertexHandler.prototype.createParentHighlightShape = function(bounds)
Creates the shape used to draw the selection border.
mxEditor.prototype.createPopupMenu = function (menu,
cell,
evt)
Uses popupHandler to create the menu in the graph’s panning handler.
mxGraph.prototype.createPopupMenuHandler = function()
Creates and returns a new mxPopupMenuHandler to be used in this graph.
mxDragSource.prototype.createPreviewElement = function(graph)
Creates and returns an element which can be used as a preview in the given graph.
mxGraphHandler.prototype.createPreviewShape = function(bounds)
Creates the shape used to draw the preview for the given bounds.
mxEditor.prototype.createProperties = function (cell)
Creates and returns the DOM node that represents the contents of the properties dialog for the given cell.
mxVmlCanvas2D.prototype.createRect = function(nodeName,
x,
y,
w,
h)
Sets the glass gradient.
mxGraphModel.prototype.createRoot = function()
Creates a new root cell with a default layer (child 0).
mxGraph.prototype.createSelectionCellsHandler = function()
Creates and returns a new mxTooltipHandler to be used in this graph.
mxGraph.prototype.createSelectionModel = function()
Creates a new mxGraphSelectionModel to be used in this graph.
Creates the shape used to draw the selection border.
mxVertexHandler.prototype.createSelectionShape = function(bounds)
Creates the shape used to draw the selection border.
mxSvgCanvas2D.prototype.createShadow = function(node)
Creates a shadow for the given node.
mxVmlCanvas2D.prototype.createShadow = function(node,
filled,
stroked)
Creates a shadow for the given node.
mxVmlCanvas2D.prototype.createShadowFill = function()
Creates the fill for the shadow.
mxVmlCanvas2D.prototype.createShadowStroke = function()
Creates the stroke for the shadow.
mxCellHighlight.prototype.createShape = function()
Creates and returns the highlight shape for the given state.
mxCellRenderer.prototype.createShape = function(state)
Creates and returns the shape for the given cell state.
mxConnectionHandler.prototype.createShape = function()
Creates the preview shape for new connections.
mxHandle.prototype.createShape = function(html)
Creates and returns the shape for this handle.
mxRubberband.prototype.createShape = function()
Creates the rubberband selection shape.
mxOutline.prototype.createSizer = function()
Creates the shape used as the sizer.
mxVertexHandler.prototype.createSizer = function(cursor,
index,
size,
fillColor)
Creates a sizer handle for the specified cursor and index and returns the new mxRectangleShape that represents the handle.
mxVertexHandler.prototype.createSizerShape = function(bounds,
index,
fillColor)
Creates the shape used for the sizer handle for the specified bounds an index.
mxAbstractCanvas2D.prototype.createState = function()
Creates the state of the this canvas.
mxGraphView.prototype.createState = function(cell)
Creates and returns an mxCellState for the given cell and initializes it using mxCellRenderer.initialize.
mxVmlCanvas2D.prototype.createStroke = function()
Creates a fill for the current state.
mxSvgCanvas2D.prototype.createStyle = function(x)
Creates the optional style section.
mxGraph.prototype.createStylesheet = function()
Creates a new mxGraphSelectionModel to be used in this graph.
mxPopupMenu.prototype.createSubmenu = function(parent)
Creates the nodes required to add submenu items inside the given parent item.
mxShape.prototype.createSvg = function()
Creates and returns the SVG node(s) to represent this shape.
mxShape.prototype.createSvgCanvas = function()
Creates and returns an mxSvgCanvas2D for rendering this shape.
mxSvgCanvas2D.prototype.createSvgGradient = function(start,
end,
alpha1,
alpha2,
direction)
Creates the given SVG gradient.
mxEditor.prototype.createSwimlaneLayout = function ()
Creates the layout instance used to layout the children of each swimlane.
mxEditor.prototype.createSwimlaneManager = function (graph)
Sets the graph’s container using mxGraph.init.
mxConnectionHandler.prototype.createTargetVertex = function(evt,
source)
Hook method for creating new vertices on the fly if no target was under the mouse.
mxEditor.prototype.createTasks = function (div)
Updates the contents of the given DOM node to display the tasks associated with the current editor state.
Creates the innermost element that contains the HTML text.
mxSvgCanvas2D.prototype.createTolerance = function(node)
Creates a hit detection tolerance shape for the given node.
mxEditor.prototype.createToolbar = function ()
Creates the toolbar with no container.
mxGraph.prototype.createTooltipHandler = function()
Creates and returns a new mxTooltipHandler to be used in this graph.
mxVmlCanvas2D.prototype.createTransparentFill = function()
Creates a transparent fill.
mxShape.prototype.createTransparentSvgRectangle = function(x,
y,
w,
h)
Adds a transparent rectangle that catches all events.
mxGraphModel.prototype.createUndoableEdit = function()
Creates a new mxUndoableEdit that implements the notify function to fire a change and notify event through the mxUndoableEdit’s source.
mxAbstractCanvas2D.prototype.createUrlConverter = function()
Create a new mxUrlConverter and returns it.
mxGraph.prototype.createVertex = function(parent,
id,
value,
x,
y,
width,
height,
style,
relative)
Hook method that creates the new vertex for insertVertex.
mxGraph.prototype.createVertexHandler = function(state)
Hooks to create a new mxVertexHandler for the given mxCellState.
mxElbowEdgeHandler.prototype.createVirtualBend = function(dblClickHandler)
Creates a virtual bend that supports double clicking and calls mxGraph.flipEdge.
mxEdgeHandler.prototype.createVirtualBends = function()
Creates and returns the bends used for modifying the edge.
mxShape.prototype.createVml = function()
Creates and returns the VML node to represent this shape.
mxShape.prototype.createVmlCanvas = function()
Creates and returns an mxVmlCanvas2D for rendering this shape.
mxVmlCanvas2D.prototype.createVmlElement = function(name)
Creates a new element using createElement and prefixes the given name with mxClient.VML_PREFIX.
mxShape.prototype.createVmlGroup = function()
Returns the temporary element used for rendering in IE8 standards mode.
mxGraphView.prototype.createVmlPane = function(width,
height)
Creates a drawing pane in VML (group).
createXmlDocument: function()
Returns a new, empty XML document.
mxHierarchicalLayout.prototype.crossingStage = function(parent)
Executes the crossing stage using mxMedianHybridCrossingReduction.
mxSwimlaneLayout.prototype.crossingStage = function(parent)
Executes the crossing stage using mxMedianHybridCrossingReduction.
mxAbstractCanvas2D.prototype.curveTo = function(x1,
y1,
x2,
y2,
x3,
y3)
Adds a bezier curve to the current path.
mxXmlCanvas2D.prototype.curveTo = function(x1,
y1,
x2,
y2,
x3,
y3)
Adds a bezier curve to the current path.
cut: function(graph,
cells)
Cuts the given array of mxCells from the specified graph.
mxEditor.prototype.cycleAttribute = function (cell)
Uses the returned value from consumeCycleAttribute as the value for the cycleAttributeName key in the given cell’s style.
mxHierarchicalLayout.prototype.cycleStage = function(parent)
Executes the cycle stage using mxMinimumCycleRemover.
mxSwimlaneLayout.prototype.cycleStage = function(parent)
Executes the cycle stage using mxMinimumCycleRemover.
+
mxFastOrganicLayout.prototype.calcAttraction = function()
Calculates the attractive forces between all laid out nodes linked by edges
mxFastOrganicLayout.prototype.calcPositions = function()
Takes the displacements calculated for each cell and applies them to the local cache of cell positions.
mxFastOrganicLayout.prototype.calcRepulsion = function()
Calculates the repulsive forces between all laid out nodes
mxRadialTreeLayout.prototype.calcRowDims = function(row,
rowNum)
Recursive function to calculate the dimensions of each row
mxMedianHybridCrossingReduction.prototype.calculateCrossings = function(model)
Calculates the total number of edge crossing in the current graph.
mxCoordinateAssignment.prototype.calculatedWeightedValue = function(
   currentCell,
   collection
)
Calculates the priority the specified cell has based on the type of its cell and the cells it is connected to on the next layer
mxMedianHybridCrossingReduction.prototype.calculateRankCrossing = function(
   i,
   model
)
Calculates the number of edges crossings between the specified rank and the rank below it.
mxCoordinateAssignment.prototype.calculateWidestRank = function(graph,
model)
Calculates the width rank in the hierarchy.
mxGraph.prototype.canExportCell = function(cell)
Returns true if the given cell may be exported to the clipboard.
mxGraph.prototype.canImportCell = function(cell)
Returns true if the given cell may be imported from the clipboard.
mxUndoManager.prototype.canRedo = function()
Returns true if a redo is possible.
mxUndoManager.prototype.canUndo = function()
Returns true if an undo is possible.
cascadeOpacity: function(graph,
cell,
opacity)
Sets the opacity on the given cell and its descendants.
cascadeOpacity: function(graph,
cell,
opacity)
See mxEffects.cascadeOpacity.
mxGraphModel.prototype.cellAdded = function(cell)
Inner callback to update cells when a cell has been added.
mxGraphSelectionModel.prototype.cellAdded = function(cell)
Inner callback to add the specified mxCell to the selection.
mxGraphModel.prototype.cellCloned = function(cell)
Hook for cloning the cell.
mxGraph.prototype.cellConnected = function(edge,
terminal,
source,
constraint)
Sets the new terminal for the given edge and resets the edge points if resetEdgesOnConnect is true.
mxGraph.prototype.cellLabelChanged = function(cell,
value,
autoSize)
Sets the new label for a cell.
mxGraphModel.prototype.cellRemoved = function(cell)
Inner callback to update cells when a cell has been removed.
mxGraphSelectionModel.prototype.cellRemoved = function(cell)
Inner callback to remove the specified mxCell from the selection.
mxGraph.prototype.cellResized = function(cell,
bounds,
ignoreRelative,
recurse)
Resizes the parents recursively so that they contain the complete area of the resized child cell.
mxGraph.prototype.cellsAdded = function(cells,
parent,
index,
source,
target,
absolute,
constrain)
Adds the specified cells to the given parent.
mxSwimlaneManager.prototype.cellsAdded = function(cells)
Called if any cells have been added.
mxGraph.prototype.cellsFolded = function(cells,
collapse,
recurse,
checkFoldable)
Sets the collapsed state of the specified cells.
mxGraph.prototype.cellSizeUpdated = function(cell,
ignoreChildren)
Updates the size of the given cell in the model using getPreferredSizeForCell to get the new size.
mxGraph.prototype.cellsMoved = function(cells,
dx,
dy,
disconnect,
constrain,
extend)
Moves the specified cells by the given vector, disconnecting the cells using disconnectGraph is disconnect is true.
mxLayoutManager.prototype.cellsMoved = function(cells,
evt)
Called from the moveHandler.
mxGraph.prototype.cellsOrdered = function(cells,
back)
Moves the given cells to the front or back.
mxGraph.prototype.cellsRemoved = function(cells)
Removes the given cells from the model.
mxGraph.prototype.cellsResized = function(cells,
bounds,
recurse)
Sets the bounds of the given cells and fires a mxEvent.CELLS_RESIZED event.
mxSwimlaneManager.prototype.cellsResized = function(cells)
Called if any cells have been resizes.
mxGraph.prototype.cellsToggled = function(cells,
show)
Sets the visible state of the specified cells.
mxGraph.prototype.center = function(horizontal,
vertical,
cx,
cy)
Centers the graph in the container.
mxEdgeHandler.prototype.changePoints = function(edge,
points,
clone)
Changes the control points of the given edge in the graph model.
mxGraphSelectionModel.prototype.changeSelection = function(added,
removed)
Inner callback to add the specified mxCell to the selection.
mxEdgeHandler.prototype.changeTerminalPoint = function(edge,
point,
isSource,
clone)
Changes the terminal point of the given edge.
mxMultiplicity.prototype.check = function(graph,
edge,
source,
target,
sourceOut,
targetIn)
Checks the multiplicity for the given arguments and returns the error for the given connection or null if the multiplicity does not apply.
mxShape.prototype.checkBounds = function()
Returns true if the bounds are not null and all of its variables are numeric.
mxText.prototype.checkBounds = function()
Returns true if the bounds are not null and all of its variables are numeric.
mxEdgeHandler.prototype.checkLabelHandle = function(b)
Checks if the label handle intersects the given bounds and moves it if it intersects.
mxMultiplicity.prototype.checkNeighbors = function(graph,
edge,
source,
target)
Checks if there are any valid neighbours in validNeighbors.
mxMultiplicity.prototype.checkTerminal = function(graph,
terminal,
edge)
Checks the given terminal cell and returns true if this rule applies.
mxVertexHandler.prototype.checkTolerance = function(me)
Checks if the coordinates for the given event are within the mxGraph.tolerance.
mxMultiplicity.prototype.checkType = function(graph,
value,
type,
attr,
attrValue)
Checks the type of the given value.
mxCircleLayout.prototype.circle = function(vertices,
r,
left,
top)
Executes the circular layout for the specified array of vertices and the given radius.
mxDictionary.prototype.clear = function()
Clears the dictionary.
mxGraphModel.prototype.clear = function()
Sets a new root using createRoot.
mxGraphSelectionModel.prototype.clear = function()
Clears the selection and fires a change event if the selection was not empty.
mxGraphView.prototype.clear = function(cell,
force,
recurse)
Removes the state of the given cell and all descendants if the given cell is not the current root.
clear: function(obj)
Deletes the ID from the given object or function.
mxShape.prototype.clear = function()
Removes all child nodes and resets all CSS.
mxUndoManager.prototype.clear = function()
Clears the command history.
mxGraph.prototype.clearCellOverlays = function(cell)
Removes all mxCellOverlays in the graph for the given cell and all its descendants.
mxGraph.prototype.clearSelection = function()
Clears the selection using mxGraphSelectionModel.clear.
clearSelection: function()
Clears the current selection in the page.
mxGraph.prototype.click = function(me)
Processes a singleclick on an optional cell and fires a click event.
mxCell.prototype.clone = function()
Returns a clone of the cell.
mxCellState.prototype.clone = function()
Returns a clone of this mxPoint.
mxPoint.prototype.clone = function()
Returns a clone of this mxPoint.
clone: function(obj,
transients,
shallow)
Recursively clones the specified object ignoring all fieldnames in the given array of transient fields.
mxGraphModel.prototype.cloneCell = function(cell)
Returns a deep clone of the given mxCell (including the children) which is created using cloneCells.
mxGraphModel.prototype.cloneCellImpl = function(cell,
mapping,
includeChildren)
Inner helper method for cloning cells recursively.
mxGraph.prototype.cloneCells = function(cells,
allowInvalidEdges,
mapping)
Returns the clones for the given cells.
mxGraphModel.prototype.cloneCells = function(cells,
includeChildren,
mapping)
Returns an array of clones for the given array of mxCells.
mxEdgeHandler.prototype.clonePreviewState = function(point,
terminal)
Returns a clone of the current preview state for the given point and terminal.
mxObjectCodec.prototype.cloneTemplate = function()
Returns a new instance of the template for this codec.
mxCell.prototype.cloneValue = function()
Returns a clone of the cell’s user object.
mxAbstractCanvas2D.prototype.close = function(x1,
y1,
x2,
y2,
x3,
y3)
Closes the current path.
mxPrintPreview.prototype.close = function()
Closes the print preview window.
mxXmlCanvas2D.prototype.close = function()
Closes the current path.
mxGraphModel.prototype.collapsedStateForCellChanged = function(cell,
collapsed)
Inner callback to update the collapsed state of the given mxCell using mxCell.setCollapsed and return the previous collapsed state.
MedianCellSorter.prototype.compare = function(a,
b)
Compares two MedianCellSorters.
compare: function(p1,
p2)
Compares the given cell paths and returns -1 if p1 is smaller, 0 if p1 is equal and 1 if p1 is greater than p2.
WeightedCellSorter.prototype.compare = function(a,
b)
Compares two WeightedCellSorters.
mxStencil.prototype.computeAspect = function(shape,
x,
y,
w,
h,
direction)
Returns a rectangle that contains the offset in x and y and the horizontal and vertical scale in width and height used to draw this shape inside the given mxRectangle.
mxEditor.prototype.configure = function (node)
Configures the editor using the specified node.
mxShape.prototype.configureCanvas = function(c,
x,
y,
w,
h)
Sets the state of the canvas for drawing the shape.
mxText.prototype.configureCanvas = function(c,
x,
y,
w,
h)
Sets the state of the canvas for drawing the shape.
mxCellRenderer.prototype.configureShape = function(state)
Configures the shape for the given cell state.
confirm: function(message)
Displays the given message in a confirm dialog.
mxConnectionHandler.prototype.connect = function(source,
target,
evt,
dropTarget)
Connects the given source and target using a new edge.
mxDefaultToolbar.prototype.connect = function(vertex,
evt,
source)
Handles a drop by connecting the given vertex to the given source cell.
mxEdgeHandler.prototype.connect = function(edge,
terminal,
isSource,
isClone,
me)
Changes the terminal or terminal point of the given edge in the graph model.
mxGraph.prototype.connectCell = function(edge,
terminal,
source,
constraint)
Connects the specified end of the given edge to the given terminal using cellConnected and fires mxEvent.CONNECT_CELL while the transaction is in progress.
mxGraph.prototype.constrainChild = function(cell)
Keeps the given cell inside the bounds returned by getCellContainmentArea for its parent, according to the rules defined by getOverlap and isConstrainChild.
mxGraph.prototype.constrainChildCells = function(cell)
Constrains the children of the given cell using constrainChild.
consume: function(evt,
preventDefault,
stopPropagation)
Consumes the given event.
mxEventObject.prototype.consume = function()
Consumes the event.
mxMouseEvent.prototype.consume = function(preventDefault)
Sets consumed to true and invokes preventDefault on the native event if such a method is defined.
mxEditor.prototype.consumeCycleAttribute = function (cell)
Returns the next attribute in cycleAttributeValues or null, if not attribute should be used in the specified cell.
mxGraph.prototype.consumeMouseEvent = function(evtName,
me,
sender)
Destroys the graph and all its resources.
mxPanningHandler.prototype.consumePanningTrigger = function(me)
Consumes the given mxMouseEvent if it was a panning trigger in mouseDown.
mxGraphModel.prototype.contains = function(cell)
Returns true if the model contains the given mxCell.
contains: function(bounds,
x,
y)
Returns true if the specified point (x, y) is contained in the given rectangle.
mxUrlConverter.prototype.convert = function(url)
Converts the given URL to an absolute URL with protol and domain.
mxObjectCodec.prototype.convertAttributeFromXml = function(dec,
attr,
obj)
Converts booleans and numeric values to the respective types.
mxObjectCodec.prototype.convertAttributeToXml = function(enc,
obj,
name,
value)
Converts true to “1” and false to “0” is isBooleanAttribute returns true.
mxSvgCanvas2D.prototype.convertHtml = function(val)
Converts the given HTML string to XHTML.
mxEdgeHandler.prototype.convertPoint = function(point,
gridEnabled)
Converts the given point in-place from screen to unscaled, untranslated graph coordinates and applies the grid.
mxElbowEdgeHandler.prototype.convertPoint = function(point,
gridEnabled)
Converts the given point in-place from screen to unscaled, untranslated graph coordinates and applies the grid.
convertPoint: function(container,
x,
y)
Converts the specified point (x, y) using the offset of the specified container and returns a new mxPoint with the result.
mxGraph.prototype.convertValueToString = function(cell)
Returns the textual representation for the given cell.
mxConnectionHandler.prototype.convertWaypoint = function(point)
Converts the given point from screen coordinates to model coordinates.
copy: function(graph,
cells)
Copies the given array of mxCells from the specified graph to cells.
mxHandle.prototype.copyStyle = function(key)
Sets the cell style with the given name to the corresponding value in state.
create: function(cell)
Creates the cell path for the given cell.
mxGraphView.prototype.createHtml = function()
Creates the DOM nodes for the HTML display.
mxShape.prototype.create = function(container)
Creates and returns the DOM node(s) for the shape in the given container.
mxXmlRequest.prototype.create = function()
Creates and returns the inner request object.
mxGraphView.prototype.createBackgroundPageShape = function(bounds)
Creates and returns the shape used as the background page.
Adds custom bends for the center of each segment.
mxEdgeHandler.prototype.createBends = function()
Creates and returns the bends used for modifying the edge.
mxElbowEdgeHandler.prototype.createBends = function()
Overrides mxEdgeHandler.createBends to create custom bends.
mxShape.prototype.createBoundingBox = function()
Returns a new rectangle that represents the bounding box of the bare shape with no shadows or strokewidths.
Helper method to create an mxRectangle around the given centerpoint with a width and height of 2*s or 6, if no s is given.
mxShape.prototype.createCanvas = function()
Destroys the given canvas which was used for drawing.
mxGraph.prototype.createCellEditor = function()
Creates a new mxCellEditor to be used in this graph.
mxCellRenderer.prototype.createCellOverlays = function(state)
Creates the actual shape for showing the overlay for the given cell state.
mxGraph.prototype.createCellRenderer = function()
Creates a new mxCellRenderer to be used in this graph.
mxSvgCanvas2D.prototype.createClip = function(x,
y,
w,
h)
Creates a clip for the given coordinates.
mxDefaultPopupMenu.prototype.createConditions = function(editor,
cell,
evt)
Evaluates the default conditions for the given context.
mxGraph.prototype.createConnectionHandler = function()
Creates and returns a new mxConnectionHandler to be used in this graph.
mxCellRenderer.prototype.createControl = function(state)
Creates the control for the given cell state.
mxCellRenderer.prototype.createControlClickHandler = function(state)
Hook for creating the click handler for the folding icon.
mxEdgeHandler.prototype.createCustomHandles = function()
Returns an array of custom handles.
mxVertexHandler.prototype.createCustomHandles = function()
Returns an array of custom handles.
mxSvgCanvas2D.prototype.createDashPattern = function(scale)
Creates the SVG dash pattern for the given state.
mxStylesheet.prototype.createDefaultEdgeStyle = function()
Creates and returns the default edge style.
mxStylesheet.prototype.createDefaultVertexStyle = function()
Creates and returns the default vertex style.
mxEditor.prototype.createDiagramLayout = function ()
Creates the layout instance used to layout the swimlanes in the diagram.
mxSvgCanvas2D.prototype.createDiv = function(str,
align,
valign,
style,
overflow)
Private helper function to create SVG elements
mxDragSource.prototype.createDragElement = function(evt)
Creates and returns a clone of the dragElementPrototype or the element if the former is not defined.
mxConnectionHandler.prototype.createEdge = function(value,
source,
target,
style)
Creates and returns a new edge using factoryMethod if one exists.
mxEditor.prototype.createEdge = function (source,
target)
Uses defaultEdge as the prototype for creating new edges in the connection handler of the graph.
mxGraph.prototype.createEdge = function(parent,
id,
value,
source,
target,
style)
Hook method that creates the new edge for insertEdge.
mxGraph.prototype.createEdgeHandler = function(state,
edgeStyle)
Hooks to create a new mxEdgeHandler for the given mxCellState.
mxGraph.prototype.createEdgeSegmentHandler = function(state)
Hooks to create a new mxEdgeSegmentHandler for the given mxCellState.
mxConnectionHandler.prototype.createEdgeState = function(me)
Hook to return an mxCellState which may be used during the preview.
mxGraph.prototype.createElbowEdgeHandler = function(state)
Hooks to create a new mxElbowEdgeHandler for the given mxCellState.
mxSvgCanvas2D.prototype.createElement = function(tagName,
namespace)
Private helper function to create SVG elements
mxVmlCanvas2D.prototype.createElement = function(name)
Creates the given element using the document.
mxXmlCanvas2D.prototype.createElement = function(name)
Creates the given element using the owner document of root.
mxVmlCanvas2D.prototype.createFill = function()
Creates a fill for the current state.
mxSvgCanvas2D.prototype.createGradientId = function(start,
end,
alpha1,
alpha2,
direction)
Private helper function to create SVG elements
mxEditor.prototype.createGraph = function ()
Creates the graph for the editor.
mxOutline.prototype.createGraph = function(container)
Creates the mxGraph used in the outline.
mxGraph.prototype.createGraphHandler = function()
Creates and returns a new mxGraphHandler to be used in this graph.
mxGraph.prototype.createGraphView = function()
Creates a new mxGraphView to be used in this graph.
mxEditor.prototype.createGroup = function ()
Creates and returns a clone of defaultGroup to be used as a new group cell in group.
mxGraph.prototype.createGroupCell = function(cells)
Hook for creating the group cell to hold the given array of mxCells if no group cell was given to the group function.
mxGuide.prototype.createGuideShape = function(horizontal)
Returns the mxShape to be used for painting the respective guide.
mxGraph.prototype.createHandler = function(state)
Creates a new handler for the given cell state.
mxGraph.prototype.createHandlers = function()
Creates the tooltip-, panning-, connection- and graph-handler (in this order).
mxEdgeHandler.prototype.createHandleShape = function(index)
Creates the shape used to display the given bend.
mxConstraintHandler.prototype.createHighlightShape = function()
Create the shape used to paint the highlight.
mxImageShape.prototype.createHtml = function()
Creates and returns the HTML DOM node(s) to represent this shape.
mxShape.prototype.createHtml = function()
Creates and returns the HTML DOM node(s) to represent this shape.
mxGraphView.prototype.createHtmlPane = function(width,
height)
Creates and returns a drawing pane in HTML (DIV).
mxConnectionHandler.prototype.createIcons = function(state)
Creates the array mxImageShapes that represent the connect icons for the given mxCellState.
mxGraphModel.prototype.createId = function(cell)
Hook method to create an Id for the specified cell.
createImage: function(src)
Creates and returns an image (IMG node) or VML image (v:image) in IE6 in quirks mode.
mxCellRenderer.prototype.createIndicatorShape = function(state)
Creates the indicator shape for the given cell state.
mxGraphHierarchyModel.prototype.createInternalCells = function(layout,
vertices,
internalVertices)
Creates all edges in the internal model
mxSwimlaneModel.prototype.createInternalCells = function(layout,
vertices,
internalVertices)
Creates all edges in the internal model
mxCellRenderer.prototype.createLabel = function(state,
value)
Creates the label for the given cell state.
mxEdgeHandler.prototype.createLabelHandleShape = function()
Creates the shape used to display the the label handle.
mxEditor.prototype.createLayoutManager = function (graph)
Creates a layout manager for the swimlane and diagram layouts, that is, the locally defined inter- and intraswimlane layouts.
mxCompactTreeLayout.prototype.createLine = function(dx,
dy,
next)
mxConnectionHandler.prototype.createMarker = function()
Creates and returns the mxCellMarker used in marker.
mxConnector.prototype.createMarker = function(c,
pts,
source)
Prepares the marker by adding offsets in pts and returning a function to paint the marker.
mxEdgeHandler.prototype.createMarker = function()
Creates and returns the mxCellMarker used in marker.
createMarker: function(canvas,
shape,
type,
pe,
unitX,
unitY,
size,
source,
sw,
filled)
Returns a function to paint the given marker.
mxDefaultPopupMenu.prototype.createMenu = function(editor,
menu,
cell,
evt)
This function is called from mxEditor to add items to the given menu based on config.
mxCompactTreeLayout.prototype.createNode = function(cell)
mxPrintPreview.prototype.createPageSelector = function(vpages,
hpages)
Creates the page selector table.
mxGraph.prototype.createPanningHandler = function()
Creates and returns a new mxPanningHandler to be used in this graph.
mxGraph.prototype.createPanningManager = function()
Creates and returns an mxPanningManager.
mxVertexHandler.prototype.createParentHighlightShape = function(bounds)
Creates the shape used to draw the selection border.
mxEditor.prototype.createPopupMenu = function (menu,
cell,
evt)
Uses popupHandler to create the menu in the graph’s panning handler.
mxGraph.prototype.createPopupMenuHandler = function()
Creates and returns a new mxPopupMenuHandler to be used in this graph.
mxDragSource.prototype.createPreviewElement = function(graph)
Creates and returns an element which can be used as a preview in the given graph.
mxGraphHandler.prototype.createPreviewShape = function(bounds)
Creates the shape used to draw the preview for the given bounds.
mxEditor.prototype.createProperties = function (cell)
Creates and returns the DOM node that represents the contents of the properties dialog for the given cell.
mxVmlCanvas2D.prototype.createRect = function(nodeName,
x,
y,
w,
h)
Sets the glass gradient.
mxGraphModel.prototype.createRoot = function()
Creates a new root cell with a default layer (child 0).
mxGraph.prototype.createSelectionCellsHandler = function()
Creates and returns a new mxTooltipHandler to be used in this graph.
mxGraph.prototype.createSelectionModel = function()
Creates a new mxGraphSelectionModel to be used in this graph.
Creates the shape used to draw the selection border.
mxVertexHandler.prototype.createSelectionShape = function(bounds)
Creates the shape used to draw the selection border.
mxSvgCanvas2D.prototype.createShadow = function(node)
Creates a shadow for the given node.
mxVmlCanvas2D.prototype.createShadow = function(node,
filled,
stroked)
Creates a shadow for the given node.
mxVmlCanvas2D.prototype.createShadowFill = function()
Creates the fill for the shadow.
mxVmlCanvas2D.prototype.createShadowStroke = function()
Creates the stroke for the shadow.
mxCellHighlight.prototype.createShape = function()
Creates and returns the highlight shape for the given state.
mxCellRenderer.prototype.createShape = function(state)
Creates and returns the shape for the given cell state.
mxConnectionHandler.prototype.createShape = function()
Creates the preview shape for new connections.
mxHandle.prototype.createShape = function(html)
Creates and returns the shape for this handle.
mxRubberband.prototype.createShape = function()
Creates the rubberband selection shape.
mxOutline.prototype.createSizer = function()
Creates the shape used as the sizer.
mxVertexHandler.prototype.createSizer = function(cursor,
index,
size,
fillColor)
Creates a sizer handle for the specified cursor and index and returns the new mxRectangleShape that represents the handle.
mxVertexHandler.prototype.createSizerShape = function(bounds,
index,
fillColor)
Creates the shape used for the sizer handle for the specified bounds an index.
mxAbstractCanvas2D.prototype.createState = function()
Creates the state of the this canvas.
mxGraphView.prototype.createState = function(cell)
Creates and returns an mxCellState for the given cell and initializes it using mxCellRenderer.initialize.
mxVmlCanvas2D.prototype.createStroke = function()
Creates a fill for the current state.
mxSvgCanvas2D.prototype.createStyle = function(x)
Creates the optional style section.
mxGraph.prototype.createStylesheet = function()
Creates a new mxGraphSelectionModel to be used in this graph.
mxPopupMenu.prototype.createSubmenu = function(parent)
Creates the nodes required to add submenu items inside the given parent item.
mxShape.prototype.createSvg = function()
Creates and returns the SVG node(s) to represent this shape.
mxShape.prototype.createSvgCanvas = function()
Creates and returns an mxSvgCanvas2D for rendering this shape.
mxSvgCanvas2D.prototype.createSvgGradient = function(start,
end,
alpha1,
alpha2,
direction)
Creates the given SVG gradient.
mxEditor.prototype.createSwimlaneLayout = function ()
Creates the layout instance used to layout the children of each swimlane.
mxEditor.prototype.createSwimlaneManager = function (graph)
Sets the graph’s container using mxGraph.init.
mxConnectionHandler.prototype.createTargetVertex = function(evt,
source)
Hook method for creating new vertices on the fly if no target was under the mouse.
mxEditor.prototype.createTasks = function (div)
Updates the contents of the given DOM node to display the tasks associated with the current editor state.
Creates the innermost element that contains the HTML text.
mxSvgCanvas2D.prototype.createTolerance = function(node)
Creates a hit detection tolerance shape for the given node.
mxEditor.prototype.createToolbar = function ()
Creates the toolbar with no container.
mxGraph.prototype.createTooltipHandler = function()
Creates and returns a new mxTooltipHandler to be used in this graph.
mxVmlCanvas2D.prototype.createTransparentFill = function()
Creates a transparent fill.
mxShape.prototype.createTransparentSvgRectangle = function(x,
y,
w,
h)
Adds a transparent rectangle that catches all events.
mxGraphModel.prototype.createUndoableEdit = function()
Creates a new mxUndoableEdit that implements the notify function to fire a change and notify event through the mxUndoableEdit’s source.
mxAbstractCanvas2D.prototype.createUrlConverter = function()
Create a new mxUrlConverter and returns it.
mxGraph.prototype.createVertex = function(parent,
id,
value,
x,
y,
width,
height,
style,
relative)
Hook method that creates the new vertex for insertVertex.
mxGraph.prototype.createVertexHandler = function(state)
Hooks to create a new mxVertexHandler for the given mxCellState.
mxElbowEdgeHandler.prototype.createVirtualBend = function(dblClickHandler)
Creates a virtual bend that supports double clicking and calls mxGraph.flipEdge.
mxEdgeHandler.prototype.createVirtualBends = function()
Creates and returns the bends used for modifying the edge.
mxShape.prototype.createVml = function()
Creates and returns the VML node to represent this shape.
mxShape.prototype.createVmlCanvas = function()
Creates and returns an mxVmlCanvas2D for rendering this shape.
mxVmlCanvas2D.prototype.createVmlElement = function(name)
Creates a new element using createElement and prefixes the given name with mxClient.VML_PREFIX.
mxShape.prototype.createVmlGroup = function()
Returns the temporary element used for rendering in IE8 standards mode.
mxGraphView.prototype.createVmlPane = function(width,
height)
Creates a drawing pane in VML (group).
createXmlDocument: function()
Returns a new, empty XML document.
mxHierarchicalLayout.prototype.crossingStage = function(parent)
Executes the crossing stage using mxMedianHybridCrossingReduction.
mxSwimlaneLayout.prototype.crossingStage = function(parent)
Executes the crossing stage using mxMedianHybridCrossingReduction.
mxAbstractCanvas2D.prototype.curveTo = function(x1,
y1,
x2,
y2,
x3,
y3)
Adds a bezier curve to the current path.
mxXmlCanvas2D.prototype.curveTo = function(x1,
y1,
x2,
y2,
x3,
y3)
Adds a bezier curve to the current path.
cut: function(graph,
cells)
Cuts the given array of mxCells from the specified graph.
mxEditor.prototype.cycleAttribute = function (cell)
Uses the returned value from consumeCycleAttribute as the value for the cycleAttributeName key in the given cell’s style.
mxHierarchicalLayout.prototype.cycleStage = function(parent)
Executes the cycle stage using mxMinimumCycleRemover.
mxSwimlaneLayout.prototype.cycleStage = function(parent)
Executes the cycle stage using mxMinimumCycleRemover.
diff --git a/docs/js-api/index/Functions5.html b/docs/js-api/index/Functions5.html index 34bdc8aa6..e4981c1a1 100644 --- a/docs/js-api/index/Functions5.html +++ b/docs/js-api/index/Functions5.html @@ -13,7 +13,7 @@ if (browserType) {document.write("
");if (browserV
Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
E
 ElbowConnector, mxEdgeStyle
 ellipse
 EllipsePerimeter, mxPerimeter
 encode
 encodeCell
 encodeObject
 encodeValue, mxObjectCodec
 end, mxAbstractCanvas2D
 endUpdate, mxGraphModel
 enter, mxLog
 enterGroup, mxGraph
 EntityRelation, mxEdgeStyle
 equalEntries, mxUtils
 equalPoints, mxUtils
 equals
 error, mxUtils
 escape
 eval, mxUtils
 evaluateAttribute, mxStencil
 evaluateTextAttribute, mxStencil
 execute
 executeLayout, mxLayoutManager
 exitGroup, mxGraph
 extend, mxUtils
 extendedDfs
 extendParent, mxGraph
 extractTextWithWhitespace, mxUtils
-
ElbowConnector: function (state,
source,
target,
points,
result)
Uses either SideToSide or TopToBottom depending on the horizontal flag in the cell style.
mxSvgCanvas2D.prototype.ellipse = function(x,
y,
w,
h)
Private helper function to create SVG elements
mxVmlCanvas2D.prototype.ellipse = function(x,
y,
w,
h)
Sets the current path to an ellipse.
mxXmlCanvas2D.prototype.ellipse = function(x,
y,
w,
h)
Puts an ellipse into the drawing buffer.
EllipsePerimeter: function (bounds,
vertex,
next,
orthogonal)
Describes an elliptic perimeter.
mxCodec.prototype.encode = function(obj)
Encodes the specified object and returns the resulting XML node.
codec.encode = function(enc,
obj)
Returns null.
codec.encode = function(enc,
obj)
Returns null.
codec.encode = function(enc,
obj)
Returns null.
codec.encode = function(enc,
view)
Encodes the given mxGraphView using encodeCell starting at the model’s root.
mxObjectCodec.prototype.encode = function(enc,
obj)
Encodes the specified object and returns a node representing then given object.
codec.encode = function(enc,
obj)
Encodes a stylesheet.
mxCodec.prototype.encodeCell = function(cell,
node,
includeChildren)
Encoding of cell hierarchies is built-into the core, but is a higher-level function that needs to be explicitely used by the respective object encoders (eg.
codec.encodeCell = function(enc,
view,
cell)
Recursively encodes the specifed cell.
codec.encodeObject = function(enc,
obj,
node)
Encodes the given mxGraphModel by writing a (flat) XML sequence of cell nodes as produced by the mxCellCodec.
mxObjectCodec.prototype.encodeObject = function(enc,
obj,
node)
Encodes the value of each member in then given obj into the given node using encodeValue.
mxObjectCodec.prototype.encodeValue = function(enc,
obj,
name,
value,
node)
Converts the given value according to the mappings and id-refs in this codec and uses writeAttribute to write the attribute into the given node.
mxAbstractCanvas2D.prototype.end = function()
Empty implementation for backwards compatibility.
mxGraphModel.prototype.endUpdate = function()
Decrements the updateLevel by one and fires an undo event if the updateLevel reaches 0.
enter: function(string)
Writes the specified string to the console if TRACE is true and returns the current time in milliseconds.
mxGraph.prototype.enterGroup = function(cell)
Uses the given cell as the root of the displayed cell hierarchy.
EntityRelation: function (state,
source,
target,
points,
result)
Implements an entity relation style for edges (as used in database schema diagrams).
equalEntries: function(a,
b)
Returns true if all entries of the given objects are equal.
equalPoints: function(a,
b)
Compares all mxPoints in the given lists.
mxGeometry.prototype.equals = function(obj)
Returns true if the given object equals this geometry.
mxPoint.prototype.equals = function(obj)
Returns true if the given object equals this point.
mxRectangle.prototype.equals = function(obj)
Returns true if the given object equals this rectangle.
error: function(message,
width,
close,
icon)
Displays the given error message in a new mxWindow of the given width.
mxGraph.prototype.escape = function(evt)
Processes an escape keystroke.
mxKeyHandler.prototype.escape = function(evt)
Hook to process ESCAPE keystrokes.
eval: function(expr)
Evaluates the given expression using eval and returns the JavaScript object that represents the expression result.
mxStencil.prototype.evaluateAttribute = function(node,
attribute,
shape)
Gets the attribute for the given name from the given node.
mxStencil.prototype.evaluateTextAttribute = function(node,
attribute,
state)
Gets the given attribute as a text.
mxCellAttributeChange.prototype.execute = function()
Changes the attribute of the cell’s user object by using mxCell.setAttribute.
mxChildChange.prototype.execute = function()
Changes the parent of child using mxGraphModel.parentForCellChanged and removes or restores the cell’s connections.
mxCircleLayout.prototype.execute = function(parent)
Implements mxGraphLayout.execute.
mxCollapseChange.prototype.execute = function()
Changes the collapsed state of cell to previous using mxGraphModel.collapsedStateForCellChanged.
mxCompactTreeLayout.prototype.execute = function(parent,
root)
Implements mxGraphLayout.execute.
mxCompositeLayout.prototype.execute = function(parent)
Implements mxGraphLayout.execute by executing all layouts in a single transaction.
mxCoordinateAssignment.prototype.execute = function(parent)
A basic horizontal coordinate assignment algorithm
mxCurrentRootChange.prototype.execute = function()
Changes the current root of the view.
mxEdgeLabelLayout.prototype.execute = function(parent)
Implements mxGraphLayout.execute.
mxEditor.prototype.execute = function (actionname,
cell,
evt)
Executes the function with the given name in actions passing the editor instance and given cell as the first and second argument.
mxFastOrganicLayout.prototype.execute = function(parent)
Implements mxGraphLayout.execute.
mxGeometryChange.prototype.execute = function()
Changes the geometry of cell ro previous using mxGraphModel.geometryForCellChanged.
mxGraphLayout.prototype.execute = function(parent)
Executes the layout algorithm for the children of the given parent.
mxGraphModel.prototype.execute = function(change)
Executes the given edit and fires events if required.
mxHandle.prototype.execute = function()
Hook for subclassers to execute the handle.
mxHierarchicalLayout.prototype.execute = function(parent,
roots)
Executes the layout for the children of the specified parent.
mxHierarchicalLayoutStage.prototype.execute = function(parent)
Takes the graph detail and configuration information within the facade and creates the resulting laid out graph within that facade for further use.
mxMedianHybridCrossingReduction.prototype.execute = function(parent)
Performs a vertex ordering within ranks as described by Gansner et al 1993
mxMinimumCycleRemover.prototype.execute = function(parent)
Takes the graph detail and configuration information within the facade and creates the resulting laid out graph within that facade for further use.
mxParallelEdgeLayout.prototype.execute = function(parent)
Implements mxGraphLayout.execute.
mxPartitionLayout.prototype.execute = function(parent)
Implements mxGraphLayout.execute.
mxRadialTreeLayout.prototype.execute = function(parent,
root)
Implements mxGraphLayout.execute.
mxRootChange.prototype.execute = function()
Carries out a change of the root using mxGraphModel.rootChanged.
mxSelectionChange.prototype.execute = function()
Changes the current root of the view.
mxStackLayout.prototype.execute = function(parent)
Implements mxGraphLayout.execute.
mxStyleChange.prototype.execute = function()
Changes the style of cell to previous using mxGraphModel.styleForCellChanged.
mxSwimlaneLayout.prototype.execute = function(parent,
swimlanes)
Executes the layout for the children of the specified parent.
mxSwimlaneOrdering.prototype.execute = function(parent)
Takes the graph detail and configuration information within the facade and creates the resulting laid out graph within that facade for further use.
mxTerminalChange.prototype.execute = function()
Changes the terminal of cell to previous using mxGraphModel.terminalForCellChanged.
mxValueChange.prototype.execute = function()
Changes the value of cell to previous using mxGraphModel.valueForCellChanged.
mxVisibleChange.prototype.execute = function()
Changes the visible state of cell to previous using mxGraphModel.visibleStateForCellChanged.
mxLayoutManager.prototype.executeLayoutForCells = function(cells)
Executes the given layout on the given parent.
mxGraph.prototype.exitGroup = function()
Changes the current root to the next valid root in the displayed cell hierarchy.
extend: function(ctor,
superCtor)
Assigns a copy of the superclass prototype to the subclass prototype.
mxGraphHierarchyModel.prototype.extendedDfs = function(parent,
root,
connectingEdge,
visitor,
seen,
ancestors,
childHash,
layer)
Performs a depth first search on the internal hierarchy model.
mxSwimlaneModel.prototype.extendedDfs = function(parent,
root,
connectingEdge,
visitor,
seen,
ancestors,
childHash,
layer)
Performs a depth first search on the internal hierarchy model.
mxGraph.prototype.extendParent = function(cell)
Resizes the parents recursively so that they contain the complete area of the resized child cell.
extractTextWithWhitespace: function(elems)
Returns the text content of the specified node.
+
ElbowConnector: function (state,
source,
target,
points,
result)
Uses either SideToSide or TopToBottom depending on the horizontal flag in the cell style.
mxSvgCanvas2D.prototype.ellipse = function(x,
y,
w,
h)
Private helper function to create SVG elements
mxVmlCanvas2D.prototype.ellipse = function(x,
y,
w,
h)
Sets the current path to an ellipse.
mxXmlCanvas2D.prototype.ellipse = function(x,
y,
w,
h)
Puts an ellipse into the drawing buffer.
EllipsePerimeter: function (bounds,
vertex,
next,
orthogonal)
Describes an elliptic perimeter.
mxCodec.prototype.encode = function(obj)
Encodes the specified object and returns the resulting XML node.
codec.encode = function(enc,
obj)
Returns null.
codec.encode = function(enc,
obj)
Returns null.
codec.encode = function(enc,
obj)
Returns null.
codec.encode = function(enc,
view)
Encodes the given mxGraphView using encodeCell starting at the model’s root.
mxObjectCodec.prototype.encode = function(enc,
obj)
Encodes the specified object and returns a node representing then given object.
codec.encode = function(enc,
obj)
Encodes a stylesheet.
mxCodec.prototype.encodeCell = function(cell,
node,
includeChildren)
Encoding of cell hierarchies is built-into the core, but is a higher-level function that needs to be explicitely used by the respective object encoders (eg.
codec.encodeCell = function(enc,
view,
cell)
Recursively encodes the specifed cell.
codec.encodeObject = function(enc,
obj,
node)
Encodes the given mxGraphModel by writing a (flat) XML sequence of cell nodes as produced by the mxCellCodec.
mxObjectCodec.prototype.encodeObject = function(enc,
obj,
node)
Encodes the value of each member in then given obj into the given node using encodeValue.
mxObjectCodec.prototype.encodeValue = function(enc,
obj,
name,
value,
node)
Converts the given value according to the mappings and id-refs in this codec and uses writeAttribute to write the attribute into the given node.
mxAbstractCanvas2D.prototype.end = function()
Empty implementation for backwards compatibility.
mxGraphModel.prototype.endUpdate = function()
Decrements the updateLevel by one and fires an undo event if the updateLevel reaches 0.
enter: function(string)
Writes the specified string to the console if TRACE is true and returns the current time in milliseconds.
mxGraph.prototype.enterGroup = function(cell)
Uses the given cell as the root of the displayed cell hierarchy.
EntityRelation: function (state,
source,
target,
points,
result)
Implements an entity relation style for edges (as used in database schema diagrams).
equalEntries: function(a,
b)
Returns true if all properties of the given objects are equal.
equalPoints: function(a,
b)
Compares all mxPoints in the given lists.
mxGeometry.prototype.equals = function(obj)
Returns true if the given object equals this geometry.
mxPoint.prototype.equals = function(obj)
Returns true if the given object equals this point.
mxRectangle.prototype.equals = function(obj)
Returns true if the given object equals this rectangle.
error: function(message,
width,
close,
icon)
Displays the given error message in a new mxWindow of the given width.
mxGraph.prototype.escape = function(evt)
Processes an escape keystroke.
mxKeyHandler.prototype.escape = function(evt)
Hook to process ESCAPE keystrokes.
eval: function(expr)
Evaluates the given expression using eval and returns the JavaScript object that represents the expression result.
mxStencil.prototype.evaluateAttribute = function(node,
attribute,
shape)
Gets the attribute for the given name from the given node.
mxStencil.prototype.evaluateTextAttribute = function(node,
attribute,
state)
Gets the given attribute as a text.
mxCellAttributeChange.prototype.execute = function()
Changes the attribute of the cell’s user object by using mxCell.setAttribute.
mxChildChange.prototype.execute = function()
Changes the parent of child using mxGraphModel.parentForCellChanged and removes or restores the cell’s connections.
mxCircleLayout.prototype.execute = function(parent)
Implements mxGraphLayout.execute.
mxCollapseChange.prototype.execute = function()
Changes the collapsed state of cell to previous using mxGraphModel.collapsedStateForCellChanged.
mxCompactTreeLayout.prototype.execute = function(parent,
root)
Implements mxGraphLayout.execute.
mxCompositeLayout.prototype.execute = function(parent)
Implements mxGraphLayout.execute by executing all layouts in a single transaction.
mxCoordinateAssignment.prototype.execute = function(parent)
A basic horizontal coordinate assignment algorithm
mxCurrentRootChange.prototype.execute = function()
Changes the current root of the view.
mxEdgeLabelLayout.prototype.execute = function(parent)
Implements mxGraphLayout.execute.
mxEditor.prototype.execute = function (actionname,
cell,
evt)
Executes the function with the given name in actions passing the editor instance and given cell as the first and second argument.
mxFastOrganicLayout.prototype.execute = function(parent)
Implements mxGraphLayout.execute.
mxGeometryChange.prototype.execute = function()
Changes the geometry of cell ro previous using mxGraphModel.geometryForCellChanged.
mxGraphLayout.prototype.execute = function(parent)
Executes the layout algorithm for the children of the given parent.
mxGraphModel.prototype.execute = function(change)
Executes the given edit and fires events if required.
mxHandle.prototype.execute = function()
Hook for subclassers to execute the handle.
mxHierarchicalLayout.prototype.execute = function(parent,
roots)
Executes the layout for the children of the specified parent.
mxHierarchicalLayoutStage.prototype.execute = function(parent)
Takes the graph detail and configuration information within the facade and creates the resulting laid out graph within that facade for further use.
mxMedianHybridCrossingReduction.prototype.execute = function(parent)
Performs a vertex ordering within ranks as described by Gansner et al 1993
mxMinimumCycleRemover.prototype.execute = function(parent)
Takes the graph detail and configuration information within the facade and creates the resulting laid out graph within that facade for further use.
mxParallelEdgeLayout.prototype.execute = function(parent)
Implements mxGraphLayout.execute.
mxPartitionLayout.prototype.execute = function(parent)
Implements mxGraphLayout.execute.
mxRadialTreeLayout.prototype.execute = function(parent,
root)
Implements mxGraphLayout.execute.
mxRootChange.prototype.execute = function()
Carries out a change of the root using mxGraphModel.rootChanged.
mxSelectionChange.prototype.execute = function()
Changes the current root of the view.
mxStackLayout.prototype.execute = function(parent)
Implements mxGraphLayout.execute.
mxStyleChange.prototype.execute = function()
Changes the style of cell to previous using mxGraphModel.styleForCellChanged.
mxSwimlaneLayout.prototype.execute = function(parent,
swimlanes)
Executes the layout for the children of the specified parent.
mxSwimlaneOrdering.prototype.execute = function(parent)
Takes the graph detail and configuration information within the facade and creates the resulting laid out graph within that facade for further use.
mxTerminalChange.prototype.execute = function()
Changes the terminal of cell to previous using mxGraphModel.terminalForCellChanged.
mxValueChange.prototype.execute = function()
Changes the value of cell to previous using mxGraphModel.valueForCellChanged.
mxVisibleChange.prototype.execute = function()
Changes the visible state of cell to previous using mxGraphModel.visibleStateForCellChanged.
mxLayoutManager.prototype.executeLayoutForCells = function(cells)
Executes the given layout on the given parent.
mxGraph.prototype.exitGroup = function()
Changes the current root to the next valid root in the displayed cell hierarchy.
extend: function(ctor,
superCtor)
Assigns a copy of the superclass prototype to the subclass prototype.
mxGraphHierarchyModel.prototype.extendedDfs = function(parent,
root,
connectingEdge,
visitor,
seen,
ancestors,
childHash,
layer)
Performs a depth first search on the internal hierarchy model.
mxSwimlaneModel.prototype.extendedDfs = function(parent,
root,
connectingEdge,
visitor,
seen,
ancestors,
childHash,
layer)
Performs a depth first search on the internal hierarchy model.
mxGraph.prototype.extendParent = function(cell)
Resizes the parents recursively so that they contain the complete area of the resized child cell.
extractTextWithWhitespace: function(elems)
Returns the text content of the specified node.
diff --git a/docs/js-api/index/Functions9.html b/docs/js-api/index/Functions9.html index 1a99352b3..689920895 100644 --- a/docs/js-api/index/Functions9.html +++ b/docs/js-api/index/Functions9.html @@ -11,9 +11,9 @@ if (browserType) {document.write("
");if (browserV -
Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
I
 image
 importCells, mxGraph
 importNode, mxUtils
 include, mxClient
 indexOf, mxUtils
 indexOfStylename, mxUtils
 info, mxLog
 init
 initBend, mxEdgeHandler
 initControl, mxCellRenderer
 initialCoords, mxCoordinateAssignment
 initializeLabel, mxCellRenderer
 initializeOverlay, mxCellRenderer
 initializeShape, mxCellRenderer
 initialRank
 initShape, mxHandle
 insert
 insertBackgroundImage, mxPrintPreview
 insertEdge
 insertIntoGraph, mxCodec
 insertStateAfter, mxCellRenderer
 insertVertex, mxGraph
 installChangeHandler, mxEditor
 installCloseHandler, mxWindow
 installDblClickHandler, mxEditor
 installDrillHandler, mxEditor
 installDropHandler, mxDefaultToolbar
 installInsertHandler, mxEditor
 installListeners
 installMaximizeHandler, mxWindow
 installMinimizeHandler, mxWindow
 installMoveHandler, mxWindow
 installOverlayListeners, mxCellRenderer
 installUndoHandler, mxEditor
 intersection, mxUtils
 intersects
 invalidate, mxGraphView
 invert, mxGraphHierarchyEdge
 isActive
 isAddEnabled, mxSwimlaneManager
 isAddPointEvent, mxEdgeHandler
 isAddVirtualBendEvent, mxEdgeHandler
 isAllowDanglingEdges, mxGraph
 isAllowEval, mxGraphView
 isAllowLoops, mxGraph
 isAllowOverlapParent, mxGraph
 isAltDown, mxEvent
 isAncestor
 isAncestorNode, mxUtils
 isArrowRounded, mxArrowConnector
 isAutoSizeCell, mxGraph
 isAutoSizeCells, mxGraph
 isBinary, mxXmlRequest
 isBooleanAttribute, mxObjectCodec
 isBrowserSupported, mxClient
 isBubbling, mxLayoutManager
 isCellBendable, mxGraph
 isCellCloneable, mxGraph
 isCellCodec
 isCellCollapsed
 isCellConnectable, mxGraph
 isCellDeletable, mxGraph
 isCellDisconnectable, mxGraph
 isCellEditable, mxGraph
 isCellFoldable, mxGraph
 isCellHorizontal, mxSwimlaneManager
 isCellLocked, mxGraph
 isCellMovable, mxGraph
 isCellResizable, mxGraph
 isCellRotatable, mxGraph
 isCellsBendable, mxGraph
 isCellsCloneable, mxGraph
 isCellsDeletable, mxGraph
 isCellsDisconnectable, mxGraph
 isCellsEditable, mxGraph
 isCellSelectable, mxGraph
 isCellSelected, mxGraph
 isCellsLocked, mxGraph
 isCellsMovable, mxGraph
 isCellsResizable, mxGraph
 isCellsSelectable, mxGraph
 isCellVisible, mxGraph
 isCenteredEvent, mxVertexHandler
 isCloneEnabled, mxGraphHandler
 isCloneEvent, mxGraph
 isCloneInvalidEdges, mxGraph
 isCollapsed
 isConnectable
 isConnectableCell
 isConnectableEdges, mxGraph
 isConnecting, mxConnectionHandler
 isConstrainChild, mxGraph
 isConstrainChildren, mxGraph
 isConstrainChildrenOnResize, mxGraph
 isConstrainedEvent
 isConsumed
 isContainerEvent, mxGraphView
 isControlDown
 isCreateIds, mxGraphModel
 isCreateTarget, mxConnectionHandler
 isCustomHandleEvent
 isDelayedSelection, mxGraphHandler
 isDisconnectOnMove, mxGraph
 isDropEnabled, mxGraph
 isEdge
 isEdgeIgnored, mxGraphLayout
 isEdgeLabelsMovable, mxGraph
 isEdgeValid, mxGraph
 isEditing, mxGraph
 isEmpty
 isEnabled
 isEnabledForEvent
 isEnterStopsCellEditing, mxGraph
 isEscapeEnabled, mxGraph
 isEventIgnored
 isEventsEnabled, mxEventSource
 isEventSource, mxCellEditor
 isEventSourceIgnored, mxGraph
 isExcluded
 isExtendParent, mxGraph
 isExtendParents, mxGraph
 isExtendParentsOnAdd, mxGraph
 isExtendParentsOnMove, mxGraph
 isForcePanningEvent, mxPanningHandler
 isForceRubberbandEvent, mxRubberband
 isGraphEvent, mxKeyHandler
 isGridEnabled
 isGridEnabledEvent, mxGraph
 isGuidesEnabled, mxDragSource
 isHandleEnabled, mxEdgeHandler
 isHandleVisible, mxEdgeHandler
 isHideLabel, mxCellEditor
 isHideOnHover, mxTooltipHandler
 isHighlightAt, mxCellHighlight
 isHorizontal
 isHotspotEnabled, mxCellMarker
 isHtmlAllowed
 isHtmlLabel, mxGraph
 isHtmlLabels, mxGraph
 isHtmlRequired, mxHandle
 isIgnoredAttribute, mxObjectCodec
 isImmediateConnectSource, mxConnectionHandler
 isInsertBefore, mxConnectionHandler
 isInteger, mxUtils
 isInvokesStopCellEditing, mxGraph
 isKeepFocusEvent, mxConstraintHandler
 isLabelClipped, mxGraph
 isLabelEvent, mxCellRenderer
 isLabelMovable, mxGraph
 isLanguageSupported, mxResources
 isLayer, mxGraphModel
 isLeftMouseButton, mxEvent
 isLivePreviewBorder, mxVertexHandler
 isLoop, mxGraph
 isLoopStyleEnabled, mxGraphView
 isMarkerEnd, mxArrowConnector
 isMarkerStart, mxArrowConnector
 isMenuShowing, mxPopupMenu
 isMetaDown, mxEvent
 isMiddleMouseButton, mxEvent
 isModified, mxEditor
 isMouseEvent, mxEvent
 isMoveEnabled, mxGraphHandler
 isMoveIconToFrontForState, mxConnectionHandler
 isMultigraph, mxGraph
 isMultiTouchEvent, mxEvent
 isNaN, mxUtils
 isNode, mxUtils
 isNumeric, mxUtils
 isNumericAttribute, mxObjectCodec
 isOpenEnded, mxArrowConnector
 isOrthogonal, mxGraph
 isOutlineConnectEvent
 isPaintBoundsInverted
 isPanningEnabled, mxPanningHandler
 isPanningTrigger, mxPanningHandler
 isParseVml
 isPinchEnabled, mxPanningHandler
 isPopupTrigger
 isPort
 isPortsEnabled, mxGraph
 isPropertiesVisible, mxEditor
 isReady, mxXmlRequest
 isRecursiveResize, mxGraph
 isReference
 isRelativeUrl, mxUrlConverter
 isRemoveCellsFromParent, mxGraphHandler
 isRemovePointEvent, mxEdgeHandler
 isRendering, mxGraphView
 isResizable, mxWindow
 isResizeContainer, mxGraph
 isResizeEnabled, mxSwimlaneManager
 isRightMouseButton, mxEvent
 isRoot, mxGraphModel
 isRotationHandleVisible, mxVertexHandler
 isRunning, mxAnimation
 isScrollEvent, mxGraphView
 isSelected, mxGraphSelectionModel
 isSelectEnabled, mxGraphHandler
 isSelectionDashed
 isSelectionEmpty, mxGraph
 isSelectOnPopup, mxPopupMenuHandler
 isSelectText, mxCellEditor
 isShapeEvent, mxCellRenderer
 isShiftDown, mxEvent
 isSignificant, mxUndoableEdit
 isSingleSelection, mxGraphSelectionModel
 isSizerVisible, mxVertexHandler
 isSnapToTerminalsEvent, mxEdgeHandler
 isSource, mxMouseEvent
 isSplitEnabled, mxGraph
 isSplitTarget, mxGraph
 isStartEvent, mxConnectionHandler
 isStateIgnored, mxConstraintHandler
 isStopEditingEvent, mxCellEditor
 isStopEvent, mxConnectionHandler
 isSwimlane, mxGraph
 isSwimlaneIgnored, mxSwimlaneManager
 isSwimlaneNesting, mxGraph
 isSwimlaneSelectionEnabled, mxGraph
 isSyntheticEventIgnored, mxGraph
 isTerminalPointMovable, mxGraph
 isToggleEvent, mxGraph
 isTouchEvent, mxEvent
 isValidAncestor, mxGraph
 isValidConnection, mxGraph
 isValidDropTarget, mxGraph
 isValidRoot, mxGraph
 isValidSource
 isValidState, mxCellMarker
 isValidTarget
 isVertex
 isVertexIgnored
 isVertexLabelsMovable, mxGraph
 isVertexMovable, mxGraphLayout
 isVirtualBendsEnabled, mxEdgeHandler
 isVisible
 isVml, mxUtils
 isWrapping, mxGraph
+
Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
I
 image
 importCells, mxGraph
 importNode, mxUtils
 include, mxClient
 indexOf, mxUtils
 indexOfStylename, mxUtils
 info, mxLog
 init
 initBend, mxEdgeHandler
 initControl, mxCellRenderer
 initialCoords, mxCoordinateAssignment
 initializeLabel, mxCellRenderer
 initializeOverlay, mxCellRenderer
 initializeShape, mxCellRenderer
 initialRank
 initShape, mxHandle
 initStyles, mxShape
 insert
 insertBackgroundImage, mxPrintPreview
 insertEdge
 insertIntoGraph, mxCodec
 insertStateAfter, mxCellRenderer
 insertVertex, mxGraph
 installChangeHandler, mxEditor
 installCloseHandler, mxWindow
 installDblClickHandler, mxEditor
 installDrillHandler, mxEditor
 installDropHandler, mxDefaultToolbar
 installInsertHandler, mxEditor
 installListeners
 installMaximizeHandler, mxWindow
 installMinimizeHandler, mxWindow
 installMoveHandler, mxWindow
 installOverlayListeners, mxCellRenderer
 installUndoHandler, mxEditor
 intersection, mxUtils
 intersects
 invalidate, mxGraphView
 invert, mxGraphHierarchyEdge
 isActive
 isAddEnabled, mxSwimlaneManager
 isAddPointEvent, mxEdgeHandler
 isAddVirtualBendEvent, mxEdgeHandler
 isAllowDanglingEdges, mxGraph
 isAllowEval, mxGraphView
 isAllowLoops, mxGraph
 isAllowOverlapParent, mxGraph
 isAltDown, mxEvent
 isAncestor
 isAncestorNode, mxUtils
 isArrowRounded, mxArrowConnector
 isAutoSizeCell, mxGraph
 isAutoSizeCells, mxGraph
 isBinary, mxXmlRequest
 isBooleanAttribute, mxObjectCodec
 isBrowserSupported, mxClient
 isBubbling, mxLayoutManager
 isCellBendable, mxGraph
 isCellCloneable, mxGraph
 isCellCodec
 isCellCollapsed
 isCellConnectable, mxGraph
 isCellDeletable, mxGraph
 isCellDisconnectable, mxGraph
 isCellEditable, mxGraph
 isCellFoldable, mxGraph
 isCellHorizontal, mxSwimlaneManager
 isCellLocked, mxGraph
 isCellMovable, mxGraph
 isCellResizable, mxGraph
 isCellRotatable, mxGraph
 isCellsBendable, mxGraph
 isCellsCloneable, mxGraph
 isCellsDeletable, mxGraph
 isCellsDisconnectable, mxGraph
 isCellsEditable, mxGraph
 isCellSelectable, mxGraph
 isCellSelected, mxGraph
 isCellsLocked, mxGraph
 isCellsMovable, mxGraph
 isCellsResizable, mxGraph
 isCellsSelectable, mxGraph
 isCellVisible, mxGraph
 isCenteredEvent, mxVertexHandler
 isCloneEnabled, mxGraphHandler
 isCloneEvent, mxGraph
 isCloneInvalidEdges, mxGraph
 isCollapsed
 isConnectable
 isConnectableCell
 isConnectableEdges, mxGraph
 isConnecting, mxConnectionHandler
 isConstrainChild, mxGraph
 isConstrainChildren, mxGraph
 isConstrainChildrenOnResize, mxGraph
 isConstrainedEvent
 isConsumed
 isContainerEvent, mxGraphView
 isControlDown
 isCreateIds, mxGraphModel
 isCreateTarget, mxConnectionHandler
 isCustomHandleEvent
 isDelayedSelection, mxGraphHandler
 isDisconnectOnMove, mxGraph
 isDropEnabled, mxGraph
 isEdge
 isEdgeIgnored, mxGraphLayout
 isEdgeLabelsMovable, mxGraph
 isEdgeValid, mxGraph
 isEditing, mxGraph
 isEmpty
 isEnabled
 isEnabledForEvent
 isEnterStopsCellEditing, mxGraph
 isEscapeEnabled, mxGraph
 isEventIgnored
 isEventsEnabled, mxEventSource
 isEventSource, mxCellEditor
 isEventSourceIgnored, mxGraph
 isExcluded
 isExtendParent, mxGraph
 isExtendParents, mxGraph
 isExtendParentsOnAdd, mxGraph
 isExtendParentsOnMove, mxGraph
 isForcePanningEvent, mxPanningHandler
 isForceRubberbandEvent, mxRubberband
 isGraphEvent, mxKeyHandler
 isGridEnabled
 isGridEnabledEvent, mxGraph
 isGuidesEnabled, mxDragSource
 isHandleEnabled, mxEdgeHandler
 isHandleVisible, mxEdgeHandler
 isHideLabel, mxCellEditor
 isHideOnHover, mxTooltipHandler
 isHighlightAt, mxCellHighlight
 isHorizontal
 isHotspotEnabled, mxCellMarker
 isHtmlAllowed
 isHtmlLabel, mxGraph
 isHtmlLabels, mxGraph
 isHtmlRequired, mxHandle
 isIgnoredAttribute, mxObjectCodec
 isImmediateConnectSource, mxConnectionHandler
 isInsertBefore, mxConnectionHandler
 isInteger, mxUtils
 isInvokesStopCellEditing, mxGraph
 isKeepFocusEvent, mxConstraintHandler
 isLabelClipped, mxGraph
 isLabelEvent, mxCellRenderer
 isLabelMovable, mxGraph
 isLanguageSupported, mxResources
 isLayer, mxGraphModel
 isLeftMouseButton, mxEvent
 isLivePreviewBorder, mxVertexHandler
 isLoop, mxGraph
 isLoopStyleEnabled, mxGraphView
 isMarkerEnd, mxArrowConnector
 isMarkerStart, mxArrowConnector
 isMenuShowing, mxPopupMenu
 isMetaDown, mxEvent
 isMiddleMouseButton, mxEvent
 isModified, mxEditor
 isMouseEvent, mxEvent
 isMoveEnabled, mxGraphHandler
 isMoveIconToFrontForState, mxConnectionHandler
 isMultigraph, mxGraph
 isMultiTouchEvent, mxEvent
 isNaN, mxUtils
 isNode, mxUtils
 isNumeric, mxUtils
 isNumericAttribute, mxObjectCodec
 isOpenEnded, mxArrowConnector
 isOrthogonal, mxGraph
 isOutlineConnectEvent
 isPaintBoundsInverted
 isPanningEnabled, mxPanningHandler
 isPanningTrigger, mxPanningHandler
 isParseVml
 isPinchEnabled, mxPanningHandler
 isPopupTrigger
 isPort
 isPortsEnabled, mxGraph
 isPropertiesVisible, mxEditor
 isReady, mxXmlRequest
 isRecursiveResize, mxGraph
 isReference
 isRelativeUrl, mxUrlConverter
 isRemoveCellsFromParent, mxGraphHandler
 isRemovePointEvent, mxEdgeHandler
 isRendering, mxGraphView
 isResizable, mxWindow
 isResizeContainer, mxGraph
 isResizeEnabled, mxSwimlaneManager
 isRightMouseButton, mxEvent
 isRoot, mxGraphModel
 isRotationHandleVisible, mxVertexHandler
 isRunning, mxAnimation
 isScrollEvent, mxGraphView
 isSelected, mxGraphSelectionModel
 isSelectEnabled, mxGraphHandler
 isSelectionDashed
 isSelectionEmpty, mxGraph
 isSelectOnPopup, mxPopupMenuHandler
 isSelectText, mxCellEditor
 isShapeEvent, mxCellRenderer
 isShiftDown, mxEvent
 isSignificant, mxUndoableEdit
 isSingleSelection, mxGraphSelectionModel
 isSizerVisible, mxVertexHandler
 isSnapToTerminalsEvent, mxEdgeHandler
 isSource, mxMouseEvent
 isSplitEnabled, mxGraph
 isSplitTarget, mxGraph
 isStartEvent, mxConnectionHandler
 isStateIgnored, mxConstraintHandler
 isStopEditingEvent, mxCellEditor
 isStopEvent, mxConnectionHandler
 isSwimlane, mxGraph
 isSwimlaneIgnored, mxSwimlaneManager
 isSwimlaneNesting, mxGraph
 isSwimlaneSelectionEnabled, mxGraph
 isSyntheticEventIgnored, mxGraph
 isTerminalPointMovable, mxGraph
 isTextShapeInvalid, mxCellRenderer
 isToggleEvent, mxGraph
 isTouchEvent, mxEvent
 isValidAncestor, mxGraph
 isValidConnection, mxGraph
 isValidDropTarget, mxGraph
 isValidRoot, mxGraph
 isValidSource
 isValidState, mxCellMarker
 isValidTarget
 isVertex
 isVertexIgnored
 isVertexLabelsMovable, mxGraph
 isVertexMovable, mxGraphLayout
 isVirtualBendsEnabled, mxEdgeHandler
 isVisible
 isVml, mxUtils
 isWrapping, mxGraph
-
mxSvgCanvas2D.prototype.image = function(x,
y,
w,
h,
src,
aspect,
flipH,
flipV)
Private helper function to create SVG elements
mxVmlCanvas2D.prototype.image = function(x,
y,
w,
h,
src,
aspect,
flipH,
flipV)
Paints an image.
mxXmlCanvas2D.prototype.image = function(x,
y,
w,
h,
src,
aspect,
flipH,
flipV)
Paints an image.
mxGraph.prototype.importCells = function(cells,
dx,
dy,
target,
evt,
mapping)
Clones and inserts the given cells into the graph using the move method and returns the inserted cells.
importNode: function(doc,
node,
allChildren)
Cross browser implementation for document.importNode.
include: function(src)
Dynamically adds a script node to the document header.
indexOf: function(array,
obj)
Returns the index of obj in array or -1 if the array does not contain the given object.
indexOfStylename: function(style,
stylename)
Returns the index of the given stylename in the given style.
info: function()
Writes the current navigator information to the console.
mxCellEditor.prototype.init = function ()
Creates the textarea and installs the event listeners.
mxConnectionHandler.prototype.init = function()
Initializes the shapes required for this connection handler.
mxEdgeHandler.prototype.init = function()
Initializes the shapes required for this edge handler.
mxGraph.prototype.init = function(container)
Initializes the container and creates the respective datastructures.
mxGraphView.prototype.init = function()
Initializes the graph event dispatch loop for the specified container and invokes create to create the required DOM nodes for the display.
mxHandle.prototype.init = function()
Creates and initializes the shapes required for this handle.
mxLabel.prototype.init = function(container)
Initializes the shape and the indicator.
init: function()
Initializes the DOM node for the console.
mxOutline.prototype.init = function(container)
Initializes the outline inside the given container.
mxPopupMenu.prototype.init = function()
Initializes the shapes required for this vertex handler.
mxPopupMenuHandler.prototype.init = function()
Initializes the shapes required for this vertex handler.
mxShape.prototype.init = function(container)
Initializes the shape by creaing the DOM node using create and adding it into the given container.
mxTooltipHandler.prototype.init = function()
Initializes the DOM nodes required for this tooltip handler.
mxVertexHandler.prototype.init = function()
Initializes the shapes required for this vertex handler.
mxWindow.prototype.init = function(x,
y,
width,
height,
style)
Initializes the DOM tree that represents the window.
mxEdgeHandler.prototype.initBend = function(bend,
dblClick)
Helper method to initialize the given bend.
mxCellRenderer.prototype.initControl = function(state,
control,
handleEvents,
clickHandler)
Initializes the given control and returns the corresponding DOM node.
mxCoordinateAssignment.prototype.initialCoords = function(facade,
model)
Sets up the layout in an initial positioning.
mxCellRenderer.prototype.initializeLabel = function(state,
shape)
Initiailzes the label with a suitable container.
mxCellRenderer.prototype.initializeOverlay = function(state,
overlay)
Initializes the given overlay.
mxCellRenderer.prototype.initializeShape = function(state)
Initializes the shape in the given state by calling its init method with the correct container after configuring it using configureShape.
mxGraphHierarchyModel.prototype.initialRank = function()
Basic determination of minimum layer ranking by working from from sources or sinks and working through each node in the relevant edge direction.
mxSwimlaneModel.prototype.initialRank = function()
Basic determination of minimum layer ranking by working from from sources or sinks and working through each node in the relevant edge direction.
mxHandle.prototype.initShape = function(html)
Initializes shape and sets its cursor.
mxCell.prototype.insert = function(child,
index)
Inserts the specified child into the child array at the specified index and updates the parent reference of the child.
mxDefaultToolbar.prototype.insert = function(vertex,
evt,
target)
Handles a drop by inserting the given vertex into the given parent cell or the default parent if no parent is specified.
mxPrintPreview.prototype.insertBackgroundImage = function(div,
dx,
dy)
Inserts the background image into the given div.
mxCell.prototype.insertEdge = function(edge,
isOutgoing)
Inserts the specified edge into the edge array and returns the edge.
mxConnectionHandler.prototype.insertEdge = function(parent,
id,
value,
source,
target,
style)
Creates, inserts and returns the new edge for the given parameters.
mxGraph.prototype.insertEdge = function(parent,
id,
value,
source,
target,
style)
Adds a new edge into the given parent mxCell using value as the user object and the given source and target as the terminals of the new edge.
mxCodec.prototype.insertIntoGraph = function(cell)
Inserts the given cell into its parent and terminal cells.
mxCellRenderer.prototype.insertStateAfter = function(state,
node,
htmlNode)
Inserts the given array of mxShapes after the given nodes in the DOM.
mxGraph.prototype.insertVertex = function(parent,
id,
value,
x,
y,
width,
height,
style,
relative)
Adds a new vertex into the given parent mxCell using value as the user object and the given coordinates as the mxGeometry of the new vertex.
mxEditor.prototype.installChangeHandler = function (graph)
Installs the listeners required to automatically validate the graph.
mxWindow.prototype.installCloseHandler = function()
Adds the closeImage as a new image node in closeImg and installs the close event.
mxEditor.prototype.installDblClickHandler = function (graph)
Overrides mxGraph.dblClick to invoke dblClickAction on a cell and reset the selection tool in the toolbar.
mxEditor.prototype.installDrillHandler = function (graph)
Installs listeners for dispatching the root event.
mxDefaultToolbar.prototype.installDropHandler = function (img,
dropHandler)
Makes the given img draggable using the given function for handling a drop event.
mxEditor.prototype.installInsertHandler = function (graph)
Installs the handler for invoking insertFunction if one is defined.
mxCellEditor.prototype.installListeners = function(elt)
Installs listeners for focus, change and standard key event handling.
mxCellRenderer.prototype.installListeners = function(state)
Installs the event listeners for the given cell state.
mxGraphView.prototype.installListeners = function()
Installs the required listeners in the container.
mxWindow.prototype.installMaximizeHandler = function()
Installs the event listeners required for maximizing the window.
mxWindow.prototype.installMinimizeHandler = function()
Installs the event listeners required for minimizing the window.
mxWindow.prototype.installMoveHandler = function()
Installs the event listeners required for moving the window.
Installs the listeners for the given mxCellState, mxCellOverlay and mxShape that represents the overlay.
mxEditor.prototype.installUndoHandler = function (graph)
Adds the undoManager to the graph model and the view.
intersection: function (x0,
y0,
x1,
y1,
x2,
y2,
x3,
y3)
Returns the intersection of two lines as an mxPoint.
mxCellMarker.prototype.intersects = function(state,
me)
Returns true if the given coordinate pair intersects the given state.
mxConstraintHandler.prototype.intersects = function(icon,
mouse,
source,
existingEdge)
Returns true if the given icon intersects the given rectangle.
mxGraph.prototype.intersects = function(state,
x,
y)
Returns the bottom-most cell that intersects the given point (x, y) in the cell hierarchy that starts at the given parent.
intersects: function(a,
b)
Returns true if the two rectangles intersect.
mxGraphView.prototype.invalidate = function(cell,
recurse,
includeEdges)
Invalidates the state of the given cell, all its descendants and connected edges.
mxGraphHierarchyEdge.prototype.invert = function(layer)
Inverts the direction of this internal edge(s)
mxDragSource.prototype.isActive = function()
Returns true if this drag source is active.
mxPanningHandler.prototype.isActive = function()
Returns true if the handler is currently active.
mxSwimlaneManager.prototype.isAddEnabled = function()
Returns addEnabled.
mxEdgeHandler.prototype.isAddPointEvent = function(evt)
Returns true if the given event is a trigger to add a new point.
mxEdgeHandler.prototype.isAddVirtualBendEvent = function(me)
Returns true if the given event allows virtual bends to be added.
mxGraph.prototype.isAllowDanglingEdges = function()
Returns allowDanglingEdges as a boolean.
mxGraphView.prototype.isAllowEval = function()
Returns allowEval.
mxGraph.prototype.isAllowLoops = function()
Returns allowLoops as a boolean.
mxGraph.prototype.isAllowOverlapParent = function(cell)
Returns true if the given cell is allowed to be placed outside of the parents area.
isAltDown: function(evt)
Returns true if the alt key is pressed for the given event.
mxGraphHierarchyNode.prototype.isAncestor = function(otherNode)
mxGraphModel.prototype.isAncestor = function(parent,
child)
Returns true if the given parent is an ancestor of the given child.
isAncestorNode: function(ancestor,
child)
Returns true if the given ancestor is an ancestor of the given DOM node in the DOM.
mxArrowConnector.prototype.isArrowRounded = function()
Returns wether the arrow is rounded
mxGraph.prototype.isAutoSizeCell = function(cell)
Returns true if the size of the given cell should automatically be updated after a change of the label.
mxGraph.prototype.isAutoSizeCells = function()
Returns autoSizeCells.
mxXmlRequest.prototype.isBinary = function()
Returns binary.
mxObjectCodec.prototype.isBooleanAttribute = function(enc,
obj,
name,
value)
Returns true if the given object attribute is a boolean value.
isBrowserSupported: function()
Returns true if the current browser is supported, that is, if mxClient.IS_VML or mxClient.IS_SVG is true.
mxLayoutManager.prototype.isBubbling = function()
Returns true if a layout should bubble, that is, if the parent layout should be executed whenever a cell layout (layout of the children of a cell) has been executed.
mxGraph.prototype.isCellBendable = function(cell)
Returns true if the given cell is bendable.
mxGraph.prototype.isCellCloneable = function(cell)
Returns true if the given cell is cloneable.
codec.isCellCodec = function()
Returns true since this is a cell codec.
mxCodec.prototype.isCellCodec = function(codec)
Returns true if the given codec is a cell codec.
mxGraph.prototype.isCellCollapsed = function(cell)
Returns true if the given cell is collapsed in this graph.
mxGraphView.prototype.isCellCollapsed = function(cell)
Returns true if the children of the given cell should not be visible in the view.
mxGraph.prototype.isCellConnectable = function(cell)
Returns true if the given cell is connectable in this graph.
mxGraph.prototype.isCellDeletable = function(cell)
Returns true if the given cell is moveable.
mxGraph.prototype.isCellDisconnectable = function(cell,
terminal,
source)
Returns true if the given cell is disconnectable from the source or target terminal.
mxGraph.prototype.isCellEditable = function(cell)
Returns true if the given cell is editable.
mxGraph.prototype.isCellFoldable = function(cell,
collapse)
Returns true if the given cell is foldable.
mxSwimlaneManager.prototype.isCellHorizontal = function(cell)
Returns true if the given cell is horizontal.
mxGraph.prototype.isCellLocked = function(cell)
Returns true if the given cell may not be moved, sized, bended, disconnected, edited or selected.
mxGraph.prototype.isCellMovable = function(cell)
Returns true if the given cell is moveable.
mxGraph.prototype.isCellResizable = function(cell)
Returns true if the given cell is resizable.
mxGraph.prototype.isCellRotatable = function(cell)
Returns true if the given cell is rotatable.
mxGraph.prototype.isCellsBendable = function()
Returns cellsBenadable.
mxGraph.prototype.isCellsCloneable = function()
Returns cellsCloneable, that is, if the graph allows cloning of cells by using control-drag.
mxGraph.prototype.isCellsDeletable = function()
Returns cellsDeletable.
mxGraph.prototype.isCellsDisconnectable = function()
Returns cellsDisconnectable.
mxGraph.prototype.isCellsEditable = function()
Returns cellsEditable.
mxGraph.prototype.isCellSelectable = function(cell)
Returns true if the given cell is selectable.
mxGraph.prototype.isCellSelected = function(cell)
Returns true if the given cell is selected.
mxGraph.prototype.isCellsLocked = function()
Returns true if the given cell may not be moved, sized, bended, disconnected, edited or selected.
mxGraph.prototype.isCellsMovable = function()
Returns cellsMovable.
mxGraph.prototype.isCellsResizable = function()
Returns cellsResizable.
mxGraph.prototype.isCellsSelectable = function()
Returns cellsSelectable.
mxGraph.prototype.isCellVisible = function(cell)
Returns true if the given cell is visible in this graph.
mxVertexHandler.prototype.isCenteredEvent = function(state,
me)
Returns true if the aspect ratio if the cell should be maintained.
mxGraphHandler.prototype.isCloneEnabled = function()
Returns cloneEnabled.
mxGraph.prototype.isCloneEvent = function(evt)
Returns true if the given event is a clone event.
mxGraph.prototype.isCloneInvalidEdges = function()
Returns cloneInvalidEdges as a boolean.
mxCell.prototype.isCollapsed = function()
Returns true if the cell is collapsed.
mxGraphModel.prototype.isCollapsed = function(cell)
Returns true if the given mxCell is collapsed.
mxCell.prototype.isConnectable = function()
Returns true if the cell is connectable.
mxGraph.prototype.isConnectable = function(connectable)
Returns true if the connectionHandler is enabled.
mxGraphModel.prototype.isConnectable = function(cell)
Returns true if the given mxCell is connectable.
mxConnectionHandler.prototype.isConnectableCell = function(cell)
Returns true if the given cell is connectable.
mxEdgeHandler.prototype.isConnectableCell = function(cell)
Returns true if the given cell is connectable.
mxGraph.prototype.isConnectableEdges = function()
Returns connectableEdges as a boolean.
mxConnectionHandler.prototype.isConnecting = function()
Returns true if the source terminal has been clicked and a new connection is currently being previewed.
mxGraph.prototype.isConstrainChild = function(cell)
Returns true if the given cell should be kept inside the bounds of its parent according to the rules defined by getOverlap and isAllowOverlapParent.
mxGraph.prototype.isConstrainChildren = function()
Returns constrainChildren.
mxGraph.prototype.isConstrainChildrenOnResize = function()
Returns constrainChildrenOnResize.
mxGraph.prototype.isConstrainedEvent = function(evt)
Returns true if the given mouse event should be aligned to the grid.
mxVertexHandler.prototype.isConstrainedEvent = function(me)
Returns true if the aspect ratio if the cell should be maintained.
isConsumed: function(evt)
Returns true if the event has been consumed using consume.
mxEventObject.prototype.isConsumed = function()
Returns true if the event has been consumed.
mxMouseEvent.prototype.isConsumed = function()
Returns consumed.
mxGraphView.prototype.isContainerEvent = function(evt)
Returns true if the event origin is one of the drawing panes or containers of the view.
isControlDown: function(evt)
Returns true if the control key is pressed for the given event.
mxKeyHandler.prototype.isControlDown = function(evt)
Returns true if the control key is pressed.
mxGraphModel.prototype.isCreateIds = function()
Returns createIds.
mxConnectionHandler.prototype.isCreateTarget = function(evt)
Returns createTarget.
mxEdgeHandler.prototype.isCustomHandleEvent = function(me)
Returns true if the given event allows custom handles to be changed.
mxVertexHandler.prototype.isCustomHandleEvent = function(me)
Returns true if the given event allows custom handles to be changed.
mxGraphHandler.prototype.isDelayedSelection = function(cell,
me)
Hook to return true for delayed selections.
mxGraph.prototype.isDisconnectOnMove = function()
Returns disconnectOnMove as a boolean.
mxGraph.prototype.isDropEnabled = function()
Returns dropEnabled as a boolean.
mxCell.prototype.isEdge = function()
Returns true if the cell is an edge.
mxGraphAbstractHierarchyCell.prototype.isEdge = function()
Returns whether or not this cell is an edge
mxGraphHierarchyEdge.prototype.isEdge = function()
Returns true.
mxGraphModel.prototype.isEdge = function(cell)
Returns true if the given cell is an edge.
mxGraphLayout.prototype.isEdgeIgnored = function(edge)
Returns a boolean indicating if the given mxCell should be ignored by the algorithm.
mxGraph.prototype.isEdgeLabelsMovable = function()
Returns edgeLabelsMovable.
mxGraph.prototype.isEdgeValid = function(edge,
source,
target)
Checks if the return value of getEdgeValidationError for the given arguments is null.
mxGraph.prototype.isEditing = function(cell)
Returns true if the given cell is currently being edited.
mxCellStatePreview.prototype.isEmpty = function()
Returns true if this contains no entries.
isEmpty: function()
Returns true if the clipboard currently has not data stored.
mxGraphSelectionModel.prototype.isEmpty = function()
Returns true if no cells are currently selected.
mxUndoableEdit.prototype.isEmpty = function()
Returns true if the this edit contains no changes.
mxUndoManager.prototype.isEmpty = function()
Returns true if the history is empty.
mxAutoSaveManager.prototype.isEnabled = function()
Returns true if events are handled.
mxCellMarker.prototype.isEnabled = function()
Returns true if events are handled.
mxConnectionHandler.prototype.isEnabled = function()
Returns true if events are handled.
mxConstraintHandler.prototype.isEnabled = function()
Returns true if events are handled.
mxDragSource.prototype.isEnabled = function()
Returns enabled.
mxGraph.prototype.isEnabled = function()
Returns true if the graph is enabled.
mxGraphHandler.prototype.isEnabled = function()
Returns enabled.
mxKeyHandler.prototype.isEnabled = function()
Returns true if events are handled.
mxLayoutManager.prototype.isEnabled = function()
Returns true if events are handled.
mxOutline.prototype.isEnabled = function()
Returns true if events are handled.
mxPopupMenu.prototype.isEnabled = function()
Returns true if events are handled.
mxRubberband.prototype.isEnabled = function()
Returns true if events are handled.
mxSelectionCellsHandler.prototype.isEnabled = function()
Returns enabled.
mxSwimlaneManager.prototype.isEnabled = function()
Returns true if events are handled.
mxTooltipHandler.prototype.isEnabled = function()
Returns true if events are handled.
mxUrlConverter.prototype.isEnabled = function()
Returns enabled.
mxGuide.prototype.isEnabledForEvent = function(evt)
Returns true if the guide should be enabled for the given native event.
mxKeyHandler.prototype.isEnabledForEvent = function(evt)
Returns true if the given event should be handled.
mxGraph.prototype.isEnterStopsCellEditing = function()
Returns enterStopsCellEditing.
mxGraph.prototype.isEscapeEnabled = function()
Returns escapeEnabled.
mxConstraintHandler.prototype.isEventIgnored = function(me,
source)
Returns true if the given mxMouseEvent should be ignored in update.
mxGraph.prototype.isEventIgnored = function(evtName,
me,
sender)
Returns true if the event should be ignored in fireMouseEvent.
mxKeyHandler.prototype.isEventIgnored = function(evt)
Returns true if the given keystroke should be ignored.
mxEventSource.prototype.isEventsEnabled = function()
Returns eventsEnabled.
mxCellEditor.prototype.isEventSource = function(evt)
Returns true if this editor is the source for the given native event.
mxGraph.prototype.isEventSourceIgnored = function(evtName,
me)
Returns true if the event should be ignored in fireMouseEvent.
codec.isExcluded = function(obj,
attr,
value,
isWrite)
Excludes user objects that are XML nodes.
mxObjectCodec.prototype.isExcluded = function(obj,
attr,
value,
write)
Returns true if the given attribute is to be ignored by the codec.
mxGraph.prototype.isExtendParent = function(cell)
Returns true if the parent of the given cell should be extended if the child has been resized so that it overlaps the parent.
mxGraph.prototype.isExtendParents = function()
Returns extendParents.
mxGraph.prototype.isExtendParentsOnAdd = function(cell)
Returns extendParentsOnAdd.
mxGraph.prototype.isExtendParentsOnMove = function()
Returns extendParentsOnAdd.
mxPanningHandler.prototype.isForcePanningEvent = function(me)
Returns true if the given mxMouseEvent should start panning.
mxRubberband.prototype.isForceRubberbandEvent = function(me)
Returns true if the given mxMouseEvent should start rubberband selection.
mxKeyHandler.prototype.isGraphEvent = function(evt)
Returns true if the event should be processed by this handler, that is, if the event source is either the target, one of its direct children, a descendant of the mxGraph.container, or the mxGraph.cellEditor of the graph.
mxDragSource.prototype.isGridEnabled = function()
Returns gridEnabled.
mxGraph.prototype.isGridEnabled = function()
Returns gridEnabled as a boolean.
mxGraph.prototype.isGridEnabledEvent = function(evt)
Returns true if the given mouse event should be aligned to the grid.
mxDragSource.prototype.isGuidesEnabled = function()
Returns guidesEnabled.
mxEdgeHandler.prototype.isHandleEnabled = function(index)
Creates the shape used to display the given bend.
mxEdgeHandler.prototype.isHandleVisible = function(index)
Returns true if the handle at the given index is visible.
mxCellEditor.prototype.isHideLabel = function(state)
Returns true if the label should be hidden while the cell is being edited.
mxTooltipHandler.prototype.isHideOnHover = function()
Returns hideOnHover.
mxCellHighlight.prototype.isHighlightAt = function(x,
y)
Returns true if this highlight is at the given position.
mxCompactTreeLayout.prototype.isHorizontal = function()
Returns horizontal.
mxPartitionLayout.prototype.isHorizontal = function()
Returns horizontal.
mxStackLayout.prototype.isHorizontal = function()
Returns horizontal.
mxSwimlaneManager.prototype.isHorizontal = function()
Returns horizontal.
mxCellMarker.prototype.isHotspotEnabled = function()
Returns true if hotspot is used in intersects.
mxImageShape.prototype.isHtmlAllowed = function()
Returns true if HTML is allowed for this shape.
mxLabel.prototype.isHtmlAllowed = function()
Returns true for non-rounded, non-rotated shapes with no glass gradient and no indicator shape.
mxRectangleShape.prototype.isHtmlAllowed = function()
Returns true for non-rounded, non-rotated shapes with no glass gradient.
mxShape.prototype.isHtmlAllowed = function()
Returns true if HTML is allowed for this shape.
mxText.prototype.isHtmlAllowed = function()
Returns true if HTML is allowed for this shape.
mxGraph.prototype.isHtmlLabel = function(cell)
Returns true if the label must be rendered as HTML markup.
mxGraph.prototype.isHtmlLabels = function()
Returns htmlLabels.
mxHandle.prototype.isHtmlRequired = function()
Returns true if this handle should be rendered in HTML.
mxObjectCodec.prototype.isIgnoredAttribute = function(dec,
attr,
obj)
Returns true if the given attribute should be ignored.
mxConnectionHandler.prototype.isImmediateConnectSource = function(state)
Returns true if a tap on the given source state should immediately start connecting.
mxConnectionHandler.prototype.isInsertBefore = function(edge,
source,
target,
evt,
dropTarget)
Returns insertBeforeSource for non-loops and false for loops.
isInteger: function(n)
Returns true if the given value is an valid integer number.
mxGraph.prototype.isInvokesStopCellEditing = function()
Returns invokesStopCellEditing.
mxConstraintHandler.prototype.isKeepFocusEvent = function(me)
Returns true if the current focused state should not be changed for the given event.
mxGraph.prototype.isLabelClipped = function(cell)
Returns true if the overflow portion of labels should be hidden.
mxCellRenderer.prototype.isLabelEvent = function(state,
evt)
Returns true if the event is for the label of the given state.
mxGraph.prototype.isLabelMovable = function(cell)
Returns true if the given edges’s label is moveable.
isLanguageSupported: function(lan)
Hook for subclassers to disable support for a given language.
mxGraphModel.prototype.isLayer = function(cell)
Returns true if isRoot returns true for the parent of the given cell.
isLeftMouseButton: function(evt)
Returns true if the left mouse button is pressed for the given event.
mxVertexHandler.prototype.isLivePreviewBorder = function()
Called if livePreview is enabled to check if a border should be painted.
mxGraph.prototype.isLoop = function(state)
Returns true if the given cell state is a loop.
mxGraphView.prototype.isLoopStyleEnabled = function(edge,
points,
source,
target)
Returns true if the given edge should be routed with mxGraph.defaultLoopStyle or the mxConstants.STYLE_LOOP defined for the given edge.
mxArrowConnector.prototype.isMarkerEnd = function()
Returns whether the end marker is drawn
mxArrowConnector.prototype.isMarkerStart = function()
Returns whether the start marker is drawn
mxPopupMenu.prototype.isMenuShowing = function()
Returns true if the menu is showing.
isMetaDown: function(evt)
Returns true if the meta key is pressed for the given event.
isMiddleMouseButton: function(evt)
Returns true if the middle mouse button is pressed for the given event.
mxEditor.prototype.isModified = function ()
Returns modified.
isMouseEvent: function(evt)
Returns true if the event was generated using a mouse (not a pen or touch device).
mxGraphHandler.prototype.isMoveEnabled = function()
Returns moveEnabled.
mxConnectionHandler.prototype.isMoveIconToFrontForState = function(state)
Returns true if the state has a HTML label in the graph’s container, otherwise it returns moveIconFront.
mxGraph.prototype.isMultigraph = function()
Returns multigraph as a boolean.
isMultiTouchEvent: function(evt)
Returns true if the event was generated using a touch device (not a pen or mouse).
isNaN: function(value)
Returns true if the given value is of type number and isNaN returns true.
isNode: function(value,
nodeName,
attributeName,
attributeValue)
Returns true if the given value is an XML node with the node name and if the optional attribute has the specified value.
isNumeric: function(n)
Returns true if the specified value is numeric, that is, if it is not null, not an empty string, not a HEX number and isNaN returns false.
mxObjectCodec.prototype.isNumericAttribute = function(dec,
attr,
obj)
Returns true if the given XML attribute is a numeric value.
mxArrowConnector.prototype.isOpenEnded = function()
Returns whether the ends of the shape are drawn
mxGraph.prototype.isOrthogonal = function(edge)
Returns true if perimeter points should be computed such that the resulting edge has only horizontal or vertical segments.
mxConnectionHandler.prototype.isOutlineConnectEvent = function(me)
Returns true if outlineConnect is true and the source of the event is the outline shape or shift is pressed.
mxEdgeHandler.prototype.isOutlineConnectEvent = function(me)
Returns true if outlineConnect is true and the source of the event is the outline shape or shift is pressed.
mxPolyline.prototype.isPaintBoundsInverted = function()
Returns false.
mxShape.prototype.isPaintBoundsInverted = function()
Returns true if the bounds should be inverted.
mxText.prototype.isPaintBoundsInverted = function()
Inverts the bounds if mxShape.isBoundsInverted returns true or if the horizontal style is false.
mxPanningHandler.prototype.isPanningEnabled = function()
Returns panningEnabled.
mxPanningHandler.prototype.isPanningTrigger = function(me)
Returns true if the given event is a panning trigger for the optional given cell.
mxShape.prototype.isParseVml = function()
Specifies if any VML should be added via insertAdjacentHtml to the DOM.
mxText.prototype.isParseVml = function()
Text shapes do not contain VML markup and do not need to be parsed.
mxPanningHandler.prototype.isPinchEnabled = function()
Returns pinchEnabled.
isPopupTrigger: function(evt)
Returns true if the event is a popup trigger.
mxMouseEvent.prototype.isPopupTrigger = function()
Returns true if the event is a popup trigger.
mxPopupMenu.prototype.isPopupTrigger = function(me)
Returns true if the given event is a popupmenu trigger for the optional given cell.
mxGraph.prototype.isPort = function(cell)
Returns true if the given cell is a “port”, that is, when connecting to it, the cell returned by getTerminalForPort should be used as the terminal and the port should be referenced by the ID in either the mxConstants.STYLE_SOURCE_PORT or the or the mxConstants.STYLE_TARGET_PORT.
mxHierarchicalLayout.prototype.isPort = function(cell)
Returns true if the given cell is a “port”, that is, when connecting to it, its parent is the connecting vertex in terms of graph traversal
mxSwimlaneLayout.prototype.isPort = function(cell)
Returns true if the given cell is a “port”, that is, when connecting to it, its parent is the connecting vertex in terms of graph traversal
mxGraph.prototype.isPortsEnabled = function()
Returns portsEnabled as a boolean.
mxEditor.prototype.isPropertiesVisible = function ()
Returns true if the properties dialog is currently visible.
mxXmlRequest.prototype.isReady = function()
Returns true if the response is ready.
mxGraph.prototype.isRecursiveResize = function(state)
Returns recursiveResize.
codec.isReference = function(obj,
attr,
value,
isWrite)
Returns true for the child attribute if the child cell had a previous parent or if we’re reading the child as an attribute rather than a child node, in which case it’s always a reference.
mxObjectCodec.prototype.isReference = function(obj,
attr,
value,
write)
Returns true if the given fieldname is to be treated as a textual reference (ID).
mxUrlConverter.prototype.isRelativeUrl = function(url)
Returns true if the given URL is relative.
mxGraphHandler.prototype.isRemoveCellsFromParent = function()
Returns removeCellsFromParent.
mxEdgeHandler.prototype.isRemovePointEvent = function(evt)
Returns true if the given event is a trigger to remove a point.
mxGraphView.prototype.isRendering = function()
Returns rendering.
mxWindow.prototype.isResizable = function()
Returns true if the window is resizable.
mxGraph.prototype.isResizeContainer = function()
Returns resizeContainer.
mxSwimlaneManager.prototype.isResizeEnabled = function()
Returns resizeEnabled.
isRightMouseButton: function(evt)
Returns true if the right mouse button was pressed.
mxGraphModel.prototype.isRoot = function(cell)
Returns true if the given cell is the root of the model and a non-null value.
mxVertexHandler.prototype.isRotationHandleVisible = function()
Returns true if the rotation handle should be showing.
mxAnimation.prototype.isRunning = function()
Returns true if the animation is running.
mxGraphView.prototype.isScrollEvent = function(evt)
Returns true if the event origin is one of the scrollbars of the container in IE.
mxGraphSelectionModel.prototype.isSelected = function(cell)
Returns true if the given mxCell is selected.
mxGraphHandler.prototype.isSelectEnabled = function()
Returns selectEnabled.
mxEdgeHandler.prototype.isSelectionDashed = function()
Returns mxConstants.EDGE_SELECTION_DASHED.
mxVertexHandler.prototype.isSelectionDashed = function()
Returns mxConstants.VERTEX_SELECTION_DASHED.
mxGraph.prototype.isSelectionEmpty = function()
Returns true if the selection is empty.
mxPopupMenuHandler.prototype.isSelectOnPopup = function(me)
Hook for returning if a cell should be selected for a given mxMouseEvent.
mxCellEditor.prototype.isSelectText = function()
Returns selectText.
mxCellRenderer.prototype.isShapeEvent = function(state,
evt)
Returns true if the event is for the shape of the given state.
isShiftDown: function(evt)
Returns true if the shift key is pressed for the given event.
mxUndoableEdit.prototype.isSignificant = function()
Returns significant.
mxGraphSelectionModel.prototype.isSingleSelection = function()
Returns singleSelection as a boolean.
mxVertexHandler.prototype.isSizerVisible = function(index)
Returns true if the sizer for the given index is visible.
mxEdgeHandler.prototype.isSnapToTerminalsEvent = function(me)
Returns true if snapToTerminals is true and if alt is not pressed.
mxMouseEvent.prototype.isSource = function(shape)
Returns true if the given mxShape is the source of evt.
mxGraph.prototype.isSplitEnabled = function()
Returns splitEnabled as a boolean.
mxGraph.prototype.isSplitTarget = function(target,
cells,
evt)
Returns true if the given edge may be splitted into two edges with the given cell as a new terminal between the two.
mxConnectionHandler.prototype.isStartEvent = function(me)
Returns true if the given mouse down event should start this handler.
mxConstraintHandler.prototype.isStateIgnored = function(state,
source)
Returns true if the given state should be ignored.
mxCellEditor.prototype.isStopEditingEvent = function(evt)
Returns true if the given keydown event should stop cell editing.
mxConnectionHandler.prototype.isStopEvent = function(me)
Returns true if the given mouse up event should stop this handler.
mxGraph.prototype.isSwimlane = function (cell)
Returns true if the given cell is a swimlane in the graph.
mxSwimlaneManager.prototype.isSwimlaneIgnored = function(swimlane)
Returns true if the given swimlane should be ignored.
mxGraph.prototype.isSwimlaneNesting = function()
Returns swimlaneNesting as a boolean.
mxGraph.prototype.isSwimlaneSelectionEnabled = function()
Returns swimlaneSelectionEnabled as a boolean.
mxGraph.prototype.isSyntheticEventIgnored = function(evtName,
me,
sender)
Hook for ignoring synthetic mouse events after touchend in Firefox.
mxGraph.prototype.isTerminalPointMovable = function(cell,
source)
Returns true if the given terminal point is movable.
mxGraph.prototype.isToggleEvent = function(evt)
Returns true if the given event is a toggle event.
isTouchEvent: function(evt)
Returns true if the event was generated using a touch device (not a pen or mouse).
mxGraph.prototype.isValidAncestor = function(cell,
parent,
recurse)
Returns whether or not the specified parent is a valid ancestor of the specified cell, either direct or indirectly based on whether ancestor recursion is enabled.
mxGraph.prototype.isValidConnection = function(source,
target)
Returns true if the given target cell is a valid target for source.
mxGraph.prototype.isValidDropTarget = function(cell,
cells,
evt)
Returns true if the given cell is a valid drop target for the specified cells.
mxGraph.prototype.isValidRoot = function(cell)
Returns true if the given cell is a valid root for the cell display hierarchy.
mxConnectionHandler.prototype.isValidSource = function(cell,
me)
Returns mxGraph.isValidSource for the given source terminal.
mxGraph.prototype.isValidSource = function(cell)
Returns true if the given cell is a valid source for new connections.
mxCellMarker.prototype.isValidState = function(state)
Returns true if the given mxCellState is a valid state.
mxConnectionHandler.prototype.isValidTarget = function(cell)
Returns true.
mxGraph.prototype.isValidTarget = function(cell)
Returns isValidSource for the given cell.
mxCell.prototype.isVertex = function()
Returns true if the cell is a vertex.
mxGraphAbstractHierarchyCell.prototype.isVertex = function()
Returns whether or not this cell is a node
mxGraphHierarchyNode.prototype.isVertex = function()
Returns true.
mxGraphModel.prototype.isVertex = function(cell)
Returns true if the given cell is a vertex.
mxCompactTreeLayout.prototype.isVertexIgnored = function(vertex)
Returns a boolean indicating if the given mxCell should be ignored as a vertex.
mxFastOrganicLayout.prototype.isVertexIgnored = function(vertex)
Returns a boolean indicating if the given mxCell should be ignored as a vertex.
mxGraphLayout.prototype.isVertexIgnored = function(vertex)
Returns a boolean indicating if the given mxCell should be ignored by the algorithm.
mxRadialTreeLayout.prototype.isVertexIgnored = function(vertex)
Returns a boolean indicating if the given mxCell should be ignored as a vertex.
mxGraph.prototype.isVertexLabelsMovable = function()
Returns vertexLabelsMovable.
mxGraphLayout.prototype.isVertexMovable = function(cell)
Returns a boolean indicating if the given mxCell is movable or bendable by the algorithm.
mxEdgeHandler.prototype.isVirtualBendsEnabled = function(evt)
Returns true if virtual bends should be added.
mxCell.prototype.isVisible = function()
Returns true if the cell is visibile.
mxGraphModel.prototype.isVisible = function(cell)
Returns true if the given mxCell is visible.
isVisible: function()
Returns true if the console is visible.
mxWindow.prototype.isVisible = function()
Returns true if the window is visible.
isVml: function(node)
Returns true if the given node is in the VML namespace.
mxGraph.prototype.isWrapping = function(cell)
This enables wrapping for HTML labels.
+
mxSvgCanvas2D.prototype.image = function(x,
y,
w,
h,
src,
aspect,
flipH,
flipV)
Private helper function to create SVG elements
mxVmlCanvas2D.prototype.image = function(x,
y,
w,
h,
src,
aspect,
flipH,
flipV)
Paints an image.
mxXmlCanvas2D.prototype.image = function(x,
y,
w,
h,
src,
aspect,
flipH,
flipV)
Paints an image.
mxGraph.prototype.importCells = function(cells,
dx,
dy,
target,
evt,
mapping)
Clones and inserts the given cells into the graph using the move method and returns the inserted cells.
importNode: function(doc,
node,
allChildren)
Cross browser implementation for document.importNode.
include: function(src)
Dynamically adds a script node to the document header.
indexOf: function(array,
obj)
Returns the index of obj in array or -1 if the array does not contain the given object.
indexOfStylename: function(style,
stylename)
Returns the index of the given stylename in the given style.
info: function()
Writes the current navigator information to the console.
mxCellEditor.prototype.init = function ()
Creates the textarea and installs the event listeners.
mxConnectionHandler.prototype.init = function()
Initializes the shapes required for this connection handler.
mxEdgeHandler.prototype.init = function()
Initializes the shapes required for this edge handler.
mxGraph.prototype.init = function(container)
Initializes the container and creates the respective datastructures.
mxGraphView.prototype.init = function()
Initializes the graph event dispatch loop for the specified container and invokes create to create the required DOM nodes for the display.
mxHandle.prototype.init = function()
Creates and initializes the shapes required for this handle.
mxLabel.prototype.init = function(container)
Initializes the shape and the indicator.
init: function()
Initializes the DOM node for the console.
mxOutline.prototype.init = function(container)
Initializes the outline inside the given container.
mxPopupMenu.prototype.init = function()
Initializes the shapes required for this vertex handler.
mxPopupMenuHandler.prototype.init = function()
Initializes the shapes required for this vertex handler.
mxShape.prototype.init = function(container)
Initializes the shape by creaing the DOM node using create and adding it into the given container.
mxTooltipHandler.prototype.init = function()
Initializes the DOM nodes required for this tooltip handler.
mxVertexHandler.prototype.init = function()
Initializes the shapes required for this vertex handler.
mxWindow.prototype.init = function(x,
y,
width,
height,
style)
Initializes the DOM tree that represents the window.
mxEdgeHandler.prototype.initBend = function(bend,
dblClick)
Helper method to initialize the given bend.
mxCellRenderer.prototype.initControl = function(state,
control,
handleEvents,
clickHandler)
Initializes the given control and returns the corresponding DOM node.
mxCoordinateAssignment.prototype.initialCoords = function(facade,
model)
Sets up the layout in an initial positioning.
mxCellRenderer.prototype.initializeLabel = function(state,
shape)
Initiailzes the label with a suitable container.
mxCellRenderer.prototype.initializeOverlay = function(state,
overlay)
Initializes the given overlay.
mxCellRenderer.prototype.initializeShape = function(state)
Initializes the shape in the given state by calling its init method with the correct container after configuring it using configureShape.
mxGraphHierarchyModel.prototype.initialRank = function()
Basic determination of minimum layer ranking by working from from sources or sinks and working through each node in the relevant edge direction.
mxSwimlaneModel.prototype.initialRank = function()
Basic determination of minimum layer ranking by working from from sources or sinks and working through each node in the relevant edge direction.
mxHandle.prototype.initShape = function(html)
Initializes shape and sets its cursor.
mxShape.prototype.initStyles = function(container)
Sets the styles to their default values.
mxCell.prototype.insert = function(child,
index)
Inserts the specified child into the child array at the specified index and updates the parent reference of the child.
mxDefaultToolbar.prototype.insert = function(vertex,
evt,
target)
Handles a drop by inserting the given vertex into the given parent cell or the default parent if no parent is specified.
mxPrintPreview.prototype.insertBackgroundImage = function(div,
dx,
dy)
Inserts the background image into the given div.
mxCell.prototype.insertEdge = function(edge,
isOutgoing)
Inserts the specified edge into the edge array and returns the edge.
mxConnectionHandler.prototype.insertEdge = function(parent,
id,
value,
source,
target,
style)
Creates, inserts and returns the new edge for the given parameters.
mxGraph.prototype.insertEdge = function(parent,
id,
value,
source,
target,
style)
Adds a new edge into the given parent mxCell using value as the user object and the given source and target as the terminals of the new edge.
mxCodec.prototype.insertIntoGraph = function(cell)
Inserts the given cell into its parent and terminal cells.
mxCellRenderer.prototype.insertStateAfter = function(state,
node,
htmlNode)
Inserts the given array of mxShapes after the given nodes in the DOM.
mxGraph.prototype.insertVertex = function(parent,
id,
value,
x,
y,
width,
height,
style,
relative)
Adds a new vertex into the given parent mxCell using value as the user object and the given coordinates as the mxGeometry of the new vertex.
mxEditor.prototype.installChangeHandler = function (graph)
Installs the listeners required to automatically validate the graph.
mxWindow.prototype.installCloseHandler = function()
Adds the closeImage as a new image node in closeImg and installs the close event.
mxEditor.prototype.installDblClickHandler = function (graph)
Overrides mxGraph.dblClick to invoke dblClickAction on a cell and reset the selection tool in the toolbar.
mxEditor.prototype.installDrillHandler = function (graph)
Installs listeners for dispatching the root event.
mxDefaultToolbar.prototype.installDropHandler = function (img,
dropHandler)
Makes the given img draggable using the given function for handling a drop event.
mxEditor.prototype.installInsertHandler = function (graph)
Installs the handler for invoking insertFunction if one is defined.
mxCellEditor.prototype.installListeners = function(elt)
Installs listeners for focus, change and standard key event handling.
mxCellRenderer.prototype.installListeners = function(state)
Installs the event listeners for the given cell state.
mxGraphView.prototype.installListeners = function()
Installs the required listeners in the container.
mxWindow.prototype.installMaximizeHandler = function()
Installs the event listeners required for maximizing the window.
mxWindow.prototype.installMinimizeHandler = function()
Installs the event listeners required for minimizing the window.
mxWindow.prototype.installMoveHandler = function()
Installs the event listeners required for moving the window.
Installs the listeners for the given mxCellState, mxCellOverlay and mxShape that represents the overlay.
mxEditor.prototype.installUndoHandler = function (graph)
Adds the undoManager to the graph model and the view.
intersection: function (x0,
y0,
x1,
y1,
x2,
y2,
x3,
y3)
Returns the intersection of two lines as an mxPoint.
mxCellMarker.prototype.intersects = function(state,
me)
Returns true if the given coordinate pair intersects the given state.
mxConstraintHandler.prototype.intersects = function(icon,
mouse,
source,
existingEdge)
Returns true if the given icon intersects the given rectangle.
mxGraph.prototype.intersects = function(state,
x,
y)
Returns the bottom-most cell that intersects the given point (x, y) in the cell hierarchy that starts at the given parent.
intersects: function(a,
b)
Returns true if the two rectangles intersect.
mxGraphView.prototype.invalidate = function(cell,
recurse,
includeEdges)
Invalidates the state of the given cell, all its descendants and connected edges.
mxGraphHierarchyEdge.prototype.invert = function(layer)
Inverts the direction of this internal edge(s)
mxDragSource.prototype.isActive = function()
Returns true if this drag source is active.
mxPanningHandler.prototype.isActive = function()
Returns true if the handler is currently active.
mxSwimlaneManager.prototype.isAddEnabled = function()
Returns addEnabled.
mxEdgeHandler.prototype.isAddPointEvent = function(evt)
Returns true if the given event is a trigger to add a new point.
mxEdgeHandler.prototype.isAddVirtualBendEvent = function(me)
Returns true if the given event allows virtual bends to be added.
mxGraph.prototype.isAllowDanglingEdges = function()
Returns allowDanglingEdges as a boolean.
mxGraphView.prototype.isAllowEval = function()
Returns allowEval.
mxGraph.prototype.isAllowLoops = function()
Returns allowLoops as a boolean.
mxGraph.prototype.isAllowOverlapParent = function(cell)
Returns true if the given cell is allowed to be placed outside of the parents area.
isAltDown: function(evt)
Returns true if the alt key is pressed for the given event.
mxGraphHierarchyNode.prototype.isAncestor = function(otherNode)
mxGraphModel.prototype.isAncestor = function(parent,
child)
Returns true if the given parent is an ancestor of the given child.
isAncestorNode: function(ancestor,
child)
Returns true if the given ancestor is an ancestor of the given DOM node in the DOM.
mxArrowConnector.prototype.isArrowRounded = function()
Returns wether the arrow is rounded
mxGraph.prototype.isAutoSizeCell = function(cell)
Returns true if the size of the given cell should automatically be updated after a change of the label.
mxGraph.prototype.isAutoSizeCells = function()
Returns autoSizeCells.
mxXmlRequest.prototype.isBinary = function()
Returns binary.
mxObjectCodec.prototype.isBooleanAttribute = function(enc,
obj,
name,
value)
Returns true if the given object attribute is a boolean value.
isBrowserSupported: function()
Returns true if the current browser is supported, that is, if mxClient.IS_VML or mxClient.IS_SVG is true.
mxLayoutManager.prototype.isBubbling = function()
Returns true if a layout should bubble, that is, if the parent layout should be executed whenever a cell layout (layout of the children of a cell) has been executed.
mxGraph.prototype.isCellBendable = function(cell)
Returns true if the given cell is bendable.
mxGraph.prototype.isCellCloneable = function(cell)
Returns true if the given cell is cloneable.
codec.isCellCodec = function()
Returns true since this is a cell codec.
mxCodec.prototype.isCellCodec = function(codec)
Returns true if the given codec is a cell codec.
mxGraph.prototype.isCellCollapsed = function(cell)
Returns true if the given cell is collapsed in this graph.
mxGraphView.prototype.isCellCollapsed = function(cell)
Returns true if the children of the given cell should not be visible in the view.
mxGraph.prototype.isCellConnectable = function(cell)
Returns true if the given cell is connectable in this graph.
mxGraph.prototype.isCellDeletable = function(cell)
Returns true if the given cell is moveable.
mxGraph.prototype.isCellDisconnectable = function(cell,
terminal,
source)
Returns true if the given cell is disconnectable from the source or target terminal.
mxGraph.prototype.isCellEditable = function(cell)
Returns true if the given cell is editable.
mxGraph.prototype.isCellFoldable = function(cell,
collapse)
Returns true if the given cell is foldable.
mxSwimlaneManager.prototype.isCellHorizontal = function(cell)
Returns true if the given cell is horizontal.
mxGraph.prototype.isCellLocked = function(cell)
Returns true if the given cell may not be moved, sized, bended, disconnected, edited or selected.
mxGraph.prototype.isCellMovable = function(cell)
Returns true if the given cell is moveable.
mxGraph.prototype.isCellResizable = function(cell)
Returns true if the given cell is resizable.
mxGraph.prototype.isCellRotatable = function(cell)
Returns true if the given cell is rotatable.
mxGraph.prototype.isCellsBendable = function()
Returns cellsBenadable.
mxGraph.prototype.isCellsCloneable = function()
Returns cellsCloneable, that is, if the graph allows cloning of cells by using control-drag.
mxGraph.prototype.isCellsDeletable = function()
Returns cellsDeletable.
mxGraph.prototype.isCellsDisconnectable = function()
Returns cellsDisconnectable.
mxGraph.prototype.isCellsEditable = function()
Returns cellsEditable.
mxGraph.prototype.isCellSelectable = function(cell)
Returns true if the given cell is selectable.
mxGraph.prototype.isCellSelected = function(cell)
Returns true if the given cell is selected.
mxGraph.prototype.isCellsLocked = function()
Returns true if the given cell may not be moved, sized, bended, disconnected, edited or selected.
mxGraph.prototype.isCellsMovable = function()
Returns cellsMovable.
mxGraph.prototype.isCellsResizable = function()
Returns cellsResizable.
mxGraph.prototype.isCellsSelectable = function()
Returns cellsSelectable.
mxGraph.prototype.isCellVisible = function(cell)
Returns true if the given cell is visible in this graph.
mxVertexHandler.prototype.isCenteredEvent = function(state,
me)
Returns true if the aspect ratio if the cell should be maintained.
mxGraphHandler.prototype.isCloneEnabled = function()
Returns cloneEnabled.
mxGraph.prototype.isCloneEvent = function(evt)
Returns true if the given event is a clone event.
mxGraph.prototype.isCloneInvalidEdges = function()
Returns cloneInvalidEdges as a boolean.
mxCell.prototype.isCollapsed = function()
Returns true if the cell is collapsed.
mxGraphModel.prototype.isCollapsed = function(cell)
Returns true if the given mxCell is collapsed.
mxCell.prototype.isConnectable = function()
Returns true if the cell is connectable.
mxGraph.prototype.isConnectable = function(connectable)
Returns true if the connectionHandler is enabled.
mxGraphModel.prototype.isConnectable = function(cell)
Returns true if the given mxCell is connectable.
mxConnectionHandler.prototype.isConnectableCell = function(cell)
Returns true if the given cell is connectable.
mxEdgeHandler.prototype.isConnectableCell = function(cell)
Returns true if the given cell is connectable.
mxGraph.prototype.isConnectableEdges = function()
Returns connectableEdges as a boolean.
mxConnectionHandler.prototype.isConnecting = function()
Returns true if the source terminal has been clicked and a new connection is currently being previewed.
mxGraph.prototype.isConstrainChild = function(cell)
Returns true if the given cell should be kept inside the bounds of its parent according to the rules defined by getOverlap and isAllowOverlapParent.
mxGraph.prototype.isConstrainChildren = function()
Returns constrainChildren.
mxGraph.prototype.isConstrainChildrenOnResize = function()
Returns constrainChildrenOnResize.
mxGraph.prototype.isConstrainedEvent = function(evt)
Returns true if the given mouse event should be aligned to the grid.
mxVertexHandler.prototype.isConstrainedEvent = function(me)
Returns true if the aspect ratio if the cell should be maintained.
isConsumed: function(evt)
Returns true if the event has been consumed using consume.
mxEventObject.prototype.isConsumed = function()
Returns true if the event has been consumed.
mxMouseEvent.prototype.isConsumed = function()
Returns consumed.
mxGraphView.prototype.isContainerEvent = function(evt)
Returns true if the event origin is one of the drawing panes or containers of the view.
isControlDown: function(evt)
Returns true if the control key is pressed for the given event.
mxKeyHandler.prototype.isControlDown = function(evt)
Returns true if the control key is pressed.
mxGraphModel.prototype.isCreateIds = function()
Returns createIds.
mxConnectionHandler.prototype.isCreateTarget = function(evt)
Returns createTarget.
mxEdgeHandler.prototype.isCustomHandleEvent = function(me)
Returns true if the given event allows custom handles to be changed.
mxVertexHandler.prototype.isCustomHandleEvent = function(me)
Returns true if the given event allows custom handles to be changed.
mxGraphHandler.prototype.isDelayedSelection = function(cell,
me)
Hook to return true for delayed selections.
mxGraph.prototype.isDisconnectOnMove = function()
Returns disconnectOnMove as a boolean.
mxGraph.prototype.isDropEnabled = function()
Returns dropEnabled as a boolean.
mxCell.prototype.isEdge = function()
Returns true if the cell is an edge.
mxGraphAbstractHierarchyCell.prototype.isEdge = function()
Returns whether or not this cell is an edge
mxGraphHierarchyEdge.prototype.isEdge = function()
Returns true.
mxGraphModel.prototype.isEdge = function(cell)
Returns true if the given cell is an edge.
mxGraphLayout.prototype.isEdgeIgnored = function(edge)
Returns a boolean indicating if the given mxCell should be ignored by the algorithm.
mxGraph.prototype.isEdgeLabelsMovable = function()
Returns edgeLabelsMovable.
mxGraph.prototype.isEdgeValid = function(edge,
source,
target)
Checks if the return value of getEdgeValidationError for the given arguments is null.
mxGraph.prototype.isEditing = function(cell)
Returns true if the given cell is currently being edited.
mxCellStatePreview.prototype.isEmpty = function()
Returns true if this contains no entries.
isEmpty: function()
Returns true if the clipboard currently has not data stored.
mxGraphSelectionModel.prototype.isEmpty = function()
Returns true if no cells are currently selected.
mxUndoableEdit.prototype.isEmpty = function()
Returns true if the this edit contains no changes.
mxUndoManager.prototype.isEmpty = function()
Returns true if the history is empty.
mxAutoSaveManager.prototype.isEnabled = function()
Returns true if events are handled.
mxCellMarker.prototype.isEnabled = function()
Returns true if events are handled.
mxConnectionHandler.prototype.isEnabled = function()
Returns true if events are handled.
mxConstraintHandler.prototype.isEnabled = function()
Returns true if events are handled.
mxDragSource.prototype.isEnabled = function()
Returns enabled.
mxGraph.prototype.isEnabled = function()
Returns true if the graph is enabled.
mxGraphHandler.prototype.isEnabled = function()
Returns enabled.
mxKeyHandler.prototype.isEnabled = function()
Returns true if events are handled.
mxLayoutManager.prototype.isEnabled = function()
Returns true if events are handled.
mxOutline.prototype.isEnabled = function()
Returns true if events are handled.
mxPopupMenu.prototype.isEnabled = function()
Returns true if events are handled.
mxRubberband.prototype.isEnabled = function()
Returns true if events are handled.
mxSelectionCellsHandler.prototype.isEnabled = function()
Returns enabled.
mxSwimlaneManager.prototype.isEnabled = function()
Returns true if events are handled.
mxTooltipHandler.prototype.isEnabled = function()
Returns true if events are handled.
mxUrlConverter.prototype.isEnabled = function()
Returns enabled.
mxGuide.prototype.isEnabledForEvent = function(evt)
Returns true if the guide should be enabled for the given native event.
mxKeyHandler.prototype.isEnabledForEvent = function(evt)
Returns true if the given event should be handled.
mxGraph.prototype.isEnterStopsCellEditing = function()
Returns enterStopsCellEditing.
mxGraph.prototype.isEscapeEnabled = function()
Returns escapeEnabled.
mxConstraintHandler.prototype.isEventIgnored = function(me,
source)
Returns true if the given mxMouseEvent should be ignored in update.
mxGraph.prototype.isEventIgnored = function(evtName,
me,
sender)
Returns true if the event should be ignored in fireMouseEvent.
mxKeyHandler.prototype.isEventIgnored = function(evt)
Returns true if the given keystroke should be ignored.
mxEventSource.prototype.isEventsEnabled = function()
Returns eventsEnabled.
mxCellEditor.prototype.isEventSource = function(evt)
Returns true if this editor is the source for the given native event.
mxGraph.prototype.isEventSourceIgnored = function(evtName,
me)
Returns true if the event should be ignored in fireMouseEvent.
codec.isExcluded = function(obj,
attr,
value,
isWrite)
Excludes user objects that are XML nodes.
mxObjectCodec.prototype.isExcluded = function(obj,
attr,
value,
write)
Returns true if the given attribute is to be ignored by the codec.
mxGraph.prototype.isExtendParent = function(cell)
Returns true if the parent of the given cell should be extended if the child has been resized so that it overlaps the parent.
mxGraph.prototype.isExtendParents = function()
Returns extendParents.
mxGraph.prototype.isExtendParentsOnAdd = function(cell)
Returns extendParentsOnAdd.
mxGraph.prototype.isExtendParentsOnMove = function()
Returns extendParentsOnAdd.
mxPanningHandler.prototype.isForcePanningEvent = function(me)
Returns true if the given mxMouseEvent should start panning.
mxRubberband.prototype.isForceRubberbandEvent = function(me)
Returns true if the given mxMouseEvent should start rubberband selection.
mxKeyHandler.prototype.isGraphEvent = function(evt)
Returns true if the event should be processed by this handler, that is, if the event source is either the target, one of its direct children, a descendant of the mxGraph.container, or the mxGraph.cellEditor of the graph.
mxDragSource.prototype.isGridEnabled = function()
Returns gridEnabled.
mxGraph.prototype.isGridEnabled = function()
Returns gridEnabled as a boolean.
mxGraph.prototype.isGridEnabledEvent = function(evt)
Returns true if the given mouse event should be aligned to the grid.
mxDragSource.prototype.isGuidesEnabled = function()
Returns guidesEnabled.
mxEdgeHandler.prototype.isHandleEnabled = function(index)
Creates the shape used to display the given bend.
mxEdgeHandler.prototype.isHandleVisible = function(index)
Returns true if the handle at the given index is visible.
mxCellEditor.prototype.isHideLabel = function(state)
Returns true if the label should be hidden while the cell is being edited.
mxTooltipHandler.prototype.isHideOnHover = function()
Returns hideOnHover.
mxCellHighlight.prototype.isHighlightAt = function(x,
y)
Returns true if this highlight is at the given position.
mxCompactTreeLayout.prototype.isHorizontal = function()
Returns horizontal.
mxPartitionLayout.prototype.isHorizontal = function()
Returns horizontal.
mxStackLayout.prototype.isHorizontal = function()
Returns horizontal.
mxSwimlaneManager.prototype.isHorizontal = function()
Returns horizontal.
mxCellMarker.prototype.isHotspotEnabled = function()
Returns true if hotspot is used in intersects.
mxImageShape.prototype.isHtmlAllowed = function()
Returns true if HTML is allowed for this shape.
mxLabel.prototype.isHtmlAllowed = function()
Returns true for non-rounded, non-rotated shapes with no glass gradient and no indicator shape.
mxRectangleShape.prototype.isHtmlAllowed = function()
Returns true for non-rounded, non-rotated shapes with no glass gradient.
mxShape.prototype.isHtmlAllowed = function()
Returns true if HTML is allowed for this shape.
mxText.prototype.isHtmlAllowed = function()
Returns true if HTML is allowed for this shape.
mxGraph.prototype.isHtmlLabel = function(cell)
Returns true if the label must be rendered as HTML markup.
mxGraph.prototype.isHtmlLabels = function()
Returns htmlLabels.
mxHandle.prototype.isHtmlRequired = function()
Returns true if this handle should be rendered in HTML.
mxObjectCodec.prototype.isIgnoredAttribute = function(dec,
attr,
obj)
Returns true if the given attribute should be ignored.
mxConnectionHandler.prototype.isImmediateConnectSource = function(state)
Returns true if a tap on the given source state should immediately start connecting.
mxConnectionHandler.prototype.isInsertBefore = function(edge,
source,
target,
evt,
dropTarget)
Returns insertBeforeSource for non-loops and false for loops.
isInteger: function(n)
Returns true if the given value is an valid integer number.
mxGraph.prototype.isInvokesStopCellEditing = function()
Returns invokesStopCellEditing.
mxConstraintHandler.prototype.isKeepFocusEvent = function(me)
Returns true if the current focused state should not be changed for the given event.
mxGraph.prototype.isLabelClipped = function(cell)
Returns true if the overflow portion of labels should be hidden.
mxCellRenderer.prototype.isLabelEvent = function(state,
evt)
Returns true if the event is for the label of the given state.
mxGraph.prototype.isLabelMovable = function(cell)
Returns true if the given edges’s label is moveable.
isLanguageSupported: function(lan)
Hook for subclassers to disable support for a given language.
mxGraphModel.prototype.isLayer = function(cell)
Returns true if isRoot returns true for the parent of the given cell.
isLeftMouseButton: function(evt)
Returns true if the left mouse button is pressed for the given event.
mxVertexHandler.prototype.isLivePreviewBorder = function()
Called if livePreview is enabled to check if a border should be painted.
mxGraph.prototype.isLoop = function(state)
Returns true if the given cell state is a loop.
mxGraphView.prototype.isLoopStyleEnabled = function(edge,
points,
source,
target)
Returns true if the given edge should be routed with mxGraph.defaultLoopStyle or the mxConstants.STYLE_LOOP defined for the given edge.
mxArrowConnector.prototype.isMarkerEnd = function()
Returns whether the end marker is drawn
mxArrowConnector.prototype.isMarkerStart = function()
Returns whether the start marker is drawn
mxPopupMenu.prototype.isMenuShowing = function()
Returns true if the menu is showing.
isMetaDown: function(evt)
Returns true if the meta key is pressed for the given event.
isMiddleMouseButton: function(evt)
Returns true if the middle mouse button is pressed for the given event.
mxEditor.prototype.isModified = function ()
Returns modified.
isMouseEvent: function(evt)
Returns true if the event was generated using a mouse (not a pen or touch device).
mxGraphHandler.prototype.isMoveEnabled = function()
Returns moveEnabled.
mxConnectionHandler.prototype.isMoveIconToFrontForState = function(state)
Returns true if the state has a HTML label in the graph’s container, otherwise it returns moveIconFront.
mxGraph.prototype.isMultigraph = function()
Returns multigraph as a boolean.
isMultiTouchEvent: function(evt)
Returns true if the event was generated using a touch device (not a pen or mouse).
isNaN: function(value)
Returns true if the given value is of type number and isNaN returns true.
isNode: function(value,
nodeName,
attributeName,
attributeValue)
Returns true if the given value is an XML node with the node name and if the optional attribute has the specified value.
isNumeric: function(n)
Returns true if the specified value is numeric, that is, if it is not null, not an empty string, not a HEX number and isNaN returns false.
mxObjectCodec.prototype.isNumericAttribute = function(dec,
attr,
obj)
Returns true if the given XML attribute is a numeric value.
mxArrowConnector.prototype.isOpenEnded = function()
Returns whether the ends of the shape are drawn
mxGraph.prototype.isOrthogonal = function(edge)
Returns true if perimeter points should be computed such that the resulting edge has only horizontal or vertical segments.
mxConnectionHandler.prototype.isOutlineConnectEvent = function(me)
Returns true if outlineConnect is true and the source of the event is the outline shape or shift is pressed.
mxEdgeHandler.prototype.isOutlineConnectEvent = function(me)
Returns true if outlineConnect is true and the source of the event is the outline shape or shift is pressed.
mxPolyline.prototype.isPaintBoundsInverted = function()
Returns false.
mxShape.prototype.isPaintBoundsInverted = function()
Returns true if the bounds should be inverted.
mxText.prototype.isPaintBoundsInverted = function()
Inverts the bounds if mxShape.isBoundsInverted returns true or if the horizontal style is false.
mxPanningHandler.prototype.isPanningEnabled = function()
Returns panningEnabled.
mxPanningHandler.prototype.isPanningTrigger = function(me)
Returns true if the given event is a panning trigger for the optional given cell.
mxShape.prototype.isParseVml = function()
Specifies if any VML should be added via insertAdjacentHtml to the DOM.
mxText.prototype.isParseVml = function()
Text shapes do not contain VML markup and do not need to be parsed.
mxPanningHandler.prototype.isPinchEnabled = function()
Returns pinchEnabled.
isPopupTrigger: function(evt)
Returns true if the event is a popup trigger.
mxMouseEvent.prototype.isPopupTrigger = function()
Returns true if the event is a popup trigger.
mxPopupMenu.prototype.isPopupTrigger = function(me)
Returns true if the given event is a popupmenu trigger for the optional given cell.
mxGraph.prototype.isPort = function(cell)
Returns true if the given cell is a “port”, that is, when connecting to it, the cell returned by getTerminalForPort should be used as the terminal and the port should be referenced by the ID in either the mxConstants.STYLE_SOURCE_PORT or the or the mxConstants.STYLE_TARGET_PORT.
mxHierarchicalLayout.prototype.isPort = function(cell)
Returns true if the given cell is a “port”, that is, when connecting to it, its parent is the connecting vertex in terms of graph traversal
mxSwimlaneLayout.prototype.isPort = function(cell)
Returns true if the given cell is a “port”, that is, when connecting to it, its parent is the connecting vertex in terms of graph traversal
mxGraph.prototype.isPortsEnabled = function()
Returns portsEnabled as a boolean.
mxEditor.prototype.isPropertiesVisible = function ()
Returns true if the properties dialog is currently visible.
mxXmlRequest.prototype.isReady = function()
Returns true if the response is ready.
mxGraph.prototype.isRecursiveResize = function(state)
Returns recursiveResize.
codec.isReference = function(obj,
attr,
value,
isWrite)
Returns true for the child attribute if the child cell had a previous parent or if we’re reading the child as an attribute rather than a child node, in which case it’s always a reference.
mxObjectCodec.prototype.isReference = function(obj,
attr,
value,
write)
Returns true if the given fieldname is to be treated as a textual reference (ID).
mxUrlConverter.prototype.isRelativeUrl = function(url)
Returns true if the given URL is relative.
mxGraphHandler.prototype.isRemoveCellsFromParent = function()
Returns removeCellsFromParent.
mxEdgeHandler.prototype.isRemovePointEvent = function(evt)
Returns true if the given event is a trigger to remove a point.
mxGraphView.prototype.isRendering = function()
Returns rendering.
mxWindow.prototype.isResizable = function()
Returns true if the window is resizable.
mxGraph.prototype.isResizeContainer = function()
Returns resizeContainer.
mxSwimlaneManager.prototype.isResizeEnabled = function()
Returns resizeEnabled.
isRightMouseButton: function(evt)
Returns true if the right mouse button was pressed.
mxGraphModel.prototype.isRoot = function(cell)
Returns true if the given cell is the root of the model and a non-null value.
mxVertexHandler.prototype.isRotationHandleVisible = function()
Returns true if the rotation handle should be showing.
mxAnimation.prototype.isRunning = function()
Returns true if the animation is running.
mxGraphView.prototype.isScrollEvent = function(evt)
Returns true if the event origin is one of the scrollbars of the container in IE.
mxGraphSelectionModel.prototype.isSelected = function(cell)
Returns true if the given mxCell is selected.
mxGraphHandler.prototype.isSelectEnabled = function()
Returns selectEnabled.
mxEdgeHandler.prototype.isSelectionDashed = function()
Returns mxConstants.EDGE_SELECTION_DASHED.
mxVertexHandler.prototype.isSelectionDashed = function()
Returns mxConstants.VERTEX_SELECTION_DASHED.
mxGraph.prototype.isSelectionEmpty = function()
Returns true if the selection is empty.
mxPopupMenuHandler.prototype.isSelectOnPopup = function(me)
Hook for returning if a cell should be selected for a given mxMouseEvent.
mxCellEditor.prototype.isSelectText = function()
Returns selectText.
mxCellRenderer.prototype.isShapeEvent = function(state,
evt)
Returns true if the event is for the shape of the given state.
isShiftDown: function(evt)
Returns true if the shift key is pressed for the given event.
mxUndoableEdit.prototype.isSignificant = function()
Returns significant.
mxGraphSelectionModel.prototype.isSingleSelection = function()
Returns singleSelection as a boolean.
mxVertexHandler.prototype.isSizerVisible = function(index)
Returns true if the sizer for the given index is visible.
mxEdgeHandler.prototype.isSnapToTerminalsEvent = function(me)
Returns true if snapToTerminals is true and if alt is not pressed.
mxMouseEvent.prototype.isSource = function(shape)
Returns true if the given mxShape is the source of evt.
mxGraph.prototype.isSplitEnabled = function()
Returns splitEnabled as a boolean.
mxGraph.prototype.isSplitTarget = function(target,
cells,
evt)
Returns true if the given edge may be splitted into two edges with the given cell as a new terminal between the two.
mxConnectionHandler.prototype.isStartEvent = function(me)
Returns true if the given mouse down event should start this handler.
mxConstraintHandler.prototype.isStateIgnored = function(state,
source)
Returns true if the given state should be ignored.
mxCellEditor.prototype.isStopEditingEvent = function(evt)
Returns true if the given keydown event should stop cell editing.
mxConnectionHandler.prototype.isStopEvent = function(me)
Returns true if the given mouse up event should stop this handler.
mxGraph.prototype.isSwimlane = function (cell)
Returns true if the given cell is a swimlane in the graph.
mxSwimlaneManager.prototype.isSwimlaneIgnored = function(swimlane)
Returns true if the given swimlane should be ignored.
mxGraph.prototype.isSwimlaneNesting = function()
Returns swimlaneNesting as a boolean.
mxGraph.prototype.isSwimlaneSelectionEnabled = function()
Returns swimlaneSelectionEnabled as a boolean.
mxGraph.prototype.isSyntheticEventIgnored = function(evtName,
me,
sender)
Hook for ignoring synthetic mouse events after touchend in Firefox.
mxGraph.prototype.isTerminalPointMovable = function(cell,
source)
Returns true if the given terminal point is movable.
mxCellRenderer.prototype.isTextShapeInvalid = function(state,
shape)
Returns true if the style for the text shape has changed.
mxGraph.prototype.isToggleEvent = function(evt)
Returns true if the given event is a toggle event.
isTouchEvent: function(evt)
Returns true if the event was generated using a touch device (not a pen or mouse).
mxGraph.prototype.isValidAncestor = function(cell,
parent,
recurse)
Returns whether or not the specified parent is a valid ancestor of the specified cell, either direct or indirectly based on whether ancestor recursion is enabled.
mxGraph.prototype.isValidConnection = function(source,
target)
Returns true if the given target cell is a valid target for source.
mxGraph.prototype.isValidDropTarget = function(cell,
cells,
evt)
Returns true if the given cell is a valid drop target for the specified cells.
mxGraph.prototype.isValidRoot = function(cell)
Returns true if the given cell is a valid root for the cell display hierarchy.
mxConnectionHandler.prototype.isValidSource = function(cell,
me)
Returns mxGraph.isValidSource for the given source terminal.
mxGraph.prototype.isValidSource = function(cell)
Returns true if the given cell is a valid source for new connections.
mxCellMarker.prototype.isValidState = function(state)
Returns true if the given mxCellState is a valid state.
mxConnectionHandler.prototype.isValidTarget = function(cell)
Returns true.
mxGraph.prototype.isValidTarget = function(cell)
Returns isValidSource for the given cell.
mxCell.prototype.isVertex = function()
Returns true if the cell is a vertex.
mxGraphAbstractHierarchyCell.prototype.isVertex = function()
Returns whether or not this cell is a node
mxGraphHierarchyNode.prototype.isVertex = function()
Returns true.
mxGraphModel.prototype.isVertex = function(cell)
Returns true if the given cell is a vertex.
mxCompactTreeLayout.prototype.isVertexIgnored = function(vertex)
Returns a boolean indicating if the given mxCell should be ignored as a vertex.
mxFastOrganicLayout.prototype.isVertexIgnored = function(vertex)
Returns a boolean indicating if the given mxCell should be ignored as a vertex.
mxGraphLayout.prototype.isVertexIgnored = function(vertex)
Returns a boolean indicating if the given mxCell should be ignored by the algorithm.
mxRadialTreeLayout.prototype.isVertexIgnored = function(vertex)
Returns a boolean indicating if the given mxCell should be ignored as a vertex.
mxGraph.prototype.isVertexLabelsMovable = function()
Returns vertexLabelsMovable.
mxGraphLayout.prototype.isVertexMovable = function(cell)
Returns a boolean indicating if the given mxCell is movable or bendable by the algorithm.
mxEdgeHandler.prototype.isVirtualBendsEnabled = function(evt)
Returns true if virtual bends should be added.
mxCell.prototype.isVisible = function()
Returns true if the cell is visibile.
mxGraphModel.prototype.isVisible = function(cell)
Returns true if the given mxCell is visible.
isVisible: function()
Returns true if the console is visible.
mxWindow.prototype.isVisible = function()
Returns true if the window is visible.
isVml: function(node)
Returns true if the given node is in the VML namespace.
mxGraph.prototype.isWrapping = function(cell)
This enables wrapping for HTML labels.
diff --git a/docs/js-api/index/General10.html b/docs/js-api/index/General10.html index fb341da40..56ec42e45 100644 --- a/docs/js-api/index/General10.html +++ b/docs/js-api/index/General10.html @@ -11,17 +11,17 @@ if (browserType) {document.write("
");if (browserV -
Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
J
 jettyPositions, mxCoordinateAssignment
 join, mxCompactTreeLayout
K
 keepEdgesInBackground, mxGraph
 keepEdgesInForeground, mxGraph
 keepFirstLocation, mxStackLayout
 keepOnTop, mxCellHighlight
 keepSelectionVisibleOnZoom, mxGraph
 keyDown, mxKeyHandler
 keyHandler, mxEditor
L
 LABEL_CHANGED
 LABEL_HANDLE, mxEvent
 LABEL_HANDLE_FILLCOLOR, mxConstants
 LABEL_HANDLE_SIZE, mxConstants
 labelChanged, mxGraph
 labels, mxPopupMenu
 labelShape, mxEdgeHandler
 labelsVisible
 language, mxClient
 languages, mxClient
 lastForegroundHtmlNode, mxGraphView
 lastForegroundNode, mxGraphView
 lastHtmlNode, mxGraphView
 lastNode, mxGraphView
 lastSavedResource, mxEditor
 lastSnapshot, mxAutoSaveManager
 lastTouchTime, mxGraph
 lastTouchX, mxGraph
 lastValue, mxText
 lastX, mxAbstractCanvas2D
 lastY, mxAbstractCanvas2D
 layeringStage
 layout
 LAYOUT_CELLS
 layoutCells, mxLayoutManager
 layoutDiagram, mxEditor
 layoutLeaf, mxCompactTreeLayout
 layouts, mxCompositeLayout
 layoutSwimlanes, mxEditor
 leave, mxLog
 legacyControlPosition, mxCellRenderer
 legacySpacing, mxCellRenderer
 length, mxCellState
 levelDistance
 limitX, mxCoordinateAssignment
 LINE_ARCSIZE, mxConstants
 LINE_HEIGHT, mxConstants
 lineFeed, mxEditor
 lineHeightCorrection, mxSvgCanvas2D
 lineOp
 lineTo
 link
 linkAction, mxUtils
 linkInvoke, mxUtils
 livePreview
 load, mxUtils
 loadDefaultBundle, mxResources
 loadInto, mxUtils
 loadResources, mxResources
 localEdgeProcessing
 LOCKED_HANDLE_FILLCOLOR, mxConstants
 lookup, mxCodec
 Loop, mxEdgeStyle
 ltrim, mxUtils
+
Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
J
 jettyPositions, mxCoordinateAssignment
 join, mxCompactTreeLayout
K
 keepEdgesInBackground, mxGraph
 keepEdgesInForeground, mxGraph
 keepFirstLocation, mxStackLayout
 keepOnTop, mxCellHighlight
 keepSelectionVisibleOnZoom, mxGraph
 keyDown, mxKeyHandler
 keyHandler, mxEditor
L
 LABEL_CHANGED
 LABEL_HANDLE, mxEvent
 LABEL_HANDLE_FILLCOLOR, mxConstants
 LABEL_HANDLE_SIZE, mxConstants
 labelChanged, mxGraph
 labels, mxPopupMenu
 labelShape, mxEdgeHandler
 labelsVisible
 language, mxClient
 languages, mxClient
 lastForegroundHtmlNode, mxGraphView
 lastForegroundNode, mxGraphView
 lastHtmlNode, mxGraphView
 lastNode, mxGraphView
 lastSavedResource, mxEditor
 lastSnapshot, mxAutoSaveManager
 lastTouchTime, mxGraph
 lastTouchX, mxGraph
 lastValue, mxText
 lastX, mxAbstractCanvas2D
 lastY, mxAbstractCanvas2D
 layeringStage
 layout
 LAYOUT_CELLS
 layoutCells, mxLayoutManager
 layoutDiagram, mxEditor
 layoutLeaf, mxCompactTreeLayout
 layouts, mxCompositeLayout
 layoutSwimlanes, mxEditor
 leave, mxLog
 legacyControlPosition, mxCellRenderer
 legacySpacing, mxCellRenderer
 length, mxCellState
 levelDistance
 limitX, mxCoordinateAssignment
 LINE_ARCSIZE, mxConstants
 LINE_HEIGHT, mxConstants
 lineFeed, mxEditor
 lineHeightCorrection, mxSvgCanvas2D
 lineOp
 lineTo
 link
 linkAction, mxUtils
 linkInvoke, mxUtils
 livePreview
 load, mxUtils
 loadDefaultBundle, mxResources
 loadInto, mxUtils
 loadResources, mxResources
 localEdgeProcessing
 LOCKED_HANDLE_FILLCOLOR, mxConstants
 lookup, mxCodec
 Loop, mxEdgeStyle
 ltrim, mxUtils
-
mxCoordinateAssignment.prototype.jettyPositions
Map of internal edges and (x,y) pair of positions of the start and end jetty for that edge where it connects to the source and target vertices.
mxCompactTreeLayout.prototype.join = function(node)
+
mxCoordinateAssignment.prototype.jettyPositions
Map of internal edges and (x,y) pair of positions of the start and end jetty for that edge where it connects to the source and target vertices.
mxCompactTreeLayout.prototype.join = function(node)
-
mxGraph.prototype.keepEdgesInBackground
Specifies if edges should appear in the background regardless of their order in the model.
mxGraph.prototype.keepEdgesInForeground
Specifies if edges should appear in the foreground regardless of their order in the model.
mxStackLayout.prototype.keepFirstLocation
Boolean indicating if the location of the first cell should be kept, that is, it will not be moved to x0 or y0.
mxCellHighlight.prototype.keepOnTop
Specifies if the highlights should appear on top of everything else in the overlay pane.
mxGraph.prototype.keepSelectionVisibleOnZoom
Specifies if the viewport should automatically contain the selection cells after a zoom operation.
mxKeyHandler.prototype.keyDown = function(evt)
Handles the event by invoking the function bound to the respective keystroke if isEnabledForEvent returns true for the given event and if isEventIgnored returns false, except for escape for which isEventIgnored is not invoked.
mxEditor.prototype.keyHandler
Holds a mxDefaultKeyHandler for handling keyboard events.
+
mxGraph.prototype.keepEdgesInBackground
Specifies if edges should appear in the background regardless of their order in the model.
mxGraph.prototype.keepEdgesInForeground
Specifies if edges should appear in the foreground regardless of their order in the model.
mxStackLayout.prototype.keepFirstLocation
Boolean indicating if the location of the first cell should be kept, that is, it will not be moved to x0 or y0.
mxCellHighlight.prototype.keepOnTop
Specifies if the highlights should appear on top of everything else in the overlay pane.
mxGraph.prototype.keepSelectionVisibleOnZoom
Specifies if the viewport should automatically contain the selection cells after a zoom operation.
mxKeyHandler.prototype.keyDown = function(evt)
Handles the event by invoking the function bound to the respective keystroke if isEnabledForEvent returns true for the given event and if isEventIgnored returns false, except for escape for which isEventIgnored is not invoked.
mxEditor.prototype.keyHandler
Holds a mxDefaultKeyHandler for handling keyboard events.
-
Specifies the event name for labelChanged.
Fires between begin- and endUpdate in cellLabelChanged.
Index for the label handle in an mxMouseEvent.
Defines the color to be used for the label handle fill color.
Defines the default size for label handles.
mxGraph.prototype.labelChanged = function(cell,
value,
evt)
Sets the label of the specified cell to the given value using cellLabelChanged and fires mxEvent.LABEL_CHANGED while the transaction is in progress.
mxPopupMenu.prototype.labels
Specifies if any labels should be visible.
mxEdgeHandler.prototype.labelShape
Holds the mxShape that represents the label position.
mxGraph.prototype.labelsVisible
Specifies if labels should be visible.
mxOutline.prototype.labelsVisible
Specifies if labels should be visible in the outline.
Defines the language of the client, eg.
Defines the optional array of all supported language extensions.
mxGraphView.prototype.lastForegroundHtmlNode
During validation, this contains the last edge HTML DOM node that was processed.
mxGraphView.prototype.lastForegroundNode
During validation, this contains the last edge’s DOM node that was processed.
mxGraphView.prototype.lastHtmlNode
During validation, this contains the last HTML DOM node that was processed.
mxGraphView.prototype.lastNode
During validation, this contains the last DOM node that was processed.
mxEditor.prototype.lastSavedResource
Specifies the resource key for the last saved info.
mxAutoSaveManager.prototype.lastSnapshot
Used for autosaving.
mxGraph.prototype.lastTouchTime
Holds the time of the last touch event for double click detection.
Holds the x-coordinate of the last touch event for double tap detection.
mxText.prototype.lastValue
Contains the last rendered text value.
mxAbstractCanvas2D.prototype.lastX
Holds the last x coordinate.
mxAbstractCanvas2D.prototype.lastY
Holds the last y coordinate.
mxHierarchicalLayout.prototype.layeringStage = function()
Implements first stage of a Sugiyama layout.
mxSwimlaneLayout.prototype.layeringStage = function()
Implements first stage of a Sugiyama layout.
mxCompactTreeLayout.prototype.layout = function(node)
Starts the actual compact tree layout algorithm at the given node.
mxCoordinateAssignment.prototype.layout
Reference to the enclosing mxHierarchicalLayout.
mxMedianHybridCrossingReduction.prototype.layout
Reference to the enclosing mxHierarchicalLayout.
mxMinimumCycleRemover.prototype.layout
Reference to the enclosing mxHierarchicalLayout.
mxParallelEdgeLayout.prototype.layout = function(parallels)
Lays out the parallel edges in the given array.
mxSwimlaneOrdering.prototype.layout
Reference to the enclosing mxHierarchicalLayout.
Specifies the event name for layoutCells.
Fires between begin- and endUpdate after all cells have been layouted in layoutCells.
mxLayoutManager.prototype.layoutCells = function(cells)
Executes all layouts which have been scheduled during the changes.
mxEditor.prototype.layoutDiagram
Specifies if the top-level elements in the diagram should be layed out using a vertical or horizontal stack depending on the setting of horizontalFlow.
mxCompactTreeLayout.prototype.layoutLeaf = function(node)
mxCompositeLayout.prototype.layouts
Holds the array of mxGraphLayouts that this layout contains.
mxEditor.prototype.layoutSwimlanes
Specifies if the children of swimlanes should be layed out, either vertically or horizontally depending on horizontalFlow.
leave: function(string,
t0)
Writes the specified string to the console if TRACE is true and computes the difference between the current time and t0 in milliseconds.
mxCellRenderer.prototype.legacyControlPosition
Specifies if the folding icon should ignore the horizontal orientation of a swimlane.
mxCellRenderer.prototype.legacySpacing
Specifies if spacing and label position should be ignored if overflow is fill or width.
mxCellState.prototype.length
Caches the length of an edge.
mxCompactTreeLayout.prototype.levelDistance
Holds the levelDistance.
mxRadialTreeLayout.prototype.levelDistance
Holds the levelDistance.
mxCoordinateAssignment.prototype.limitX
The maximum x value this positioning lays up to
Defines the size of the arcs for rounded edges.
Defines the default line height for text labels.
Character to be used for encoding linefeeds in save.
mxSvgCanvas2D.prototype.lineHeightCorrection
Correction factor for mxConstants.LINE_HEIGHT in HTML output.
mxAbstractCanvas2D.prototype.lineOp
Contains the string used for moving in paths.
mxVmlCanvas2D.prototype.lineOp
Contains the string used for moving in paths.
mxAbstractCanvas2D.prototype.lineTo = function(x,
y)
Draws a line to the given coordinates.
mxXmlCanvas2D.prototype.lineTo = function(x,
y)
Draws a line to the given coordinates.
link: function(rel,
href,
doc)
Adds a link node to the head of the document.
link: function(parent,
text,
funct,
pad)
Adds a hyperlink to the specified parent and invokes the given function when the link is clicked.
linkAction: function(parent,
text,
editor,
action,
pad)
Adds a hyperlink to the specified parent that invokes action on the specified editor.
linkInvoke: function(parent,
text,
editor,
functName,
arg,
pad)
Adds a hyperlink to the specified parent that invokes the specified function on the editor passing along the specified argument.
mxConnectionHandler.prototype.livePreview
Specifies if the actual shape of the edge state should be used for the preview.
mxVertexHandler.prototype.livePreview
Specifies if resize should change the cell in-place.
load: function(url)
Loads the specified URL synchronously and returns the mxXmlRequest.
Specifies if the default file for a given basename should be loaded.
loadInto: function(url,
doc,
onload)
Loads the specified URL asynchronously into the specified document, invoking onload after the document has been loaded.
loadResources: function(callback)
Loads all required resources asynchronously.
mxCompactTreeLayout.prototype.localEdgeProcessing = function(node)
Moves the specified node and all of its children by the given amount.
mxCoordinateAssignment.prototype.localEdgeProcessing = function(model)
Separates the x position of edges as they connect to vertices
Defines the color to be used for the locked handle fill color.
mxCodec.prototype.lookup = function(id)
Hook for subclassers to implement a custom lookup mechanism for cell IDs.
Loop: function (state,
source,
target,
points,
result)
Implements a self-reference, aka.
ltrim: function(str,
chars)
Strips all whitespaces from the beginning of the string.
+
Specifies the event name for labelChanged.
Fires between begin- and endUpdate in cellLabelChanged.
Index for the label handle in an mxMouseEvent.
Defines the color to be used for the label handle fill color.
Defines the default size for label handles.
mxGraph.prototype.labelChanged = function(cell,
value,
evt)
Sets the label of the specified cell to the given value using cellLabelChanged and fires mxEvent.LABEL_CHANGED while the transaction is in progress.
mxPopupMenu.prototype.labels
Specifies if any labels should be visible.
mxEdgeHandler.prototype.labelShape
Holds the mxShape that represents the label position.
mxGraph.prototype.labelsVisible
Specifies if labels should be visible.
mxOutline.prototype.labelsVisible
Specifies if labels should be visible in the outline.
Defines the language of the client, eg.
Defines the optional array of all supported language extensions.
mxGraphView.prototype.lastForegroundHtmlNode
During validation, this contains the last edge HTML DOM node that was processed.
mxGraphView.prototype.lastForegroundNode
During validation, this contains the last edge’s DOM node that was processed.
mxGraphView.prototype.lastHtmlNode
During validation, this contains the last HTML DOM node that was processed.
mxGraphView.prototype.lastNode
During validation, this contains the last DOM node that was processed.
mxEditor.prototype.lastSavedResource
Specifies the resource key for the last saved info.
mxAutoSaveManager.prototype.lastSnapshot
Used for autosaving.
mxGraph.prototype.lastTouchTime
Holds the time of the last touch event for double click detection.
Holds the x-coordinate of the last touch event for double tap detection.
mxText.prototype.lastValue
Contains the last rendered text value.
mxAbstractCanvas2D.prototype.lastX
Holds the last x coordinate.
mxAbstractCanvas2D.prototype.lastY
Holds the last y coordinate.
mxHierarchicalLayout.prototype.layeringStage = function()
Implements first stage of a Sugiyama layout.
mxSwimlaneLayout.prototype.layeringStage = function()
Implements first stage of a Sugiyama layout.
mxCompactTreeLayout.prototype.layout = function(node)
Starts the actual compact tree layout algorithm at the given node.
mxCoordinateAssignment.prototype.layout
Reference to the enclosing mxHierarchicalLayout.
mxMedianHybridCrossingReduction.prototype.layout
Reference to the enclosing mxHierarchicalLayout.
mxMinimumCycleRemover.prototype.layout
Reference to the enclosing mxHierarchicalLayout.
mxParallelEdgeLayout.prototype.layout = function(parallels)
Lays out the parallel edges in the given array.
mxSwimlaneOrdering.prototype.layout
Reference to the enclosing mxHierarchicalLayout.
Specifies the event name for layoutCells.
Fires between begin- and endUpdate after all cells have been layouted in layoutCells.
mxLayoutManager.prototype.layoutCells = function(cells)
Executes all layouts which have been scheduled during the changes.
mxEditor.prototype.layoutDiagram
Specifies if the top-level elements in the diagram should be layed out using a vertical or horizontal stack depending on the setting of horizontalFlow.
mxCompactTreeLayout.prototype.layoutLeaf = function(node)
mxCompositeLayout.prototype.layouts
Holds the array of mxGraphLayouts that this layout contains.
mxEditor.prototype.layoutSwimlanes
Specifies if the children of swimlanes should be layed out, either vertically or horizontally depending on horizontalFlow.
leave: function(string,
t0)
Writes the specified string to the console if TRACE is true and computes the difference between the current time and t0 in milliseconds.
mxCellRenderer.prototype.legacyControlPosition
Specifies if the folding icon should ignore the horizontal orientation of a swimlane.
mxCellRenderer.prototype.legacySpacing
Specifies if spacing and label position should be ignored if overflow is fill or width.
mxCellState.prototype.length
Caches the length of an edge.
mxCompactTreeLayout.prototype.levelDistance
Holds the levelDistance.
mxRadialTreeLayout.prototype.levelDistance
Holds the levelDistance.
mxCoordinateAssignment.prototype.limitX
The maximum x value this positioning lays up to
Defines the size of the arcs for rounded edges.
Defines the default line height for text labels.
Character to be used for encoding linefeeds in save.
mxSvgCanvas2D.prototype.lineHeightCorrection
Correction factor for mxConstants.LINE_HEIGHT in HTML output.
mxAbstractCanvas2D.prototype.lineOp
Contains the string used for moving in paths.
mxVmlCanvas2D.prototype.lineOp
Contains the string used for moving in paths.
mxAbstractCanvas2D.prototype.lineTo = function(x,
y)
Draws a line to the given coordinates.
mxXmlCanvas2D.prototype.lineTo = function(x,
y)
Draws a line to the given coordinates.
link: function(rel,
href,
doc)
Adds a link node to the head of the document.
link: function(parent,
text,
funct,
pad)
Adds a hyperlink to the specified parent and invokes the given function when the link is clicked.
linkAction: function(parent,
text,
editor,
action,
pad)
Adds a hyperlink to the specified parent that invokes action on the specified editor.
linkInvoke: function(parent,
text,
editor,
functName,
arg,
pad)
Adds a hyperlink to the specified parent that invokes the specified function on the editor passing along the specified argument.
mxConnectionHandler.prototype.livePreview
Specifies if the actual shape of the edge state should be used for the preview.
mxVertexHandler.prototype.livePreview
Specifies if resize should change the cell in-place.
load: function(url)
Loads the specified URL synchronously and returns the mxXmlRequest.
Specifies if the default file for a given basename should be loaded.
loadInto: function(url,
doc,
onload)
Loads the specified URL asynchronously into the specified document, invoking onload after the document has been loaded.
loadResources: function(callback)
Loads all required resources asynchronously.
mxCompactTreeLayout.prototype.localEdgeProcessing = function(node)
Moves the specified node and all of its children by the given amount.
mxCoordinateAssignment.prototype.localEdgeProcessing = function(model)
Separates the x position of edges as they connect to vertices
Defines the color to be used for the locked handle fill color.
mxCodec.prototype.lookup = function(id)
Hook for subclassers to implement a custom lookup mechanism for cell IDs.
Loop: function (state,
source,
target,
points,
result)
Implements a self-reference, aka.
ltrim: function(str,
chars)
Strips all whitespaces from the beginning of the string.
diff --git a/docs/js-api/index/General11.html b/docs/js-api/index/General11.html index 4f5a5aac4..f31c7506c 100644 --- a/docs/js-api/index/General11.html +++ b/docs/js-api/index/General11.html @@ -11,9 +11,9 @@ if (browserType) {document.write("
");if (browserV -
Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
M
 maintainEdgeParent, mxGraphModel
 maintainParentLocation
 maintainSwimlanes, mxEditor
 makeDraggable, mxUtils
 manageLabelHandle, mxEdgeHandler
 manageSizers, mxVertexHandler
 map, mxDictionary
 mapping, mxObjectCodec
 marginBottom
 marginLeft, mxStackLayout
 marginRight, mxStackLayout
 marginTop
 mark
 MARK
 markCell, mxCellMarker
 markedState, mxCellMarker
 marker
 markers, mxMarker
 matchHtmlAlignment, mxSvgCanvas2D
 max, mxMultiplicity
 MAX_HOTSPOT_SIZE, mxConstants
 maxCells, mxGraphHandler
 maxChainDfs, mxSwimlaneModel
 maxFitScale, mxGraph
 maxHandlers, mxSelectionCellsHandler
 maxHeight, mxCylinder
 MAXIMIZE
 maximizeImage, mxWindow
 maximumContainerSize, mxGraph
 maximumGraphBounds, mxGraph
 maxIterations
 maxNoImprovementIterations, mxMedianHybridCrossingReduction
 maxRank
 maxRankHeight, mxCompactTreeLayout
 maxScale, mxPanningHandler
 MedianCellSorter
 medianPos, mxCoordinateAssignment
 medianRank, mxMedianHybridCrossingReduction
 medianValue
 medianXValue, mxCoordinateAssignment
 merge, mxCompactTreeLayout
 mergeChildren, mxGraphModel
 mergeRemoveEnabled, mxEdgeHandler
 method, mxXmlRequest
 min, mxMultiplicity
 MIN_HOTSPOT_SIZE, mxConstants
 minDistanceLimit, mxFastOrganicLayout
 minDistanceLimitSquared, mxFastOrganicLayout
 minEdgeJetty
 minFitScale, mxGraph
 MINIMIZE
 minimizeImage, mxWindow
 minimumContainerSize, mxGraph
 minimumGraphSize, mxGraph
 minimumSize
 minNode, mxCoordinateAssignment
 minPageBreakDist, mxGraph
 minPath, mxCoordinateAssignment
 minRank, mxGraphAbstractHierarchyCell
 minResize, mxCellEditor
 minScale
 mixedModeHtml, mxShape
 mod, mxUtils
 model
 modified
 MOUSE_DOWN, mxEvent
 MOUSE_MOVE, mxEvent
 MOUSE_UP, mxEvent
 mouseDown
 mouseDownCounter, mxConnectionHandler
 mouseListeners, mxGraph
 mouseMove
 mouseUp
 move, mxGuide
 MOVE
 MOVE_CELLS
 MOVE_END
 MOVE_START
 moveCell
 moveCells
 moveChildren, mxVertexHandler
 moveCircle, mxCircleLayout
 moveEnabled, mxGraphHandler
 moveHandler
 moveIconBack, mxConnectionHandler
 moveIconFront, mxConnectionHandler
 moveLabel, mxEdgeHandler
 moveNode, mxCompactTreeLayout
 moveOp
 moveParent
 movePreviewAway, mxConnectionHandler
 movePropertiesDialog, mxEditor
 moveState, mxCellStatePreview
 moveTo
 moveTree, mxCompactTreeLayout
 multigraph, mxGraph
 multiplicities, mxGraph
 mxAbstractCanvas2D
 mxActor
 mxAnimation
 mxArrow
 mxArrowConnector
 mxAutoSaveManager
 mxCell
 mxCellAttributeChange
 mxCellCodec
 mxCellEditor
 mxCellHighlight
 mxCellMarker
 mxCellOverlay
 mxCellPath
 mxCellRenderer
 mxCellState
 mxCellStatePreview
 mxCellTracker
 mxChildChange
 mxChildChangeCodec
 mxCircleLayout
 mxClient
 mxClipboard
 mxCloud
 mxCodec
 mxCodecRegistry
 mxCollapseChange
 mxCompactTreeLayout
 mxCompositeLayout
 mxConnectionConstraint
 mxConnectionHandler
 mxConnector
 mxConstants
 mxConstraintHandler
 mxCoordinateAssignment
 mxCurrentRootChange
 mxCylinder
 mxDefaultKeyHandler
 mxDefaultKeyHandlerCodec
 mxDefaultPopupMenu
 mxDefaultPopupMenuCodec
 mxDefaultToolbar
 mxDefaultToolbarCodec
 mxDictionary
 mxDivResizer
 mxDoubleEllipse
 mxDragSource
 mxEdgeHandler
 mxEdgeLabelLayout
 mxEdgeSegmentHandler.js
 mxEdgeStyle
 mxEditor
 mxEditorCodec
 mxEffects
 mxElbowEdgeHandler
 mxEllipse
 mxEvent
 mxEventObject
 mxEventSource
 mxFastOrganicLayout
 mxForm
 mxGenericChangeCodec
 mxGeometry
 mxGeometryChange
 mxGraph
 mxgraph=seen
 mxGraphAbstractHierarchyCell
 mxGraphCodec
 mxGraphHandler
 mxGraphHierarchyEdge
 mxGraphHierarchyModel
 mxGraphHierarchyNode
 mxGraphLayout
 mxGraphModel
 mxGraphSelectionModel
 mxGraphView
 mxGraphViewCodec
 mxGuide
 mxHandle
 mxHexagon
 mxHierarchicalLayout
 mxHierarchicalLayoutStage
 mxImage
 mxImageBundle
 mxImageExport
 mxImageShape
 mxKeyHandler
 mxLabel
 mxLayoutManager
 mxLine
 mxLoadResources, mxClient
 mxLoadStylesheets, mxClient
 mxLog
 mxMarker
 mxMedianHybridCrossingReduction
 mxMinimumCycleRemover
 mxModelCodec
 mxMorphing
 mxMouseEvent
 mxMultiplicity
 mxObjectCodec
 mxObjectIdentity
 mxOutline
 mxPanningHandler
 mxPanningManager
 mxParallelEdgeLayout
 mxPartitionLayout
 mxPerimeter
 mxPoint
 mxPolyline
 mxPopupMenu
 mxPopupMenuHandler
 mxPrintPreview
 mxRadialTreeLayout
 mxRectangle
 mxRectangleShape
 mxResourceExtension, mxClient
 mxResources
 mxRhombus
 mxRootChange
 mxRootChangeCodec
 mxRubberband
 mxSelectionCellsHandler
 mxSelectionChange
 mxShape
 mxStackLayout
 mxStencil
 mxStencilRegistry
 mxStyleChange
 mxStyleRegistry
 mxStylesheet
 mxStylesheetCodec
 mxSvgCanvas2D
 mxSwimlane
 mxSwimlaneLayout
 mxSwimlaneManager
 mxSwimlaneModel
 mxSwimlaneOrdering
 mxTemporaryCellStates
 mxTerminalChange
 mxTerminalChangeCodec
 mxText
 mxToolbar
 mxTooltipHandler
 mxTransient, mxCell
 mxTriangle
 mxUndoableEdit
 mxUndoManager
 mxUrlConverter
 mxUtils
 mxValueChange
 mxVertexHandler
 mxVisibleChange
 mxVmlCanvas2D
 mxWindow
 mxXmlCanvas2D
 mxXmlRequest
+
Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
M
 maintainEdgeParent, mxGraphModel
 maintainParentLocation
 maintainSwimlanes, mxEditor
 makeDraggable, mxUtils
 manageLabelHandle, mxEdgeHandler
 manageSizers, mxVertexHandler
 map, mxDictionary
 mapping, mxObjectCodec
 marginBottom
 marginLeft, mxStackLayout
 marginRight, mxStackLayout
 marginTop
 mark
 MARK
 markCell, mxCellMarker
 markedState, mxCellMarker
 marker
 markers, mxMarker
 matchHtmlAlignment, mxSvgCanvas2D
 max, mxMultiplicity
 MAX_HOTSPOT_SIZE, mxConstants
 maxCells, mxGraphHandler
 maxChainDfs, mxSwimlaneModel
 maxFitScale, mxGraph
 maxHandlers, mxSelectionCellsHandler
 maxHeight, mxCylinder
 MAXIMIZE
 maximizeImage, mxWindow
 maximumContainerSize, mxGraph
 maximumGraphBounds, mxGraph
 maxIterations
 maxNoImprovementIterations, mxMedianHybridCrossingReduction
 maxRank
 maxRankHeight, mxCompactTreeLayout
 maxScale, mxPanningHandler
 MedianCellSorter
 medianPos, mxCoordinateAssignment
 medianRank, mxMedianHybridCrossingReduction
 medianValue
 medianXValue, mxCoordinateAssignment
 merge, mxCompactTreeLayout
 mergeChildren, mxGraphModel
 mergeRemoveEnabled, mxEdgeHandler
 method, mxXmlRequest
 min, mxMultiplicity
 MIN_HOTSPOT_SIZE, mxConstants
 minDistanceLimit, mxFastOrganicLayout
 minDistanceLimitSquared, mxFastOrganicLayout
 minEdgeJetty
 minFitScale, mxGraph
 MINIMIZE
 minimizeImage, mxWindow
 minimumContainerSize, mxGraph
 minimumGraphSize, mxGraph
 minimumSize
 minNode, mxCoordinateAssignment
 minPageBreakDist, mxGraph
 minPath, mxCoordinateAssignment
 minRank, mxGraphAbstractHierarchyCell
 minResize, mxCellEditor
 minScale
 mixedModeHtml, mxShape
 mod, mxUtils
 model
 modified
 MOUSE_DOWN, mxEvent
 MOUSE_MOVE, mxEvent
 MOUSE_UP, mxEvent
 mouseDown
 mouseDownCounter, mxConnectionHandler
 mouseListeners, mxGraph
 mouseMove
 mouseUp
 move, mxGuide
 MOVE
 MOVE_CELLS
 MOVE_END
 MOVE_START
 moveCell
 moveCells
 moveChildren, mxVertexHandler
 moveCircle, mxCircleLayout
 moveEnabled, mxGraphHandler
 moveHandler
 moveIconBack, mxConnectionHandler
 moveIconFront, mxConnectionHandler
 moveLabel, mxEdgeHandler
 moveNode, mxCompactTreeLayout
 moveOp
 moveParent
 movePreviewAway, mxConnectionHandler
 movePropertiesDialog, mxEditor
 moveState, mxCellStatePreview
 moveTo
 moveTree, mxCompactTreeLayout
 multigraph, mxGraph
 multiplicities, mxGraph
 mxAbstractCanvas2D
 mxActor
 mxAnimation
 mxArrow
 mxArrowConnector
 mxAutoSaveManager
 mxCell
 mxCellAttributeChange
 mxCellCodec
 mxCellEditor
 mxCellHighlight
 mxCellMarker
 mxCellOverlay
 mxCellPath
 mxCellRenderer
 mxCellState
 mxCellStatePreview
 mxCellTracker
 mxChildChange
 mxChildChangeCodec
 mxCircleLayout
 mxClient
 mxClipboard
 mxCloud
 mxCodec
 mxCodecRegistry
 mxCollapseChange
 mxCompactTreeLayout
 mxCompositeLayout
 mxConnectionConstraint
 mxConnectionHandler
 mxConnector
 mxConstants
 mxConstraintHandler
 mxCoordinateAssignment
 mxCurrentRootChange
 mxCylinder
 mxDefaultKeyHandler
 mxDefaultKeyHandlerCodec
 mxDefaultPopupMenu
 mxDefaultPopupMenuCodec
 mxDefaultToolbar
 mxDefaultToolbarCodec
 mxDictionary
 mxDivResizer
 mxDoubleEllipse
 mxDragSource
 mxEdgeHandler
 mxEdgeLabelLayout
 mxEdgeSegmentHandler.js
 mxEdgeStyle
 mxEditor
 mxEditorCodec
 mxEffects
 mxElbowEdgeHandler
 mxEllipse
 mxEvent
 mxEventObject
 mxEventSource
 mxFastOrganicLayout
 mxForm
 mxGenericChangeCodec
 mxGeometry
 mxGeometryChange
 mxGraph
 mxgraph=seen
 mxGraphAbstractHierarchyCell
 mxGraphCodec
 mxGraphHandler
 mxGraphHierarchyEdge
 mxGraphHierarchyModel
 mxGraphHierarchyNode
 mxGraphLayout
 mxGraphModel
 mxGraphSelectionModel
 mxGraphView
 mxGraphViewCodec
 mxGuide
 mxHandle
 mxHexagon
 mxHierarchicalLayout
 mxHierarchicalLayoutStage
 mxImage
 mxImageBundle
 mxImageExport
 mxImageShape
 mxKeyHandler
 mxLabel
 mxLayoutManager
 mxLine
 mxLoadResources, mxClient
 mxLoadStylesheets, mxClient
 mxLog
 mxMarker
 mxMedianHybridCrossingReduction
 mxMinimumCycleRemover
 mxModelCodec
 mxMorphing
 mxMouseEvent
 mxMultiplicity
 mxObjectCodec
 mxObjectIdentity
 mxOutline
 mxPanningHandler
 mxPanningManager
 mxParallelEdgeLayout
 mxPartitionLayout
 mxPerimeter
 mxPoint
 mxPolyline
 mxPopupMenu
 mxPopupMenuHandler
 mxPrintPreview
 mxRadialTreeLayout
 mxRectangle
 mxRectangleShape
 mxResourceExtension, mxClient
 mxResources
 mxRhombus
 mxRootChange
 mxRootChangeCodec
 mxRubberband
 mxSelectionCellsHandler
 mxSelectionChange
 mxShape
 mxStackLayout
 mxStencil
 mxStencilRegistry
 mxStyleChange
 mxStyleRegistry
 mxStylesheet
 mxStylesheetCodec
 mxSvgCanvas2D
 mxSwimlane
 mxSwimlaneLayout
 mxSwimlaneManager
 mxSwimlaneModel
 mxSwimlaneOrdering
 mxTemporaryCellStates
 mxTerminalChange
 mxTerminalChangeCodec
 mxText
 mxToolbar
 mxTooltipHandler
 mxTransient, mxCell
 mxTriangle
 mxUndoableEdit
 mxUndoManager
 mxUrlConverter
 mxUtils
 mxValueChange
 mxVertexHandler
 mxVisibleChange
 mxVmlCanvas2D
 mxWindow
 mxXmlCanvas2D
 mxXmlRequest
-
mxGraphModel.prototype.maintainEdgeParent
Specifies if edges should automatically be moved into the nearest common ancestor of their terminals.
mxCompactTreeLayout.prototype.maintainParentLocation
Specifies if the parent location should be maintained, so that the top, left corner stays the same before and after execution of the layout.
mxHierarchicalLayout.prototype.maintainParentLocation
Specifies if the parent location should be maintained, so that the top, left corner stays the same before and after execution of the layout.
mxSwimlaneLayout.prototype.maintainParentLocation
Specifies if the parent location should be maintained, so that the top, left corner stays the same before and after execution of the layout.
mxEditor.prototype.maintainSwimlanes
Specifies if the swimlanes should be kept at the same width or height depending on the setting of horizontalFlow.
makeDraggable: function(element,
graphF,
funct,
dragElement,
dx,
dy,
autoscroll,
scalePreview,
highlightDropTargets,
getDropTarget)
Configures the given DOM element to act as a drag source for the specified graph.
mxEdgeHandler.prototype.manageLabelHandle
Specifies if the label handle should be moved if it intersects with another handle.
mxVertexHandler.prototype.manageSizers
Specifies if sizers should be hidden and spaced if the vertex is small.
Stores the (key, value) pairs in this dictionary.
mxObjectCodec.prototype.mapping
Maps from from fieldnames to XML attribute names.
mxPrintPreview.prototype.marginBottom
The margin at the bottom of the page (number).
mxStackLayout.prototype.marginBottom
Top margin for the child area.
mxStackLayout.prototype.marginLeft
Top margin for the child area.
mxStackLayout.prototype.marginRight
Top margin for the child area.
mxPrintPreview.prototype.marginTop
The margin at the top of the page (number).
mxStackLayout.prototype.marginTop
Top margin for the child area.
Marks the markedState and fires a mark event.
mxCellMarker.prototype.mark = function()
Marks the markedState and fires a mark event.
Fires after a cell has been marked or unmarked.
Specifies the event name for mark.
mxCellMarker.prototype.markCell = function(cell,
color)
Marks the given cell using the given color, or validColor if no color is specified.
mxCellMarker.prototype.markedState
Holds the marked mxCellState.
mxConnectionHandler.prototype.marker
Holds the mxTerminalMarker used for finding source and target cells.
mxEdgeHandler.prototype.marker
Holds the mxTerminalMarker which is used for highlighting terminals.
Maps from markers names to functions to paint the markers.
mxSvgCanvas2D.prototype.matchHtmlAlignment
Specifies if plain text output should match the vertical HTML alignment.
mxMultiplicity.prototype.max
Defines the maximum number of connections for which this rule applies.
Defines the maximum size in pixels of the portion of the cell which is to be used as a connectable region.
mxGraphHandler.prototype.maxCells
Defines the maximum number of cells to paint subhandles for.
mxSwimlaneModel.prototype.maxChainDfs = function(parent,
root,
connectingEdge,
seen,
chainCount)
Performs a depth first search on the internal hierarchy model.
mxGraph.prototype.maxFitScale
Specifies the maximum scale to be applied in fit.
mxSelectionCellsHandler.prototype.maxHandlers
Defines the maximum number of handlers to paint individually.
mxCylinder.prototype.maxHeight
Defines the maximum height of the top and bottom part of the cylinder shape.
Specifies the event name for maximize.
Fires after the window is maximized.
mxWindow.prototype.maximizeImage
URL of the image to be used for the maximize icon in the titlebar.
mxGraph.prototype.maximumContainerSize
mxRectangle that specifies the maximum size of the container if resizeContainer is true.
mxGraph.prototype.maximumGraphBounds
mxRectangle that specifies the area in which all cells in the diagram should be placed.
mxCoordinateAssignment.prototype.maxIterations
The number of heuristic iterations to run.
mxFastOrganicLayout.prototype.maxIterations
Total number of iterations to run the layout though.
mxMedianHybridCrossingReduction.prototype.maxIterations
The maximum number of iterations to perform whilst reducing edge crossings.
mxMedianHybridCrossingReduction.prototype.maxNoImprovementIterations
The total number of crossings found in the best configuration so far
mxGraphAbstractHierarchyCell.prototype.maxRank
The maximum rank this cell occupies.
mxGraphHierarchyModel.prototype.maxRank
Stores the largest rank number allocated
mxSwimlaneModel.prototype.maxRank
Stores the largest rank number allocated
mxCompactTreeLayout.prototype.maxRankHeight
An array of the maximum height of cells (relative to the layout direction) per rank
mxPanningHandler.prototype.maxScale
Specifies the maximum scale.
A utility class used to track cells whilst sorting occurs on the median values.
function MedianCellSorter()
Constructs a new median cell sorter.
mxCoordinateAssignment.prototype.medianPos = function(i,
model)
Performs one median positioning sweep in one direction
mxMedianHybridCrossingReduction.prototype.medianRank = function(rankValue,
downwardSweep)
Attempts to minimise the median placement of connected cells on this rank and one of the adjacent ranks
MedianCellSorter.prototype.medianValue
The weighted value of the cell stored.
mxMedianHybridCrossingReduction.prototype.medianValue = function(
   connectedCells,
   rankValue
)
Calculates the median rank order positioning for the specified cell using the connected cells on the specified rank.
mxCoordinateAssignment.prototype.medianXValue = function(connectedCells,
rankValue)
Calculates the median position of the connected cell on the specified rank
mxCompactTreeLayout.prototype.merge = function(p1,
p2)
mxGraphModel.prototype.mergeChildren = function(from,
to,
cloneAllEdges)
Merges the children of the given cell into the given target cell inside this model.
mxEdgeHandler.prototype.mergeRemoveEnabled
Specifies if removing bends by dropping them on other bends is enabled.
mxXmlRequest.prototype.method
Specifies the request method.
mxMultiplicity.prototype.min
Defines the minimum number of connections for which this rule applies.
Defines the minimum size in pixels of the portion of the cell which is to be used as a connectable region.
mxFastOrganicLayout.prototype.minDistanceLimit
Minimal distance limit.
mxFastOrganicLayout.prototype.minDistanceLimitSquared
Cached version of minDistanceLimit squared.
mxCompactTreeLayout.prototype.minEdgeJetty
The minimum distance for an edge jetty from a vertex.
mxCoordinateAssignment.prototype.minEdgeJetty
The minimum distance for an edge jetty from a vertex
mxGraph.prototype.minFitScale
Specifies the minimum scale to be applied in fit.
Specifies the event name for minimize.
Fires after the window is minimized.
mxWindow.prototype.minimizeImage
URL of the image to be used for the minimize icon in the titlebar.
mxGraph.prototype.minimumContainerSize
mxRectangle that specifies the minimum size of the container if resizeContainer is true.
mxGraph.prototype.minimumGraphSize
mxRectangle that specifies the minimum size of the graph.
mxGraphHandler.prototype.minimumSize
Specifies the minimum number of pixels for the width and height of a selection border.
mxWindow.prototype.minimumSize
mxRectangle that specifies the minimum width and height of the window.
mxCoordinateAssignment.prototype.minNode = function(model)
Performs one median positioning sweep in both directions
mxGraph.prototype.minPageBreakDist
Specifies the minimum distance for page breaks to be visible.
mxCoordinateAssignment.prototype.minPath = function(graph,
model)
Straightens out chains of virtual nodes where possibleacade to those stored after this layout processing step has completed.
mxGraphAbstractHierarchyCell.prototype.minRank
The minimum rank this cell occupies.
mxCellEditor.prototype.minResize
Defines the minimum width and height to be used in resize.
mxOutline.prototype.minScale
Minimum scale to be used.
mxPanningHandler.prototype.minScale
Specifies the minimum scale.
Allow optimization by replacing VML with HTML.
mod: function(n,
m)
Returns the remainder of division of n by m.
mxGraph.prototype.model
Holds the mxGraphModel that contains the cells to be displayed.
mxHierarchicalLayout.prototype.model
The internal mxGraphHierarchyModel formed of the layout.
mxSwimlaneLayout.prototype.model
The internal mxSwimlaneModel formed of the layout.
mxCellEditor.prototype.modified
Specifies if the label has been modified.
mxEditor.prototype.modified
True if the graph has been modified since it was last saved.
Specifies the event name for mouseDown.
Specifies the event name for mouseMove.
Specifies the event name for mouseUp.
mxCellTracker.prototype.mouseDown = function(sender,
me)
Ignores the event.
mxConnectionHandler.prototype.mouseDown = function(sender,
me)
Handles the event by initiating a new connection.
mxDragSource.prototype.mouseDown = function(evt)
Returns the drop target for the given graph and coordinates.
mxEdgeHandler.prototype.mouseDown = function(sender,
me)
Handles the event by checking if a special element of the handler was clicked, in which case the index parameter is non-null.
mxGraphHandler.prototype.mouseDown = function(sender,
me)
Handles the event by selecing the given cell and creating a handle for it.
mxOutline.prototype.mouseDown = function(sender,
me)
Handles the event by starting a translation or zoom.
mxPanningHandler.prototype.mouseDown = function(sender,
me)
Handles the event by initiating the panning.
mxPopupMenuHandler.prototype.mouseDown = function(sender,
me)
Handles the event by initiating the panning.
mxRubberband.prototype.mouseDown = function(sender,
me)
Handles the event by initiating a rubberband selection.
mxSelectionCellsHandler.prototype.mouseDown = function(sender,
me)
Redirects the given event to the handlers.
mxTooltipHandler.prototype.mouseDown = function(sender,
me)
Handles the event by initiating a rubberband selection.
mxVertexHandler.prototype.mouseDown = function(sender,
me)
Handles the event if a handle has been clicked.
mxConnectionHandler.prototype.mouseDownCounter
Counts the number of mouseDown events since the start.
mxGraph.prototype.mouseListeners
Holds the mouse event listeners.
mxCellTracker.prototype.mouseMove = function(sender,
me)
Handles the event by highlighting the cell under the mousepointer if it is over the hotspot region of the cell.
mxConnectionHandler.prototype.mouseMove = function(sender,
me)
Handles the event by updating the preview edge or by highlighting a possible source or target terminal.
mxDragSource.prototype.mouseMove = function(evt)
Gets the graph for the given event using getGraphForEvent, updates the currentGraph, calling dragEnter and dragExit on the new and old graph, respectively, and invokes dragOver if currentGraph is not null.
mxEdgeHandler.prototype.mouseMove = function(sender,
me)
Handles the event by updating the preview.
mxGraphHandler.prototype.mouseMove = function(sender,
me)
Handles the event by highlighting possible drop targets and updating the preview.
mxOutline.prototype.mouseMove = function(sender,
me)
Handles the event by previewing the viewrect in graph and updating the rectangle that represents the viewrect in the outline.
mxPanningHandler.prototype.mouseMove = function(sender,
me)
Handles the event by updating the panning on the graph.
mxPopupMenuHandler.prototype.mouseMove = function(sender,
me)
Handles the event by updating the panning on the graph.
mxRubberband.prototype.mouseMove = function(sender,
me)
Handles the event by updating therubberband selection.
mxSelectionCellsHandler.prototype.mouseMove = function(sender,
me)
Redirects the given event to the handlers.
mxTooltipHandler.prototype.mouseMove = function(sender,
me)
Handles the event by updating the rubberband selection.
mxVertexHandler.prototype.mouseMove = function(sender,
me)
Handles the event by updating the preview.
mxCellTracker.prototype.mouseUp = function(sender,
me)
Handles the event by reseting the highlight.
mxConnectionHandler.prototype.mouseUp = function(sender,
me)
Handles the event by inserting the new connection.
mxDragSource.prototype.mouseUp = function(evt)
Processes the mouse up event and invokes drop, dragExit and stopDrag as required.
mxEdgeHandler.prototype.mouseUp = function(sender,
me)
Handles the event to applying the previewed changes on the edge by using moveLabel, connect or changePoints.
mxGraphHandler.prototype.mouseUp = function(sender,
me)
Handles the event by applying the changes to the selection cells.
mxOutline.prototype.mouseUp = function(sender,
me)
Handles the event by applying the translation or zoom to graph.
mxPanningHandler.prototype.mouseUp = function(sender,
me)
Handles the event by setting the translation on the view or showing the popupmenu.
mxPopupMenuHandler.prototype.mouseUp = function(sender,
me)
Handles the event by setting the translation on the view or showing the popupmenu.
mxRubberband.prototype.mouseUp = function(sender,
me)
Handles the event by selecting the region of the rubberband using mxGraph.selectRegion.
mxSelectionCellsHandler.prototype.mouseUp = function(sender,
me)
Redirects the given event to the handlers.
mxTooltipHandler.prototype.mouseUp = function(sender,
me)
Handles the event by resetting the tooltip timer or hiding the existing tooltip.
mxVertexHandler.prototype.mouseUp = function(sender,
me)
Handles the event by applying the changes to the geometry.
mxGuide.prototype.move = function(bounds,
delta,
gridEnabled)
Moves the bounds by the given mxPoint and returnt the snapped point.
Specifies the event name for move.
Fires while the window is being moved.
Specifies the event name for moveCells.
Fires between begin- and endUpdate in moveCells.
Specifies the event name for moveEnd.
Fires after the window is moved.
Specifies the event name for moveStart.
Fires before the window is moved.
mxCompositeLayout.prototype.moveCell = function(cell,
x,
y)
Implements mxGraphLayout.moveCell by calling move on master or the first layout in layouts.
mxGraphLayout.prototype.moveCell = function(cell,
x,
y)
Notified when a cell is being moved in a parent that has automatic layout to update the cell state (eg.
mxPartitionLayout.prototype.moveCell = function(cell,
x,
y)
Implements mxGraphLayout.moveCell.
mxStackLayout.prototype.moveCell = function(cell,
x,
y)
Implements mxGraphLayout.moveCell.
mxGraph.prototype.moveCells = function(cells,
dx,
dy,
clone,
target,
evt,
mapping)
Moves or clones the specified cells and moves the cells or clones by the given amount, adding them to the optional target cell.
mxGraphHandler.prototype.moveCells = function(cells,
dx,
dy,
clone,
target,
evt)
Moves the given cells by the specified amount.
mxVertexHandler.prototype.moveChildren = function(cell,
dx,
dy)
Moves the children of the given cell by the given vector.
mxCircleLayout.prototype.moveCircle
Boolean specifying if the circle should be moved to the top, left corner specified by x0 and y0.
mxGraphHandler.prototype.moveEnabled
Specifies if moving is enabled.
mxLayoutManager.prototype.moveHandler
Holds the function that handles the move event.
Holds the function that handles the move event.
mxConnectionHandler.prototype.moveIconBack
Specifies if icons should be moved to the back of the overlay pane.
mxConnectionHandler.prototype.moveIconFront
Specifies if icons should be displayed inside the graph container instead of the overlay pane.
mxEdgeHandler.prototype.moveLabel = function(edgeState,
x,
y)
Changes the coordinates for the label of the given edge.
mxCompactTreeLayout.prototype.moveNode = function(node,
dx,
dy)
Moves the specified node and all of its children by the given amount.
mxAbstractCanvas2D.prototype.moveOp
Contains the string used for moving in paths.
mxVmlCanvas2D.prototype.moveOp
Contains the string used for moving in paths.
mxHierarchicalLayout.prototype.moveParent
Specifies if the parent should be moved if resizeParent is enabled.
mxSwimlaneLayout.prototype.moveParent
Specifies if the parent should be moved if resizeParent is enabled.
mxConnectionHandler.prototype.movePreviewAway
Switch to enable moving the preview away from the mousepointer.
mxEditor.prototype.movePropertiesDialog
Specifies if the properties dialog should be automatically moved near the cell it is displayed for, otherwise the dialog is not moved.
mxCellStatePreview.prototype.moveState = function(state,
dx,
dy,
add,
includeEdges)
mxAbstractCanvas2D.prototype.moveTo = function(x,
y)
Moves the current path the given coordinates.
mxXmlCanvas2D.prototype.moveTo = function(x,
y)
Moves the current path the given point.
mxCompactTreeLayout.prototype.moveTree
Specifies if the tree should be moved to the top, left corner if it is inside a top-level layer.
mxGraph.prototype.multigraph
Specifies if multiple edges in the same direction between the same pair of vertices are allowed.
mxGraph.prototype.multiplicities
An array of mxMultiplicities describing the allowed connections in a graph.
Base class for all canvases.
function mxAbstractCanvas2D()
Constructs a new abstract canvas.
Extends mxShape to implement an actor shape.
function mxActor(bounds,
fill,
stroke,
strokewidth)
Constructs a new actor shape.
Implements a basic animation in JavaScript.
function mxAnimation(delay)
Constructs an animation.
Extends mxShape to implement an arrow shape.
function mxArrow(points,
fill,
stroke,
strokewidth,
arrowWidth,
spacing,
endSize)
Constructs a new arrow shape.
Extends mxShape to implement an new rounded arrow shape with support for waypoints and double arrows.
function mxArrowConnector(points,
fill,
stroke,
strokewidth,
arrowWidth,
spacing,
endSize)
Constructs a new arrow shape.
Manager for automatically saving diagrams.
function mxAutoSaveManager(graph)
Constructs a new automatic layout for the given graph.
Cells are the elements of the graph model.
function mxCell(value,
geometry,
style)
Constructs a new cell to be used in a graph model.
Action to change the attribute of a cell’s user object.
function mxCellAttributeChange(cell,
attribute,
value)
Constructs a change of a attribute of the DOM node stored as the value of the given mxCell.
Codec for mxCells.
In-place editor for the graph.
function mxCellEditor(graph)
Constructs a new in-place editor for the specified graph.
A helper class to highlight cells.
function mxCellHighlight(graph,
highlightColor,
strokeWidth,
dashed)
Constructs a cell highlight.
A helper class to process mouse locations and highlight cells.
function mxCellMarker(graph,
validColor,
invalidColor,
hotspot)
Constructs a new cell marker.
Extends mxEventSource to implement a graph overlay, represented by an icon and a tooltip.
function mxCellOverlay(image,
tooltip,
align,
verticalAlign,
offset,
cursor)
Constructs a new overlay using the given image and tooltip.
Implements a mechanism for temporary cell Ids.
Renders cells into a document object model.
function mxCellRenderer()
arrow, rectangle, ellipse, rhombus, image, line, label, cylinder, swimlane, connector, actor and cloud.
Represents the current state of a cell in a given mxGraphView.
function mxCellState(view,
cell,
style)
Constructs a new object that represents the current state of the given cell in the specified view.
Implements a live preview for moving cells.
function mxCellStatePreview(graph)
Constructs a move preview for the given graph.
Event handler that highlights cells.
function mxCellTracker(graph,
color,
funct)
Constructs an event handler that highlights cells.
Action to add or remove a child in a model.
function mxChildChange(model,
parent,
child,
index)
Constructs a change of a child in the specified model.
Codec for mxChildChanges.
Extends mxGraphLayout to implement a circluar layout for a given radius.
function mxCircleLayout(graph,
radius)
Constructs a new circular layout for the specified radius.
Bootstrapping mechanism for the mxGraph thin client.
Singleton that implements a clipboard for graph cells.
Extends mxActor to implement a cloud shape.
function mxCloud(bounds,
fill,
stroke,
strokewidth)
Constructs a new cloud shape.
XML codec for JavaScript object graphs.
function mxCodec(document)
Constructs an XML encoder/decoder for the specified owner document.
Singleton class that acts as a global registry for codecs.
Action to change a cell’s collapsed state in a model.
function mxCollapseChange(model,
cell,
collapsed)
Constructs a change of a collapsed state in the specified model.
Extends mxGraphLayout to implement a compact tree (Moen) algorithm.
function mxCompactTreeLayout(graph,
horizontal,
invert)
Constructs a new compact tree layout for the specified graph and orientation.
Constructs a new fast organic layout for the specified graph.
Constructs a new fast organic layout for the specified graph.
Allows to compose multiple layouts into a single layout.
function mxCompositeLayout(graph,
layouts,
master)
Constructs a new layout using the given layouts.
Defines an object that contains the constraints about how to connect one side of an edge to its terminal.
function mxConnectionConstraint(point,
perimeter)
Constructs a new connection constraint for the given point and boolean arguments.
Graph event handler that creates new connections.
function mxConnectionHandler(graph,
factoryMethod)
Constructs an event handler that connects vertices using the specified factory method to create the new edges.
Extends mxShape to implement a connector shape.
function mxConnector(points,
stroke,
strokewidth)
Constructs a new connector shape.
Defines various global constants.
Handles constraints on connection targets.
function mxConstraintHandler(graph)
Constructs an new constraint handler.
Sets the horizontal locations of node and edge dummy nodes on each layer.
function mxCoordinateAssignment(layout,
intraCellSpacing,
interRankCellSpacing,
orientation,
initialX,
parallelEdgeSpacing)
Creates a coordinate assignment.
Action to change the current root in a view.
function mxCurrentRootChange(view,
root)
Constructs a change of the current root in the given view.
Constructs a change of the current root in the given view.
Extends mxShape to implement an cylinder shape.
function mxCylinder(bounds,
fill,
stroke,
strokewidth)
Constructs a new cylinder shape.
Binds keycodes to actionnames in an editor.
function mxDefaultKeyHandler(editor)
Constructs a new default key handler for the mxEditor.graph in the given mxEditor.
Custom codec for configuring mxDefaultKeyHandlers.
Creates popupmenus for mouse events.
function mxDefaultPopupMenu(config)
Constructs a new popupmenu-factory based on given configuration.
Custom codec for configuring mxDefaultPopupMenus.
Toolbar for the editor.
function mxDefaultToolbar(container,
editor)
Constructs a new toolbar for the given container and editor.
Custom codec for configuring mxDefaultToolbars.
A wrapper class for an associative array with object keys.
Maintains the size of a div element in Internet Explorer.
function mxDivResizer(div,
container)
Constructs an object that maintains the size of a div element when the window is being resized.
Extends mxShape to implement a double ellipse shape.
function mxDoubleEllipse(bounds,
fill,
stroke,
strokewidth)
Constructs a new ellipse shape.
Wrapper to create a drag source from a DOM element so that the element can be dragged over a graph and dropped into the graph as a new cell.
function mxDragSource(element,
dropHandler)
Constructs a new drag source for the given element.
Graph event handler that reconnects edges and modifies control points and the edge label location.
function mxEdgeHandler(state)
Constructs an edge handler for the specified mxCellState.
Constructs an edge handler for the specified mxCellState.
Extends mxGraphLayout to implement an edge label layout.
function mxEdgeLabelLayout(graph,
radius)
Constructs a new edge label layout.
Provides various edge styles to be used as the values for mxConstants.STYLE_EDGE in a cell style.
Extends mxEventSource to implement a application wrapper for a graph that adds actions, I/O using mxCodec, auto-layout using mxLayoutManager, command history using undoManager, and standard dialogs and widgets, eg.
function mxEditor(config)
Constructs a new editor.
Codec for mxEditors.
Provides animation effects.
Graph event handler that reconnects edges and modifies control points and the edge label location.
Extends mxShape to implement an ellipse shape.
function mxEllipse(bounds,
fill,
stroke,
strokewidth)
Constructs a new ellipse shape.
Cross-browser DOM event support.
The mxEventObject is a wrapper for all properties of a single event.
function mxEventObject(name)
Constructs a new event object with the specified name.
Base class for objects that dispatch named events.
Constructs a new dictionary which allows object to be used as keys.
function mxEventSource(eventSource)
Constructs a new event source.
Extends mxGraphLayout to implement a fast organic layout algorithm.
A simple class for creating HTML forms.
function mxForm(className)
Creates a HTML table using the specified classname.
Codec for mxValueChanges, mxStyleChanges, mxGeometryChanges, mxCollapseChanges and mxVisibleChanges.
var mxGenericChangeCodec = function(obj,
variable)
Factory function that creates a mxObjectCodec for the specified change and fieldname.
Extends mxRectangle to represent the geometry of a cell.
function mxGeometry(x,
y,
width,
height)
Constructs a new object to describe the size and location of a vertex or the control points of an edge.
Action to change a cell’s geometry in a model.
function mxGeometryChange(model,
cell,
geometry)
Constructs a change of a geometry in the specified model.
Extends mxEventSource to implement a graph component for the browser.
function mxGraph(container,
model,
renderHint,
stylesheet)
Constructs a new mxGraph in the specified container.
Set when the editor is started.
An abstraction of an internal hierarchy node or edge
function mxGraphAbstractHierarchyCell()
Constructs a new hierarchical layout algorithm.
Codec for mxGraphs.
Graph event handler that handles selection.
function mxGraphHandler(graph)
Constructs an event handler that creates handles for the selection cells.
An abstraction of a hierarchical edge for the hierarchy layout
function mxGraphHierarchyEdge(edges)
Constructs a hierarchy edge
Internal model of a hierarchical graph.
function mxGraphHierarchyModel(layout,
vertices,
roots,
parent,
tightenToSource)
Creates an internal ordered graph model using the vertices passed in.
An abstraction of a hierarchical edge for the hierarchy layout
function mxGraphHierarchyNode(cell)
Constructs an internal node to represent the specified real graph cell
Base class for all layout algorithms in mxGraph.
function mxGraphLayout(graph)
Constructs a new layout using the given layouts.
Extends mxEventSource to implement a graph model.
function mxGraphModel(root)
Constructs a new graph model.
Implements the selection model for a graph.
function mxGraphSelectionModel(graph)
Constructs a new graph selection model for the given mxGraph.
Extends mxEventSource to implement a view for a graph.
function mxGraphView(graph)
Constructs a new view for the given mxGraph.
Custom encoder for mxGraphViews.
Implements the alignment of selection cells to other cells in the graph.
function mxGuide(graph,
states)
Constructs a new guide object.
Implements a single custom handle for vertices.
function mxHandle(state,
cursor,
image)
Constructs a new handle for the given state.
Implementation of the hexagon shape.
function mxHexagon()
Constructs a new hexagon shape.
A hierarchical layout algorithm.
function mxHierarchicalLayout(graph,
orientation,
deterministic)
Constructs a new hierarchical layout algorithm.
The specific layout interface for hierarchical layouts.
function mxHierarchicalLayoutStage()
Constructs a new hierarchical layout stage.
Encapsulates the URL, width and height of an image.
function mxImage(src,
width,
height)
Constructs a new image.
Maps from keys to base64 encoded images or file locations.
Creates a new image export instance to be used with an export canvas.
function mxImageExport()
Constructs a new image export.
Extends mxShape to implement an image shape.
function mxImageShape(bounds,
image,
fill,
stroke,
strokewidth)
Constructs a new image shape.
Event handler that listens to keystroke events.
function mxKeyHandler(graph,
target)
Constructs an event handler that executes functions bound to specific keystrokes.
Extends mxShape to implement an image shape with a label.
function mxLabel(bounds,
fill,
stroke,
strokewidth)
Constructs a new label shape.
function mxLayoutManager(graph)
Constructs a new automatic layout for the given graph.
Extends mxShape to implement a horizontal line shape.
function mxLine(bounds,
stroke,
strokewidth)
Constructs a new line shape.
Optional global config variable to toggle loading of the two resource files in mxGraph and mxEditor.
Optional global config variable to toggle loading of the CSS files when the library is initialized.
A singleton class that implements a simple console.
A static class that implements all markers for VML and SVG using a registry.
Sets the horizontal locations of node and edge dummy nodes on each layer.
function mxMedianHybridCrossingReduction(layout)
Creates a coordinate assignment.
An implementation of the first stage of the Sugiyama layout.
function mxMinimumCycleRemover(layout)
Creates a cycle remover for the given internal model.
Codec for mxGraphModels.
Implements animation for morphing cells.
function mxMorphing(graph,
steps,
ease,
delay)
Constructs an animation.
Base class for all mouse events in mxGraph.
function mxMouseEvent(evt,
state)
Constructs a new event object for the given arguments.
Defines invalid connections along with the error messages that they produce.
function mxMultiplicity(source,
type,
attr,
value,
min,
max,
validNeighbors,
countError,
typeError,
validNeighborsAllowed)
Instantiate class mxMultiplicity in order to describe allowed connections in a graph.
Generic codec for JavaScript objects that implements a mapping between JavaScript objects and XML nodes that maps each field or element to an attribute or child node, and vice versa.
function mxObjectCodec(template,
exclude,
idrefs,
mapping)
Constructs a new codec for the specified template object.
Identity for JavaScript objects and functions.
Implements an outline (aka overview) for a graph.
function mxOutline(source,
container)
Constructs a new outline for the specified graph inside the given container.
Event handler that pans and creates popupmenus.
Constructs an event handler that creates a mxPopupMenu and pans the graph.
Implements a handler for panning.
Extends mxGraphLayout for arranging parallel edges.
Extends mxGraphLayout for partitioning the parent cell vertically or horizontally by filling the complete area with the child cells.
function mxPartitionLayout(graph,
horizontal,
spacing,
border)
Constructs a new stack layout layout for the specified graph, spacing, orientation and offset.
Provides various perimeter functions to be used in a style as the value of mxConstants.STYLE_PERIMETER.
Implements a 2-dimensional vector with double precision coordinates.
function mxPoint(x,
y)
Constructs a new point for the optional x and y coordinates.
Extends mxShape to implement a polyline (a line with multiple points).
function mxPolyline(points,
stroke,
strokewidth)
Constructs a new polyline shape.
Basic popup menu.
Constructs a popupmenu.
Event handler that creates popupmenus.
function mxPopupMenuHandler(graph,
factoryMethod)
Constructs an event handler that creates a mxPopupMenu.
Implements printing of a diagram across multiple pages.
function mxPrintPreview(graph,
scale,
pageFormat,
border,
x0,
y0,
borderColor,
title,
pageSelector)
Constructs a new print preview for the given parameters.
Extends mxGraphLayout to implement a radial tree algorithm.
function mxRadialTreeLayout(graph)
Constructs a new radial tree layout for the specified graph
Extends mxPoint to implement a 2-dimensional rectangle with double precision coordinates.
function mxRectangle(x,
y,
width,
height)
Constructs a new rectangle for the optional parameters.
Constructs a new rectangle for the optional parameters.
Extends mxShape to implement a rectangle shape.
function mxRectangleShape(bounds,
fill,
stroke,
strokewidth)
Constructs a new rectangle shape.
Optional global config variable to specify the extension of resource files.
Implements internationalization.
Extends mxShape to implement a rhombus (aka diamond) shape.
function mxRhombus(bounds,
fill,
stroke,
strokewidth)
Constructs a new rhombus shape.
Action to change the root in a model.
function mxRootChange(model,
root)
Constructs a change of the root in the specified model.
Codec for mxRootChanges.
Event handler that selects rectangular regions.
function mxRubberband(graph)
Constructs an event handler that selects rectangular regions in the graph using rubberband selection.
An event handler that manages cell handlers and invokes their mouse event processing functions.
Action to change the current root in a view.
Base class for all shapes.
function mxShape(stencil)
Constructs a new shape.
Extends mxGraphLayout to create a horizontal or vertical stack of the child vertices.
function mxStackLayout(graph,
horizontal,
spacing,
x0,
y0,
border)
Constructs a new stack layout layout for the specified graph, spacing, orientation and offset.
Implements a generic shape which is based on a XML node as a description.
function mxStencil(desc)
Constructs a new generic shape by setting desc to the given XML node and invoking parseDescription and parseConstraints.
A singleton class that provides a registry for stencils and the methods for painting those stencils onto a canvas or into a DOM.
Action to change a cell’s style in a model.
function mxStyleChange(model,
cell,
style)
Constructs a change of a style in the specified model.
Singleton class that acts as a global converter from string to object values in a style.
Defines the appearance of the cells in a graph.
function mxStylesheet()
Constructs a new stylesheet and assigns default styles.
Codec for mxStylesheets.
Extends mxAbstractCanvas2D to implement a canvas for SVG.
function mxSvgCanvas2D(root,
styleEnabled)
Constructs a new SVG canvas.
Extends mxShape to implement a swimlane shape.
function mxSwimlane(bounds,
fill,
stroke,
strokewidth)
Constructs a new swimlane shape.
A hierarchical layout algorithm.
function mxSwimlaneLayout(graph,
orientation,
deterministic)
Constructs a new hierarchical layout algorithm.
Manager for swimlanes and nested swimlanes that sets the size of newly added swimlanes to that of their siblings, and propagates changes to the size of a swimlane to its siblings, if siblings is true, and its ancestors, if bubbling is true.
function mxSwimlaneManager(graph,
horizontal,
addEnabled,
resizeEnabled)
Constructs a new swimlane manager for the given graph.
Internal model of a hierarchical graph.
function mxSwimlaneModel(layout,
vertices,
roots,
parent,
tightenToSource)
Creates an internal ordered graph model using the vertices passed in.
An implementation of the first stage of the Sugiyama layout.
function mxSwimlaneOrdering(layout)
Creates a cycle remover for the given internal model.
Extends mxPoint to implement a 2-dimensional rectangle with double precision coordinates.
Action to change a terminal in a model.
function mxTerminalChange(model,
cell,
terminal,
source)
Constructs a change of a terminal in the specified model.
Codec for mxTerminalChanges.
Extends mxShape to implement a text shape.
function mxText(value,
bounds,
align,
valign,
color,
family,
size,
fontStyle,
spacing,
spacingTop,
spacingRight,
spacingBottom,
spacingLeft,
horizontal,
background,
border,
wrap,
clipped,
overflow,
labelPadding,
textDirection)
Constructs a new text shape.
Creates a toolbar inside a given DOM node.
function mxToolbar(container)
Constructs a toolbar in the specified container.
Graph event handler that displays tooltips.
function mxTooltipHandler(graph,
delay)
Constructs an event handler that displays tooltips with the specified delay (in milliseconds).
mxCell.prototype.mxTransient
List of members that should not be cloned inside clone.
Implementation of the triangle shape.
function mxTriangle()
Constructs a new triangle shape.
Implements a composite undoable edit.
function mxUndoableEdit(source,
significant)
Constructs a new undoable edit for the given source.
Implements a command history.
function mxUndoManager(size)
Constructs a new undo manager with the given history size.
Converts relative and absolute URLs to absolute URLs with protocol and domain.
A singleton class that provides cross-browser helper methods.
Action to change a user object in a model.
function mxValueChange(model,
cell,
value)
Constructs a change of a user object in the specified model.
Event handler for resizing cells.
function mxVertexHandler(state)
Constructs an event handler that allows to resize vertices and groups.
Action to change a cell’s visible state in a model.
function mxVisibleChange(model,
cell,
visible)
Constructs a change of a visible state in the specified model.
Implements a canvas to be used for rendering VML.
Basic window inside a document.
function mxWindow(title,
content,
x,
y,
width,
height,
minimizable,
movable,
replaceNode,
style)
Constructs a new window with the given dimension and title to display the specified content.
Base class for all canvases.
function mxXmlCanvas2D(root)
Constructs a new abstract canvas.
XML HTTP request wrapper.
function mxXmlRequest(url,
params,
method,
async,
username,
password)
Constructs an XML HTTP request.
+
mxGraphModel.prototype.maintainEdgeParent
Specifies if edges should automatically be moved into the nearest common ancestor of their terminals.
mxCompactTreeLayout.prototype.maintainParentLocation
Specifies if the parent location should be maintained, so that the top, left corner stays the same before and after execution of the layout.
mxHierarchicalLayout.prototype.maintainParentLocation
Specifies if the parent location should be maintained, so that the top, left corner stays the same before and after execution of the layout.
mxSwimlaneLayout.prototype.maintainParentLocation
Specifies if the parent location should be maintained, so that the top, left corner stays the same before and after execution of the layout.
mxEditor.prototype.maintainSwimlanes
Specifies if the swimlanes should be kept at the same width or height depending on the setting of horizontalFlow.
makeDraggable: function(element,
graphF,
funct,
dragElement,
dx,
dy,
autoscroll,
scalePreview,
highlightDropTargets,
getDropTarget)
Configures the given DOM element to act as a drag source for the specified graph.
mxEdgeHandler.prototype.manageLabelHandle
Specifies if the label handle should be moved if it intersects with another handle.
mxVertexHandler.prototype.manageSizers
Specifies if sizers should be hidden and spaced if the vertex is small.
Stores the (key, value) pairs in this dictionary.
mxObjectCodec.prototype.mapping
Maps from from fieldnames to XML attribute names.
mxPrintPreview.prototype.marginBottom
The margin at the bottom of the page (number).
mxStackLayout.prototype.marginBottom
Top margin for the child area.
mxStackLayout.prototype.marginLeft
Top margin for the child area.
mxStackLayout.prototype.marginRight
Top margin for the child area.
mxPrintPreview.prototype.marginTop
The margin at the top of the page (number).
mxStackLayout.prototype.marginTop
Top margin for the child area.
Marks the markedState and fires a mark event.
mxCellMarker.prototype.mark = function()
Marks the markedState and fires a mark event.
Fires after a cell has been marked or unmarked.
Specifies the event name for mark.
mxCellMarker.prototype.markCell = function(cell,
color)
Marks the given cell using the given color, or validColor if no color is specified.
mxCellMarker.prototype.markedState
Holds the marked mxCellState.
mxConnectionHandler.prototype.marker
Holds the mxTerminalMarker used for finding source and target cells.
mxEdgeHandler.prototype.marker
Holds the mxTerminalMarker which is used for highlighting terminals.
Maps from markers names to functions to paint the markers.
mxSvgCanvas2D.prototype.matchHtmlAlignment
Specifies if plain text output should match the vertical HTML alignment.
mxMultiplicity.prototype.max
Defines the maximum number of connections for which this rule applies.
Defines the maximum size in pixels of the portion of the cell which is to be used as a connectable region.
mxGraphHandler.prototype.maxCells
Defines the maximum number of cells to paint subhandles for.
mxSwimlaneModel.prototype.maxChainDfs = function(parent,
root,
connectingEdge,
seen,
chainCount)
Performs a depth first search on the internal hierarchy model.
mxGraph.prototype.maxFitScale
Specifies the maximum scale to be applied in fit.
mxSelectionCellsHandler.prototype.maxHandlers
Defines the maximum number of handlers to paint individually.
mxCylinder.prototype.maxHeight
Defines the maximum height of the top and bottom part of the cylinder shape.
Specifies the event name for maximize.
Fires after the window is maximized.
mxWindow.prototype.maximizeImage
URL of the image to be used for the maximize icon in the titlebar.
mxGraph.prototype.maximumContainerSize
mxRectangle that specifies the maximum size of the container if resizeContainer is true.
mxGraph.prototype.maximumGraphBounds
mxRectangle that specifies the area in which all cells in the diagram should be placed.
mxCoordinateAssignment.prototype.maxIterations
The number of heuristic iterations to run.
mxFastOrganicLayout.prototype.maxIterations
Total number of iterations to run the layout though.
mxMedianHybridCrossingReduction.prototype.maxIterations
The maximum number of iterations to perform whilst reducing edge crossings.
mxMedianHybridCrossingReduction.prototype.maxNoImprovementIterations
The total number of crossings found in the best configuration so far
mxGraphAbstractHierarchyCell.prototype.maxRank
The maximum rank this cell occupies.
mxGraphHierarchyModel.prototype.maxRank
Stores the largest rank number allocated
mxSwimlaneModel.prototype.maxRank
Stores the largest rank number allocated
mxCompactTreeLayout.prototype.maxRankHeight
An array of the maximum height of cells (relative to the layout direction) per rank
mxPanningHandler.prototype.maxScale
Specifies the maximum scale.
A utility class used to track cells whilst sorting occurs on the median values.
function MedianCellSorter()
Constructs a new median cell sorter.
mxCoordinateAssignment.prototype.medianPos = function(i,
model)
Performs one median positioning sweep in one direction
mxMedianHybridCrossingReduction.prototype.medianRank = function(rankValue,
downwardSweep)
Attempts to minimise the median placement of connected cells on this rank and one of the adjacent ranks
MedianCellSorter.prototype.medianValue
The weighted value of the cell stored.
mxMedianHybridCrossingReduction.prototype.medianValue = function(
   connectedCells,
   rankValue
)
Calculates the median rank order positioning for the specified cell using the connected cells on the specified rank.
mxCoordinateAssignment.prototype.medianXValue = function(connectedCells,
rankValue)
Calculates the median position of the connected cell on the specified rank
mxCompactTreeLayout.prototype.merge = function(p1,
p2)
mxGraphModel.prototype.mergeChildren = function(from,
to,
cloneAllEdges)
Merges the children of the given cell into the given target cell inside this model.
mxEdgeHandler.prototype.mergeRemoveEnabled
Specifies if removing bends by dropping them on other bends is enabled.
mxXmlRequest.prototype.method
Specifies the request method.
mxMultiplicity.prototype.min
Defines the minimum number of connections for which this rule applies.
Defines the minimum size in pixels of the portion of the cell which is to be used as a connectable region.
mxFastOrganicLayout.prototype.minDistanceLimit
Minimal distance limit.
mxFastOrganicLayout.prototype.minDistanceLimitSquared
Cached version of minDistanceLimit squared.
mxCompactTreeLayout.prototype.minEdgeJetty
The minimum distance for an edge jetty from a vertex.
mxCoordinateAssignment.prototype.minEdgeJetty
The minimum distance for an edge jetty from a vertex
mxGraph.prototype.minFitScale
Specifies the minimum scale to be applied in fit.
Specifies the event name for minimize.
Fires after the window is minimized.
mxWindow.prototype.minimizeImage
URL of the image to be used for the minimize icon in the titlebar.
mxGraph.prototype.minimumContainerSize
mxRectangle that specifies the minimum size of the container if resizeContainer is true.
mxGraph.prototype.minimumGraphSize
mxRectangle that specifies the minimum size of the graph.
mxGraphHandler.prototype.minimumSize
Specifies the minimum number of pixels for the width and height of a selection border.
mxWindow.prototype.minimumSize
mxRectangle that specifies the minimum width and height of the window.
mxCoordinateAssignment.prototype.minNode = function(model)
Performs one median positioning sweep in both directions
mxGraph.prototype.minPageBreakDist
Specifies the minimum distance for page breaks to be visible.
mxCoordinateAssignment.prototype.minPath = function(graph,
model)
Straightens out chains of virtual nodes where possibleacade to those stored after this layout processing step has completed.
mxGraphAbstractHierarchyCell.prototype.minRank
The minimum rank this cell occupies.
mxCellEditor.prototype.minResize
Defines the minimum width and height to be used in resize.
mxOutline.prototype.minScale
Minimum scale to be used.
mxPanningHandler.prototype.minScale
Specifies the minimum scale.
Allow optimization by replacing VML with HTML.
mod: function(n,
m)
Returns the remainder of division of n by m.
mxGraph.prototype.model
Holds the mxGraphModel that contains the cells to be displayed.
mxHierarchicalLayout.prototype.model
The internal mxGraphHierarchyModel formed of the layout.
mxSwimlaneLayout.prototype.model
The internal mxSwimlaneModel formed of the layout.
mxCellEditor.prototype.modified
Specifies if the label has been modified.
mxEditor.prototype.modified
True if the graph has been modified since it was last saved.
Specifies the event name for mouseDown.
Specifies the event name for mouseMove.
Specifies the event name for mouseUp.
mxCellTracker.prototype.mouseDown = function(sender,
me)
Ignores the event.
mxConnectionHandler.prototype.mouseDown = function(sender,
me)
Handles the event by initiating a new connection.
mxDragSource.prototype.mouseDown = function(evt)
Returns the drop target for the given graph and coordinates.
mxEdgeHandler.prototype.mouseDown = function(sender,
me)
Handles the event by checking if a special element of the handler was clicked, in which case the index parameter is non-null.
mxGraphHandler.prototype.mouseDown = function(sender,
me)
Handles the event by selecing the given cell and creating a handle for it.
mxOutline.prototype.mouseDown = function(sender,
me)
Handles the event by starting a translation or zoom.
mxPanningHandler.prototype.mouseDown = function(sender,
me)
Handles the event by initiating the panning.
mxPopupMenuHandler.prototype.mouseDown = function(sender,
me)
Handles the event by initiating the panning.
mxRubberband.prototype.mouseDown = function(sender,
me)
Handles the event by initiating a rubberband selection.
mxSelectionCellsHandler.prototype.mouseDown = function(sender,
me)
Redirects the given event to the handlers.
mxTooltipHandler.prototype.mouseDown = function(sender,
me)
Handles the event by initiating a rubberband selection.
mxVertexHandler.prototype.mouseDown = function(sender,
me)
Handles the event if a handle has been clicked.
mxConnectionHandler.prototype.mouseDownCounter
Counts the number of mouseDown events since the start.
mxGraph.prototype.mouseListeners
Holds the mouse event listeners.
mxCellTracker.prototype.mouseMove = function(sender,
me)
Handles the event by highlighting the cell under the mousepointer if it is over the hotspot region of the cell.
mxConnectionHandler.prototype.mouseMove = function(sender,
me)
Handles the event by updating the preview edge or by highlighting a possible source or target terminal.
mxDragSource.prototype.mouseMove = function(evt)
Gets the graph for the given event using getGraphForEvent, updates the currentGraph, calling dragEnter and dragExit on the new and old graph, respectively, and invokes dragOver if currentGraph is not null.
mxEdgeHandler.prototype.mouseMove = function(sender,
me)
Handles the event by updating the preview.
mxGraphHandler.prototype.mouseMove = function(sender,
me)
Handles the event by highlighting possible drop targets and updating the preview.
mxOutline.prototype.mouseMove = function(sender,
me)
Handles the event by previewing the viewrect in graph and updating the rectangle that represents the viewrect in the outline.
mxPanningHandler.prototype.mouseMove = function(sender,
me)
Handles the event by updating the panning on the graph.
mxPopupMenuHandler.prototype.mouseMove = function(sender,
me)
Handles the event by updating the panning on the graph.
mxRubberband.prototype.mouseMove = function(sender,
me)
Handles the event by updating therubberband selection.
mxSelectionCellsHandler.prototype.mouseMove = function(sender,
me)
Redirects the given event to the handlers.
mxTooltipHandler.prototype.mouseMove = function(sender,
me)
Handles the event by updating the rubberband selection.
mxVertexHandler.prototype.mouseMove = function(sender,
me)
Handles the event by updating the preview.
mxCellTracker.prototype.mouseUp = function(sender,
me)
Handles the event by reseting the highlight.
mxConnectionHandler.prototype.mouseUp = function(sender,
me)
Handles the event by inserting the new connection.
mxDragSource.prototype.mouseUp = function(evt)
Processes the mouse up event and invokes drop, dragExit and stopDrag as required.
mxEdgeHandler.prototype.mouseUp = function(sender,
me)
Handles the event to applying the previewed changes on the edge by using moveLabel, connect or changePoints.
mxGraphHandler.prototype.mouseUp = function(sender,
me)
Handles the event by applying the changes to the selection cells.
mxOutline.prototype.mouseUp = function(sender,
me)
Handles the event by applying the translation or zoom to graph.
mxPanningHandler.prototype.mouseUp = function(sender,
me)
Handles the event by setting the translation on the view or showing the popupmenu.
mxPopupMenuHandler.prototype.mouseUp = function(sender,
me)
Handles the event by setting the translation on the view or showing the popupmenu.
mxRubberband.prototype.mouseUp = function(sender,
me)
Handles the event by selecting the region of the rubberband using mxGraph.selectRegion.
mxSelectionCellsHandler.prototype.mouseUp = function(sender,
me)
Redirects the given event to the handlers.
mxTooltipHandler.prototype.mouseUp = function(sender,
me)
Handles the event by resetting the tooltip timer or hiding the existing tooltip.
mxVertexHandler.prototype.mouseUp = function(sender,
me)
Handles the event by applying the changes to the geometry.
mxGuide.prototype.move = function(bounds,
delta,
gridEnabled)
Moves the bounds by the given mxPoint and returnt the snapped point.
Specifies the event name for move.
Fires while the window is being moved.
Specifies the event name for moveCells.
Fires between begin- and endUpdate in moveCells.
Specifies the event name for moveEnd.
Fires after the window is moved.
Specifies the event name for moveStart.
Fires before the window is moved.
mxCompositeLayout.prototype.moveCell = function(cell,
x,
y)
Implements mxGraphLayout.moveCell by calling move on master or the first layout in layouts.
mxGraphLayout.prototype.moveCell = function(cell,
x,
y)
Notified when a cell is being moved in a parent that has automatic layout to update the cell state (eg.
mxPartitionLayout.prototype.moveCell = function(cell,
x,
y)
Implements mxGraphLayout.moveCell.
mxStackLayout.prototype.moveCell = function(cell,
x,
y)
Implements mxGraphLayout.moveCell.
mxGraph.prototype.moveCells = function(cells,
dx,
dy,
clone,
target,
evt,
mapping)
Moves or clones the specified cells and moves the cells or clones by the given amount, adding them to the optional target cell.
mxGraphHandler.prototype.moveCells = function(cells,
dx,
dy,
clone,
target,
evt)
Moves the given cells by the specified amount.
mxVertexHandler.prototype.moveChildren = function(cell,
dx,
dy)
Moves the children of the given cell by the given vector.
mxCircleLayout.prototype.moveCircle
Boolean specifying if the circle should be moved to the top, left corner specified by x0 and y0.
mxGraphHandler.prototype.moveEnabled
Specifies if moving is enabled.
mxLayoutManager.prototype.moveHandler
Holds the function that handles the move event.
Holds the function that handles the move event.
mxConnectionHandler.prototype.moveIconBack
Specifies if icons should be moved to the back of the overlay pane.
mxConnectionHandler.prototype.moveIconFront
Specifies if icons should be displayed inside the graph container instead of the overlay pane.
mxEdgeHandler.prototype.moveLabel = function(edgeState,
x,
y)
Changes the coordinates for the label of the given edge.
mxCompactTreeLayout.prototype.moveNode = function(node,
dx,
dy)
Moves the specified node and all of its children by the given amount.
mxAbstractCanvas2D.prototype.moveOp
Contains the string used for moving in paths.
mxVmlCanvas2D.prototype.moveOp
Contains the string used for moving in paths.
mxHierarchicalLayout.prototype.moveParent
Specifies if the parent should be moved if resizeParent is enabled.
mxSwimlaneLayout.prototype.moveParent
Specifies if the parent should be moved if resizeParent is enabled.
mxConnectionHandler.prototype.movePreviewAway
Switch to enable moving the preview away from the mousepointer.
mxEditor.prototype.movePropertiesDialog
Specifies if the properties dialog should be automatically moved near the cell it is displayed for, otherwise the dialog is not moved.
mxCellStatePreview.prototype.moveState = function(state,
dx,
dy,
add,
includeEdges)
mxAbstractCanvas2D.prototype.moveTo = function(x,
y)
Moves the current path the given coordinates.
mxXmlCanvas2D.prototype.moveTo = function(x,
y)
Moves the current path the given point.
mxCompactTreeLayout.prototype.moveTree
Specifies if the tree should be moved to the top, left corner if it is inside a top-level layer.
mxGraph.prototype.multigraph
Specifies if multiple edges in the same direction between the same pair of vertices are allowed.
mxGraph.prototype.multiplicities
An array of mxMultiplicities describing the allowed connections in a graph.
Base class for all canvases.
function mxAbstractCanvas2D()
Constructs a new abstract canvas.
Extends mxShape to implement an actor shape.
function mxActor(bounds,
fill,
stroke,
strokewidth)
Constructs a new actor shape.
Implements a basic animation in JavaScript.
function mxAnimation(delay)
Constructs an animation.
Extends mxShape to implement an arrow shape.
function mxArrow(points,
fill,
stroke,
strokewidth,
arrowWidth,
spacing,
endSize)
Constructs a new arrow shape.
Extends mxShape to implement an new rounded arrow shape with support for waypoints and double arrows.
function mxArrowConnector(points,
fill,
stroke,
strokewidth,
arrowWidth,
spacing,
endSize)
Constructs a new arrow shape.
Manager for automatically saving diagrams.
function mxAutoSaveManager(graph)
Constructs a new automatic layout for the given graph.
Cells are the elements of the graph model.
function mxCell(value,
geometry,
style)
Constructs a new cell to be used in a graph model.
Action to change the attribute of a cell’s user object.
function mxCellAttributeChange(cell,
attribute,
value)
Constructs a change of a attribute of the DOM node stored as the value of the given mxCell.
Codec for mxCells.
In-place editor for the graph.
function mxCellEditor(graph)
Constructs a new in-place editor for the specified graph.
A helper class to highlight cells.
function mxCellHighlight(graph,
highlightColor,
strokeWidth,
dashed)
Constructs a cell highlight.
A helper class to process mouse locations and highlight cells.
function mxCellMarker(graph,
validColor,
invalidColor,
hotspot)
Constructs a new cell marker.
Extends mxEventSource to implement a graph overlay, represented by an icon and a tooltip.
function mxCellOverlay(image,
tooltip,
align,
verticalAlign,
offset,
cursor)
Constructs a new overlay using the given image and tooltip.
Implements a mechanism for temporary cell Ids.
Renders cells into a document object model.
function mxCellRenderer()
arrow, rectangle, ellipse, rhombus, image, line, label, cylinder, swimlane, connector, actor and cloud.
Represents the current state of a cell in a given mxGraphView.
function mxCellState(view,
cell,
style)
Constructs a new object that represents the current state of the given cell in the specified view.
Implements a live preview for moving cells.
function mxCellStatePreview(graph)
Constructs a move preview for the given graph.
Event handler that highlights cells.
function mxCellTracker(graph,
color,
funct)
Constructs an event handler that highlights cells.
Action to add or remove a child in a model.
function mxChildChange(model,
parent,
child,
index)
Constructs a change of a child in the specified model.
Codec for mxChildChanges.
Extends mxGraphLayout to implement a circluar layout for a given radius.
function mxCircleLayout(graph,
radius)
Constructs a new circular layout for the specified radius.
Bootstrapping mechanism for the mxGraph thin client.
Singleton that implements a clipboard for graph cells.
Extends mxActor to implement a cloud shape.
function mxCloud(bounds,
fill,
stroke,
strokewidth)
Constructs a new cloud shape.
XML codec for JavaScript object graphs.
function mxCodec(document)
Constructs an XML encoder/decoder for the specified owner document.
Singleton class that acts as a global registry for codecs.
Action to change a cell’s collapsed state in a model.
function mxCollapseChange(model,
cell,
collapsed)
Constructs a change of a collapsed state in the specified model.
Extends mxGraphLayout to implement a compact tree (Moen) algorithm.
function mxCompactTreeLayout(graph,
horizontal,
invert)
Constructs a new compact tree layout for the specified graph and orientation.
Constructs a new fast organic layout for the specified graph.
Constructs a new fast organic layout for the specified graph.
Allows to compose multiple layouts into a single layout.
function mxCompositeLayout(graph,
layouts,
master)
Constructs a new layout using the given layouts.
Defines an object that contains the constraints about how to connect one side of an edge to its terminal.
function mxConnectionConstraint(point,
perimeter)
Constructs a new connection constraint for the given point and boolean arguments.
Graph event handler that creates new connections.
function mxConnectionHandler(graph,
factoryMethod)
Constructs an event handler that connects vertices using the specified factory method to create the new edges.
Extends mxShape to implement a connector shape.
function mxConnector(points,
stroke,
strokewidth)
Constructs a new connector shape.
Defines various global constants.
Handles constraints on connection targets.
function mxConstraintHandler(graph)
Constructs an new constraint handler.
Sets the horizontal locations of node and edge dummy nodes on each layer.
function mxCoordinateAssignment(layout,
intraCellSpacing,
interRankCellSpacing,
orientation,
initialX,
parallelEdgeSpacing)
Creates a coordinate assignment.
Action to change the current root in a view.
function mxCurrentRootChange(view,
root)
Constructs a change of the current root in the given view.
Constructs a change of the current root in the given view.
Extends mxShape to implement an cylinder shape.
function mxCylinder(bounds,
fill,
stroke,
strokewidth)
Constructs a new cylinder shape.
Binds keycodes to actionnames in an editor.
function mxDefaultKeyHandler(editor)
Constructs a new default key handler for the mxEditor.graph in the given mxEditor.
Custom codec for configuring mxDefaultKeyHandlers.
Creates popupmenus for mouse events.
function mxDefaultPopupMenu(config)
Constructs a new popupmenu-factory based on given configuration.
Custom codec for configuring mxDefaultPopupMenus.
Toolbar for the editor.
function mxDefaultToolbar(container,
editor)
Constructs a new toolbar for the given container and editor.
Custom codec for configuring mxDefaultToolbars.
A wrapper class for an associative array with object keys.
Maintains the size of a div element in Internet Explorer.
function mxDivResizer(div,
container)
Constructs an object that maintains the size of a div element when the window is being resized.
Extends mxShape to implement a double ellipse shape.
function mxDoubleEllipse(bounds,
fill,
stroke,
strokewidth)
Constructs a new ellipse shape.
Wrapper to create a drag source from a DOM element so that the element can be dragged over a graph and dropped into the graph as a new cell.
function mxDragSource(element,
dropHandler)
Constructs a new drag source for the given element.
Graph event handler that reconnects edges and modifies control points and the edge label location.
function mxEdgeHandler(state)
Constructs an edge handler for the specified mxCellState.
Constructs an edge handler for the specified mxCellState.
Extends mxGraphLayout to implement an edge label layout.
function mxEdgeLabelLayout(graph,
radius)
Constructs a new edge label layout.
Provides various edge styles to be used as the values for mxConstants.STYLE_EDGE in a cell style.
Extends mxEventSource to implement a application wrapper for a graph that adds actions, I/O using mxCodec, auto-layout using mxLayoutManager, command history using undoManager, and standard dialogs and widgets, eg.
function mxEditor(config)
Constructs a new editor.
Codec for mxEditors.
Provides animation effects.
Graph event handler that reconnects edges and modifies control points and the edge label location.
Extends mxShape to implement an ellipse shape.
function mxEllipse(bounds,
fill,
stroke,
strokewidth)
Constructs a new ellipse shape.
Cross-browser DOM event support.
The mxEventObject is a wrapper for all properties of a single event.
function mxEventObject(name)
Constructs a new event object with the specified name.
Base class for objects that dispatch named events.
Constructs a new dictionary which allows object to be used as keys.
function mxEventSource(eventSource)
Constructs a new event source.
Extends mxGraphLayout to implement a fast organic layout algorithm.
A simple class for creating HTML forms.
function mxForm(className)
Creates a HTML table using the specified classname.
Codec for mxValueChanges, mxStyleChanges, mxGeometryChanges, mxCollapseChanges and mxVisibleChanges.
var mxGenericChangeCodec = function(obj,
variable)
Factory function that creates a mxObjectCodec for the specified change and fieldname.
Extends mxRectangle to represent the geometry of a cell.
function mxGeometry(x,
y,
width,
height)
Constructs a new object to describe the size and location of a vertex or the control points of an edge.
Action to change a cell’s geometry in a model.
function mxGeometryChange(model,
cell,
geometry)
Constructs a change of a geometry in the specified model.
Extends mxEventSource to implement a graph component for the browser.
function mxGraph(container,
model,
renderHint,
stylesheet)
Constructs a new mxGraph in the specified container.
Set when the editor is started.
An abstraction of an internal hierarchy node or edge
function mxGraphAbstractHierarchyCell()
Constructs a new hierarchical layout algorithm.
Codec for mxGraphs.
Graph event handler that handles selection.
function mxGraphHandler(graph)
Constructs an event handler that creates handles for the selection cells.
An abstraction of a hierarchical edge for the hierarchy layout
function mxGraphHierarchyEdge(edges)
Constructs a hierarchy edge
Internal model of a hierarchical graph.
function mxGraphHierarchyModel(layout,
vertices,
roots,
parent,
tightenToSource)
Creates an internal ordered graph model using the vertices passed in.
An abstraction of a hierarchical edge for the hierarchy layout
function mxGraphHierarchyNode(cell)
Constructs an internal node to represent the specified real graph cell
Base class for all layout algorithms in mxGraph.
function mxGraphLayout(graph)
Constructs a new layout using the given layouts.
Extends mxEventSource to implement a graph model.
function mxGraphModel(root)
Constructs a new graph model.
Implements the selection model for a graph.
function mxGraphSelectionModel(graph)
Constructs a new graph selection model for the given mxGraph.
Extends mxEventSource to implement a view for a graph.
function mxGraphView(graph)
Constructs a new view for the given mxGraph.
Custom encoder for mxGraphViews.
Implements the alignment of selection cells to other cells in the graph.
function mxGuide(graph,
states)
Constructs a new guide object.
Implements a single custom handle for vertices.
function mxHandle(state,
cursor,
image)
Constructs a new handle for the given state.
Implementation of the hexagon shape.
function mxHexagon()
Constructs a new hexagon shape.
A hierarchical layout algorithm.
function mxHierarchicalLayout(graph,
orientation,
deterministic)
Constructs a new hierarchical layout algorithm.
The specific layout interface for hierarchical layouts.
function mxHierarchicalLayoutStage()
Constructs a new hierarchical layout stage.
Encapsulates the URL, width and height of an image.
function mxImage(src,
width,
height)
Constructs a new image.
Maps from keys to base64 encoded images or file locations.
Creates a new image export instance to be used with an export canvas.
function mxImageExport()
Constructs a new image export.
Extends mxShape to implement an image shape.
function mxImageShape(bounds,
image,
fill,
stroke,
strokewidth)
Constructs a new image shape.
Event handler that listens to keystroke events.
function mxKeyHandler(graph,
target)
Constructs an event handler that executes functions bound to specific keystrokes.
Extends mxShape to implement an image shape with a label.
function mxLabel(bounds,
fill,
stroke,
strokewidth)
Constructs a new label shape.
function mxLayoutManager(graph)
Constructs a new automatic layout for the given graph.
Extends mxShape to implement a horizontal line shape.
function mxLine(bounds,
stroke,
strokewidth)
Constructs a new line shape.
Optional global config variable to toggle loading of the two resource files in mxGraph and mxEditor.
Optional global config variable to toggle loading of the CSS files when the library is initialized.
A singleton class that implements a simple console.
A static class that implements all markers for VML and SVG using a registry.
Sets the horizontal locations of node and edge dummy nodes on each layer.
function mxMedianHybridCrossingReduction(layout)
Creates a coordinate assignment.
An implementation of the first stage of the Sugiyama layout.
function mxMinimumCycleRemover(layout)
Creates a cycle remover for the given internal model.
Codec for mxGraphModels.
Implements animation for morphing cells.
function mxMorphing(graph,
steps,
ease,
delay)
Constructs an animation.
Base class for all mouse events in mxGraph.
function mxMouseEvent(evt,
state)
Constructs a new event object for the given arguments.
Defines invalid connections along with the error messages that they produce.
function mxMultiplicity(source,
type,
attr,
value,
min,
max,
validNeighbors,
countError,
typeError,
validNeighborsAllowed)
Instantiate class mxMultiplicity in order to describe allowed connections in a graph.
Generic codec for JavaScript objects that implements a mapping between JavaScript objects and XML nodes that maps each field or element to an attribute or child node, and vice versa.
function mxObjectCodec(template,
exclude,
idrefs,
mapping)
Constructs a new codec for the specified template object.
Identity for JavaScript objects and functions.
Implements an outline (aka overview) for a graph.
function mxOutline(source,
container)
Constructs a new outline for the specified graph inside the given container.
Event handler that pans and creates popupmenus.
Constructs an event handler that creates a mxPopupMenu and pans the graph.
Implements a handler for panning.
Extends mxGraphLayout for arranging parallel edges.
Extends mxGraphLayout for partitioning the parent cell vertically or horizontally by filling the complete area with the child cells.
function mxPartitionLayout(graph,
horizontal,
spacing,
border)
Constructs a new stack layout layout for the specified graph, spacing, orientation and offset.
Provides various perimeter functions to be used in a style as the value of mxConstants.STYLE_PERIMETER.
Implements a 2-dimensional vector with double precision coordinates.
function mxPoint(x,
y)
Constructs a new point for the optional x and y coordinates.
Extends mxShape to implement a polyline (a line with multiple points).
function mxPolyline(points,
stroke,
strokewidth)
Constructs a new polyline shape.
Basic popup menu.
Constructs a popupmenu.
Event handler that creates popupmenus.
function mxPopupMenuHandler(graph,
factoryMethod)
Constructs an event handler that creates a mxPopupMenu.
Implements printing of a diagram across multiple pages.
function mxPrintPreview(graph,
scale,
pageFormat,
border,
x0,
y0,
borderColor,
title,
pageSelector)
Constructs a new print preview for the given parameters.
Extends mxGraphLayout to implement a radial tree algorithm.
function mxRadialTreeLayout(graph)
Constructs a new radial tree layout for the specified graph
Extends mxPoint to implement a 2-dimensional rectangle with double precision coordinates.
function mxRectangle(x,
y,
width,
height)
Constructs a new rectangle for the optional parameters.
Constructs a new rectangle for the optional parameters.
Extends mxShape to implement a rectangle shape.
function mxRectangleShape(bounds,
fill,
stroke,
strokewidth)
Constructs a new rectangle shape.
Optional global config variable to specify the extension of resource files.
Implements internationalization.
Extends mxShape to implement a rhombus (aka diamond) shape.
function mxRhombus(bounds,
fill,
stroke,
strokewidth)
Constructs a new rhombus shape.
Action to change the root in a model.
function mxRootChange(model,
root)
Constructs a change of the root in the specified model.
Codec for mxRootChanges.
Event handler that selects rectangular regions.
function mxRubberband(graph)
Constructs an event handler that selects rectangular regions in the graph using rubberband selection.
An event handler that manages cell handlers and invokes their mouse event processing functions.
Action to change the current root in a view.
Base class for all shapes.
function mxShape(stencil)
Constructs a new shape.
Extends mxGraphLayout to create a horizontal or vertical stack of the child vertices.
function mxStackLayout(graph,
horizontal,
spacing,
x0,
y0,
border)
Constructs a new stack layout layout for the specified graph, spacing, orientation and offset.
Implements a generic shape which is based on a XML node as a description.
function mxStencil(desc)
Constructs a new generic shape by setting desc to the given XML node and invoking parseDescription and parseConstraints.
A singleton class that provides a registry for stencils and the methods for painting those stencils onto a canvas or into a DOM.
Action to change a cell’s style in a model.
function mxStyleChange(model,
cell,
style)
Constructs a change of a style in the specified model.
Singleton class that acts as a global converter from string to object values in a style.
Defines the appearance of the cells in a graph.
function mxStylesheet()
Constructs a new stylesheet and assigns default styles.
Codec for mxStylesheets.
Extends mxAbstractCanvas2D to implement a canvas for SVG.
function mxSvgCanvas2D(root,
styleEnabled)
Constructs a new SVG canvas.
Extends mxShape to implement a swimlane shape.
function mxSwimlane(bounds,
fill,
stroke,
strokewidth)
Constructs a new swimlane shape.
A hierarchical layout algorithm.
function mxSwimlaneLayout(graph,
orientation,
deterministic)
Constructs a new hierarchical layout algorithm.
Manager for swimlanes and nested swimlanes that sets the size of newly added swimlanes to that of their siblings, and propagates changes to the size of a swimlane to its siblings, if siblings is true, and its ancestors, if bubbling is true.
function mxSwimlaneManager(graph,
horizontal,
addEnabled,
resizeEnabled)
Constructs a new swimlane manager for the given graph.
Internal model of a hierarchical graph.
function mxSwimlaneModel(layout,
vertices,
roots,
parent,
tightenToSource)
Creates an internal ordered graph model using the vertices passed in.
An implementation of the first stage of the Sugiyama layout.
function mxSwimlaneOrdering(layout)
Creates a cycle remover for the given internal model.
Extends mxPoint to implement a 2-dimensional rectangle with double precision coordinates.
Action to change a terminal in a model.
function mxTerminalChange(model,
cell,
terminal,
source)
Constructs a change of a terminal in the specified model.
Codec for mxTerminalChanges.
Extends mxShape to implement a text shape.
function mxText(value,
bounds,
align,
valign,
color,
family,
size,
fontStyle,
spacing,
spacingTop,
spacingRight,
spacingBottom,
spacingLeft,
horizontal,
background,
border,
wrap,
clipped,
overflow,
labelPadding,
textDirection)
Constructs a new text shape.
Creates a toolbar inside a given DOM node.
function mxToolbar(container)
Constructs a toolbar in the specified container.
Graph event handler that displays tooltips.
function mxTooltipHandler(graph,
delay)
Constructs an event handler that displays tooltips with the specified delay (in milliseconds).
mxCell.prototype.mxTransient
List of members that should not be cloned inside clone.
Implementation of the triangle shape.
function mxTriangle()
Constructs a new triangle shape.
Implements a composite undoable edit.
function mxUndoableEdit(source,
significant)
Constructs a new undoable edit for the given source.
Implements a command history.
function mxUndoManager(size)
Constructs a new undo manager with the given history size.
Converts relative and absolute URLs to absolute URLs with protocol and domain.
A singleton class that provides cross-browser helper methods.
Action to change a user object in a model.
function mxValueChange(model,
cell,
value)
Constructs a change of a user object in the specified model.
Event handler for resizing cells.
function mxVertexHandler(state)
Constructs an event handler that allows to resize vertices and groups.
Action to change a cell’s visible state in a model.
function mxVisibleChange(model,
cell,
visible)
Constructs a change of a visible state in the specified model.
Implements a canvas to be used for rendering VML.
Basic window inside a document.
function mxWindow(title,
content,
x,
y,
width,
height,
minimizable,
movable,
replaceNode,
style)
Constructs a new window with the given dimension and title to display the specified content.
Base class for all canvases.
function mxXmlCanvas2D(root)
Constructs a new abstract canvas.
XML HTTP request wrapper.
function mxXmlRequest(url,
params,
method,
async,
username,
password)
Constructs an XML HTTP request.
diff --git a/docs/js-api/index/General12.html b/docs/js-api/index/General12.html index ac2bd0cd9..3166bed7f 100644 --- a/docs/js-api/index/General12.html +++ b/docs/js-api/index/General12.html @@ -11,13 +11,13 @@ if (browserType) {document.write("
");if (browserV -
Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
N
 name, mxEventObject
 nativeDoubleClickEnabled, mxGraph
 neighbours, mxFastOrganicLayout
 nestedBestRanks, mxMedianHybridCrossingReduction
 nextId, mxGraphModel
 nextLayerConnectedCache, mxCoordinateAssignment
 nextLayerConnectedCells, mxGraphAbstractHierarchyCell
 NO_FO, mxClient
 node
 nodeDistance
 NODETYPE_ATTRIBUTE, mxConstants
 NODETYPE_CDATA, mxConstants
 NODETYPE_COMMENT, mxConstants
 NODETYPE_DOCUMENT, mxConstants
 NODETYPE_DOCUMENT_FRAGMENT, mxConstants
 NODETYPE_DOCUMENTTYPE, mxConstants
 NODETYPE_ELEMENT, mxConstants
 NODETYPE_ENTITY, mxConstants
 NODETYPE_ENTITY_REFERENCE, mxConstants
 NODETYPE_NOTATION, mxConstants
 NODETYPE_PROCESSING_INSTRUCTION, mxConstants
 NODETYPE_TEXT, mxConstants
 NONE, mxConstants
 noReset, mxToolbar
 NORMALIZE
 normalizeImage, mxWindow
 normalKeys, mxKeyHandler
 notify, mxUndoableEdit
 NOTIFY
 NS_SVG, mxConstants
 NS_XHTML, mxConstants
 NS_XLINK, mxConstants
 nudge, WeightedCellSorter
O
 objects
 OFFICE_PREFIX, mxClient
 offset
 oldBounds, mxTemporaryCellStates
 oldScale, mxTemporaryCellStates
 oldStates, mxTemporaryCellStates
 onEncode, mxRootChangeCodec
 onInit
 open
 OPEN
 optimizeVmlReflows, mxGraphView
 Order, mxGraph
 ORDER_CELLS
 orderCells, mxGraph
 orientation
 origin, mxCellState
 OrthConnector, mxEdgeStyle
 outline
 OUTLINE_COLOR, mxConstants
 OUTLINE_HANDLE_FILLCOLOR, mxConstants
 OUTLINE_HANDLE_STROKECOLOR, mxConstants
 OUTLINE_HIGHLIGHT_COLOR, mxConstants
 OUTLINE_STROKEWIDTH, mxConstants
 outlineConnect
 outlineResource, mxEditor
 Overlays, mxGraph
+
Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
N
 name, mxEventObject
 nativeDoubleClickEnabled, mxGraph
 neighbours, mxFastOrganicLayout
 nestedBestRanks, mxMedianHybridCrossingReduction
 nextId, mxGraphModel
 nextLayerConnectedCache, mxCoordinateAssignment
 nextLayerConnectedCells, mxGraphAbstractHierarchyCell
 NO_FO, mxClient
 node
 nodeDistance
 NODETYPE_ATTRIBUTE, mxConstants
 NODETYPE_CDATA, mxConstants
 NODETYPE_COMMENT, mxConstants
 NODETYPE_DOCUMENT, mxConstants
 NODETYPE_DOCUMENT_FRAGMENT, mxConstants
 NODETYPE_DOCUMENTTYPE, mxConstants
 NODETYPE_ELEMENT, mxConstants
 NODETYPE_ENTITY, mxConstants
 NODETYPE_ENTITY_REFERENCE, mxConstants
 NODETYPE_NOTATION, mxConstants
 NODETYPE_PROCESSING_INSTRUCTION, mxConstants
 NODETYPE_TEXT, mxConstants
 NONE, mxConstants
 noReset, mxToolbar
 NORMALIZE
 normalizeImage, mxWindow
 normalKeys, mxKeyHandler
 notify, mxUndoableEdit
 NOTIFY
 NS_SVG, mxConstants
 NS_XHTML, mxConstants
 NS_XLINK, mxConstants
 nudge, WeightedCellSorter
O
 objects
 OFFICE_PREFIX, mxClient
 offset
 oldBounds, mxTemporaryCellStates
 oldScale, mxTemporaryCellStates
 oldStates, mxTemporaryCellStates
 onEncode, mxRootChangeCodec
 onInit
 open
 OPEN
 optimizeVmlReflows, mxGraphView
 Order, mxGraph
 ORDER_CELLS
 orderCells, mxGraph
 orientation
 origin, mxCellState
 OrthConnector, mxEdgeStyle
 outline
 OUTLINE_COLOR, mxConstants
 OUTLINE_HANDLE_FILLCOLOR, mxConstants
 OUTLINE_HANDLE_STROKECOLOR, mxConstants
 OUTLINE_HIGHLIGHT_COLOR, mxConstants
 OUTLINE_STROKEWIDTH, mxConstants
 outlineConnect
 outlineResource, mxEditor
 Overlays, mxGraph
-
mxEventObject.prototype.name
Holds the name.
Specifies if native double click events should be detected.
mxFastOrganicLayout.prototype.neighbours
Local copy of cell neighbours.
mxMedianHybridCrossingReduction.prototype.nestedBestRanks
Stores each rank as a collection of cells in the best order found for each layer so far
mxGraphModel.prototype.nextId
Specifies the next Id to be created.
mxCoordinateAssignment.prototype.nextLayerConnectedCache
A store of connections to the layer above for speed
mxGraphAbstractHierarchyCell.prototype.nextLayerConnectedCells
A cached version of the cells this cell connects to on the next layer up
NO_FO: !document.createElementNS || document.createElementNS(
   'http://www.w3.org/2000/svg',
   'foreignObject'
) !
True if foreignObject support is not available.
mxCompactTreeLayout.prototype.node
The internal node representation of the root cell.
mxShape.prototype.node
Holds the outermost DOM node that represents this shape.
mxCompactTreeLayout.prototype.nodeDistance
Holds the nodeDistance.
mxRadialTreeLayout.prototype.nodeDistance
Holds the nodeDistance.
DOM node of type ATTRIBUTE.
DOM node of type CDATA.
DOM node of type COMMENT.
DOM node of type DOCUMENT.
DOM node of type DOCUMENT_FRAGMENT.
DOM node of type DOCUMENTTYPE.
DOM node of type ELEMENT.
DOM node of type ENTITY.
DOM node of type ENTITY_REFERENCE.
DOM node of type NOTATION.
DOM node of type PROCESSING_INSTRUCTION.
DOM node of type TEXT.
Defines the value for none.
mxToolbar.prototype.noReset
Specifies if resetMode requires a forced flag of true for resetting the current mode in the toolbar.
Specifies the event name for normalize.
Fires after the window is normalized, that is, it returned from maximized or minimized state.
mxWindow.prototype.normalizeImage
URL of the image to be used for the normalize icon in the titlebar.
mxKeyHandler.prototype.normalKeys
Maps from keycodes to functions for non-pressed control keys.
mxUndoableEdit.prototype.notify = function()
Hook to notify any listeners of the changes after an undo or redo has been carried out.
Specifies the event name for notify.
Same as mxEvent.CHANGE, this event can be used for classes that need to implement a sync mechanism between this model and, say, a remote model.
Defines the SVG namespace.
Defines the XHTML namespace.
Defines the XLink namespace.
WeightedCellSorter.prototype.nudge
Whether or not to flip equal weight values.
+
mxEventObject.prototype.name
Holds the name.
Specifies if native double click events should be detected.
mxFastOrganicLayout.prototype.neighbours
Local copy of cell neighbours.
mxMedianHybridCrossingReduction.prototype.nestedBestRanks
Stores each rank as a collection of cells in the best order found for each layer so far
mxGraphModel.prototype.nextId
Specifies the next Id to be created.
mxCoordinateAssignment.prototype.nextLayerConnectedCache
A store of connections to the layer above for speed
mxGraphAbstractHierarchyCell.prototype.nextLayerConnectedCells
A cached version of the cells this cell connects to on the next layer up
NO_FO: !document.createElementNS || document.createElementNS(
   'http://www.w3.org/2000/svg',
   'foreignObject'
) !
True if foreignObject support is not available.
mxCompactTreeLayout.prototype.node
The internal node representation of the root cell.
mxShape.prototype.node
Holds the outermost DOM node that represents this shape.
mxCompactTreeLayout.prototype.nodeDistance
Holds the nodeDistance.
mxRadialTreeLayout.prototype.nodeDistance
Holds the nodeDistance.
DOM node of type ATTRIBUTE.
DOM node of type CDATA.
DOM node of type COMMENT.
DOM node of type DOCUMENT.
DOM node of type DOCUMENT_FRAGMENT.
DOM node of type DOCUMENTTYPE.
DOM node of type ELEMENT.
DOM node of type ENTITY.
DOM node of type ENTITY_REFERENCE.
DOM node of type NOTATION.
DOM node of type PROCESSING_INSTRUCTION.
DOM node of type TEXT.
Defines the value for none.
mxToolbar.prototype.noReset
Specifies if resetMode requires a forced flag of true for resetting the current mode in the toolbar.
Specifies the event name for normalize.
Fires after the window is normalized, that is, it returned from maximized or minimized state.
mxWindow.prototype.normalizeImage
URL of the image to be used for the normalize icon in the titlebar.
mxKeyHandler.prototype.normalKeys
Maps from keycodes to functions for non-pressed control keys.
mxUndoableEdit.prototype.notify = function()
Hook to notify any listeners of the changes after an undo or redo has been carried out.
Specifies the event name for notify.
Same as mxEvent.CHANGE, this event can be used for classes that need to implement a sync mechanism between this model and, say, a remote model.
Defines the SVG namespace.
Defines the XHTML namespace.
Defines the XLink namespace.
WeightedCellSorter.prototype.nudge
Whether or not to flip equal weight values.
-
mxCodec.prototype.objects
Maps from IDs to objects.
Contains all objects where any listener was added using addListener.
Prefix for VML office namespace in node names.
mxCellOverlay.prototype.offset
Holds the offset as an mxPoint.
mxCompactTreeLayout.prototype.offset = function(p1,
p2,
a1,
a2,
b1,
b2)
mxGeometry.prototype.offset
For edges, this holds the offset (in pixels) from the position defined by x and y on the edge.
mxTemporaryCellStates.prototype.oldBounds
Holds the height of the rectangle.
mxTemporaryCellStates.prototype.oldScale
Holds the height of the rectangle.
mxTemporaryCellStates.prototype.oldStates
Holds the height of the rectangle.
Encodes the child recursively.
Called from within the constructor.
Called from within the constructor.
mxEditor.prototype.open = function (filename)
Opens the specified file synchronously and parses it using readGraphModel.
mxPrintPreview.prototype.open = function(css,
targetWindow)
Shows the print preview window.
Fires after a file was opened in open.
Specifies the event name for open.
mxGraphView.prototype.optimizeVmlReflows
Specifies if the canvas should be hidden while rendering in IE8 standards mode and quirks mode.
Specifies the event name for orderCells.
Fires between begin- and endUpdate in orderCells.
mxGraph.prototype.orderCells = function(back,
cells)
Moves the given cells to the front or back.
mxCoordinateAssignment.prototype.orientation
The position of the root ( start ) node(s) relative to the rest of the laid out graph.
mxHierarchicalLayout.prototype.orientation
The position of the root node(s) relative to the laid out graph in.
mxSwimlaneLayout.prototype.orientation
The position of the root node(s) relative to the laid out graph in.
mxCellState.prototype.origin
mxPoint that holds the origin for all child cells.
OrthConnector: function(state,
source,
target,
points,
result)
Implements a local orthogonal router between the given cells.
mxEditor.prototype.outline
Reference to the mxWindow that contains the outline.
Reference to the mxGraph that renders the outline.
mxShape.prototype.outline
Specifies if the shape should be drawn as an outline.
Defines the color to be used for the outline rectangle border.
Defines the color to be used for the outline sizer fill color.
Defines the color to be used for the outline sizer stroke color.
Specifies the default highlight color for shape outlines.
Defines the strokewidth to be used for the outline rectangle stroke width.
mxConnectionHandler.prototype.outlineConnect
Specifies if connections to the outline of a highlighted target should be enabled.
mxEdgeHandler.prototype.outlineConnect
Specifies if connections to the outline of a highlighted target should be enabled.
mxEditor.prototype.outlineResource
Specifies the resource key for the outline window title.
+
mxCodec.prototype.objects
Maps from IDs to objects.
Contains all objects where any listener was added using addListener.
Prefix for VML office namespace in node names.
mxCellOverlay.prototype.offset
Holds the offset as an mxPoint.
mxCompactTreeLayout.prototype.offset = function(p1,
p2,
a1,
a2,
b1,
b2)
mxGeometry.prototype.offset
For edges, this holds the offset (in pixels) from the position defined by x and y on the edge.
mxTemporaryCellStates.prototype.oldBounds
Holds the height of the rectangle.
mxTemporaryCellStates.prototype.oldScale
Holds the height of the rectangle.
mxTemporaryCellStates.prototype.oldStates
Holds the height of the rectangle.
Encodes the child recursively.
Called from within the constructor.
Called from within the constructor.
mxEditor.prototype.open = function (filename)
Opens the specified file synchronously and parses it using readGraphModel.
mxPrintPreview.prototype.open = function(css,
targetWindow)
Shows the print preview window.
Fires after a file was opened in open.
Specifies the event name for open.
mxGraphView.prototype.optimizeVmlReflows
Specifies if the canvas should be hidden while rendering in IE8 standards mode and quirks mode.
Specifies the event name for orderCells.
Fires between begin- and endUpdate in orderCells.
mxGraph.prototype.orderCells = function(back,
cells)
Moves the given cells to the front or back.
mxCoordinateAssignment.prototype.orientation
The position of the root ( start ) node(s) relative to the rest of the laid out graph.
mxHierarchicalLayout.prototype.orientation
The position of the root node(s) relative to the laid out graph in.
mxSwimlaneLayout.prototype.orientation
The position of the root node(s) relative to the laid out graph in.
mxCellState.prototype.origin
mxPoint that holds the origin for all child cells.
OrthConnector: function(state,
source,
target,
points,
result)
Implements a local orthogonal router between the given cells.
mxEditor.prototype.outline
Reference to the mxWindow that contains the outline.
Reference to the mxGraph that renders the outline.
mxShape.prototype.outline
Specifies if the shape should be drawn as an outline.
Defines the color to be used for the outline rectangle border.
Defines the color to be used for the outline sizer fill color.
Defines the color to be used for the outline sizer stroke color.
Specifies the default highlight color for shape outlines.
Defines the strokewidth to be used for the outline rectangle stroke width.
mxConnectionHandler.prototype.outlineConnect
Specifies if connections to the outline of a highlighted target should be enabled.
mxEdgeHandler.prototype.outlineConnect
Specifies if connections to the outline of a highlighted target should be enabled.
mxEditor.prototype.outlineResource
Specifies the resource key for the outline window title.
diff --git a/docs/js-api/index/General13.html b/docs/js-api/index/General13.html index 7d03fa8c3..a04a3f48d 100644 --- a/docs/js-api/index/General13.html +++ b/docs/js-api/index/General13.html @@ -11,9 +11,9 @@ if (browserType) {document.write("
");if (browserV -
Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
P
 PAGE_FORMAT_A4_PORTRAIT, mxConstants
 PAGE_FORMAT_LETTER_PORTRAIT, mxConstants
 pageBreakColor, mxGraph
 pageBreakDashed, mxGraph
 pageBreaksVisible, mxGraph
 pageCount, mxPrintPreview
 pageFormat
 pageScale, mxGraph
 pageSelector, mxPrintPreview
 pageVisible, mxGraph
 paint
 paintBackground
 paintEdgeShape
 paintForeground
 paintGlassEffect, mxShape
 paintImage, mxLabel
 paintIndicator, mxLabel
 paintLine, mxPolyline
 paintRoundedSwimlane, mxSwimlane
 paintSwimlane, mxSwimlane
 paintVertexShape
 PAN
 PAN_END
 PAN_START
 panDx, mxGraph
 panDy, mxGraph
 panGraph
 panningEnabled, mxPanningHandler
 para, mxUtils
 parallelEdgeSpacing
 params, mxXmlRequest
 parent
 parentBorder
 parentForCellChanged, mxGraphModel
 parentHighlightEnabled
 parentsChanged, mxCompactTreeLayout
 parse, mxResources
 parseConstraint, mxStencil
 parseConstraints, mxStencil
 parseDescription, mxStencil
 parseXml, mxUtils
 password, mxXmlRequest
 paste, mxClipboard
 path
 PATH_SEPARATOR, mxCellPath
 perimeter, mxConnectionConstraint
 PERIMETER_ELLIPSE, mxConstants
 PERIMETER_HEXAGON, mxConstants
 PERIMETER_RECTANGLE, mxConstants
 PERIMETER_RHOMBUS, mxConstants
 PERIMETER_TRIANGLE, mxConstants
 pinchEnabled, mxPanningHandler
 placeLabels, mxEdgeLabelLayout
 placementStage
 plainText, mxVmlCanvas2D
 point, mxConnectionConstraint
 pointerEvents
 pointerEventsValue, mxSvgCanvas2D
 pointImage, mxConstraintHandler
 points
 popup
 popupHandler, mxEditor
 portsEnabled, mxGraph
 positionChanged, mxHandle
 post, mxUtils
 POST
 postConfigureShape, mxCellRenderer
 postDiagram, mxEditor
 postfix, mxGraphModel
 postParameterName, mxEditor
 postProcessCellStyle, mxGraph
 preferHtml, mxEdgeHandler
 preferPageSize, mxGraph
 prefHozEdgeSep
 prefix, mxGraphModel
 prefVertEdgeOff
 preserveImageAspect, mxImageShape
 previewColor, mxGraphHandler
 previewElement, mxDragSource
 previewEnabled, mxPanningHandler
 previousLayerConnectedCache, mxCoordinateAssignment
 previousLayerConnectedCells, mxGraphAbstractHierarchyCell
 print, mxPrintPreview
 printBackgroundImage, mxPrintPreview
 printControls, mxPrintPreview
 printOverlays, mxPrintPreview
 printScreen, mxUtils
 process, mxCellMarker
 processChange, mxGraph
 processEvent, mxHandle
 processInclude, mxObjectCodec
 processReversedEdge, mxCoordinateAssignment
 prompt, mxUtils
 properties, mxEventObject
 propertiesHeight, mxEditor
 propertiesResource, mxEditor
 propertiesWidth, mxEditor
 ptLineDist, mxUtils
 ptSegDistSq, mxUtils
 put, mxDictionary
 putCellStyle, mxStylesheet
 putDefaultEdgeStyle, mxStylesheet
 putDefaultVertexStyle, mxStylesheet
 putImage, mxImageBundle
 putObject, mxCodec
 putValue, mxStyleRegistry
+
Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
P
 PAGE_FORMAT_A4_PORTRAIT, mxConstants
 PAGE_FORMAT_LETTER_PORTRAIT, mxConstants
 pageBreakColor, mxGraph
 pageBreakDashed, mxGraph
 pageBreaksVisible, mxGraph
 pageCount, mxPrintPreview
 pageFormat
 pageScale, mxGraph
 pageSelector, mxPrintPreview
 pageVisible, mxGraph
 paint
 paintBackground
 paintEdgeShape
 paintForeground
 paintGlassEffect, mxShape
 paintImage, mxLabel
 paintIndicator, mxLabel
 paintLine, mxPolyline
 paintRoundedSwimlane, mxSwimlane
 paintSwimlane, mxSwimlane
 paintVertexShape
 PAN
 PAN_END
 PAN_START
 panDx, mxGraph
 panDy, mxGraph
 panGraph
 panningEnabled, mxPanningHandler
 para, mxUtils
 parallelEdgeSpacing
 params, mxXmlRequest
 parent
 parentBorder
 parentForCellChanged, mxGraphModel
 parentHighlightEnabled
 parentsChanged, mxCompactTreeLayout
 parse, mxResources
 parseConstraint, mxStencil
 parseConstraints, mxStencil
 parseDescription, mxStencil
 parseXml, mxUtils
 password, mxXmlRequest
 paste, mxClipboard
 path
 PATH_SEPARATOR, mxCellPath
 perimeter, mxConnectionConstraint
 PERIMETER_ELLIPSE, mxConstants
 PERIMETER_HEXAGON, mxConstants
 PERIMETER_RECTANGLE, mxConstants
 PERIMETER_RHOMBUS, mxConstants
 PERIMETER_TRIANGLE, mxConstants
 pinchEnabled, mxPanningHandler
 placeLabels, mxEdgeLabelLayout
 placementStage
 plainText, mxVmlCanvas2D
 point, mxConnectionConstraint
 pointerEvents
 pointerEventsValue, mxSvgCanvas2D
 pointImage, mxConstraintHandler
 points
 popup
 popupHandler, mxEditor
 portsEnabled, mxGraph
 positionChanged, mxHandle
 post, mxUtils
 POST
 postConfigureShape, mxCellRenderer
 postDiagram, mxEditor
 postfix, mxGraphModel
 postParameterName, mxEditor
 postProcessCellStyle, mxGraph
 preferHtml, mxEdgeHandler
 preferPageSize, mxGraph
 prefHozEdgeSep
 prefix, mxGraphModel
 prefVertEdgeOff
 preserveImageAspect, mxImageShape
 previewColor, mxGraphHandler
 previewElement, mxDragSource
 previewEnabled, mxPanningHandler
 previousLayerConnectedCache, mxCoordinateAssignment
 previousLayerConnectedCells, mxGraphAbstractHierarchyCell
 print, mxPrintPreview
 printBackgroundImage, mxPrintPreview
 printControls, mxPrintPreview
 printOverlays, mxPrintPreview
 printScreen, mxUtils
 process, mxCellMarker
 processChange, mxGraph
 processEvent, mxHandle
 processInclude, mxObjectCodec
 processReversedEdge, mxCoordinateAssignment
 prompt, mxUtils
 properties, mxEventObject
 propertiesHeight, mxEditor
 propertiesResource, mxEditor
 propertiesWidth, mxEditor
 ptLineDist, mxUtils
 ptSegDistSq, mxUtils
 put, mxDictionary
 putCellStyle, mxStylesheet
 putDefaultEdgeStyle, mxStylesheet
 putDefaultVertexStyle, mxStylesheet
 putImage, mxImageBundle
 putObject, mxCodec
 putValue, mxStyleRegistry
-
Defines the rectangle for the A4 portrait page format.
Defines the rectangle for the Letter portrait page format.
mxGraph.prototype.pageBreakColor
Specifies the color for page breaks.
mxGraph.prototype.pageBreakDashed
Specifies the page breaks should be dashed.
mxGraph.prototype.pageBreaksVisible
Specifies if a dashed line should be drawn between multiple pages.
mxPrintPreview.prototype.pageCount
Holds the actual number of pages in the preview.
mxGraph.prototype.pageFormat
Specifies the page format for the background page.
mxPrintPreview.prototype.pageFormat
Holds the mxRectangle that defines the page format.
mxGraph.prototype.pageScale
Specifies the scale of the background page.
mxPrintPreview.prototype.pageSelector
Boolean that specifies if the page selector should be displayed.
mxGraph.prototype.pageVisible
Specifies if the background page should be visible.
mxShape.prototype.paint = function(c)
Generic rendering code.
mxText.prototype.paint = function(c,
update)
Generic rendering code.
mxDoubleEllipse.prototype.paintBackground = function(c,
x,
y,
w,
h)
Paints the background.
mxRectangleShape.prototype.paintBackground = function(c,
x,
y,
w,
h)
Generic background painting implementation.
mxShape.prototype.paintBackground = function(c,
x,
y,
w,
h)
Hook for subclassers.
mxArrow.prototype.paintEdgeShape = function(c,
pts)
Paints the line shape.
mxArrowConnector.prototype.paintEdgeShape = function(c,
pts)
Paints the line shape.
mxConnector.prototype.paintEdgeShape = function(c,
pts)
Paints the line shape.
mxPolyline.prototype.paintEdgeShape = function(c,
pts)
Paints the line shape.
mxShape.prototype.paintEdgeShape = function(c,
pts)
Hook for subclassers.
mxDoubleEllipse.prototype.paintForeground = function(c,
x,
y,
w,
h)
Paints the foreground.
mxLabel.prototype.paintForeground = function(c,
x,
y,
w,
h)
Generic background painting implementation.
mxRectangleShape.prototype.paintForeground = function(c,
x,
y,
w,
h)
Generic background painting implementation.
mxShape.prototype.paintForeground = function(c,
x,
y,
w,
h)
Hook for subclassers.
mxShape.prototype.paintGlassEffect = function(c,
x,
y,
w,
h,
arc)
Paints the glass gradient effect.
mxLabel.prototype.paintImage = function(c,
x,
y,
w,
h)
Generic background painting implementation.
mxLabel.prototype.paintIndicator = function(c,
x,
y,
w,
h)
Generic background painting implementation.
mxPolyline.prototype.paintLine = function(c,
pts,
rounded)
Paints the line shape.
mxSwimlane.prototype.paintRoundedSwimlane = function(c,
x,
y,
w,
h,
start,
r,
fill,
swimlaneLine)
Paints the swimlane vertex shape.
mxSwimlane.prototype.paintSwimlane = function(c,
x,
y,
w,
h,
start,
fill,
swimlaneLine)
Paints the swimlane vertex shape.
mxActor.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Redirects to redrawPath for subclasses to work.
mxCylinder.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Redirects to redrawPath for subclasses to work.
mxEllipse.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Paints the ellipse shape.
mxImageShape.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Generic background painting implementation.
mxLine.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Redirects to redrawPath for subclasses to work.
mxRhombus.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Generic painting implementation.
mxShape.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Paints the vertex shape.
Paints the swimlane vertex shape.
Specifies the event name for pan.
Fires while handle is processing events.
Specifies the event name for panEnd.
Fires when the panning handler changes its active state to false.
Specifies the event name for panStart.
Fires when the panning handler changes its active state to true.
mxGraph.prototype.panDx
Current horizontal panning value.
mxGraph.prototype.panDy
Current vertical panning value.
mxGraph.prototype.panGraph = function(dx,
dy)
Shifts the graph display by the given amount.
mxPanningHandler.prototype.panGraph = function(dx,
dy)
Pans graph by the given amount.
mxPanningHandler.prototype.panningEnabled
Specifies if panning should be enabled.
para: function(parent,
text)
Appends a new paragraph with the given text to the specified parent and returns the paragraph.
mxCoordinateAssignment.prototype.parallelEdgeSpacing
The distance between each parallel edge on each ranks for long edges.
mxHierarchicalLayout.prototype.parallelEdgeSpacing
The distance between each parallel edge on each ranks for long edges
mxSwimlaneLayout.prototype.parallelEdgeSpacing
The distance between each parallel edge on each ranks for long edges
mxXmlRequest.prototype.params
Holds the form encoded data for the POST request.
mxCell.prototype.parent
Reference to the parent cell.
mxGraphHierarchyModel.prototype.parent
The parent cell whose children are being laid out
mxGraphLayout.prototype.parent
The parent cell of the layout, if any
mxSwimlaneModel.prototype.parent
The parent cell whose children are being laid out
mxHierarchicalLayout.prototype.parentBorder
The border to be added around the children if the parent is to be resized using resizeParent.
mxSwimlaneLayout.prototype.parentBorder
The border to be added around the children if the parent is to be resized using resizeParent.
mxGraphModel.prototype.parentForCellChanged = function(cell,
parent,
index)
Inner callback to update the parent of a cell using mxCell.insert on the parent and return the previous parent.
mxEdgeHandler.prototype.parentHighlightEnabled
Specifies if the parent should be highlighted if a child cell is selected.
mxVertexHandler.prototype.parentHighlightEnabled
Specifies if the parent should be highlighted if a child cell is selected.
mxCompactTreeLayout.prototype.parentsChanged
A set of the parents that need updating based on children process as part of the layout.
parse: function(text)
Parses the key, value pairs in the specified text and stores them as local resources.
mxStencil.prototype.parseConstraint = function(node)
Parses the given XML node and returns its mxConnectionConstraint.
mxStencil.prototype.parseConstraints = function()
Reads the constraints from desc into constraints using parseConstraint.
mxStencil.prototype.parseDescription = function()
Reads w0, h0, aspect, bgNodes and fgNodes from desc.
parseXml: function()
Parses the specified XML string into a new XML document and returns the new document.
mxXmlRequest.prototype.password
Specifies the password to be used for authentication.
paste: function(graph)
Pastes the cells into the specified graph restoring the relation to parents, if possible.
mxAbstractCanvas2D.prototype.path
Holds the current path as an array.
Holds the current DOM node.
Holds the current DOM node.
Defines the separator between the path components.
mxConnectionConstraint.prototype.perimeter
Boolean that specifies if the point should be projected onto the perimeter of the terminal.
Name of the ellipse perimeter.
Name of the hexagon perimeter.
Name of the rectangle perimeter.
Name of the rhombus perimeter.
PERIMETER_TRIANGLE: 'trianglePerimeter' }
Name of the triangle perimeter.
mxPanningHandler.prototype.pinchEnabled
Specifies if pinch gestures should be handled as zoom.
mxEdgeLabelLayout.prototype.placeLabels = function(v,
e)
Places the labels of the given edges.
mxHierarchicalLayout.prototype.placementStage = function(initialX,
parent)
Executes the placement stage using mxCoordinateAssignment.
mxSwimlaneLayout.prototype.placementStage = function(initialX,
parent)
Executes the placement stage using mxCoordinateAssignment.
mxVmlCanvas2D.prototype.plainText = function(x,
y,
w,
h,
str,
align,
valign,
wrap,
format,
overflow,
clip,
rotation,
dir)
Paints the outline of the current path.
mxConnectionConstraint.prototype.point
mxPoint that specifies the fixed location of the connection point.
mxAbstractCanvas2D.prototype.pointerEvents
Boolean value that specifies if events should be handled.
mxShape.prototype.pointerEvents
Specifies if pointer events should be handled.
mxSvgCanvas2D.prototype.pointerEventsValue
Default value for active pointer events.
mxConstraintHandler.prototype.pointImage
mxImage to be used as the image for fixed connection points.
mxGeometry.prototype.points
Array of mxPoints which specifies the control points along the edge.
mxShape.prototype.points
Holds the array of mxPoints that specify the points of this shape.
mxPopupMenu.prototype.popup = function(x,
y,
cell,
evt)
Shows the popup menu for the given event and cell.
popup: function(content,
isInternalWindow)
Shows the specified text content in a new mxWindow or a new browser window if isInternalWindow is false.
mxEditor.prototype.popupHandler
Holds a mxDefaultPopupMenu for displaying popupmenus.
mxGraph.prototype.portsEnabled
Specifies if ports are enabled.
mxHandle.prototype.positionChanged = function()
Called after setPosition has been called in processEvent.
post: function(url,
params,
onload,
onerror)
Posts the specified params to the given URL asynchronously and invokes the given functions depending on the request status.
Fires if a successful response was received in postDiagram.
Specifies the event name for post.
mxCellRenderer.prototype.postConfigureShape = function(state)
Replaces any reserved words used for attributes, eg.
mxEditor.prototype.postDiagram = function (url,
data)
Hook for subclassers to override the posting of a diagram represented by the given node to the given URL.
mxGraphModel.prototype.postfix
Defines the postfix of new Ids.
mxEditor.prototype.postParameterName
Specifies if the name of the post parameter that contains the diagram data in a post request to the server.
mxGraph.prototype.postProcessCellStyle = function(style)
Tries to resolve the value for the image style in the image bundles and turns short data URIs as defined in mxImageBundle to data URIs as defined in RFC 2397 of the IETF.
mxEdgeHandler.prototype.preferHtml
Specifies if bends should be added to the graph container.
mxGraph.prototype.preferPageSize
Specifies if the graph size should be rounded to the next page number in sizeDidChange.
mxCompactTreeLayout.prototype.prefHozEdgeSep
The preferred horizontal distance between edges exiting a vertex.
mxCoordinateAssignment.prototype.prefHozEdgeSep
The preferred horizontal distance between edges exiting a vertex
mxGraphModel.prototype.prefix
Defines the prefix of new Ids.
mxCompactTreeLayout.prototype.prefVertEdgeOff
The preferred vertical offset between edges exiting a vertex.
mxCoordinateAssignment.prototype.prefVertEdgeOff
The preferred vertical offset between edges exiting a vertex
mxImageShape.prototype.preserveImageAspect
Switch to preserve image aspect.
mxGraphHandler.prototype.previewColor
Specifies the color of the preview shape.
mxDragSource.prototype.previewElement
Optional mxRectangle that specifies the unscaled size of the preview.
mxPanningHandler.prototype.previewEnabled
Specifies if the panning should be previewed.
mxCoordinateAssignment.prototype.previousLayerConnectedCache
A store of connections to the layer below for speed
mxGraphAbstractHierarchyCell.prototype.previousLayerConnectedCells
A cached version of the cells this cell connects to on the next layer down
mxPrintPreview.prototype.print = function(css)
Opens the print preview and shows the print dialog.
mxPrintPreview.prototype.printBackgroundImage
Specifies if the background image should be printed.
mxPrintPreview.prototype.printControls
Specifies if controls (such as folding icons) should be printed.
mxPrintPreview.prototype.printOverlays
Specifies if overlays should be printed.
printScreen: function(graph)
Prints the specified graph using a new window and the built-in print dialog.
mxCellMarker.prototype.process = function(me)
Processes the given event and cell and marks the state returned by getState with the color returned by getMarkerColor.
mxGraph.prototype.processChange = function(change)
Processes the given change and invalidates the respective cached data in view.
mxHandle.prototype.processEvent = function(me)
Processes the given mxMouseEvent and invokes setPosition.
mxObjectCodec.prototype.processInclude = function(dec,
node,
into)
Returns true if the given node is an include directive and executes the include by decoding the XML document.
mxCoordinateAssignment.prototype.processReversedEdge = function(graph,
model)
Hook to add additional processing
prompt: function(message,
defaultValue)
Displays the given message in a prompt dialog.
mxEventObject.prototype.properties
Holds the properties as an associative array.
mxEditor.prototype.propertiesHeight
Specifies the height of the properties window in pixels.
mxEditor.prototype.propertiesResource
Specifies the resource key for the properties window title.
mxEditor.prototype.propertiesWidth
Specifies the width of the properties window in pixels.
ptLineDist: function(x1,
y1,
x2,
y2,
px,
py)
Returns the distance between a line defined by two points and a point.
ptSegDistSq: function(x1,
y1,
x2,
y2,
px,
py)
Returns the square distance between a segment and a point.
mxDictionary.prototype.put = function(key,
value)
Stores the value under the given key and returns the previous value for that key.
mxStylesheet.prototype.putCellStyle = function(name,
style)
Stores the given map of key, value pairs under the given name in styles.
mxStylesheet.prototype.putDefaultEdgeStyle = function(style)
Sets the default style for edges using defaultEdge as the stylename.
mxStylesheet.prototype.putDefaultVertexStyle = function(style)
Sets the default style for vertices using defaultVertex as the stylename.
mxImageBundle.prototype.putImage = function(key,
value,
fallback)
Adds the specified entry to the map.
mxCodec.prototype.putObject = function(id,
obj)
Assoiates the given object with the given ID and returns the given object.
putValue: function(name,
obj)
Puts the given object into the registry under the given name.
+
Defines the rectangle for the A4 portrait page format.
Defines the rectangle for the Letter portrait page format.
mxGraph.prototype.pageBreakColor
Specifies the color for page breaks.
mxGraph.prototype.pageBreakDashed
Specifies the page breaks should be dashed.
mxGraph.prototype.pageBreaksVisible
Specifies if a dashed line should be drawn between multiple pages.
mxPrintPreview.prototype.pageCount
Holds the actual number of pages in the preview.
mxGraph.prototype.pageFormat
Specifies the page format for the background page.
mxPrintPreview.prototype.pageFormat
Holds the mxRectangle that defines the page format.
mxGraph.prototype.pageScale
Specifies the scale of the background page.
mxPrintPreview.prototype.pageSelector
Boolean that specifies if the page selector should be displayed.
mxGraph.prototype.pageVisible
Specifies if the background page should be visible.
mxShape.prototype.paint = function(c)
Generic rendering code.
mxText.prototype.paint = function(c,
update)
Generic rendering code.
mxDoubleEllipse.prototype.paintBackground = function(c,
x,
y,
w,
h)
Paints the background.
mxRectangleShape.prototype.paintBackground = function(c,
x,
y,
w,
h)
Generic background painting implementation.
mxShape.prototype.paintBackground = function(c,
x,
y,
w,
h)
Hook for subclassers.
mxArrow.prototype.paintEdgeShape = function(c,
pts)
Paints the line shape.
mxArrowConnector.prototype.paintEdgeShape = function(c,
pts)
Paints the line shape.
mxConnector.prototype.paintEdgeShape = function(c,
pts)
Paints the line shape.
mxPolyline.prototype.paintEdgeShape = function(c,
pts)
Paints the line shape.
mxShape.prototype.paintEdgeShape = function(c,
pts)
Hook for subclassers.
mxDoubleEllipse.prototype.paintForeground = function(c,
x,
y,
w,
h)
Paints the foreground.
mxLabel.prototype.paintForeground = function(c,
x,
y,
w,
h)
Generic background painting implementation.
mxRectangleShape.prototype.paintForeground = function(c,
x,
y,
w,
h)
Generic background painting implementation.
mxShape.prototype.paintForeground = function(c,
x,
y,
w,
h)
Hook for subclassers.
mxShape.prototype.paintGlassEffect = function(c,
x,
y,
w,
h,
arc)
Paints the glass gradient effect.
mxLabel.prototype.paintImage = function(c,
x,
y,
w,
h)
Generic background painting implementation.
mxLabel.prototype.paintIndicator = function(c,
x,
y,
w,
h)
Generic background painting implementation.
mxPolyline.prototype.paintLine = function(c,
pts,
rounded)
Paints the line shape.
mxSwimlane.prototype.paintRoundedSwimlane = function(c,
x,
y,
w,
h,
start,
r,
fill,
swimlaneLine)
Paints the swimlane vertex shape.
mxSwimlane.prototype.paintSwimlane = function(c,
x,
y,
w,
h,
start,
fill,
swimlaneLine)
Paints the swimlane vertex shape.
mxActor.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Redirects to redrawPath for subclasses to work.
mxCylinder.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Redirects to redrawPath for subclasses to work.
mxEllipse.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Paints the ellipse shape.
mxImageShape.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Generic background painting implementation.
mxLine.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Redirects to redrawPath for subclasses to work.
mxRhombus.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Generic painting implementation.
mxShape.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Paints the vertex shape.
Paints the swimlane vertex shape.
Specifies the event name for pan.
Fires while handle is processing events.
Specifies the event name for panEnd.
Fires when the panning handler changes its active state to false.
Specifies the event name for panStart.
Fires when the panning handler changes its active state to true.
mxGraph.prototype.panDx
Current horizontal panning value.
mxGraph.prototype.panDy
Current vertical panning value.
mxGraph.prototype.panGraph = function(dx,
dy)
Shifts the graph display by the given amount.
mxPanningHandler.prototype.panGraph = function(dx,
dy)
Pans graph by the given amount.
mxPanningHandler.prototype.panningEnabled
Specifies if panning should be enabled.
para: function(parent,
text)
Appends a new paragraph with the given text to the specified parent and returns the paragraph.
mxCoordinateAssignment.prototype.parallelEdgeSpacing
The distance between each parallel edge on each ranks for long edges.
mxHierarchicalLayout.prototype.parallelEdgeSpacing
The distance between each parallel edge on each ranks for long edges
mxSwimlaneLayout.prototype.parallelEdgeSpacing
The distance between each parallel edge on each ranks for long edges
mxXmlRequest.prototype.params
Holds the form encoded data for the POST request.
mxCell.prototype.parent
Reference to the parent cell.
mxGraphHierarchyModel.prototype.parent
The parent cell whose children are being laid out
mxGraphLayout.prototype.parent
The parent cell of the layout, if any
mxSwimlaneModel.prototype.parent
The parent cell whose children are being laid out
mxHierarchicalLayout.prototype.parentBorder
The border to be added around the children if the parent is to be resized using resizeParent.
mxSwimlaneLayout.prototype.parentBorder
The border to be added around the children if the parent is to be resized using resizeParent.
mxGraphModel.prototype.parentForCellChanged = function(cell,
parent,
index)
Inner callback to update the parent of a cell using mxCell.insert on the parent and return the previous parent.
mxEdgeHandler.prototype.parentHighlightEnabled
Specifies if the parent should be highlighted if a child cell is selected.
mxVertexHandler.prototype.parentHighlightEnabled
Specifies if the parent should be highlighted if a child cell is selected.
mxCompactTreeLayout.prototype.parentsChanged
A set of the parents that need updating based on children process as part of the layout.
parse: function(text)
Parses the key, value pairs in the specified text and stores them as local resources.
mxStencil.prototype.parseConstraint = function(node)
Parses the given XML node and returns its mxConnectionConstraint.
mxStencil.prototype.parseConstraints = function()
Reads the constraints from desc into constraints using parseConstraint.
mxStencil.prototype.parseDescription = function()
Reads w0, h0, aspect, bgNodes and fgNodes from desc.
parseXml: function()
Parses the specified XML string into a new XML document and returns the new document.
mxXmlRequest.prototype.password
Specifies the password to be used for authentication.
paste: function(graph)
Pastes the cells into the specified graph restoring the relation to parents, if possible.
mxAbstractCanvas2D.prototype.path
Holds the current path as an array.
Holds the current DOM node.
Holds the current DOM node.
Defines the separator between the path components.
mxConnectionConstraint.prototype.perimeter
Boolean that specifies if the point should be projected onto the perimeter of the terminal.
Name of the ellipse perimeter.
Name of the hexagon perimeter.
Name of the rectangle perimeter.
Name of the rhombus perimeter.
PERIMETER_TRIANGLE: 'trianglePerimeter' }
Name of the triangle perimeter.
mxPanningHandler.prototype.pinchEnabled
Specifies if pinch gestures should be handled as zoom.
mxEdgeLabelLayout.prototype.placeLabels = function(v,
e)
Places the labels of the given edges.
mxHierarchicalLayout.prototype.placementStage = function(initialX,
parent)
Executes the placement stage using mxCoordinateAssignment.
mxSwimlaneLayout.prototype.placementStage = function(initialX,
parent)
Executes the placement stage using mxCoordinateAssignment.
mxVmlCanvas2D.prototype.plainText = function(x,
y,
w,
h,
str,
align,
valign,
wrap,
format,
overflow,
clip,
rotation,
dir)
Paints the outline of the current path.
mxConnectionConstraint.prototype.point
mxPoint that specifies the fixed location of the connection point.
mxAbstractCanvas2D.prototype.pointerEvents
Boolean value that specifies if events should be handled.
mxShape.prototype.pointerEvents
Specifies if pointer events should be handled.
mxSvgCanvas2D.prototype.pointerEventsValue
Default value for active pointer events.
mxConstraintHandler.prototype.pointImage
mxImage to be used as the image for fixed connection points.
mxGeometry.prototype.points
Array of mxPoints which specifies the control points along the edge.
mxShape.prototype.points
Holds the array of mxPoints that specify the points of this shape.
mxPopupMenu.prototype.popup = function(x,
y,
cell,
evt)
Shows the popup menu for the given event and cell.
popup: function(content,
isInternalWindow)
Shows the specified text content in a new mxWindow or a new browser window if isInternalWindow is false.
mxEditor.prototype.popupHandler
Holds a mxDefaultPopupMenu for displaying popupmenus.
mxGraph.prototype.portsEnabled
Specifies if ports are enabled.
mxHandle.prototype.positionChanged = function()
Called after setPosition has been called in processEvent.
post: function(url,
params,
onload,
onerror)
Posts the specified params to the given URL asynchronously and invokes the given functions depending on the request status.
Fires if a successful response was received in postDiagram.
Specifies the event name for post.
mxCellRenderer.prototype.postConfigureShape = function(state)
Replaces any reserved words used for attributes, eg.
mxEditor.prototype.postDiagram = function (url,
data)
Hook for subclassers to override the posting of a diagram represented by the given node to the given URL.
mxGraphModel.prototype.postfix
Defines the postfix of new Ids.
mxEditor.prototype.postParameterName
Specifies if the name of the post parameter that contains the diagram data in a post request to the server.
mxGraph.prototype.postProcessCellStyle = function(style)
Tries to resolve the value for the image style in the image bundles and turns short data URIs as defined in mxImageBundle to data URIs as defined in RFC 2397 of the IETF.
mxEdgeHandler.prototype.preferHtml
Specifies if bends should be added to the graph container.
mxGraph.prototype.preferPageSize
Specifies if the graph size should be rounded to the next page number in sizeDidChange.
mxCompactTreeLayout.prototype.prefHozEdgeSep
The preferred horizontal distance between edges exiting a vertex.
mxCoordinateAssignment.prototype.prefHozEdgeSep
The preferred horizontal distance between edges exiting a vertex
mxGraphModel.prototype.prefix
Defines the prefix of new Ids.
mxCompactTreeLayout.prototype.prefVertEdgeOff
The preferred vertical offset between edges exiting a vertex.
mxCoordinateAssignment.prototype.prefVertEdgeOff
The preferred vertical offset between edges exiting a vertex
mxImageShape.prototype.preserveImageAspect
Switch to preserve image aspect.
mxGraphHandler.prototype.previewColor
Specifies the color of the preview shape.
mxDragSource.prototype.previewElement
Optional mxRectangle that specifies the unscaled size of the preview.
mxPanningHandler.prototype.previewEnabled
Specifies if the panning should be previewed.
mxCoordinateAssignment.prototype.previousLayerConnectedCache
A store of connections to the layer below for speed
mxGraphAbstractHierarchyCell.prototype.previousLayerConnectedCells
A cached version of the cells this cell connects to on the next layer down
mxPrintPreview.prototype.print = function(css)
Opens the print preview and shows the print dialog.
mxPrintPreview.prototype.printBackgroundImage
Specifies if the background image should be printed.
mxPrintPreview.prototype.printControls
Specifies if controls (such as folding icons) should be printed.
mxPrintPreview.prototype.printOverlays
Specifies if overlays should be printed.
printScreen: function(graph)
Prints the specified graph using a new window and the built-in print dialog.
mxCellMarker.prototype.process = function(me)
Processes the given event and cell and marks the state returned by getState with the color returned by getMarkerColor.
mxGraph.prototype.processChange = function(change)
Processes the given change and invalidates the respective cached data in view.
mxHandle.prototype.processEvent = function(me)
Processes the given mxMouseEvent and invokes setPosition.
mxObjectCodec.prototype.processInclude = function(dec,
node,
into)
Returns true if the given node is an include directive and executes the include by decoding the XML document.
mxCoordinateAssignment.prototype.processReversedEdge = function(graph,
model)
Hook to add additional processing
prompt: function(message,
defaultValue)
Displays the given message in a prompt dialog.
mxEventObject.prototype.properties
Holds the properties as an associative array.
mxEditor.prototype.propertiesHeight
Specifies the height of the properties window in pixels.
mxEditor.prototype.propertiesResource
Specifies the resource key for the properties window title.
mxEditor.prototype.propertiesWidth
Specifies the width of the properties window in pixels.
ptLineDist: function(x1,
y1,
x2,
y2,
px,
py)
Returns the distance between a line defined by two points and a point.
ptSegDistSq: function(x1,
y1,
x2,
y2,
px,
py)
Returns the square distance between a segment and a point.
mxDictionary.prototype.put = function(key,
value)
Stores the value under the given key and returns the previous value for that key.
mxStylesheet.prototype.putCellStyle = function(name,
style)
Stores the given map of key, value pairs under the given name in styles.
mxStylesheet.prototype.putDefaultEdgeStyle = function(style)
Sets the default style for edges using defaultEdge as the stylename.
mxStylesheet.prototype.putDefaultVertexStyle = function(style)
Sets the default style for vertices using defaultVertex as the stylename.
mxImageBundle.prototype.putImage = function(key,
value,
fallback)
Adds the specified entry to the map.
mxCodec.prototype.putObject = function(id,
obj)
Assoiates the given object with the given ID and returns the given object.
putValue: function(name,
obj)
Puts the given object into the registry under the given name.
diff --git a/docs/js-api/index/General14.html b/docs/js-api/index/General14.html index b3ad0aecc..593cc00af 100644 --- a/docs/js-api/index/General14.html +++ b/docs/js-api/index/General14.html @@ -11,9 +11,9 @@ if (browserType) {document.write("
");if (browserV -
Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
Q
 quadOp, mxAbstractCanvas2D
 quadTo
+
Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
Q
 quadOp, mxAbstractCanvas2D
 quadTo
-
mxAbstractCanvas2D.prototype.quadOp
Contains the string used for quadratic paths.
mxAbstractCanvas2D.prototype.quadTo = function(x1,
y1,
x2,
y2)
Adds a quadratic curve to the current path.
mxVmlCanvas2D.prototype.quadTo = function(x1,
y1,
x2,
y2)
Replaces quadratic curve with bezier curve in VML.
mxXmlCanvas2D.prototype.quadTo = function(x1,
y1,
x2,
y2)
Adds a quadratic curve to the current path.
+
mxAbstractCanvas2D.prototype.quadOp
Contains the string used for quadratic paths.
mxAbstractCanvas2D.prototype.quadTo = function(x1,
y1,
x2,
y2)
Adds a quadratic curve to the current path.
mxVmlCanvas2D.prototype.quadTo = function(x1,
y1,
x2,
y2)
Replaces quadratic curve with bezier curve in VML.
mxXmlCanvas2D.prototype.quadTo = function(x1,
y1,
x2,
y2)
Adds a quadratic curve to the current path.
diff --git a/docs/js-api/index/General15.html b/docs/js-api/index/General15.html index fb90b993d..17b387f6f 100644 --- a/docs/js-api/index/General15.html +++ b/docs/js-api/index/General15.html @@ -11,9 +11,9 @@ if (browserType) {document.write("
");if (browserV -
Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
R
 radius
 radiusSquared, mxFastOrganicLayout
 rankBottomY, mxCoordinateAssignment
 rankCoordinates, mxCoordinateAssignment
 rankIndex, WeightedCellSorter
 rankMedianPosition, mxCoordinateAssignment
 ranks
 ranksPerGroup, mxSwimlaneModel
 rankTopY, mxCoordinateAssignment
 rankWidths, mxCoordinateAssignment
 rankY, mxCoordinateAssignment
 readGraphModel, mxEditor
 RECEIVE, mxEvent
 reconfigure, mxShape
 rect
 RECTANGLE_ROUNDING_FACTOR, mxConstants
 rectangleIntersectsSegment, mxUtils
 RectanglePerimeter, mxPerimeter
 recursiveResize, mxGraph
 redirectMouseEvents, mxEvent
 redo
 REDO
 redone, mxUndoableEdit
 redraw
 redrawBackgroundImage, mxGraphView
 redrawCellOverlays, mxCellRenderer
 redrawControl, mxCellRenderer
 redrawHandles
 redrawHtml, mxShape
 redrawHtmlShape
 redrawIcons, mxConnectionHandler
 redrawInnerBends
 redrawLabel, mxCellRenderer
 redrawLabelShape, mxCellRenderer
 redrawPath
 redrawShape
 reduceTemperature, mxFastOrganicLayout
 refCount, mxSvgCanvas2D
 reference, mxCodec
 refresh
 REFRESH
 refreshHandler, mxSelectionCellsHandler
 refreshTasks, mxEditor
 register, mxCodecRegistry
 registerShape, mxCellRenderer
 relative, mxGeometry
 relativeCcw, mxUtils
 release, mxEvent
 releaseSvgGradients, mxShape
 remove
 REMOVE
 REMOVE_CELLS
 REMOVE_CELLS_FROM_PARENT
 REMOVE_OVERLAY
 removeAllListeners, mxEvent
 removeAllStylenames, mxUtils
 removeCell, mxGraphSelectionModel
 removeCellOverlay, mxGraph
 removeCellOverlays, mxGraph
 removeCells
 removeCellsAfterUngroup, mxGraph
 removeCellsFromParent
 removeCursors, mxUtils
 removeDragElement, mxDragSource
 removeDuplicates, mxUtils
 removeEdge, mxCell
 removeEnabled, mxEdgeHandler
 removeFromParent, mxCell
 removeFromTerminal, mxCell
 removeGestureListeners, mxEvent
 removeHint
 removeImageBundle, mxGraph
 removeListener
 removeListeners, mxDragSource
 removeMouseListener, mxGraph
 removePoint, mxEdgeHandler
 removeSelectionCell, mxGraph
 removeSelectionCells, mxGraph
 removeState, mxGraphView
 removeStateForCell, mxGraph
 removeStylename, mxUtils
 removeWhitespace, mxUtils
 renderHint, mxGraph
 rendering, mxGraphView
 RENDERING_HINT_EXACT, mxConstants
 RENDERING_HINT_FASTER, mxConstants
 RENDERING_HINT_FASTEST, mxConstants
 renderPage, mxPrintPreview
 repaint
 replaceLinefeeds, mxText
 replacePlaceholders, mxResources
 replaceTrailingNewlines, mxUtils
 repositionValid, mxCoordinateAssignment
 request, mxXmlRequest
 reset
 RESET
 resetEdge, mxGraph
 resetEdges
 resetEdgesOnConnect, mxGraph
 resetEdgesOnMove, mxGraph
 resetEdgesOnResize, mxGraph
 resetFirstTime, mxEditor
 resetHandler
 resetHistory, mxEditor
 resetMode, mxToolbar
 resetTimer, mxTooltipHandler
 resetValidationState, mxGraphView
 resetViewOnRootChange, mxGraph
 resize
 RESIZE
 RESIZE_CELLS
 RESIZE_END
 RESIZE_START
 resizeCell
 resizeCells, mxGraph
 resizeChildCells, mxGraph
 resizeContainer, mxGraph
 resizeEnabled, mxSwimlaneManager
 resizeHeight, mxDivResizer
 resizeLast, mxStackLayout
 resizeParent
 resizeParentMax, mxStackLayout
 resizeSwimlane, mxSwimlaneManager
 resizeVertices, mxPartitionLayout
 resizeWidth, mxDivResizer
 resolve, mxCellPath
 resolveColor, mxCellRenderer
 resources, mxResources
 resourcesEncoded, mxResources
 restore
 restoreClone, mxGraphModel
 RESUME, mxEvent
 revalidate, mxGraphView
 revalidateState, mxCellStatePreview
 reverse, mxObjectCodec
 reversePortConstraints, mxUtils
 RhombusPerimeter, mxPerimeter
 root
 ROOT
 rootChanged, mxGraphModel
 roots
 rootx, mxRadialTreeLayout
 rooty, mxRadialTreeLayout
 rotate
 rotate90, mxRectangle
 rotateCell, mxVertexHandler
 rotateClick, mxVertexHandler
 rotatedHtmlBackground, mxVmlCanvas2D
 rotateHtml, mxAbstractCanvas2D
 rotateLabelBounds, mxCellRenderer
 rotatePoint
 rotateVertex, mxVertexHandler
 ROTATION_HANDLE, mxEvent
 rotationCursor, mxVertexHandler
 rotationEnabled
 rotationHandleVSpacing, mxVertexHandler
 rotationRaster, mxVertexHandler
 roundAngle, mxVertexHandler
 roundLength
 roundrect
 route, mxParallelEdgeLayout
 row, mxRadialTreeLayout
 rowMaxCenX, mxRadialTreeLayout
 rowMaxX, mxRadialTreeLayout
 rowMinCenX, mxRadialTreeLayout
 rowMinX, mxRadialTreeLayout
 rowRadi, mxRadialTreeLayout
 rtrim, mxUtils
 run
+
Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
R
 radius
 radiusSquared, mxFastOrganicLayout
 rankBottomY, mxCoordinateAssignment
 rankCoordinates, mxCoordinateAssignment
 rankIndex, WeightedCellSorter
 rankMedianPosition, mxCoordinateAssignment
 ranks
 ranksPerGroup, mxSwimlaneModel
 rankTopY, mxCoordinateAssignment
 rankWidths, mxCoordinateAssignment
 rankY, mxCoordinateAssignment
 readGraphModel, mxEditor
 RECEIVE, mxEvent
 reconfigure, mxShape
 rect
 RECTANGLE_ROUNDING_FACTOR, mxConstants
 rectangleIntersectsSegment, mxUtils
 RectanglePerimeter, mxPerimeter
 recursiveResize, mxGraph
 redirectMouseEvents, mxEvent
 redo
 REDO
 redone, mxUndoableEdit
 redraw
 redrawBackgroundImage, mxGraphView
 redrawCellOverlays, mxCellRenderer
 redrawControl, mxCellRenderer
 redrawHandles
 redrawHtml, mxShape
 redrawHtmlShape
 redrawIcons, mxConnectionHandler
 redrawInnerBends
 redrawLabel, mxCellRenderer
 redrawLabelShape, mxCellRenderer
 redrawPath
 redrawShape
 reduceTemperature, mxFastOrganicLayout
 refCount, mxSvgCanvas2D
 reference, mxCodec
 refresh
 REFRESH
 refreshHandler, mxSelectionCellsHandler
 refreshTasks, mxEditor
 register, mxCodecRegistry
 registerShape, mxCellRenderer
 relative, mxGeometry
 relativeCcw, mxUtils
 release, mxEvent
 releaseSvgGradients, mxShape
 remove
 REMOVE
 REMOVE_CELLS
 REMOVE_CELLS_FROM_PARENT
 REMOVE_OVERLAY
 removeAllListeners, mxEvent
 removeAllStylenames, mxUtils
 removeCell, mxGraphSelectionModel
 removeCellOverlay, mxGraph
 removeCellOverlays, mxGraph
 removeCells
 removeCellsAfterUngroup, mxGraph
 removeCellsFromParent
 removeCursors, mxUtils
 removeDragElement, mxDragSource
 removeDuplicates, mxUtils
 removeEdge, mxCell
 removeEnabled, mxEdgeHandler
 removeFromParent, mxCell
 removeFromTerminal, mxCell
 removeGestureListeners, mxEvent
 removeHint
 removeImageBundle, mxGraph
 removeListener
 removeListeners, mxDragSource
 removeMouseListener, mxGraph
 removePoint, mxEdgeHandler
 removeSelectionCell, mxGraph
 removeSelectionCells, mxGraph
 removeState, mxGraphView
 removeStateForCell, mxGraph
 removeStylename, mxUtils
 removeWhitespace, mxUtils
 renderHint, mxGraph
 rendering, mxGraphView
 RENDERING_HINT_EXACT, mxConstants
 RENDERING_HINT_FASTER, mxConstants
 RENDERING_HINT_FASTEST, mxConstants
 renderPage, mxPrintPreview
 repaint
 replaceLinefeeds, mxText
 replacePlaceholders, mxResources
 replaceTrailingNewlines, mxUtils
 repositionValid, mxCoordinateAssignment
 request, mxXmlRequest
 reset
 RESET
 resetEdge, mxGraph
 resetEdges
 resetEdgesOnConnect, mxGraph
 resetEdgesOnMove, mxGraph
 resetEdgesOnResize, mxGraph
 resetFirstTime, mxEditor
 resetHandler
 resetHistory, mxEditor
 resetMode, mxToolbar
 resetStyles
 resetTimer, mxTooltipHandler
 resetValidationState, mxGraphView
 resetViewOnRootChange, mxGraph
 resize
 RESIZE
 RESIZE_CELLS
 RESIZE_END
 RESIZE_START
 resizeCell
 resizeCells, mxGraph
 resizeChildCells, mxGraph
 resizeContainer, mxGraph
 resizeEnabled, mxSwimlaneManager
 resizeHeight, mxDivResizer
 resizeLast, mxStackLayout
 resizeParent
 resizeParentMax, mxStackLayout
 resizeSwimlane, mxSwimlaneManager
 resizeVertices, mxPartitionLayout
 resizeWidth, mxDivResizer
 resolve, mxCellPath
 resolveColor, mxCellRenderer
 resources, mxResources
 resourcesEncoded, mxResources
 restore
 restoreClone, mxGraphModel
 RESUME, mxEvent
 revalidate, mxGraphView
 revalidateState, mxCellStatePreview
 reverse, mxObjectCodec
 reversePortConstraints, mxUtils
 RhombusPerimeter, mxPerimeter
 root
 ROOT
 rootChanged, mxGraphModel
 roots
 rootx, mxRadialTreeLayout
 rooty, mxRadialTreeLayout
 rotate
 rotate90, mxRectangle
 rotateCell, mxVertexHandler
 rotateClick, mxVertexHandler
 rotatedHtmlBackground, mxVmlCanvas2D
 rotateHtml, mxAbstractCanvas2D
 rotateLabelBounds, mxCellRenderer
 rotatePoint
 rotateVertex, mxVertexHandler
 ROTATION_HANDLE, mxEvent
 rotationCursor, mxVertexHandler
 rotationEnabled
 rotationHandleVSpacing, mxVertexHandler
 rotationRaster, mxVertexHandler
 roundAngle, mxVertexHandler
 roundLength
 roundrect
 route, mxParallelEdgeLayout
 row, mxRadialTreeLayout
 rowMaxCenX, mxRadialTreeLayout
 rowMaxX, mxRadialTreeLayout
 rowMinCenX, mxRadialTreeLayout
 rowMinX, mxRadialTreeLayout
 rowRadi, mxRadialTreeLayout
 rtrim, mxUtils
 run
-
mxCircleLayout.prototype.radius
Integer specifying the size of the radius.
mxFastOrganicLayout.prototype.radius
The approximate radius of each cell, nodes only.
mxFastOrganicLayout.prototype.radiusSquared
The approximate radius squared of each cell, nodes only.
mxCoordinateAssignment.prototype.rankBottomY
Internal cache of bottom-most value of Y for each rank
mxCoordinateAssignment.prototype.rankCoordinates = function(rankValue,
graph,
model)
Sets up the layout in an initial positioning.
WeightedCellSorter.prototype.rankIndex
The index this cell is in the model rank.
mxCoordinateAssignment.prototype.rankMedianPosition = function(rankValue,
model,
nextRankValue)
Performs median minimisation over one rank.
mxGraphHierarchyModel.prototype.ranks
Mapping from rank number to actual rank
mxSwimlaneModel.prototype.ranks
Mapping from rank number to actual rank
mxSwimlaneModel.prototype.ranksPerGroup
An array of the number of ranks within each swimlane
mxCoordinateAssignment.prototype.rankTopY
Internal cache of top-most values of Y for each rank
mxCoordinateAssignment.prototype.rankWidths
The width of all the ranks
mxCoordinateAssignment.prototype.rankY
The Y-coordinate of all the ranks
mxEditor.prototype.readGraphModel = function (node)
Reads the specified XML node into the existing graph model and resets the command history and modified state.
Specifies the event name for receive.
mxShape.prototype.reconfigure = function()
Reconfigures this shape.
mxSvgCanvas2D.prototype.rect = function(x,
y,
w,
h)
Private helper function to create SVG elements
mxVmlCanvas2D.prototype.rect = function(x,
y,
w,
h)
Sets the current path to a rectangle.
mxXmlCanvas2D.prototype.rect = function(x,
y,
w,
h)
Puts a rectangle into the drawing buffer.
Defines the rounding factor for rounded rectangles in percent between 0 and 1.
rectangleIntersectsSegment: function(bounds,
p1,
p2)
Returns true if the given rectangle intersects the given segment.
RectanglePerimeter: function (bounds,
vertex,
next,
orthogonal)
Describes a rectangular perimeter for the given bounds.
mxGraph.prototype.recursiveResize
Specifies the return value for isRecursiveResize.
redirectMouseEvents: function(node,
graph,
state,
down,
move,
up,
dblClick)
Redirects the mouse events from the given DOM node to the graph dispatch loop using the event and given state as event arguments.
mxEditor.prototype.redo = function ()
Redo the last change in graph.
mxUndoableEdit.prototype.redo = function()
Redoes all changes in this edit.
mxUndoManager.prototype.redo = function()
Redoes the last change.
Specifies the event name for redo.
Fires afer a significant edit was redone in redo.
mxUndoableEdit.prototype.redone
Specifies if this edit has been redone.
mxEdgeSegmentHandler.prototype.redraw = function()
Overridden to invoke refresh before the redraw.
mxCellRenderer.prototype.redraw = function(state,
force,
rendering)
Updates the bounds or points and scale of the shapes for the given cell state.
mxEdgeHandler.prototype.redraw = function()
Redraws the preview, and the bends- and label control points.
mxHandle.prototype.redraw = function()
Renders the shape for this handle.
mxImageShape.prototype.redrawHtmlShape = function()
Overrides mxShape.redraw to preserve the aspect ratio of images.
mxLabel.prototype.redraw = function()
Reconfigures this shape.
mxShape.prototype.redraw = function()
Creates and returns the SVG node(s) to represent this shape.
mxText.prototype.redraw = function()
Renders the text using the given DOM nodes.
mxVertexHandler.prototype.redraw = function()
Redraws the handles and the preview.
mxGraphView.prototype.redrawBackgroundImage = function(backgroundImage,
bg)
Updates the bounds and redraws the background image.
mxCellRenderer.prototype.redrawCellOverlays = function(state,
forced)
Redraws the overlays for the given cell state.
mxCellRenderer.prototype.redrawControl = function(state,
forced)
Redraws the control for the given cell state.
mxEdgeHandler.prototype.redrawHandles = function()
Redraws the handles.
mxVertexHandler.prototype.redrawHandles = function()
Redraws the handles.
mxShape.prototype.redrawHtmlShape = function()
Allow optimization by replacing VML with HTML.
mxLabel.prototype.redrawHtmlShape = function()
Generic background painting implementation.
mxText.prototype.redrawHtmlShape = function()
Updates the HTML node(s) to reflect the latest bounds and scale.
mxConnectionHandler.prototype.redrawIcons = function(icons,
state)
Redraws the given array of mxImageShapes.
mxEdgeSegmentHandler.prototype.redrawInnerBends = function(p0,
pe)
Updates the position of the custom bends.
mxEdgeHandler.prototype.redrawInnerBends = function(p0,
pe)
Updates and redraws the inner bends.
mxElbowEdgeHandler.prototype.redrawInnerBends = function(p0,
pe)
Updates and redraws the inner bends.
mxCellRenderer.prototype.redrawLabel = function(state,
forced)
Redraws the label for the given cell state.
mxCellRenderer.prototype.redrawLabelShape = function(shape)
Called to invoked redraw on the given text shape.
mxActor.prototype.redrawPath = function(c,
x,
y,
w,
h)
Draws the path for this shape.
mxCloud.prototype.redrawPath = function(c,
x,
y,
w,
h)
Draws the path for this shape.
mxCylinder.prototype.redrawPath = function(c,
x,
y,
w,
h,
isForeground)
Draws the path for this shape.
mxHexagon.prototype.redrawPath = function(c,
x,
y,
w,
h)
Draws the path for this shape.
mxTriangle.prototype.redrawPath = function(c,
x,
y,
w,
h)
Draws the path for this shape.
mxCellRenderer.prototype.redrawShape = function(state,
force,
rendering)
Redraws the shape for the given cell state.
mxShape.prototype.redrawShape = function()
Updates the SVG or VML shape.
mxFastOrganicLayout.prototype.reduceTemperature = function()
Reduces the temperature of the layout from an initial setting in a linear fashion to zero.
mxSvgCanvas2D.prototype.refCount
Local counter for references in SVG export.
mxCodec.prototype.reference = function(obj)
Hook for subclassers to implement a custom method for retrieving IDs from objects.
mxEdgeHandler.prototype.refresh = function()
Refreshes the bends of this handler.
mxGraph.prototype.refresh = function(cell)
Clears all cell states or the states for the hierarchy starting at the given cell and validates the graph.
mxGraphView.prototype.refresh = function()
Clears the view if currentRoot is not null and revalidates.
mxOutline.prototype.refresh = function()
Invokes update and revalidate the outline.
mxSelectionCellsHandler.prototype.refresh = function()
Reloads or updates all handlers.
Specifies the event name for refresh.
Fires after refresh was executed.
mxSelectionCellsHandler.prototype.refreshHandler
Keeps a reference to an event listener for later removal.
mxEditor.prototype.refreshTasks = function (div)
Updates the contents of the tasks window using createTasks.
register: function(codec)
Registers a new codec and associates the name of the template constructor in the codec with the codec object.
mxCellRenderer.registerShape = function(key,
shape)
Registers the given constructor under the specified key in this instance of the renderer.
mxGeometry.prototype.relative
Specifies if the coordinates in the geometry are to be interpreted as relative coordinates.
relativeCcw: function(x1,
y1,
x2,
y2,
px,
py)
Returns 1 if the given point on the right side of the segment, 0 if its on the segment, and -1 if the point is on the left side of the segment.
release: function(element)
Removes the known listeners from the given DOM node and its descendants.
mxShape.prototype.releaseSvgGradients = function(grads)
Paints the line shape.
mxCell.prototype.remove = function(index)
Removes the child at the specified index from the child array and returns the child that was removed.
mxDictionary.prototype.remove = function(key)
Removes the value for the given key and returns the value that has been removed.
mxGraphModel.prototype.remove = function(cell)
Removes the specified cell from the model using mxChildChange and adds the change to the current transaction.
remove: function(obj,
array)
Removes all occurrences of the given object in the given array or object.
Specifies the event name for remove.
Fires if a cell has been remove from the selection.
Specifies the event name for removeCells.
Fires between begin- and endUpdate in removeCells.
Specifies the event name for removeCellsFromParent.
Fires between begin- and endUpdate in removeCellsFromParent.
Specifies the event name for removeOverlay.
Fires after an overlay is removed in removeCellOverlay and removeCellOverlays.
removeAllListeners: function(element)
Removes all listeners from the given element.
removeAllStylenames: function(style)
Removes all stylenames from the given style and returns the updated style.
mxGraphSelectionModel.prototype.removeCell = function(cell)
Removes the specified mxCell from the selection and fires a select event for the remaining cells.
mxGraph.prototype.removeCellOverlay = function(cell,
overlay)
Removes and returns the given mxCellOverlay from the given cell.
mxGraph.prototype.removeCellOverlays = function(cell)
Removes all mxCellOverlays from the given cell.
removeCells: function(graph,
cells)
Hook to remove the given cells from the given graph after a cut operation.
mxGraph.prototype.removeCells = function(cells,
includeEdges)
Removes the given cells from the graph including all connected edges if includeEdges is true.
mxGraphSelectionModel.prototype.removeCells = function(cells)
mxGraph.prototype.removeCellsAfterUngroup = function(cells)
Hook to remove the groups after ungroupCells.
mxGraph.prototype.removeCellsFromParent = function(cells)
Removes the specified cells from their parents and adds them to the default parent.
mxGraphHandler.prototype.removeCellsFromParent
Specifies if cells may be moved out of their parents.
removeCursors: function(element)
Removes the cursors from the style of the given DOM node and its descendants.
mxDragSource.prototype.removeDragElement = function()
Removes and destroys the dragElement.
removeDuplicates: function(arr)
Removes all duplicates from the given array.
mxCell.prototype.removeEdge = function(edge,
isOutgoing)
Removes the specified edge from the edge array and returns the edge.
mxEdgeHandler.prototype.removeEnabled
Specifies if removing bends by shift-click is enabled.
mxCell.prototype.removeFromParent = function()
Removes the cell from its parent.
mxCell.prototype.removeFromTerminal = function(isSource)
Removes the edge from its source or target terminal.
removeGestureListeners: function(node,
startListener,
moveListener,
endListener)
Removes the given listeners from mousedown, mousemove, mouseup and the respective touch events if mxClient.IS_TOUCH is true.
mxEdgeHandler.prototype.removeHint = function()
Hooks for subclassers to hide details when the handler gets inactive.
mxGraphHandler.prototype.removeHint = function()
Hooks for subclassers to hide details when the handler gets inactive.
mxVertexHandler.prototype.removeHint = function()
Hooks for subclassers to hide details when the handler gets inactive.
mxGraph.prototype.removeImageBundle = function(bundle)
Removes the specified mxImageBundle.
removeListener: function()
Removes the specified listener from the given element.
mxEventSource.prototype.removeListener = function(funct)
Removes all occurrences of the given listener from eventListeners.
mxDragSource.prototype.removeListeners = function()
Actives the given graph as a drop target.
mxGraph.prototype.removeMouseListener = function(listener)
Removes the specified graph listener.
mxEdgeHandler.prototype.removePoint = function(state,
index)
Removes the control point at the given index from the given state.
mxGraph.prototype.removeSelectionCell = function(cell)
Removes the given cell from the selection.
mxGraph.prototype.removeSelectionCells = function(cells)
Removes the given cells from the selection.
mxGraphView.prototype.removeState = function(cell)
Removes and returns the mxCellState for the given cell.
mxGraph.prototype.removeStateForCell = function(cell)
Removes all cached information for the given cell and its descendants.
removeStylename: function(style,
stylename)
Removes all occurrences of the specified stylename in the given style and returns the updated style.
removeWhitespace: function(node,
before)
Removes the sibling text nodes for the given node that only consists of tabs, newlines and spaces.
mxGraph.prototype.renderHint
RenderHint as it was passed to the constructor.
mxGraphView.prototype.rendering
Specifies if shapes should be created, updated and destroyed using the methods of mxCellRenderer in graph.
Defines the exact rendering hint.
Defines the faster rendering hint.
Defines the fastest rendering hint.
mxPrintPreview.prototype.renderPage = function(w,
h,
dx,
dy,
content,
pageNumber)
Creates a DIV that prints a single page of the given graph using the given scale and returns the DIV that represents the page.
mxCellHighlight.prototype.repaint = function()
Updates the highlight after a change of the model or view.
mxRubberband.prototype.repaint = function()
Computes the bounding box and updates the style of the div.
mxText.prototype.replaceLinefeeds
Specifies if linefeeds in HTML labels should be replaced with BR tags.
replacePlaceholders: function(value,
params)
Replaces the given placeholders with the given parameters.
replaceTrailingNewlines: function(str,
pattern)
Replaces each trailing newline with the given pattern.
mxCoordinateAssignment.prototype.repositionValid = function(model,
cell,
rank,
position)
Determines whether or not a node may be moved to the specified x position on the specified rank
mxXmlRequest.prototype.request
Holds the inner, browser-specific request object.
mxAbstractCanvas2D.prototype.reset = function()
Resets the state of this canvas.
mxAutoSaveManager.prototype.reset = function()
Resets all counters.
mxCellMarker.prototype.reset = function()
Resets the state of the cell marker.
mxConnectionHandler.prototype.reset = function()
Resets the state of this handler.
mxConstraintHandler.prototype.reset = function()
Resets the state of this handler.
mxDragSource.prototype.reset = function()
Stops and removes everything and restores the state of the object.
mxEdgeHandler.prototype.reset = function()
Resets the state of this handler.
mxGraphHandler.prototype.reset = function()
Resets the state of this handler.
mxHandle.prototype.reset = function()
Resets the state of this handle by setting its visibility to true.
mxRubberband.prototype.reset = function()
Resets the state of the rubberband selection.
mxSelectionCellsHandler.prototype.reset = function()
Resets all handlers.
mxSvgCanvas2D.prototype.reset = function()
Returns any offsets for rendering pixels.
mxTooltipHandler.prototype.reset = function(me,
restart)
Resets and/or restarts the timer to trigger the display of the tooltip.
mxVertexHandler.prototype.reset = function()
Resets the state of this handler.
Fires when the reset method is invoked.
RESET: 'reset' }
Specifies the event name for reset.
mxGraph.prototype.resetEdge = function(edge)
Resets the control points of the given edge.
mxCircleLayout.prototype.resetEdges
Specifies if all edge points of traversed edges should be removed.
mxCompactTreeLayout.prototype.resetEdges
Specifies if all edge points of traversed edges should be removed.
mxFastOrganicLayout.prototype.resetEdges
Specifies if all edge points of traversed edges should be removed.
mxGraph.prototype.resetEdges = function(cells)
Resets the control points of the edges that are connected to the given cells if not both ends of the edge are in the given cells array.
mxGraph.prototype.resetEdgesOnConnect
Specifies if edge control points should be reset after the the edge has been reconnected.
mxGraph.prototype.resetEdgesOnMove
Specifies if edge control points should be reset after the move of a connected cell.
mxGraph.prototype.resetEdgesOnResize
Specifies if edge control points should be reset after the resize of a connected cell.
mxEditor.prototype.resetFirstTime = function ()
Resets the cookie that is used to remember if the editor has already been used.
mxCellHighlight.prototype.resetHandler
Holds the handler that automatically invokes reset if the highlight should be hidden.
mxDefaultToolbar.prototype.resetHandler
Reference to the function used to reset the toolbar.
mxEditor.prototype.resetHistory = function ()
Resets the command history, modified state and counters.
mxToolbar.prototype.resetMode = function(forced)
Selects the default mode and resets the state of the previously selected mode.
mxTooltipHandler.prototype.resetTimer = function()
Resets the timer.
mxGraphView.prototype.resetValidationState = function()
Resets the current validation state.
mxGraph.prototype.resetViewOnRootChange
Specifies if the scale and translate should be reset if the root changes in the model.
mxCellEditor.prototype.resize = function()
Returns modified.
mxDivResizer.prototype.resize = function()
Updates the style of the DIV after the window has been resized.
Specifies the event name for resize.
Fires while the window is being resized.
Specifies the event name for resizeCells.
Fires between begin- and endUpdate in resizeCells.
Specifies the event name for resizeEnd.
Fires after the window is resized.
Specifies the event name for resizeStart.
Fires before the window is resized.
mxGraph.prototype.resizeCell = function(cell,
bounds,
recurse)
Sets the bounds of the given cell using resizeCells.
mxVertexHandler.prototype.resizeCell = function(cell,
dx,
dy,
index,
gridEnabled,
constrained,
recurse)
Uses the given vector to change the bounds of the given cell in the graph using mxGraph.resizeCell.
mxGraph.prototype.resizeCells = function(cells,
bounds,
recurse)
Sets the bounds of the given cells and fires a mxEvent.RESIZE_CELLS event while the transaction is in progress.
mxGraph.prototype.resizeChildCells = function(cell,
newGeo)
Resizes the child cells of the given cell for the given new geometry with respect to the current geometry of the cell.
mxGraph.prototype.resizeContainer
Specifies if the container should be resized to the graph size when the graph size has changed.
mxSwimlaneManager.prototype.resizeEnabled
Specifies if resizing of swimlanes should be handled.
Boolean specifying if the height should be updated.
mxStackLayout.prototype.resizeLast
If the last element should be resized to fill out the parent.
mxCompactTreeLayout.prototype.resizeParent
If the parents should be resized to match the width/height of the children.
mxHierarchicalLayout.prototype.resizeParent
Specifies if the parent should be resized after the layout so that it contains all the child cells.
mxStackLayout.prototype.resizeParent
If the parent should be resized to match the width/height of the stack.
mxSwimlaneLayout.prototype.resizeParent
Specifies if the parent should be resized after the layout so that it contains all the child cells.
mxStackLayout.prototype.resizeParentMax
Use maximum of existing value and new value for resize of parent.
mxSwimlaneManager.prototype.resizeSwimlane = function(swimlane,
w,
h,
parentHorizontal)
Called from cellsResized for all swimlanes that are not ignored to update the size of the siblings and the size of the parent swimlanes, recursively, if bubbling is true.
mxPartitionLayout.prototype.resizeVertices
Boolean that specifies if vertices should be resized.
Boolean specifying if the width should be updated.
resolve: function(root,
path)
Returns the cell for the specified cell path using the given root as the root of the path.
mxCellRenderer.prototype.resolveColor = function(state,
field,
key)
Resolves special keywords ‘inherit’, ‘indicated’ and ‘swimlane’ and sets the respective color on the shape.
Associative array that maps from keys to values.
Specifies whether or not values in resource files are encoded with \u or percentage.
mxAbstractCanvas2D.prototype.restore = function()
Restores the current state.
mxXmlCanvas2D.prototype.restore = function()
Restores the drawing state.
mxGraphModel.prototype.restoreClone = function(clone,
cell,
mapping)
Inner helper method for restoring the connections in a network of cloned cells.
Specifies the event name for suspend.
mxGraphView.prototype.revalidate = function()
Revalidates the complete view with all cell states.
mxCellStatePreview.prototype.revalidateState = function(state,
dx,
dy,
visitor)
mxObjectCodec.prototype.reverse
Maps from from XML attribute names to fieldnames.
reversePortConstraints: function(constraint)
Reverse the port constraint bitmask.
RhombusPerimeter: function (bounds,
vertex,
next,
orthogonal)
Describes a rhombus (aka diamond) perimeter.
mxCompactTreeLayout.prototype.root
The cell to use as the root of the tree
mxGraphModel.prototype.root
Holds the root cell, which in turn contains the cells that represent the layers of the diagram as child cells.
this.root
Reference to the container for the SVG content.
this.root
Reference to the container for the SVG content.
this.root
Reference to the container for the SVG content.
Fires when the current root has changed, or when the title of the current root has changed.
Specifies the event name for root.
Fires if the root in the model has changed.
mxGraphModel.prototype.rootChanged = function(root)
Inner callback to change the root of the model and update the internal datastructures, such as cells and nextId.
mxGraphHierarchyModel.prototype.roots
Store of roots of this hierarchy model, these are real graph cells, not internal cells
mxHierarchicalLayout.prototype.roots
Holds the array of mxCell that this layout contains.
mxSwimlaneLayout.prototype.roots
Holds the array of mxCell that this layout contains.
mxSwimlaneModel.prototype.roots
Store of roots of this hierarchy model, these are real graph cells, not internal cells
mxRadialTreeLayout.prototype.rootx
The X co-ordinate of the root cell
mxRadialTreeLayout.prototype.rooty
The Y co-ordinate of the root cell
mxAbstractCanvas2D.prototype.rotate = function(theta,
flipH,
flipV,
cx,
cy)
Rotates the current state.
mxGeometry.prototype.rotate = function(angle,
cx)
Rotates the geometry by the given angle around the given center.
mxSvgCanvas2D.prototype.rotate = function(theta,
flipH,
flipV,
cx,
cy)
Sets the rotation of the canvas.
mxVmlCanvas2D.prototype.rotate = function(theta,
flipH,
flipV,
cx,
cy)
Sets the rotation of the canvas.
mxXmlCanvas2D.prototype.rotate = function(theta,
flipH,
flipV,
cx,
cy)
Rotates and/or flips the output around a given center.
mxRectangle.prototype.rotate90 = function()
Rotates this rectangle by 90 degree around its center point.
Rotates the given cell to the given rotation.
mxVertexHandler.prototype.rotateClick = function()
Hook for subclassers to implement a single click on the rotation handle.
mxVmlCanvas2D.prototype.rotatedHtmlBackground
Background color for rotated HTML.
mxAbstractCanvas2D.prototype.rotateHtml
Switch for rotation of HTML.
mxCellRenderer.prototype.rotateLabelBounds = function(state,
bounds)
Adds the shape rotation to the given label bounds and applies the alignment and offsets.
mxAbstractCanvas2D.prototype.rotatePoint = function(x,
y,
theta,
cx,
cy)
Rotates the given point and returns the result as an mxPoint.
mxHandle.prototype.rotatePoint = function(pt,
alpha)
Rotates the point by the given angle.
Rotates the vertex.
Index for the rotation handle in an mxMouseEvent.
mxVertexHandler.prototype.rotationCursor
Specifies the cursor for the rotation handle.
mxGraphHandler.prototype.rotationEnabled
Specifies if the bounding box should allow for rotation.
mxVertexHandler.prototype.rotationEnabled
Specifies if a rotation handle should be visible.
mxVertexHandler.prototype.rotationHandleVSpacing
Vertical spacing for rotation icon.
mxVertexHandler.prototype.rotationRaster
Specifies if rotation steps should be “rasterized” depening on the distance to the handle.
mxVertexHandler.prototype.roundAngle = function(angle)
Hook for rounding the angle.
mxEdgeHandler.prototype.roundLength = function(length)
Hook for rounding the unscaled width or height.
mxGraphHandler.prototype.roundLength = function(length)
Hook for rounding the unscaled vector.
mxVertexHandler.prototype.roundLength = function(length)
Hook for rounding the unscaled width or height.
mxSvgCanvas2D.prototype.roundrect = function(x,
y,
w,
h,
dx,
dy)
Private helper function to create SVG elements
mxVmlCanvas2D.prototype.roundrect = function(x,
y,
w,
h,
dx,
dy)
Sets the current path to a rounded rectangle.
mxXmlCanvas2D.prototype.roundrect = function(x,
y,
w,
h,
dx,
dy)
Puts a rounded rectangle into the drawing buffer.
mxParallelEdgeLayout.prototype.route = function(edge,
x,
y)
Routes the given edge via the given point.
mxRadialTreeLayout.prototype.row
Array of vertices on each row
mxRadialTreeLayout.prototype.rowMaxCenX
Array of x coordinate of rightmost vertex of each row
mxRadialTreeLayout.prototype.rowMaxX
Array of rightmost x coordinate of each row
mxRadialTreeLayout.prototype.rowMinCenX
Array of x coordinate of leftmost vertex of each row
mxRadialTreeLayout.prototype.rowMinX
Array of leftmost x coordinate of each row
mxRadialTreeLayout.prototype.rowRadi
Array of y deltas of each row behind root vertex, also the radius in the tree
rtrim: function(str,
chars)
Strips all whitespaces from the end of the string.
mxHierarchicalLayout.prototype.run = function(parent)
The API method used to exercise the layout upon the graph description and produce a separate description of the vertex position and edge routing changes made.
mxSwimlaneLayout.prototype.run = function(parent)
The API method used to exercise the layout upon the graph description and produce a separate description of the vertex position and edge routing changes made.
+
mxCircleLayout.prototype.radius
Integer specifying the size of the radius.
mxFastOrganicLayout.prototype.radius
The approximate radius of each cell, nodes only.
mxFastOrganicLayout.prototype.radiusSquared
The approximate radius squared of each cell, nodes only.
mxCoordinateAssignment.prototype.rankBottomY
Internal cache of bottom-most value of Y for each rank
mxCoordinateAssignment.prototype.rankCoordinates = function(rankValue,
graph,
model)
Sets up the layout in an initial positioning.
WeightedCellSorter.prototype.rankIndex
The index this cell is in the model rank.
mxCoordinateAssignment.prototype.rankMedianPosition = function(rankValue,
model,
nextRankValue)
Performs median minimisation over one rank.
mxGraphHierarchyModel.prototype.ranks
Mapping from rank number to actual rank
mxSwimlaneModel.prototype.ranks
Mapping from rank number to actual rank
mxSwimlaneModel.prototype.ranksPerGroup
An array of the number of ranks within each swimlane
mxCoordinateAssignment.prototype.rankTopY
Internal cache of top-most values of Y for each rank
mxCoordinateAssignment.prototype.rankWidths
The width of all the ranks
mxCoordinateAssignment.prototype.rankY
The Y-coordinate of all the ranks
mxEditor.prototype.readGraphModel = function (node)
Reads the specified XML node into the existing graph model and resets the command history and modified state.
Specifies the event name for receive.
mxShape.prototype.reconfigure = function()
Reconfigures this shape.
mxSvgCanvas2D.prototype.rect = function(x,
y,
w,
h)
Private helper function to create SVG elements
mxVmlCanvas2D.prototype.rect = function(x,
y,
w,
h)
Sets the current path to a rectangle.
mxXmlCanvas2D.prototype.rect = function(x,
y,
w,
h)
Puts a rectangle into the drawing buffer.
Defines the rounding factor for rounded rectangles in percent between 0 and 1.
rectangleIntersectsSegment: function(bounds,
p1,
p2)
Returns true if the given rectangle intersects the given segment.
RectanglePerimeter: function (bounds,
vertex,
next,
orthogonal)
Describes a rectangular perimeter for the given bounds.
mxGraph.prototype.recursiveResize
Specifies the return value for isRecursiveResize.
redirectMouseEvents: function(node,
graph,
state,
down,
move,
up,
dblClick)
Redirects the mouse events from the given DOM node to the graph dispatch loop using the event and given state as event arguments.
mxEditor.prototype.redo = function ()
Redo the last change in graph.
mxUndoableEdit.prototype.redo = function()
Redoes all changes in this edit.
mxUndoManager.prototype.redo = function()
Redoes the last change.
Specifies the event name for redo.
Fires afer a significant edit was redone in redo.
mxUndoableEdit.prototype.redone
Specifies if this edit has been redone.
mxEdgeSegmentHandler.prototype.redraw = function()
Overridden to invoke refresh before the redraw.
mxCellRenderer.prototype.redraw = function(state,
force,
rendering)
Updates the bounds or points and scale of the shapes for the given cell state.
mxEdgeHandler.prototype.redraw = function()
Redraws the preview, and the bends- and label control points.
mxHandle.prototype.redraw = function()
Renders the shape for this handle.
mxImageShape.prototype.redrawHtmlShape = function()
Overrides mxShape.redraw to preserve the aspect ratio of images.
mxLabel.prototype.redraw = function()
Reconfigures this shape.
mxShape.prototype.redraw = function()
Creates and returns the SVG node(s) to represent this shape.
mxText.prototype.redraw = function()
Renders the text using the given DOM nodes.
mxVertexHandler.prototype.redraw = function()
Redraws the handles and the preview.
mxGraphView.prototype.redrawBackgroundImage = function(backgroundImage,
bg)
Updates the bounds and redraws the background image.
mxCellRenderer.prototype.redrawCellOverlays = function(state,
forced)
Redraws the overlays for the given cell state.
mxCellRenderer.prototype.redrawControl = function(state,
forced)
Redraws the control for the given cell state.
mxEdgeHandler.prototype.redrawHandles = function()
Redraws the handles.
mxVertexHandler.prototype.redrawHandles = function()
Redraws the handles.
mxShape.prototype.redrawHtmlShape = function()
Allow optimization by replacing VML with HTML.
mxLabel.prototype.redrawHtmlShape = function()
Generic background painting implementation.
mxText.prototype.redrawHtmlShape = function()
Updates the HTML node(s) to reflect the latest bounds and scale.
mxConnectionHandler.prototype.redrawIcons = function(icons,
state)
Redraws the given array of mxImageShapes.
mxEdgeSegmentHandler.prototype.redrawInnerBends = function(p0,
pe)
Updates the position of the custom bends.
mxEdgeHandler.prototype.redrawInnerBends = function(p0,
pe)
Updates and redraws the inner bends.
mxElbowEdgeHandler.prototype.redrawInnerBends = function(p0,
pe)
Updates and redraws the inner bends.
mxCellRenderer.prototype.redrawLabel = function(state,
forced)
Redraws the label for the given cell state.
mxCellRenderer.prototype.redrawLabelShape = function(shape)
Called to invoked redraw on the given text shape.
mxActor.prototype.redrawPath = function(c,
x,
y,
w,
h)
Draws the path for this shape.
mxCloud.prototype.redrawPath = function(c,
x,
y,
w,
h)
Draws the path for this shape.
mxCylinder.prototype.redrawPath = function(c,
x,
y,
w,
h,
isForeground)
Draws the path for this shape.
mxHexagon.prototype.redrawPath = function(c,
x,
y,
w,
h)
Draws the path for this shape.
mxTriangle.prototype.redrawPath = function(c,
x,
y,
w,
h)
Draws the path for this shape.
mxCellRenderer.prototype.redrawShape = function(state,
force,
rendering)
Redraws the shape for the given cell state.
mxShape.prototype.redrawShape = function()
Updates the SVG or VML shape.
mxFastOrganicLayout.prototype.reduceTemperature = function()
Reduces the temperature of the layout from an initial setting in a linear fashion to zero.
mxSvgCanvas2D.prototype.refCount
Local counter for references in SVG export.
mxCodec.prototype.reference = function(obj)
Hook for subclassers to implement a custom method for retrieving IDs from objects.
mxEdgeHandler.prototype.refresh = function()
Refreshes the bends of this handler.
mxGraph.prototype.refresh = function(cell)
Clears all cell states or the states for the hierarchy starting at the given cell and validates the graph.
mxGraphView.prototype.refresh = function()
Clears the view if currentRoot is not null and revalidates.
mxOutline.prototype.refresh = function()
Invokes update and revalidate the outline.
mxSelectionCellsHandler.prototype.refresh = function()
Reloads or updates all handlers.
Specifies the event name for refresh.
Fires after refresh was executed.
mxSelectionCellsHandler.prototype.refreshHandler
Keeps a reference to an event listener for later removal.
mxEditor.prototype.refreshTasks = function (div)
Updates the contents of the tasks window using createTasks.
register: function(codec)
Registers a new codec and associates the name of the template constructor in the codec with the codec object.
mxCellRenderer.registerShape = function(key,
shape)
Registers the given constructor under the specified key in this instance of the renderer.
mxGeometry.prototype.relative
Specifies if the coordinates in the geometry are to be interpreted as relative coordinates.
relativeCcw: function(x1,
y1,
x2,
y2,
px,
py)
Returns 1 if the given point on the right side of the segment, 0 if its on the segment, and -1 if the point is on the left side of the segment.
release: function(element)
Removes the known listeners from the given DOM node and its descendants.
mxShape.prototype.releaseSvgGradients = function(grads)
Paints the line shape.
mxCell.prototype.remove = function(index)
Removes the child at the specified index from the child array and returns the child that was removed.
mxDictionary.prototype.remove = function(key)
Removes the value for the given key and returns the value that has been removed.
mxGraphModel.prototype.remove = function(cell)
Removes the specified cell from the model using mxChildChange and adds the change to the current transaction.
remove: function(obj,
array)
Removes all occurrences of the given object in the given array or object.
Specifies the event name for remove.
Fires if a cell has been remove from the selection.
Specifies the event name for removeCells.
Fires between begin- and endUpdate in removeCells.
Specifies the event name for removeCellsFromParent.
Fires between begin- and endUpdate in removeCellsFromParent.
Specifies the event name for removeOverlay.
Fires after an overlay is removed in removeCellOverlay and removeCellOverlays.
removeAllListeners: function(element)
Removes all listeners from the given element.
removeAllStylenames: function(style)
Removes all stylenames from the given style and returns the updated style.
mxGraphSelectionModel.prototype.removeCell = function(cell)
Removes the specified mxCell from the selection and fires a select event for the remaining cells.
mxGraph.prototype.removeCellOverlay = function(cell,
overlay)
Removes and returns the given mxCellOverlay from the given cell.
mxGraph.prototype.removeCellOverlays = function(cell)
Removes all mxCellOverlays from the given cell.
removeCells: function(graph,
cells)
Hook to remove the given cells from the given graph after a cut operation.
mxGraph.prototype.removeCells = function(cells,
includeEdges)
Removes the given cells from the graph including all connected edges if includeEdges is true.
mxGraphSelectionModel.prototype.removeCells = function(cells)
mxGraph.prototype.removeCellsAfterUngroup = function(cells)
Hook to remove the groups after ungroupCells.
mxGraph.prototype.removeCellsFromParent = function(cells)
Removes the specified cells from their parents and adds them to the default parent.
mxGraphHandler.prototype.removeCellsFromParent
Specifies if cells may be moved out of their parents.
removeCursors: function(element)
Removes the cursors from the style of the given DOM node and its descendants.
mxDragSource.prototype.removeDragElement = function()
Removes and destroys the dragElement.
removeDuplicates: function(arr)
Removes all duplicates from the given array.
mxCell.prototype.removeEdge = function(edge,
isOutgoing)
Removes the specified edge from the edge array and returns the edge.
mxEdgeHandler.prototype.removeEnabled
Specifies if removing bends by shift-click is enabled.
mxCell.prototype.removeFromParent = function()
Removes the cell from its parent.
mxCell.prototype.removeFromTerminal = function(isSource)
Removes the edge from its source or target terminal.
removeGestureListeners: function(node,
startListener,
moveListener,
endListener)
Removes the given listeners from mousedown, mousemove, mouseup and the respective touch events if mxClient.IS_TOUCH is true.
mxEdgeHandler.prototype.removeHint = function()
Hooks for subclassers to hide details when the handler gets inactive.
mxGraphHandler.prototype.removeHint = function()
Hooks for subclassers to hide details when the handler gets inactive.
mxVertexHandler.prototype.removeHint = function()
Hooks for subclassers to hide details when the handler gets inactive.
mxGraph.prototype.removeImageBundle = function(bundle)
Removes the specified mxImageBundle.
removeListener: function()
Removes the specified listener from the given element.
mxEventSource.prototype.removeListener = function(funct)
Removes all occurrences of the given listener from eventListeners.
mxDragSource.prototype.removeListeners = function()
Actives the given graph as a drop target.
mxGraph.prototype.removeMouseListener = function(listener)
Removes the specified graph listener.
mxEdgeHandler.prototype.removePoint = function(state,
index)
Removes the control point at the given index from the given state.
mxGraph.prototype.removeSelectionCell = function(cell)
Removes the given cell from the selection.
mxGraph.prototype.removeSelectionCells = function(cells)
Removes the given cells from the selection.
mxGraphView.prototype.removeState = function(cell)
Removes and returns the mxCellState for the given cell.
mxGraph.prototype.removeStateForCell = function(cell)
Removes all cached information for the given cell and its descendants.
removeStylename: function(style,
stylename)
Removes all occurrences of the specified stylename in the given style and returns the updated style.
removeWhitespace: function(node,
before)
Removes the sibling text nodes for the given node that only consists of tabs, newlines and spaces.
mxGraph.prototype.renderHint
RenderHint as it was passed to the constructor.
mxGraphView.prototype.rendering
Specifies if shapes should be created, updated and destroyed using the methods of mxCellRenderer in graph.
Defines the exact rendering hint.
Defines the faster rendering hint.
Defines the fastest rendering hint.
mxPrintPreview.prototype.renderPage = function(w,
h,
dx,
dy,
content,
pageNumber)
Creates a DIV that prints a single page of the given graph using the given scale and returns the DIV that represents the page.
mxCellHighlight.prototype.repaint = function()
Updates the highlight after a change of the model or view.
mxRubberband.prototype.repaint = function()
Computes the bounding box and updates the style of the div.
mxText.prototype.replaceLinefeeds
Specifies if linefeeds in HTML labels should be replaced with BR tags.
replacePlaceholders: function(value,
params)
Replaces the given placeholders with the given parameters.
replaceTrailingNewlines: function(str,
pattern)
Replaces each trailing newline with the given pattern.
mxCoordinateAssignment.prototype.repositionValid = function(model,
cell,
rank,
position)
Determines whether or not a node may be moved to the specified x position on the specified rank
mxXmlRequest.prototype.request
Holds the inner, browser-specific request object.
mxAbstractCanvas2D.prototype.reset = function()
Resets the state of this canvas.
mxAutoSaveManager.prototype.reset = function()
Resets all counters.
mxCellMarker.prototype.reset = function()
Resets the state of the cell marker.
mxConnectionHandler.prototype.reset = function()
Resets the state of this handler.
mxConstraintHandler.prototype.reset = function()
Resets the state of this handler.
mxDragSource.prototype.reset = function()
Stops and removes everything and restores the state of the object.
mxEdgeHandler.prototype.reset = function()
Resets the state of this handler.
mxGraphHandler.prototype.reset = function()
Resets the state of this handler.
mxHandle.prototype.reset = function()
Resets the state of this handle by setting its visibility to true.
mxRubberband.prototype.reset = function()
Resets the state of the rubberband selection.
mxSelectionCellsHandler.prototype.reset = function()
Resets all handlers.
mxSvgCanvas2D.prototype.reset = function()
Returns any offsets for rendering pixels.
mxTooltipHandler.prototype.reset = function(me,
restart)
Resets and/or restarts the timer to trigger the display of the tooltip.
mxVertexHandler.prototype.reset = function()
Resets the state of this handler.
Fires when the reset method is invoked.
RESET: 'reset' }
Specifies the event name for reset.
mxGraph.prototype.resetEdge = function(edge)
Resets the control points of the given edge.
mxCircleLayout.prototype.resetEdges
Specifies if all edge points of traversed edges should be removed.
mxCompactTreeLayout.prototype.resetEdges
Specifies if all edge points of traversed edges should be removed.
mxFastOrganicLayout.prototype.resetEdges
Specifies if all edge points of traversed edges should be removed.
mxGraph.prototype.resetEdges = function(cells)
Resets the control points of the edges that are connected to the given cells if not both ends of the edge are in the given cells array.
mxGraph.prototype.resetEdgesOnConnect
Specifies if edge control points should be reset after the the edge has been reconnected.
mxGraph.prototype.resetEdgesOnMove
Specifies if edge control points should be reset after the move of a connected cell.
mxGraph.prototype.resetEdgesOnResize
Specifies if edge control points should be reset after the resize of a connected cell.
mxEditor.prototype.resetFirstTime = function ()
Resets the cookie that is used to remember if the editor has already been used.
mxCellHighlight.prototype.resetHandler
Holds the handler that automatically invokes reset if the highlight should be hidden.
mxDefaultToolbar.prototype.resetHandler
Reference to the function used to reset the toolbar.
mxEditor.prototype.resetHistory = function ()
Resets the command history, modified state and counters.
mxToolbar.prototype.resetMode = function(forced)
Selects the default mode and resets the state of the previously selected mode.
mxArrowConnector.prototype.resetStyles
Overrides mxShape to reset spacing.
mxShape.prototype.resetStyles = function()
Resets all styles.
mxText.prototype.resetStyles = function()
Resets all styles.
mxTooltipHandler.prototype.resetTimer = function()
Resets the timer.
mxGraphView.prototype.resetValidationState = function()
Resets the current validation state.
mxGraph.prototype.resetViewOnRootChange
Specifies if the scale and translate should be reset if the root changes in the model.
mxCellEditor.prototype.resize = function()
Returns modified.
mxDivResizer.prototype.resize = function()
Updates the style of the DIV after the window has been resized.
Specifies the event name for resize.
Fires while the window is being resized.
Specifies the event name for resizeCells.
Fires between begin- and endUpdate in resizeCells.
Specifies the event name for resizeEnd.
Fires after the window is resized.
Specifies the event name for resizeStart.
Fires before the window is resized.
mxGraph.prototype.resizeCell = function(cell,
bounds,
recurse)
Sets the bounds of the given cell using resizeCells.
mxVertexHandler.prototype.resizeCell = function(cell,
dx,
dy,
index,
gridEnabled,
constrained,
recurse)
Uses the given vector to change the bounds of the given cell in the graph using mxGraph.resizeCell.
mxGraph.prototype.resizeCells = function(cells,
bounds,
recurse)
Sets the bounds of the given cells and fires a mxEvent.RESIZE_CELLS event while the transaction is in progress.
mxGraph.prototype.resizeChildCells = function(cell,
newGeo)
Resizes the child cells of the given cell for the given new geometry with respect to the current geometry of the cell.
mxGraph.prototype.resizeContainer
Specifies if the container should be resized to the graph size when the graph size has changed.
mxSwimlaneManager.prototype.resizeEnabled
Specifies if resizing of swimlanes should be handled.
Boolean specifying if the height should be updated.
mxStackLayout.prototype.resizeLast
If the last element should be resized to fill out the parent.
mxCompactTreeLayout.prototype.resizeParent
If the parents should be resized to match the width/height of the children.
mxHierarchicalLayout.prototype.resizeParent
Specifies if the parent should be resized after the layout so that it contains all the child cells.
mxStackLayout.prototype.resizeParent
If the parent should be resized to match the width/height of the stack.
mxSwimlaneLayout.prototype.resizeParent
Specifies if the parent should be resized after the layout so that it contains all the child cells.
mxStackLayout.prototype.resizeParentMax
Use maximum of existing value and new value for resize of parent.
mxSwimlaneManager.prototype.resizeSwimlane = function(swimlane,
w,
h,
parentHorizontal)
Called from cellsResized for all swimlanes that are not ignored to update the size of the siblings and the size of the parent swimlanes, recursively, if bubbling is true.
mxPartitionLayout.prototype.resizeVertices
Boolean that specifies if vertices should be resized.
Boolean specifying if the width should be updated.
resolve: function(root,
path)
Returns the cell for the specified cell path using the given root as the root of the path.
mxCellRenderer.prototype.resolveColor = function(state,
field,
key)
Resolves special keywords ‘inherit’, ‘indicated’ and ‘swimlane’ and sets the respective color on the shape.
Associative array that maps from keys to values.
Specifies whether or not values in resource files are encoded with \u or percentage.
mxAbstractCanvas2D.prototype.restore = function()
Restores the current state.
mxXmlCanvas2D.prototype.restore = function()
Restores the drawing state.
mxGraphModel.prototype.restoreClone = function(clone,
cell,
mapping)
Inner helper method for restoring the connections in a network of cloned cells.
Specifies the event name for suspend.
mxGraphView.prototype.revalidate = function()
Revalidates the complete view with all cell states.
mxCellStatePreview.prototype.revalidateState = function(state,
dx,
dy,
visitor)
mxObjectCodec.prototype.reverse
Maps from from XML attribute names to fieldnames.
reversePortConstraints: function(constraint)
Reverse the port constraint bitmask.
RhombusPerimeter: function (bounds,
vertex,
next,
orthogonal)
Describes a rhombus (aka diamond) perimeter.
mxCompactTreeLayout.prototype.root
The cell to use as the root of the tree
mxGraphModel.prototype.root
Holds the root cell, which in turn contains the cells that represent the layers of the diagram as child cells.
this.root
Reference to the container for the SVG content.
this.root
Reference to the container for the SVG content.
this.root
Reference to the container for the SVG content.
Fires when the current root has changed, or when the title of the current root has changed.
Specifies the event name for root.
Fires if the root in the model has changed.
mxGraphModel.prototype.rootChanged = function(root)
Inner callback to change the root of the model and update the internal datastructures, such as cells and nextId.
mxGraphHierarchyModel.prototype.roots
Store of roots of this hierarchy model, these are real graph cells, not internal cells
mxHierarchicalLayout.prototype.roots
Holds the array of mxCell that this layout contains.
mxSwimlaneLayout.prototype.roots
Holds the array of mxCell that this layout contains.
mxSwimlaneModel.prototype.roots
Store of roots of this hierarchy model, these are real graph cells, not internal cells
mxRadialTreeLayout.prototype.rootx
The X co-ordinate of the root cell
mxRadialTreeLayout.prototype.rooty
The Y co-ordinate of the root cell
mxAbstractCanvas2D.prototype.rotate = function(theta,
flipH,
flipV,
cx,
cy)
Rotates the current state.
mxGeometry.prototype.rotate = function(angle,
cx)
Rotates the geometry by the given angle around the given center.
mxSvgCanvas2D.prototype.rotate = function(theta,
flipH,
flipV,
cx,
cy)
Sets the rotation of the canvas.
mxVmlCanvas2D.prototype.rotate = function(theta,
flipH,
flipV,
cx,
cy)
Sets the rotation of the canvas.
mxXmlCanvas2D.prototype.rotate = function(theta,
flipH,
flipV,
cx,
cy)
Rotates and/or flips the output around a given center.
mxRectangle.prototype.rotate90 = function()
Rotates this rectangle by 90 degree around its center point.
Rotates the given cell to the given rotation.
mxVertexHandler.prototype.rotateClick = function()
Hook for subclassers to implement a single click on the rotation handle.
mxVmlCanvas2D.prototype.rotatedHtmlBackground
Background color for rotated HTML.
mxAbstractCanvas2D.prototype.rotateHtml
Switch for rotation of HTML.
mxCellRenderer.prototype.rotateLabelBounds = function(state,
bounds)
Adds the shape rotation to the given label bounds and applies the alignment and offsets.
mxAbstractCanvas2D.prototype.rotatePoint = function(x,
y,
theta,
cx,
cy)
Rotates the given point and returns the result as an mxPoint.
mxHandle.prototype.rotatePoint = function(pt,
alpha)
Rotates the point by the given angle.
Rotates the vertex.
Index for the rotation handle in an mxMouseEvent.
mxVertexHandler.prototype.rotationCursor
Specifies the cursor for the rotation handle.
mxGraphHandler.prototype.rotationEnabled
Specifies if the bounding box should allow for rotation.
mxVertexHandler.prototype.rotationEnabled
Specifies if a rotation handle should be visible.
mxVertexHandler.prototype.rotationHandleVSpacing
Vertical spacing for rotation icon.
mxVertexHandler.prototype.rotationRaster
Specifies if rotation steps should be “rasterized” depening on the distance to the handle.
mxVertexHandler.prototype.roundAngle = function(angle)
Hook for rounding the angle.
mxEdgeHandler.prototype.roundLength = function(length)
Hook for rounding the unscaled width or height.
mxGraphHandler.prototype.roundLength = function(length)
Hook for rounding the unscaled vector.
mxVertexHandler.prototype.roundLength = function(length)
Hook for rounding the unscaled width or height.
mxSvgCanvas2D.prototype.roundrect = function(x,
y,
w,
h,
dx,
dy)
Private helper function to create SVG elements
mxVmlCanvas2D.prototype.roundrect = function(x,
y,
w,
h,
dx,
dy)
Sets the current path to a rounded rectangle.
mxXmlCanvas2D.prototype.roundrect = function(x,
y,
w,
h,
dx,
dy)
Puts a rounded rectangle into the drawing buffer.
mxParallelEdgeLayout.prototype.route = function(edge,
x,
y)
Routes the given edge via the given point.
mxRadialTreeLayout.prototype.row
Array of vertices on each row
mxRadialTreeLayout.prototype.rowMaxCenX
Array of x coordinate of rightmost vertex of each row
mxRadialTreeLayout.prototype.rowMaxX
Array of rightmost x coordinate of each row
mxRadialTreeLayout.prototype.rowMinCenX
Array of x coordinate of leftmost vertex of each row
mxRadialTreeLayout.prototype.rowMinX
Array of leftmost x coordinate of each row
mxRadialTreeLayout.prototype.rowRadi
Array of y deltas of each row behind root vertex, also the radius in the tree
rtrim: function(str,
chars)
Strips all whitespaces from the end of the string.
mxHierarchicalLayout.prototype.run = function(parent)
The API method used to exercise the layout upon the graph description and produce a separate description of the vertex position and edge routing changes made.
mxSwimlaneLayout.prototype.run = function(parent)
The API method used to exercise the layout upon the graph description and produce a separate description of the vertex position and edge routing changes made.
diff --git a/docs/js-api/index/General16.html b/docs/js-api/index/General16.html index 114eec921..b3af2686f 100644 --- a/docs/js-api/index/General16.html +++ b/docs/js-api/index/General16.html @@ -11,9 +11,9 @@ if (browserType) {document.write("
");if (browserV -
Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
S
 save
 SAVE
 scale
 SCALE
 SCALE_AND_TRANSLATE
 scaleAndTranslate, mxGraphView
 scaleCell, mxGraph
 scaleGrid, mxGraphHandler
 screenX, mxPopupMenuHandler
 screenY, mxPopupMenuHandler
 scrollCellToVisible, mxGraph
 scrollOnMove, mxGraphHandler
 scrollPointToVisible, mxGraph
 scrollRectToVisible, mxGraph
 SegmentConnector, mxEdgeStyle
 segments, mxCellState
 select, mxConnectionHandler
 SELECT
 selectAll, mxGraph
 selectCell, mxGraph
 selectCellForEvent, mxGraph
 selectCells
 selectCellsForEvent, mxGraph
 selectChildCell, mxGraph
 selectDelayed, mxGraphHandler
 selectEnabled, mxGraphHandler
 Selection, mxGraph
 Selection state, mxGraph
 SELECTION_DASHED, mxConstants
 selectionModel, mxGraph
 selectMode, mxToolbar
 selectNextCell, mxGraph
 selectOnPopup, mxPopupMenuHandler
 selectParentCell, mxGraph
 selectPreviousCell, mxGraph
 selectRegion, mxGraph
 selectText, mxCellEditor
 selectVertices, mxGraph
 send, mxXmlRequest
 setAbsoluteTerminalPoint, mxCellState
 setAddEnabled, mxSwimlaneManager
 setAllowDanglingEdges, mxGraph
 setAllowEval, mxGraphView
 setAllowLoops, mxGraph
 setAlpha
 setAttribute
 setAutoSizeCells, mxGraph
 setBackgroundImage, mxGraph
 setBaseDomain, mxUrlConverter
 setBaseUrl, mxUrlConverter
 setBinary, mxXmlRequest
 setBorder, mxGraph
 setBubbling, mxLayoutManager
 setCell, mxGraphSelectionModel
 setCellHeights, mxCompactTreeLayout
 setCellLocations, mxCoordinateAssignment
 setCells
 setCellsBendable, mxGraph
 setCellsCloneable, mxGraph
 setCellsDeletable, mxGraph
 setCellsDisconnectable, mxGraph
 setCellsEditable, mxGraph
 setCellsMovable, mxGraph
 setCellsResizable, mxGraph
 setCellsSelectable, mxGraph
 setCellStyle, mxGraph
 setCellStyleFlags
 setCellStyles
 setCellWarning, mxGraph
 setCloneEnabled, mxGraphHandler
 setCloneInvalidEdges, mxGraph
 setClosable, mxWindow
 setCollapsed
 setConnectable
 setConnectableEdges, mxGraph
 setConnectionConstraint, mxGraph
 setConstrainChildren, mxGraph
 setConstrainChildrenOnResize, mxGraph
 setCreateIds, mxGraphModel
 setCreateTarget, mxConnectionHandler
 setCurrentRoot, mxGraphView
 setCurrentState, mxCellMarker
 setCursor
 setDashed
 setDashPattern
 setDefaultParent, mxGraph
 setDisconnectOnMove, mxGraph
 setDropEnabled, mxGraph
 setEdge, mxCell
 setEdgePoints, mxGraphLayout
 setEdgePosition, mxCoordinateAssignment
 setEdgeStyleEnabled, mxGraphLayout
 setEnabled
 setEnterStopsCellEditing, mxGraph
 setEscapeEnabled, mxGraph
 setEventsEnabled, mxEventSource
 setEventSource, mxEventSource
 setExtendParents, mxGraph
 setExtendParentsOnAdd, mxGraph
 setExtendParentsOnMove, mxGraph
 setFillColor
 setFocus, mxConstraintHandler
 setFontBackgroundColor, mxXmlCanvas2D
 setFontBorderColor, mxXmlCanvas2D
 setFontColor
 setFontFamily
 setFontSize
 setFontStyle
 setGeneralPurposeVariable
 setGeometry
 setGradient
 setGraph
 setGraphBounds, mxGraphView
 setGraphContainer, mxEditor
 setGridEnabled
 setGridSize, mxGraph
 setGuidesEnabled, mxDragSource
 setHideOnHover, mxTooltipHandler
 setHighlightColor
 setHorizontal, mxSwimlaneManager
 setHotspot, mxCellMarker
 setHotspotEnabled, mxCellMarker
 setHtmlLabels, mxGraph
 setId, mxCell
 setImage, mxWindow
 setInnerHtml, mxText
 setInvokesStopCellEditing, mxGraph
 setLineCap
 setLineJoin
 setLink
 setLocation, mxWindow
 setLocked, mxGraph
 setMaximizable, mxWindow
 setMinimizable, mxWindow
 setMiterLimit
 setMode, mxEditor
 setModified, mxEditor
 setMoveEnabled, mxGraphHandler
 setMultigraph, mxGraph
 setOpacity, mxUtils
 setOrthogonalEdge, mxGraphLayout
 setPanning, mxGraph
 setPanningEnabled, mxPanningHandler
 setParent, mxCell
 setPinchEnabled, mxPanningHandler
 setPortsEnabled, mxGraph
 setPosition, mxHandle
 setPrefixedStyle, mxUtils
 setPreviewColor, mxEdgeHandler
 setRect, mxRectangle
 setRecursiveResize, mxGraph
 setRemoveCellsFromParent, mxGraphHandler
 setRendering, mxGraphView
 setRequestHeaders, mxXmlRequest
 setResizable, mxWindow
 setResizeContainer, mxGraph
 setResizeEnabled, mxSwimlaneManager
 setRoot, mxGraphModel
 setScale, mxGraphView
 setScrollable, mxWindow
 setSelectEnabled, mxGraphHandler
 setSelectionCell, mxGraph
 setSelectionCells, mxGraph
 setSelectionModel, mxGraph
 setShadow
 setShadowAlpha
 setShadowColor
 setShadowOffset
 setSingleSelection, mxGraphSelectionModel
 setSize, mxWindow
 setSplitEnabled, mxGraph
 setState, mxCellState
 setStates
 setStatus, mxEditor
 setStatusContainer, mxEditor
 setStrokeColor
 setStrokeWidth
 setStyle
 setStyleFlag, mxUtils
 setStylesheet, mxGraph
 setSwimlaneNesting, mxGraph
 setSwimlaneSelectionEnabled, mxGraph
 setTerminal
 setTerminalPoint, mxGeometry
 setTerminals, mxGraphModel
 setTextContent, mxUtils
 setTitle, mxWindow
 setTitleContainer, mxEditor
 setTolerance, mxGraph
 setToolbarContainer, mxEditor
 setTooltips, mxGraph
 setTranslate, mxGraphView
 setTransparentBackgroundImage, mxShape
 setValue
 setVertex, mxCell
 setVertexLabelsMovable, mxGraph
 setVertexLocation
 setVisible
 setVisibleTerminalState, mxCellState
 setX, mxGraphAbstractHierarchyCell
 setY, mxGraphAbstractHierarchyCell
 setZoomEnabled, mxOutline
 SHADOW_OFFSET_X, mxConstants
 SHADOW_OFFSET_Y, mxConstants
 SHADOW_OPACITY, mxConstants
 SHADOWCOLOR, mxConstants
 shape
 SHAPE_ACTOR, mxConstants
 SHAPE_ARROW, mxConstants
 SHAPE_ARROW_CONNECTOR, mxConstants
 SHAPE_CLOUD, mxConstants
 SHAPE_CONNECTOR, mxConstants
 SHAPE_CYLINDER, mxConstants
 SHAPE_DOUBLE_ELLIPSE, mxConstants
 SHAPE_ELLIPSE, mxConstants
 SHAPE_HEXAGON, mxConstants
 SHAPE_IMAGE, mxConstants
 SHAPE_LABEL, mxConstants
 SHAPE_LINE, mxConstants
 SHAPE_RECTANGLE, mxConstants
 SHAPE_RHOMBUS, mxConstants
 SHAPE_SWIMLANE, mxConstants
 SHAPE_TRIANGLE, mxConstants
 shapePointerEvents, mxShape
 sharedDiv, mxRubberband
 shiftKeys, mxKeyHandler
 shouldRemoveCellsFromParent, mxGraphHandler
 show
 SHOW
 showHelp, mxEditor
 showMenu, mxPopupMenu
 showOutline, mxEditor
 showProperties, mxEditor
 showSubmenu, mxPopupMenu
 showTasks, mxEditor
 showViewport, mxOutline
 SideToSide, mxEdgeStyle
 significant, mxUndoableEdit
 simulate, mxXmlRequest
 singleSelection, mxGraphSelectionModel
 singleSizer, mxVertexHandler
 size, mxUndoManager
 SIZE
 sizeDidChange, mxGraph
 sizerImage, mxOutline
 smartSeparators, mxPopupMenu
 snap
 snapPoint, mxHandle
 snapToPreview, mxConnectionHandler
 snapToTerminals, mxEdgeHandler
 sortCells, mxUtils
 sortEdges
 sortOutgoingEdges, mxCompactTreeLayout
 source
 sourcePoint, mxGeometry
 SOURCESCANSTARTRANK
 sourceState, mxMouseEvent
 spacing
 SPLIT_EDGE
 splitEdge, mxGraph
 splitEnabled, mxGraph
 src, mxImage
 start
 START
 START_EDIT
 START_EDITING
 startAnimation, mxAnimation
 startDrag, mxDragSource
 startEditing
 startEditingAtCell, mxGraph
 startX, mxPanningHandler
 startY, mxPanningHandler
 state
 states
 stateValidated, mxGraphView
 status, mxEditor
 stencil, mxShape
 stencilPointerEvents, mxShape
 step, mxMorphing
 steps, mxMorphing
 STEPSIZE, mxClipboard
 stopAnimation, mxAnimation
 stopDrag, mxDragSource
 stopEditing
 stopRecursion, mxMorphing
 straightRemoveEnabled, mxEdgeHandler
 stroke
 strokeTolerance, mxSvgCanvas2D
 strokewidth, mxStencil
 style
 STYLE_ALIGN, mxConstants
 STYLE_ARCSIZE, mxConstants
 STYLE_ASPECT, mxConstants
 STYLE_AUTOSIZE, mxConstants
 STYLE_BENDABLE, mxConstants
 STYLE_CLONEABLE, mxConstants
 STYLE_CURVED, mxConstants
 STYLE_DASHED, mxConstants
 STYLE_DELETABLE, mxConstants
 STYLE_DIRECTION, mxConstants
 STYLE_EDGE, mxConstants
 STYLE_EDITABLE, mxConstants
 STYLE_ELBOW, mxConstants
 STYLE_ENDARROW, mxConstants
 STYLE_ENDFILL, mxConstants
 STYLE_ENDSIZE, mxConstants
 STYLE_ENTRY_PERIMETER, mxConstants
 STYLE_ENTRY_X, mxConstants
 STYLE_ENTRY_Y, mxConstants
 STYLE_EXIT_PERIMETER, mxConstants
 STYLE_EXIT_X, mxConstants
 STYLE_EXIT_Y, mxConstants
 STYLE_FILLCOLOR, mxConstants
 STYLE_FLIPH, mxConstants
 STYLE_FLIPV, mxConstants
 STYLE_FOLDABLE, mxConstants
 STYLE_FONTCOLOR, mxConstants
 STYLE_FONTFAMILY, mxConstants
 STYLE_FONTSIZE, mxConstants
 STYLE_FONTSTYLE, mxConstants
 STYLE_GLASS, mxConstants
 STYLE_GRADIENT_DIRECTION, mxConstants
 STYLE_GRADIENTCOLOR, mxConstants
 STYLE_HORIZONTAL, mxConstants
 STYLE_IMAGE, mxConstants
 STYLE_IMAGE_ALIGN, mxConstants
 STYLE_IMAGE_ASPECT, mxConstants
 STYLE_IMAGE_BACKGROUND, mxConstants
 STYLE_IMAGE_BORDER, mxConstants
 STYLE_IMAGE_HEIGHT, mxConstants
 STYLE_IMAGE_VERTICAL_ALIGN, mxConstants
 STYLE_IMAGE_WIDTH, mxConstants
 STYLE_INDICATOR_COLOR, mxConstants
 STYLE_INDICATOR_DIRECTION, mxConstants
 STYLE_INDICATOR_GRADIENTCOLOR, mxConstants
 STYLE_INDICATOR_HEIGHT, mxConstants
 STYLE_INDICATOR_IMAGE, mxConstants
 STYLE_INDICATOR_SHAPE, mxConstants
 STYLE_INDICATOR_SPACING, mxConstants
 STYLE_INDICATOR_STROKECOLOR, mxConstants
 STYLE_INDICATOR_WIDTH, mxConstants
 STYLE_JETTY_SIZE, mxConstants
 STYLE_LABEL_BACKGROUNDCOLOR, mxConstants
 STYLE_LABEL_BORDERCOLOR, mxConstants
 STYLE_LABEL_PADDING, mxConstants
 STYLE_LABEL_POSITION, mxConstants
 STYLE_LABEL_WIDTH, mxConstants
 STYLE_LOOP, mxConstants
 STYLE_MARGIN, mxConstants
 STYLE_MOVABLE, mxConstants
 STYLE_NOEDGESTYLE, mxConstants
 STYLE_NOLABEL, mxConstants
 STYLE_OPACITY, mxConstants
 STYLE_ORTHOGONAL, mxConstants
 STYLE_ORTHOGONAL_LOOP, mxConstants
 STYLE_OVERFLOW, mxConstants
 STYLE_PERIMETER, mxConstants
 STYLE_PERIMETER_SPACING, mxConstants
 STYLE_POINTER_EVENTS, mxConstants
 STYLE_PORT_CONSTRAINT, mxConstants
 STYLE_PORT_CONSTRAINT_ROTATION, mxConstants
 STYLE_RESIZABLE, mxConstants
 STYLE_RESIZE_WIDTH, mxConstants
 STYLE_ROTATABLE, mxConstants
 STYLE_ROTATION, mxConstants
 STYLE_ROUNDED, mxConstants
 STYLE_ROUTING_CENTER_X, mxConstants
 STYLE_ROUTING_CENTER_Y, mxConstants
 STYLE_SEGMENT, mxConstants
 STYLE_SEPARATORCOLOR, mxConstants
 STYLE_SHADOW, mxConstants
 STYLE_SHAPE, mxConstants
 STYLE_SMOOTH, mxConstants
 STYLE_SOURCE_JETTY_SIZE, mxConstants
 STYLE_SOURCE_PERIMETER_SPACING, mxConstants
 STYLE_SOURCE_PORT, mxConstants
 STYLE_SPACING, mxConstants
 STYLE_SPACING_BOTTOM, mxConstants
 STYLE_SPACING_LEFT, mxConstants
 STYLE_SPACING_RIGHT, mxConstants
 STYLE_SPACING_TOP, mxConstants
 STYLE_STARTARROW, mxConstants
 STYLE_STARTFILL, mxConstants
 STYLE_STARTSIZE, mxConstants
 STYLE_STROKECOLOR, mxConstants
 STYLE_STROKEWIDTH, mxConstants
 STYLE_SWIMLANE_FILLCOLOR, mxConstants
 STYLE_SWIMLANE_LINE, mxConstants
 STYLE_TARGET_PERIMETER_SPACING, mxConstants
 STYLE_TARGET_PORT, mxConstants
 STYLE_TEXT_DIRECTION, mxConstants
 STYLE_TEXT_OPACITY, mxConstants
 STYLE_VERTICAL_ALIGN, mxConstants
 STYLE_VERTICAL_LABEL_POSITION, mxConstants
 STYLE_WHITE_SPACE, mxConstants
 styleEnabled, mxSvgCanvas2D
 styleForCellChanged, mxGraphModel
 styles, mxStylesheet
 stylesheet, mxGraph
 submenuImage, mxPopupMenu
 submit, mxUtils
 SUSPEND, mxEvent
 suspended, mxOutline
 svgPointerEvents, mxShape
 svgStrokeTolerance
 swap, mxGeometry
 swapBounds, mxGraph
 swapStyles, mxEditor
 swimlaneAdded, mxSwimlaneManager
 swimlaneIndicatorColorAttribute, mxGraph
 swimlaneNesting, mxGraph
 swimlaneRequired, mxEditor
 swimlanes, mxSwimlaneLayout
 swimlaneSelectionEnabled, mxGraph
 swimlaneSpacing, mxEditor
+
Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
S
 save
 SAVE
 scale
 SCALE
 SCALE_AND_TRANSLATE
 scaleAndTranslate, mxGraphView
 scaleCell, mxGraph
 scaleGrid, mxGraphHandler
 screenX, mxPopupMenuHandler
 screenY, mxPopupMenuHandler
 scrollCellToVisible, mxGraph
 scrollOnMove, mxGraphHandler
 scrollPointToVisible, mxGraph
 scrollRectToVisible, mxGraph
 SegmentConnector, mxEdgeStyle
 segments, mxCellState
 select, mxConnectionHandler
 SELECT
 selectAll, mxGraph
 selectCell, mxGraph
 selectCellForEvent, mxGraph
 selectCells
 selectCellsForEvent, mxGraph
 selectChildCell, mxGraph
 selectDelayed, mxGraphHandler
 selectEnabled, mxGraphHandler
 Selection, mxGraph
 Selection state, mxGraph
 SELECTION_DASHED, mxConstants
 selectionModel, mxGraph
 selectMode, mxToolbar
 selectNextCell, mxGraph
 selectOnPopup, mxPopupMenuHandler
 selectParentCell, mxGraph
 selectPreviousCell, mxGraph
 selectRegion, mxGraph
 selectText, mxCellEditor
 selectVertices, mxGraph
 send, mxXmlRequest
 setAbsoluteTerminalPoint, mxCellState
 setAddEnabled, mxSwimlaneManager
 setAllowDanglingEdges, mxGraph
 setAllowEval, mxGraphView
 setAllowLoops, mxGraph
 setAlpha
 setAttribute
 setAutoSizeCells, mxGraph
 setBackgroundImage, mxGraph
 setBaseDomain, mxUrlConverter
 setBaseUrl, mxUrlConverter
 setBinary, mxXmlRequest
 setBorder, mxGraph
 setBubbling, mxLayoutManager
 setCell, mxGraphSelectionModel
 setCellHeights, mxCompactTreeLayout
 setCellLocations, mxCoordinateAssignment
 setCells
 setCellsBendable, mxGraph
 setCellsCloneable, mxGraph
 setCellsDeletable, mxGraph
 setCellsDisconnectable, mxGraph
 setCellsEditable, mxGraph
 setCellsMovable, mxGraph
 setCellsResizable, mxGraph
 setCellsSelectable, mxGraph
 setCellStyle, mxGraph
 setCellStyleFlags
 setCellStyles
 setCellWarning, mxGraph
 setCloneEnabled, mxGraphHandler
 setCloneInvalidEdges, mxGraph
 setClosable, mxWindow
 setCollapsed
 setConnectable
 setConnectableEdges, mxGraph
 setConnectionConstraint, mxGraph
 setConstrainChildren, mxGraph
 setConstrainChildrenOnResize, mxGraph
 setCreateIds, mxGraphModel
 setCreateTarget, mxConnectionHandler
 setCurrentRoot, mxGraphView
 setCurrentState, mxCellMarker
 setCursor
 setDashed
 setDashPattern
 setDefaultParent, mxGraph
 setDisconnectOnMove, mxGraph
 setDropEnabled, mxGraph
 setEdge, mxCell
 setEdgePoints, mxGraphLayout
 setEdgePosition, mxCoordinateAssignment
 setEdgeStyleEnabled, mxGraphLayout
 setEnabled
 setEnterStopsCellEditing, mxGraph
 setEscapeEnabled, mxGraph
 setEventsEnabled, mxEventSource
 setEventSource, mxEventSource
 setExtendParents, mxGraph
 setExtendParentsOnAdd, mxGraph
 setExtendParentsOnMove, mxGraph
 setFillAlpha
 setFillColor
 setFocus, mxConstraintHandler
 setFontBackgroundColor, mxXmlCanvas2D
 setFontBorderColor, mxXmlCanvas2D
 setFontColor
 setFontFamily
 setFontSize
 setFontStyle
 setGeneralPurposeVariable
 setGeometry
 setGradient
 setGraph
 setGraphBounds, mxGraphView
 setGraphContainer, mxEditor
 setGridEnabled
 setGridSize, mxGraph
 setGuidesEnabled, mxDragSource
 setHideOnHover, mxTooltipHandler
 setHighlightColor
 setHorizontal, mxSwimlaneManager
 setHotspot, mxCellMarker
 setHotspotEnabled, mxCellMarker
 setHtmlLabels, mxGraph
 setId, mxCell
 setImage, mxWindow
 setInnerHtml, mxText
 setInvokesStopCellEditing, mxGraph
 setLineCap
 setLineJoin
 setLink
 setLocation, mxWindow
 setLocked, mxGraph
 setMaximizable, mxWindow
 setMinimizable, mxWindow
 setMiterLimit
 setMode, mxEditor
 setModified, mxEditor
 setMoveEnabled, mxGraphHandler
 setMultigraph, mxGraph
 setOpacity, mxUtils
 setOrthogonalEdge, mxGraphLayout
 setPanning, mxGraph
 setPanningEnabled, mxPanningHandler
 setParent, mxCell
 setPinchEnabled, mxPanningHandler
 setPortsEnabled, mxGraph
 setPosition, mxHandle
 setPrefixedStyle, mxUtils
 setPreviewColor, mxEdgeHandler
 setRect, mxRectangle
 setRecursiveResize, mxGraph
 setRemoveCellsFromParent, mxGraphHandler
 setRendering, mxGraphView
 setRequestHeaders, mxXmlRequest
 setResizable, mxWindow
 setResizeContainer, mxGraph
 setResizeEnabled, mxSwimlaneManager
 setRoot, mxGraphModel
 setScale, mxGraphView
 setScrollable, mxWindow
 setSelectEnabled, mxGraphHandler
 setSelectionCell, mxGraph
 setSelectionCells, mxGraph
 setSelectionModel, mxGraph
 setShadow
 setShadowAlpha
 setShadowColor
 setShadowOffset
 setSingleSelection, mxGraphSelectionModel
 setSize, mxWindow
 setSplitEnabled, mxGraph
 setState, mxCellState
 setStates
 setStatus, mxEditor
 setStatusContainer, mxEditor
 setStrokeAlpha
 setStrokeColor
 setStrokeWidth
 setStyle
 setStyleFlag, mxUtils
 setStylesheet, mxGraph
 setSwimlaneNesting, mxGraph
 setSwimlaneSelectionEnabled, mxGraph
 setTerminal
 setTerminalPoint, mxGeometry
 setTerminals, mxGraphModel
 setTextContent, mxUtils
 setTitle, mxWindow
 setTitleContainer, mxEditor
 setTolerance, mxGraph
 setToolbarContainer, mxEditor
 setTooltips, mxGraph
 setTranslate, mxGraphView
 setTransparentBackgroundImage, mxShape
 setValue
 setVertex, mxCell
 setVertexLabelsMovable, mxGraph
 setVertexLocation
 setVisible
 setVisibleTerminalState, mxCellState
 setX, mxGraphAbstractHierarchyCell
 setY, mxGraphAbstractHierarchyCell
 setZoomEnabled, mxOutline
 SHADOW_OFFSET_X, mxConstants
 SHADOW_OFFSET_Y, mxConstants
 SHADOW_OPACITY, mxConstants
 SHADOWCOLOR, mxConstants
 shape
 SHAPE_ACTOR, mxConstants
 SHAPE_ARROW, mxConstants
 SHAPE_ARROW_CONNECTOR, mxConstants
 SHAPE_CLOUD, mxConstants
 SHAPE_CONNECTOR, mxConstants
 SHAPE_CYLINDER, mxConstants
 SHAPE_DOUBLE_ELLIPSE, mxConstants
 SHAPE_ELLIPSE, mxConstants
 SHAPE_HEXAGON, mxConstants
 SHAPE_IMAGE, mxConstants
 SHAPE_LABEL, mxConstants
 SHAPE_LINE, mxConstants
 SHAPE_RECTANGLE, mxConstants
 SHAPE_RHOMBUS, mxConstants
 SHAPE_SWIMLANE, mxConstants
 SHAPE_TRIANGLE, mxConstants
 shapePointerEvents, mxShape
 sharedDiv, mxRubberband
 shiftKeys, mxKeyHandler
 shouldRemoveCellsFromParent, mxGraphHandler
 show
 SHOW
 showHelp, mxEditor
 showMenu, mxPopupMenu
 showOutline, mxEditor
 showProperties, mxEditor
 showSubmenu, mxPopupMenu
 showTasks, mxEditor
 showViewport, mxOutline
 SideToSide, mxEdgeStyle
 significant, mxUndoableEdit
 simulate, mxXmlRequest
 singleSelection, mxGraphSelectionModel
 singleSizer, mxVertexHandler
 size, mxUndoManager
 SIZE
 sizeDidChange, mxGraph
 sizerImage, mxOutline
 smartSeparators, mxPopupMenu
 snap
 snapPoint, mxHandle
 snapToPreview, mxConnectionHandler
 snapToTerminals, mxEdgeHandler
 sortCells, mxUtils
 sortEdges
 sortOutgoingEdges, mxCompactTreeLayout
 source
 sourcePoint, mxGeometry
 SOURCESCANSTARTRANK
 sourceState, mxMouseEvent
 spacing
 SPLIT_EDGE
 splitEdge, mxGraph
 splitEnabled, mxGraph
 src, mxImage
 start
 START
 START_EDIT
 START_EDITING
 startAnimation, mxAnimation
 startDrag, mxDragSource
 startEditing
 startEditingAtCell, mxGraph
 startX, mxPanningHandler
 startY, mxPanningHandler
 state
 states
 stateValidated, mxGraphView
 status, mxEditor
 stencil, mxShape
 stencilPointerEvents, mxShape
 step, mxMorphing
 steps, mxMorphing
 STEPSIZE, mxClipboard
 stopAnimation, mxAnimation
 stopDrag, mxDragSource
 stopEditing
 stopRecursion, mxMorphing
 straightRemoveEnabled, mxEdgeHandler
 stroke
 strokeTolerance, mxSvgCanvas2D
 strokewidth, mxStencil
 style
 STYLE_ALIGN, mxConstants
 STYLE_ARCSIZE, mxConstants
 STYLE_ASPECT, mxConstants
 STYLE_AUTOSIZE, mxConstants
 STYLE_BENDABLE, mxConstants
 STYLE_CLONEABLE, mxConstants
 STYLE_CURVED, mxConstants
 STYLE_DASHED, mxConstants
 STYLE_DELETABLE, mxConstants
 STYLE_DIRECTION, mxConstants
 STYLE_EDGE, mxConstants
 STYLE_EDITABLE, mxConstants
 STYLE_ELBOW, mxConstants
 STYLE_ENDARROW, mxConstants
 STYLE_ENDFILL, mxConstants
 STYLE_ENDSIZE, mxConstants
 STYLE_ENTRY_PERIMETER, mxConstants
 STYLE_ENTRY_X, mxConstants
 STYLE_ENTRY_Y, mxConstants
 STYLE_EXIT_PERIMETER, mxConstants
 STYLE_EXIT_X, mxConstants
 STYLE_EXIT_Y, mxConstants
 STYLE_FILL_OPACITY, mxConstants
 STYLE_FILLCOLOR, mxConstants
 STYLE_FLIPH, mxConstants
 STYLE_FLIPV, mxConstants
 STYLE_FOLDABLE, mxConstants
 STYLE_FONTCOLOR, mxConstants
 STYLE_FONTFAMILY, mxConstants
 STYLE_FONTSIZE, mxConstants
 STYLE_FONTSTYLE, mxConstants
 STYLE_GLASS, mxConstants
 STYLE_GRADIENT_DIRECTION, mxConstants
 STYLE_GRADIENTCOLOR, mxConstants
 STYLE_HORIZONTAL, mxConstants
 STYLE_IMAGE, mxConstants
 STYLE_IMAGE_ALIGN, mxConstants
 STYLE_IMAGE_ASPECT, mxConstants
 STYLE_IMAGE_BACKGROUND, mxConstants
 STYLE_IMAGE_BORDER, mxConstants
 STYLE_IMAGE_HEIGHT, mxConstants
 STYLE_IMAGE_VERTICAL_ALIGN, mxConstants
 STYLE_IMAGE_WIDTH, mxConstants
 STYLE_INDICATOR_COLOR, mxConstants
 STYLE_INDICATOR_DIRECTION, mxConstants
 STYLE_INDICATOR_GRADIENTCOLOR, mxConstants
 STYLE_INDICATOR_HEIGHT, mxConstants
 STYLE_INDICATOR_IMAGE, mxConstants
 STYLE_INDICATOR_SHAPE, mxConstants
 STYLE_INDICATOR_SPACING, mxConstants
 STYLE_INDICATOR_STROKECOLOR, mxConstants
 STYLE_INDICATOR_WIDTH, mxConstants
 STYLE_JETTY_SIZE, mxConstants
 STYLE_LABEL_BACKGROUNDCOLOR, mxConstants
 STYLE_LABEL_BORDERCOLOR, mxConstants
 STYLE_LABEL_PADDING, mxConstants
 STYLE_LABEL_POSITION, mxConstants
 STYLE_LABEL_WIDTH, mxConstants
 STYLE_LOOP, mxConstants
 STYLE_MARGIN, mxConstants
 STYLE_MOVABLE, mxConstants
 STYLE_NOEDGESTYLE, mxConstants
 STYLE_NOLABEL, mxConstants
 STYLE_OPACITY, mxConstants
 STYLE_ORTHOGONAL, mxConstants
 STYLE_ORTHOGONAL_LOOP, mxConstants
 STYLE_OVERFLOW, mxConstants
 STYLE_PERIMETER, mxConstants
 STYLE_PERIMETER_SPACING, mxConstants
 STYLE_POINTER_EVENTS, mxConstants
 STYLE_PORT_CONSTRAINT, mxConstants
 STYLE_PORT_CONSTRAINT_ROTATION, mxConstants
 STYLE_RESIZABLE, mxConstants
 STYLE_RESIZE_WIDTH, mxConstants
 STYLE_ROTATABLE, mxConstants
 STYLE_ROTATION, mxConstants
 STYLE_ROUNDED, mxConstants
 STYLE_ROUTING_CENTER_X, mxConstants
 STYLE_ROUTING_CENTER_Y, mxConstants
 STYLE_SEGMENT, mxConstants
 STYLE_SEPARATORCOLOR, mxConstants
 STYLE_SHADOW, mxConstants
 STYLE_SHAPE, mxConstants
 STYLE_SMOOTH, mxConstants
 STYLE_SOURCE_JETTY_SIZE, mxConstants
 STYLE_SOURCE_PERIMETER_SPACING, mxConstants
 STYLE_SOURCE_PORT, mxConstants
 STYLE_SPACING, mxConstants
 STYLE_SPACING_BOTTOM, mxConstants
 STYLE_SPACING_LEFT, mxConstants
 STYLE_SPACING_RIGHT, mxConstants
 STYLE_SPACING_TOP, mxConstants
 STYLE_STARTARROW, mxConstants
 STYLE_STARTFILL, mxConstants
 STYLE_STARTSIZE, mxConstants
 STYLE_STROKE_OPACITY, mxConstants
 STYLE_STROKECOLOR, mxConstants
 STYLE_STROKEWIDTH, mxConstants
 STYLE_SWIMLANE_FILLCOLOR, mxConstants
 STYLE_SWIMLANE_LINE, mxConstants
 STYLE_TARGET_PERIMETER_SPACING, mxConstants
 STYLE_TARGET_PORT, mxConstants
 STYLE_TEXT_DIRECTION, mxConstants
 STYLE_TEXT_OPACITY, mxConstants
 STYLE_VERTICAL_ALIGN, mxConstants
 STYLE_VERTICAL_LABEL_POSITION, mxConstants
 STYLE_WHITE_SPACE, mxConstants
 styleEnabled, mxSvgCanvas2D
 styleForCellChanged, mxGraphModel
 styles, mxStylesheet
 stylesheet, mxGraph
 submenuImage, mxPopupMenu
 submit, mxUtils
 SUSPEND, mxEvent
 suspended, mxOutline
 svgPointerEvents, mxShape
 svgStrokeTolerance
 swap, mxGeometry
 swapBounds, mxGraph
 swapStyles, mxEditor
 swimlaneAdded, mxSwimlaneManager
 swimlaneIndicatorColorAttribute, mxGraph
 swimlaneNesting, mxGraph
 swimlaneRequired, mxEditor
 swimlanes, mxSwimlaneLayout
 swimlaneSelectionEnabled, mxGraph
 swimlaneSpacing, mxEditor
-
mxAbstractCanvas2D.prototype.save = function()
Saves the current state.
mxAutoSaveManager.prototype.save = function()
Empty hook that is called if the graph should be saved.
mxEditor.prototype.save = function (url,
linefeed)
Posts the string returned by writeGraphModel to the given URL or the URL returned by getUrlPost.
mxXmlCanvas2D.prototype.save = function()
Saves the drawing state.
Fires after the current file was saved in save.
Specifies the event name for open.
mxAbstractCanvas2D.prototype.scale = function(value)
Scales the current state.
mxGeometry.prototype.scale = function(sx,
sy,
fixedAspect)
Scales the geometry by the given amount.
mxGraphView.prototype.scale
Specifies the scale.
mxPrintPreview.prototype.scale
Holds the scale of the print preview.
mxShape.prototype.scale
Holds the scale in which the shape is being painted.
mxXmlCanvas2D.prototype.scale = function(value)
Scales the output.
Specifies the event name for scale.
Fires after the scale was changed in setScale.
Specifies the event name for scaleAndTranslate.
Fires after the scale and translate have been changed in scaleAndTranslate.
mxGraphView.prototype.scaleAndTranslate = function(scale,
dx,
dy)
Sets the scale and translation and fires a scale and translate event before calling revalidate followed by mxGraph.sizeDidChange.
mxGraph.prototype.scaleCell = function(cell,
dx,
dy,
recurse)
Scales the points, position and size of the given cell according to the given vertical and horizontal scaling factors.
mxGraphHandler.prototype.scaleGrid
Specifies if the grid should be scaled.
mxPopupMenuHandler.prototype.screenX
Screen X-coordinate of the mouse down event.
mxPopupMenuHandler.prototype.screenY
Screen Y-coordinate of the mouse down event.
mxGraph.prototype.scrollCellToVisible = function(cell,
center)
Pans the graph so that it shows the given cell.
mxGraphHandler.prototype.scrollOnMove
Specifies if the view should be scrolled so that a moved cell is visible.
mxGraph.prototype.scrollPointToVisible = function(x,
y,
extend,
border)
Scrolls the graph to the given point, extending the graph container if specified.
mxGraph.prototype.scrollRectToVisible = function(rect)
Pans the graph so that it shows the given rectangle.
SegmentConnector: function(state,
source,
target,
hints,
result)
Implements an orthogonal edge style.
mxCellState.prototype.segments
Array of numbers that represent the cached length of each segment of the edge.
mxConnectionHandler.prototype.select
Specifies if new edges should be selected.
Specifies the event name for select.
Fires when an item was selected in the toolbar.
mxGraph.prototype.selectAll = function(parent)
Selects all children of the given parent cell or the children of the default parent if no parent is specified.
mxGraph.prototype.selectCell = function(isNext,
isParent,
isChild)
Selects the next, parent, first child or previous cell, if all arguments are false.
mxGraph.prototype.selectCellForEvent = function(cell,
evt)
Selects the given cell by either adding it to the selection or replacing the selection depending on whether the given mouse event is a toggle event.
mxConnectionHandler.prototype.selectCells = function(edge,
target)
Selects the given edge after adding a new connection.
mxGraph.prototype.selectCells = function(vertices,
edges,
parent)
Selects all vertices and/or edges depending on the given boolean arguments recursively, starting at the given parent or the default parent if no parent is specified.
mxGraph.prototype.selectCellsForEvent = function(cells,
evt)
Selects the given cells by either adding them to the selection or replacing the selection depending on whether the given mouse event is a toggle event.
mxGraph.prototype.selectChildCell = function()
Selects the first child cell.
mxGraphHandler.prototype.selectDelayed = function(me)
Implements the delayed selection for the given mouse event.
mxGraphHandler.prototype.selectEnabled
Specifies if selecting is enabled.
Defines the dashed state to be used for the vertex selection border.
mxGraph.prototype.selectionModel
Holds the mxGraphSelectionModel that models the current selection.
mxToolbar.prototype.selectMode = function(domNode,
funct)
Resets the state of the previously selected mode and displays the given DOM node as selected.
mxGraph.prototype.selectNextCell = function()
Selects the next cell.
mxPopupMenuHandler.prototype.selectOnPopup
Specifies if cells should be selected if a popupmenu is displayed for them.
mxGraph.prototype.selectParentCell = function()
Selects the parent cell.
mxGraph.prototype.selectPreviousCell = function()
Selects the previous cell.
mxGraph.prototype.selectRegion = function(rect,
evt)
Selects and returns the cells inside the given rectangle for the specified event.
mxCellEditor.prototype.selectText
Specifies if the text should be selected when editing starts.
mxGraph.prototype.selectVertices = function(parent)
Select all vertices inside the given parent or the default parent.
mxXmlRequest.prototype.send = function(onload,
onerror,
timeout,
ontimeout)
Send the request to the target URL using the specified functions to process the response asychronously.
mxCellState.prototype.setAbsoluteTerminalPoint = function(point,
isSource)
Sets the first or last point in absolutePoints depending on isSource.
mxSwimlaneManager.prototype.setAddEnabled = function(value)
Sets addEnabled.
mxGraph.prototype.setAllowDanglingEdges = function(value)
Specifies if dangling edges are allowed, that is, if edges are allowed that do not have a source and/or target terminal defined.
mxGraphView.prototype.setAllowEval = function(value)
Sets allowEval.
mxGraph.prototype.setAllowLoops = function(value)
Specifies if loops are allowed.
mxAbstractCanvas2D.prototype.setAlpha = function(value)
Sets the current alpha.
mxXmlCanvas2D.prototype.setAlpha = function(value)
Sets the current alpha.
mxCell.prototype.setAttribute = function(name,
value)
Sets the specified attribute on the user object if it is an XML node.
mxCodec.prototype.setAttribute = function(node,
attribute,
value)
Sets the attribute on the specified node to value.
mxGraph.prototype.setAutoSizeCells = function(value)
Specifies if cell sizes should be automatically updated after a label change.
mxGraph.prototype.setBackgroundImage = function(image)
Sets the new backgroundImage.
mxUrlConverter.prototype.setBaseDomain = function(value)
Sets baseDomain.
mxUrlConverter.prototype.setBaseUrl = function(value)
Sets baseUrl.
mxXmlRequest.prototype.setBinary = function(value)
Sets binary.
mxGraph.prototype.setBorder = function(value)
Sets the value of border.
mxLayoutManager.prototype.setBubbling = function(value)
Sets bubbling.
mxGraphSelectionModel.prototype.setCell = function(cell)
Selects the specified mxCell using setCells.
mxCompactTreeLayout.prototype.setCellHeights = function(node,
rank)
Set the cells heights (relative to the layout direction) when the tops of each rank are to be aligned
mxCoordinateAssignment.prototype.setCellLocations = function(graph,
model)
Sets the cell locations in the facade to those stored after this layout processing step has completed.
setCells: function(cells)
Sets the cells in the clipboard.
mxGraphSelectionModel.prototype.setCells = function(cells)
Selects the given array of mxCells and fires a change event.
mxGraph.prototype.setCellsBendable = function(value)
Specifies if the graph should allow bending of edges.
mxGraph.prototype.setCellsCloneable = function(value)
Specifies if the graph should allow cloning of cells by holding down the control key while cells are being moved.
mxGraph.prototype.setCellsDeletable = function(value)
Sets cellsDeletable.
mxGraph.prototype.setCellsDisconnectable = function(value)
Sets cellsDisconnectable.
mxGraph.prototype.setCellsEditable = function(value)
Specifies if the graph should allow in-place editing for cell labels.
mxGraph.prototype.setCellsMovable = function(value)
Specifies if the graph should allow moving of cells.
mxGraph.prototype.setCellsResizable = function(value)
Specifies if the graph should allow resizing of cells.
mxGraph.prototype.setCellsSelectable = function(value)
Sets cellsSelectable.
mxGraph.prototype.setCellStyle = function(style,
cells)
Sets the style of the specified cells.
mxGraph.prototype.setCellStyleFlags = function(key,
flag,
value,
cells)
Sets or toggles the given bit for the given key in the styles of the specified cells.
setCellStyleFlags: function(model,
cells,
key,
flag,
value)
Sets or toggles the flag bit for the given key in the cell’s styles.
mxGraph.prototype.setCellStyles = function(key,
value,
cells)
Sets the key to value in the styles of the given cells.
setCellStyles: function(model,
cells,
key,
value)
Assigns the value for the given key in the styles of the given cells, or removes the key from the styles if the value is null.
mxGraph.prototype.setCellWarning = function(cell,
warning,
img,
isSelect)
Creates an overlay for the given cell using the warning and image or warningImage and returns the new mxCellOverlay.
mxGraphHandler.prototype.setCloneEnabled = function(value)
Sets cloneEnabled.
mxGraph.prototype.setCloneInvalidEdges = function(value)
Specifies if edges should be inserted when cloned but not valid wrt.
mxWindow.prototype.setClosable = function(closable)
Sets the image associated with the window.
mxCell.prototype.setCollapsed = function(collapsed)
Sets the collapsed state.
mxGraphModel.prototype.setCollapsed = function(cell,
collapsed)
Sets the collapsed state of the given mxCell using mxCollapseChange and adds the change to the current transaction.
mxCell.prototype.setConnectable = function(connectable)
Sets the connectable state.
mxGraph.prototype.setConnectable = function(connectable)
Specifies if the graph should allow new connections.
mxGraph.prototype.setConnectableEdges = function(value)
Specifies if edges should be connectable.
mxGraph.prototype.setConnectionConstraint = function(edge,
terminal,
source,
constraint)
Sets the mxConnectionConstraint that describes the given connection point.
mxGraph.prototype.setConstrainChildren = function(value)
Sets constrainChildren.
mxGraph.prototype.setConstrainChildrenOnResize = function(value)
Sets constrainChildrenOnResize.
mxGraphModel.prototype.setCreateIds = function(value)
Sets createIds.
mxConnectionHandler.prototype.setCreateTarget = function(value)
Sets createTarget.
mxGraphView.prototype.setCurrentRoot = function(root)
Sets and returns the current root and fires an undo event before calling mxGraph.sizeDidChange.
mxCellMarker.prototype.setCurrentState = function(state,
me,
color)
Sets and marks the current valid state.
mxCellState.prototype.setCursor = function(cursor)
Sets the given cursor on the shape and text shape.
mxShape.prototype.setCursor = function(cursor)
Sets the cursor on the given shape.
mxAbstractCanvas2D.prototype.setDashed = function(value)
Enables or disables dashed lines.
mxXmlCanvas2D.prototype.setDashed = function(value)
Enables or disables dashed lines.
mxAbstractCanvas2D.prototype.setDashPattern = function(value)
Sets the current dash pattern.
mxXmlCanvas2D.prototype.setDashPattern = function(value)
Sets the current dash pattern.
mxGraph.prototype.setDefaultParent = function(cell)
Sets the defaultParent to the given cell.
mxGraph.prototype.setDisconnectOnMove = function(value)
Specifies if edges should be disconnected when moved.
mxGraph.prototype.setDropEnabled = function(value)
Specifies if the graph should allow dropping of cells onto or into other cells.
mxCell.prototype.setEdge = function(edge)
Specifies if the cell is an edge.
mxGraphLayout.prototype.setEdgePoints = function(edge,
points)
Replaces the array of mxPoints in the geometry of the given edge with the given array of mxPoints.
mxCoordinateAssignment.prototype.setEdgePosition = function(cell)
Fixes the control points
mxGraphLayout.prototype.setEdgeStyleEnabled = function(edge,
value)
Disables or enables the edge style of the given edge.
mxAutoSaveManager.prototype.setEnabled = function(value)
Enables or disables event handling.
mxCellMarker.prototype.setEnabled = function(enabled)
Enables or disables event handling.
mxConnectionHandler.prototype.setEnabled = function(enabled)
Enables or disables event handling.
mxConstraintHandler.prototype.setEnabled = function(enabled)
Enables or disables event handling.
mxDragSource.prototype.setEnabled = function(value)
Sets enabled.
mxGraph.prototype.setEnabled = function(value)
Specifies if the graph should allow any interactions.
mxGraphHandler.prototype.setEnabled = function(value)
Sets enabled.
mxKeyHandler.prototype.setEnabled = function(enabled)
Enables or disables event handling by updating enabled.
mxLayoutManager.prototype.setEnabled = function(enabled)
Enables or disables event handling.
mxOutline.prototype.setEnabled = function(value)
Enables or disables event handling.
mxPopupMenu.prototype.setEnabled = function(enabled)
Enables or disables event handling.
mxRubberband.prototype.setEnabled = function(enabled)
Enables or disables event handling.
mxSelectionCellsHandler.prototype.setEnabled = function(value)
Sets enabled.
mxSwimlaneManager.prototype.setEnabled = function(value)
Enables or disables event handling.
mxTooltipHandler.prototype.setEnabled = function(enabled)
Enables or disables event handling.
mxUrlConverter.prototype.setEnabled = function(value)
Sets enabled.
mxGraph.prototype.setEnterStopsCellEditing = function(value)
Sets enterStopsCellEditing.
mxGraph.prototype.setEscapeEnabled = function(value)
Sets escapeEnabled.
mxEventSource.prototype.setEventsEnabled = function(value)
Sets eventsEnabled.
mxEventSource.prototype.setEventSource = function(value)
Sets eventSource.
mxGraph.prototype.setExtendParents = function(value)
Sets extendParents.
mxGraph.prototype.setExtendParentsOnAdd = function(value)
Sets extendParentsOnAdd.
mxGraph.prototype.setExtendParentsOnMove = function(value)
Sets extendParentsOnAdd.
mxAbstractCanvas2D.prototype.setFillColor = function(value)
Sets the current fill color.
mxXmlCanvas2D.prototype.setFillColor = function(value)
Sets the current fill color.
mxConstraintHandler.prototype.setFocus = function(me,
state,
source)
Transfers the focus to the given state as a source or target terminal.
mxXmlCanvas2D.prototype.setFontBackgroundColor = function(value)
Sets the current font background color.
mxXmlCanvas2D.prototype.setFontBorderColor = function(value)
Sets the current font border color.
mxAbstractCanvas2D.prototype.setFontColor = function(value)
Sets the current font color.
mxXmlCanvas2D.prototype.setFontColor = function(value)
Sets the current font color.
mxAbstractCanvas2D.prototype.setFontFamily = function(value)
Sets the current font family.
mxXmlCanvas2D.prototype.setFontFamily = function(value)
Sets the current font family.
mxAbstractCanvas2D.prototype.setFontSize = function(value)
Sets the current font size.
mxXmlCanvas2D.prototype.setFontSize = function(value)
Sets the current font size.
mxAbstractCanvas2D.prototype.setFontStyle = function(value)
Sets the current font style.
mxXmlCanvas2D.prototype.setFontStyle = function(value)
Sets the current font style.
mxGraphAbstractHierarchyCell.prototype.setGeneralPurposeVariable = function(
   layer,
   value
)
Set the value of temp for the specified layer
mxGraphHierarchyEdge.prototype.setGeneralPurposeVariable = function(layer,
value)
Set the value of temp for the specified layer
mxGraphHierarchyNode.prototype.setGeneralPurposeVariable = function(layer,
value)
Set the value of temp for the specified layer
mxCell.prototype.setGeometry = function(geometry)
Sets the mxGeometry to be used as the geometry.
mxGraphModel.prototype.setGeometry = function(cell,
geometry)
Sets the mxGeometry of the given mxCell.
mxAbstractCanvas2D.prototype.setGradient = function(color1,
color2,
x,
y,
w,
h,
direction,
alpha1,
alpha2)
Sets the current gradient.
mxXmlCanvas2D.prototype.setGradient = function(color1,
color2,
x,
y,
w,
h,
direction,
alpha1,
alpha2)
Sets the gradient.
mxAutoSaveManager.prototype.setGraph = function(graph)
Sets the graph that the layouts operate on.
mxLayoutManager.prototype.setGraph = function(graph)
Sets the graph that the layouts operate on.
mxSwimlaneManager.prototype.setGraph = function(graph)
Sets the graph that the manager operates on.
mxGraphView.prototype.setGraphBounds = function(value)
Sets graphBounds.
mxEditor.prototype.setGraphContainer = function (container)
Sets the graph’s container using mxGraph.init.
mxDragSource.prototype.setGridEnabled = function(value)
Sets gridEnabled.
mxGraph.prototype.setGridEnabled = function(value)
Specifies if the grid should be enabled.
mxGraph.prototype.setGridSize = function(value)
Sets gridSize.
mxDragSource.prototype.setGuidesEnabled = function(value)
Sets guidesEnabled.
mxTooltipHandler.prototype.setHideOnHover = function(value)
Sets hideOnHover.
mxCellHighlight.prototype.setHighlightColor = function(color)
Sets the color of the rectangle used to highlight drop targets.
mxGraphHandler.prototype.setHighlightColor = function(color)
Sets the color of the rectangle used to highlight drop targets.
mxSwimlaneManager.prototype.setHorizontal = function(value)
Sets horizontal.
mxCellMarker.prototype.setHotspot = function(hotspot)
Sets the hotspot.
mxCellMarker.prototype.setHotspotEnabled = function(enabled)
Specifies whether the hotspot should be used in intersects.
mxGraph.prototype.setHtmlLabels = function(value)
Sets htmlLabels.
mxCell.prototype.setId = function(id)
Sets the Id of the cell to the given string.
mxWindow.prototype.setImage = function(image)
Sets the image associated with the window.
Sets the inner HTML of the given element to the value.
mxGraph.prototype.setInvokesStopCellEditing = function(value)
Sets invokesStopCellEditing.
mxAbstractCanvas2D.prototype.setLineCap = function(value)
Sets the current line cap.
mxXmlCanvas2D.prototype.setLineCap = function(value)
Sets the line cap.
mxAbstractCanvas2D.prototype.setLineJoin = function(value)
Sets the current line join.
mxXmlCanvas2D.prototype.setLineJoin = function(value)
Sets the line join.
mxAbstractCanvas2D.prototype.setLink = function(link)
Sets the current link.
mxSvgCanvas2D.prototype.setLink = function(link)
Experimental implementation for hyperlinks.
mxWindow.prototype.setLocation = function(x,
y)
Sets the upper, left corner of the window.
Sets if any cell may be moved, sized, bended, disconnected, edited or selected.
mxWindow.prototype.setMaximizable = function(maximizable)
Sets if the window is maximizable.
mxWindow.prototype.setMinimizable = function(minimizable)
Sets if the window is minimizable.
mxAbstractCanvas2D.prototype.setMiterLimit = function(value)
Sets the current miter limit.
mxXmlCanvas2D.prototype.setMiterLimit = function(value)
Sets the miter limit.
mxEditor.prototype.setMode = function(modename)
Puts the graph into the specified mode.
mxEditor.prototype.setModified = function (value)
Sets modified to the specified boolean value.
mxGraphHandler.prototype.setMoveEnabled = function(value)
Sets moveEnabled.
mxGraph.prototype.setMultigraph = function(value)
Specifies if the graph should allow multiple connections between the same pair of vertices.
setOpacity: function(node,
value)
Sets the opacity of the specified DOM node to the given value in %.
mxGraphLayout.prototype.setOrthogonalEdge = function(edge,
value)
Disables or enables orthogonal end segments of the given edge.
mxGraph.prototype.setPanning = function(enabled)
Specifies if panning should be enabled.
mxPanningHandler.prototype.setPanningEnabled = function(value)
Sets panningEnabled.
mxCell.prototype.setParent = function(parent)
Sets the parent cell.
mxPanningHandler.prototype.setPinchEnabled = function(value)
Sets pinchEnabled.
mxGraph.prototype.setPortsEnabled = function(value)
Specifies if the ports should be enabled.
mxHandle.prototype.setPosition = function(bounds,
pt,
me)
Hooks for subclassers to update the style in the state.
setPrefixedStyle: function()
Adds the given style with the standard name and an optional vendor prefix for the current browser.
mxEdgeHandler.prototype.setPreviewColor = function(color)
Sets the color of the preview to the given value.
mxRectangle.prototype.setRect = function(x,
y,
w,
h)
Sets this rectangle to the specified values
mxGraph.prototype.setRecursiveResize = function(value)
Sets recursiveResize.
mxGraphHandler.prototype.setRemoveCellsFromParent = function(value)
Sets removeCellsFromParent.
mxGraphView.prototype.setRendering = function(value)
Sets rendering.
mxXmlRequest.prototype.setRequestHeaders = function(request,
params)
Sets the headers for the given request and parameters.
mxWindow.prototype.setResizable = function(resizable)
Sets if the window should be resizable.
mxGraph.prototype.setResizeContainer = function(value)
Sets resizeContainer.
mxSwimlaneManager.prototype.setResizeEnabled = function(value)
Sets resizeEnabled.
mxGraphModel.prototype.setRoot = function(root)
Sets the root of the model using mxRootChange and adds the change to the current transaction.
mxGraphView.prototype.setScale = function(value)
Sets the scale and fires a scale event before calling revalidate followed by mxGraph.sizeDidChange.
mxWindow.prototype.setScrollable = function(scrollable)
Sets if the window contents should be scrollable.
mxGraphHandler.prototype.setSelectEnabled = function(value)
Sets selectEnabled.
mxGraph.prototype.setSelectionCell = function(cell)
Sets the selection cell.
mxGraph.prototype.setSelectionCells = function(cells)
Sets the selection cell.
mxGraph.prototype.setSelectionModel = function(selectionModel)
Sets the mxSelectionModel that contains the selection.
mxAbstractCanvas2D.prototype.setShadow = function(enabled)
Enables or disables and configures the current shadow.
mxXmlCanvas2D.prototype.setShadow = function(value)
Enables or disables shadows.
mxAbstractCanvas2D.prototype.setShadowAlpha = function(value)
Enables or disables and configures the current shadow.
mxXmlCanvas2D.prototype.setShadowAlpha = function(value)
Sets the current shadows alpha.
mxAbstractCanvas2D.prototype.setShadowColor = function(value)
Enables or disables and configures the current shadow.
mxXmlCanvas2D.prototype.setShadowColor = function(value)
Sets the current shadow color.
mxAbstractCanvas2D.prototype.setShadowOffset = function(dx,
dy)
Enables or disables and configures the current shadow.
mxXmlCanvas2D.prototype.setShadowOffset = function(dx,
dy)
Sets the current shadow offset.
mxGraphSelectionModel.prototype.setSingleSelection = function(singleSelection)
Sets the singleSelection flag.
mxWindow.prototype.setSize = function(width,
height)
Sets the size of the window.
mxGraph.prototype.setSplitEnabled = function(value)
Specifies if the graph should allow dropping of cells onto or into other cells.
mxCellState.prototype.setState = function(state)
Copies all fields from the given state to this state.
mxGraphView.prototype.setStates = function(value)
Sets states.
mxGuide.prototype.setStates = function(states)
Sets the mxCellStates that should be used for alignment.
mxEditor.prototype.setStatus = function (message)
Display the specified message in the status bar.
mxEditor.prototype.setStatusContainer = function (container)
Creates the status using the specified container.
mxAbstractCanvas2D.prototype.setStrokeColor = function(value)
Sets the current stroke color.
mxXmlCanvas2D.prototype.setStrokeColor = function(value)
Sets the current stroke color.
mxAbstractCanvas2D.prototype.setStrokeWidth = function(value)
Sets the current stroke width.
mxXmlCanvas2D.prototype.setStrokeWidth = function(value)
Sets the current stroke width.
mxCell.prototype.setStyle = function(style)
Sets the string to be used as the style.
mxGraphModel.prototype.setStyle = function(cell,
style)
Sets the style of the given mxCell using mxStyleChange and adds the change to the current transaction.
setStyle: function(style,
key,
value)
Adds or removes the given key, value pair to the style and returns the new style.
setStyleFlag: function(style,
key,
flag,
value)
Sets or removes the given key from the specified style and returns the new style.
mxGraph.prototype.setStylesheet = function(stylesheet)
Sets the mxStylesheet that defines the style.
mxGraph.prototype.setSwimlaneNesting = function(value)
Specifies if swimlanes can be nested by drag and drop.
mxGraph.prototype.setSwimlaneSelectionEnabled = function(value)
Specifies if swimlanes should be selected if the mouse is released over their content area.
mxCell.prototype.setTerminal = function(terminal,
isSource)
Sets the source or target terminal and returns the new terminal.
mxGraphModel.prototype.setTerminal = function(edge,
terminal,
isSource)
Sets the source or target terminal of the given mxCell using mxTerminalChange and adds the change to the current transaction.
mxGeometry.prototype.setTerminalPoint = function(point,
isSource)
Sets the sourcePoint or targetPoint to the given mxPoint and returns the new point.
mxGraphModel.prototype.setTerminals = function(edge,
source,
target)
Sets the source and target mxCell of the given mxCell in a single transaction using setTerminal for each end of the edge.
setTextContent: function(node,
text)
Sets the text content of the specified node.
mxWindow.prototype.setTitle = function(title)
Sets the window title to the given string.
mxEditor.prototype.setTitleContainer = function (container)
Creates a listener to update the inner HTML of the specified DOM node with the value of getTitle.
mxGraph.prototype.setTolerance = function(value)
Sets tolerance.
mxEditor.prototype.setToolbarContainer = function (container)
Initializes the toolbar for the given container.
mxGraph.prototype.setTooltips = function (enabled)
Specifies if tooltips should be enabled.
mxGraphView.prototype.setTranslate = function(dx,
dy)
Sets the translation and fires a translate event before calling revalidate followed by mxGraph.sizeDidChange.
mxShape.prototype.setTransparentBackgroundImage = function(node)
Sets a transparent background CSS style to catch all events.
mxCell.prototype.setValue = function(value)
Sets the user object of the cell.
mxGraphModel.prototype.setValue = function(cell,
value)
Sets the user object of then given mxCell using mxValueChange and adds the change to the current transaction.
mxCell.prototype.setVertex = function(vertex)
Specifies if the cell is a vertex.
mxGraph.prototype.setVertexLabelsMovable = function(value)
Sets vertexLabelsMovable.
mxCoordinateAssignment.prototype.setVertexLocation = function(cell)
Fixes the position of the specified vertex.
mxGraphLayout.prototype.setVertexLocation = function(cell,
x,
y)
Sets the new position of the given cell taking into account the size of the bounding box if useBoundingBox is true.
mxCell.prototype.setVisible = function(visible)
Specifies if the cell is visible.
mxGraphModel.prototype.setVisible = function(cell,
visible)
Sets the visible state of the given mxCell using mxVisibleChange and adds the change to the current transaction.
mxGuide.prototype.setVisible = function(visible)
Shows or hides the current guides.
mxHandle.prototype.setVisible = function(visible)
Shows or hides this handle.
setVisible: function(visible)
Shows or hides the console.
mxWindow.prototype.setVisible = function(visible)
Shows or hides the window depending on the given flag.
mxCellState.prototype.setVisibleTerminalState = function(terminalState,
source)
Sets the visible source or target terminal state.
mxGraphAbstractHierarchyCell.prototype.setX = function(layer,
value)
Set the value of x for the specified layer
mxGraphAbstractHierarchyCell.prototype.setY = function(layer,
value)
Set the value of y for the specified layer
mxOutline.prototype.setZoomEnabled = function(value)
Enables or disables the zoom handling by showing or hiding the respective handle.
Specifies the x-offset of the shadow.
Specifies the y-offset of the shadow.
Defines the opacity for shadows.
Defines the color to be used to draw shadows in shapes and windows.
mxCellState.prototype.shape
Holds the mxShape that represents the cell graphically.
mxEdgeHandler.prototype.shape
Holds the mxShape that represents the preview edge.
mxGraphHandler.prototype.shape
Reference to the mxShape that represents the preview.
Name under which mxActor is registered in mxCellRenderer.
Name under which mxArrow is registered in mxCellRenderer.
Name under which mxArrowConnector is registered in mxCellRenderer.
Name under which mxCloud is registered in mxCellRenderer.
Name under which mxConnector is registered in mxCellRenderer.
Name under which mxCylinder is registered in mxCellRenderer.
Name under which mxDoubleEllipse is registered in mxCellRenderer.
Name under which mxEllipse is registered in mxCellRenderer.
Name under which mxHexagon is registered in mxCellRenderer.
Name under which mxImageShape is registered in mxCellRenderer.
Name under which mxLabel is registered in mxCellRenderer.
Name under which mxLine is registered in mxCellRenderer.
Name under which mxRectangleShape is registered in mxCellRenderer.
Name under which mxRhombus is registered in mxCellRenderer.
Name under which mxSwimlane is registered in mxCellRenderer.
Name under which mxTriangle is registered in mxCellRenderer.
mxShape.prototype.shapePointerEvents
Specifies if pointer events outside of shape should be handled.
mxRubberband.prototype.sharedDiv
Holds the DIV element which is used to display the rubberband.
mxKeyHandler.prototype.shiftKeys
Maps from keycodes to functions for pressed shift keys.
mxGraphHandler.prototype.shouldRemoveCellsFromParent = function(parent,
cells,
evt)
Returns true if the given cells should be removed from the parent for the specified mousereleased event.
mxCellStatePreview.prototype.show = function(visitor)
show: function()
Shows the console.
mxMorphing.prototype.show = function(move)
Shows the changes in the given mxCellStatePreview.
mxTooltipHandler.prototype.show = function(tip,
x,
y)
Shows the tooltip for the specified cell and optional index at the specified location (with a vertical offset of 10 pixels).
show: function(graph,
doc,
x0,
y0,
w,
h)
Copies the styles and the markup from the graph’s container into the given document and removes all cursor styles.
mxWindow.prototype.show = function()
Shows the window.
Specifies the event name for show.
Fires after the menu has been shown in popup.
Fires after the window is shown.
mxEditor.prototype.showHelp = function (tasks)
Shows the help window.
mxPopupMenu.prototype.showMenu = function()
Shows the menu.
mxEditor.prototype.showOutline = function ()
Shows the outline window.
mxEditor.prototype.showProperties = function (cell)
Creates and shows the properties dialog for the given cell.
mxPopupMenu.prototype.showSubmenu = function(parent,
row)
Shows the submenu inside the given parent row.
mxEditor.prototype.showTasks = function ()
Shows the tasks window.
mxOutline.prototype.showViewport
Specifies a viewport rectangle should be shown.
SideToSide: function (state,
source,
target,
points,
result)
Implements a vertical elbow edge.
mxUndoableEdit.prototype.significant
Specifies if the undoable change is significant.
mxXmlRequest.prototype.simulate = function(doc,
target)
Creates and posts a request to the given target URL using a dynamically created form inside the given document.
mxGraphSelectionModel.prototype.singleSelection
Specifies if only one selected item at a time is allowed.
mxVertexHandler.prototype.singleSizer
Specifies if only one sizer handle at the bottom, right corner should be used.
mxUndoManager.prototype.size
Maximum command history size.
Specifies the event name for size.
Fires after sizeDidChange was executed.
mxGraph.prototype.sizeDidChange = function()
Called when the size of the graph has changed.
mxOutline.prototype.sizerImage
Optional mxImage to be used for the sizer.
mxPopupMenu.prototype.smartSeparators
Specifies if separators should only be added if a menu item follows them.
mxGraph.prototype.snap = function(value)
Snaps the given numeric value to the grid if gridEnabled is true.
mxGraphHandler.prototype.snap = function(vector)
Snaps the given vector to the grid and returns the given mxPoint instance.
mxHandle.prototype.snapPoint = function(pt,
ignore)
Snaps the given point to the grid if ignore is false.
mxConnectionHandler.prototype.snapToPreview = function(me,
point)
Called to snap the given point to the current preview.
mxEdgeHandler.prototype.snapToTerminals
Specifies if waypoints should snap to the routing centers of terminals.
sortCells: function(cells,
ascending)
Sorts the given cells according to the order in the cell hierarchy.
mxCompactTreeLayout.prototype.sortEdges
Specifies if edges should be sorted according to the order of their opposite terminal cell in the model.
mxRadialTreeLayout.prototype.sortEdges
Specifies if edges should be sorted according to the order of their opposite terminal cell in the model.
mxCompactTreeLayout.prototype.sortOutgoingEdges = function(source,
edges)
Called if sortEdges is true to sort the array of outgoing edges in place.
mxCell.prototype.source
Reference to the source terminal.
mxGraphHierarchyEdge.prototype.source
The node this edge is sourced at
mxMultiplicity.prototype.source
Boolean that specifies if the rule is applied to the source or target terminal of an edge.
Reference to the source mxGraph.
mxUndoableEdit.prototype.source
Specifies the source of the edit.
mxGeometry.prototype.sourcePoint
Defines the source mxPoint of the edge.
mxGraphHierarchyModel.prototype.SOURCESCANSTARTRANK
High value to start source layering scan rank value from.
mxSwimlaneModel.prototype.SOURCESCANSTARTRANK
High value to start source layering scan rank value from.
mxMouseEvent.prototype.sourceState
Holds the mxCellState that was passed to the constructor.
mxCellHighlight.prototype.spacing
Specifies the spacing between the highlight for vertices and the vertex.
mxDefaultToolbar.prototype.spacing
Defines the spacing between existing and new vertices in gridSize units when a new vertex is dropped on an existing cell.
mxLabel.prototype.spacing
Default value for image spacing.
mxParallelEdgeLayout.prototype.spacing
Defines the spacing between the parallels.
mxPartitionLayout.prototype.spacing
Integer that specifies the absolute spacing in pixels between the children.
mxStackLayout.prototype.spacing
Specifies the spacing between the cells.
Specifies the event name for splitEdge.
Fires between begin- and endUpdate in splitEdge.
mxGraph.prototype.splitEdge = function(edge,
cells,
newEdge,
dx,
dy)
Splits the given edge by adding the newEdge between the previous source and the given cell and reconnecting the source of the given edge to the given cell.
mxGraph.prototype.splitEnabled
Specifies if dropping onto edges should be enabled.
mxImage.prototype.src
String that specifies the URL of the image.
mxConnectionHandler.prototype.start = function(state,
x,
y,
edgeState)
Starts a new connection for the given state and coordinates.
mxEdgeHandler.prototype.start = function(x,
y,
index)
Starts the handling of the mouse gesture.
mxGraphHandler.prototype.start = function(cell,
x,
y)
Starts the handling of the mouse gesture.
mxPanningHandler.prototype.start = function(me)
Starts panning at the given event.
mxRubberband.prototype.start = function(x,
y)
Sets the start point for the rubberband selection.
mxVertexHandler.prototype.start = function(x,
y,
index)
Starts the handling of the mouse gesture.
Fires when a new connection is being created by the user.
Specifies the event name for start.
Specifies the event name for startEdit.
Fires after the updateLevel was changed from 0 to 1.
Fires before a set of changes will be executed in undo or redo.
Specifies the event name for startEditing.
Fires before the in-place editor starts in startEditingAtCell.
mxAnimation.prototype.startAnimation = function()
Starts the animation by repeatedly invoking updateAnimation.
mxDragSource.prototype.startDrag = function(evt)
Creates the dragElement using createDragElement.
mxCellEditor.prototype.startEditing = function(cell,
trigger)
Starts the editor for the given cell.
mxGraph.prototype.startEditing = function(evt)
Calls startEditingAtCell using the given cell or the first selection cell.
mxGraph.prototype.startEditingAtCell = function(cell,
evt)
Fires a startEditing event and invokes mxCellEditor.startEditing on editor.
mxPanningHandler.prototype.startX
Holds the x-coordinate of the start point.
mxPanningHandler.prototype.startY
Holds the y-coordinate of the start point.
mxAbstractCanvas2D.prototype.state
Holds the current state.
mxCellHighlight.prototype.state
Reference to the mxCellState.
mxEdgeHandler.prototype.state
Reference to the mxCellState being modified.
mxMouseEvent.prototype.state
Holds the optional mxCellState associated with this event.
mxShape.prototype.state
Optional reference to the corresponding mxCellState.
mxVertexHandler.prototype.state
Reference to the mxCellState being modified.
mxAbstractCanvas2D.prototype.states
Stack of states.
mxGuide.prototype.states
Contains the mxCellStates that are used for alignment.
mxGraphView.prototype.stateValidated = function(state)
Invoked when a state has been processed in validatePoints.
mxEditor.prototype.status
DOM container that holds the statusbar.
mxShape.prototype.stencil
Holds the mxStencil that defines the shape.
mxShape.prototype.stencilPointerEvents
Specifies if pointer events outside of stencils should be handled.
mxMorphing.prototype.step
Contains the current step.
mxMorphing.prototype.steps
Specifies the maximum number of steps for the morphing.
Defines the step size to offset the cells after each paste operation.
mxAnimation.prototype.stopAnimation = function()
Stops the animation by deleting the timer and fires an mxEvent.DONE.
mxDragSource.prototype.stopDrag = function()
Invokes removeDragElement.
mxCellEditor.prototype.stopEditing = function(cancel)
Stops the editor and applies the value if cancel is false.
mxGraph.prototype.stopEditing = function(cancel)
Stops the current editing and fires a editingStopped event.
mxMorphing.prototype.stopRecursion = function(state,
delta)
Returns true if the animation should not recursively find more deltas for children if the given parent state has been animated.
mxEdgeHandler.prototype.straightRemoveEnabled
Specifies if removing bends by creating straight segments should be enabled.
mxSvgCanvas2D.prototype.stroke = function()
Paints the outline of the current path.
mxVmlCanvas2D.prototype.stroke = function()
Paints the outline of the current path.
mxXmlCanvas2D.prototype.stroke = function()
Paints the outline of the current drawing buffer.
mxSvgCanvas2D.prototype.strokeTolerance
Adds transparent paths for strokes.
mxStencil.prototype.strokewidth
Holds the strokewidth direction from the description.
mxCell.prototype.style
Holds the style as a string of the form [(stylename|key=value);].
mxCellState.prototype.style
Contains an array of key, value pairs that represent the style of the cell.
mxShape.prototype.style
Optional reference to the style of the corresponding mxCellState.
Defines the key for the align style.
Defines the rounding factor for a rounded rectangle in percent (without the percent sign).
Defines the key for the aspect style.
Defines the key for the autosize style.
Defines the key for the bendable style.
Defines the key for the cloneable style.
Defines the key for the curved style.
Defines the key for the dashed style.
Defines the key for the deletable style.
Defines the key for the direction style.
Defines the key for the edge style.
Defines the key for the editable style.
Defines the key for the elbow style.
Defines the key for the end arrow marker.
Defines the key for the endFill style.
Defines the key for the endSize style.
Defines if the perimeter should be used to find the exact entry point along the perimeter of the target.
Defines the key for the horizontal relative coordinate connection point of an edge with its target terminal.
Defines the key for the vertical relative coordinate connection point of an edge with its target terminal.
Defines if the perimeter should be used to find the exact entry point along the perimeter of the source.
Defines the key for the horizontal relative coordinate connection point of an edge with its source terminal.
Defines the key for the vertical relative coordinate connection point of an edge with its source terminal.
Defines the key for the fill color.
Defines the key for the horizontal image flip.
Defines the key for the vertical flip.
Defines the key for the foldable style.
Defines the key for the fontColor style.
Defines the key for the fontFamily style.
Defines the key for the fontSize style (in points).
Defines the key for the fontStyle style.
Defines the key for the glass style.
Defines the key for the gradient direction.
Defines the key for the gradient color.
Defines the key for the horizontal style.
Defines the key for the image style.
Defines the key for the align style.
Defines the key for the image aspect style.
Defines the key for the image background color.
Defines the key for the image border color.
Defines the key for the imageHeight style.
Defines the key for the verticalAlign style.
Defines the key for the imageWidth style.
Defines the key for the indicatorColor style.
Defines the key for the indicatorDirection style.
Defines the key for the indicatorGradientColor style.
Defines the key for the indicator height.
Defines the key for the indicator image used within an mxLabel.
Defines the key for the indicator shape used within an mxLabel.
The defines the key for the spacing between the label and the indicator in mxLabel.
Defines the key for the indicator stroke color in mxLabel.
Defines the key for the indicator width.
Defines the key for the jetty size in mxEdgeStyle.OrthConnector.
Defines the key for the label background color.
Defines the key for the label border color.
Defines the key for the label padding, ie.
Defines the key for the horizontal label position of vertices.
Defines the key for the width of the label if the label position is not center.
Defines the key for the loop style.
Defines the key for the margin between the ellipses in the double ellipse shape.
Defines the key for the movable style.
Defines the key for the noEdgeStyle style.
Defines the key for the noLabel style.
Defines the key for the opacity style.
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.
Defines the key for the orthogonal loop style.
Defines the key for the overflow style.
Defines the key for the perimeter style.
Defines the key for the perimeter spacing.
Specifies if pointer events should be fired on transparent backgrounds.
Defines the direction(s) that edges are allowed to connect to cells in.
Define whether port constraint directions are rotated with vertex rotation.
Defines the key for the resizable style.
Defines the key for the resizeWidth style.
Defines the key for the rotatable style.
Defines the key for the rotation style.
Defines the key for the rounded style.
Defines the key for the horizontal routing center.
Defines the key for the vertical routing center.
Defines the key for the segment style.
Defines the key for the separatorColor style.
Defines the key for the shadow style.
Defines the key for the shape.
An experimental style for edges.
Defines the key for the jetty size in mxEdgeStyle.OrthConnector.
Defines the key for the source perimeter spacing.
Defines the ID of the cell that should be used for computing the perimeter point of the source for an edge.
Defines the key for the spacing.
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).
Defines the key for the spacingLeft style.
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).
Defines the key for the spacingTop style.
Defines the key for the start arrow marker.
Defines the key for the startFill style.
Defines the key for the startSize style.
Defines the key for the strokeColor style.
Defines the key for the strokeWidth style.
Defines the key for the fill color of the swimlane background.
Defines the key for the swimlaneLine style.
Defines the key for the target perimeter spacing.
Defines the ID of the cell that should be used for computing the perimeter point of the target for an edge.
Defines the key for the text direction style.
Defines the key for the text opacity style.
Defines the key for the verticalAlign style.
Defines the key for the vertical label position of vertices.
Defines the key for the white-space style.
this.styleEnabled
Stores the value of styleEnabled passed to the constructor.
mxGraphModel.prototype.styleForCellChanged = function(cell,
style)
Inner callback to update the style of the given mxCell using mxCell.setStyle and return the previous style.
Maps from names to cell styles.
mxGraph.prototype.stylesheet
Holds the mxStylesheet that defines the appearance of the cells.
mxPopupMenu.prototype.submenuImage
URL of the image to be used for the submenu icon.
submit: function(url,
params,
doc,
target)
Submits the given parameters to the specified URL using mxXmlRequest.simulate and returns the mxXmlRequest.
Specifies the event name for suspend.
mxOutline.prototype.suspended
Optional boolean flag to suspend updates.
mxShape.prototype.svgPointerEvents
Specifies if pointer events should be handled.
mxCylinder.prototype.svgStrokeTolerance
Sets stroke tolerance to 0 for SVG.
mxShape.prototype.svgStrokeTolerance
Event-tolerance for SVG strokes (in px).
mxGeometry.prototype.swap = function()
Swaps the x, y, width and height with the values stored in alternateBounds and puts the previous values into alternateBounds as a rectangle.
mxGraph.prototype.swapBounds = function(cell,
willCollapse)
Swaps the alternate and the actual bounds in the geometry of the given cell invoking updateAlternateBounds before carrying out the swap.
mxEditor.prototype.swapStyles = function (first,
second)
Swaps the styles for the given names in the graph’s stylesheet and refreshes the graph.
mxSwimlaneManager.prototype.swimlaneAdded = function(swimlane)
Updates the size of the given swimlane to match that of any existing siblings swimlanes.
mxGraph.prototype.swimlaneIndicatorColorAttribute
The attribute used to find the color for the indicator if the indicator color is set to ‘swimlane’.
mxGraph.prototype.swimlaneNesting
Specifies if nesting of swimlanes is allowed.
mxEditor.prototype.swimlaneRequired
Specifies if new cells must be inserted into an existing swimlane.
mxSwimlaneLayout.prototype.swimlanes
Holds the array of mxCell of the ordered swimlanes to lay out
mxGraph.prototype.swimlaneSelectionEnabled
Specifies if swimlanes should be selectable via the content if the mouse is released.
mxEditor.prototype.swimlaneSpacing
Specifies the spacing between swimlanes if automatic layout is turned on in layoutDiagram.
+
mxAbstractCanvas2D.prototype.save = function()
Saves the current state.
mxAutoSaveManager.prototype.save = function()
Empty hook that is called if the graph should be saved.
mxEditor.prototype.save = function (url,
linefeed)
Posts the string returned by writeGraphModel to the given URL or the URL returned by getUrlPost.
mxXmlCanvas2D.prototype.save = function()
Saves the drawing state.
Fires after the current file was saved in save.
Specifies the event name for open.
mxAbstractCanvas2D.prototype.scale = function(value)
Scales the current state.
mxGeometry.prototype.scale = function(sx,
sy,
fixedAspect)
Scales the geometry by the given amount.
mxGraphView.prototype.scale
Specifies the scale.
mxPrintPreview.prototype.scale
Holds the scale of the print preview.
mxShape.prototype.scale
Holds the scale in which the shape is being painted.
mxXmlCanvas2D.prototype.scale = function(value)
Scales the output.
Specifies the event name for scale.
Fires after the scale was changed in setScale.
Specifies the event name for scaleAndTranslate.
Fires after the scale and translate have been changed in scaleAndTranslate.
mxGraphView.prototype.scaleAndTranslate = function(scale,
dx,
dy)
Sets the scale and translation and fires a scale and translate event before calling revalidate followed by mxGraph.sizeDidChange.
mxGraph.prototype.scaleCell = function(cell,
dx,
dy,
recurse)
Scales the points, position and size of the given cell according to the given vertical and horizontal scaling factors.
mxGraphHandler.prototype.scaleGrid
Specifies if the grid should be scaled.
mxPopupMenuHandler.prototype.screenX
Screen X-coordinate of the mouse down event.
mxPopupMenuHandler.prototype.screenY
Screen Y-coordinate of the mouse down event.
mxGraph.prototype.scrollCellToVisible = function(cell,
center)
Pans the graph so that it shows the given cell.
mxGraphHandler.prototype.scrollOnMove
Specifies if the view should be scrolled so that a moved cell is visible.
mxGraph.prototype.scrollPointToVisible = function(x,
y,
extend,
border)
Scrolls the graph to the given point, extending the graph container if specified.
mxGraph.prototype.scrollRectToVisible = function(rect)
Pans the graph so that it shows the given rectangle.
SegmentConnector: function(state,
source,
target,
hints,
result)
Implements an orthogonal edge style.
mxCellState.prototype.segments
Array of numbers that represent the cached length of each segment of the edge.
mxConnectionHandler.prototype.select
Specifies if new edges should be selected.
Specifies the event name for select.
Fires when an item was selected in the toolbar.
mxGraph.prototype.selectAll = function(parent)
Selects all children of the given parent cell or the children of the default parent if no parent is specified.
mxGraph.prototype.selectCell = function(isNext,
isParent,
isChild)
Selects the next, parent, first child or previous cell, if all arguments are false.
mxGraph.prototype.selectCellForEvent = function(cell,
evt)
Selects the given cell by either adding it to the selection or replacing the selection depending on whether the given mouse event is a toggle event.
mxConnectionHandler.prototype.selectCells = function(edge,
target)
Selects the given edge after adding a new connection.
mxGraph.prototype.selectCells = function(vertices,
edges,
parent)
Selects all vertices and/or edges depending on the given boolean arguments recursively, starting at the given parent or the default parent if no parent is specified.
mxGraph.prototype.selectCellsForEvent = function(cells,
evt)
Selects the given cells by either adding them to the selection or replacing the selection depending on whether the given mouse event is a toggle event.
mxGraph.prototype.selectChildCell = function()
Selects the first child cell.
mxGraphHandler.prototype.selectDelayed = function(me)
Implements the delayed selection for the given mouse event.
mxGraphHandler.prototype.selectEnabled
Specifies if selecting is enabled.
Defines the dashed state to be used for the vertex selection border.
mxGraph.prototype.selectionModel
Holds the mxGraphSelectionModel that models the current selection.
mxToolbar.prototype.selectMode = function(domNode,
funct)
Resets the state of the previously selected mode and displays the given DOM node as selected.
mxGraph.prototype.selectNextCell = function()
Selects the next cell.
mxPopupMenuHandler.prototype.selectOnPopup
Specifies if cells should be selected if a popupmenu is displayed for them.
mxGraph.prototype.selectParentCell = function()
Selects the parent cell.
mxGraph.prototype.selectPreviousCell = function()
Selects the previous cell.
mxGraph.prototype.selectRegion = function(rect,
evt)
Selects and returns the cells inside the given rectangle for the specified event.
mxCellEditor.prototype.selectText
Specifies if the text should be selected when editing starts.
mxGraph.prototype.selectVertices = function(parent)
Select all vertices inside the given parent or the default parent.
mxXmlRequest.prototype.send = function(onload,
onerror,
timeout,
ontimeout)
Send the request to the target URL using the specified functions to process the response asychronously.
mxCellState.prototype.setAbsoluteTerminalPoint = function(point,
isSource)
Sets the first or last point in absolutePoints depending on isSource.
mxSwimlaneManager.prototype.setAddEnabled = function(value)
Sets addEnabled.
mxGraph.prototype.setAllowDanglingEdges = function(value)
Specifies if dangling edges are allowed, that is, if edges are allowed that do not have a source and/or target terminal defined.
mxGraphView.prototype.setAllowEval = function(value)
Sets allowEval.
mxGraph.prototype.setAllowLoops = function(value)
Specifies if loops are allowed.
mxAbstractCanvas2D.prototype.setAlpha = function(value)
Sets the current alpha.
mxXmlCanvas2D.prototype.setAlpha = function(value)
Sets the current alpha.
mxCell.prototype.setAttribute = function(name,
value)
Sets the specified attribute on the user object if it is an XML node.
mxCodec.prototype.setAttribute = function(node,
attribute,
value)
Sets the attribute on the specified node to value.
mxGraph.prototype.setAutoSizeCells = function(value)
Specifies if cell sizes should be automatically updated after a label change.
mxGraph.prototype.setBackgroundImage = function(image)
Sets the new backgroundImage.
mxUrlConverter.prototype.setBaseDomain = function(value)
Sets baseDomain.
mxUrlConverter.prototype.setBaseUrl = function(value)
Sets baseUrl.
mxXmlRequest.prototype.setBinary = function(value)
Sets binary.
mxGraph.prototype.setBorder = function(value)
Sets the value of border.
mxLayoutManager.prototype.setBubbling = function(value)
Sets bubbling.
mxGraphSelectionModel.prototype.setCell = function(cell)
Selects the specified mxCell using setCells.
mxCompactTreeLayout.prototype.setCellHeights = function(node,
rank)
Set the cells heights (relative to the layout direction) when the tops of each rank are to be aligned
mxCoordinateAssignment.prototype.setCellLocations = function(graph,
model)
Sets the cell locations in the facade to those stored after this layout processing step has completed.
setCells: function(cells)
Sets the cells in the clipboard.
mxGraphSelectionModel.prototype.setCells = function(cells)
Selects the given array of mxCells and fires a change event.
mxGraph.prototype.setCellsBendable = function(value)
Specifies if the graph should allow bending of edges.
mxGraph.prototype.setCellsCloneable = function(value)
Specifies if the graph should allow cloning of cells by holding down the control key while cells are being moved.
mxGraph.prototype.setCellsDeletable = function(value)
Sets cellsDeletable.
mxGraph.prototype.setCellsDisconnectable = function(value)
Sets cellsDisconnectable.
mxGraph.prototype.setCellsEditable = function(value)
Specifies if the graph should allow in-place editing for cell labels.
mxGraph.prototype.setCellsMovable = function(value)
Specifies if the graph should allow moving of cells.
mxGraph.prototype.setCellsResizable = function(value)
Specifies if the graph should allow resizing of cells.
mxGraph.prototype.setCellsSelectable = function(value)
Sets cellsSelectable.
mxGraph.prototype.setCellStyle = function(style,
cells)
Sets the style of the specified cells.
mxGraph.prototype.setCellStyleFlags = function(key,
flag,
value,
cells)
Sets or toggles the given bit for the given key in the styles of the specified cells.
setCellStyleFlags: function(model,
cells,
key,
flag,
value)
Sets or toggles the flag bit for the given key in the cell’s styles.
mxGraph.prototype.setCellStyles = function(key,
value,
cells)
Sets the key to value in the styles of the given cells.
setCellStyles: function(model,
cells,
key,
value)
Assigns the value for the given key in the styles of the given cells, or removes the key from the styles if the value is null.
mxGraph.prototype.setCellWarning = function(cell,
warning,
img,
isSelect)
Creates an overlay for the given cell using the warning and image or warningImage and returns the new mxCellOverlay.
mxGraphHandler.prototype.setCloneEnabled = function(value)
Sets cloneEnabled.
mxGraph.prototype.setCloneInvalidEdges = function(value)
Specifies if edges should be inserted when cloned but not valid wrt.
mxWindow.prototype.setClosable = function(closable)
Sets the image associated with the window.
mxCell.prototype.setCollapsed = function(collapsed)
Sets the collapsed state.
mxGraphModel.prototype.setCollapsed = function(cell,
collapsed)
Sets the collapsed state of the given mxCell using mxCollapseChange and adds the change to the current transaction.
mxCell.prototype.setConnectable = function(connectable)
Sets the connectable state.
mxGraph.prototype.setConnectable = function(connectable)
Specifies if the graph should allow new connections.
mxGraph.prototype.setConnectableEdges = function(value)
Specifies if edges should be connectable.
mxGraph.prototype.setConnectionConstraint = function(edge,
terminal,
source,
constraint)
Sets the mxConnectionConstraint that describes the given connection point.
mxGraph.prototype.setConstrainChildren = function(value)
Sets constrainChildren.
mxGraph.prototype.setConstrainChildrenOnResize = function(value)
Sets constrainChildrenOnResize.
mxGraphModel.prototype.setCreateIds = function(value)
Sets createIds.
mxConnectionHandler.prototype.setCreateTarget = function(value)
Sets createTarget.
mxGraphView.prototype.setCurrentRoot = function(root)
Sets and returns the current root and fires an undo event before calling mxGraph.sizeDidChange.
mxCellMarker.prototype.setCurrentState = function(state,
me,
color)
Sets and marks the current valid state.
mxCellState.prototype.setCursor = function(cursor)
Sets the given cursor on the shape and text shape.
mxShape.prototype.setCursor = function(cursor)
Sets the cursor on the given shape.
mxAbstractCanvas2D.prototype.setDashed = function(value)
Enables or disables dashed lines.
mxXmlCanvas2D.prototype.setDashed = function(value)
Enables or disables dashed lines.
mxAbstractCanvas2D.prototype.setDashPattern = function(value)
Sets the current dash pattern.
mxXmlCanvas2D.prototype.setDashPattern = function(value)
Sets the current dash pattern.
mxGraph.prototype.setDefaultParent = function(cell)
Sets the defaultParent to the given cell.
mxGraph.prototype.setDisconnectOnMove = function(value)
Specifies if edges should be disconnected when moved.
mxGraph.prototype.setDropEnabled = function(value)
Specifies if the graph should allow dropping of cells onto or into other cells.
mxCell.prototype.setEdge = function(edge)
Specifies if the cell is an edge.
mxGraphLayout.prototype.setEdgePoints = function(edge,
points)
Replaces the array of mxPoints in the geometry of the given edge with the given array of mxPoints.
mxCoordinateAssignment.prototype.setEdgePosition = function(cell)
Fixes the control points
mxGraphLayout.prototype.setEdgeStyleEnabled = function(edge,
value)
Disables or enables the edge style of the given edge.
mxAutoSaveManager.prototype.setEnabled = function(value)
Enables or disables event handling.
mxCellMarker.prototype.setEnabled = function(enabled)
Enables or disables event handling.
mxConnectionHandler.prototype.setEnabled = function(enabled)
Enables or disables event handling.
mxConstraintHandler.prototype.setEnabled = function(enabled)
Enables or disables event handling.
mxDragSource.prototype.setEnabled = function(value)
Sets enabled.
mxGraph.prototype.setEnabled = function(value)
Specifies if the graph should allow any interactions.
mxGraphHandler.prototype.setEnabled = function(value)
Sets enabled.
mxKeyHandler.prototype.setEnabled = function(enabled)
Enables or disables event handling by updating enabled.
mxLayoutManager.prototype.setEnabled = function(enabled)
Enables or disables event handling.
mxOutline.prototype.setEnabled = function(value)
Enables or disables event handling.
mxPopupMenu.prototype.setEnabled = function(enabled)
Enables or disables event handling.
mxRubberband.prototype.setEnabled = function(enabled)
Enables or disables event handling.
mxSelectionCellsHandler.prototype.setEnabled = function(value)
Sets enabled.
mxSwimlaneManager.prototype.setEnabled = function(value)
Enables or disables event handling.
mxTooltipHandler.prototype.setEnabled = function(enabled)
Enables or disables event handling.
mxUrlConverter.prototype.setEnabled = function(value)
Sets enabled.
mxGraph.prototype.setEnterStopsCellEditing = function(value)
Sets enterStopsCellEditing.
mxGraph.prototype.setEscapeEnabled = function(value)
Sets escapeEnabled.
mxEventSource.prototype.setEventsEnabled = function(value)
Sets eventsEnabled.
mxEventSource.prototype.setEventSource = function(value)
Sets eventSource.
mxGraph.prototype.setExtendParents = function(value)
Sets extendParents.
mxGraph.prototype.setExtendParentsOnAdd = function(value)
Sets extendParentsOnAdd.
mxGraph.prototype.setExtendParentsOnMove = function(value)
Sets extendParentsOnAdd.
mxAbstractCanvas2D.prototype.setFillAlpha = function(value)
Sets the current solid fill alpha.
mxXmlCanvas2D.prototype.setFillAlpha = function(value)
Sets the current fill alpha.
mxAbstractCanvas2D.prototype.setFillColor = function(value)
Sets the current fill color.
mxXmlCanvas2D.prototype.setFillColor = function(value)
Sets the current fill color.
mxConstraintHandler.prototype.setFocus = function(me,
state,
source)
Transfers the focus to the given state as a source or target terminal.
mxXmlCanvas2D.prototype.setFontBackgroundColor = function(value)
Sets the current font background color.
mxXmlCanvas2D.prototype.setFontBorderColor = function(value)
Sets the current font border color.
mxAbstractCanvas2D.prototype.setFontColor = function(value)
Sets the current font color.
mxXmlCanvas2D.prototype.setFontColor = function(value)
Sets the current font color.
mxAbstractCanvas2D.prototype.setFontFamily = function(value)
Sets the current font family.
mxXmlCanvas2D.prototype.setFontFamily = function(value)
Sets the current font family.
mxAbstractCanvas2D.prototype.setFontSize = function(value)
Sets the current font size.
mxXmlCanvas2D.prototype.setFontSize = function(value)
Sets the current font size.
mxAbstractCanvas2D.prototype.setFontStyle = function(value)
Sets the current font style.
mxXmlCanvas2D.prototype.setFontStyle = function(value)
Sets the current font style.
mxGraphAbstractHierarchyCell.prototype.setGeneralPurposeVariable = function(
   layer,
   value
)
Set the value of temp for the specified layer
mxGraphHierarchyEdge.prototype.setGeneralPurposeVariable = function(layer,
value)
Set the value of temp for the specified layer
mxGraphHierarchyNode.prototype.setGeneralPurposeVariable = function(layer,
value)
Set the value of temp for the specified layer
mxCell.prototype.setGeometry = function(geometry)
Sets the mxGeometry to be used as the geometry.
mxGraphModel.prototype.setGeometry = function(cell,
geometry)
Sets the mxGeometry of the given mxCell.
mxAbstractCanvas2D.prototype.setGradient = function(color1,
color2,
x,
y,
w,
h,
direction,
alpha1,
alpha2)
Sets the current gradient.
mxXmlCanvas2D.prototype.setGradient = function(color1,
color2,
x,
y,
w,
h,
direction,
alpha1,
alpha2)
Sets the gradient.
mxAutoSaveManager.prototype.setGraph = function(graph)
Sets the graph that the layouts operate on.
mxLayoutManager.prototype.setGraph = function(graph)
Sets the graph that the layouts operate on.
mxSwimlaneManager.prototype.setGraph = function(graph)
Sets the graph that the manager operates on.
mxGraphView.prototype.setGraphBounds = function(value)
Sets graphBounds.
mxEditor.prototype.setGraphContainer = function (container)
Sets the graph’s container using mxGraph.init.
mxDragSource.prototype.setGridEnabled = function(value)
Sets gridEnabled.
mxGraph.prototype.setGridEnabled = function(value)
Specifies if the grid should be enabled.
mxGraph.prototype.setGridSize = function(value)
Sets gridSize.
mxDragSource.prototype.setGuidesEnabled = function(value)
Sets guidesEnabled.
mxTooltipHandler.prototype.setHideOnHover = function(value)
Sets hideOnHover.
mxCellHighlight.prototype.setHighlightColor = function(color)
Sets the color of the rectangle used to highlight drop targets.
mxGraphHandler.prototype.setHighlightColor = function(color)
Sets the color of the rectangle used to highlight drop targets.
mxSwimlaneManager.prototype.setHorizontal = function(value)
Sets horizontal.
mxCellMarker.prototype.setHotspot = function(hotspot)
Sets the hotspot.
mxCellMarker.prototype.setHotspotEnabled = function(enabled)
Specifies whether the hotspot should be used in intersects.
mxGraph.prototype.setHtmlLabels = function(value)
Sets htmlLabels.
mxCell.prototype.setId = function(id)
Sets the Id of the cell to the given string.
mxWindow.prototype.setImage = function(image)
Sets the image associated with the window.
Sets the inner HTML of the given element to the value.
mxGraph.prototype.setInvokesStopCellEditing = function(value)
Sets invokesStopCellEditing.
mxAbstractCanvas2D.prototype.setLineCap = function(value)
Sets the current line cap.
mxXmlCanvas2D.prototype.setLineCap = function(value)
Sets the line cap.
mxAbstractCanvas2D.prototype.setLineJoin = function(value)
Sets the current line join.
mxXmlCanvas2D.prototype.setLineJoin = function(value)
Sets the line join.
mxAbstractCanvas2D.prototype.setLink = function(link)
Sets the current link.
mxSvgCanvas2D.prototype.setLink = function(link)
Experimental implementation for hyperlinks.
mxWindow.prototype.setLocation = function(x,
y)
Sets the upper, left corner of the window.
Sets if any cell may be moved, sized, bended, disconnected, edited or selected.
mxWindow.prototype.setMaximizable = function(maximizable)
Sets if the window is maximizable.
mxWindow.prototype.setMinimizable = function(minimizable)
Sets if the window is minimizable.
mxAbstractCanvas2D.prototype.setMiterLimit = function(value)
Sets the current miter limit.
mxXmlCanvas2D.prototype.setMiterLimit = function(value)
Sets the miter limit.
mxEditor.prototype.setMode = function(modename)
Puts the graph into the specified mode.
mxEditor.prototype.setModified = function (value)
Sets modified to the specified boolean value.
mxGraphHandler.prototype.setMoveEnabled = function(value)
Sets moveEnabled.
mxGraph.prototype.setMultigraph = function(value)
Specifies if the graph should allow multiple connections between the same pair of vertices.
setOpacity: function(node,
value)
Sets the opacity of the specified DOM node to the given value in %.
mxGraphLayout.prototype.setOrthogonalEdge = function(edge,
value)
Disables or enables orthogonal end segments of the given edge.
mxGraph.prototype.setPanning = function(enabled)
Specifies if panning should be enabled.
mxPanningHandler.prototype.setPanningEnabled = function(value)
Sets panningEnabled.
mxCell.prototype.setParent = function(parent)
Sets the parent cell.
mxPanningHandler.prototype.setPinchEnabled = function(value)
Sets pinchEnabled.
mxGraph.prototype.setPortsEnabled = function(value)
Specifies if the ports should be enabled.
mxHandle.prototype.setPosition = function(bounds,
pt,
me)
Hooks for subclassers to update the style in the state.
setPrefixedStyle: function()
Adds the given style with the standard name and an optional vendor prefix for the current browser.
mxEdgeHandler.prototype.setPreviewColor = function(color)
Sets the color of the preview to the given value.
mxRectangle.prototype.setRect = function(x,
y,
w,
h)
Sets this rectangle to the specified values
mxGraph.prototype.setRecursiveResize = function(value)
Sets recursiveResize.
mxGraphHandler.prototype.setRemoveCellsFromParent = function(value)
Sets removeCellsFromParent.
mxGraphView.prototype.setRendering = function(value)
Sets rendering.
mxXmlRequest.prototype.setRequestHeaders = function(request,
params)
Sets the headers for the given request and parameters.
mxWindow.prototype.setResizable = function(resizable)
Sets if the window should be resizable.
mxGraph.prototype.setResizeContainer = function(value)
Sets resizeContainer.
mxSwimlaneManager.prototype.setResizeEnabled = function(value)
Sets resizeEnabled.
mxGraphModel.prototype.setRoot = function(root)
Sets the root of the model using mxRootChange and adds the change to the current transaction.
mxGraphView.prototype.setScale = function(value)
Sets the scale and fires a scale event before calling revalidate followed by mxGraph.sizeDidChange.
mxWindow.prototype.setScrollable = function(scrollable)
Sets if the window contents should be scrollable.
mxGraphHandler.prototype.setSelectEnabled = function(value)
Sets selectEnabled.
mxGraph.prototype.setSelectionCell = function(cell)
Sets the selection cell.
mxGraph.prototype.setSelectionCells = function(cells)
Sets the selection cell.
mxGraph.prototype.setSelectionModel = function(selectionModel)
Sets the mxSelectionModel that contains the selection.
mxAbstractCanvas2D.prototype.setShadow = function(enabled)
Enables or disables and configures the current shadow.
mxXmlCanvas2D.prototype.setShadow = function(value)
Enables or disables shadows.
mxAbstractCanvas2D.prototype.setShadowAlpha = function(value)
Enables or disables and configures the current shadow.
mxXmlCanvas2D.prototype.setShadowAlpha = function(value)
Sets the current shadows alpha.
mxAbstractCanvas2D.prototype.setShadowColor = function(value)
Enables or disables and configures the current shadow.
mxXmlCanvas2D.prototype.setShadowColor = function(value)
Sets the current shadow color.
mxAbstractCanvas2D.prototype.setShadowOffset = function(dx,
dy)
Enables or disables and configures the current shadow.
mxXmlCanvas2D.prototype.setShadowOffset = function(dx,
dy)
Sets the current shadow offset.
mxGraphSelectionModel.prototype.setSingleSelection = function(singleSelection)
Sets the singleSelection flag.
mxWindow.prototype.setSize = function(width,
height)
Sets the size of the window.
mxGraph.prototype.setSplitEnabled = function(value)
Specifies if the graph should allow dropping of cells onto or into other cells.
mxCellState.prototype.setState = function(state)
Copies all fields from the given state to this state.
mxGraphView.prototype.setStates = function(value)
Sets states.
mxGuide.prototype.setStates = function(states)
Sets the mxCellStates that should be used for alignment.
mxEditor.prototype.setStatus = function (message)
Display the specified message in the status bar.
mxEditor.prototype.setStatusContainer = function (container)
Creates the status using the specified container.
mxAbstractCanvas2D.prototype.setStrokeAlpha = function(value)
Sets the current stroke alpha.
mxXmlCanvas2D.prototype.setStrokeAlpha = function(value)
Sets the current stroke alpha.
mxAbstractCanvas2D.prototype.setStrokeColor = function(value)
Sets the current stroke color.
mxXmlCanvas2D.prototype.setStrokeColor = function(value)
Sets the current stroke color.
mxAbstractCanvas2D.prototype.setStrokeWidth = function(value)
Sets the current stroke width.
mxXmlCanvas2D.prototype.setStrokeWidth = function(value)
Sets the current stroke width.
mxCell.prototype.setStyle = function(style)
Sets the string to be used as the style.
mxGraphModel.prototype.setStyle = function(cell,
style)
Sets the style of the given mxCell using mxStyleChange and adds the change to the current transaction.
setStyle: function(style,
key,
value)
Adds or removes the given key, value pair to the style and returns the new style.
setStyleFlag: function(style,
key,
flag,
value)
Sets or removes the given key from the specified style and returns the new style.
mxGraph.prototype.setStylesheet = function(stylesheet)
Sets the mxStylesheet that defines the style.
mxGraph.prototype.setSwimlaneNesting = function(value)
Specifies if swimlanes can be nested by drag and drop.
mxGraph.prototype.setSwimlaneSelectionEnabled = function(value)
Specifies if swimlanes should be selected if the mouse is released over their content area.
mxCell.prototype.setTerminal = function(terminal,
isSource)
Sets the source or target terminal and returns the new terminal.
mxGraphModel.prototype.setTerminal = function(edge,
terminal,
isSource)
Sets the source or target terminal of the given mxCell using mxTerminalChange and adds the change to the current transaction.
mxGeometry.prototype.setTerminalPoint = function(point,
isSource)
Sets the sourcePoint or targetPoint to the given mxPoint and returns the new point.
mxGraphModel.prototype.setTerminals = function(edge,
source,
target)
Sets the source and target mxCell of the given mxCell in a single transaction using setTerminal for each end of the edge.
setTextContent: function(node,
text)
Sets the text content of the specified node.
mxWindow.prototype.setTitle = function(title)
Sets the window title to the given string.
mxEditor.prototype.setTitleContainer = function (container)
Creates a listener to update the inner HTML of the specified DOM node with the value of getTitle.
mxGraph.prototype.setTolerance = function(value)
Sets tolerance.
mxEditor.prototype.setToolbarContainer = function (container)
Initializes the toolbar for the given container.
mxGraph.prototype.setTooltips = function (enabled)
Specifies if tooltips should be enabled.
mxGraphView.prototype.setTranslate = function(dx,
dy)
Sets the translation and fires a translate event before calling revalidate followed by mxGraph.sizeDidChange.
mxShape.prototype.setTransparentBackgroundImage = function(node)
Sets a transparent background CSS style to catch all events.
mxCell.prototype.setValue = function(value)
Sets the user object of the cell.
mxGraphModel.prototype.setValue = function(cell,
value)
Sets the user object of then given mxCell using mxValueChange and adds the change to the current transaction.
mxCell.prototype.setVertex = function(vertex)
Specifies if the cell is a vertex.
mxGraph.prototype.setVertexLabelsMovable = function(value)
Sets vertexLabelsMovable.
mxCoordinateAssignment.prototype.setVertexLocation = function(cell)
Fixes the position of the specified vertex.
mxGraphLayout.prototype.setVertexLocation = function(cell,
x,
y)
Sets the new position of the given cell taking into account the size of the bounding box if useBoundingBox is true.
mxCell.prototype.setVisible = function(visible)
Specifies if the cell is visible.
mxGraphModel.prototype.setVisible = function(cell,
visible)
Sets the visible state of the given mxCell using mxVisibleChange and adds the change to the current transaction.
mxGuide.prototype.setVisible = function(visible)
Shows or hides the current guides.
mxHandle.prototype.setVisible = function(visible)
Shows or hides this handle.
setVisible: function(visible)
Shows or hides the console.
mxWindow.prototype.setVisible = function(visible)
Shows or hides the window depending on the given flag.
mxCellState.prototype.setVisibleTerminalState = function(terminalState,
source)
Sets the visible source or target terminal state.
mxGraphAbstractHierarchyCell.prototype.setX = function(layer,
value)
Set the value of x for the specified layer
mxGraphAbstractHierarchyCell.prototype.setY = function(layer,
value)
Set the value of y for the specified layer
mxOutline.prototype.setZoomEnabled = function(value)
Enables or disables the zoom handling by showing or hiding the respective handle.
Specifies the x-offset of the shadow.
Specifies the y-offset of the shadow.
Defines the opacity for shadows.
Defines the color to be used to draw shadows in shapes and windows.
mxCellState.prototype.shape
Holds the mxShape that represents the cell graphically.
mxEdgeHandler.prototype.shape
Holds the mxShape that represents the preview edge.
mxGraphHandler.prototype.shape
Reference to the mxShape that represents the preview.
Name under which mxActor is registered in mxCellRenderer.
Name under which mxArrow is registered in mxCellRenderer.
Name under which mxArrowConnector is registered in mxCellRenderer.
Name under which mxCloud is registered in mxCellRenderer.
Name under which mxConnector is registered in mxCellRenderer.
Name under which mxCylinder is registered in mxCellRenderer.
Name under which mxDoubleEllipse is registered in mxCellRenderer.
Name under which mxEllipse is registered in mxCellRenderer.
Name under which mxHexagon is registered in mxCellRenderer.
Name under which mxImageShape is registered in mxCellRenderer.
Name under which mxLabel is registered in mxCellRenderer.
Name under which mxLine is registered in mxCellRenderer.
Name under which mxRectangleShape is registered in mxCellRenderer.
Name under which mxRhombus is registered in mxCellRenderer.
Name under which mxSwimlane is registered in mxCellRenderer.
Name under which mxTriangle is registered in mxCellRenderer.
mxShape.prototype.shapePointerEvents
Specifies if pointer events outside of shape should be handled.
mxRubberband.prototype.sharedDiv
Holds the DIV element which is used to display the rubberband.
mxKeyHandler.prototype.shiftKeys
Maps from keycodes to functions for pressed shift keys.
mxGraphHandler.prototype.shouldRemoveCellsFromParent = function(parent,
cells,
evt)
Returns true if the given cells should be removed from the parent for the specified mousereleased event.
mxCellStatePreview.prototype.show = function(visitor)
show: function()
Shows the console.
mxMorphing.prototype.show = function(move)
Shows the changes in the given mxCellStatePreview.
mxTooltipHandler.prototype.show = function(tip,
x,
y)
Shows the tooltip for the specified cell and optional index at the specified location (with a vertical offset of 10 pixels).
show: function(graph,
doc,
x0,
y0,
w,
h)
Copies the styles and the markup from the graph’s container into the given document and removes all cursor styles.
mxWindow.prototype.show = function()
Shows the window.
Specifies the event name for show.
Fires after the menu has been shown in popup.
Fires after the window is shown.
mxEditor.prototype.showHelp = function (tasks)
Shows the help window.
mxPopupMenu.prototype.showMenu = function()
Shows the menu.
mxEditor.prototype.showOutline = function ()
Shows the outline window.
mxEditor.prototype.showProperties = function (cell)
Creates and shows the properties dialog for the given cell.
mxPopupMenu.prototype.showSubmenu = function(parent,
row)
Shows the submenu inside the given parent row.
mxEditor.prototype.showTasks = function ()
Shows the tasks window.
mxOutline.prototype.showViewport
Specifies a viewport rectangle should be shown.
SideToSide: function (state,
source,
target,
points,
result)
Implements a vertical elbow edge.
mxUndoableEdit.prototype.significant
Specifies if the undoable change is significant.
mxXmlRequest.prototype.simulate = function(doc,
target)
Creates and posts a request to the given target URL using a dynamically created form inside the given document.
mxGraphSelectionModel.prototype.singleSelection
Specifies if only one selected item at a time is allowed.
mxVertexHandler.prototype.singleSizer
Specifies if only one sizer handle at the bottom, right corner should be used.
mxUndoManager.prototype.size
Maximum command history size.
Specifies the event name for size.
Fires after sizeDidChange was executed.
mxGraph.prototype.sizeDidChange = function()
Called when the size of the graph has changed.
mxOutline.prototype.sizerImage
Optional mxImage to be used for the sizer.
mxPopupMenu.prototype.smartSeparators
Specifies if separators should only be added if a menu item follows them.
mxGraph.prototype.snap = function(value)
Snaps the given numeric value to the grid if gridEnabled is true.
mxGraphHandler.prototype.snap = function(vector)
Snaps the given vector to the grid and returns the given mxPoint instance.
mxHandle.prototype.snapPoint = function(pt,
ignore)
Snaps the given point to the grid if ignore is false.
mxConnectionHandler.prototype.snapToPreview = function(me,
point)
Called to snap the given point to the current preview.
mxEdgeHandler.prototype.snapToTerminals
Specifies if waypoints should snap to the routing centers of terminals.
sortCells: function(cells,
ascending)
Sorts the given cells according to the order in the cell hierarchy.
mxCompactTreeLayout.prototype.sortEdges
Specifies if edges should be sorted according to the order of their opposite terminal cell in the model.
mxRadialTreeLayout.prototype.sortEdges
Specifies if edges should be sorted according to the order of their opposite terminal cell in the model.
mxCompactTreeLayout.prototype.sortOutgoingEdges = function(source,
edges)
Called if sortEdges is true to sort the array of outgoing edges in place.
mxCell.prototype.source
Reference to the source terminal.
mxGraphHierarchyEdge.prototype.source
The node this edge is sourced at
mxMultiplicity.prototype.source
Boolean that specifies if the rule is applied to the source or target terminal of an edge.
Reference to the source mxGraph.
mxUndoableEdit.prototype.source
Specifies the source of the edit.
mxGeometry.prototype.sourcePoint
Defines the source mxPoint of the edge.
mxGraphHierarchyModel.prototype.SOURCESCANSTARTRANK
High value to start source layering scan rank value from.
mxSwimlaneModel.prototype.SOURCESCANSTARTRANK
High value to start source layering scan rank value from.
mxMouseEvent.prototype.sourceState
Holds the mxCellState that was passed to the constructor.
mxCellHighlight.prototype.spacing
Specifies the spacing between the highlight for vertices and the vertex.
mxDefaultToolbar.prototype.spacing
Defines the spacing between existing and new vertices in gridSize units when a new vertex is dropped on an existing cell.
mxLabel.prototype.spacing
Default value for image spacing.
mxParallelEdgeLayout.prototype.spacing
Defines the spacing between the parallels.
mxPartitionLayout.prototype.spacing
Integer that specifies the absolute spacing in pixels between the children.
mxStackLayout.prototype.spacing
Specifies the spacing between the cells.
Specifies the event name for splitEdge.
Fires between begin- and endUpdate in splitEdge.
mxGraph.prototype.splitEdge = function(edge,
cells,
newEdge,
dx,
dy)
Splits the given edge by adding the newEdge between the previous source and the given cell and reconnecting the source of the given edge to the given cell.
mxGraph.prototype.splitEnabled
Specifies if dropping onto edges should be enabled.
mxImage.prototype.src
String that specifies the URL of the image.
mxConnectionHandler.prototype.start = function(state,
x,
y,
edgeState)
Starts a new connection for the given state and coordinates.
mxEdgeHandler.prototype.start = function(x,
y,
index)
Starts the handling of the mouse gesture.
mxGraphHandler.prototype.start = function(cell,
x,
y)
Starts the handling of the mouse gesture.
mxPanningHandler.prototype.start = function(me)
Starts panning at the given event.
mxRubberband.prototype.start = function(x,
y)
Sets the start point for the rubberband selection.
mxVertexHandler.prototype.start = function(x,
y,
index)
Starts the handling of the mouse gesture.
Fires when a new connection is being created by the user.
Specifies the event name for start.
Specifies the event name for startEdit.
Fires after the updateLevel was changed from 0 to 1.
Fires before a set of changes will be executed in undo or redo.
Specifies the event name for startEditing.
Fires before the in-place editor starts in startEditingAtCell.
mxAnimation.prototype.startAnimation = function()
Starts the animation by repeatedly invoking updateAnimation.
mxDragSource.prototype.startDrag = function(evt)
Creates the dragElement using createDragElement.
mxCellEditor.prototype.startEditing = function(cell,
trigger)
Starts the editor for the given cell.
mxGraph.prototype.startEditing = function(evt)
Calls startEditingAtCell using the given cell or the first selection cell.
mxGraph.prototype.startEditingAtCell = function(cell,
evt)
Fires a startEditing event and invokes mxCellEditor.startEditing on editor.
mxPanningHandler.prototype.startX
Holds the x-coordinate of the start point.
mxPanningHandler.prototype.startY
Holds the y-coordinate of the start point.
mxAbstractCanvas2D.prototype.state
Holds the current state.
mxCellHighlight.prototype.state
Reference to the mxCellState.
mxEdgeHandler.prototype.state
Reference to the mxCellState being modified.
mxMouseEvent.prototype.state
Holds the optional mxCellState associated with this event.
mxShape.prototype.state
Optional reference to the corresponding mxCellState.
mxVertexHandler.prototype.state
Reference to the mxCellState being modified.
mxAbstractCanvas2D.prototype.states
Stack of states.
mxGuide.prototype.states
Contains the mxCellStates that are used for alignment.
mxGraphView.prototype.stateValidated = function(state)
Invoked when a state has been processed in validatePoints.
mxEditor.prototype.status
DOM container that holds the statusbar.
mxShape.prototype.stencil
Holds the mxStencil that defines the shape.
mxShape.prototype.stencilPointerEvents
Specifies if pointer events outside of stencils should be handled.
mxMorphing.prototype.step
Contains the current step.
mxMorphing.prototype.steps
Specifies the maximum number of steps for the morphing.
Defines the step size to offset the cells after each paste operation.
mxAnimation.prototype.stopAnimation = function()
Stops the animation by deleting the timer and fires an mxEvent.DONE.
mxDragSource.prototype.stopDrag = function()
Invokes removeDragElement.
mxCellEditor.prototype.stopEditing = function(cancel)
Stops the editor and applies the value if cancel is false.
mxGraph.prototype.stopEditing = function(cancel)
Stops the current editing and fires a editingStopped event.
mxMorphing.prototype.stopRecursion = function(state,
delta)
Returns true if the animation should not recursively find more deltas for children if the given parent state has been animated.
mxEdgeHandler.prototype.straightRemoveEnabled
Specifies if removing bends by creating straight segments should be enabled.
mxSvgCanvas2D.prototype.stroke = function()
Paints the outline of the current path.
mxVmlCanvas2D.prototype.stroke = function()
Paints the outline of the current path.
mxXmlCanvas2D.prototype.stroke = function()
Paints the outline of the current drawing buffer.
mxSvgCanvas2D.prototype.strokeTolerance
Adds transparent paths for strokes.
mxStencil.prototype.strokewidth
Holds the strokewidth direction from the description.
mxCell.prototype.style
Holds the style as a string of the form [(stylename|key=value);].
mxCellState.prototype.style
Contains an array of key, value pairs that represent the style of the cell.
mxShape.prototype.style
Optional reference to the style of the corresponding mxCellState.
Defines the key for the align style.
Defines the rounding factor for a rounded rectangle in percent (without the percent sign).
Defines the key for the aspect style.
Defines the key for the autosize style.
Defines the key for the bendable style.
Defines the key for the cloneable style.
Defines the key for the curved style.
Defines the key for the dashed style.
Defines the key for the deletable style.
Defines the key for the direction style.
Defines the key for the edge style.
Defines the key for the editable style.
Defines the key for the elbow style.
Defines the key for the end arrow marker.
Defines the key for the endFill style.
Defines the key for the endSize style.
Defines if the perimeter should be used to find the exact entry point along the perimeter of the target.
Defines the key for the horizontal relative coordinate connection point of an edge with its target terminal.
Defines the key for the vertical relative coordinate connection point of an edge with its target terminal.
Defines if the perimeter should be used to find the exact entry point along the perimeter of the source.
Defines the key for the horizontal relative coordinate connection point of an edge with its source terminal.
Defines the key for the vertical relative coordinate connection point of an edge with its source terminal.
Defines the key for the fill opacity style.
Defines the key for the fill color.
Defines the key for the horizontal image flip.
Defines the key for the vertical flip.
Defines the key for the foldable style.
Defines the key for the fontColor style.
Defines the key for the fontFamily style.
Defines the key for the fontSize style (in points).
Defines the key for the fontStyle style.
Defines the key for the glass style.
Defines the key for the gradient direction.
Defines the key for the gradient color.
Defines the key for the horizontal style.
Defines the key for the image style.
Defines the key for the align style.
Defines the key for the image aspect style.
Defines the key for the image background color.
Defines the key for the image border color.
Defines the key for the imageHeight style.
Defines the key for the verticalAlign style.
Defines the key for the imageWidth style.
Defines the key for the indicatorColor style.
Defines the key for the indicatorDirection style.
Defines the key for the indicatorGradientColor style.
Defines the key for the indicator height.
Defines the key for the indicator image used within an mxLabel.
Defines the key for the indicator shape used within an mxLabel.
The defines the key for the spacing between the label and the indicator in mxLabel.
Defines the key for the indicator stroke color in mxLabel.
Defines the key for the indicator width.
Defines the key for the jetty size in mxEdgeStyle.OrthConnector.
Defines the key for the label background color.
Defines the key for the label border color.
Defines the key for the label padding, ie.
Defines the key for the horizontal label position of vertices.
Defines the key for the width of the label if the label position is not center.
Defines the key for the loop style.
Defines the key for the margin between the ellipses in the double ellipse shape.
Defines the key for the movable style.
Defines the key for the noEdgeStyle style.
Defines the key for the noLabel style.
Defines the key for the opacity style.
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.
Defines the key for the orthogonal loop style.
Defines the key for the overflow style.
Defines the key for the perimeter style.
Defines the key for the perimeter spacing.
Specifies if pointer events should be fired on transparent backgrounds.
Defines the direction(s) that edges are allowed to connect to cells in.
Define whether port constraint directions are rotated with vertex rotation.
Defines the key for the resizable style.
Defines the key for the resizeWidth style.
Defines the key for the rotatable style.
Defines the key for the rotation style.
Defines the key for the rounded style.
Defines the key for the horizontal routing center.
Defines the key for the vertical routing center.
Defines the key for the segment style.
Defines the key for the separatorColor style.
Defines the key for the shadow style.
Defines the key for the shape.
An experimental style for edges.
Defines the key for the jetty size in mxEdgeStyle.OrthConnector.
Defines the key for the source perimeter spacing.
Defines the ID of the cell that should be used for computing the perimeter point of the source for an edge.
Defines the key for the spacing.
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).
Defines the key for the spacingLeft style.
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).
Defines the key for the spacingTop style.
Defines the key for the start arrow marker.
Defines the key for the startFill style.
Defines the key for the startSize style.
Defines the key for the stroke opacity style.
Defines the key for the strokeColor style.
Defines the key for the strokeWidth style.
Defines the key for the fill color of the swimlane background.
Defines the key for the swimlaneLine style.
Defines the key for the target perimeter spacing.
Defines the ID of the cell that should be used for computing the perimeter point of the target for an edge.
Defines the key for the text direction style.
Defines the key for the text opacity style.
Defines the key for the verticalAlign style.
Defines the key for the vertical label position of vertices.
Defines the key for the white-space style.
this.styleEnabled
Stores the value of styleEnabled passed to the constructor.
mxGraphModel.prototype.styleForCellChanged = function(cell,
style)
Inner callback to update the style of the given mxCell using mxCell.setStyle and return the previous style.
Maps from names to cell styles.
mxGraph.prototype.stylesheet
Holds the mxStylesheet that defines the appearance of the cells.
mxPopupMenu.prototype.submenuImage
URL of the image to be used for the submenu icon.
submit: function(url,
params,
doc,
target)
Submits the given parameters to the specified URL using mxXmlRequest.simulate and returns the mxXmlRequest.
Specifies the event name for suspend.
mxOutline.prototype.suspended
Optional boolean flag to suspend updates.
mxShape.prototype.svgPointerEvents
Specifies if pointer events should be handled.
mxCylinder.prototype.svgStrokeTolerance
Sets stroke tolerance to 0 for SVG.
mxShape.prototype.svgStrokeTolerance
Event-tolerance for SVG strokes (in px).
mxGeometry.prototype.swap = function()
Swaps the x, y, width and height with the values stored in alternateBounds and puts the previous values into alternateBounds as a rectangle.
mxGraph.prototype.swapBounds = function(cell,
willCollapse)
Swaps the alternate and the actual bounds in the geometry of the given cell invoking updateAlternateBounds before carrying out the swap.
mxEditor.prototype.swapStyles = function (first,
second)
Swaps the styles for the given names in the graph’s stylesheet and refreshes the graph.
mxSwimlaneManager.prototype.swimlaneAdded = function(swimlane)
Updates the size of the given swimlane to match that of any existing siblings swimlanes.
mxGraph.prototype.swimlaneIndicatorColorAttribute
The attribute used to find the color for the indicator if the indicator color is set to ‘swimlane’.
mxGraph.prototype.swimlaneNesting
Specifies if nesting of swimlanes is allowed.
mxEditor.prototype.swimlaneRequired
Specifies if new cells must be inserted into an existing swimlane.
mxSwimlaneLayout.prototype.swimlanes
Holds the array of mxCell of the ordered swimlanes to lay out
mxGraph.prototype.swimlaneSelectionEnabled
Specifies if swimlanes should be selectable via the content if the mouse is released.
mxEditor.prototype.swimlaneSpacing
Specifies the spacing between swimlanes if automatic layout is turned on in layoutDiagram.
diff --git a/docs/js-api/index/General17.html b/docs/js-api/index/General17.html index c9907cfb7..f4e9d5fe1 100644 --- a/docs/js-api/index/General17.html +++ b/docs/js-api/index/General17.html @@ -11,9 +11,9 @@ if (browserType) {document.write("
");if (browserV -
Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
T
 table, mxForm
 TAP_AND_HOLD
 tapAndHold, mxGraph
 tapAndHoldDelay, mxGraph
 tapAndHoldEnabled, mxGraph
 tapAndHoldInProgress, mxGraph
 tapAndHoldValid, mxGraph
 target
 TARGET_HIGHLIGHT_COLOR, mxConstants
 targetConnectImage, mxConnectionHandler
 targetJettySize, mxConstants
 targetPoint, mxGeometry
 targetWindow, mxPrintPreview
 tasks, mxEditor
 tasksResource, mxEditor
 tasksTop, mxEditor
 tasksWindowImage, mxEditor
 temp, mxGraphAbstractHierarchyCell
 temperature, mxFastOrganicLayout
 template, mxObjectCodec
 templates, mxEditor
 Templates, mxEditor
 terminalDistance, mxCellState
 terminalForCellChanged, mxGraphModel
 text
 TEXT_DIRECTION_AUTO, mxConstants
 TEXT_DIRECTION_DEFAULT, mxConstants
 TEXT_DIRECTION_LTR, mxConstants
 TEXT_DIRECTION_RTL, mxConstants
 textarea, mxCellEditor
 textEnabled
 textNode, mxCellEditor
 textOffset, mxSvgCanvas2D
 textWidthPadding, mxText
 thread, mxAnimation
 tightenToSource
 timerAutoScroll, mxGraph
 title
 toDegree, mxUtils
 TOGGLE_CELLS
 toggleCells, mxGraph
 toggleCellStyle, mxGraph
 toggleCellStyleFlags, mxGraph
 toggleCellStyles, mxGraph
 tolerance
 toolbar
 tooltip, mxCellOverlay
 TOOLTIP_VERTICAL_OFFSET, mxConstants
 TopToBottom, mxEdgeStyle
 toRadians, mxUtils
 toString
 TRACE, mxLog
 transformControlPoint, mxGraphView
 translate
 TRANSLATE
 TRANSLATE_CONTROL_POINTS, mxGeometry
 translateCell, mxGraph
 translateState, mxCellStatePreview
 translateToScrollPosition, mxGraph
 transpose, mxMedianHybridCrossingReduction
 traverse
 traverseAncestors
 treeLayout, mxEditor
 TrianglePerimeter, mxPerimeter
 trigger, mxCellEditor
 triggerX, mxPopupMenuHandler
 triggerY, mxPopupMenuHandler
 trim
 type, mxMultiplicity
 typeError, mxMultiplicity
+
Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
T
 table, mxForm
 TAP_AND_HOLD
 tapAndHold, mxGraph
 tapAndHoldDelay, mxGraph
 tapAndHoldEnabled, mxGraph
 tapAndHoldInProgress, mxGraph
 tapAndHoldValid, mxGraph
 target
 TARGET_HIGHLIGHT_COLOR, mxConstants
 targetConnectImage, mxConnectionHandler
 targetJettySize, mxConstants
 targetPoint, mxGeometry
 targetWindow, mxPrintPreview
 tasks, mxEditor
 tasksResource, mxEditor
 tasksTop, mxEditor
 tasksWindowImage, mxEditor
 temp, mxGraphAbstractHierarchyCell
 temperature, mxFastOrganicLayout
 template, mxObjectCodec
 templates, mxEditor
 Templates, mxEditor
 terminalDistance, mxCellState
 terminalForCellChanged, mxGraphModel
 text
 TEXT_DIRECTION_AUTO, mxConstants
 TEXT_DIRECTION_DEFAULT, mxConstants
 TEXT_DIRECTION_LTR, mxConstants
 TEXT_DIRECTION_RTL, mxConstants
 textarea, mxCellEditor
 textEnabled
 textNode, mxCellEditor
 textOffset, mxSvgCanvas2D
 textWidthPadding, mxText
 thread, mxAnimation
 tightenToSource
 timerAutoScroll, mxGraph
 title
 toDegree, mxUtils
 TOGGLE_CELLS
 toggleCells, mxGraph
 toggleCellStyle, mxGraph
 toggleCellStyleFlags, mxGraph
 toggleCellStyles, mxGraph
 tolerance
 toolbar
 tooltip, mxCellOverlay
 TOOLTIP_VERTICAL_OFFSET, mxConstants
 TopToBottom, mxEdgeStyle
 toRadians, mxUtils
 toString
 TRACE, mxLog
 transformControlPoint, mxGraphView
 translate
 TRANSLATE
 TRANSLATE_CONTROL_POINTS, mxGeometry
 translateCell, mxGraph
 translateState, mxCellStatePreview
 translateToScrollPosition, mxGraph
 transpose, mxMedianHybridCrossingReduction
 traverse
 traverseAncestors
 treeLayout, mxEditor
 TrianglePerimeter, mxPerimeter
 trigger, mxCellEditor
 triggerX, mxPopupMenuHandler
 triggerY, mxPopupMenuHandler
 trim
 type, mxMultiplicity
 typeError, mxMultiplicity
-
mxForm.prototype.table
Holds the DOM node that represents the table.
Specifies the event name for tapAndHold.
Fires in tapAndHold if a tap and hold event was detected.
mxGraph.prototype.tapAndHold = function(me)
Handles the mxMouseEvent by highlighting the mxCellState.
mxGraph.prototype.tapAndHoldDelay
Specifies the time for a tap and hold.
mxGraph.prototype.tapAndHoldEnabled
Specifies if tap and hold should be used for starting connections on touch-based devices.
mxGraph.prototype.tapAndHoldInProgress
True if the timer for tap and hold events is running.
mxGraph.prototype.tapAndHoldValid
True as long as the timer is running and the touch events stay within the given tapAndHoldTolerance.
mxCell.prototype.target
Reference to the target terminal.
mxGraphHierarchyEdge.prototype.target
The node this edge targets
mxKeyHandler.prototype.target
Reference to the target DOM, that is, the DOM node where the key event listeners are installed.
Defines the color to be used for highlighting a target cell for a new or changed connection.
mxConnectionHandler.prototype.targetConnectImage
Specifies if the connect icon should be centered on the target state while connections are being previewed.
Defines the key for the jetty size in mxEdgeStyle.OrthConnector.
mxGeometry.prototype.targetPoint
Defines the target mxPoint of the edge.
mxPrintPreview.prototype.targetWindow
Assign any window here to redirect the rendering in open.
mxEditor.prototype.tasks
Holds the mxWindow created in showTasks.
mxEditor.prototype.tasksResource
Specifies the resource key for the tasks window title.
mxEditor.prototype.tasksTop
Specifies the top coordinate of the tasks window in pixels.
mxEditor.prototype.tasksWindowImage
Icon for the tasks window.
mxGraphAbstractHierarchyCell.prototype.temp
Temporary variable for general use.
mxFastOrganicLayout.prototype.temperature
Temperature to limit displacement at later stages of layout.
mxObjectCodec.prototype.template
Holds the template object associated with this codec.
mxEditor.prototype.templates
Maps from names to protoype cells to be used in the toolbar for inserting new cells into the diagram.
mxCellState.prototype.terminalDistance
Caches the distance between the end points for an edge.
mxGraphModel.prototype.terminalForCellChanged = function(edge,
terminal,
isSource)
Inner helper function to update the terminal of the edge using mxCell.insertEdge and return the previous terminal.
mxCellState.prototype.text
Holds the mxText that represents the label of the cell.
mxSvgCanvas2D.prototype.text = function(x,
y,
w,
h,
str,
align,
valign,
wrap,
format,
overflow,
clip,
rotation,
dir)
Paints the given text.
mxVmlCanvas2D.prototype.text = function(x,
y,
w,
h,
str,
align,
valign,
wrap,
format,
overflow,
clip,
rotation,
dir)
Paints the given text.
mxXmlCanvas2D.prototype.text = function(x,
y,
w,
h,
str,
align,
valign,
wrap,
format,
overflow,
clip,
rotation,
dir)
Paints the given text.
Constant for text direction automatic.
Constant for text direction default.
Constant for text direction left to right.
Constant for text direction right to left.
mxCellEditor.prototype.textarea
Holds the DIV that is used for text editing.
mxSvgCanvas2D.prototype.textEnabled
Specifies if text output should be enabled.
mxVmlCanvas2D.prototype.textEnabled
Specifies if text output should be enabledetB.
mxXmlCanvas2D.prototype.textEnabled
Specifies if text output should be enabled.
mxCellEditor.prototype.textNode
Reference to the label DOM node that has been hidden.
mxSvgCanvas2D.prototype.textOffset
Offset to be used for text elements.
mxText.prototype.textWidthPadding
Specifies the padding to be added to the text width for the bounding box.
mxAnimation.prototype.thread
Reference to the thread while the animation is running.
mxGraphHierarchyModel.prototype.tightenToSource
Whether or not to tighten the assigned ranks of vertices up towards the source cells.
mxHierarchicalLayout.prototype.tightenToSource
Whether or not to tighten the assigned ranks of vertices up towards the source cells.
mxSwimlaneLayout.prototype.tightenToSource
Whether or not to tighten the assigned ranks of vertices up towards the source cells.
mxGraphHierarchyModel.prototype.tightenToSource
Whether or not to tighten the assigned ranks of vertices up towards the source cells.
mxGraph.prototype.timerAutoScroll
Specifies if autoscrolling should be carried out via mxPanningManager even if the container has scrollbars.
mxPrintPreview.prototype.title
Holds the title of the preview window.
mxWindow.prototype.title
Reference to the DOM node (TD) that contains the title.
toDegree: function(rad)
Converts the given radians to degree.
Specifies the event name for toggleCells.
Fires between begin- and endUpdate in toggleCells.
mxGraph.prototype.toggleCells = function(show,
cells,
includeEdges)
Sets the visible state of the specified cells and all connected edges if includeEdges is true.
mxGraph.prototype.toggleCellStyle = function(key,
defaultValue,
cell)
Toggles the boolean value for the given key in the style of the given cell and returns the new value as 0 or 1.
mxGraph.prototype.toggleCellStyleFlags = function(key,
flag,
cells)
Toggles the given bit for the given key in the styles of the specified cells.
mxGraph.prototype.toggleCellStyles = function(key,
defaultValue,
cells)
Toggles the boolean value for the given key in the style of the given cells and returns the new value as 0 or 1.
mxEdgeHandler.prototype.tolerance
Optional tolerance for hit-detection in getHandleForEvent.
mxGraph.prototype.tolerance
Tolerance for a move to be handled as a single click.
mxVertexHandler.prototype.tolerance
Optional tolerance for hit-detection in getHandleForEvent.
mxDefaultToolbar.prototype.toolbar
Holds the internal mxToolbar.
mxEditor.prototype.toolbar
Holds a mxDefaultToolbar for displaying the toolbar.
mxCellOverlay.prototype.tooltip
Holds the optional string to be used as the tooltip.
Defines the vertical offset for the tooltip.
TopToBottom: function(state,
source,
target,
points,
result)
Implements a horizontal elbow edge.
toRadians: function(deg)
Converts the given degree to radians.
mxCellOverlay.prototype.toString = function()
Returns the textual representation of the overlay to be used as the tooltip.
toString: function(obj)
Returns a textual representation of the specified object.
Specified if the output for enter and leave should be visible in the console.
mxGraphView.prototype.transformControlPoint = function(state,
pt)
Transforms the given control point to an absolute point.
mxAbstractCanvas2D.prototype.translate = function(dx,
dy)
Translates the current state.
mxGeometry.prototype.translate = function(dx,
dy)
Translates the geometry by the specified amount.
mxGraphView.prototype.translate
mxPoint that specifies the current translation.
mxXmlCanvas2D.prototype.translate = function(dx,
dy)
Translates the output.
Specifies the event name for translate.
Fires after the translate was changed in setTranslate.
mxGeometry.prototype.TRANSLATE_CONTROL_POINTS
Global switch to translate the points in translate.
mxGraph.prototype.translateCell = function(cell,
dx,
dy)
Translates the geometry of the given cell and stores the new, translated geometry in the model as an atomic change.
mxCellStatePreview.prototype.translateState = function(state,
dx,
dy)
mxGraph.prototype.translateToScrollPosition
Specifies if the graph should automatically convert the current scroll position to a translate in the graph view when a mouseUp event is received.
mxMedianHybridCrossingReduction.prototype.transpose = function(
   mainLoopIteration,
   model
)
Takes each possible adjacent cell pair on each rank and checks if swapping them around reduces the number of crossing
mxGraph.prototype.traverse = function(vertex,
directed,
func,
edge,
visited)
Traverses the (directed) graph invoking the given function for each visited vertex and edge.
mxGraphLayout.traverse = function(vertex,
directed,
func,
edge,
visited)
Traverses the (directed) graph invoking the given function for each visited vertex and edge.
mxHierarchicalLayout.prototype.traverseAncestors
Whether or not to drill into child cells and layout in reverse group order.
mxSwimlaneLayout.prototype.traverseAncestors
Whether or not to drill into child cells and layout in reverse group order.
mxEditor.prototype.treeLayout = function (cell,
horizontal)
Executes a vertical or horizontal compact tree layout using the specified cell as an argument.
TrianglePerimeter: function (bounds,
vertex,
next,
orthogonal)
Describes a triangle perimeter.
mxCellEditor.prototype.trigger
Reference to the event that was used to start editing.
mxPopupMenuHandler.prototype.triggerX
X-coordinate of the mouse down event.
mxPopupMenuHandler.prototype.triggerY
Y-coordinate of the mouse down event.
mxUndoManager.prototype.trim = function()
Removes all pending steps after indexOfNextAdd from the history, invoking die on each edit.
trim: function(str,
chars)
Strips all whitespaces from both end of the string.
mxMultiplicity.prototype.type
Defines the type of the source or target terminal.
mxMultiplicity.prototype.typeError
Holds the localized error message to be displayed if the type of the neighbor for a connection does not match the rule.
+
mxForm.prototype.table
Holds the DOM node that represents the table.
Specifies the event name for tapAndHold.
Fires in tapAndHold if a tap and hold event was detected.
mxGraph.prototype.tapAndHold = function(me)
Handles the mxMouseEvent by highlighting the mxCellState.
mxGraph.prototype.tapAndHoldDelay
Specifies the time for a tap and hold.
mxGraph.prototype.tapAndHoldEnabled
Specifies if tap and hold should be used for starting connections on touch-based devices.
mxGraph.prototype.tapAndHoldInProgress
True if the timer for tap and hold events is running.
mxGraph.prototype.tapAndHoldValid
True as long as the timer is running and the touch events stay within the given tapAndHoldTolerance.
mxCell.prototype.target
Reference to the target terminal.
mxGraphHierarchyEdge.prototype.target
The node this edge targets
mxKeyHandler.prototype.target
Reference to the target DOM, that is, the DOM node where the key event listeners are installed.
Defines the color to be used for highlighting a target cell for a new or changed connection.
mxConnectionHandler.prototype.targetConnectImage
Specifies if the connect icon should be centered on the target state while connections are being previewed.
Defines the key for the jetty size in mxEdgeStyle.OrthConnector.
mxGeometry.prototype.targetPoint
Defines the target mxPoint of the edge.
mxPrintPreview.prototype.targetWindow
Assign any window here to redirect the rendering in open.
mxEditor.prototype.tasks
Holds the mxWindow created in showTasks.
mxEditor.prototype.tasksResource
Specifies the resource key for the tasks window title.
mxEditor.prototype.tasksTop
Specifies the top coordinate of the tasks window in pixels.
mxEditor.prototype.tasksWindowImage
Icon for the tasks window.
mxGraphAbstractHierarchyCell.prototype.temp
Temporary variable for general use.
mxFastOrganicLayout.prototype.temperature
Temperature to limit displacement at later stages of layout.
mxObjectCodec.prototype.template
Holds the template object associated with this codec.
mxEditor.prototype.templates
Maps from names to protoype cells to be used in the toolbar for inserting new cells into the diagram.
mxCellState.prototype.terminalDistance
Caches the distance between the end points for an edge.
mxGraphModel.prototype.terminalForCellChanged = function(edge,
terminal,
isSource)
Inner helper function to update the terminal of the edge using mxCell.insertEdge and return the previous terminal.
mxCellState.prototype.text
Holds the mxText that represents the label of the cell.
mxSvgCanvas2D.prototype.text = function(x,
y,
w,
h,
str,
align,
valign,
wrap,
format,
overflow,
clip,
rotation,
dir)
Paints the given text.
mxVmlCanvas2D.prototype.text = function(x,
y,
w,
h,
str,
align,
valign,
wrap,
format,
overflow,
clip,
rotation,
dir)
Paints the given text.
mxXmlCanvas2D.prototype.text = function(x,
y,
w,
h,
str,
align,
valign,
wrap,
format,
overflow,
clip,
rotation,
dir)
Paints the given text.
Constant for text direction automatic.
Constant for text direction default.
Constant for text direction left to right.
Constant for text direction right to left.
mxCellEditor.prototype.textarea
Holds the DIV that is used for text editing.
mxSvgCanvas2D.prototype.textEnabled
Specifies if text output should be enabled.
mxVmlCanvas2D.prototype.textEnabled
Specifies if text output should be enabledetB.
mxXmlCanvas2D.prototype.textEnabled
Specifies if text output should be enabled.
mxCellEditor.prototype.textNode
Reference to the label DOM node that has been hidden.
mxSvgCanvas2D.prototype.textOffset
Offset to be used for text elements.
mxText.prototype.textWidthPadding
Specifies the padding to be added to the text width for the bounding box.
mxAnimation.prototype.thread
Reference to the thread while the animation is running.
mxGraphHierarchyModel.prototype.tightenToSource
Whether or not to tighten the assigned ranks of vertices up towards the source cells.
mxHierarchicalLayout.prototype.tightenToSource
Whether or not to tighten the assigned ranks of vertices up towards the source cells.
mxSwimlaneLayout.prototype.tightenToSource
Whether or not to tighten the assigned ranks of vertices up towards the source cells.
mxGraphHierarchyModel.prototype.tightenToSource
Whether or not to tighten the assigned ranks of vertices up towards the source cells.
mxGraph.prototype.timerAutoScroll
Specifies if autoscrolling should be carried out via mxPanningManager even if the container has scrollbars.
mxPrintPreview.prototype.title
Holds the title of the preview window.
mxWindow.prototype.title
Reference to the DOM node (TD) that contains the title.
toDegree: function(rad)
Converts the given radians to degree.
Specifies the event name for toggleCells.
Fires between begin- and endUpdate in toggleCells.
mxGraph.prototype.toggleCells = function(show,
cells,
includeEdges)
Sets the visible state of the specified cells and all connected edges if includeEdges is true.
mxGraph.prototype.toggleCellStyle = function(key,
defaultValue,
cell)
Toggles the boolean value for the given key in the style of the given cell and returns the new value as 0 or 1.
mxGraph.prototype.toggleCellStyleFlags = function(key,
flag,
cells)
Toggles the given bit for the given key in the styles of the specified cells.
mxGraph.prototype.toggleCellStyles = function(key,
defaultValue,
cells)
Toggles the boolean value for the given key in the style of the given cells and returns the new value as 0 or 1.
mxEdgeHandler.prototype.tolerance
Optional tolerance for hit-detection in getHandleForEvent.
mxGraph.prototype.tolerance
Tolerance for a move to be handled as a single click.
mxVertexHandler.prototype.tolerance
Optional tolerance for hit-detection in getHandleForEvent.
mxDefaultToolbar.prototype.toolbar
Holds the internal mxToolbar.
mxEditor.prototype.toolbar
Holds a mxDefaultToolbar for displaying the toolbar.
mxCellOverlay.prototype.tooltip
Holds the optional string to be used as the tooltip.
Defines the vertical offset for the tooltip.
TopToBottom: function(state,
source,
target,
points,
result)
Implements a horizontal elbow edge.
toRadians: function(deg)
Converts the given degree to radians.
mxCellOverlay.prototype.toString = function()
Returns the textual representation of the overlay to be used as the tooltip.
toString: function(obj)
Returns a textual representation of the specified object.
Specified if the output for enter and leave should be visible in the console.
mxGraphView.prototype.transformControlPoint = function(state,
pt)
Transforms the given control point to an absolute point.
mxAbstractCanvas2D.prototype.translate = function(dx,
dy)
Translates the current state.
mxGeometry.prototype.translate = function(dx,
dy)
Translates the geometry by the specified amount.
mxGraphView.prototype.translate
mxPoint that specifies the current translation.
mxXmlCanvas2D.prototype.translate = function(dx,
dy)
Translates the output.
Specifies the event name for translate.
Fires after the translate was changed in setTranslate.
mxGeometry.prototype.TRANSLATE_CONTROL_POINTS
Global switch to translate the points in translate.
mxGraph.prototype.translateCell = function(cell,
dx,
dy)
Translates the geometry of the given cell and stores the new, translated geometry in the model as an atomic change.
mxCellStatePreview.prototype.translateState = function(state,
dx,
dy)
mxGraph.prototype.translateToScrollPosition
Specifies if the graph should automatically convert the current scroll position to a translate in the graph view when a mouseUp event is received.
mxMedianHybridCrossingReduction.prototype.transpose = function(
   mainLoopIteration,
   model
)
Takes each possible adjacent cell pair on each rank and checks if swapping them around reduces the number of crossing
mxGraph.prototype.traverse = function(vertex,
directed,
func,
edge,
visited)
Traverses the (directed) graph invoking the given function for each visited vertex and edge.
mxGraphLayout.traverse = function(vertex,
directed,
func,
edge,
visited)
Traverses the (directed) graph invoking the given function for each visited vertex and edge.
mxHierarchicalLayout.prototype.traverseAncestors
Whether or not to drill into child cells and layout in reverse group order.
mxSwimlaneLayout.prototype.traverseAncestors
Whether or not to drill into child cells and layout in reverse group order.
mxEditor.prototype.treeLayout = function (cell,
horizontal)
Executes a vertical or horizontal compact tree layout using the specified cell as an argument.
TrianglePerimeter: function (bounds,
vertex,
next,
orthogonal)
Describes a triangle perimeter.
mxCellEditor.prototype.trigger
Reference to the event that was used to start editing.
mxPopupMenuHandler.prototype.triggerX
X-coordinate of the mouse down event.
mxPopupMenuHandler.prototype.triggerY
Y-coordinate of the mouse down event.
mxUndoManager.prototype.trim = function()
Removes all pending steps after indexOfNextAdd from the history, invoking die on each edit.
trim: function(str,
chars)
Strips all whitespaces from both end of the string.
mxMultiplicity.prototype.type
Defines the type of the source or target terminal.
mxMultiplicity.prototype.typeError
Holds the localized error message to be displayed if the type of the neighbor for a connection does not match the rule.
diff --git a/docs/js-api/index/General18.html b/docs/js-api/index/General18.html index 2b8e09a64..86edee4a5 100644 --- a/docs/js-api/index/General18.html +++ b/docs/js-api/index/General18.html @@ -11,9 +11,9 @@ if (browserType) {document.write("
");if (browserV -
Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
U
 undo
 UNDO
 undoableEditHappened, mxUndoManager
 undoManager, mxEditor
 undone, mxUndoableEdit
 UNGROUP_CELLS
 ungroupCells, mxGraph
 union, mxVertexHandler
 unmark, mxCellMarker
 unscaledWidth, mxCellState
 UP
 update
 UPDATE_CELL_SIZE
 updateAlternateBounds, mxGraph
 updateAnimation
 updateBaseUrl, mxUrlConverter
 updateBoundingBox
 updateBoundsFromPoints, mxShape
 updateBoundsFromStencil, mxGraphView
 updateCachedBounds, mxCellState
 updateCellSize, mxGraph
 updateCellState, mxGraphView
 updateContainerStyle, mxGraphView
 updateCurrentState, mxConnectionHandler
 updateCursor, mxGraphHandler
 updateDefaultMode, mxToolbar
 updateEdgeBounds, mxGraphView
 updateEdgeLabelOffset, mxGraphView
 updateEdgeParent, mxGraphModel
 updateEdgeParents, mxGraphModel
 updateEdgeState
 updateFill, mxSvgCanvas2D
 updateFixedTerminalPoint, mxGraphView
 updateFixedTerminalPoints, mxGraphView
 updateFloatingTerminalPoint, mxGraphView
 updateFloatingTerminalPoints, mxGraphView
 updateFont
 updateGroupBounds
 updateHandler, mxLayoutManager
 updateHint
 updateHtmlCanvasSize, mxGraphView
 updateHtmlFilter, mxText
 updateHtmlFilters, mxShape
 updateHtmlTransform, mxText
 updateIcons, mxConnectionHandler
 updateLevel, mxGraphModel
 updateLivePreview, mxVertexHandler
 updateMinBounds, mxVertexHandler
 updateMouseEvent, mxGraph
 updateOnPan, mxOutline
 updatePageBreaks, mxGraph
 updateParentHighlight, mxVertexHandler
 updatePoints, mxGraphView
 updatePreviewShape, mxGraphHandler
 updatePreviewState
 updateSize, mxText
 updateStroke, mxSvgCanvas2D
 updateStrokeAttributes, mxSvgCanvas2D
 updateStyle, mxGraphView
 updateTransform, mxShape
 updateValue, mxText
 updateVertexLabelOffset, mxGraphView
 updateVertexState, mxGraphView
 updateVmlContainer
 updatingDocumentResource, mxGraphView
 updatingSelectionResource, mxGraphSelectionModel
 url, mxXmlRequest
 urlHelp, mxEditor
 urlImage, mxEditor
 urlPost, mxEditor
 useBoundingBox, mxGraphLayout
 useGrid, mxPanningHandler
 useGuidesForEvent, mxGraphHandler
 useInputOrigin, mxFastOrganicLayout
 useLeftButtonForPanning, mxPanningHandler
 useLeftButtonForPopup, mxPopupMenu
 usePopupTrigger, mxPanningHandler
 username, mxXmlRequest
 useScrollbarsForPanning, mxGraph
 useSvgBoundingBox
+
Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
U
 undo
 UNDO
 undoableEditHappened, mxUndoManager
 undoManager, mxEditor
 undone, mxUndoableEdit
 UNGROUP_CELLS
 ungroupCells, mxGraph
 union, mxVertexHandler
 unmark, mxCellMarker
 unscaledWidth, mxCellState
 UP
 update
 UPDATE_CELL_SIZE
 updateAlternateBounds, mxGraph
 updateAnimation
 updateBaseUrl, mxUrlConverter
 updateBoundingBox
 updateBoundsFromPoints, mxShape
 updateBoundsFromStencil, mxGraphView
 updateCachedBounds, mxCellState
 updateCellSize, mxGraph
 updateCellState, mxGraphView
 updateContainerStyle, mxGraphView
 updateCurrentState, mxConnectionHandler
 updateCursor, mxGraphHandler
 updateDefaultMode, mxToolbar
 updateEdgeBounds, mxGraphView
 updateEdgeLabelOffset, mxGraphView
 updateEdgeParent, mxGraphModel
 updateEdgeParents, mxGraphModel
 updateEdgeState
 updateFill, mxSvgCanvas2D
 updateFixedTerminalPoint, mxGraphView
 updateFixedTerminalPoints, mxGraphView
 updateFloatingTerminalPoint, mxGraphView
 updateFloatingTerminalPoints, mxGraphView
 updateFont
 updateGroupBounds
 updateHandler
 updateHint
 updateHtmlCanvasSize, mxGraphView
 updateHtmlFilter, mxText
 updateHtmlFilters, mxShape
 updateHtmlTransform, mxText
 updateIcons, mxConnectionHandler
 updateLevel, mxGraphModel
 updateLivePreview, mxVertexHandler
 updateMinBounds, mxVertexHandler
 updateMouseEvent, mxGraph
 updateOnPan, mxOutline
 updatePageBreaks, mxGraph
 updateParentHighlight, mxVertexHandler
 updatePoints, mxGraphView
 updatePreviewShape, mxGraphHandler
 updatePreviewState
 updateSize, mxText
 updateStroke, mxSvgCanvas2D
 updateStrokeAttributes, mxSvgCanvas2D
 updateStyle, mxGraphView
 updateTransform, mxShape
 updateValue, mxText
 updateVertexLabelOffset, mxGraphView
 updateVertexState, mxGraphView
 updateVmlContainer
 updatingDocumentResource, mxGraphView
 updatingSelectionResource, mxGraphSelectionModel
 url, mxXmlRequest
 urlHelp, mxEditor
 urlImage, mxEditor
 urlPost, mxEditor
 useBoundingBox, mxGraphLayout
 useGrid, mxPanningHandler
 useGuidesForEvent, mxGraphHandler
 useInputOrigin, mxFastOrganicLayout
 useLeftButtonForPanning, mxPanningHandler
 useLeftButtonForPopup, mxPopupMenu
 usePopupTrigger, mxPanningHandler
 username, mxXmlRequest
 useScrollbarsForPanning, mxGraph
 useSvgBoundingBox
-
mxEditor.prototype.undo = function ()
Undo the last change in graph.
mxUndoableEdit.prototype.undo = function()
Undoes all changes in this edit.
mxUndoManager.prototype.undo = function()
Undoes the last change.
Specifies the event name for undo.
Fires after the change was dispatched in endUpdate.
Fires after the selection was changed in changeSelection.
Fires after the root was changed in setCurrentRoot.
Fires afer a significant edit was undone in undo.
mxUndoManager.prototype.undoableEditHappened = function(undoableEdit)
Method to be called to add new undoable edits to the history.
mxEditor.prototype.undoManager
Holds an mxUndoManager for the command history.
mxUndoableEdit.prototype.undone
Specifies if this edit has been undone.
Specifies the event name for ungroupCells.
Fires between begin- and endUpdate in ungroupCells.
mxGraph.prototype.ungroupCells = function(cells)
Ungroups the given cells by moving the children the children to their parents parent and removing the empty groups.
mxVertexHandler.prototype.union = function(bounds,
dx,
dy,
index,
gridEnabled,
scale,
tr,
constrained,
centered)
Returns the union of the given bounds and location for the specified handle index.
mxCellMarker.prototype.unmark = function()
Hides the marker and fires a mark event.
mxCellState.prototype.unscaledWidth
Holds the unscaled width of the state.
Specifies the event name for up.
Fire if the current root is changed by executing an mxCurrentRootChange.
mxConstraintHandler.prototype.update = function(me,
source,
existingEdge,
point)
Updates the state of this handler based on the given mxMouseEvent.
mxOutline.prototype.update = function(revalidate)
Updates the outline.
mxRubberband.prototype.update = function(x,
y)
Sets currentX and currentY and calls repaint.
Specifies the event name for updateCellSize.
Fires between begin- and endUpdate in updateCellSize.
mxGraph.prototype.updateAlternateBounds = function(cell,
geo,
willCollapse)
Updates or sets the alternate bounds in the given geometry for the given cell depending on whether the cell is going to be collapsed.
mxAnimation.prototype.updateAnimation = function()
Hook for subclassers to implement the animation.
mxMorphing.prototype.updateAnimation = function()
Animation step.
mxUrlConverter.prototype.updateBaseUrl = function()
Private helper function to update the base URL.
mxConnector.prototype.updateBoundingBox = function()
Updates the boundingBox for this shape using createBoundingBox and augmentBoundingBox and stores the result in boundingBox.
mxShape.prototype.updateBoundingBox = function()
Updates the boundingBox for this shape using createBoundingBox and augmentBoundingBox and stores the result in boundingBox.
mxText.prototype.updateBoundingBox = function()
Updates the boundingBox for this shape using the given node and position.
mxShape.prototype.updateBoundsFromPoints = function()
Updates the bounds based on the points.
mxGraphView.prototype.updateBoundsFromStencil = function(state)
Updates the bounds of the given cell state to reflect the bounds of the stencil if it has a fixed aspect and returns the previous bounds as an mxRectangle if the bounds have been modified or null otherwise.
mxCellState.prototype.updateCachedBounds = function()
Updates the cellBounds and paintBounds.
mxGraph.prototype.updateCellSize = function(cell,
ignoreChildren)
Updates the size of the given cell in the model using cellSizeUpdated.
mxGraphView.prototype.updateCellState = function(state)
Updates the given mxCellState.
mxGraphView.prototype.updateContainerStyle = function(container)
Updates the style of the container after installing the SVG DOM elements.
mxConnectionHandler.prototype.updateCurrentState = function(me,
point)
Updates the current state for a given mouse move event by using the marker.
mxGraphHandler.prototype.updateCursor
Specifies if a move cursor should be shown if the mouse is over a movable cell.
mxToolbar.prototype.updateDefaultMode
Boolean indicating if the default mode should be the last selected switch mode or the first inserted switch mode.
mxGraphView.prototype.updateEdgeBounds = function(state)
Updates the given state using the bounding box of t he absolute points.
mxGraphView.prototype.updateEdgeLabelOffset = function(state)
Updates mxCellState.absoluteOffset for the given state.
mxGraphModel.prototype.updateEdgeParent = function(edge,
root)
Inner callback to update the parent of the specified mxCell to the nearest-common-ancestor of its two terminals.
mxGraphModel.prototype.updateEdgeParents = function(cell,
root)
Updates the parent for all edges that are connected to cell or one of its descendants using updateEdgeParent.
mxConnectionHandler.prototype.updateEdgeState = function(current,
constraint)
Updates edgeState.
mxGraphView.prototype.updateEdgeState = function(state,
geo)
Validates the given cell state.
mxSvgCanvas2D.prototype.updateFill = function()
Transfers the stroke attributes from state to node.
mxGraphView.prototype.updateFixedTerminalPoint = function(edge,
terminal,
source,
constraint)
Sets the fixed source or target terminal point on the given edge.
mxGraphView.prototype.updateFixedTerminalPoints = function(edge,
source,
target)
Sets the initial absolute terminal points in the given state before the edge style is computed.
mxGraphView.prototype.updateFloatingTerminalPoint = function(edge,
start,
end,
source)
Updates the absolute terminal point in the given state for the given start and end state, where start is the source if source is true.
mxGraphView.prototype.updateFloatingTerminalPoints = function(state,
source,
target)
Updates the terminal points in the given state after the edge style was computed for the edge.
mxSvgCanvas2D.prototype.updateFont = function(node)
Updates the text properties for the given node.
mxText.prototype.updateFont = function(node)
Updates the HTML node(s) to reflect the latest bounds and scale.
mxGraph.prototype.updateGroupBounds = function(cells,
border,
moveGroup,
topBorder,
rightBorder,
bottomBorder,
leftBorder)
Updates the bounds of the given groups to include all children and returns the passed-in cells.
mxSwimlaneLayout.prototype.updateGroupBounds = function()
Updates the bounds of the given array of groups so that it includes all child vertices.
mxLayoutManager.prototype.updateHandler
Holds the function that handles the endUpdate event.
mxEdgeHandler.prototype.updateHint = function(me,
point)
Hook for subclassers do show details while the handler is active.
mxGraphHandler.prototype.updateHint = function(me)
Hook for subclassers do show details while the handler is active.
mxVertexHandler.prototype.updateHint = function(me)
Hook for subclassers do show details while the handler is active.
mxGraphView.prototype.updateHtmlCanvasSize = function(width,
height)
Updates the size of the HTML canvas.
mxText.prototype.updateHtmlFilter = function()
Rotated text rendering quality is bad for IE9 quirks/IE8 standards
mxShape.prototype.updateHtmlFilters = function(node)
Allow optimization by replacing VML with HTML.
mxText.prototype.updateHtmlTransform = function()
Returns the spacing as an mxPoint.
mxConnectionHandler.prototype.updateIcons = function(state,
icons,
me)
Hook to update the icon position(s) based on a mouseOver event.
mxGraphModel.prototype.updateLevel
Counter for the depth of nested transactions.
mxVertexHandler.prototype.updateLivePreview = function(me)
Repaints the live preview.
mxVertexHandler.prototype.updateMinBounds = function()
Initializes the shapes required for this vertex handler.
mxGraph.prototype.updateMouseEvent = function(me,
evtName)
Sets the graphX and graphY properties if the given mxMouseEvent if required and returned the event.
mxOutline.prototype.updateOnPan
Specifies if update should be called for mxEvent.PAN in the source graph.
mxGraph.prototype.updatePageBreaks = function(visible,
width,
height)
Invokes from sizeDidChange to redraw the page breaks.
mxVertexHandler.prototype.updateParentHighlight = function()
Updates the highlight of the parent if parentHighlightEnabled is true.
mxGraphView.prototype.updatePoints = function(edge,
points,
source,
target)
Updates the absolute points in the given state using the specified array of mxPoints as the relative points.
mxGraphHandler.prototype.updatePreviewShape = function()
Updates the bounds of the preview shape.
mxEdgeSegmentHandler.prototype.updatePreviewState = function(edge,
point,
terminalState,
me)
Overridden to perform optimization of the edge style result.
mxEdgeHandler.prototype.updatePreviewState = function(edge,
point,
terminalState,
me,
outline)
Updates the given preview state taking into account the state of the constraint handler.
mxText.prototype.updateSize = function(node,
enableWrap)
Updates the HTML node(s) to reflect the latest bounds and scale.
mxSvgCanvas2D.prototype.updateStroke = function()
Transfers the stroke attributes from state to node.
mxSvgCanvas2D.prototype.updateStrokeAttributes = function()
Transfers the stroke attributes from state to node.
mxGraphView.prototype.updateStyle
Specifies if the style should be updated in each validation step.
mxShape.prototype.updateTransform = function(c,
x,
y,
w,
h)
Sets the scale and rotation on the given canvas.
mxText.prototype.updateValue = function()
Updates the HTML node(s) to reflect the latest bounds and scale.
mxGraphView.prototype.updateVertexLabelOffset = function(state)
Updates the absoluteOffset of the given vertex cell state.
mxGraphView.prototype.updateVertexState = function(state,
geo)
Validates the given cell state.
mxShape.prototype.updateVmlContainer = function()
Updates the bounds of the VML container.
mxText.prototype.updateVmlContainer = function()
Sets the width and height of the container to 1px.
Specifies the resource key for the status message while the document is being updated.
mxGraphSelectionModel.prototype.updatingSelectionResource
Specifies the resource key for the status message while the selection is being updated.
mxXmlRequest.prototype.url
Holds the target URL of the request.
mxEditor.prototype.urlHelp
Specifies the URL to be used for the contents of the Online Help window.
mxEditor.prototype.urlImage
Specifies the URL to be used for creating a bitmap of the graph in the image action.
mxEditor.prototype.urlPost
Specifies the URL to be used for posting the diagram to a backend in save.
mxGraphLayout.prototype.useBoundingBox
Boolean indicating if the bounding box of the label should be used if its available.
mxPanningHandler.prototype.useGrid
Specifies if the panning steps should be aligned to the grid size.
mxGraphHandler.prototype.useGuidesForEvent = function(me)
Returns true if the guides should be used for the given mxMouseEvent.
mxFastOrganicLayout.prototype.useInputOrigin
Specifies if the top left corner of the input cells should be the origin of the layout result.
mxPanningHandler.prototype.useLeftButtonForPanning
Specifies if panning should be active for the left mouse button.
mxPopupMenu.prototype.useLeftButtonForPopup
Specifies if popupmenus should be activated by clicking the left mouse button.
mxPanningHandler.prototype.usePopupTrigger
Specifies if mxEvent.isPopupTrigger should also be used for panning.
mxXmlRequest.prototype.username
Specifies the username to be used for authentication.
mxGraph.prototype.useScrollbarsForPanning
Specifies if scrollbars should be used for panning in panGraph if any scrollbars are available.
mxArrowConnector.prototype.useSvgBoundingBox
Allows to use the SVG bounding box in SVG.
mxShape.prototype.useSvgBoundingBox
Allows to use the SVG bounding box in SVG.
+
mxEditor.prototype.undo = function ()
Undo the last change in graph.
mxUndoableEdit.prototype.undo = function()
Undoes all changes in this edit.
mxUndoManager.prototype.undo = function()
Undoes the last change.
Specifies the event name for undo.
Fires after the change was dispatched in endUpdate.
Fires after the selection was changed in changeSelection.
Fires after the root was changed in setCurrentRoot.
Fires afer a significant edit was undone in undo.
mxUndoManager.prototype.undoableEditHappened = function(undoableEdit)
Method to be called to add new undoable edits to the history.
mxEditor.prototype.undoManager
Holds an mxUndoManager for the command history.
mxUndoableEdit.prototype.undone
Specifies if this edit has been undone.
Specifies the event name for ungroupCells.
Fires between begin- and endUpdate in ungroupCells.
mxGraph.prototype.ungroupCells = function(cells)
Ungroups the given cells by moving the children the children to their parents parent and removing the empty groups.
mxVertexHandler.prototype.union = function(bounds,
dx,
dy,
index,
gridEnabled,
scale,
tr,
constrained,
centered)
Returns the union of the given bounds and location for the specified handle index.
mxCellMarker.prototype.unmark = function()
Hides the marker and fires a mark event.
mxCellState.prototype.unscaledWidth
Holds the unscaled width of the state.
Specifies the event name for up.
Fire if the current root is changed by executing an mxCurrentRootChange.
mxConstraintHandler.prototype.update = function(me,
source,
existingEdge,
point)
Updates the state of this handler based on the given mxMouseEvent.
mxOutline.prototype.update = function(revalidate)
Updates the outline.
mxRubberband.prototype.update = function(x,
y)
Sets currentX and currentY and calls repaint.
Specifies the event name for updateCellSize.
Fires between begin- and endUpdate in updateCellSize.
mxGraph.prototype.updateAlternateBounds = function(cell,
geo,
willCollapse)
Updates or sets the alternate bounds in the given geometry for the given cell depending on whether the cell is going to be collapsed.
mxAnimation.prototype.updateAnimation = function()
Hook for subclassers to implement the animation.
mxMorphing.prototype.updateAnimation = function()
Animation step.
mxUrlConverter.prototype.updateBaseUrl = function()
Private helper function to update the base URL.
mxConnector.prototype.updateBoundingBox = function()
Updates the boundingBox for this shape using createBoundingBox and augmentBoundingBox and stores the result in boundingBox.
mxShape.prototype.updateBoundingBox = function()
Updates the boundingBox for this shape using createBoundingBox and augmentBoundingBox and stores the result in boundingBox.
mxText.prototype.updateBoundingBox = function()
Updates the boundingBox for this shape using the given node and position.
mxShape.prototype.updateBoundsFromPoints = function()
Updates the bounds based on the points.
mxGraphView.prototype.updateBoundsFromStencil = function(state)
Updates the bounds of the given cell state to reflect the bounds of the stencil if it has a fixed aspect and returns the previous bounds as an mxRectangle if the bounds have been modified or null otherwise.
mxCellState.prototype.updateCachedBounds = function()
Updates the cellBounds and paintBounds.
mxGraph.prototype.updateCellSize = function(cell,
ignoreChildren)
Updates the size of the given cell in the model using cellSizeUpdated.
mxGraphView.prototype.updateCellState = function(state)
Updates the given mxCellState.
mxGraphView.prototype.updateContainerStyle = function(container)
Updates the style of the container after installing the SVG DOM elements.
mxConnectionHandler.prototype.updateCurrentState = function(me,
point)
Updates the current state for a given mouse move event by using the marker.
mxGraphHandler.prototype.updateCursor
Specifies if a move cursor should be shown if the mouse is over a movable cell.
mxToolbar.prototype.updateDefaultMode
Boolean indicating if the default mode should be the last selected switch mode or the first inserted switch mode.
mxGraphView.prototype.updateEdgeBounds = function(state)
Updates the given state using the bounding box of t he absolute points.
mxGraphView.prototype.updateEdgeLabelOffset = function(state)
Updates mxCellState.absoluteOffset for the given state.
mxGraphModel.prototype.updateEdgeParent = function(edge,
root)
Inner callback to update the parent of the specified mxCell to the nearest-common-ancestor of its two terminals.
mxGraphModel.prototype.updateEdgeParents = function(cell,
root)
Updates the parent for all edges that are connected to cell or one of its descendants using updateEdgeParent.
mxConnectionHandler.prototype.updateEdgeState = function(current,
constraint)
Updates edgeState.
mxGraphView.prototype.updateEdgeState = function(state,
geo)
Validates the given cell state.
mxSvgCanvas2D.prototype.updateFill = function()
Transfers the stroke attributes from state to node.
mxGraphView.prototype.updateFixedTerminalPoint = function(edge,
terminal,
source,
constraint)
Sets the fixed source or target terminal point on the given edge.
mxGraphView.prototype.updateFixedTerminalPoints = function(edge,
source,
target)
Sets the initial absolute terminal points in the given state before the edge style is computed.
mxGraphView.prototype.updateFloatingTerminalPoint = function(edge,
start,
end,
source)
Updates the absolute terminal point in the given state for the given start and end state, where start is the source if source is true.
mxGraphView.prototype.updateFloatingTerminalPoints = function(state,
source,
target)
Updates the terminal points in the given state after the edge style was computed for the edge.
mxSvgCanvas2D.prototype.updateFont = function(node)
Updates the text properties for the given node.
mxText.prototype.updateFont = function(node)
Updates the HTML node(s) to reflect the latest bounds and scale.
mxGraph.prototype.updateGroupBounds = function(cells,
border,
moveGroup,
topBorder,
rightBorder,
bottomBorder,
leftBorder)
Updates the bounds of the given groups to include all children and returns the passed-in cells.
mxSwimlaneLayout.prototype.updateGroupBounds = function()
Updates the bounds of the given array of groups so that it includes all child vertices.
mxLayoutManager.prototype.updateHandler
Holds the function that handles the endUpdate event.
mxSelectionCellsHandler.prototype.updateHandler = function(state)
Updates the handler for the given shape if one exists.
mxEdgeHandler.prototype.updateHint = function(me,
point)
Hook for subclassers do show details while the handler is active.
mxGraphHandler.prototype.updateHint = function(me)
Hook for subclassers do show details while the handler is active.
mxVertexHandler.prototype.updateHint = function(me)
Hook for subclassers do show details while the handler is active.
mxGraphView.prototype.updateHtmlCanvasSize = function(width,
height)
Updates the size of the HTML canvas.
mxText.prototype.updateHtmlFilter = function()
Rotated text rendering quality is bad for IE9 quirks/IE8 standards
mxShape.prototype.updateHtmlFilters = function(node)
Allow optimization by replacing VML with HTML.
mxText.prototype.updateHtmlTransform = function()
Returns the spacing as an mxPoint.
mxConnectionHandler.prototype.updateIcons = function(state,
icons,
me)
Hook to update the icon position(s) based on a mouseOver event.
mxGraphModel.prototype.updateLevel
Counter for the depth of nested transactions.
mxVertexHandler.prototype.updateLivePreview = function(me)
Repaints the live preview.
mxVertexHandler.prototype.updateMinBounds = function()
Initializes the shapes required for this vertex handler.
mxGraph.prototype.updateMouseEvent = function(me,
evtName)
Sets the graphX and graphY properties if the given mxMouseEvent if required and returned the event.
mxOutline.prototype.updateOnPan
Specifies if update should be called for mxEvent.PAN in the source graph.
mxGraph.prototype.updatePageBreaks = function(visible,
width,
height)
Invokes from sizeDidChange to redraw the page breaks.
mxVertexHandler.prototype.updateParentHighlight = function()
Updates the highlight of the parent if parentHighlightEnabled is true.
mxGraphView.prototype.updatePoints = function(edge,
points,
source,
target)
Updates the absolute points in the given state using the specified array of mxPoints as the relative points.
mxGraphHandler.prototype.updatePreviewShape = function()
Updates the bounds of the preview shape.
mxEdgeSegmentHandler.prototype.updatePreviewState = function(edge,
point,
terminalState,
me)
Overridden to perform optimization of the edge style result.
mxEdgeHandler.prototype.updatePreviewState = function(edge,
point,
terminalState,
me,
outline)
Updates the given preview state taking into account the state of the constraint handler.
mxText.prototype.updateSize = function(node,
enableWrap)
Updates the HTML node(s) to reflect the latest bounds and scale.
mxSvgCanvas2D.prototype.updateStroke = function()
Transfers the stroke attributes from state to node.
mxSvgCanvas2D.prototype.updateStrokeAttributes = function()
Transfers the stroke attributes from state to node.
mxGraphView.prototype.updateStyle
Specifies if the style should be updated in each validation step.
mxShape.prototype.updateTransform = function(c,
x,
y,
w,
h)
Sets the scale and rotation on the given canvas.
mxText.prototype.updateValue = function()
Updates the HTML node(s) to reflect the latest bounds and scale.
mxGraphView.prototype.updateVertexLabelOffset = function(state)
Updates the absoluteOffset of the given vertex cell state.
mxGraphView.prototype.updateVertexState = function(state,
geo)
Validates the given cell state.
mxShape.prototype.updateVmlContainer = function()
Updates the bounds of the VML container.
mxText.prototype.updateVmlContainer = function()
Sets the width and height of the container to 1px.
Specifies the resource key for the status message while the document is being updated.
mxGraphSelectionModel.prototype.updatingSelectionResource
Specifies the resource key for the status message while the selection is being updated.
mxXmlRequest.prototype.url
Holds the target URL of the request.
mxEditor.prototype.urlHelp
Specifies the URL to be used for the contents of the Online Help window.
mxEditor.prototype.urlImage
Specifies the URL to be used for creating a bitmap of the graph in the image action.
mxEditor.prototype.urlPost
Specifies the URL to be used for posting the diagram to a backend in save.
mxGraphLayout.prototype.useBoundingBox
Boolean indicating if the bounding box of the label should be used if its available.
mxPanningHandler.prototype.useGrid
Specifies if the panning steps should be aligned to the grid size.
mxGraphHandler.prototype.useGuidesForEvent = function(me)
Returns true if the guides should be used for the given mxMouseEvent.
mxFastOrganicLayout.prototype.useInputOrigin
Specifies if the top left corner of the input cells should be the origin of the layout result.
mxPanningHandler.prototype.useLeftButtonForPanning
Specifies if panning should be active for the left mouse button.
mxPopupMenu.prototype.useLeftButtonForPopup
Specifies if popupmenus should be activated by clicking the left mouse button.
mxPanningHandler.prototype.usePopupTrigger
Specifies if mxEvent.isPopupTrigger should also be used for panning.
mxXmlRequest.prototype.username
Specifies the username to be used for authentication.
mxGraph.prototype.useScrollbarsForPanning
Specifies if scrollbars should be used for panning in panGraph if any scrollbars are available.
mxArrowConnector.prototype.useSvgBoundingBox
Allows to use the SVG bounding box in SVG.
mxShape.prototype.useSvgBoundingBox
Allows to use the SVG bounding box in SVG.
diff --git a/docs/js-api/index/General19.html b/docs/js-api/index/General19.html index 7b3314919..fdfe13b5f 100644 --- a/docs/js-api/index/General19.html +++ b/docs/js-api/index/General19.html @@ -11,9 +11,9 @@ if (browserType) {document.write("
");if (browserV -
Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
V
 VALID_COLOR, mxConstants
 validate, mxGraphView
 validateBackground, mxGraphView
 validateBackgroundImage, mxGraphView
 validateBackgroundPage, mxGraphView
 validateCell
 validateCellState, mxGraphView
 validateConnection
 validateEdge, mxGraph
 validateGraph, mxGraph
 validating, mxEditor
 Validation, mxGraph
 validationAlert, mxGraph
 validColor, mxCellMarker
 validNeighbors, mxMultiplicity
 validNeighborsAllowed, mxMultiplicity
 validState, mxCellMarker
 value
 valueChanged, mxCell
 valueForCellChanged, mxGraphModel
 values, mxStyleRegistry
 Variables
MedianCellSortermxAbstractCanvas2DmxAnimationmxArrowConnectormxAutoSaveManagermxCellmxCellEditormxCellHighlightmxCellMarkermxCellOverlaymxCellPathmxCellRenderermxCellStatemxCellStatePreviewmxCircleLayoutmxClientmxClipboardmxCodecmxCodecRegistrymxCompactTreeLayoutmxCompositeLayoutmxConnectionConstraintmxConstantsmxConstraintHandlermxCoordinateAssignmentmxCylindermxDefaultKeyHandlermxDefaultPopupMenumxDefaultToolbarmxDefaultToolbarCodecmxDoubleEllipsemxDragSourcemxEdgeHandlermxElbowEdgeHandlermxEventmxEventObjectmxEventSourcemxFastOrganicLayoutmxFormmxGeometrymxGraphmxGraphAbstractHierarchyCellmxGraphHandlermxGraphHierarchyEdgemxGraphHierarchyModelmxGraphHierarchyNodemxGraphLayoutmxGraphModelmxGraphSelectionModelmxGraphViewmxGuidemxHandlemxHierarchicalLayoutmxImagemxImageBundlemxImageExportmxImageShapemxKeyHandlermxLabelmxLayoutManagermxLogmxMarkermxMedianHybridCrossingReductionmxMinimumCycleRemovermxMorphingmxMouseEventmxMultiplicitymxObjectCodecmxObjectIdentitymxOutlinemxPanningHandlermxPanningManagermxParallelEdgeLayoutmxPartitionLayoutmxPointmxPopupMenumxPopupMenuHandlermxPrintPreviewmxRadialTreeLayoutmxRectanglemxResourcesmxRubberbandmxShapemxStackLayoutmxStencilmxStyleRegistrymxStylesheetCodecmxSvgCanvas2DmxSwimlanemxSwimlaneLayoutmxSwimlaneManagermxSwimlaneModelmxSwimlaneOrderingmxTemporaryCellStatesmxTextmxToolbarmxTooltipHandlermxUndoableEditmxUndoManagermxUrlConvertermxUtilsmxVertexHandlermxVmlCanvas2DmxWindowmxXmlCanvas2DmxXmlRequestWeightedCellSorter
 VERSION, mxClient
 vertex, mxCell
 VERTEX_SELECTION_COLOR, mxConstants
 VERTEX_SELECTION_STROKEWIDTH, mxConstants
 vertexArray, mxFastOrganicLayout
 vertexLabelsMovable, mxGraph
 vertexMapper
 vertical, mxGuide
 verticalAlign, mxCellOverlay
 verticalLayout, mxCompactTreeLayout
 verticalOffset, mxVertexHandler
 verticalTextRotation, mxText
 view
 VIRTUAL_HANDLE, mxEvent
 virtualBendOpacity, mxEdgeHandler
 virtualBendsEnabled, mxEdgeHandler
 visible
 visibleSourceState, mxCellState
 visibleStateForCellChanged, mxGraphModel
 visibleTargetState, mxCellState
 visit
 visited
 VML_PREFIX, mxClient
 VML_SHADOWCOLOR, mxConstants
 vmlScale
+
Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
V
 VALID_COLOR, mxConstants
 validate, mxGraphView
 validateBackground, mxGraphView
 validateBackgroundImage, mxGraphView
 validateBackgroundPage, mxGraphView
 validateCell
 validateCellState, mxGraphView
 validateConnection
 validateEdge, mxGraph
 validateGraph, mxGraph
 validating, mxEditor
 Validation, mxGraph
 validationAlert, mxGraph
 validColor, mxCellMarker
 validNeighbors, mxMultiplicity
 validNeighborsAllowed, mxMultiplicity
 validState, mxCellMarker
 value
 valueChanged, mxCell
 valueForCellChanged, mxGraphModel
 values, mxStyleRegistry
 Variables
MedianCellSortermxAbstractCanvas2DmxAnimationmxArrowConnectormxAutoSaveManagermxCellmxCellEditormxCellHighlightmxCellMarkermxCellOverlaymxCellPathmxCellRenderermxCellStatemxCellStatePreviewmxCircleLayoutmxClientmxClipboardmxCodecmxCodecRegistrymxCompactTreeLayoutmxCompositeLayoutmxConnectionConstraintmxConstantsmxConstraintHandlermxCoordinateAssignmentmxCylindermxDefaultKeyHandlermxDefaultPopupMenumxDefaultToolbarmxDefaultToolbarCodecmxDoubleEllipsemxDragSourcemxEdgeHandlermxElbowEdgeHandlermxEventmxEventObjectmxEventSourcemxFastOrganicLayoutmxFormmxGeometrymxGraphmxGraphAbstractHierarchyCellmxGraphHandlermxGraphHierarchyEdgemxGraphHierarchyModelmxGraphHierarchyNodemxGraphLayoutmxGraphModelmxGraphSelectionModelmxGraphViewmxGuidemxHandlemxHierarchicalLayoutmxImagemxImageBundlemxImageExportmxImageShapemxKeyHandlermxLabelmxLayoutManagermxLogmxMarkermxMedianHybridCrossingReductionmxMinimumCycleRemovermxMorphingmxMouseEventmxMultiplicitymxObjectCodecmxObjectIdentitymxOutlinemxPanningHandlermxPanningManagermxParallelEdgeLayoutmxPartitionLayoutmxPointmxPopupMenumxPopupMenuHandlermxPrintPreviewmxRadialTreeLayoutmxRectanglemxResourcesmxRubberbandmxShapemxStackLayoutmxStencilmxStyleRegistrymxStylesheetCodecmxSvgCanvas2DmxSwimlanemxSwimlaneLayoutmxSwimlaneManagermxSwimlaneModelmxSwimlaneOrderingmxTemporaryCellStatesmxTextmxToolbarmxTooltipHandlermxUndoableEditmxUndoManagermxUrlConvertermxUtilsmxVertexHandlermxVmlCanvas2DmxWindowmxXmlCanvas2DmxXmlRequestWeightedCellSorter
 VERSION, mxClient
 vertex, mxCell
 VERTEX_SELECTION_COLOR, mxConstants
 VERTEX_SELECTION_STROKEWIDTH, mxConstants
 vertexArray, mxFastOrganicLayout
 vertexLabelsMovable, mxGraph
 vertexMapper
 vertical, mxGuide
 verticalAlign, mxCellOverlay
 verticalLayout, mxCompactTreeLayout
 verticalOffset, mxVertexHandler
 verticalTextRotation, mxText
 view
 VIRTUAL_HANDLE, mxEvent
 virtualBendOpacity, mxEdgeHandler
 virtualBendsEnabled, mxEdgeHandler
 visible
 visibleSourceState, mxCellState
 visibleStateForCellChanged, mxGraphModel
 visibleTargetState, mxCellState
 visit
 visited
 VML_PREFIX, mxClient
 VML_SHADOWCOLOR, mxConstants
 vmlScale
-
Defines the color to be used for the coloring valid connection previews.
mxGraphView.prototype.validate = function(cell)
Calls validateCell and validateCellState and updates the graphBounds using getBoundingBox.
mxGraphView.prototype.validateBackground = function()
Calls validateBackgroundImage and validateBackgroundPage.
mxGraphView.prototype.validateBackgroundImage = function()
Validates the background image.
mxGraphView.prototype.validateBackgroundPage = function()
Validates the background page.
mxGraph.prototype.validateCell = function(cell,
context)
Hook method for subclassers to return an error message for the given cell and validation context.
mxGraphView.prototype.validateCell = function(cell,
visible)
Recursively creates the cell state for the given cell if visible is true and the given cell is visible.
mxGraphView.prototype.validateCellState = function(cell,
recurse)
Validates and repaints the mxCellState for the given mxCell.
mxConnectionHandler.prototype.validateConnection = function(source,
target)
Returns the error message or an empty string if the connection for the given source target pair is not valid.
mxEdgeHandler.prototype.validateConnection = function(source,
target)
Returns the error message or an empty string if the connection for the given source, target pair is not valid.
mxGraph.prototype.validateEdge = function(edge,
source,
target)
Hook method for subclassers to return an error message for the given edge and terminals.
mxGraph.prototype.validateGraph = function(cell,
context)
Validates the graph by validating each descendant of the given cell or the root of the model.
mxEditor.prototype.validating
Specifies if mxGraph.validateGraph should automatically be invoked after each change.
mxGraph.prototype.validationAlert = function(message)
Displays the given validation error in a dialog.
mxCellMarker.prototype.validColor
Holds the valid marker color.
mxMultiplicity.prototype.validNeighbors
Holds an array of strings that specify the type of neighbor for which this rule applies.
mxMultiplicity.prototype.validNeighborsAllowed
Boolean indicating if the list of validNeighbors are those that are allowed for this rule or those that are not allowed for this rule.
mxCellMarker.prototype.validState
Holds the marked mxCellState if it is valid.
mxCell.prototype.value
Holds the user object.
mxMultiplicity.prototype.value
Optional string that specifies the value of the attribute to be passed to mxUtils.isNode to check if the rule applies to a cell.
mxCell.prototype.valueChanged = function(newValue)
Changes the user object after an in-place edit and returns the previous value.
mxGraphModel.prototype.valueForCellChanged = function(cell,
value)
Inner callback to update the user object of the given mxCell using mxCell.valueChanged and return the previous value, that is, the return value of mxCell.valueChanged.
Maps from strings to objects.
Contains the current version of the mxGraph library.
mxCell.prototype.vertex
Specifies whether the cell is a vertex.
Defines the color to be used for the selection border of vertices.
Defines the strokewidth to be used for vertex selections.
mxFastOrganicLayout.prototype.vertexArray
An array of all vertices to be laid out.
mxGraph.prototype.vertexLabelsMovable
Specifies the return value for vertices in isLabelMovable.
mxGraphHierarchyModel.prototype.vertexMapper
Map from graph vertices to internal model nodes.
mxSwimlaneModel.prototype.vertexMapper
Map from graph vertices to internal model nodes.
mxGuide.prototype.vertical
Specifies if vertical guides are enabled.
mxCellOverlay.prototype.verticalAlign
Holds the vertical alignment for the overlay.
mxCompactTreeLayout.prototype.verticalLayout = function(node,
parent,
x0,
y0,
bounds)
mxVertexHandler.prototype.verticalOffset
The horizontal offset for the handles.
mxText.prototype.verticalTextRotation
Rotation for vertical text.
mxCellState.prototype.view
Reference to the enclosing mxGraphView.
mxGraph.prototype.view
Holds the mxGraphView that caches the mxCellStates for the cells.
mxTemporaryCellStates.prototype.view
Holds the width of the rectangle.
Start index for the virtual handles in an mxMouseEvent.
mxEdgeHandler.prototype.virtualBendOpacity
Opacity to be used for virtual bends (see virtualBendsEnabled).
mxEdgeHandler.prototype.virtualBendsEnabled
Specifies if virtual bends should be added in the center of each segments.
mxCell.prototype.visible
Specifies whether the cell is visible.
mxShape.prototype.visible
Specifies if the shape is visible.
mxWindow.prototype.visible
Boolean flag that represents the visible state of the window.
mxCellState.prototype.visibleSourceState
Caches the visible source terminal state.
mxGraphModel.prototype.visibleStateForCellChanged = function(cell,
visible)
Inner callback to update the visible state of the given mxCell using mxCell.setCollapsed and return the previous visible state.
mxCellState.prototype.visibleTargetState
Caches the visible target terminal state.
mxDictionary.prototype.visit = function(visitor)
Visits all entries in the dictionary using the given function with the following signature: function(key, value) where key is a string and value is an object.
mxGraphHierarchyModel.prototype.visit = function(visitor,
dfsRoots,
trackAncestors,
seenNodes)
A depth first search through the internal heirarchy model.
mxSwimlaneModel.prototype.visit = function(visitor,
dfsRoots,
trackAncestors,
seenNodes)
A depth first search through the internal heirarchy model.
mxCompactTreeLayout.prototype.visited
Specifies if the tree should be moved to the top, left corner if it is inside a top-level layer.
WeightedCellSorter.prototype.visited
Whether or not this cell has been visited in the current assignment.
Prefix for VML namespace in node names.
Used for shadow color in filters where transparency is not supported (Microsoft Internet Explorer).
mxDoubleEllipse.prototype.vmlScale
Scale for improving the precision of VML rendering.
mxShape.prototype.vmlScale
Scale for improving the precision of VML rendering.
mxVmlCanvas2D.prototype.vmlScale
Specifies the scale used to draw VML shapes.
+
Defines the color to be used for the coloring valid connection previews.
mxGraphView.prototype.validate = function(cell)
Calls validateCell and validateCellState and updates the graphBounds using getBoundingBox.
mxGraphView.prototype.validateBackground = function()
Calls validateBackgroundImage and validateBackgroundPage.
mxGraphView.prototype.validateBackgroundImage = function()
Validates the background image.
mxGraphView.prototype.validateBackgroundPage = function()
Validates the background page.
mxGraph.prototype.validateCell = function(cell,
context)
Hook method for subclassers to return an error message for the given cell and validation context.
mxGraphView.prototype.validateCell = function(cell,
visible)
Recursively creates the cell state for the given cell if visible is true and the given cell is visible.
mxGraphView.prototype.validateCellState = function(cell,
recurse)
Validates and repaints the mxCellState for the given mxCell.
mxConnectionHandler.prototype.validateConnection = function(source,
target)
Returns the error message or an empty string if the connection for the given source target pair is not valid.
mxEdgeHandler.prototype.validateConnection = function(source,
target)
Returns the error message or an empty string if the connection for the given source, target pair is not valid.
mxGraph.prototype.validateEdge = function(edge,
source,
target)
Hook method for subclassers to return an error message for the given edge and terminals.
mxGraph.prototype.validateGraph = function(cell,
context)
Validates the graph by validating each descendant of the given cell or the root of the model.
mxEditor.prototype.validating
Specifies if mxGraph.validateGraph should automatically be invoked after each change.
mxGraph.prototype.validationAlert = function(message)
Displays the given validation error in a dialog.
mxCellMarker.prototype.validColor
Holds the valid marker color.
mxMultiplicity.prototype.validNeighbors
Holds an array of strings that specify the type of neighbor for which this rule applies.
mxMultiplicity.prototype.validNeighborsAllowed
Boolean indicating if the list of validNeighbors are those that are allowed for this rule or those that are not allowed for this rule.
mxCellMarker.prototype.validState
Holds the marked mxCellState if it is valid.
mxCell.prototype.value
Holds the user object.
mxMultiplicity.prototype.value
Optional string that specifies the value of the attribute to be passed to mxUtils.isNode to check if the rule applies to a cell.
mxCell.prototype.valueChanged = function(newValue)
Changes the user object after an in-place edit and returns the previous value.
mxGraphModel.prototype.valueForCellChanged = function(cell,
value)
Inner callback to update the user object of the given mxCell using mxCell.valueChanged and return the previous value, that is, the return value of mxCell.valueChanged.
Maps from strings to objects.
Contains the current version of the mxGraph library.
mxCell.prototype.vertex
Specifies whether the cell is a vertex.
Defines the color to be used for the selection border of vertices.
Defines the strokewidth to be used for vertex selections.
mxFastOrganicLayout.prototype.vertexArray
An array of all vertices to be laid out.
mxGraph.prototype.vertexLabelsMovable
Specifies the return value for vertices in isLabelMovable.
mxGraphHierarchyModel.prototype.vertexMapper
Map from graph vertices to internal model nodes.
mxSwimlaneModel.prototype.vertexMapper
Map from graph vertices to internal model nodes.
mxGuide.prototype.vertical
Specifies if vertical guides are enabled.
mxCellOverlay.prototype.verticalAlign
Holds the vertical alignment for the overlay.
mxCompactTreeLayout.prototype.verticalLayout = function(node,
parent,
x0,
y0,
bounds)
mxVertexHandler.prototype.verticalOffset
The horizontal offset for the handles.
mxText.prototype.verticalTextRotation
Rotation for vertical text.
mxCellState.prototype.view
Reference to the enclosing mxGraphView.
mxGraph.prototype.view
Holds the mxGraphView that caches the mxCellStates for the cells.
mxTemporaryCellStates.prototype.view
Holds the width of the rectangle.
Start index for the virtual handles in an mxMouseEvent.
mxEdgeHandler.prototype.virtualBendOpacity
Opacity to be used for virtual bends (see virtualBendsEnabled).
mxEdgeHandler.prototype.virtualBendsEnabled
Specifies if virtual bends should be added in the center of each segments.
mxCell.prototype.visible
Specifies whether the cell is visible.
mxShape.prototype.visible
Specifies if the shape is visible.
mxWindow.prototype.visible
Boolean flag that represents the visible state of the window.
mxCellState.prototype.visibleSourceState
Caches the visible source terminal state.
mxGraphModel.prototype.visibleStateForCellChanged = function(cell,
visible)
Inner callback to update the visible state of the given mxCell using mxCell.setCollapsed and return the previous visible state.
mxCellState.prototype.visibleTargetState
Caches the visible target terminal state.
mxDictionary.prototype.visit = function(visitor)
Visits all entries in the dictionary using the given function with the following signature: function(key, value) where key is a string and value is an object.
mxGraphHierarchyModel.prototype.visit = function(visitor,
dfsRoots,
trackAncestors,
seenNodes)
A depth first search through the internal heirarchy model.
mxSwimlaneModel.prototype.visit = function(visitor,
dfsRoots,
trackAncestors,
seenNodes)
A depth first search through the internal heirarchy model.
mxCompactTreeLayout.prototype.visited
Specifies if the tree should be moved to the top, left corner if it is inside a top-level layer.
WeightedCellSorter.prototype.visited
Whether or not this cell has been visited in the current assignment.
Prefix for VML namespace in node names.
Used for shadow color in filters where transparency is not supported (Microsoft Internet Explorer).
mxDoubleEllipse.prototype.vmlScale
Scale for improving the precision of VML rendering.
mxShape.prototype.vmlScale
Scale for improving the precision of VML rendering.
mxVmlCanvas2D.prototype.vmlScale
Specifies the scale used to draw VML shapes.
diff --git a/docs/js-api/index/General20.html b/docs/js-api/index/General20.html index cce7fd9cf..efe11ef35 100644 --- a/docs/js-api/index/General20.html +++ b/docs/js-api/index/General20.html @@ -11,21 +11,21 @@ if (browserType) {document.write("
");if (browserV -
Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
W
 w0, mxStencil
 warn, mxLog
 WARN, mxLog
 warningImage, mxGraph
 waypointsEnabled, mxConnectionHandler
 WeightedCellSorter
 weightedMedian, mxMedianHybridCrossingReduction
 weightedValue, WeightedCellSorter
 widestRank, mxCoordinateAssignment
 widestRankValue, mxCoordinateAssignment
 width
 Windows, mxEditor
 withCredentials, mxXmlRequest
 wnd, mxPrintPreview
 wordWrapPadding, mxCellEditor
 wrap, mxStackLayout
 write
 writeAttribute, mxObjectCodec
 writeComplexAttribute, mxObjectCodec
 writeDefaults, mxXmlCanvas2D
 writeGraphModel, mxEditor
 writeHead, mxPrintPreview
 writeln
 writePostfix, mxPrintPreview
 writePrimitiveAttribute, mxObjectCodec
X
 x
 x0
Y
 y
 y0
Z
 zIndex
 zoom, mxGraph
 zoomActual, mxGraph
 zoomFactor, mxGraph
 zoomIn, mxGraph
 zoomOut, mxGraph
 zoomTo, mxGraph
 zoomToRect, mxGraph
+
Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
W
 w0, mxStencil
 warn, mxLog
 WARN, mxLog
 warningImage, mxGraph
 waypointsEnabled, mxConnectionHandler
 WeightedCellSorter
 weightedMedian, mxMedianHybridCrossingReduction
 weightedValue, WeightedCellSorter
 widestRank, mxCoordinateAssignment
 widestRankValue, mxCoordinateAssignment
 width
 Windows, mxEditor
 withCredentials, mxXmlRequest
 wnd, mxPrintPreview
 wordWrapPadding, mxCellEditor
 wrap, mxStackLayout
 write
 writeAttribute, mxObjectCodec
 writeComplexAttribute, mxObjectCodec
 writeDefaults, mxXmlCanvas2D
 writeGraphModel, mxEditor
 writeHead, mxPrintPreview
 writeln
 writePostfix, mxPrintPreview
 writePrimitiveAttribute, mxObjectCodec
X
 x
 x0
Y
 y
 y0
Z
 zIndex
 zoom, mxGraph
 zoomActual, mxGraph
 zoomFactor, mxGraph
 zoomIn, mxGraph
 zoomOut, mxGraph
 zoomTo, mxGraph
 zoomToRect, mxGraph
-
mxStencil.prototype.w0
Holds the width of the shape.
warn: function()
Adds all arguments to the console if WARN is enabled.
Specifies if the output for warn should be visible in the console.
mxGraph.prototype.warningImage
Specifies the mxImage for the image to be used to display a warning overlay.
mxConnectionHandler.prototype.waypointsEnabled
Specifies if single clicks should add waypoints on the new edge.
A utility class used to track cells whilst sorting occurs on the weighted sum of their connected edges.
function WeightedCellSorter(cell,
weightedValue)
Constructs a new weighted cell sorted for the given cell and weight.
mxMedianHybridCrossingReduction.prototype.weightedMedian = function(iteration,
model)
Sweeps up or down the layout attempting to minimise the median placement of connected cells on adjacent ranks
WeightedCellSorter.prototype.weightedValue
The weighted value of the cell stored.
mxCoordinateAssignment.prototype.widestRank
The rank that has the widest x position
mxCoordinateAssignment.prototype.widestRankValue
The X-coordinate of the edge of the widest rank
mxGraphAbstractHierarchyCell.prototype.width
The width of this cell
mxImage.prototype.width
Integer that specifies the width of the image.
mxRectangle.prototype.width
Holds the width of the rectangle.
mxXmlRequest.prototype.withCredentials
Specifies if withCredentials should be used in HTML5-compliant browsers.
mxPrintPreview.prototype.wnd
Reference to the preview window.
mxCellEditor.prototype.wordWrapPadding
Correction factor for word wrapping width.
mxStackLayout.prototype.wrap
Value at which a new column or row should be created.
write: function()
Adds the specified strings to the console.
write: function(parent,
text)
Creates a text node for the given string and appends it to the given parent.
mxObjectCodec.prototype.writeAttribute = function(enc,
obj,
name,
value,
node)
Writes the given value into node using writePrimitiveAttribute or writeComplexAttribute depending on the type of the value.
mxObjectCodec.prototype.writeComplexAttribute = function(enc,
obj,
name,
value,
node)
Writes the given value as a child node of the given node.
mxXmlCanvas2D.prototype.writeDefaults = function()
mxEditor.prototype.writeGraphModel = function (linefeed)
Hook to create the string representation of the diagram.
mxPrintPreview.prototype.writeHead = function(doc,
css)
Writes the HEAD section into the given document, without the opening and closing HEAD tags.
writeln: function()
Adds the specified strings to the console, appending a linefeed at the end of each string.
writeln: function(parent,
text)
Creates a text node for the given string and appends it to the given parent with an additional linefeed.
mxPrintPreview.prototype.writePostfix = function(doc)
Called before closing the body of the page.
mxObjectCodec.prototype.writePrimitiveAttribute = function(enc,
obj,
name,
value,
node)
Writes the given value as an attribute of the given node.
+
mxStencil.prototype.w0
Holds the width of the shape.
warn: function()
Adds all arguments to the console if WARN is enabled.
Specifies if the output for warn should be visible in the console.
mxGraph.prototype.warningImage
Specifies the mxImage for the image to be used to display a warning overlay.
mxConnectionHandler.prototype.waypointsEnabled
Specifies if single clicks should add waypoints on the new edge.
A utility class used to track cells whilst sorting occurs on the weighted sum of their connected edges.
function WeightedCellSorter(cell,
weightedValue)
Constructs a new weighted cell sorted for the given cell and weight.
mxMedianHybridCrossingReduction.prototype.weightedMedian = function(iteration,
model)
Sweeps up or down the layout attempting to minimise the median placement of connected cells on adjacent ranks
WeightedCellSorter.prototype.weightedValue
The weighted value of the cell stored.
mxCoordinateAssignment.prototype.widestRank
The rank that has the widest x position
mxCoordinateAssignment.prototype.widestRankValue
The X-coordinate of the edge of the widest rank
mxGraphAbstractHierarchyCell.prototype.width
The width of this cell
mxImage.prototype.width
Integer that specifies the width of the image.
mxRectangle.prototype.width
Holds the width of the rectangle.
mxXmlRequest.prototype.withCredentials
Specifies if withCredentials should be used in HTML5-compliant browsers.
mxPrintPreview.prototype.wnd
Reference to the preview window.
mxCellEditor.prototype.wordWrapPadding
Correction factor for word wrapping width.
mxStackLayout.prototype.wrap
Value at which a new column or row should be created.
write: function()
Adds the specified strings to the console.
write: function(parent,
text)
Creates a text node for the given string and appends it to the given parent.
mxObjectCodec.prototype.writeAttribute = function(enc,
obj,
name,
value,
node)
Writes the given value into node using writePrimitiveAttribute or writeComplexAttribute depending on the type of the value.
mxObjectCodec.prototype.writeComplexAttribute = function(enc,
obj,
name,
value,
node)
Writes the given value as a child node of the given node.
mxXmlCanvas2D.prototype.writeDefaults = function()
mxEditor.prototype.writeGraphModel = function (linefeed)
Hook to create the string representation of the diagram.
mxPrintPreview.prototype.writeHead = function(doc,
css)
Writes the HEAD section into the given document, without the opening and closing HEAD tags.
writeln: function()
Adds the specified strings to the console, appending a linefeed at the end of each string.
writeln: function(parent,
text)
Creates a text node for the given string and appends it to the given parent with an additional linefeed.
mxPrintPreview.prototype.writePostfix = function(doc)
Called before closing the body of the page.
mxObjectCodec.prototype.writePrimitiveAttribute = function(enc,
obj,
name,
value,
node)
Writes the given value as an attribute of the given node.
-
mxGraphAbstractHierarchyCell.prototype.x
The x position of this cell for each layer it occupies
mxPoint.prototype.x
Holds the x-coordinate of the point.
mxCircleLayout.prototype.x0
Integer specifying the left coordinate of the circle.
mxPrintPreview.prototype.x0
Holds the horizontal offset of the output.
mxStackLayout.prototype.x0
Specifies the horizontal origin of the layout.
+
mxGraphAbstractHierarchyCell.prototype.x
The x position of this cell for each layer it occupies
mxPoint.prototype.x
Holds the x-coordinate of the point.
mxCircleLayout.prototype.x0
Integer specifying the left coordinate of the circle.
mxPrintPreview.prototype.x0
Holds the horizontal offset of the output.
mxStackLayout.prototype.x0
Specifies the horizontal origin of the layout.
-
mxGraphAbstractHierarchyCell.prototype.y
The y position of this cell for each layer it occupies
mxPoint.prototype.y
Holds the y-coordinate of the point.
mxCircleLayout.prototype.y0
Integer specifying the top coordinate of the circle.
mxPrintPreview.prototype.y0
Holds the vertical offset of the output.
mxStackLayout.prototype.y0
Specifies the vertical origin of the layout.
+
mxGraphAbstractHierarchyCell.prototype.y
The y position of this cell for each layer it occupies
mxPoint.prototype.y
Holds the y-coordinate of the point.
mxCircleLayout.prototype.y0
Integer specifying the top coordinate of the circle.
mxPrintPreview.prototype.y0
Holds the vertical offset of the output.
mxStackLayout.prototype.y0
Specifies the vertical origin of the layout.
-
mxCellEditor.prototype.zIndex
Specifies the zIndex for the textarea.
mxPopupMenu.prototype.zIndex
Specifies the zIndex for the popupmenu and its shadow.
mxTooltipHandler.prototype.zIndex
Specifies the zIndex for the tooltip and its shadow.
mxGraph.prototype.zoom = function(factor,
center)
Zooms the graph using the given factor.
mxGraph.prototype.zoomActual = function()
Resets the zoom and panning in the view.
mxGraph.prototype.zoomFactor
Specifies the factor used for zoomIn and zoomOut.
mxGraph.prototype.zoomIn = function()
Zooms into the graph by zoomFactor.
mxGraph.prototype.zoomOut = function()
Zooms out of the graph by zoomFactor.
mxGraph.prototype.zoomTo = function(scale,
center)
Zooms the graph to the given scale with an optional boolean center argument, which is passd to zoom.
mxGraph.prototype.zoomToRect = function(rect)
Zooms the graph to the specified rectangle.
+
mxCellEditor.prototype.zIndex
Specifies the zIndex for the textarea.
mxPopupMenu.prototype.zIndex
Specifies the zIndex for the popupmenu and its shadow.
mxTooltipHandler.prototype.zIndex
Specifies the zIndex for the tooltip and its shadow.
mxGraph.prototype.zoom = function(factor,
center)
Zooms the graph using the given factor.
mxGraph.prototype.zoomActual = function()
Resets the zoom and panning in the view.
mxGraph.prototype.zoomFactor
Specifies the factor used for zoomIn and zoomOut.
mxGraph.prototype.zoomIn = function()
Zooms into the graph by zoomFactor.
mxGraph.prototype.zoomOut = function()
Zooms out of the graph by zoomFactor.
mxGraph.prototype.zoomTo = function(scale,
center)
Zooms the graph to the given scale with an optional boolean center argument, which is passd to zoom.
mxGraph.prototype.zoomToRect = function(rect)
Zooms the graph to the specified rectangle.
diff --git a/docs/js-api/index/General3.html b/docs/js-api/index/General3.html index 3728681d0..80be0c7cf 100644 --- a/docs/js-api/index/General3.html +++ b/docs/js-api/index/General3.html @@ -13,7 +13,7 @@ if (browserType) {document.write("
");if (browserV
Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
C
 cacheEnabled, mxText
 cacheOffsetSize, mxSvgCanvas2D
 calcAttraction, mxFastOrganicLayout
 calcPositions, mxFastOrganicLayout
 calcRepulsion, mxFastOrganicLayout
 calcRowDims, mxRadialTreeLayout
 calculateCrossings, mxMedianHybridCrossingReduction
 calculatedWeightedValue, mxCoordinateAssignment
 calculateRankCrossing, mxMedianHybridCrossingReduction
 calculateWidestRank, mxCoordinateAssignment
 canExportCell, mxGraph
 canImportCell, mxGraph
 canRedo, mxUndoManager
 canUndo, mxUndoManager
 captureDocumentGesture, mxGraphView
 cascadeOpacity
 cell
 Cell alignment and orientation, mxGraph
 Cell cloning,insertion and removal, mxGraph
 Cell connecting and connection constraints, mxGraph
 Cell moving, mxGraph
 Cell retrieval, mxGraph
 Cell sizing, mxGraph
 Cell styles, mxGraph
 Cell visibility, mxGraph
 CELL_CONNECTED
 cellAdded
 cellCloned, mxGraphModel
 cellConnected, mxGraph
 cellEditor, mxGraph
 cellLabelChanged, mxGraph
 cellLocation, mxFastOrganicLayout
 cellRemoved
 cellRenderer, mxGraph
 cellResized, mxGraph
 cells
 CELLS_ADDED
 CELLS_FOLDED
 CELLS_MOVED
 CELLS_ORDERED
 CELLS_REMOVED
 CELLS_RESIZED
 CELLS_TOGGLED, mxEvent
 cellsAdded
 cellsBendable, mxGraph
 cellsCloneable, mxGraph
 cellsDeletable, mxGraph
 cellsDisconnectable, mxGraph
 cellsEditable, mxGraph
 cellsFolded, mxGraph
 cellSizeUpdated, mxGraph
 cellsLocked, mxGraph
 cellsMovable, mxGraph
 cellsMoved
 cellsOrdered, mxGraph
 cellsRemoved, mxGraph
 cellsResizable, mxGraph
 cellsResized
 cellsSelectable, mxGraph
 cellsToggled, mxGraph
 center, mxGraph
 centerZoom, mxGraph
 CHANGE
 changeHandler
 changePoints, mxEdgeHandler
 changes, mxUndoableEdit
 changeSelection, mxGraphSelectionModel
 changeTerminalPoint, mxEdgeHandler
 channelBuffer
 check, mxMultiplicity
 checkBounds
 checkLabelHandle, mxEdgeHandler
 checkNeighbors, mxMultiplicity
 checkTerminal, mxMultiplicity
 checkTolerance, mxVertexHandler
 checkType, mxMultiplicity
 children, mxCell
 circle, mxCircleLayout
 clear
 CLEAR
 clearCellOverlays, mxGraph
 clearSelection
 clearSelectionOnBackground, mxPopupMenuHandler
 click, mxGraph
 CLICK
 clone
 cloneCell, mxGraphModel
 cloneCellImpl, mxGraphModel
 cloneCells
 cloneEnabled
 cloneInvalidEdges, mxGraph
 clonePreviewState, mxEdgeHandler
 cloneTemplate, mxObjectCodec
 cloneValue, mxCell
 close
 CLOSE
 closeImage, mxWindow
 closeOp
 closeResource, mxUtils
 codecs, mxCodecRegistry
 collapsed, mxCell
 collapsedImage, mxGraph
 collapsedStateForCellChanged, mxGraphModel
 collapseExpandResource, mxGraph
 collapseToPreferredSize, mxGraph
 compare
 compressed, mxXmlCanvas2D
 computeAspect, mxStencil
 config, mxDefaultPopupMenu
 configure, mxEditor
 configureCanvas
 configureShape, mxCellRenderer
 confirm, mxUtils
 connect
 CONNECT
 CONNECT_CELL
 CONNECT_HANDLE_FILLCOLOR, mxConstants
 connectable, mxCell
 connectableEdges, mxGraph
 connectCell, mxGraph
 connectIconOffset, mxConnectionHandler
 connectImage, mxConnectionHandler
 connectOnDrop
 connectsAsSource, mxGraphHierarchyNode
 connectsAsTarget, mxGraphHierarchyNode
 consoleName, mxLog
 constrainChild, mxGraph
 constrainChildCells, mxGraph
 constrainChildren, mxGraph
 constrainChildrenOnResize, mxGraph
 constrainGroupByChildren, mxVertexHandler
 CONSTRAINT_HIGHLIGHT_SIZE, mxConstants
 constraintHandler
 constraints, mxStencil
 consume
 consumeCycleAttribute, mxEditor
 consumed
 consumeMouseEvent, mxGraph
 consumePanningTrigger, mxPanningHandler
 container, mxToolbar
 contains
 containsValidationErrorsResource, mxGraph
 content, mxWindow
 contentHeightCorrection, mxWindow
 controlKeys, mxKeyHandler
 Controls and Handlers, mxEditor
 controlShiftKeys, mxKeyHandler
 convert, mxUrlConverter
 convertAttributeFromXml, mxObjectCodec
 convertAttributeToXml, mxObjectCodec
 converter, mxAbstractCanvas2D
 convertHtml, mxSvgCanvas2D
 convertPoint
 convertValueToString, mxGraph
 convertWaypoint, mxConnectionHandler
 copy, mxClipboard
 copyStyle, mxHandle
 count, mxCellStatePreview
 counter, mxObjectIdentity
 countError, mxMultiplicity
 create
 createBackgroundPageShape, mxGraphView
 createBends
 createBoundingBox, mxShape
 createBounds, mxVertexHandler
 createCanvas, mxShape
 createCellEditor, mxGraph
 createCellOverlays, mxCellRenderer
 createCellRenderer, mxGraph
 createClip, mxSvgCanvas2D
 createConditions, mxDefaultPopupMenu
 createConnectionHandler, mxGraph
 createControl, mxCellRenderer
 createControlClickHandler, mxCellRenderer
 createCustomHandles
 createDashPattern, mxSvgCanvas2D
 createDefaultEdgeStyle, mxStylesheet
 createDefaultVertexStyle, mxStylesheet
 createDiagramLayout, mxEditor
 createDiv, mxSvgCanvas2D
 createDragElement, mxDragSource
 createEdge
 createEdgeHandler, mxGraph
 createEdgeSegmentHandler, mxGraph
 createEdgeState, mxConnectionHandler
 createElbowEdgeHandler, mxGraph
 createElement
 createFill, mxVmlCanvas2D
 createGradientId, mxSvgCanvas2D
 createGraph
 createGraphHandler, mxGraph
 createGraphView, mxGraph
 createGroup, mxEditor
 createGroupCell, mxGraph
 createGuideShape, mxGuide
 createHandler, mxGraph
 createHandlers, mxGraph
 createHandleShape, mxEdgeHandler
 createHighlightShape, mxConstraintHandler
 createHtml
 createHtmlPane, mxGraphView
 createIcons, mxConnectionHandler
 createId, mxGraphModel
 createIds, mxGraphModel
 createImage, mxUtils
 createIndicatorShape, mxCellRenderer
 createInternalCells
 createLabel, mxCellRenderer
 createLabelHandleShape, mxEdgeHandler
 createLayoutManager, mxEditor
 createLine, mxCompactTreeLayout
 createMarker
 createMenu, mxDefaultPopupMenu
 createNode, mxCompactTreeLayout
 createPageSelector, mxPrintPreview
 createPanningHandler, mxGraph
 createPanningManager, mxGraph
 createParentHighlightShape, mxVertexHandler
 createPopupMenu, mxEditor
 createPopupMenuHandler, mxGraph
 createPreviewElement, mxDragSource
 createPreviewShape, mxGraphHandler
 createProperties, mxEditor
 createRect, mxVmlCanvas2D
 createRoot, mxGraphModel
 createSelectionCellsHandler, mxGraph
 createSelectionModel, mxGraph
 createSelectionShape
 createShadow
 createShadowFill, mxVmlCanvas2D
 createShadowStroke, mxVmlCanvas2D
 createShape
 createSizer
 createSizerShape, mxVertexHandler
 createState
 createStroke, mxVmlCanvas2D
 createStyle, mxSvgCanvas2D
 createStylesheet, mxGraph
 createSubmenu, mxPopupMenu
 createSvg, mxShape
 createSvgCanvas, mxShape
 createSvgGradient, mxSvgCanvas2D
 createSwimlaneLayout, mxEditor
 createSwimlaneManager, mxEditor
 createTarget, mxConnectionHandler
 createTargetVertex, mxConnectionHandler
 createTasks, mxEditor
 createText, mxVmlCanvas2D
 createTolerance, mxSvgCanvas2D
 createToolbar, mxEditor
 createTooltipHandler, mxGraph
 createTransparentFill, mxVmlCanvas2D
 createTransparentSvgRectangle, mxShape
 createUndoableEdit, mxGraphModel
 createUrlConverter, mxAbstractCanvas2D
 createVertex, mxGraph
 createVertexHandler, mxGraph
 createVirtualBend, mxElbowEdgeHandler
 createVirtualBends, mxEdgeHandler
 createVml, mxShape
 createVmlCanvas, mxShape
 createVmlElement, mxVmlCanvas2D
 createVmlGroup, mxShape
 createVmlPane, mxGraphView
 createXmlDocument, mxUtils
 crossingStage
 currentBestCrossings, mxMedianHybridCrossingReduction
 currentColor, mxCellMarker
 currentDropTarget, mxDragSource
 currentDx, mxGraphHandler
 currentDy, mxGraphHandler
 currentEdit, mxGraphModel
 currentFileResource, mxEditor
 currentGraph, mxDragSource
 currentGuide, mxDragSource
 currentPoint, mxDragSource
 currentRoot, mxGraphView
 currentX, mxRubberband
 currentXDelta, mxCoordinateAssignment
 currentY, mxRubberband
 cursor
 CURSOR_BEND_HANDLE, mxConstants
 CURSOR_CONNECT, mxConstants
 CURSOR_LABEL_HANDLE, mxConstants
 CURSOR_MOVABLE_EDGE, mxConstants
 CURSOR_MOVABLE_VERTEX, mxConstants
 CURSOR_TERMINAL_HANDLE, mxConstants
 CURSOR_VIRTUAL_BEND_HANDLE, mxConstants
 curveOp
 curveTo
 CUSTOM_HANDLE, mxEvent
 cut, mxClipboard
 cycleAttribute, mxEditor
 cycleAttributeIndex, mxEditor
 cycleAttributeName, mxEditor
 cycleAttributeValues, mxEditor
 cycleStage
-
mxText.prototype.cacheEnabled
Specifies if caching for HTML labels should be enabled.
mxSvgCanvas2D.prototype.cacheOffsetSize
Specifies if offsetWidth and offsetHeight should be cached.
mxFastOrganicLayout.prototype.calcAttraction = function()
Calculates the attractive forces between all laid out nodes linked by edges
mxFastOrganicLayout.prototype.calcPositions = function()
Takes the displacements calculated for each cell and applies them to the local cache of cell positions.
mxFastOrganicLayout.prototype.calcRepulsion = function()
Calculates the repulsive forces between all laid out nodes
mxRadialTreeLayout.prototype.calcRowDims = function(row,
rowNum)
Recursive function to calculate the dimensions of each row
mxMedianHybridCrossingReduction.prototype.calculateCrossings = function(model)
Calculates the total number of edge crossing in the current graph.
mxCoordinateAssignment.prototype.calculatedWeightedValue = function(
   currentCell,
   collection
)
Calculates the priority the specified cell has based on the type of its cell and the cells it is connected to on the next layer
mxMedianHybridCrossingReduction.prototype.calculateRankCrossing = function(
   i,
   model
)
Calculates the number of edges crossings between the specified rank and the rank below it.
mxCoordinateAssignment.prototype.calculateWidestRank = function(graph,
model)
Calculates the width rank in the hierarchy.
mxGraph.prototype.canExportCell = function(cell)
Returns true if the given cell may be exported to the clipboard.
mxGraph.prototype.canImportCell = function(cell)
Returns true if the given cell may be imported from the clipboard.
mxUndoManager.prototype.canRedo = function()
Returns true if a redo is possible.
mxUndoManager.prototype.canUndo = function()
Returns true if an undo is possible.
mxGraphView.prototype.captureDocumentGesture
Specifies if a gesture should be captured when it goes outside of the graph container.
cascadeOpacity: function(graph,
cell,
opacity)
Sets the opacity on the given cell and its descendants.
cascadeOpacity: function(graph,
cell,
opacity)
See mxEffects.cascadeOpacity.
MedianCellSorter.prototype.cell
The cell whose median value is being calculated
mxCellState.prototype.cell
Reference to the mxCell that is represented by this state.
mxGraphHierarchyNode.prototype.cell
The graph cell this object represents.
WeightedCellSorter.prototype.cell
The cell whose median value is being calculated.
Specifies the event name for cellConnected.
Fires between begin- and endUpdate in cellConnected.
mxGraphModel.prototype.cellAdded = function(cell)
Inner callback to update cells when a cell has been added.
mxGraphSelectionModel.prototype.cellAdded = function(cell)
Inner callback to add the specified mxCell to the selection.
mxGraphModel.prototype.cellCloned = function(cell)
Hook for cloning the cell.
mxGraph.prototype.cellConnected = function(edge,
terminal,
source,
constraint)
Sets the new terminal for the given edge and resets the edge points if resetEdgesOnConnect is true.
mxGraph.prototype.cellEditor
Holds the mxCellEditor that is used as the in-place editing.
mxGraph.prototype.cellLabelChanged = function(cell,
value,
autoSize)
Sets the new label for a cell.
mxFastOrganicLayout.prototype.cellLocation
An array of locally stored co-ordinate positions for the vertices.
mxGraphModel.prototype.cellRemoved = function(cell)
Inner callback to update cells when a cell has been removed.
mxGraphSelectionModel.prototype.cellRemoved = function(cell)
Inner callback to remove the specified mxCell from the selection.
mxGraph.prototype.cellRenderer
Holds the mxCellRenderer for rendering the cells in the graph.
mxGraph.prototype.cellResized = function(cell,
bounds,
ignoreRelative,
recurse)
Resizes the parents recursively so that they contain the complete area of the resized child cell.
Holds the array of mxCells currently in the clipboard.
mxGraphModel.prototype.cells
Maps from Ids to cells.
mxMorphing.prototype.cells
Optional array of cells to be animated.
Specifies the event name for cellsAdded.
Fires between begin- and endUpdate in cellsAdded.
Specifies the event name for cellsFolded.
Fires between begin- and endUpdate in cellsFolded.
Specifies the event name for cellsMoved.
Fires between begin- and endUpdate in cellsMoved.
Specifies the event name for cellsOrdered.
Fires between begin- and endUpdate in cellsOrdered.
Specifies the event name for cellsRemoved.
Fires between begin- and endUpdate in cellsRemoved.
Specifies the event name for cellsResized.
Fires between begin- and endUpdate in cellsResized.
Specifies the event name for cellsToggled.
mxGraph.prototype.cellsAdded = function(cells,
parent,
index,
source,
target,
absolute,
constrain)
Adds the specified cells to the given parent.
mxSwimlaneManager.prototype.cellsAdded = function(cells)
Called if any cells have been added.
mxGraph.prototype.cellsBendable
Specifies the return value for isCellsBendable.
mxGraph.prototype.cellsCloneable
Specifies the return value for isCellCloneable.
mxGraph.prototype.cellsDeletable
Specifies the return value for isCellDeletable.
mxGraph.prototype.cellsDisconnectable
Specifies the return value for isCellDisconntable.
mxGraph.prototype.cellsEditable
Specifies the return value for isCellEditable.
mxGraph.prototype.cellsFolded = function(cells,
collapse,
recurse,
checkFoldable)
Sets the collapsed state of the specified cells.
mxGraph.prototype.cellSizeUpdated = function(cell,
ignoreChildren)
Updates the size of the given cell in the model using getPreferredSizeForCell to get the new size.
mxGraph.prototype.cellsLocked
Specifies the return value for isCellLocked.
mxGraph.prototype.cellsMovable
Specifies the return value for isCellMovable.
mxGraph.prototype.cellsMoved = function(cells,
dx,
dy,
disconnect,
constrain,
extend)
Moves the specified cells by the given vector, disconnecting the cells using disconnectGraph is disconnect is true.
mxLayoutManager.prototype.cellsMoved = function(cells,
evt)
Called from the moveHandler.
mxGraph.prototype.cellsOrdered = function(cells,
back)
Moves the given cells to the front or back.
mxGraph.prototype.cellsRemoved = function(cells)
Removes the given cells from the model.
mxGraph.prototype.cellsResizable
Specifies the return value for isCellResizable.
mxGraph.prototype.cellsResized = function(cells,
bounds,
recurse)
Sets the bounds of the given cells and fires a mxEvent.CELLS_RESIZED event.
mxSwimlaneManager.prototype.cellsResized = function(cells)
Called if any cells have been resizes.
mxGraph.prototype.cellsSelectable
Specifies the return value for isCellSelectable.
mxGraph.prototype.cellsToggled = function(cells,
show)
Sets the visible state of the specified cells.
mxGraph.prototype.center = function(horizontal,
vertical,
cx,
cy)
Centers the graph in the container.
mxGraph.prototype.centerZoom
Specifies if the zoom operations should go into the center of the actual diagram rather than going from top, left.
Specifies the event name for change.
Fires when an undoable edit is dispatched.
Fires after the selection changes by executing an mxSelectionChange.
mxAutoSaveManager.prototype.changeHandler
Holds the function that handles graph model changes.
mxConnectionHandler.prototype.changeHandler
Holds the change event listener for later removal.
mxEdgeHandler.prototype.changePoints = function(edge,
points,
clone)
Changes the control points of the given edge in the graph model.
mxUndoableEdit.prototype.changes
Array that contains the changes that make up this edit.
mxGraphSelectionModel.prototype.changeSelection = function(added,
removed)
Inner callback to add the specified mxCell to the selection.
mxEdgeHandler.prototype.changeTerminalPoint = function(edge,
point,
isSource,
clone)
Changes the terminal point of the given edge.
mxCompactTreeLayout.prototype.channelBuffer
The size of the vertical buffer in the center of inter-rank channels where edge control points should not be placed.
mxCoordinateAssignment.prototype.channelBuffer
The size of the vertical buffer in the center of inter-rank channels where edge control points should not be placed
mxMultiplicity.prototype.check = function(graph,
edge,
source,
target,
sourceOut,
targetIn)
Checks the multiplicity for the given arguments and returns the error for the given connection or null if the multiplicity does not apply.
mxShape.prototype.checkBounds = function()
Returns true if the bounds are not null and all of its variables are numeric.
mxText.prototype.checkBounds = function()
Returns true if the bounds are not null and all of its variables are numeric.
mxEdgeHandler.prototype.checkLabelHandle = function(b)
Checks if the label handle intersects the given bounds and moves it if it intersects.
mxMultiplicity.prototype.checkNeighbors = function(graph,
edge,
source,
target)
Checks if there are any valid neighbours in validNeighbors.
mxMultiplicity.prototype.checkTerminal = function(graph,
terminal,
edge)
Checks the given terminal cell and returns true if this rule applies.
mxVertexHandler.prototype.checkTolerance = function(me)
Checks if the coordinates for the given event are within the mxGraph.tolerance.
mxMultiplicity.prototype.checkType = function(graph,
value,
type,
attr,
attrValue)
Checks the type of the given value.
mxCell.prototype.children
Holds the child cells.
mxCircleLayout.prototype.circle = function(vertices,
r,
left,
top)
Executes the circular layout for the specified array of vertices and the given radius.
mxDictionary.prototype.clear = function()
Clears the dictionary.
mxGraphModel.prototype.clear = function()
Sets a new root using createRoot.
mxGraphSelectionModel.prototype.clear = function()
Clears the selection and fires a change event if the selection was not empty.
mxGraphView.prototype.clear = function(cell,
force,
recurse)
Removes the state of the given cell and all descendants if the given cell is not the current root.
clear: function(obj)
Deletes the ID from the given object or function.
mxShape.prototype.clear = function()
Removes all child nodes and resets all CSS.
mxUndoManager.prototype.clear = function()
Clears the command history.
Specifies the event name for clear.
Fires after clear was invoked.
mxGraph.prototype.clearCellOverlays = function(cell)
Removes all mxCellOverlays in the graph for the given cell and all its descendants.
mxGraph.prototype.clearSelection = function()
Clears the selection using mxGraphSelectionModel.clear.
clearSelection: function()
Clears the current selection in the page.
mxPopupMenuHandler.prototype.clearSelectionOnBackground
Specifies if cells should be deselected if a popupmenu is displayed for the diagram background.
mxGraph.prototype.click = function(me)
Processes a singleclick on an optional cell and fires a click event.
Fires when the user clicks on the overlay.
Specifies the event name for click.
Fires in click after a click event.
mxCell.prototype.clone = function()
Returns a clone of the cell.
mxCellState.prototype.clone = function()
Returns a clone of this mxPoint.
mxPoint.prototype.clone = function()
Returns a clone of this mxPoint.
clone: function(obj,
transients,
shallow)
Recursively clones the specified object ignoring all fieldnames in the given array of transient fields.
mxGraphModel.prototype.cloneCell = function(cell)
Returns a deep clone of the given mxCell (including the children) which is created using cloneCells.
mxGraphModel.prototype.cloneCellImpl = function(cell,
mapping,
includeChildren)
Inner helper method for cloning cells recursively.
mxGraph.prototype.cloneCells = function(cells,
allowInvalidEdges,
mapping)
Returns the clones for the given cells.
mxGraphModel.prototype.cloneCells = function(cells,
includeChildren,
mapping)
Returns an array of clones for the given array of mxCells.
mxEdgeHandler.prototype.cloneEnabled
Specifies if cloning by control-drag is enabled.
mxGraphHandler.prototype.cloneEnabled
Specifies if cloning by control-drag is enabled.
mxGraph.prototype.cloneInvalidEdges
Specifies if edges that are cloned should be validated and only inserted if they are valid.
mxEdgeHandler.prototype.clonePreviewState = function(point,
terminal)
Returns a clone of the current preview state for the given point and terminal.
mxObjectCodec.prototype.cloneTemplate = function()
Returns a new instance of the template for this codec.
mxCell.prototype.cloneValue = function()
Returns a clone of the cell’s user object.
mxAbstractCanvas2D.prototype.close = function(x1,
y1,
x2,
y2,
x3,
y3)
Closes the current path.
mxPrintPreview.prototype.close = function()
Closes the print preview window.
mxXmlCanvas2D.prototype.close = function()
Closes the current path.
Specifies the event name for close.
Fires before the window is closed.
mxWindow.prototype.closeImage
URL of the image to be used for the close icon in the titlebar.
mxAbstractCanvas2D.prototype.closeOp
Holds the operator for closing curves.
mxVmlCanvas2D.prototype.closeOp
Holds the operator for closing curves.
Specifies the resource key for the label of the close button.
Maps from constructor names to codecs.
mxCell.prototype.collapsed
Specifies whether the cell is collapsed.
mxGraph.prototype.collapsedImage
Specifies the mxImage to indicate a collapsed state.
mxGraphModel.prototype.collapsedStateForCellChanged = function(cell,
collapsed)
Inner callback to update the collapsed state of the given mxCell using mxCell.setCollapsed and return the previous collapsed state.
mxGraph.prototype.collapseExpandResource
Specifies the resource key for the tooltip on the collapse/expand icon.
mxGraph.prototype.collapseToPreferredSize
Specifies if the cell size should be changed to the preferred size when a cell is first collapsed.
MedianCellSorter.prototype.compare = function(a,
b)
Compares two MedianCellSorters.
compare: function(p1,
p2)
Compares the given cell paths and returns -1 if p1 is smaller, 0 if p1 is equal and 1 if p1 is greater than p2.
WeightedCellSorter.prototype.compare = function(a,
b)
Compares two WeightedCellSorters.
mxXmlCanvas2D.prototype.compressed
Specifies if the output should be compressed by removing redundant calls.
mxStencil.prototype.computeAspect = function(shape,
x,
y,
w,
h,
direction)
Returns a rectangle that contains the offset in x and y and the horizontal and vertical scale in width and height used to draw this shape inside the given mxRectangle.
mxDefaultPopupMenu.prototype.config
XML node used as the description of new menu items.
mxEditor.prototype.configure = function (node)
Configures the editor using the specified node.
mxShape.prototype.configureCanvas = function(c,
x,
y,
w,
h)
Sets the state of the canvas for drawing the shape.
mxText.prototype.configureCanvas = function(c,
x,
y,
w,
h)
Sets the state of the canvas for drawing the shape.
mxCellRenderer.prototype.configureShape = function(state)
Configures the shape for the given cell state.
confirm: function(message)
Displays the given message in a confirm dialog.
mxConnectionHandler.prototype.connect = function(source,
target,
evt,
dropTarget)
Connects the given source and target using a new edge.
mxDefaultToolbar.prototype.connect = function(vertex,
evt,
source)
Handles a drop by connecting the given vertex to the given source cell.
mxEdgeHandler.prototype.connect = function(edge,
terminal,
isSource,
isClone,
me)
Changes the terminal or terminal point of the given edge in the graph model.
Fires between begin- and endUpdate in connect.
Specifies the event name for connect.
Specifies the event name for connectCell.
Fires between begin- and endUpdate in connectCell.
Defines the color to be used for the connect handle fill color.
mxCell.prototype.connectable
Specifies whether the cell is connectable.
mxGraph.prototype.connectableEdges
Specifies if edges are connectable.
mxGraph.prototype.connectCell = function(edge,
terminal,
source,
constraint)
Connects the specified end of the given edge to the given terminal using cellConnected and fires mxEvent.CONNECT_CELL while the transaction is in progress.
mxConnectionHandler.prototype.connectIconOffset
Holds the offset for connect icons during connection preview.
mxConnectionHandler.prototype.connectImage
mxImage that is used to trigger the creation of a new connection.
mxDefaultToolbar.prototype.connectOnDrop
Specifies if elements should be connected if new cells are dropped onto connectable elements.
mxGraphHandler.prototype.connectOnDrop
Specifies if drop events are interpreted as new connections if no other drop action is defined.
mxGraphHierarchyNode.prototype.connectsAsSource
Collection of hierarchy edges that have this node as a source
mxGraphHierarchyNode.prototype.connectsAsTarget
Collection of hierarchy edges that have this node as a target
Specifies the name of the console window.
mxGraph.prototype.constrainChild = function(cell)
Keeps the given cell inside the bounds returned by getCellContainmentArea for its parent, according to the rules defined by getOverlap and isConstrainChild.
mxGraph.prototype.constrainChildCells = function(cell)
Constrains the children of the given cell using constrainChild.
mxGraph.prototype.constrainChildren
Specifies if a child should be constrained inside the parent bounds after a move of the child.
mxGraph.prototype.constrainChildrenOnResize
Specifies if children should be constrained according to the constrainChildren switch if cells are resized (including via foldCells).
mxVertexHandler.prototype.constrainGroupByChildren
Specifies if the size of groups should be constrained by the children.
Size of the constraint highlight (in px).
mxConnectionHandler.prototype.constraintHandler
Holds the mxConstraintHandler used for drawing and highlighting constraints.
mxEdgeHandler.prototype.constraintHandler
Holds the mxConstraintHandler used for drawing and highlighting constraints.
mxStencil.prototype.constraints
Holds an array of mxConnectionConstraints as defined in the shape.
consume: function(evt,
preventDefault,
stopPropagation)
Consumes the given event.
mxEventObject.prototype.consume = function()
Consumes the event.
mxMouseEvent.prototype.consume = function(preventDefault)
Sets consumed to true and invokes preventDefault on the native event if such a method is defined.
mxEditor.prototype.consumeCycleAttribute = function (cell)
Returns the next attribute in cycleAttributeValues or null, if not attribute should be used in the specified cell.
mxEventObject.prototype.consumed
Holds the consumed state.
mxMouseEvent.prototype.consumed
Holds the consumed state of this event.
mxGraph.prototype.consumeMouseEvent = function(evtName,
me,
sender)
Destroys the graph and all its resources.
mxPanningHandler.prototype.consumePanningTrigger = function(me)
Consumes the given mxMouseEvent if it was a panning trigger in mouseDown.
mxToolbar.prototype.container
Reference to the DOM nodes that contains the toolbar.
mxGraphModel.prototype.contains = function(cell)
Returns true if the model contains the given mxCell.
contains: function(bounds,
x,
y)
Returns true if the specified point (x, y) is contained in the given rectangle.
mxGraph.prototype.containsValidationErrorsResource
Specifies the resource key for the warning message to be displayed when a collapsed cell contains validation errors.
mxWindow.prototype.content
Reference to the DOM node that represents the window content.
mxWindow.prototype.contentHeightCorrection
Defines the correction factor for computing the height of the contentWrapper.
mxKeyHandler.prototype.controlKeys
Maps from keycodes to functions for pressed control keys.
mxKeyHandler.prototype.controlShiftKeys
Maps from keycodes to functions for pressed control and shift keys.
mxUrlConverter.prototype.convert = function(url)
Converts the given URL to an absolute URL with protol and domain.
mxObjectCodec.prototype.convertAttributeFromXml = function(dec,
attr,
obj)
Converts booleans and numeric values to the respective types.
mxObjectCodec.prototype.convertAttributeToXml = function(enc,
obj,
name,
value)
Converts true to “1” and false to “0” is isBooleanAttribute returns true.
this.converter
Holds the mxUrlConverter to convert image URLs.
mxSvgCanvas2D.prototype.convertHtml = function(val)
Converts the given HTML string to XHTML.
mxEdgeHandler.prototype.convertPoint = function(point,
gridEnabled)
Converts the given point in-place from screen to unscaled, untranslated graph coordinates and applies the grid.
mxElbowEdgeHandler.prototype.convertPoint = function(point,
gridEnabled)
Converts the given point in-place from screen to unscaled, untranslated graph coordinates and applies the grid.
convertPoint: function(container,
x,
y)
Converts the specified point (x, y) using the offset of the specified container and returns a new mxPoint with the result.
mxGraph.prototype.convertValueToString = function(cell)
Returns the textual representation for the given cell.
mxConnectionHandler.prototype.convertWaypoint = function(point)
Converts the given point from screen coordinates to model coordinates.
copy: function(graph,
cells)
Copies the given array of mxCells from the specified graph to cells.
mxHandle.prototype.copyStyle = function(key)
Sets the cell style with the given name to the corresponding value in state.
mxCellStatePreview.prototype.count
Contains the number of entries in the map.
Current counter.
mxMultiplicity.prototype.countError
Holds the localized error message to be displayed if the number of connections for which the rule applies is smaller than min or greater than max.
create: function(cell)
Creates the cell path for the given cell.
mxGraphView.prototype.createHtml = function()
Creates the DOM nodes for the HTML display.
mxShape.prototype.create = function(container)
Creates and returns the DOM node(s) for the shape in the given container.
mxXmlRequest.prototype.create = function()
Creates and returns the inner request object.
mxGraphView.prototype.createBackgroundPageShape = function(bounds)
Creates and returns the shape used as the background page.
Adds custom bends for the center of each segment.
mxEdgeHandler.prototype.createBends = function()
Creates and returns the bends used for modifying the edge.
mxElbowEdgeHandler.prototype.createBends = function()
Overrides mxEdgeHandler.createBends to create custom bends.
mxShape.prototype.createBoundingBox = function()
Returns a new rectangle that represents the bounding box of the bare shape with no shadows or strokewidths.
Helper method to create an mxRectangle around the given centerpoint with a width and height of 2*s or 6, if no s is given.
mxShape.prototype.createCanvas = function()
Destroys the given canvas which was used for drawing.
mxGraph.prototype.createCellEditor = function()
Creates a new mxCellEditor to be used in this graph.
mxCellRenderer.prototype.createCellOverlays = function(state)
Creates the actual shape for showing the overlay for the given cell state.
mxGraph.prototype.createCellRenderer = function()
Creates a new mxCellRenderer to be used in this graph.
mxSvgCanvas2D.prototype.createClip = function(x,
y,
w,
h)
Creates a clip for the given coordinates.
mxDefaultPopupMenu.prototype.createConditions = function(editor,
cell,
evt)
Evaluates the default conditions for the given context.
mxGraph.prototype.createConnectionHandler = function()
Creates and returns a new mxConnectionHandler to be used in this graph.
mxCellRenderer.prototype.createControl = function(state)
Creates the control for the given cell state.
mxCellRenderer.prototype.createControlClickHandler = function(state)
Hook for creating the click handler for the folding icon.
mxEdgeHandler.prototype.createCustomHandles = function()
Returns an array of custom handles.
mxVertexHandler.prototype.createCustomHandles = function()
Returns an array of custom handles.
mxSvgCanvas2D.prototype.createDashPattern = function(scale)
Creates the SVG dash pattern for the given state.
mxStylesheet.prototype.createDefaultEdgeStyle = function()
Creates and returns the default edge style.
mxStylesheet.prototype.createDefaultVertexStyle = function()
Creates and returns the default vertex style.
mxEditor.prototype.createDiagramLayout = function ()
Creates the layout instance used to layout the swimlanes in the diagram.
mxSvgCanvas2D.prototype.createDiv = function(str,
align,
valign,
style,
overflow)
Private helper function to create SVG elements
mxDragSource.prototype.createDragElement = function(evt)
Creates and returns a clone of the dragElementPrototype or the element if the former is not defined.
mxConnectionHandler.prototype.createEdge = function(value,
source,
target,
style)
Creates and returns a new edge using factoryMethod if one exists.
mxEditor.prototype.createEdge = function (source,
target)
Uses defaultEdge as the prototype for creating new edges in the connection handler of the graph.
mxGraph.prototype.createEdge = function(parent,
id,
value,
source,
target,
style)
Hook method that creates the new edge for insertEdge.
mxGraph.prototype.createEdgeHandler = function(state)
Hooks to create a new mxEdgeHandler for the given mxCellState.
mxGraph.prototype.createEdgeSegmentHandler = function(state)
Hooks to create a new mxEdgeSegmentHandler for the given mxCellState.
mxConnectionHandler.prototype.createEdgeState = function(me)
Hook to return an mxCellState which may be used during the preview.
mxGraph.prototype.createElbowEdgeHandler = function(state)
Hooks to create a new mxElbowEdgeHandler for the given mxCellState.
mxSvgCanvas2D.prototype.createElement = function(tagName,
namespace)
Private helper function to create SVG elements
mxVmlCanvas2D.prototype.createElement = function(name)
Creates the given element using the document.
mxXmlCanvas2D.prototype.createElement = function(name)
Creates the given element using the owner document of root.
mxVmlCanvas2D.prototype.createFill = function()
Creates a fill for the current state.
mxSvgCanvas2D.prototype.createGradientId = function(start,
end,
alpha1,
alpha2,
direction)
Private helper function to create SVG elements
mxEditor.prototype.createGraph = function ()
Creates the graph for the editor.
mxOutline.prototype.createGraph = function(container)
Creates the mxGraph used in the outline.
mxGraph.prototype.createGraphHandler = function()
Creates and returns a new mxGraphHandler to be used in this graph.
mxGraph.prototype.createGraphView = function()
Creates a new mxGraphView to be used in this graph.
mxEditor.prototype.createGroup = function ()
Creates and returns a clone of defaultGroup to be used as a new group cell in group.
mxGraph.prototype.createGroupCell = function(cells)
Hook for creating the group cell to hold the given array of mxCells if no group cell was given to the group function.
mxGuide.prototype.createGuideShape = function(horizontal)
Returns the mxShape to be used for painting the respective guide.
mxGraph.prototype.createHandler = function(state)
Creates a new handler for the given cell state.
mxGraph.prototype.createHandlers = function()
Creates the tooltip-, panning-, connection- and graph-handler (in this order).
mxEdgeHandler.prototype.createHandleShape = function(index)
Creates the shape used to display the given bend.
mxConstraintHandler.prototype.createHighlightShape = function()
Create the shape used to paint the highlight.
mxImageShape.prototype.createHtml = function()
Creates and returns the HTML DOM node(s) to represent this shape.
mxShape.prototype.createHtml = function()
Creates and returns the HTML DOM node(s) to represent this shape.
mxGraphView.prototype.createHtmlPane = function(width,
height)
Creates and returns a drawing pane in HTML (DIV).
mxConnectionHandler.prototype.createIcons = function(state)
Creates the array mxImageShapes that represent the connect icons for the given mxCellState.
mxGraphModel.prototype.createId = function(cell)
Hook method to create an Id for the specified cell.
mxGraphModel.prototype.createIds
Specifies if the model should automatically create Ids for new cells.
createImage: function(src)
Creates and returns an image (IMG node) or VML image (v:image) in IE6 in quirks mode.
mxCellRenderer.prototype.createIndicatorShape = function(state)
Creates the indicator shape for the given cell state.
mxGraphHierarchyModel.prototype.createInternalCells = function(layout,
vertices,
internalVertices)
Creates all edges in the internal model
mxSwimlaneModel.prototype.createInternalCells = function(layout,
vertices,
internalVertices)
Creates all edges in the internal model
mxCellRenderer.prototype.createLabel = function(state,
value)
Creates the label for the given cell state.
mxEdgeHandler.prototype.createLabelHandleShape = function()
Creates the shape used to display the the label handle.
mxEditor.prototype.createLayoutManager = function (graph)
Creates a layout manager for the swimlane and diagram layouts, that is, the locally defined inter- and intraswimlane layouts.
mxCompactTreeLayout.prototype.createLine = function(dx,
dy,
next)
mxConnectionHandler.prototype.createMarker = function()
Creates and returns the mxCellMarker used in marker.
mxConnector.prototype.createMarker = function(c,
pts,
source)
Prepares the marker by adding offsets in pts and returning a function to paint the marker.
mxEdgeHandler.prototype.createMarker = function()
Creates and returns the mxCellMarker used in marker.
createMarker: function(canvas,
shape,
type,
pe,
unitX,
unitY,
size,
source,
sw,
filled)
Returns a function to paint the given marker.
mxDefaultPopupMenu.prototype.createMenu = function(editor,
menu,
cell,
evt)
This function is called from mxEditor to add items to the given menu based on config.
mxCompactTreeLayout.prototype.createNode = function(cell)
mxPrintPreview.prototype.createPageSelector = function(vpages,
hpages)
Creates the page selector table.
mxGraph.prototype.createPanningHandler = function()
Creates and returns a new mxPanningHandler to be used in this graph.
mxGraph.prototype.createPanningManager = function()
Creates and returns an mxPanningManager.
mxVertexHandler.prototype.createParentHighlightShape = function(bounds)
Creates the shape used to draw the selection border.
mxEditor.prototype.createPopupMenu = function (menu,
cell,
evt)
Uses popupHandler to create the menu in the graph’s panning handler.
mxGraph.prototype.createPopupMenuHandler = function()
Creates and returns a new mxPopupMenuHandler to be used in this graph.
mxDragSource.prototype.createPreviewElement = function(graph)
Creates and returns an element which can be used as a preview in the given graph.
mxGraphHandler.prototype.createPreviewShape = function(bounds)
Creates the shape used to draw the preview for the given bounds.
mxEditor.prototype.createProperties = function (cell)
Creates and returns the DOM node that represents the contents of the properties dialog for the given cell.
mxVmlCanvas2D.prototype.createRect = function(nodeName,
x,
y,
w,
h)
Sets the glass gradient.
mxGraphModel.prototype.createRoot = function()
Creates a new root cell with a default layer (child 0).
mxGraph.prototype.createSelectionCellsHandler = function()
Creates and returns a new mxTooltipHandler to be used in this graph.
mxGraph.prototype.createSelectionModel = function()
Creates a new mxGraphSelectionModel to be used in this graph.
Creates the shape used to draw the selection border.
mxVertexHandler.prototype.createSelectionShape = function(bounds)
Creates the shape used to draw the selection border.
mxSvgCanvas2D.prototype.createShadow = function(node)
Creates a shadow for the given node.
mxVmlCanvas2D.prototype.createShadow = function(node,
filled,
stroked)
Creates a shadow for the given node.
mxVmlCanvas2D.prototype.createShadowFill = function()
Creates the fill for the shadow.
mxVmlCanvas2D.prototype.createShadowStroke = function()
Creates the stroke for the shadow.
mxCellHighlight.prototype.createShape = function()
Creates and returns the highlight shape for the given state.
mxCellRenderer.prototype.createShape = function(state)
Creates and returns the shape for the given cell state.
mxConnectionHandler.prototype.createShape = function()
Creates the preview shape for new connections.
mxHandle.prototype.createShape = function(html)
Creates and returns the shape for this handle.
mxRubberband.prototype.createShape = function()
Creates the rubberband selection shape.
mxOutline.prototype.createSizer = function()
Creates the shape used as the sizer.
mxVertexHandler.prototype.createSizer = function(cursor,
index,
size,
fillColor)
Creates a sizer handle for the specified cursor and index and returns the new mxRectangleShape that represents the handle.
mxVertexHandler.prototype.createSizerShape = function(bounds,
index,
fillColor)
Creates the shape used for the sizer handle for the specified bounds an index.
mxAbstractCanvas2D.prototype.createState = function()
Creates the state of the this canvas.
mxGraphView.prototype.createState = function(cell)
Creates and returns an mxCellState for the given cell and initializes it using mxCellRenderer.initialize.
mxVmlCanvas2D.prototype.createStroke = function()
Creates a fill for the current state.
mxSvgCanvas2D.prototype.createStyle = function(x)
Creates the optional style section.
mxGraph.prototype.createStylesheet = function()
Creates a new mxGraphSelectionModel to be used in this graph.
mxPopupMenu.prototype.createSubmenu = function(parent)
Creates the nodes required to add submenu items inside the given parent item.
mxShape.prototype.createSvg = function()
Creates and returns the SVG node(s) to represent this shape.
mxShape.prototype.createSvgCanvas = function()
Creates and returns an mxSvgCanvas2D for rendering this shape.
mxSvgCanvas2D.prototype.createSvgGradient = function(start,
end,
alpha1,
alpha2,
direction)
Creates the given SVG gradient.
mxEditor.prototype.createSwimlaneLayout = function ()
Creates the layout instance used to layout the children of each swimlane.
mxEditor.prototype.createSwimlaneManager = function (graph)
Sets the graph’s container using mxGraph.init.
mxConnectionHandler.prototype.createTarget
Specifies if createTargetVertex should be called if no target was under the mouse for the new connection.
mxConnectionHandler.prototype.createTargetVertex = function(evt,
source)
Hook method for creating new vertices on the fly if no target was under the mouse.
mxEditor.prototype.createTasks = function (div)
Updates the contents of the given DOM node to display the tasks associated with the current editor state.
Creates the innermost element that contains the HTML text.
mxSvgCanvas2D.prototype.createTolerance = function(node)
Creates a hit detection tolerance shape for the given node.
mxEditor.prototype.createToolbar = function ()
Creates the toolbar with no container.
mxGraph.prototype.createTooltipHandler = function()
Creates and returns a new mxTooltipHandler to be used in this graph.
mxVmlCanvas2D.prototype.createTransparentFill = function()
Creates a transparent fill.
mxShape.prototype.createTransparentSvgRectangle = function(x,
y,
w,
h)
Adds a transparent rectangle that catches all events.
mxGraphModel.prototype.createUndoableEdit = function()
Creates a new mxUndoableEdit that implements the notify function to fire a change and notify event through the mxUndoableEdit’s source.
mxAbstractCanvas2D.prototype.createUrlConverter = function()
Create a new mxUrlConverter and returns it.
mxGraph.prototype.createVertex = function(parent,
id,
value,
x,
y,
width,
height,
style,
relative)
Hook method that creates the new vertex for insertVertex.
mxGraph.prototype.createVertexHandler = function(state)
Hooks to create a new mxVertexHandler for the given mxCellState.
mxElbowEdgeHandler.prototype.createVirtualBend = function(dblClickHandler)
Creates a virtual bend that supports double clicking and calls mxGraph.flipEdge.
mxEdgeHandler.prototype.createVirtualBends = function()
Creates and returns the bends used for modifying the edge.
mxShape.prototype.createVml = function()
Creates and returns the VML node to represent this shape.
mxShape.prototype.createVmlCanvas = function()
Creates and returns an mxVmlCanvas2D for rendering this shape.
mxVmlCanvas2D.prototype.createVmlElement = function(name)
Creates a new element using createElement and prefixes the given name with mxClient.VML_PREFIX.
mxShape.prototype.createVmlGroup = function()
Returns the temporary element used for rendering in IE8 standards mode.
mxGraphView.prototype.createVmlPane = function(width,
height)
Creates a drawing pane in VML (group).
createXmlDocument: function()
Returns a new, empty XML document.
mxHierarchicalLayout.prototype.crossingStage = function(parent)
Executes the crossing stage using mxMedianHybridCrossingReduction.
mxSwimlaneLayout.prototype.crossingStage = function(parent)
Executes the crossing stage using mxMedianHybridCrossingReduction.
mxMedianHybridCrossingReduction.prototype.currentBestCrossings
The total number of crossings found in the best configuration so far
mxCellMarker.prototype.currentColor
Holds the current marker color.
mxDragSource.prototype.currentDropTarget
Holds the current drop target under the mouse.
mxGraphHandler.prototype.currentDx
Stores the x-coordinate of the current mouse move.
mxGraphHandler.prototype.currentDy
Stores the y-coordinate of the current mouse move.
mxGraphModel.prototype.currentEdit
Holds the changes for the current transaction.
mxEditor.prototype.currentFileResource
Specifies the resource key for the current file info.
mxDragSource.prototype.currentGraph
Reference to the mxGraph that is the current drop target.
mxDragSource.prototype.currentGuide
Holds an mxGuide for the currentGraph if dragPreview is not null.
mxDragSource.prototype.currentPoint
Holds the current drop location.
mxGraphView.prototype.currentRoot
mxCell that acts as the root of the displayed cell hierarchy.
mxRubberband.prototype.currentX
Holds the value of the x argument in the last call to update.
mxCoordinateAssignment.prototype.currentXDelta
The sum of x-displacements for the current iteration
mxRubberband.prototype.currentY
Holds the value of the y argument in the last call to update.
mxCellOverlay.prototype.cursor
Holds the cursor for the overlay.
mxConnectionHandler.prototype.cursor
Specifies the cursor to be used while the handler is active.
mxHandle.prototype.cursor
Specifies the cursor to be used for this handle.
Defines the cursor for a movable bend.
Defines the cursor for a connectable state.
Defines the cursor for a movable label.
Defines the cursor for a movable edge.
Defines the cursor for a movable vertex.
Defines the cursor for a terminal handle.
Defines the cursor for a movable bend.
mxAbstractCanvas2D.prototype.curveOp
Contains the string used for bezier curves.
mxVmlCanvas2D.prototype.curveOp
Contains the string used for bezier curves.
mxAbstractCanvas2D.prototype.curveTo = function(x1,
y1,
x2,
y2,
x3,
y3)
Adds a bezier curve to the current path.
mxXmlCanvas2D.prototype.curveTo = function(x1,
y1,
x2,
y2,
x3,
y3)
Adds a bezier curve to the current path.
Start index for the custom handles in an mxMouseEvent.
cut: function(graph,
cells)
Cuts the given array of mxCells from the specified graph.
mxEditor.prototype.cycleAttribute = function (cell)
Uses the returned value from consumeCycleAttribute as the value for the cycleAttributeName key in the given cell’s style.
mxEditor.prototype.cycleAttributeIndex
Index of the last consumed attribute index.
mxEditor.prototype.cycleAttributeName
Name of the attribute to be assigned a cycleAttributeValues when inserting new swimlanes.
mxEditor.prototype.cycleAttributeValues
Specifies the attribute values to be cycled when inserting new swimlanes.
mxHierarchicalLayout.prototype.cycleStage = function(parent)
Executes the cycle stage using mxMinimumCycleRemover.
mxSwimlaneLayout.prototype.cycleStage = function(parent)
Executes the cycle stage using mxMinimumCycleRemover.
+
mxText.prototype.cacheEnabled
Specifies if caching for HTML labels should be enabled.
mxSvgCanvas2D.prototype.cacheOffsetSize
Specifies if offsetWidth and offsetHeight should be cached.
mxFastOrganicLayout.prototype.calcAttraction = function()
Calculates the attractive forces between all laid out nodes linked by edges
mxFastOrganicLayout.prototype.calcPositions = function()
Takes the displacements calculated for each cell and applies them to the local cache of cell positions.
mxFastOrganicLayout.prototype.calcRepulsion = function()
Calculates the repulsive forces between all laid out nodes
mxRadialTreeLayout.prototype.calcRowDims = function(row,
rowNum)
Recursive function to calculate the dimensions of each row
mxMedianHybridCrossingReduction.prototype.calculateCrossings = function(model)
Calculates the total number of edge crossing in the current graph.
mxCoordinateAssignment.prototype.calculatedWeightedValue = function(
   currentCell,
   collection
)
Calculates the priority the specified cell has based on the type of its cell and the cells it is connected to on the next layer
mxMedianHybridCrossingReduction.prototype.calculateRankCrossing = function(
   i,
   model
)
Calculates the number of edges crossings between the specified rank and the rank below it.
mxCoordinateAssignment.prototype.calculateWidestRank = function(graph,
model)
Calculates the width rank in the hierarchy.
mxGraph.prototype.canExportCell = function(cell)
Returns true if the given cell may be exported to the clipboard.
mxGraph.prototype.canImportCell = function(cell)
Returns true if the given cell may be imported from the clipboard.
mxUndoManager.prototype.canRedo = function()
Returns true if a redo is possible.
mxUndoManager.prototype.canUndo = function()
Returns true if an undo is possible.
mxGraphView.prototype.captureDocumentGesture
Specifies if a gesture should be captured when it goes outside of the graph container.
cascadeOpacity: function(graph,
cell,
opacity)
Sets the opacity on the given cell and its descendants.
cascadeOpacity: function(graph,
cell,
opacity)
See mxEffects.cascadeOpacity.
MedianCellSorter.prototype.cell
The cell whose median value is being calculated
mxCellState.prototype.cell
Reference to the mxCell that is represented by this state.
mxGraphHierarchyNode.prototype.cell
The graph cell this object represents.
WeightedCellSorter.prototype.cell
The cell whose median value is being calculated.
Specifies the event name for cellConnected.
Fires between begin- and endUpdate in cellConnected.
mxGraphModel.prototype.cellAdded = function(cell)
Inner callback to update cells when a cell has been added.
mxGraphSelectionModel.prototype.cellAdded = function(cell)
Inner callback to add the specified mxCell to the selection.
mxGraphModel.prototype.cellCloned = function(cell)
Hook for cloning the cell.
mxGraph.prototype.cellConnected = function(edge,
terminal,
source,
constraint)
Sets the new terminal for the given edge and resets the edge points if resetEdgesOnConnect is true.
mxGraph.prototype.cellEditor
Holds the mxCellEditor that is used as the in-place editing.
mxGraph.prototype.cellLabelChanged = function(cell,
value,
autoSize)
Sets the new label for a cell.
mxFastOrganicLayout.prototype.cellLocation
An array of locally stored co-ordinate positions for the vertices.
mxGraphModel.prototype.cellRemoved = function(cell)
Inner callback to update cells when a cell has been removed.
mxGraphSelectionModel.prototype.cellRemoved = function(cell)
Inner callback to remove the specified mxCell from the selection.
mxGraph.prototype.cellRenderer
Holds the mxCellRenderer for rendering the cells in the graph.
mxGraph.prototype.cellResized = function(cell,
bounds,
ignoreRelative,
recurse)
Resizes the parents recursively so that they contain the complete area of the resized child cell.
Holds the array of mxCells currently in the clipboard.
mxGraphModel.prototype.cells
Maps from Ids to cells.
mxMorphing.prototype.cells
Optional array of cells to be animated.
Specifies the event name for cellsAdded.
Fires between begin- and endUpdate in cellsAdded.
Specifies the event name for cellsFolded.
Fires between begin- and endUpdate in cellsFolded.
Specifies the event name for cellsMoved.
Fires between begin- and endUpdate in cellsMoved.
Specifies the event name for cellsOrdered.
Fires between begin- and endUpdate in cellsOrdered.
Specifies the event name for cellsRemoved.
Fires between begin- and endUpdate in cellsRemoved.
Specifies the event name for cellsResized.
Fires between begin- and endUpdate in cellsResized.
Specifies the event name for cellsToggled.
mxGraph.prototype.cellsAdded = function(cells,
parent,
index,
source,
target,
absolute,
constrain)
Adds the specified cells to the given parent.
mxSwimlaneManager.prototype.cellsAdded = function(cells)
Called if any cells have been added.
mxGraph.prototype.cellsBendable
Specifies the return value for isCellsBendable.
mxGraph.prototype.cellsCloneable
Specifies the return value for isCellCloneable.
mxGraph.prototype.cellsDeletable
Specifies the return value for isCellDeletable.
mxGraph.prototype.cellsDisconnectable
Specifies the return value for isCellDisconntable.
mxGraph.prototype.cellsEditable
Specifies the return value for isCellEditable.
mxGraph.prototype.cellsFolded = function(cells,
collapse,
recurse,
checkFoldable)
Sets the collapsed state of the specified cells.
mxGraph.prototype.cellSizeUpdated = function(cell,
ignoreChildren)
Updates the size of the given cell in the model using getPreferredSizeForCell to get the new size.
mxGraph.prototype.cellsLocked
Specifies the return value for isCellLocked.
mxGraph.prototype.cellsMovable
Specifies the return value for isCellMovable.
mxGraph.prototype.cellsMoved = function(cells,
dx,
dy,
disconnect,
constrain,
extend)
Moves the specified cells by the given vector, disconnecting the cells using disconnectGraph is disconnect is true.
mxLayoutManager.prototype.cellsMoved = function(cells,
evt)
Called from the moveHandler.
mxGraph.prototype.cellsOrdered = function(cells,
back)
Moves the given cells to the front or back.
mxGraph.prototype.cellsRemoved = function(cells)
Removes the given cells from the model.
mxGraph.prototype.cellsResizable
Specifies the return value for isCellResizable.
mxGraph.prototype.cellsResized = function(cells,
bounds,
recurse)
Sets the bounds of the given cells and fires a mxEvent.CELLS_RESIZED event.
mxSwimlaneManager.prototype.cellsResized = function(cells)
Called if any cells have been resizes.
mxGraph.prototype.cellsSelectable
Specifies the return value for isCellSelectable.
mxGraph.prototype.cellsToggled = function(cells,
show)
Sets the visible state of the specified cells.
mxGraph.prototype.center = function(horizontal,
vertical,
cx,
cy)
Centers the graph in the container.
mxGraph.prototype.centerZoom
Specifies if the zoom operations should go into the center of the actual diagram rather than going from top, left.
Specifies the event name for change.
Fires when an undoable edit is dispatched.
Fires after the selection changes by executing an mxSelectionChange.
mxAutoSaveManager.prototype.changeHandler
Holds the function that handles graph model changes.
mxConnectionHandler.prototype.changeHandler
Holds the change event listener for later removal.
mxEdgeHandler.prototype.changePoints = function(edge,
points,
clone)
Changes the control points of the given edge in the graph model.
mxUndoableEdit.prototype.changes
Array that contains the changes that make up this edit.
mxGraphSelectionModel.prototype.changeSelection = function(added,
removed)
Inner callback to add the specified mxCell to the selection.
mxEdgeHandler.prototype.changeTerminalPoint = function(edge,
point,
isSource,
clone)
Changes the terminal point of the given edge.
mxCompactTreeLayout.prototype.channelBuffer
The size of the vertical buffer in the center of inter-rank channels where edge control points should not be placed.
mxCoordinateAssignment.prototype.channelBuffer
The size of the vertical buffer in the center of inter-rank channels where edge control points should not be placed
mxMultiplicity.prototype.check = function(graph,
edge,
source,
target,
sourceOut,
targetIn)
Checks the multiplicity for the given arguments and returns the error for the given connection or null if the multiplicity does not apply.
mxShape.prototype.checkBounds = function()
Returns true if the bounds are not null and all of its variables are numeric.
mxText.prototype.checkBounds = function()
Returns true if the bounds are not null and all of its variables are numeric.
mxEdgeHandler.prototype.checkLabelHandle = function(b)
Checks if the label handle intersects the given bounds and moves it if it intersects.
mxMultiplicity.prototype.checkNeighbors = function(graph,
edge,
source,
target)
Checks if there are any valid neighbours in validNeighbors.
mxMultiplicity.prototype.checkTerminal = function(graph,
terminal,
edge)
Checks the given terminal cell and returns true if this rule applies.
mxVertexHandler.prototype.checkTolerance = function(me)
Checks if the coordinates for the given event are within the mxGraph.tolerance.
mxMultiplicity.prototype.checkType = function(graph,
value,
type,
attr,
attrValue)
Checks the type of the given value.
mxCell.prototype.children
Holds the child cells.
mxCircleLayout.prototype.circle = function(vertices,
r,
left,
top)
Executes the circular layout for the specified array of vertices and the given radius.
mxDictionary.prototype.clear = function()
Clears the dictionary.
mxGraphModel.prototype.clear = function()
Sets a new root using createRoot.
mxGraphSelectionModel.prototype.clear = function()
Clears the selection and fires a change event if the selection was not empty.
mxGraphView.prototype.clear = function(cell,
force,
recurse)
Removes the state of the given cell and all descendants if the given cell is not the current root.
clear: function(obj)
Deletes the ID from the given object or function.
mxShape.prototype.clear = function()
Removes all child nodes and resets all CSS.
mxUndoManager.prototype.clear = function()
Clears the command history.
Specifies the event name for clear.
Fires after clear was invoked.
mxGraph.prototype.clearCellOverlays = function(cell)
Removes all mxCellOverlays in the graph for the given cell and all its descendants.
mxGraph.prototype.clearSelection = function()
Clears the selection using mxGraphSelectionModel.clear.
clearSelection: function()
Clears the current selection in the page.
mxPopupMenuHandler.prototype.clearSelectionOnBackground
Specifies if cells should be deselected if a popupmenu is displayed for the diagram background.
mxGraph.prototype.click = function(me)
Processes a singleclick on an optional cell and fires a click event.
Fires when the user clicks on the overlay.
Specifies the event name for click.
Fires in click after a click event.
mxCell.prototype.clone = function()
Returns a clone of the cell.
mxCellState.prototype.clone = function()
Returns a clone of this mxPoint.
mxPoint.prototype.clone = function()
Returns a clone of this mxPoint.
clone: function(obj,
transients,
shallow)
Recursively clones the specified object ignoring all fieldnames in the given array of transient fields.
mxGraphModel.prototype.cloneCell = function(cell)
Returns a deep clone of the given mxCell (including the children) which is created using cloneCells.
mxGraphModel.prototype.cloneCellImpl = function(cell,
mapping,
includeChildren)
Inner helper method for cloning cells recursively.
mxGraph.prototype.cloneCells = function(cells,
allowInvalidEdges,
mapping)
Returns the clones for the given cells.
mxGraphModel.prototype.cloneCells = function(cells,
includeChildren,
mapping)
Returns an array of clones for the given array of mxCells.
mxEdgeHandler.prototype.cloneEnabled
Specifies if cloning by control-drag is enabled.
mxGraphHandler.prototype.cloneEnabled
Specifies if cloning by control-drag is enabled.
mxGraph.prototype.cloneInvalidEdges
Specifies if edges that are cloned should be validated and only inserted if they are valid.
mxEdgeHandler.prototype.clonePreviewState = function(point,
terminal)
Returns a clone of the current preview state for the given point and terminal.
mxObjectCodec.prototype.cloneTemplate = function()
Returns a new instance of the template for this codec.
mxCell.prototype.cloneValue = function()
Returns a clone of the cell’s user object.
mxAbstractCanvas2D.prototype.close = function(x1,
y1,
x2,
y2,
x3,
y3)
Closes the current path.
mxPrintPreview.prototype.close = function()
Closes the print preview window.
mxXmlCanvas2D.prototype.close = function()
Closes the current path.
Specifies the event name for close.
Fires before the window is closed.
mxWindow.prototype.closeImage
URL of the image to be used for the close icon in the titlebar.
mxAbstractCanvas2D.prototype.closeOp
Holds the operator for closing curves.
mxVmlCanvas2D.prototype.closeOp
Holds the operator for closing curves.
Specifies the resource key for the label of the close button.
Maps from constructor names to codecs.
mxCell.prototype.collapsed
Specifies whether the cell is collapsed.
mxGraph.prototype.collapsedImage
Specifies the mxImage to indicate a collapsed state.
mxGraphModel.prototype.collapsedStateForCellChanged = function(cell,
collapsed)
Inner callback to update the collapsed state of the given mxCell using mxCell.setCollapsed and return the previous collapsed state.
mxGraph.prototype.collapseExpandResource
Specifies the resource key for the tooltip on the collapse/expand icon.
mxGraph.prototype.collapseToPreferredSize
Specifies if the cell size should be changed to the preferred size when a cell is first collapsed.
MedianCellSorter.prototype.compare = function(a,
b)
Compares two MedianCellSorters.
compare: function(p1,
p2)
Compares the given cell paths and returns -1 if p1 is smaller, 0 if p1 is equal and 1 if p1 is greater than p2.
WeightedCellSorter.prototype.compare = function(a,
b)
Compares two WeightedCellSorters.
mxXmlCanvas2D.prototype.compressed
Specifies if the output should be compressed by removing redundant calls.
mxStencil.prototype.computeAspect = function(shape,
x,
y,
w,
h,
direction)
Returns a rectangle that contains the offset in x and y and the horizontal and vertical scale in width and height used to draw this shape inside the given mxRectangle.
mxDefaultPopupMenu.prototype.config
XML node used as the description of new menu items.
mxEditor.prototype.configure = function (node)
Configures the editor using the specified node.
mxShape.prototype.configureCanvas = function(c,
x,
y,
w,
h)
Sets the state of the canvas for drawing the shape.
mxText.prototype.configureCanvas = function(c,
x,
y,
w,
h)
Sets the state of the canvas for drawing the shape.
mxCellRenderer.prototype.configureShape = function(state)
Configures the shape for the given cell state.
confirm: function(message)
Displays the given message in a confirm dialog.
mxConnectionHandler.prototype.connect = function(source,
target,
evt,
dropTarget)
Connects the given source and target using a new edge.
mxDefaultToolbar.prototype.connect = function(vertex,
evt,
source)
Handles a drop by connecting the given vertex to the given source cell.
mxEdgeHandler.prototype.connect = function(edge,
terminal,
isSource,
isClone,
me)
Changes the terminal or terminal point of the given edge in the graph model.
Fires between begin- and endUpdate in connect.
Specifies the event name for connect.
Specifies the event name for connectCell.
Fires between begin- and endUpdate in connectCell.
Defines the color to be used for the connect handle fill color.
mxCell.prototype.connectable
Specifies whether the cell is connectable.
mxGraph.prototype.connectableEdges
Specifies if edges are connectable.
mxGraph.prototype.connectCell = function(edge,
terminal,
source,
constraint)
Connects the specified end of the given edge to the given terminal using cellConnected and fires mxEvent.CONNECT_CELL while the transaction is in progress.
mxConnectionHandler.prototype.connectIconOffset
Holds the offset for connect icons during connection preview.
mxConnectionHandler.prototype.connectImage
mxImage that is used to trigger the creation of a new connection.
mxDefaultToolbar.prototype.connectOnDrop
Specifies if elements should be connected if new cells are dropped onto connectable elements.
mxGraphHandler.prototype.connectOnDrop
Specifies if drop events are interpreted as new connections if no other drop action is defined.
mxGraphHierarchyNode.prototype.connectsAsSource
Collection of hierarchy edges that have this node as a source
mxGraphHierarchyNode.prototype.connectsAsTarget
Collection of hierarchy edges that have this node as a target
Specifies the name of the console window.
mxGraph.prototype.constrainChild = function(cell)
Keeps the given cell inside the bounds returned by getCellContainmentArea for its parent, according to the rules defined by getOverlap and isConstrainChild.
mxGraph.prototype.constrainChildCells = function(cell)
Constrains the children of the given cell using constrainChild.
mxGraph.prototype.constrainChildren
Specifies if a child should be constrained inside the parent bounds after a move of the child.
mxGraph.prototype.constrainChildrenOnResize
Specifies if children should be constrained according to the constrainChildren switch if cells are resized (including via foldCells).
mxVertexHandler.prototype.constrainGroupByChildren
Specifies if the size of groups should be constrained by the children.
Size of the constraint highlight (in px).
mxConnectionHandler.prototype.constraintHandler
Holds the mxConstraintHandler used for drawing and highlighting constraints.
mxEdgeHandler.prototype.constraintHandler
Holds the mxConstraintHandler used for drawing and highlighting constraints.
mxStencil.prototype.constraints
Holds an array of mxConnectionConstraints as defined in the shape.
consume: function(evt,
preventDefault,
stopPropagation)
Consumes the given event.
mxEventObject.prototype.consume = function()
Consumes the event.
mxMouseEvent.prototype.consume = function(preventDefault)
Sets consumed to true and invokes preventDefault on the native event if such a method is defined.
mxEditor.prototype.consumeCycleAttribute = function (cell)
Returns the next attribute in cycleAttributeValues or null, if not attribute should be used in the specified cell.
mxEventObject.prototype.consumed
Holds the consumed state.
mxMouseEvent.prototype.consumed
Holds the consumed state of this event.
mxGraph.prototype.consumeMouseEvent = function(evtName,
me,
sender)
Destroys the graph and all its resources.
mxPanningHandler.prototype.consumePanningTrigger = function(me)
Consumes the given mxMouseEvent if it was a panning trigger in mouseDown.
mxToolbar.prototype.container
Reference to the DOM nodes that contains the toolbar.
mxGraphModel.prototype.contains = function(cell)
Returns true if the model contains the given mxCell.
contains: function(bounds,
x,
y)
Returns true if the specified point (x, y) is contained in the given rectangle.
mxGraph.prototype.containsValidationErrorsResource
Specifies the resource key for the warning message to be displayed when a collapsed cell contains validation errors.
mxWindow.prototype.content
Reference to the DOM node that represents the window content.
mxWindow.prototype.contentHeightCorrection
Defines the correction factor for computing the height of the contentWrapper.
mxKeyHandler.prototype.controlKeys
Maps from keycodes to functions for pressed control keys.
mxKeyHandler.prototype.controlShiftKeys
Maps from keycodes to functions for pressed control and shift keys.
mxUrlConverter.prototype.convert = function(url)
Converts the given URL to an absolute URL with protol and domain.
mxObjectCodec.prototype.convertAttributeFromXml = function(dec,
attr,
obj)
Converts booleans and numeric values to the respective types.
mxObjectCodec.prototype.convertAttributeToXml = function(enc,
obj,
name,
value)
Converts true to “1” and false to “0” is isBooleanAttribute returns true.
this.converter
Holds the mxUrlConverter to convert image URLs.
mxSvgCanvas2D.prototype.convertHtml = function(val)
Converts the given HTML string to XHTML.
mxEdgeHandler.prototype.convertPoint = function(point,
gridEnabled)
Converts the given point in-place from screen to unscaled, untranslated graph coordinates and applies the grid.
mxElbowEdgeHandler.prototype.convertPoint = function(point,
gridEnabled)
Converts the given point in-place from screen to unscaled, untranslated graph coordinates and applies the grid.
convertPoint: function(container,
x,
y)
Converts the specified point (x, y) using the offset of the specified container and returns a new mxPoint with the result.
mxGraph.prototype.convertValueToString = function(cell)
Returns the textual representation for the given cell.
mxConnectionHandler.prototype.convertWaypoint = function(point)
Converts the given point from screen coordinates to model coordinates.
copy: function(graph,
cells)
Copies the given array of mxCells from the specified graph to cells.
mxHandle.prototype.copyStyle = function(key)
Sets the cell style with the given name to the corresponding value in state.
mxCellStatePreview.prototype.count
Contains the number of entries in the map.
Current counter.
mxMultiplicity.prototype.countError
Holds the localized error message to be displayed if the number of connections for which the rule applies is smaller than min or greater than max.
create: function(cell)
Creates the cell path for the given cell.
mxGraphView.prototype.createHtml = function()
Creates the DOM nodes for the HTML display.
mxShape.prototype.create = function(container)
Creates and returns the DOM node(s) for the shape in the given container.
mxXmlRequest.prototype.create = function()
Creates and returns the inner request object.
mxGraphView.prototype.createBackgroundPageShape = function(bounds)
Creates and returns the shape used as the background page.
Adds custom bends for the center of each segment.
mxEdgeHandler.prototype.createBends = function()
Creates and returns the bends used for modifying the edge.
mxElbowEdgeHandler.prototype.createBends = function()
Overrides mxEdgeHandler.createBends to create custom bends.
mxShape.prototype.createBoundingBox = function()
Returns a new rectangle that represents the bounding box of the bare shape with no shadows or strokewidths.
Helper method to create an mxRectangle around the given centerpoint with a width and height of 2*s or 6, if no s is given.
mxShape.prototype.createCanvas = function()
Destroys the given canvas which was used for drawing.
mxGraph.prototype.createCellEditor = function()
Creates a new mxCellEditor to be used in this graph.
mxCellRenderer.prototype.createCellOverlays = function(state)
Creates the actual shape for showing the overlay for the given cell state.
mxGraph.prototype.createCellRenderer = function()
Creates a new mxCellRenderer to be used in this graph.
mxSvgCanvas2D.prototype.createClip = function(x,
y,
w,
h)
Creates a clip for the given coordinates.
mxDefaultPopupMenu.prototype.createConditions = function(editor,
cell,
evt)
Evaluates the default conditions for the given context.
mxGraph.prototype.createConnectionHandler = function()
Creates and returns a new mxConnectionHandler to be used in this graph.
mxCellRenderer.prototype.createControl = function(state)
Creates the control for the given cell state.
mxCellRenderer.prototype.createControlClickHandler = function(state)
Hook for creating the click handler for the folding icon.
mxEdgeHandler.prototype.createCustomHandles = function()
Returns an array of custom handles.
mxVertexHandler.prototype.createCustomHandles = function()
Returns an array of custom handles.
mxSvgCanvas2D.prototype.createDashPattern = function(scale)
Creates the SVG dash pattern for the given state.
mxStylesheet.prototype.createDefaultEdgeStyle = function()
Creates and returns the default edge style.
mxStylesheet.prototype.createDefaultVertexStyle = function()
Creates and returns the default vertex style.
mxEditor.prototype.createDiagramLayout = function ()
Creates the layout instance used to layout the swimlanes in the diagram.
mxSvgCanvas2D.prototype.createDiv = function(str,
align,
valign,
style,
overflow)
Private helper function to create SVG elements
mxDragSource.prototype.createDragElement = function(evt)
Creates and returns a clone of the dragElementPrototype or the element if the former is not defined.
mxConnectionHandler.prototype.createEdge = function(value,
source,
target,
style)
Creates and returns a new edge using factoryMethod if one exists.
mxEditor.prototype.createEdge = function (source,
target)
Uses defaultEdge as the prototype for creating new edges in the connection handler of the graph.
mxGraph.prototype.createEdge = function(parent,
id,
value,
source,
target,
style)
Hook method that creates the new edge for insertEdge.
mxGraph.prototype.createEdgeHandler = function(state,
edgeStyle)
Hooks to create a new mxEdgeHandler for the given mxCellState.
mxGraph.prototype.createEdgeSegmentHandler = function(state)
Hooks to create a new mxEdgeSegmentHandler for the given mxCellState.
mxConnectionHandler.prototype.createEdgeState = function(me)
Hook to return an mxCellState which may be used during the preview.
mxGraph.prototype.createElbowEdgeHandler = function(state)
Hooks to create a new mxElbowEdgeHandler for the given mxCellState.
mxSvgCanvas2D.prototype.createElement = function(tagName,
namespace)
Private helper function to create SVG elements
mxVmlCanvas2D.prototype.createElement = function(name)
Creates the given element using the document.
mxXmlCanvas2D.prototype.createElement = function(name)
Creates the given element using the owner document of root.
mxVmlCanvas2D.prototype.createFill = function()
Creates a fill for the current state.
mxSvgCanvas2D.prototype.createGradientId = function(start,
end,
alpha1,
alpha2,
direction)
Private helper function to create SVG elements
mxEditor.prototype.createGraph = function ()
Creates the graph for the editor.
mxOutline.prototype.createGraph = function(container)
Creates the mxGraph used in the outline.
mxGraph.prototype.createGraphHandler = function()
Creates and returns a new mxGraphHandler to be used in this graph.
mxGraph.prototype.createGraphView = function()
Creates a new mxGraphView to be used in this graph.
mxEditor.prototype.createGroup = function ()
Creates and returns a clone of defaultGroup to be used as a new group cell in group.
mxGraph.prototype.createGroupCell = function(cells)
Hook for creating the group cell to hold the given array of mxCells if no group cell was given to the group function.
mxGuide.prototype.createGuideShape = function(horizontal)
Returns the mxShape to be used for painting the respective guide.
mxGraph.prototype.createHandler = function(state)
Creates a new handler for the given cell state.
mxGraph.prototype.createHandlers = function()
Creates the tooltip-, panning-, connection- and graph-handler (in this order).
mxEdgeHandler.prototype.createHandleShape = function(index)
Creates the shape used to display the given bend.
mxConstraintHandler.prototype.createHighlightShape = function()
Create the shape used to paint the highlight.
mxImageShape.prototype.createHtml = function()
Creates and returns the HTML DOM node(s) to represent this shape.
mxShape.prototype.createHtml = function()
Creates and returns the HTML DOM node(s) to represent this shape.
mxGraphView.prototype.createHtmlPane = function(width,
height)
Creates and returns a drawing pane in HTML (DIV).
mxConnectionHandler.prototype.createIcons = function(state)
Creates the array mxImageShapes that represent the connect icons for the given mxCellState.
mxGraphModel.prototype.createId = function(cell)
Hook method to create an Id for the specified cell.
mxGraphModel.prototype.createIds
Specifies if the model should automatically create Ids for new cells.
createImage: function(src)
Creates and returns an image (IMG node) or VML image (v:image) in IE6 in quirks mode.
mxCellRenderer.prototype.createIndicatorShape = function(state)
Creates the indicator shape for the given cell state.
mxGraphHierarchyModel.prototype.createInternalCells = function(layout,
vertices,
internalVertices)
Creates all edges in the internal model
mxSwimlaneModel.prototype.createInternalCells = function(layout,
vertices,
internalVertices)
Creates all edges in the internal model
mxCellRenderer.prototype.createLabel = function(state,
value)
Creates the label for the given cell state.
mxEdgeHandler.prototype.createLabelHandleShape = function()
Creates the shape used to display the the label handle.
mxEditor.prototype.createLayoutManager = function (graph)
Creates a layout manager for the swimlane and diagram layouts, that is, the locally defined inter- and intraswimlane layouts.
mxCompactTreeLayout.prototype.createLine = function(dx,
dy,
next)
mxConnectionHandler.prototype.createMarker = function()
Creates and returns the mxCellMarker used in marker.
mxConnector.prototype.createMarker = function(c,
pts,
source)
Prepares the marker by adding offsets in pts and returning a function to paint the marker.
mxEdgeHandler.prototype.createMarker = function()
Creates and returns the mxCellMarker used in marker.
createMarker: function(canvas,
shape,
type,
pe,
unitX,
unitY,
size,
source,
sw,
filled)
Returns a function to paint the given marker.
mxDefaultPopupMenu.prototype.createMenu = function(editor,
menu,
cell,
evt)
This function is called from mxEditor to add items to the given menu based on config.
mxCompactTreeLayout.prototype.createNode = function(cell)
mxPrintPreview.prototype.createPageSelector = function(vpages,
hpages)
Creates the page selector table.
mxGraph.prototype.createPanningHandler = function()
Creates and returns a new mxPanningHandler to be used in this graph.
mxGraph.prototype.createPanningManager = function()
Creates and returns an mxPanningManager.
mxVertexHandler.prototype.createParentHighlightShape = function(bounds)
Creates the shape used to draw the selection border.
mxEditor.prototype.createPopupMenu = function (menu,
cell,
evt)
Uses popupHandler to create the menu in the graph’s panning handler.
mxGraph.prototype.createPopupMenuHandler = function()
Creates and returns a new mxPopupMenuHandler to be used in this graph.
mxDragSource.prototype.createPreviewElement = function(graph)
Creates and returns an element which can be used as a preview in the given graph.
mxGraphHandler.prototype.createPreviewShape = function(bounds)
Creates the shape used to draw the preview for the given bounds.
mxEditor.prototype.createProperties = function (cell)
Creates and returns the DOM node that represents the contents of the properties dialog for the given cell.
mxVmlCanvas2D.prototype.createRect = function(nodeName,
x,
y,
w,
h)
Sets the glass gradient.
mxGraphModel.prototype.createRoot = function()
Creates a new root cell with a default layer (child 0).
mxGraph.prototype.createSelectionCellsHandler = function()
Creates and returns a new mxTooltipHandler to be used in this graph.
mxGraph.prototype.createSelectionModel = function()
Creates a new mxGraphSelectionModel to be used in this graph.
Creates the shape used to draw the selection border.
mxVertexHandler.prototype.createSelectionShape = function(bounds)
Creates the shape used to draw the selection border.
mxSvgCanvas2D.prototype.createShadow = function(node)
Creates a shadow for the given node.
mxVmlCanvas2D.prototype.createShadow = function(node,
filled,
stroked)
Creates a shadow for the given node.
mxVmlCanvas2D.prototype.createShadowFill = function()
Creates the fill for the shadow.
mxVmlCanvas2D.prototype.createShadowStroke = function()
Creates the stroke for the shadow.
mxCellHighlight.prototype.createShape = function()
Creates and returns the highlight shape for the given state.
mxCellRenderer.prototype.createShape = function(state)
Creates and returns the shape for the given cell state.
mxConnectionHandler.prototype.createShape = function()
Creates the preview shape for new connections.
mxHandle.prototype.createShape = function(html)
Creates and returns the shape for this handle.
mxRubberband.prototype.createShape = function()
Creates the rubberband selection shape.
mxOutline.prototype.createSizer = function()
Creates the shape used as the sizer.
mxVertexHandler.prototype.createSizer = function(cursor,
index,
size,
fillColor)
Creates a sizer handle for the specified cursor and index and returns the new mxRectangleShape that represents the handle.
mxVertexHandler.prototype.createSizerShape = function(bounds,
index,
fillColor)
Creates the shape used for the sizer handle for the specified bounds an index.
mxAbstractCanvas2D.prototype.createState = function()
Creates the state of the this canvas.
mxGraphView.prototype.createState = function(cell)
Creates and returns an mxCellState for the given cell and initializes it using mxCellRenderer.initialize.
mxVmlCanvas2D.prototype.createStroke = function()
Creates a fill for the current state.
mxSvgCanvas2D.prototype.createStyle = function(x)
Creates the optional style section.
mxGraph.prototype.createStylesheet = function()
Creates a new mxGraphSelectionModel to be used in this graph.
mxPopupMenu.prototype.createSubmenu = function(parent)
Creates the nodes required to add submenu items inside the given parent item.
mxShape.prototype.createSvg = function()
Creates and returns the SVG node(s) to represent this shape.
mxShape.prototype.createSvgCanvas = function()
Creates and returns an mxSvgCanvas2D for rendering this shape.
mxSvgCanvas2D.prototype.createSvgGradient = function(start,
end,
alpha1,
alpha2,
direction)
Creates the given SVG gradient.
mxEditor.prototype.createSwimlaneLayout = function ()
Creates the layout instance used to layout the children of each swimlane.
mxEditor.prototype.createSwimlaneManager = function (graph)
Sets the graph’s container using mxGraph.init.
mxConnectionHandler.prototype.createTarget
Specifies if createTargetVertex should be called if no target was under the mouse for the new connection.
mxConnectionHandler.prototype.createTargetVertex = function(evt,
source)
Hook method for creating new vertices on the fly if no target was under the mouse.
mxEditor.prototype.createTasks = function (div)
Updates the contents of the given DOM node to display the tasks associated with the current editor state.
Creates the innermost element that contains the HTML text.
mxSvgCanvas2D.prototype.createTolerance = function(node)
Creates a hit detection tolerance shape for the given node.
mxEditor.prototype.createToolbar = function ()
Creates the toolbar with no container.
mxGraph.prototype.createTooltipHandler = function()
Creates and returns a new mxTooltipHandler to be used in this graph.
mxVmlCanvas2D.prototype.createTransparentFill = function()
Creates a transparent fill.
mxShape.prototype.createTransparentSvgRectangle = function(x,
y,
w,
h)
Adds a transparent rectangle that catches all events.
mxGraphModel.prototype.createUndoableEdit = function()
Creates a new mxUndoableEdit that implements the notify function to fire a change and notify event through the mxUndoableEdit’s source.
mxAbstractCanvas2D.prototype.createUrlConverter = function()
Create a new mxUrlConverter and returns it.
mxGraph.prototype.createVertex = function(parent,
id,
value,
x,
y,
width,
height,
style,
relative)
Hook method that creates the new vertex for insertVertex.
mxGraph.prototype.createVertexHandler = function(state)
Hooks to create a new mxVertexHandler for the given mxCellState.
mxElbowEdgeHandler.prototype.createVirtualBend = function(dblClickHandler)
Creates a virtual bend that supports double clicking and calls mxGraph.flipEdge.
mxEdgeHandler.prototype.createVirtualBends = function()
Creates and returns the bends used for modifying the edge.
mxShape.prototype.createVml = function()
Creates and returns the VML node to represent this shape.
mxShape.prototype.createVmlCanvas = function()
Creates and returns an mxVmlCanvas2D for rendering this shape.
mxVmlCanvas2D.prototype.createVmlElement = function(name)
Creates a new element using createElement and prefixes the given name with mxClient.VML_PREFIX.
mxShape.prototype.createVmlGroup = function()
Returns the temporary element used for rendering in IE8 standards mode.
mxGraphView.prototype.createVmlPane = function(width,
height)
Creates a drawing pane in VML (group).
createXmlDocument: function()
Returns a new, empty XML document.
mxHierarchicalLayout.prototype.crossingStage = function(parent)
Executes the crossing stage using mxMedianHybridCrossingReduction.
mxSwimlaneLayout.prototype.crossingStage = function(parent)
Executes the crossing stage using mxMedianHybridCrossingReduction.
mxMedianHybridCrossingReduction.prototype.currentBestCrossings
The total number of crossings found in the best configuration so far
mxCellMarker.prototype.currentColor
Holds the current marker color.
mxDragSource.prototype.currentDropTarget
Holds the current drop target under the mouse.
mxGraphHandler.prototype.currentDx
Stores the x-coordinate of the current mouse move.
mxGraphHandler.prototype.currentDy
Stores the y-coordinate of the current mouse move.
mxGraphModel.prototype.currentEdit
Holds the changes for the current transaction.
mxEditor.prototype.currentFileResource
Specifies the resource key for the current file info.
mxDragSource.prototype.currentGraph
Reference to the mxGraph that is the current drop target.
mxDragSource.prototype.currentGuide
Holds an mxGuide for the currentGraph if dragPreview is not null.
mxDragSource.prototype.currentPoint
Holds the current drop location.
mxGraphView.prototype.currentRoot
mxCell that acts as the root of the displayed cell hierarchy.
mxRubberband.prototype.currentX
Holds the value of the x argument in the last call to update.
mxCoordinateAssignment.prototype.currentXDelta
The sum of x-displacements for the current iteration
mxRubberband.prototype.currentY
Holds the value of the y argument in the last call to update.
mxCellOverlay.prototype.cursor
Holds the cursor for the overlay.
mxConnectionHandler.prototype.cursor
Specifies the cursor to be used while the handler is active.
mxHandle.prototype.cursor
Specifies the cursor to be used for this handle.
Defines the cursor for a movable bend.
Defines the cursor for a connectable state.
Defines the cursor for a movable label.
Defines the cursor for a movable edge.
Defines the cursor for a movable vertex.
Defines the cursor for a terminal handle.
Defines the cursor for a movable bend.
mxAbstractCanvas2D.prototype.curveOp
Contains the string used for bezier curves.
mxVmlCanvas2D.prototype.curveOp
Contains the string used for bezier curves.
mxAbstractCanvas2D.prototype.curveTo = function(x1,
y1,
x2,
y2,
x3,
y3)
Adds a bezier curve to the current path.
mxXmlCanvas2D.prototype.curveTo = function(x1,
y1,
x2,
y2,
x3,
y3)
Adds a bezier curve to the current path.
Start index for the custom handles in an mxMouseEvent.
cut: function(graph,
cells)
Cuts the given array of mxCells from the specified graph.
mxEditor.prototype.cycleAttribute = function (cell)
Uses the returned value from consumeCycleAttribute as the value for the cycleAttributeName key in the given cell’s style.
mxEditor.prototype.cycleAttributeIndex
Index of the last consumed attribute index.
mxEditor.prototype.cycleAttributeName
Name of the attribute to be assigned a cycleAttributeValues when inserting new swimlanes.
mxEditor.prototype.cycleAttributeValues
Specifies the attribute values to be cycled when inserting new swimlanes.
mxHierarchicalLayout.prototype.cycleStage = function(parent)
Executes the cycle stage using mxMinimumCycleRemover.
mxSwimlaneLayout.prototype.cycleStage = function(parent)
Executes the cycle stage using mxMinimumCycleRemover.
diff --git a/docs/js-api/index/General5.html b/docs/js-api/index/General5.html index d56b69b78..4004fbaa6 100644 --- a/docs/js-api/index/General5.html +++ b/docs/js-api/index/General5.html @@ -13,7 +13,7 @@ if (browserType) {document.write("
");if (browserV
Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
E
 ease, mxMorphing
 edge, mxCell
 EDGE_SELECTION_COLOR, mxConstants
 EDGE_SELECTION_STROKEWIDTH, mxConstants
 edgeLabelsMovable, mxGraph
 edgeMapper
 edgeRouting, mxCompactTreeLayout
 edges
 edgesSet
 edgeState, mxConnectionHandler
 edgeStyle
 EDGESTYLE_ELBOW, mxConstants
 EDGESTYLE_ENTITY_RELATION, mxConstants
 EDGESTYLE_LOOP, mxConstants
 EDGESTYLE_ORTHOGONAL, mxConstants
 EDGESTYLE_SEGMENT, mxConstants
 EDGESTYLE_SIDETOSIDE, mxConstants
 EDGESTYLE_TOPTOBOTTOM, mxConstants
 EDITING_STARTED
 EDITING_STOPPED
 editingCell, mxCellEditor
 editor
 ELBOW_HORIZONTAL, mxConstants
 ELBOW_VERTICAL, mxConstants
 ElbowConnector, mxEdgeStyle
 element, mxDragSource
 elements, mxCodec
 ellipse
 EllipsePerimeter, mxPerimeter
 EMPTY_ARRAY, mxGraph
 emptyLabelText, mxCellEditor
 enabled
 encode
 encodeCell
 encodeDefaults, mxCodec
 encodeObject
 encodeValue, mxObjectCodec
 end, mxAbstractCanvas2D
 END_EDIT
 END_UPDATE
 endingUpdate, mxGraphModel
 endUpdate, mxGraphModel
 enter, mxLog
 enterGroup, mxGraph
 enterStopsCellEditing, mxGraph
 ENTITY_SEGMENT, mxConstants
 EntityRelation, mxEdgeStyle
 equalEntries, mxUtils
 equalPoints, mxUtils
 equals
 error
 errorImage, mxUtils
 errorResource, mxUtils
 escape
 ESCAPE
 escapeEnabled, mxGraph
 escapePostData, mxEditor
 eval, mxUtils
 evaluateAttribute, mxStencil
 evaluateTextAttribute, mxStencil
 Event processing, mxGraph
 eventListeners, mxEventSource
 Events
 eventsEnabled, mxEventSource
 eventSource, mxEventSource
 evt, mxMouseEvent
 exclude, mxObjectCodec
 execute
 EXECUTE
 EXECUTED
 executeLayout, mxLayoutManager
 exitGroup, mxGraph
 expandedImage, mxGraph
 exportEnabled, mxGraph
 extend, mxUtils
 extendedDfs
 extendParent, mxGraph
 extendParents, mxGraph
 extendParentsOnAdd, mxGraph
 extension, mxResources
 extractTextWithWhitespace, mxUtils
-
mxMorphing.prototype.ease
Ease-off for movement towards the given vector.
mxCell.prototype.edge
Specifies whether the cell is an edge.
Defines the color to be used for the selection border of edges.
Defines the strokewidth to be used for edge selections.
mxGraph.prototype.edgeLabelsMovable
Specifies the return value for edges in isLabelMovable.
mxGraphHierarchyModel.prototype.edgeMapper
Map from graph edges to internal model edges
mxSwimlaneModel.prototype.edgeMapper
Map from graph edges to internal model edges
mxCompactTreeLayout.prototype.edgeRouting
Whether or not to apply the internal tree edge routing.
mxCell.prototype.edges
Holds the edges.
mxGraphHierarchyEdge.prototype.edges
The graph edge(s) this object represents.
A cache of edges whose source terminal is the key
A cache of edges whose source terminal is the key
mxConnectionHandler.prototype.edgeState
Optional mxCellState that represents the preview edge while the handler is active.
mxHierarchicalLayout.prototype.edgeStyle
The style to apply between cell layers to edge segments
mxHierarchicalLayout.prototype.edgeStyle
The style to apply between cell layers to edge segments
Name of the elbow edge style.
Name of the entity relation edge style.
Name of the loop edge style.
Name of the generic orthogonal edge style.
Name of the generic segment edge style.
Name of the side to side edge style.
Name of the top to bottom edge style.
Specifies the event name for editingStarted.
Fires after the in-place editor starts in startEditingAtCell.
Specifies the event name for editingStopped.
Fires after the in-place editor stops in stopEditing.
mxCellEditor.prototype.editingCell
Reference to the mxCell that is currently being edited.
mxDefaultKeyHandler.prototype.editor
Reference to the enclosing mxEditor.
mxDefaultToolbar.prototype.editor
Reference to the enclosing mxEditor.
Constant for elbow horizontal.
Constant for elbow vertical.
ElbowConnector: function (state,
source,
target,
points,
result)
Uses either SideToSide or TopToBottom depending on the horizontal flag in the cell style.
mxDragSource.prototype.element
Reference to the DOM node which was made draggable.
mxCodec.prototype.elements
Lookup table for resolving IDs to elements.
mxSvgCanvas2D.prototype.ellipse = function(x,
y,
w,
h)
Private helper function to create SVG elements
mxVmlCanvas2D.prototype.ellipse = function(x,
y,
w,
h)
Sets the current path to an ellipse.
mxXmlCanvas2D.prototype.ellipse = function(x,
y,
w,
h)
Puts an ellipse into the drawing buffer.
EllipsePerimeter: function (bounds,
vertex,
next,
orthogonal)
Describes an elliptic perimeter.
mxGraph.prototype.EMPTY_ARRAY
Immutable empty array instance.
mxCellEditor.prototype.emptyLabelText
Text to be displayed for empty labels.
mxAutoSaveManager.prototype.enabled
Specifies if event handling is enabled.
mxCellMarker.prototype.enabled
Specifies if the marker is enabled.
mxConnectionHandler.prototype.enabled
Specifies if events are handled.
mxConstraintHandler.prototype.enabled
Specifies if events are handled.
mxDragSource.prototype.enabled
Specifies if this drag source is enabled.
mxGraph.prototype.enabled
Specifies the return value for isEnabled.
mxGraphHandler.prototype.enabled
Specifies if events are handled.
mxKeyHandler.prototype.enabled
Specifies if events are handled.
mxLayoutManager.prototype.enabled
Specifies if event handling is enabled.
mxOutline.prototype.enabled
Specifies if events are handled.
mxPopupMenu.prototype.enabled
Specifies if events are handled.
mxRubberband.prototype.enabled
Specifies if events are handled.
mxSelectionCellsHandler.prototype.enabled
Specifies if events are handled.
mxSwimlaneManager.prototype.enabled
Specifies if event handling is enabled.
mxToolbar.prototype.enabled
Specifies if events are handled.
mxTooltipHandler.prototype.enabled
Specifies if events are handled.
mxUrlConverter.prototype.enabled
Specifies if the converter is enabled.
mxCodec.prototype.encode = function(obj)
Encodes the specified object and returns the resulting XML node.
codec.encode = function(enc,
obj)
Returns null.
codec.encode = function(enc,
obj)
Returns null.
codec.encode = function(enc,
obj)
Returns null.
codec.encode = function(enc,
view)
Encodes the given mxGraphView using encodeCell starting at the model’s root.
mxObjectCodec.prototype.encode = function(enc,
obj)
Encodes the specified object and returns a node representing then given object.
codec.encode = function(enc,
obj)
Encodes a stylesheet.
mxCodec.prototype.encodeCell = function(cell,
node,
includeChildren)
Encoding of cell hierarchies is built-into the core, but is a higher-level function that needs to be explicitely used by the respective object encoders (eg.
codec.encodeCell = function(enc,
view,
cell)
Recursively encodes the specifed cell.
mxCodec.prototype.encodeDefaults
Specifies if default values should be encoded.
codec.encodeObject = function(enc,
obj,
node)
Encodes the given mxGraphModel by writing a (flat) XML sequence of cell nodes as produced by the mxCellCodec.
mxObjectCodec.prototype.encodeObject = function(enc,
obj,
node)
Encodes the value of each member in then given obj into the given node using encodeValue.
mxObjectCodec.prototype.encodeValue = function(enc,
obj,
name,
value,
node)
Converts the given value according to the mappings and id-refs in this codec and uses writeAttribute to write the attribute into the given node.
mxAbstractCanvas2D.prototype.end = function()
Empty implementation for backwards compatibility.
Specifies the event name for endEdit.
Fires after the updateLevel was changed from 1 to 0.
Fires after a set of changeswas executed in undo or redo.
Specifies the event name for endUpdate.
Fires after the updateLevel was decreased in endUpdate but before any notification or change dispatching.
mxGraphModel.prototype.endingUpdate
True if the program flow is currently inside endUpdate.
mxGraphModel.prototype.endUpdate = function()
Decrements the updateLevel by one and fires an undo event if the updateLevel reaches 0.
enter: function(string)
Writes the specified string to the console if TRACE is true and returns the current time in milliseconds.
mxGraph.prototype.enterGroup = function(cell)
Uses the given cell as the root of the displayed cell hierarchy.
mxGraph.prototype.enterStopsCellEditing
If true, pressing the enter key without pressing control or shift will stop editing and accept the new value.
Defines the length of the horizontal segment of an Entity Relation.
EntityRelation: function (state,
source,
target,
points,
result)
Implements an entity relation style for edges (as used in database schema diagrams).
equalEntries: function(a,
b)
Returns true if all entries of the given objects are equal.
equalPoints: function(a,
b)
Compares all mxPoints in the given lists.
mxGeometry.prototype.equals = function(obj)
Returns true if the given object equals this geometry.
mxPoint.prototype.equals = function(obj)
Returns true if the given object equals this point.
mxRectangle.prototype.equals = function(obj)
Returns true if the given object equals this rectangle.
mxConnectionHandler.prototype.error
Holds the current validation error while connections are being created.
mxEdgeHandler.prototype.error
Holds the current validation error while a connection is being changed.
error: function(message,
width,
close,
icon)
Displays the given error message in a new mxWindow of the given width.
Defines the image used for error dialogs.
Specifies the resource key for the title of the error window.
mxGraph.prototype.escape = function(evt)
Processes an escape keystroke.
mxKeyHandler.prototype.escape = function(evt)
Hook to process ESCAPE keystrokes.
Fires when the escape key is pressed.
Specifies the event name for escape.
mxGraph.prototype.escapeEnabled
Specifies if mxKeyHandler should invoke escape when the escape key is pressed.
mxEditor.prototype.escapePostData
Specifies if the data in the post request for saving a diagram should be converted using encodeURIComponent.
eval: function(expr)
Evaluates the given expression using eval and returns the JavaScript object that represents the expression result.
mxStencil.prototype.evaluateAttribute = function(node,
attribute,
shape)
Gets the attribute for the given name from the given node.
mxStencil.prototype.evaluateTextAttribute = function(node,
attribute,
state)
Gets the given attribute as a text.
mxEventSource.prototype.eventListeners
Holds the event names and associated listeners in an array.
mxEventSource.prototype.eventsEnabled
Specifies if events can be fired.
mxEventSource.prototype.eventSource
Optional source for events.
mxMouseEvent.prototype.evt
Holds the inner event object.
mxObjectCodec.prototype.exclude
Array containing the variable names that should be ignored by the codec.
mxCellAttributeChange.prototype.execute = function()
Changes the attribute of the cell’s user object by using mxCell.setAttribute.
mxChildChange.prototype.execute = function()
Changes the parent of child using mxGraphModel.parentForCellChanged and removes or restores the cell’s connections.
mxCircleLayout.prototype.execute = function(parent)
Implements mxGraphLayout.execute.
mxCollapseChange.prototype.execute = function()
Changes the collapsed state of cell to previous using mxGraphModel.collapsedStateForCellChanged.
mxCompactTreeLayout.prototype.execute = function(parent,
root)
Implements mxGraphLayout.execute.
mxCompositeLayout.prototype.execute = function(parent)
Implements mxGraphLayout.execute by executing all layouts in a single transaction.
mxCoordinateAssignment.prototype.execute = function(parent)
A basic horizontal coordinate assignment algorithm
mxCurrentRootChange.prototype.execute = function()
Changes the current root of the view.
mxEdgeLabelLayout.prototype.execute = function(parent)
Implements mxGraphLayout.execute.
mxEditor.prototype.execute = function (actionname,
cell,
evt)
Executes the function with the given name in actions passing the editor instance and given cell as the first and second argument.
mxFastOrganicLayout.prototype.execute = function(parent)
Implements mxGraphLayout.execute.
mxGeometryChange.prototype.execute = function()
Changes the geometry of cell ro previous using mxGraphModel.geometryForCellChanged.
mxGraphLayout.prototype.execute = function(parent)
Executes the layout algorithm for the children of the given parent.
mxGraphModel.prototype.execute = function(change)
Executes the given edit and fires events if required.
mxHandle.prototype.execute = function()
Hook for subclassers to execute the handle.
mxHierarchicalLayout.prototype.execute = function(parent,
roots)
Executes the layout for the children of the specified parent.
mxHierarchicalLayoutStage.prototype.execute = function(parent)
Takes the graph detail and configuration information within the facade and creates the resulting laid out graph within that facade for further use.
mxMedianHybridCrossingReduction.prototype.execute = function(parent)
Performs a vertex ordering within ranks as described by Gansner et al 1993
mxMinimumCycleRemover.prototype.execute = function(parent)
Takes the graph detail and configuration information within the facade and creates the resulting laid out graph within that facade for further use.
mxParallelEdgeLayout.prototype.execute = function(parent)
Implements mxGraphLayout.execute.
mxPartitionLayout.prototype.execute = function(parent)
Implements mxGraphLayout.execute.
mxRadialTreeLayout.prototype.execute = function(parent,
root)
Implements mxGraphLayout.execute.
mxRootChange.prototype.execute = function()
Carries out a change of the root using mxGraphModel.rootChanged.
mxSelectionChange.prototype.execute = function()
Changes the current root of the view.
mxStackLayout.prototype.execute = function(parent)
Implements mxGraphLayout.execute.
mxStyleChange.prototype.execute = function()
Changes the style of cell to previous using mxGraphModel.styleForCellChanged.
mxSwimlaneLayout.prototype.execute = function(parent,
swimlanes)
Executes the layout for the children of the specified parent.
mxSwimlaneOrdering.prototype.execute = function(parent)
Takes the graph detail and configuration information within the facade and creates the resulting laid out graph within that facade for further use.
mxTerminalChange.prototype.execute = function()
Changes the terminal of cell to previous using mxGraphModel.terminalForCellChanged.
mxValueChange.prototype.execute = function()
Changes the value of cell to previous using mxGraphModel.valueForCellChanged.
mxVisibleChange.prototype.execute = function()
Changes the visible state of cell to previous using mxGraphModel.visibleStateForCellChanged.
Specifies the event name for execute.
Fires between begin- and endUpdate and after an atomic change was executed in the model.
Specifies the event name for executed.
Fires between START_EDIT and END_EDIT after an atomic change was executed.
Fires between START_EDIT and END_EDIT after an atomic change was executed.
mxLayoutManager.prototype.executeLayoutForCells = function(cells)
Executes the given layout on the given parent.
mxGraph.prototype.exitGroup = function()
Changes the current root to the next valid root in the displayed cell hierarchy.
mxGraph.prototype.expandedImage
Specifies the mxImage to indicate a expanded state.
mxGraph.prototype.exportEnabled
Specifies the return value for canExportCell.
extend: function(ctor,
superCtor)
Assigns a copy of the superclass prototype to the subclass prototype.
mxGraphHierarchyModel.prototype.extendedDfs = function(parent,
root,
connectingEdge,
visitor,
seen,
ancestors,
childHash,
layer)
Performs a depth first search on the internal hierarchy model.
mxSwimlaneModel.prototype.extendedDfs = function(parent,
root,
connectingEdge,
visitor,
seen,
ancestors,
childHash,
layer)
Performs a depth first search on the internal hierarchy model.
mxGraph.prototype.extendParent = function(cell)
Resizes the parents recursively so that they contain the complete area of the resized child cell.
mxGraph.prototype.extendParents
Specifies if a parent should contain the child bounds after a resize of the child.
mxGraph.prototype.extendParentsOnAdd
Specifies if parents should be extended according to the extendParents switch if cells are added.
Specifies the extension used for language files.
extractTextWithWhitespace: function(elems)
Returns the text content of the specified node.
+
mxMorphing.prototype.ease
Ease-off for movement towards the given vector.
mxCell.prototype.edge
Specifies whether the cell is an edge.
Defines the color to be used for the selection border of edges.
Defines the strokewidth to be used for edge selections.
mxGraph.prototype.edgeLabelsMovable
Specifies the return value for edges in isLabelMovable.
mxGraphHierarchyModel.prototype.edgeMapper
Map from graph edges to internal model edges
mxSwimlaneModel.prototype.edgeMapper
Map from graph edges to internal model edges
mxCompactTreeLayout.prototype.edgeRouting
Whether or not to apply the internal tree edge routing.
mxCell.prototype.edges
Holds the edges.
mxGraphHierarchyEdge.prototype.edges
The graph edge(s) this object represents.
A cache of edges whose source terminal is the key
A cache of edges whose source terminal is the key
mxConnectionHandler.prototype.edgeState
Optional mxCellState that represents the preview edge while the handler is active.
mxHierarchicalLayout.prototype.edgeStyle
The style to apply between cell layers to edge segments
mxHierarchicalLayout.prototype.edgeStyle
The style to apply between cell layers to edge segments
Name of the elbow edge style.
Name of the entity relation edge style.
Name of the loop edge style.
Name of the generic orthogonal edge style.
Name of the generic segment edge style.
Name of the side to side edge style.
Name of the top to bottom edge style.
Specifies the event name for editingStarted.
Fires after the in-place editor starts in startEditingAtCell.
Specifies the event name for editingStopped.
Fires after the in-place editor stops in stopEditing.
mxCellEditor.prototype.editingCell
Reference to the mxCell that is currently being edited.
mxDefaultKeyHandler.prototype.editor
Reference to the enclosing mxEditor.
mxDefaultToolbar.prototype.editor
Reference to the enclosing mxEditor.
Constant for elbow horizontal.
Constant for elbow vertical.
ElbowConnector: function (state,
source,
target,
points,
result)
Uses either SideToSide or TopToBottom depending on the horizontal flag in the cell style.
mxDragSource.prototype.element
Reference to the DOM node which was made draggable.
mxCodec.prototype.elements
Lookup table for resolving IDs to elements.
mxSvgCanvas2D.prototype.ellipse = function(x,
y,
w,
h)
Private helper function to create SVG elements
mxVmlCanvas2D.prototype.ellipse = function(x,
y,
w,
h)
Sets the current path to an ellipse.
mxXmlCanvas2D.prototype.ellipse = function(x,
y,
w,
h)
Puts an ellipse into the drawing buffer.
EllipsePerimeter: function (bounds,
vertex,
next,
orthogonal)
Describes an elliptic perimeter.
mxGraph.prototype.EMPTY_ARRAY
Immutable empty array instance.
mxCellEditor.prototype.emptyLabelText
Text to be displayed for empty labels.
mxAutoSaveManager.prototype.enabled
Specifies if event handling is enabled.
mxCellMarker.prototype.enabled
Specifies if the marker is enabled.
mxConnectionHandler.prototype.enabled
Specifies if events are handled.
mxConstraintHandler.prototype.enabled
Specifies if events are handled.
mxDragSource.prototype.enabled
Specifies if this drag source is enabled.
mxGraph.prototype.enabled
Specifies the return value for isEnabled.
mxGraphHandler.prototype.enabled
Specifies if events are handled.
mxKeyHandler.prototype.enabled
Specifies if events are handled.
mxLayoutManager.prototype.enabled
Specifies if event handling is enabled.
mxOutline.prototype.enabled
Specifies if events are handled.
mxPopupMenu.prototype.enabled
Specifies if events are handled.
mxRubberband.prototype.enabled
Specifies if events are handled.
mxSelectionCellsHandler.prototype.enabled
Specifies if events are handled.
mxSwimlaneManager.prototype.enabled
Specifies if event handling is enabled.
mxToolbar.prototype.enabled
Specifies if events are handled.
mxTooltipHandler.prototype.enabled
Specifies if events are handled.
mxUrlConverter.prototype.enabled
Specifies if the converter is enabled.
mxCodec.prototype.encode = function(obj)
Encodes the specified object and returns the resulting XML node.
codec.encode = function(enc,
obj)
Returns null.
codec.encode = function(enc,
obj)
Returns null.
codec.encode = function(enc,
obj)
Returns null.
codec.encode = function(enc,
view)
Encodes the given mxGraphView using encodeCell starting at the model’s root.
mxObjectCodec.prototype.encode = function(enc,
obj)
Encodes the specified object and returns a node representing then given object.
codec.encode = function(enc,
obj)
Encodes a stylesheet.
mxCodec.prototype.encodeCell = function(cell,
node,
includeChildren)
Encoding of cell hierarchies is built-into the core, but is a higher-level function that needs to be explicitely used by the respective object encoders (eg.
codec.encodeCell = function(enc,
view,
cell)
Recursively encodes the specifed cell.
mxCodec.prototype.encodeDefaults
Specifies if default values should be encoded.
codec.encodeObject = function(enc,
obj,
node)
Encodes the given mxGraphModel by writing a (flat) XML sequence of cell nodes as produced by the mxCellCodec.
mxObjectCodec.prototype.encodeObject = function(enc,
obj,
node)
Encodes the value of each member in then given obj into the given node using encodeValue.
mxObjectCodec.prototype.encodeValue = function(enc,
obj,
name,
value,
node)
Converts the given value according to the mappings and id-refs in this codec and uses writeAttribute to write the attribute into the given node.
mxAbstractCanvas2D.prototype.end = function()
Empty implementation for backwards compatibility.
Specifies the event name for endEdit.
Fires after the updateLevel was changed from 1 to 0.
Fires after a set of changeswas executed in undo or redo.
Specifies the event name for endUpdate.
Fires after the updateLevel was decreased in endUpdate but before any notification or change dispatching.
mxGraphModel.prototype.endingUpdate
True if the program flow is currently inside endUpdate.
mxGraphModel.prototype.endUpdate = function()
Decrements the updateLevel by one and fires an undo event if the updateLevel reaches 0.
enter: function(string)
Writes the specified string to the console if TRACE is true and returns the current time in milliseconds.
mxGraph.prototype.enterGroup = function(cell)
Uses the given cell as the root of the displayed cell hierarchy.
mxGraph.prototype.enterStopsCellEditing
If true, pressing the enter key without pressing control or shift will stop editing and accept the new value.
Defines the length of the horizontal segment of an Entity Relation.
EntityRelation: function (state,
source,
target,
points,
result)
Implements an entity relation style for edges (as used in database schema diagrams).
equalEntries: function(a,
b)
Returns true if all properties of the given objects are equal.
equalPoints: function(a,
b)
Compares all mxPoints in the given lists.
mxGeometry.prototype.equals = function(obj)
Returns true if the given object equals this geometry.
mxPoint.prototype.equals = function(obj)
Returns true if the given object equals this point.
mxRectangle.prototype.equals = function(obj)
Returns true if the given object equals this rectangle.
mxConnectionHandler.prototype.error
Holds the current validation error while connections are being created.
mxEdgeHandler.prototype.error
Holds the current validation error while a connection is being changed.
error: function(message,
width,
close,
icon)
Displays the given error message in a new mxWindow of the given width.
Defines the image used for error dialogs.
Specifies the resource key for the title of the error window.
mxGraph.prototype.escape = function(evt)
Processes an escape keystroke.
mxKeyHandler.prototype.escape = function(evt)
Hook to process ESCAPE keystrokes.
Fires when the escape key is pressed.
Specifies the event name for escape.
mxGraph.prototype.escapeEnabled
Specifies if mxKeyHandler should invoke escape when the escape key is pressed.
mxEditor.prototype.escapePostData
Specifies if the data in the post request for saving a diagram should be converted using encodeURIComponent.
eval: function(expr)
Evaluates the given expression using eval and returns the JavaScript object that represents the expression result.
mxStencil.prototype.evaluateAttribute = function(node,
attribute,
shape)
Gets the attribute for the given name from the given node.
mxStencil.prototype.evaluateTextAttribute = function(node,
attribute,
state)
Gets the given attribute as a text.
mxEventSource.prototype.eventListeners
Holds the event names and associated listeners in an array.
mxEventSource.prototype.eventsEnabled
Specifies if events can be fired.
mxEventSource.prototype.eventSource
Optional source for events.
mxMouseEvent.prototype.evt
Holds the inner event object.
mxObjectCodec.prototype.exclude
Array containing the variable names that should be ignored by the codec.
mxCellAttributeChange.prototype.execute = function()
Changes the attribute of the cell’s user object by using mxCell.setAttribute.
mxChildChange.prototype.execute = function()
Changes the parent of child using mxGraphModel.parentForCellChanged and removes or restores the cell’s connections.
mxCircleLayout.prototype.execute = function(parent)
Implements mxGraphLayout.execute.
mxCollapseChange.prototype.execute = function()
Changes the collapsed state of cell to previous using mxGraphModel.collapsedStateForCellChanged.
mxCompactTreeLayout.prototype.execute = function(parent,
root)
Implements mxGraphLayout.execute.
mxCompositeLayout.prototype.execute = function(parent)
Implements mxGraphLayout.execute by executing all layouts in a single transaction.
mxCoordinateAssignment.prototype.execute = function(parent)
A basic horizontal coordinate assignment algorithm
mxCurrentRootChange.prototype.execute = function()
Changes the current root of the view.
mxEdgeLabelLayout.prototype.execute = function(parent)
Implements mxGraphLayout.execute.
mxEditor.prototype.execute = function (actionname,
cell,
evt)
Executes the function with the given name in actions passing the editor instance and given cell as the first and second argument.
mxFastOrganicLayout.prototype.execute = function(parent)
Implements mxGraphLayout.execute.
mxGeometryChange.prototype.execute = function()
Changes the geometry of cell ro previous using mxGraphModel.geometryForCellChanged.
mxGraphLayout.prototype.execute = function(parent)
Executes the layout algorithm for the children of the given parent.
mxGraphModel.prototype.execute = function(change)
Executes the given edit and fires events if required.
mxHandle.prototype.execute = function()
Hook for subclassers to execute the handle.
mxHierarchicalLayout.prototype.execute = function(parent,
roots)
Executes the layout for the children of the specified parent.
mxHierarchicalLayoutStage.prototype.execute = function(parent)
Takes the graph detail and configuration information within the facade and creates the resulting laid out graph within that facade for further use.
mxMedianHybridCrossingReduction.prototype.execute = function(parent)
Performs a vertex ordering within ranks as described by Gansner et al 1993
mxMinimumCycleRemover.prototype.execute = function(parent)
Takes the graph detail and configuration information within the facade and creates the resulting laid out graph within that facade for further use.
mxParallelEdgeLayout.prototype.execute = function(parent)
Implements mxGraphLayout.execute.
mxPartitionLayout.prototype.execute = function(parent)
Implements mxGraphLayout.execute.
mxRadialTreeLayout.prototype.execute = function(parent,
root)
Implements mxGraphLayout.execute.
mxRootChange.prototype.execute = function()
Carries out a change of the root using mxGraphModel.rootChanged.
mxSelectionChange.prototype.execute = function()
Changes the current root of the view.
mxStackLayout.prototype.execute = function(parent)
Implements mxGraphLayout.execute.
mxStyleChange.prototype.execute = function()
Changes the style of cell to previous using mxGraphModel.styleForCellChanged.
mxSwimlaneLayout.prototype.execute = function(parent,
swimlanes)
Executes the layout for the children of the specified parent.
mxSwimlaneOrdering.prototype.execute = function(parent)
Takes the graph detail and configuration information within the facade and creates the resulting laid out graph within that facade for further use.
mxTerminalChange.prototype.execute = function()
Changes the terminal of cell to previous using mxGraphModel.terminalForCellChanged.
mxValueChange.prototype.execute = function()
Changes the value of cell to previous using mxGraphModel.valueForCellChanged.
mxVisibleChange.prototype.execute = function()
Changes the visible state of cell to previous using mxGraphModel.visibleStateForCellChanged.
Specifies the event name for execute.
Fires between begin- and endUpdate and after an atomic change was executed in the model.
Specifies the event name for executed.
Fires between START_EDIT and END_EDIT after an atomic change was executed.
Fires between START_EDIT and END_EDIT after an atomic change was executed.
mxLayoutManager.prototype.executeLayoutForCells = function(cells)
Executes the given layout on the given parent.
mxGraph.prototype.exitGroup = function()
Changes the current root to the next valid root in the displayed cell hierarchy.
mxGraph.prototype.expandedImage
Specifies the mxImage to indicate a expanded state.
mxGraph.prototype.exportEnabled
Specifies the return value for canExportCell.
extend: function(ctor,
superCtor)
Assigns a copy of the superclass prototype to the subclass prototype.
mxGraphHierarchyModel.prototype.extendedDfs = function(parent,
root,
connectingEdge,
visitor,
seen,
ancestors,
childHash,
layer)
Performs a depth first search on the internal hierarchy model.
mxSwimlaneModel.prototype.extendedDfs = function(parent,
root,
connectingEdge,
visitor,
seen,
ancestors,
childHash,
layer)
Performs a depth first search on the internal hierarchy model.
mxGraph.prototype.extendParent = function(cell)
Resizes the parents recursively so that they contain the complete area of the resized child cell.
mxGraph.prototype.extendParents
Specifies if a parent should contain the child bounds after a resize of the child.
mxGraph.prototype.extendParentsOnAdd
Specifies if parents should be extended according to the extendParents switch if cells are added.
Specifies the extension used for language files.
extractTextWithWhitespace: function(elems)
Returns the text content of the specified node.
diff --git a/docs/js-api/index/General9.html b/docs/js-api/index/General9.html index 9d8efbe43..c28e21eff 100644 --- a/docs/js-api/index/General9.html +++ b/docs/js-api/index/General9.html @@ -11,9 +11,9 @@ if (browserType) {document.write("
");if (browserV -
Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
I
 id
 idrefs, mxObjectCodec
 ids, mxGraphHierarchyEdge
 ignoreCell, mxPanningHandler
 ignoreClippedStringSize, mxText
 ignoredChanges, mxAutoSaveManager
 ignoreMouseDown, mxConnectionHandler
 ignoreScrollbars, mxGraph
 ignoreStringSize, mxText
 ignoreTouchEvents, mxTooltipHandler
 image
 imageBasePath
 imageBundles, mxGraph
 images, mxImageBundle
 imageSize
 importCells, mxGraph
 importEnabled, mxGraph
 importNode, mxUtils
 In-place editing, mxGraph
 include, mxClient
 includeOverlays, mxImageExport
 index, mxVertexHandler
 indexOf, mxUtils
 indexOfNextAdd, mxUndoManager
 indexOfStylename, mxUtils
 indicatorSize, mxLabel
 indicatorSpacing, mxLabel
 indices, mxFastOrganicLayout
 info, mxLog
 init
 initBend, mxEdgeHandler
 initControl, mxCellRenderer
 initialCoords, mxCoordinateAssignment
 initializeLabel, mxCellRenderer
 initializeOverlay, mxCellRenderer
 initializeShape, mxCellRenderer
 initialRank
 initialTemp, mxFastOrganicLayout
 initialTouchX, mxGraph
 initialTouchY, mxGraph
 initialValue, mxCellEditor
 initialX, mxCoordinateAssignment
 initShape, mxHandle
 insert
 insertBackgroundImage, mxPrintPreview
 insertBeforeSource, mxConnectionHandler
 insertCount, mxClipboard
 insertEdge
 insertFunction, mxEditor
 insertIntoGraph, mxCodec
 insertStateAfter, mxCellRenderer
 insertVertex, mxGraph
 installChangeHandler, mxEditor
 installCloseHandler, mxWindow
 installDblClickHandler, mxEditor
 installDrillHandler, mxEditor
 installDropHandler, mxDefaultToolbar
 installInsertHandler, mxEditor
 installListeners
 installMaximizeHandler, mxWindow
 installMinimizeHandler, mxWindow
 installMoveHandler, mxWindow
 installOverlayListeners, mxCellRenderer
 installUndoHandler, mxEditor
 interHierarchySpacing
 interRankCellSpacing
 intersection, mxUtils
 intersects
 intraCellSpacing
 invalid, mxCellState
 INVALID_COLOR, mxConstants
 INVALID_CONNECT_TARGET_COLOR, mxConstants
 invalidate, mxGraphView
 invalidColor, mxCellMarker
 invert
 invokesStopCellEditing, mxGraph
 IS_CHROMEAPP, mxClient
 IS_EDGE, mxClient
 IS_EM, mxClient
 IS_FF, mxClient
 IS_GC, mxClient
 IS_IE, mxClient
 IS_IE11, mxClient
 IS_IE6, mxClient
 IS_IOS, mxClient
 IS_LOCAL, mxClient
 IS_MAC, mxClient
 IS_MT, mxClient
 IS_NS, mxClient
 IS_OP, mxClient
 IS_OT, mxClient
 IS_POINTER, mxClient
 IS_QUIRKS, mxClient
 IS_SF, mxClient
 IS_SVG, mxClient
 IS_TOUCH, mxClient
 IS_VML, mxClient
 IS_WIN, mxClient
 isActive
 isAddEnabled, mxSwimlaneManager
 isAddPointEvent, mxEdgeHandler
 isAddVirtualBendEvent, mxEdgeHandler
 isAllowDanglingEdges, mxGraph
 isAllowEval, mxGraphView
 isAllowLoops, mxGraph
 isAllowOverlapParent, mxGraph
 isAltDown, mxEvent
 isAncestor
 isAncestorNode, mxUtils
 isArrowRounded, mxArrowConnector
 isAutoSizeCell, mxGraph
 isAutoSizeCells, mxGraph
 isBinary, mxXmlRequest
 isBooleanAttribute, mxObjectCodec
 isBrowserSupported, mxClient
 isBubbling, mxLayoutManager
 isCellBendable, mxGraph
 isCellCloneable, mxGraph
 isCellCodec
 isCellCollapsed
 isCellConnectable, mxGraph
 isCellDeletable, mxGraph
 isCellDisconnectable, mxGraph
 isCellEditable, mxGraph
 isCellFoldable, mxGraph
 isCellHorizontal, mxSwimlaneManager
 isCellLocked, mxGraph
 isCellMovable, mxGraph
 isCellResizable, mxGraph
 isCellRotatable, mxGraph
 isCellsBendable, mxGraph
 isCellsCloneable, mxGraph
 isCellsDeletable, mxGraph
 isCellsDisconnectable, mxGraph
 isCellsEditable, mxGraph
 isCellSelectable, mxGraph
 isCellSelected, mxGraph
 isCellsLocked, mxGraph
 isCellsMovable, mxGraph
 isCellsResizable, mxGraph
 isCellsSelectable, mxGraph
 isCellVisible, mxGraph
 isCenteredEvent, mxVertexHandler
 isCloneEnabled, mxGraphHandler
 isCloneEvent, mxGraph
 isCloneInvalidEdges, mxGraph
 isCollapsed
 isConnectable
 isConnectableCell
 isConnectableEdges, mxGraph
 isConnecting, mxConnectionHandler
 isConstrainChild, mxGraph
 isConstrainChildren, mxGraph
 isConstrainChildrenOnResize, mxGraph
 isConstrainedEvent
 isConsumed
 isContainerEvent, mxGraphView
 isControlDown
 isCreateIds, mxGraphModel
 isCreateTarget, mxConnectionHandler
 isCustomHandleEvent
 isDelayedSelection, mxGraphHandler
 isDisconnectOnMove, mxGraph
 isDropEnabled, mxGraph
 isEdge
 isEdgeIgnored, mxGraphLayout
 isEdgeLabelsMovable, mxGraph
 isEdgeValid, mxGraph
 isEditing, mxGraph
 isEmpty
 isEnabled
 isEnabledForEvent
 isEnterStopsCellEditing, mxGraph
 isEscapeEnabled, mxGraph
 isEventIgnored
 isEventsEnabled, mxEventSource
 isEventSource, mxCellEditor
 isEventSourceIgnored, mxGraph
 isExcluded
 isExtendParent, mxGraph
 isExtendParents, mxGraph
 isExtendParentsOnAdd, mxGraph
 isExtendParentsOnMove, mxGraph
 isForcePanningEvent, mxPanningHandler
 isForceRubberbandEvent, mxRubberband
 isGraphEvent, mxKeyHandler
 isGridEnabled
 isGridEnabledEvent, mxGraph
 isGuidesEnabled, mxDragSource
 isHandleEnabled, mxEdgeHandler
 isHandleVisible, mxEdgeHandler
 isHideLabel, mxCellEditor
 isHideOnHover, mxTooltipHandler
 isHighlightAt, mxCellHighlight
 isHorizontal
 isHotspotEnabled, mxCellMarker
 isHtmlAllowed
 isHtmlLabel, mxGraph
 isHtmlLabels, mxGraph
 isHtmlRequired, mxHandle
 isIgnoredAttribute, mxObjectCodec
 isImmediateConnectSource, mxConnectionHandler
 isInsertBefore, mxConnectionHandler
 isInteger, mxUtils
 isInvokesStopCellEditing, mxGraph
 isKeepFocusEvent, mxConstraintHandler
 isLabelClipped, mxGraph
 isLabelEvent, mxCellRenderer
 isLabelMovable, mxGraph
 isLanguageSupported, mxResources
 isLayer, mxGraphModel
 isLeftMouseButton, mxEvent
 isLivePreviewBorder, mxVertexHandler
 isLoop, mxGraph
 isLoopStyleEnabled, mxGraphView
 isMarkerEnd, mxArrowConnector
 isMarkerStart, mxArrowConnector
 isMenuShowing, mxPopupMenu
 isMetaDown, mxEvent
 isMiddleMouseButton, mxEvent
 isModified, mxEditor
 isMouseDown, mxGraph
 isMouseEvent, mxEvent
 isMoveable, mxFastOrganicLayout
 isMoveEnabled, mxGraphHandler
 isMoveIconToFrontForState, mxConnectionHandler
 isMultigraph, mxGraph
 isMultiTouchEvent, mxEvent
 isNaN, mxUtils
 isNode, mxUtils
 isNumeric, mxUtils
 isNumericAttribute, mxObjectCodec
 isOpenEnded, mxArrowConnector
 isOrthogonal, mxGraph
 isOutlineConnectEvent
 isPaintBoundsInverted
 isPanningEnabled, mxPanningHandler
 isPanningTrigger, mxPanningHandler
 isParseVml
 isPinchEnabled, mxPanningHandler
 isPopupTrigger
 isPort
 isPortsEnabled, mxGraph
 isPropertiesVisible, mxEditor
 isReady, mxXmlRequest
 isRecursiveResize, mxGraph
 isReference
 isRelativeUrl, mxUrlConverter
 isRemoveCellsFromParent, mxGraphHandler
 isRemovePointEvent, mxEdgeHandler
 isRendering, mxGraphView
 isResizable, mxWindow
 isResizeContainer, mxGraph
 isResizeEnabled, mxSwimlaneManager
 isReversed, mxGraphHierarchyEdge
 isRightMouseButton, mxEvent
 isRoot, mxGraphModel
 isRotationHandleVisible, mxVertexHandler
 isRunning, mxAnimation
 isScrollEvent, mxGraphView
 isSelected, mxGraphSelectionModel
 isSelectEnabled, mxGraphHandler
 isSelectionDashed
 isSelectionEmpty, mxGraph
 isSelectOnPopup, mxPopupMenuHandler
 isSelectText, mxCellEditor
 isShapeEvent, mxCellRenderer
 isShiftDown, mxEvent
 isSignificant, mxUndoableEdit
 isSingleSelection, mxGraphSelectionModel
 isSizerVisible, mxVertexHandler
 isSnapToTerminalsEvent, mxEdgeHandler
 isSource, mxMouseEvent
 isSplitEnabled, mxGraph
 isSplitTarget, mxGraph
 isStartEvent, mxConnectionHandler
 isStateIgnored, mxConstraintHandler
 isStopEditingEvent, mxCellEditor
 isStopEvent, mxConnectionHandler
 isSwimlane, mxGraph
 isSwimlaneIgnored, mxSwimlaneManager
 isSwimlaneNesting, mxGraph
 isSwimlaneSelectionEnabled, mxGraph
 isSyntheticEventIgnored, mxGraph
 isTerminalPointMovable, mxGraph
 isToggleEvent, mxGraph
 isTouchEvent, mxEvent
 isValidAncestor, mxGraph
 isValidConnection, mxGraph
 isValidDropTarget, mxGraph
 isValidRoot, mxGraph
 isValidSource
 isValidState, mxCellMarker
 isValidTarget
 isVertex
 isVertexIgnored
 isVertexLabelsMovable, mxGraph
 isVertexMovable, mxGraphLayout
 isVirtualBendsEnabled, mxEdgeHandler
 isVisible
 isVml, mxUtils
 isWrapping, mxGraph
 itemCount, mxPopupMenu
 iteration, mxFastOrganicLayout
 iterationsWithoutImprovement, mxMedianHybridCrossingReduction
+
Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
I
 id
 idrefs, mxObjectCodec
 ids, mxGraphHierarchyEdge
 ignoreCell, mxPanningHandler
 ignoreClippedStringSize, mxText
 ignoredChanges, mxAutoSaveManager
 ignoreMouseDown, mxConnectionHandler
 ignoreScrollbars, mxGraph
 ignoreStringSize, mxText
 ignoreTouchEvents, mxTooltipHandler
 image
 imageBasePath
 imageBundles, mxGraph
 images, mxImageBundle
 imageSize
 importCells, mxGraph
 importEnabled, mxGraph
 importNode, mxUtils
 In-place editing, mxGraph
 include, mxClient
 includeOverlays, mxImageExport
 index, mxVertexHandler
 indexOf, mxUtils
 indexOfNextAdd, mxUndoManager
 indexOfStylename, mxUtils
 indicatorSize, mxLabel
 indicatorSpacing, mxLabel
 indices, mxFastOrganicLayout
 info, mxLog
 init
 initBend, mxEdgeHandler
 initControl, mxCellRenderer
 initialCoords, mxCoordinateAssignment
 initializeLabel, mxCellRenderer
 initializeOverlay, mxCellRenderer
 initializeShape, mxCellRenderer
 initialRank
 initialTemp, mxFastOrganicLayout
 initialTouchX, mxGraph
 initialTouchY, mxGraph
 initialValue, mxCellEditor
 initialX, mxCoordinateAssignment
 initShape, mxHandle
 initStyles, mxShape
 insert
 insertBackgroundImage, mxPrintPreview
 insertBeforeSource, mxConnectionHandler
 insertCount, mxClipboard
 insertEdge
 insertFunction, mxEditor
 insertIntoGraph, mxCodec
 insertStateAfter, mxCellRenderer
 insertVertex, mxGraph
 installChangeHandler, mxEditor
 installCloseHandler, mxWindow
 installDblClickHandler, mxEditor
 installDrillHandler, mxEditor
 installDropHandler, mxDefaultToolbar
 installInsertHandler, mxEditor
 installListeners
 installMaximizeHandler, mxWindow
 installMinimizeHandler, mxWindow
 installMoveHandler, mxWindow
 installOverlayListeners, mxCellRenderer
 installUndoHandler, mxEditor
 interHierarchySpacing
 interRankCellSpacing
 intersection, mxUtils
 intersects
 intraCellSpacing
 invalid, mxCellState
 INVALID_COLOR, mxConstants
 INVALID_CONNECT_TARGET_COLOR, mxConstants
 invalidate, mxGraphView
 invalidColor, mxCellMarker
 invert
 invokesStopCellEditing, mxGraph
 IS_CHROMEAPP, mxClient
 IS_EDGE, mxClient
 IS_EM, mxClient
 IS_FF, mxClient
 IS_GC, mxClient
 IS_IE, mxClient
 IS_IE11, mxClient
 IS_IE6, mxClient
 IS_IOS, mxClient
 IS_LOCAL, mxClient
 IS_MAC, mxClient
 IS_MT, mxClient
 IS_NS, mxClient
 IS_OP, mxClient
 IS_OT, mxClient
 IS_POINTER, mxClient
 IS_QUIRKS, mxClient
 IS_SF, mxClient
 IS_SVG, mxClient
 IS_TOUCH, mxClient
 IS_VML, mxClient
 IS_WIN, mxClient
 isActive
 isAddEnabled, mxSwimlaneManager
 isAddPointEvent, mxEdgeHandler
 isAddVirtualBendEvent, mxEdgeHandler
 isAllowDanglingEdges, mxGraph
 isAllowEval, mxGraphView
 isAllowLoops, mxGraph
 isAllowOverlapParent, mxGraph
 isAltDown, mxEvent
 isAncestor
 isAncestorNode, mxUtils
 isArrowRounded, mxArrowConnector
 isAutoSizeCell, mxGraph
 isAutoSizeCells, mxGraph
 isBinary, mxXmlRequest
 isBooleanAttribute, mxObjectCodec
 isBrowserSupported, mxClient
 isBubbling, mxLayoutManager
 isCellBendable, mxGraph
 isCellCloneable, mxGraph
 isCellCodec
 isCellCollapsed
 isCellConnectable, mxGraph
 isCellDeletable, mxGraph
 isCellDisconnectable, mxGraph
 isCellEditable, mxGraph
 isCellFoldable, mxGraph
 isCellHorizontal, mxSwimlaneManager
 isCellLocked, mxGraph
 isCellMovable, mxGraph
 isCellResizable, mxGraph
 isCellRotatable, mxGraph
 isCellsBendable, mxGraph
 isCellsCloneable, mxGraph
 isCellsDeletable, mxGraph
 isCellsDisconnectable, mxGraph
 isCellsEditable, mxGraph
 isCellSelectable, mxGraph
 isCellSelected, mxGraph
 isCellsLocked, mxGraph
 isCellsMovable, mxGraph
 isCellsResizable, mxGraph
 isCellsSelectable, mxGraph
 isCellVisible, mxGraph
 isCenteredEvent, mxVertexHandler
 isCloneEnabled, mxGraphHandler
 isCloneEvent, mxGraph
 isCloneInvalidEdges, mxGraph
 isCollapsed
 isConnectable
 isConnectableCell
 isConnectableEdges, mxGraph
 isConnecting, mxConnectionHandler
 isConstrainChild, mxGraph
 isConstrainChildren, mxGraph
 isConstrainChildrenOnResize, mxGraph
 isConstrainedEvent
 isConsumed
 isContainerEvent, mxGraphView
 isControlDown
 isCreateIds, mxGraphModel
 isCreateTarget, mxConnectionHandler
 isCustomHandleEvent
 isDelayedSelection, mxGraphHandler
 isDisconnectOnMove, mxGraph
 isDropEnabled, mxGraph
 isEdge
 isEdgeIgnored, mxGraphLayout
 isEdgeLabelsMovable, mxGraph
 isEdgeValid, mxGraph
 isEditing, mxGraph
 isEmpty
 isEnabled
 isEnabledForEvent
 isEnterStopsCellEditing, mxGraph
 isEscapeEnabled, mxGraph
 isEventIgnored
 isEventsEnabled, mxEventSource
 isEventSource, mxCellEditor
 isEventSourceIgnored, mxGraph
 isExcluded
 isExtendParent, mxGraph
 isExtendParents, mxGraph
 isExtendParentsOnAdd, mxGraph
 isExtendParentsOnMove, mxGraph
 isForcePanningEvent, mxPanningHandler
 isForceRubberbandEvent, mxRubberband
 isGraphEvent, mxKeyHandler
 isGridEnabled
 isGridEnabledEvent, mxGraph
 isGuidesEnabled, mxDragSource
 isHandleEnabled, mxEdgeHandler
 isHandleVisible, mxEdgeHandler
 isHideLabel, mxCellEditor
 isHideOnHover, mxTooltipHandler
 isHighlightAt, mxCellHighlight
 isHorizontal
 isHotspotEnabled, mxCellMarker
 isHtmlAllowed
 isHtmlLabel, mxGraph
 isHtmlLabels, mxGraph
 isHtmlRequired, mxHandle
 isIgnoredAttribute, mxObjectCodec
 isImmediateConnectSource, mxConnectionHandler
 isInsertBefore, mxConnectionHandler
 isInteger, mxUtils
 isInvokesStopCellEditing, mxGraph
 isKeepFocusEvent, mxConstraintHandler
 isLabelClipped, mxGraph
 isLabelEvent, mxCellRenderer
 isLabelMovable, mxGraph
 isLanguageSupported, mxResources
 isLayer, mxGraphModel
 isLeftMouseButton, mxEvent
 isLivePreviewBorder, mxVertexHandler
 isLoop, mxGraph
 isLoopStyleEnabled, mxGraphView
 isMarkerEnd, mxArrowConnector
 isMarkerStart, mxArrowConnector
 isMenuShowing, mxPopupMenu
 isMetaDown, mxEvent
 isMiddleMouseButton, mxEvent
 isModified, mxEditor
 isMouseDown, mxGraph
 isMouseEvent, mxEvent
 isMoveable, mxFastOrganicLayout
 isMoveEnabled, mxGraphHandler
 isMoveIconToFrontForState, mxConnectionHandler
 isMultigraph, mxGraph
 isMultiTouchEvent, mxEvent
 isNaN, mxUtils
 isNode, mxUtils
 isNumeric, mxUtils
 isNumericAttribute, mxObjectCodec
 isOpenEnded, mxArrowConnector
 isOrthogonal, mxGraph
 isOutlineConnectEvent
 isPaintBoundsInverted
 isPanningEnabled, mxPanningHandler
 isPanningTrigger, mxPanningHandler
 isParseVml
 isPinchEnabled, mxPanningHandler
 isPopupTrigger
 isPort
 isPortsEnabled, mxGraph
 isPropertiesVisible, mxEditor
 isReady, mxXmlRequest
 isRecursiveResize, mxGraph
 isReference
 isRelativeUrl, mxUrlConverter
 isRemoveCellsFromParent, mxGraphHandler
 isRemovePointEvent, mxEdgeHandler
 isRendering, mxGraphView
 isResizable, mxWindow
 isResizeContainer, mxGraph
 isResizeEnabled, mxSwimlaneManager
 isReversed, mxGraphHierarchyEdge
 isRightMouseButton, mxEvent
 isRoot, mxGraphModel
 isRotationHandleVisible, mxVertexHandler
 isRunning, mxAnimation
 isScrollEvent, mxGraphView
 isSelected, mxGraphSelectionModel
 isSelectEnabled, mxGraphHandler
 isSelectionDashed
 isSelectionEmpty, mxGraph
 isSelectOnPopup, mxPopupMenuHandler
 isSelectText, mxCellEditor
 isShapeEvent, mxCellRenderer
 isShiftDown, mxEvent
 isSignificant, mxUndoableEdit
 isSingleSelection, mxGraphSelectionModel
 isSizerVisible, mxVertexHandler
 isSnapToTerminalsEvent, mxEdgeHandler
 isSource, mxMouseEvent
 isSplitEnabled, mxGraph
 isSplitTarget, mxGraph
 isStartEvent, mxConnectionHandler
 isStateIgnored, mxConstraintHandler
 isStopEditingEvent, mxCellEditor
 isStopEvent, mxConnectionHandler
 isSwimlane, mxGraph
 isSwimlaneIgnored, mxSwimlaneManager
 isSwimlaneNesting, mxGraph
 isSwimlaneSelectionEnabled, mxGraph
 isSyntheticEventIgnored, mxGraph
 isTerminalPointMovable, mxGraph
 isTextShapeInvalid, mxCellRenderer
 isToggleEvent, mxGraph
 isTouchEvent, mxEvent
 isValidAncestor, mxGraph
 isValidConnection, mxGraph
 isValidDropTarget, mxGraph
 isValidRoot, mxGraph
 isValidSource
 isValidState, mxCellMarker
 isValidTarget
 isVertex
 isVertexIgnored
 isVertexLabelsMovable, mxGraph
 isVertexMovable, mxGraphLayout
 isVirtualBendsEnabled, mxEdgeHandler
 isVisible
 isVml, mxUtils
 isWrapping, mxGraph
 itemCount, mxPopupMenu
 iteration, mxFastOrganicLayout
 iterationsWithoutImprovement, mxMedianHybridCrossingReduction
-
mxCell.prototype.id
Holds the Id.
mxGraphHierarchyNode.prototype.id
The object identity of the wrapped cell
mxObjectCodec.prototype.idrefs
Array containing the variable names that should be turned into or converted from references.
mxGraphHierarchyEdge.prototype.ids
The object identities of the wrapped cells
mxPanningHandler.prototype.ignoreCell
Specifies if panning should be active even if there is a cell under the mousepointer.
mxText.prototype.ignoreClippedStringSize
Specifies if the string size should be measured in updateBoundingBox if the label is clipped and the label position is center and middle.
mxAutoSaveManager.prototype.ignoredChanges
Counter for ignored changes in autosave.
mxConnectionHandler.prototype.ignoreMouseDown
Specifies if the connection handler should ignore the state of the mouse button when highlighting the source.
mxGraph.prototype.ignoreScrollbars
Specifies if the graph should automatically scroll regardless of the scrollbars.
mxText.prototype.ignoreStringSize
Specifies if the actual string size should be measured.
mxTooltipHandler.prototype.ignoreTouchEvents
Specifies if touch and pen events should be ignored.
mxCellOverlay.prototype.image
Holds the mxImage to be used as the icon.
mxHandle.prototype.image
Specifies the mxImage to be used to render the handle.
mxSvgCanvas2D.prototype.image = function(x,
y,
w,
h,
src,
aspect,
flipH,
flipV)
Private helper function to create SVG elements
mxVmlCanvas2D.prototype.image = function(x,
y,
w,
h,
src,
aspect,
flipH,
flipV)
Paints an image.
mxXmlCanvas2D.prototype.image = function(x,
y,
w,
h,
src,
aspect,
flipH,
flipV)
Paints an image.
Basepath for all images URLs in the core without trailing slash.
mxDefaultPopupMenu.prototype.imageBasePath
Base path for all icon attributes in the config.
mxGraph.prototype.imageBundles
Holds the list of image bundles.
mxImageBundle.prototype.images
Maps from keys to images.
mxLabel.prototype.imageSize
Default width and height for the image.
mxSwimlane.prototype.imageSize
Default imagewidth and imageheight if an image but no imagewidth and imageheight are defined in the style.
mxGraph.prototype.importCells = function(cells,
dx,
dy,
target,
evt,
mapping)
Clones and inserts the given cells into the graph using the move method and returns the inserted cells.
mxGraph.prototype.importEnabled
Specifies the return value for canImportCell.
importNode: function(doc,
node,
allChildren)
Cross browser implementation for document.importNode.
include: function(src)
Dynamically adds a script node to the document header.
mxImageExport.prototype.includeOverlays
Specifies if overlays should be included in the export.
mxVertexHandler.prototype.index
Holds the index of the current handle.
indexOf: function(array,
obj)
Returns the index of obj in array or -1 if the array does not contain the given object.
mxUndoManager.prototype.indexOfNextAdd
Index of the element to be added next.
indexOfStylename: function(style,
stylename)
Returns the index of the given stylename in the given style.
mxLabel.prototype.indicatorSize
Default width and height for the indicicator.
mxLabel.prototype.indicatorSpacing
Default spacing between image and indicator.
mxFastOrganicLayout.prototype.indices
Hashtable from cells to local indices.
info: function()
Writes the current navigator information to the console.
mxCellEditor.prototype.init = function ()
Creates the textarea and installs the event listeners.
mxConnectionHandler.prototype.init = function()
Initializes the shapes required for this connection handler.
mxDefaultToolbar.prototype.init
Constructs the toolbar for the given container and installs a listener that updates the mxEditor.insertFunction on editor if an item is selected in the toolbar.
mxEdgeHandler.prototype.init = function()
Initializes the shapes required for this edge handler.
mxGraph.prototype.init = function(container)
Initializes the container and creates the respective datastructures.
mxGraphView.prototype.init = function()
Initializes the graph event dispatch loop for the specified container and invokes create to create the required DOM nodes for the display.
mxHandle.prototype.init = function()
Creates and initializes the shapes required for this handle.
mxLabel.prototype.init = function(container)
Initializes the shape and the indicator.
init: function()
Initializes the DOM node for the console.
mxOutline.prototype.init = function(container)
Initializes the outline inside the given container.
mxPopupMenu.prototype.init = function()
Initializes the shapes required for this vertex handler.
mxPopupMenuHandler.prototype.init = function()
Initializes the shapes required for this vertex handler.
mxShape.prototype.init = function(container)
Initializes the shape by creaing the DOM node using create and adding it into the given container.
mxTooltipHandler.prototype.init = function()
Initializes the DOM nodes required for this tooltip handler.
mxVertexHandler.prototype.init = function()
Initializes the shapes required for this vertex handler.
mxWindow.prototype.init = function(x,
y,
width,
height,
style)
Initializes the DOM tree that represents the window.
mxEdgeHandler.prototype.initBend = function(bend,
dblClick)
Helper method to initialize the given bend.
mxCellRenderer.prototype.initControl = function(state,
control,
handleEvents,
clickHandler)
Initializes the given control and returns the corresponding DOM node.
mxCoordinateAssignment.prototype.initialCoords = function(facade,
model)
Sets up the layout in an initial positioning.
mxCellRenderer.prototype.initializeLabel = function(state,
shape)
Initiailzes the label with a suitable container.
mxCellRenderer.prototype.initializeOverlay = function(state,
overlay)
Initializes the given overlay.
mxCellRenderer.prototype.initializeShape = function(state)
Initializes the shape in the given state by calling its init method with the correct container after configuring it using configureShape.
mxGraphHierarchyModel.prototype.initialRank = function()
Basic determination of minimum layer ranking by working from from sources or sinks and working through each node in the relevant edge direction.
mxSwimlaneModel.prototype.initialRank = function()
Basic determination of minimum layer ranking by working from from sources or sinks and working through each node in the relevant edge direction.
mxFastOrganicLayout.prototype.initialTemp
Start value of temperature.
mxGraph.prototype.initialTouchX
Holds the x-coordinate of the intial touch event for tap and hold.
mxGraph.prototype.initialTouchY
Holds the y-coordinate of the intial touch event for tap and hold.
mxCellEditor.prototype.initialValue
Holds the initial editing value to check if the current value was modified.
mxCoordinateAssignment.prototype.initialX
The minimum x position node placement starts at
mxHandle.prototype.initShape = function(html)
Initializes shape and sets its cursor.
mxCell.prototype.insert = function(child,
index)
Inserts the specified child into the child array at the specified index and updates the parent reference of the child.
mxDefaultToolbar.prototype.insert = function(vertex,
evt,
target)
Handles a drop by inserting the given vertex into the given parent cell or the default parent if no parent is specified.
mxPrintPreview.prototype.insertBackgroundImage = function(div,
dx,
dy)
Inserts the background image into the given div.
mxConnectionHandler.prototype.insertBeforeSource
Specifies if new edges should be inserted before the source vertex in the cell hierarchy.
Counts the number of times the clipboard data has been inserted.
mxCell.prototype.insertEdge = function(edge,
isOutgoing)
Inserts the specified edge into the edge array and returns the edge.
mxConnectionHandler.prototype.insertEdge = function(parent,
id,
value,
source,
target,
style)
Creates, inserts and returns the new edge for the given parameters.
mxGraph.prototype.insertEdge = function(parent,
id,
value,
source,
target,
style)
Adds a new edge into the given parent mxCell using value as the user object and the given source and target as the terminals of the new edge.
mxEditor.prototype.insertFunction
Specifies the function to be used for inserting new cells into the graph.
mxCodec.prototype.insertIntoGraph = function(cell)
Inserts the given cell into its parent and terminal cells.
mxCellRenderer.prototype.insertStateAfter = function(state,
node,
htmlNode)
Inserts the given array of mxShapes after the given nodes in the DOM.
mxGraph.prototype.insertVertex = function(parent,
id,
value,
x,
y,
width,
height,
style,
relative)
Adds a new vertex into the given parent mxCell using value as the user object and the given coordinates as the mxGeometry of the new vertex.
mxEditor.prototype.installChangeHandler = function (graph)
Installs the listeners required to automatically validate the graph.
mxWindow.prototype.installCloseHandler = function()
Adds the closeImage as a new image node in closeImg and installs the close event.
mxEditor.prototype.installDblClickHandler = function (graph)
Overrides mxGraph.dblClick to invoke dblClickAction on a cell and reset the selection tool in the toolbar.
mxEditor.prototype.installDrillHandler = function (graph)
Installs listeners for dispatching the root event.
mxDefaultToolbar.prototype.installDropHandler = function (img,
dropHandler)
Makes the given img draggable using the given function for handling a drop event.
mxEditor.prototype.installInsertHandler = function (graph)
Installs the handler for invoking insertFunction if one is defined.
mxCellEditor.prototype.installListeners = function(elt)
Installs listeners for focus, change and standard key event handling.
mxCellRenderer.prototype.installListeners = function(state)
Installs the event listeners for the given cell state.
mxGraphView.prototype.installListeners = function()
Installs the required listeners in the container.
mxWindow.prototype.installMaximizeHandler = function()
Installs the event listeners required for maximizing the window.
mxWindow.prototype.installMinimizeHandler = function()
Installs the event listeners required for minimizing the window.
mxWindow.prototype.installMoveHandler = function()
Installs the event listeners required for moving the window.
Installs the listeners for the given mxCellState, mxCellOverlay and mxShape that represents the overlay.
mxEditor.prototype.installUndoHandler = function (graph)
Adds the undoManager to the graph model and the view.
mxHierarchicalLayout.prototype.interHierarchySpacing
The spacing buffer between unconnected hierarchies.
mxSwimlaneLayout.prototype.interHierarchySpacing
The spacing buffer between unconnected hierarchies.
mxCoordinateAssignment.prototype.interRankCellSpacing
The minimum distance between cells on adjacent ranks.
mxHierarchicalLayout.prototype.interRankCellSpacing
The spacing buffer added between cell on adjacent layers.
mxSwimlaneLayout.prototype.interRankCellSpacing
The spacing buffer added between cell on adjacent layers.
intersection: function (x0,
y0,
x1,
y1,
x2,
y2,
x3,
y3)
Returns the intersection of two lines as an mxPoint.
mxCellMarker.prototype.intersects = function(state,
me)
Returns true if the given coordinate pair intersects the given state.
mxConstraintHandler.prototype.intersects = function(icon,
mouse,
source,
existingEdge)
Returns true if the given icon intersects the given rectangle.
mxGraph.prototype.intersects = function(state,
x,
y)
Returns the bottom-most cell that intersects the given point (x, y) in the cell hierarchy that starts at the given parent.
intersects: function(a,
b)
Returns true if the two rectangles intersect.
mxCoordinateAssignment.prototype.intraCellSpacing
The minimum buffer between cells on the same rank.
mxHierarchicalLayout.prototype.intraCellSpacing
The spacing buffer added between cells on the same layer.
mxSwimlaneLayout.prototype.intraCellSpacing
The spacing buffer added between cells on the same layer.
mxCellState.prototype.invalid
Specifies if the state is invalid.
Defines the color to be used for the coloring invalid connection previews.
Defines the color to be used for highlighting a invalid target cells for a new or changed connections.
mxGraphView.prototype.invalidate = function(cell,
recurse,
includeEdges)
Invalidates the state of the given cell, all its descendants and connected edges.
mxCellMarker.prototype.invalidColor
Holds the invalid marker color.
mxCompactTreeLayout.prototype.invert
Specifies if edge directions should be inverted.
mxGraphHierarchyEdge.prototype.invert = function(layer)
Inverts the direction of this internal edge(s)
mxGraph.prototype.invokesStopCellEditing
If true, when editing is to be stopped by way of selection changing, data in diagram changing or other means stopCellEditing is invoked, and changes are saved.
IS_CHROMEAPP: window.chrome !
True if the this is running inside a Chrome App.
True if the current browser is Microsoft Edge.
IS_EM: 'spellcheck' in document.createElement(
   'textarea'
) && document.documentMode
True if the browser is IE11 in enterprise mode (IE8 standards mode).
IS_FF: navigator.userAgent.indexOf('Firefox/') >
True if the current browser is Firefox.
IS_GC: navigator.userAgent.indexOf('Chrome/') >
True if the current browser is Google Chrome.
IS_IE: navigator.userAgent.indexOf('MSIE') >
True if the current browser is Internet Explorer 10 or below.
True if the current browser is Internet Explorer 11.x.
IS_IE6: navigator.userAgent.indexOf('MSIE 6') >
True if the current browser is Internet Explorer 6.x.
Returns true if the user agent is an iPad, iPhone or iPod.
True if the documents location does not start with http:// or https://.
True if the client is a Mac.
True if -moz-transform is available as a CSS style.
IS_NS: navigator.userAgent.indexOf('Mozilla/') >
True if the current browser is Netscape (including Firefox).
IS_OP: navigator.userAgent.indexOf('Opera/') >
True if the current browser is Opera.
IS_OT: navigator.userAgent.indexOf('Presto/') >
True if -o-transform is available as a CSS style, ie for Opera browsers based on a Presto engine with version 2.5 or later.
True if this device supports Microsoft pointer events.
IS_QUIRKS: navigator.userAgent.indexOf('MSIE') >
True if the current browser is Internet Explorer and it is in quirks mode.
IS_SF: navigator.userAgent.indexOf('AppleWebKit/') >
True if the current browser is Safari.
IS_SVG: navigator.userAgent.indexOf('Firefox/') >
True if the browser supports SVG.
True if this device supports touchstart/-move/-end events (Apple iOS, Android, Chromebook and Chrome Browser on touch-enabled devices).
IS_VML: navigator.appName.toUpperCase()
True if the browser supports VML.
True if the client is a Windows.
mxDragSource.prototype.isActive = function()
Returns true if this drag source is active.
mxPanningHandler.prototype.isActive = function()
Returns true if the handler is currently active.
mxSwimlaneManager.prototype.isAddEnabled = function()
Returns addEnabled.
mxEdgeHandler.prototype.isAddPointEvent = function(evt)
Returns true if the given event is a trigger to add a new point.
mxEdgeHandler.prototype.isAddVirtualBendEvent = function(me)
Returns true if the given event allows virtual bends to be added.
mxGraph.prototype.isAllowDanglingEdges = function()
Returns allowDanglingEdges as a boolean.
mxGraphView.prototype.isAllowEval = function()
Returns allowEval.
mxGraph.prototype.isAllowLoops = function()
Returns allowLoops as a boolean.
mxGraph.prototype.isAllowOverlapParent = function(cell)
Returns true if the given cell is allowed to be placed outside of the parents area.
isAltDown: function(evt)
Returns true if the alt key is pressed for the given event.
mxGraphHierarchyNode.prototype.isAncestor = function(otherNode)
mxGraphModel.prototype.isAncestor = function(parent,
child)
Returns true if the given parent is an ancestor of the given child.
isAncestorNode: function(ancestor,
child)
Returns true if the given ancestor is an ancestor of the given DOM node in the DOM.
mxArrowConnector.prototype.isArrowRounded = function()
Returns wether the arrow is rounded
mxGraph.prototype.isAutoSizeCell = function(cell)
Returns true if the size of the given cell should automatically be updated after a change of the label.
mxGraph.prototype.isAutoSizeCells = function()
Returns autoSizeCells.
mxXmlRequest.prototype.isBinary = function()
Returns binary.
mxObjectCodec.prototype.isBooleanAttribute = function(enc,
obj,
name,
value)
Returns true if the given object attribute is a boolean value.
isBrowserSupported: function()
Returns true if the current browser is supported, that is, if mxClient.IS_VML or mxClient.IS_SVG is true.
mxLayoutManager.prototype.isBubbling = function()
Returns true if a layout should bubble, that is, if the parent layout should be executed whenever a cell layout (layout of the children of a cell) has been executed.
mxGraph.prototype.isCellBendable = function(cell)
Returns true if the given cell is bendable.
mxGraph.prototype.isCellCloneable = function(cell)
Returns true if the given cell is cloneable.
codec.isCellCodec = function()
Returns true since this is a cell codec.
mxCodec.prototype.isCellCodec = function(codec)
Returns true if the given codec is a cell codec.
mxGraph.prototype.isCellCollapsed = function(cell)
Returns true if the given cell is collapsed in this graph.
mxGraphView.prototype.isCellCollapsed = function(cell)
Returns true if the children of the given cell should not be visible in the view.
mxGraph.prototype.isCellConnectable = function(cell)
Returns true if the given cell is connectable in this graph.
mxGraph.prototype.isCellDeletable = function(cell)
Returns true if the given cell is moveable.
mxGraph.prototype.isCellDisconnectable = function(cell,
terminal,
source)
Returns true if the given cell is disconnectable from the source or target terminal.
mxGraph.prototype.isCellEditable = function(cell)
Returns true if the given cell is editable.
mxGraph.prototype.isCellFoldable = function(cell,
collapse)
Returns true if the given cell is foldable.
mxSwimlaneManager.prototype.isCellHorizontal = function(cell)
Returns true if the given cell is horizontal.
mxGraph.prototype.isCellLocked = function(cell)
Returns true if the given cell may not be moved, sized, bended, disconnected, edited or selected.
mxGraph.prototype.isCellMovable = function(cell)
Returns true if the given cell is moveable.
mxGraph.prototype.isCellResizable = function(cell)
Returns true if the given cell is resizable.
mxGraph.prototype.isCellRotatable = function(cell)
Returns true if the given cell is rotatable.
mxGraph.prototype.isCellsBendable = function()
Returns cellsBenadable.
mxGraph.prototype.isCellsCloneable = function()
Returns cellsCloneable, that is, if the graph allows cloning of cells by using control-drag.
mxGraph.prototype.isCellsDeletable = function()
Returns cellsDeletable.
mxGraph.prototype.isCellsDisconnectable = function()
Returns cellsDisconnectable.
mxGraph.prototype.isCellsEditable = function()
Returns cellsEditable.
mxGraph.prototype.isCellSelectable = function(cell)
Returns true if the given cell is selectable.
mxGraph.prototype.isCellSelected = function(cell)
Returns true if the given cell is selected.
mxGraph.prototype.isCellsLocked = function()
Returns true if the given cell may not be moved, sized, bended, disconnected, edited or selected.
mxGraph.prototype.isCellsMovable = function()
Returns cellsMovable.
mxGraph.prototype.isCellsResizable = function()
Returns cellsResizable.
mxGraph.prototype.isCellsSelectable = function()
Returns cellsSelectable.
mxGraph.prototype.isCellVisible = function(cell)
Returns true if the given cell is visible in this graph.
mxVertexHandler.prototype.isCenteredEvent = function(state,
me)
Returns true if the aspect ratio if the cell should be maintained.
mxGraphHandler.prototype.isCloneEnabled = function()
Returns cloneEnabled.
mxGraph.prototype.isCloneEvent = function(evt)
Returns true if the given event is a clone event.
mxGraph.prototype.isCloneInvalidEdges = function()
Returns cloneInvalidEdges as a boolean.
mxCell.prototype.isCollapsed = function()
Returns true if the cell is collapsed.
mxGraphModel.prototype.isCollapsed = function(cell)
Returns true if the given mxCell is collapsed.
mxCell.prototype.isConnectable = function()
Returns true if the cell is connectable.
mxGraph.prototype.isConnectable = function(connectable)
Returns true if the connectionHandler is enabled.
mxGraphModel.prototype.isConnectable = function(cell)
Returns true if the given mxCell is connectable.
mxConnectionHandler.prototype.isConnectableCell = function(cell)
Returns true if the given cell is connectable.
mxEdgeHandler.prototype.isConnectableCell = function(cell)
Returns true if the given cell is connectable.
mxGraph.prototype.isConnectableEdges = function()
Returns connectableEdges as a boolean.
mxConnectionHandler.prototype.isConnecting = function()
Returns true if the source terminal has been clicked and a new connection is currently being previewed.
mxGraph.prototype.isConstrainChild = function(cell)
Returns true if the given cell should be kept inside the bounds of its parent according to the rules defined by getOverlap and isAllowOverlapParent.
mxGraph.prototype.isConstrainChildren = function()
Returns constrainChildren.
mxGraph.prototype.isConstrainChildrenOnResize = function()
Returns constrainChildrenOnResize.
mxGraph.prototype.isConstrainedEvent = function(evt)
Returns true if the given mouse event should be aligned to the grid.
mxVertexHandler.prototype.isConstrainedEvent = function(me)
Returns true if the aspect ratio if the cell should be maintained.
isConsumed: function(evt)
Returns true if the event has been consumed using consume.
mxEventObject.prototype.isConsumed = function()
Returns true if the event has been consumed.
mxMouseEvent.prototype.isConsumed = function()
Returns consumed.
mxGraphView.prototype.isContainerEvent = function(evt)
Returns true if the event origin is one of the drawing panes or containers of the view.
isControlDown: function(evt)
Returns true if the control key is pressed for the given event.
mxKeyHandler.prototype.isControlDown = function(evt)
Returns true if the control key is pressed.
mxGraphModel.prototype.isCreateIds = function()
Returns createIds.
mxConnectionHandler.prototype.isCreateTarget = function(evt)
Returns createTarget.
mxEdgeHandler.prototype.isCustomHandleEvent = function(me)
Returns true if the given event allows custom handles to be changed.
mxVertexHandler.prototype.isCustomHandleEvent = function(me)
Returns true if the given event allows custom handles to be changed.
mxGraphHandler.prototype.isDelayedSelection = function(cell,
me)
Hook to return true for delayed selections.
mxGraph.prototype.isDisconnectOnMove = function()
Returns disconnectOnMove as a boolean.
mxGraph.prototype.isDropEnabled = function()
Returns dropEnabled as a boolean.
mxCell.prototype.isEdge = function()
Returns true if the cell is an edge.
mxGraphAbstractHierarchyCell.prototype.isEdge = function()
Returns whether or not this cell is an edge
mxGraphHierarchyEdge.prototype.isEdge = function()
Returns true.
mxGraphModel.prototype.isEdge = function(cell)
Returns true if the given cell is an edge.
mxGraphLayout.prototype.isEdgeIgnored = function(edge)
Returns a boolean indicating if the given mxCell should be ignored by the algorithm.
mxGraph.prototype.isEdgeLabelsMovable = function()
Returns edgeLabelsMovable.
mxGraph.prototype.isEdgeValid = function(edge,
source,
target)
Checks if the return value of getEdgeValidationError for the given arguments is null.
mxGraph.prototype.isEditing = function(cell)
Returns true if the given cell is currently being edited.
mxCellStatePreview.prototype.isEmpty = function()
Returns true if this contains no entries.
isEmpty: function()
Returns true if the clipboard currently has not data stored.
mxGraphSelectionModel.prototype.isEmpty = function()
Returns true if no cells are currently selected.
mxUndoableEdit.prototype.isEmpty = function()
Returns true if the this edit contains no changes.
mxUndoManager.prototype.isEmpty = function()
Returns true if the history is empty.
mxAutoSaveManager.prototype.isEnabled = function()
Returns true if events are handled.
mxCellMarker.prototype.isEnabled = function()
Returns true if events are handled.
mxConnectionHandler.prototype.isEnabled = function()
Returns true if events are handled.
mxConstraintHandler.prototype.isEnabled = function()
Returns true if events are handled.
mxDragSource.prototype.isEnabled = function()
Returns enabled.
mxGraph.prototype.isEnabled = function()
Returns true if the graph is enabled.
mxGraphHandler.prototype.isEnabled = function()
Returns enabled.
mxKeyHandler.prototype.isEnabled = function()
Returns true if events are handled.
mxLayoutManager.prototype.isEnabled = function()
Returns true if events are handled.
mxOutline.prototype.isEnabled = function()
Returns true if events are handled.
mxPopupMenu.prototype.isEnabled = function()
Returns true if events are handled.
mxRubberband.prototype.isEnabled = function()
Returns true if events are handled.
mxSelectionCellsHandler.prototype.isEnabled = function()
Returns enabled.
mxSwimlaneManager.prototype.isEnabled = function()
Returns true if events are handled.
mxTooltipHandler.prototype.isEnabled = function()
Returns true if events are handled.
mxUrlConverter.prototype.isEnabled = function()
Returns enabled.
mxGuide.prototype.isEnabledForEvent = function(evt)
Returns true if the guide should be enabled for the given native event.
mxKeyHandler.prototype.isEnabledForEvent = function(evt)
Returns true if the given event should be handled.
mxGraph.prototype.isEnterStopsCellEditing = function()
Returns enterStopsCellEditing.
mxGraph.prototype.isEscapeEnabled = function()
Returns escapeEnabled.
mxConstraintHandler.prototype.isEventIgnored = function(me,
source)
Returns true if the given mxMouseEvent should be ignored in update.
mxGraph.prototype.isEventIgnored = function(evtName,
me,
sender)
Returns true if the event should be ignored in fireMouseEvent.
mxKeyHandler.prototype.isEventIgnored = function(evt)
Returns true if the given keystroke should be ignored.
mxEventSource.prototype.isEventsEnabled = function()
Returns eventsEnabled.
mxCellEditor.prototype.isEventSource = function(evt)
Returns true if this editor is the source for the given native event.
mxGraph.prototype.isEventSourceIgnored = function(evtName,
me)
Returns true if the event should be ignored in fireMouseEvent.
codec.isExcluded = function(obj,
attr,
value,
isWrite)
Excludes user objects that are XML nodes.
mxObjectCodec.prototype.isExcluded = function(obj,
attr,
value,
write)
Returns true if the given attribute is to be ignored by the codec.
mxGraph.prototype.isExtendParent = function(cell)
Returns true if the parent of the given cell should be extended if the child has been resized so that it overlaps the parent.
mxGraph.prototype.isExtendParents = function()
Returns extendParents.
mxGraph.prototype.isExtendParentsOnAdd = function(cell)
Returns extendParentsOnAdd.
mxGraph.prototype.isExtendParentsOnMove = function()
Returns extendParentsOnAdd.
mxPanningHandler.prototype.isForcePanningEvent = function(me)
Returns true if the given mxMouseEvent should start panning.
mxRubberband.prototype.isForceRubberbandEvent = function(me)
Returns true if the given mxMouseEvent should start rubberband selection.
mxKeyHandler.prototype.isGraphEvent = function(evt)
Returns true if the event should be processed by this handler, that is, if the event source is either the target, one of its direct children, a descendant of the mxGraph.container, or the mxGraph.cellEditor of the graph.
mxDragSource.prototype.isGridEnabled = function()
Returns gridEnabled.
mxGraph.prototype.isGridEnabled = function()
Returns gridEnabled as a boolean.
mxGraph.prototype.isGridEnabledEvent = function(evt)
Returns true if the given mouse event should be aligned to the grid.
mxDragSource.prototype.isGuidesEnabled = function()
Returns guidesEnabled.
mxEdgeHandler.prototype.isHandleEnabled = function(index)
Creates the shape used to display the given bend.
mxEdgeHandler.prototype.isHandleVisible = function(index)
Returns true if the handle at the given index is visible.
mxCellEditor.prototype.isHideLabel = function(state)
Returns true if the label should be hidden while the cell is being edited.
mxTooltipHandler.prototype.isHideOnHover = function()
Returns hideOnHover.
mxCellHighlight.prototype.isHighlightAt = function(x,
y)
Returns true if this highlight is at the given position.
mxCompactTreeLayout.prototype.isHorizontal = function()
Returns horizontal.
mxPartitionLayout.prototype.isHorizontal = function()
Returns horizontal.
mxStackLayout.prototype.isHorizontal = function()
Returns horizontal.
mxSwimlaneManager.prototype.isHorizontal = function()
Returns horizontal.
mxCellMarker.prototype.isHotspotEnabled = function()
Returns true if hotspot is used in intersects.
mxImageShape.prototype.isHtmlAllowed = function()
Returns true if HTML is allowed for this shape.
mxLabel.prototype.isHtmlAllowed = function()
Returns true for non-rounded, non-rotated shapes with no glass gradient and no indicator shape.
mxRectangleShape.prototype.isHtmlAllowed = function()
Returns true for non-rounded, non-rotated shapes with no glass gradient.
mxShape.prototype.isHtmlAllowed = function()
Returns true if HTML is allowed for this shape.
mxText.prototype.isHtmlAllowed = function()
Returns true if HTML is allowed for this shape.
mxGraph.prototype.isHtmlLabel = function(cell)
Returns true if the label must be rendered as HTML markup.
mxGraph.prototype.isHtmlLabels = function()
Returns htmlLabels.
mxHandle.prototype.isHtmlRequired = function()
Returns true if this handle should be rendered in HTML.
mxObjectCodec.prototype.isIgnoredAttribute = function(dec,
attr,
obj)
Returns true if the given attribute should be ignored.
mxConnectionHandler.prototype.isImmediateConnectSource = function(state)
Returns true if a tap on the given source state should immediately start connecting.
mxConnectionHandler.prototype.isInsertBefore = function(edge,
source,
target,
evt,
dropTarget)
Returns insertBeforeSource for non-loops and false for loops.
isInteger: function(n)
Returns true if the given value is an valid integer number.
mxGraph.prototype.isInvokesStopCellEditing = function()
Returns invokesStopCellEditing.
mxConstraintHandler.prototype.isKeepFocusEvent = function(me)
Returns true if the current focused state should not be changed for the given event.
mxGraph.prototype.isLabelClipped = function(cell)
Returns true if the overflow portion of labels should be hidden.
mxCellRenderer.prototype.isLabelEvent = function(state,
evt)
Returns true if the event is for the label of the given state.
mxGraph.prototype.isLabelMovable = function(cell)
Returns true if the given edges’s label is moveable.
isLanguageSupported: function(lan)
Hook for subclassers to disable support for a given language.
mxGraphModel.prototype.isLayer = function(cell)
Returns true if isRoot returns true for the parent of the given cell.
isLeftMouseButton: function(evt)
Returns true if the left mouse button is pressed for the given event.
mxVertexHandler.prototype.isLivePreviewBorder = function()
Called if livePreview is enabled to check if a border should be painted.
mxGraph.prototype.isLoop = function(state)
Returns true if the given cell state is a loop.
mxGraphView.prototype.isLoopStyleEnabled = function(edge,
points,
source,
target)
Returns true if the given edge should be routed with mxGraph.defaultLoopStyle or the mxConstants.STYLE_LOOP defined for the given edge.
mxArrowConnector.prototype.isMarkerEnd = function()
Returns whether the end marker is drawn
mxArrowConnector.prototype.isMarkerStart = function()
Returns whether the start marker is drawn
mxPopupMenu.prototype.isMenuShowing = function()
Returns true if the menu is showing.
isMetaDown: function(evt)
Returns true if the meta key is pressed for the given event.
isMiddleMouseButton: function(evt)
Returns true if the middle mouse button is pressed for the given event.
mxEditor.prototype.isModified = function ()
Returns modified.
mxGraph.prototype.isMouseDown
Holds the state of the mouse button.
isMouseEvent: function(evt)
Returns true if the event was generated using a mouse (not a pen or touch device).
mxFastOrganicLayout.prototype.isMoveable
Array of booleans representing the movable states of the vertices.
mxGraphHandler.prototype.isMoveEnabled = function()
Returns moveEnabled.
mxConnectionHandler.prototype.isMoveIconToFrontForState = function(state)
Returns true if the state has a HTML label in the graph’s container, otherwise it returns moveIconFront.
mxGraph.prototype.isMultigraph = function()
Returns multigraph as a boolean.
isMultiTouchEvent: function(evt)
Returns true if the event was generated using a touch device (not a pen or mouse).
isNaN: function(value)
Returns true if the given value is of type number and isNaN returns true.
isNode: function(value,
nodeName,
attributeName,
attributeValue)
Returns true if the given value is an XML node with the node name and if the optional attribute has the specified value.
isNumeric: function(n)
Returns true if the specified value is numeric, that is, if it is not null, not an empty string, not a HEX number and isNaN returns false.
mxObjectCodec.prototype.isNumericAttribute = function(dec,
attr,
obj)
Returns true if the given XML attribute is a numeric value.
mxArrowConnector.prototype.isOpenEnded = function()
Returns whether the ends of the shape are drawn
mxGraph.prototype.isOrthogonal = function(edge)
Returns true if perimeter points should be computed such that the resulting edge has only horizontal or vertical segments.
mxConnectionHandler.prototype.isOutlineConnectEvent = function(me)
Returns true if outlineConnect is true and the source of the event is the outline shape or shift is pressed.
mxEdgeHandler.prototype.isOutlineConnectEvent = function(me)
Returns true if outlineConnect is true and the source of the event is the outline shape or shift is pressed.
mxPolyline.prototype.isPaintBoundsInverted = function()
Returns false.
mxShape.prototype.isPaintBoundsInverted = function()
Returns true if the bounds should be inverted.
mxText.prototype.isPaintBoundsInverted = function()
Inverts the bounds if mxShape.isBoundsInverted returns true or if the horizontal style is false.
mxPanningHandler.prototype.isPanningEnabled = function()
Returns panningEnabled.
mxPanningHandler.prototype.isPanningTrigger = function(me)
Returns true if the given event is a panning trigger for the optional given cell.
mxShape.prototype.isParseVml = function()
Specifies if any VML should be added via insertAdjacentHtml to the DOM.
mxText.prototype.isParseVml = function()
Text shapes do not contain VML markup and do not need to be parsed.
mxPanningHandler.prototype.isPinchEnabled = function()
Returns pinchEnabled.
isPopupTrigger: function(evt)
Returns true if the event is a popup trigger.
mxMouseEvent.prototype.isPopupTrigger = function()
Returns true if the event is a popup trigger.
mxPopupMenu.prototype.isPopupTrigger = function(me)
Returns true if the given event is a popupmenu trigger for the optional given cell.
mxGraph.prototype.isPort = function(cell)
Returns true if the given cell is a “port”, that is, when connecting to it, the cell returned by getTerminalForPort should be used as the terminal and the port should be referenced by the ID in either the mxConstants.STYLE_SOURCE_PORT or the or the mxConstants.STYLE_TARGET_PORT.
mxHierarchicalLayout.prototype.isPort = function(cell)
Returns true if the given cell is a “port”, that is, when connecting to it, its parent is the connecting vertex in terms of graph traversal
mxSwimlaneLayout.prototype.isPort = function(cell)
Returns true if the given cell is a “port”, that is, when connecting to it, its parent is the connecting vertex in terms of graph traversal
mxGraph.prototype.isPortsEnabled = function()
Returns portsEnabled as a boolean.
mxEditor.prototype.isPropertiesVisible = function ()
Returns true if the properties dialog is currently visible.
mxXmlRequest.prototype.isReady = function()
Returns true if the response is ready.
mxGraph.prototype.isRecursiveResize = function(state)
Returns recursiveResize.
codec.isReference = function(obj,
attr,
value,
isWrite)
Returns true for the child attribute if the child cell had a previous parent or if we’re reading the child as an attribute rather than a child node, in which case it’s always a reference.
mxObjectCodec.prototype.isReference = function(obj,
attr,
value,
write)
Returns true if the given fieldname is to be treated as a textual reference (ID).
mxUrlConverter.prototype.isRelativeUrl = function(url)
Returns true if the given URL is relative.
mxGraphHandler.prototype.isRemoveCellsFromParent = function()
Returns removeCellsFromParent.
mxEdgeHandler.prototype.isRemovePointEvent = function(evt)
Returns true if the given event is a trigger to remove a point.
mxGraphView.prototype.isRendering = function()
Returns rendering.
mxWindow.prototype.isResizable = function()
Returns true if the window is resizable.
mxGraph.prototype.isResizeContainer = function()
Returns resizeContainer.
mxSwimlaneManager.prototype.isResizeEnabled = function()
Returns resizeEnabled.
mxGraphHierarchyEdge.prototype.isReversed
Whether or not the direction of this edge has been reversed internally to create a DAG for the hierarchical layout
isRightMouseButton: function(evt)
Returns true if the right mouse button was pressed.
mxGraphModel.prototype.isRoot = function(cell)
Returns true if the given cell is the root of the model and a non-null value.
mxVertexHandler.prototype.isRotationHandleVisible = function()
Returns true if the rotation handle should be showing.
mxAnimation.prototype.isRunning = function()
Returns true if the animation is running.
mxGraphView.prototype.isScrollEvent = function(evt)
Returns true if the event origin is one of the scrollbars of the container in IE.
mxGraphSelectionModel.prototype.isSelected = function(cell)
Returns true if the given mxCell is selected.
mxGraphHandler.prototype.isSelectEnabled = function()
Returns selectEnabled.
mxEdgeHandler.prototype.isSelectionDashed = function()
Returns mxConstants.EDGE_SELECTION_DASHED.
mxVertexHandler.prototype.isSelectionDashed = function()
Returns mxConstants.VERTEX_SELECTION_DASHED.
mxGraph.prototype.isSelectionEmpty = function()
Returns true if the selection is empty.
mxPopupMenuHandler.prototype.isSelectOnPopup = function(me)
Hook for returning if a cell should be selected for a given mxMouseEvent.
mxCellEditor.prototype.isSelectText = function()
Returns selectText.
mxCellRenderer.prototype.isShapeEvent = function(state,
evt)
Returns true if the event is for the shape of the given state.
isShiftDown: function(evt)
Returns true if the shift key is pressed for the given event.
mxUndoableEdit.prototype.isSignificant = function()
Returns significant.
mxGraphSelectionModel.prototype.isSingleSelection = function()
Returns singleSelection as a boolean.
mxVertexHandler.prototype.isSizerVisible = function(index)
Returns true if the sizer for the given index is visible.
mxEdgeHandler.prototype.isSnapToTerminalsEvent = function(me)
Returns true if snapToTerminals is true and if alt is not pressed.
mxMouseEvent.prototype.isSource = function(shape)
Returns true if the given mxShape is the source of evt.
mxGraph.prototype.isSplitEnabled = function()
Returns splitEnabled as a boolean.
mxGraph.prototype.isSplitTarget = function(target,
cells,
evt)
Returns true if the given edge may be splitted into two edges with the given cell as a new terminal between the two.
mxConnectionHandler.prototype.isStartEvent = function(me)
Returns true if the given mouse down event should start this handler.
mxConstraintHandler.prototype.isStateIgnored = function(state,
source)
Returns true if the given state should be ignored.
mxCellEditor.prototype.isStopEditingEvent = function(evt)
Returns true if the given keydown event should stop cell editing.
mxConnectionHandler.prototype.isStopEvent = function(me)
Returns true if the given mouse up event should stop this handler.
mxGraph.prototype.isSwimlane = function (cell)
Returns true if the given cell is a swimlane in the graph.
mxSwimlaneManager.prototype.isSwimlaneIgnored = function(swimlane)
Returns true if the given swimlane should be ignored.
mxGraph.prototype.isSwimlaneNesting = function()
Returns swimlaneNesting as a boolean.
mxGraph.prototype.isSwimlaneSelectionEnabled = function()
Returns swimlaneSelectionEnabled as a boolean.
mxGraph.prototype.isSyntheticEventIgnored = function(evtName,
me,
sender)
Hook for ignoring synthetic mouse events after touchend in Firefox.
mxGraph.prototype.isTerminalPointMovable = function(cell,
source)
Returns true if the given terminal point is movable.
mxGraph.prototype.isToggleEvent = function(evt)
Returns true if the given event is a toggle event.
isTouchEvent: function(evt)
Returns true if the event was generated using a touch device (not a pen or mouse).
mxGraph.prototype.isValidAncestor = function(cell,
parent,
recurse)
Returns whether or not the specified parent is a valid ancestor of the specified cell, either direct or indirectly based on whether ancestor recursion is enabled.
mxGraph.prototype.isValidConnection = function(source,
target)
Returns true if the given target cell is a valid target for source.
mxGraph.prototype.isValidDropTarget = function(cell,
cells,
evt)
Returns true if the given cell is a valid drop target for the specified cells.
mxGraph.prototype.isValidRoot = function(cell)
Returns true if the given cell is a valid root for the cell display hierarchy.
mxConnectionHandler.prototype.isValidSource = function(cell,
me)
Returns mxGraph.isValidSource for the given source terminal.
mxGraph.prototype.isValidSource = function(cell)
Returns true if the given cell is a valid source for new connections.
mxCellMarker.prototype.isValidState = function(state)
Returns true if the given mxCellState is a valid state.
mxConnectionHandler.prototype.isValidTarget = function(cell)
Returns true.
mxGraph.prototype.isValidTarget = function(cell)
Returns isValidSource for the given cell.
mxCell.prototype.isVertex = function()
Returns true if the cell is a vertex.
mxGraphAbstractHierarchyCell.prototype.isVertex = function()
Returns whether or not this cell is a node
mxGraphHierarchyNode.prototype.isVertex = function()
Returns true.
mxGraphModel.prototype.isVertex = function(cell)
Returns true if the given cell is a vertex.
mxCompactTreeLayout.prototype.isVertexIgnored = function(vertex)
Returns a boolean indicating if the given mxCell should be ignored as a vertex.
mxFastOrganicLayout.prototype.isVertexIgnored = function(vertex)
Returns a boolean indicating if the given mxCell should be ignored as a vertex.
mxGraphLayout.prototype.isVertexIgnored = function(vertex)
Returns a boolean indicating if the given mxCell should be ignored by the algorithm.
mxRadialTreeLayout.prototype.isVertexIgnored = function(vertex)
Returns a boolean indicating if the given mxCell should be ignored as a vertex.
mxGraph.prototype.isVertexLabelsMovable = function()
Returns vertexLabelsMovable.
mxGraphLayout.prototype.isVertexMovable = function(cell)
Returns a boolean indicating if the given mxCell is movable or bendable by the algorithm.
mxEdgeHandler.prototype.isVirtualBendsEnabled = function(evt)
Returns true if virtual bends should be added.
mxCell.prototype.isVisible = function()
Returns true if the cell is visibile.
mxGraphModel.prototype.isVisible = function(cell)
Returns true if the given mxCell is visible.
isVisible: function()
Returns true if the console is visible.
mxWindow.prototype.isVisible = function()
Returns true if the window is visible.
isVml: function(node)
Returns true if the given node is in the VML namespace.
mxGraph.prototype.isWrapping = function(cell)
This enables wrapping for HTML labels.
mxPopupMenu.prototype.itemCount
Contains the number of times addItem has been called for a new menu.
mxFastOrganicLayout.prototype.iteration
Current iteration count.
mxMedianHybridCrossingReduction.prototype.iterationsWithoutImprovement
The total number of crossings found in the best configuration so far
+
mxCell.prototype.id
Holds the Id.
mxGraphHierarchyNode.prototype.id
The object identity of the wrapped cell
mxObjectCodec.prototype.idrefs
Array containing the variable names that should be turned into or converted from references.
mxGraphHierarchyEdge.prototype.ids
The object identities of the wrapped cells
mxPanningHandler.prototype.ignoreCell
Specifies if panning should be active even if there is a cell under the mousepointer.
mxText.prototype.ignoreClippedStringSize
Specifies if the string size should be measured in updateBoundingBox if the label is clipped and the label position is center and middle.
mxAutoSaveManager.prototype.ignoredChanges
Counter for ignored changes in autosave.
mxConnectionHandler.prototype.ignoreMouseDown
Specifies if the connection handler should ignore the state of the mouse button when highlighting the source.
mxGraph.prototype.ignoreScrollbars
Specifies if the graph should automatically scroll regardless of the scrollbars.
mxText.prototype.ignoreStringSize
Specifies if the actual string size should be measured.
mxTooltipHandler.prototype.ignoreTouchEvents
Specifies if touch and pen events should be ignored.
mxCellOverlay.prototype.image
Holds the mxImage to be used as the icon.
mxHandle.prototype.image
Specifies the mxImage to be used to render the handle.
mxSvgCanvas2D.prototype.image = function(x,
y,
w,
h,
src,
aspect,
flipH,
flipV)
Private helper function to create SVG elements
mxVmlCanvas2D.prototype.image = function(x,
y,
w,
h,
src,
aspect,
flipH,
flipV)
Paints an image.
mxXmlCanvas2D.prototype.image = function(x,
y,
w,
h,
src,
aspect,
flipH,
flipV)
Paints an image.
Basepath for all images URLs in the core without trailing slash.
mxDefaultPopupMenu.prototype.imageBasePath
Base path for all icon attributes in the config.
mxGraph.prototype.imageBundles
Holds the list of image bundles.
mxImageBundle.prototype.images
Maps from keys to images.
mxLabel.prototype.imageSize
Default width and height for the image.
mxSwimlane.prototype.imageSize
Default imagewidth and imageheight if an image but no imagewidth and imageheight are defined in the style.
mxGraph.prototype.importCells = function(cells,
dx,
dy,
target,
evt,
mapping)
Clones and inserts the given cells into the graph using the move method and returns the inserted cells.
mxGraph.prototype.importEnabled
Specifies the return value for canImportCell.
importNode: function(doc,
node,
allChildren)
Cross browser implementation for document.importNode.
include: function(src)
Dynamically adds a script node to the document header.
mxImageExport.prototype.includeOverlays
Specifies if overlays should be included in the export.
mxVertexHandler.prototype.index
Holds the index of the current handle.
indexOf: function(array,
obj)
Returns the index of obj in array or -1 if the array does not contain the given object.
mxUndoManager.prototype.indexOfNextAdd
Index of the element to be added next.
indexOfStylename: function(style,
stylename)
Returns the index of the given stylename in the given style.
mxLabel.prototype.indicatorSize
Default width and height for the indicicator.
mxLabel.prototype.indicatorSpacing
Default spacing between image and indicator.
mxFastOrganicLayout.prototype.indices
Hashtable from cells to local indices.
info: function()
Writes the current navigator information to the console.
mxCellEditor.prototype.init = function ()
Creates the textarea and installs the event listeners.
mxConnectionHandler.prototype.init = function()
Initializes the shapes required for this connection handler.
mxDefaultToolbar.prototype.init
Constructs the toolbar for the given container and installs a listener that updates the mxEditor.insertFunction on editor if an item is selected in the toolbar.
mxEdgeHandler.prototype.init = function()
Initializes the shapes required for this edge handler.
mxGraph.prototype.init = function(container)
Initializes the container and creates the respective datastructures.
mxGraphView.prototype.init = function()
Initializes the graph event dispatch loop for the specified container and invokes create to create the required DOM nodes for the display.
mxHandle.prototype.init = function()
Creates and initializes the shapes required for this handle.
mxLabel.prototype.init = function(container)
Initializes the shape and the indicator.
init: function()
Initializes the DOM node for the console.
mxOutline.prototype.init = function(container)
Initializes the outline inside the given container.
mxPopupMenu.prototype.init = function()
Initializes the shapes required for this vertex handler.
mxPopupMenuHandler.prototype.init = function()
Initializes the shapes required for this vertex handler.
mxShape.prototype.init = function(container)
Initializes the shape by creaing the DOM node using create and adding it into the given container.
mxTooltipHandler.prototype.init = function()
Initializes the DOM nodes required for this tooltip handler.
mxVertexHandler.prototype.init = function()
Initializes the shapes required for this vertex handler.
mxWindow.prototype.init = function(x,
y,
width,
height,
style)
Initializes the DOM tree that represents the window.
mxEdgeHandler.prototype.initBend = function(bend,
dblClick)
Helper method to initialize the given bend.
mxCellRenderer.prototype.initControl = function(state,
control,
handleEvents,
clickHandler)
Initializes the given control and returns the corresponding DOM node.
mxCoordinateAssignment.prototype.initialCoords = function(facade,
model)
Sets up the layout in an initial positioning.
mxCellRenderer.prototype.initializeLabel = function(state,
shape)
Initiailzes the label with a suitable container.
mxCellRenderer.prototype.initializeOverlay = function(state,
overlay)
Initializes the given overlay.
mxCellRenderer.prototype.initializeShape = function(state)
Initializes the shape in the given state by calling its init method with the correct container after configuring it using configureShape.
mxGraphHierarchyModel.prototype.initialRank = function()
Basic determination of minimum layer ranking by working from from sources or sinks and working through each node in the relevant edge direction.
mxSwimlaneModel.prototype.initialRank = function()
Basic determination of minimum layer ranking by working from from sources or sinks and working through each node in the relevant edge direction.
mxFastOrganicLayout.prototype.initialTemp
Start value of temperature.
mxGraph.prototype.initialTouchX
Holds the x-coordinate of the intial touch event for tap and hold.
mxGraph.prototype.initialTouchY
Holds the y-coordinate of the intial touch event for tap and hold.
mxCellEditor.prototype.initialValue
Holds the initial editing value to check if the current value was modified.
mxCoordinateAssignment.prototype.initialX
The minimum x position node placement starts at
mxHandle.prototype.initShape = function(html)
Initializes shape and sets its cursor.
mxShape.prototype.initStyles = function(container)
Sets the styles to their default values.
mxCell.prototype.insert = function(child,
index)
Inserts the specified child into the child array at the specified index and updates the parent reference of the child.
mxDefaultToolbar.prototype.insert = function(vertex,
evt,
target)
Handles a drop by inserting the given vertex into the given parent cell or the default parent if no parent is specified.
mxPrintPreview.prototype.insertBackgroundImage = function(div,
dx,
dy)
Inserts the background image into the given div.
mxConnectionHandler.prototype.insertBeforeSource
Specifies if new edges should be inserted before the source vertex in the cell hierarchy.
Counts the number of times the clipboard data has been inserted.
mxCell.prototype.insertEdge = function(edge,
isOutgoing)
Inserts the specified edge into the edge array and returns the edge.
mxConnectionHandler.prototype.insertEdge = function(parent,
id,
value,
source,
target,
style)
Creates, inserts and returns the new edge for the given parameters.
mxGraph.prototype.insertEdge = function(parent,
id,
value,
source,
target,
style)
Adds a new edge into the given parent mxCell using value as the user object and the given source and target as the terminals of the new edge.
mxEditor.prototype.insertFunction
Specifies the function to be used for inserting new cells into the graph.
mxCodec.prototype.insertIntoGraph = function(cell)
Inserts the given cell into its parent and terminal cells.
mxCellRenderer.prototype.insertStateAfter = function(state,
node,
htmlNode)
Inserts the given array of mxShapes after the given nodes in the DOM.
mxGraph.prototype.insertVertex = function(parent,
id,
value,
x,
y,
width,
height,
style,
relative)
Adds a new vertex into the given parent mxCell using value as the user object and the given coordinates as the mxGeometry of the new vertex.
mxEditor.prototype.installChangeHandler = function (graph)
Installs the listeners required to automatically validate the graph.
mxWindow.prototype.installCloseHandler = function()
Adds the closeImage as a new image node in closeImg and installs the close event.
mxEditor.prototype.installDblClickHandler = function (graph)
Overrides mxGraph.dblClick to invoke dblClickAction on a cell and reset the selection tool in the toolbar.
mxEditor.prototype.installDrillHandler = function (graph)
Installs listeners for dispatching the root event.
mxDefaultToolbar.prototype.installDropHandler = function (img,
dropHandler)
Makes the given img draggable using the given function for handling a drop event.
mxEditor.prototype.installInsertHandler = function (graph)
Installs the handler for invoking insertFunction if one is defined.
mxCellEditor.prototype.installListeners = function(elt)
Installs listeners for focus, change and standard key event handling.
mxCellRenderer.prototype.installListeners = function(state)
Installs the event listeners for the given cell state.
mxGraphView.prototype.installListeners = function()
Installs the required listeners in the container.
mxWindow.prototype.installMaximizeHandler = function()
Installs the event listeners required for maximizing the window.
mxWindow.prototype.installMinimizeHandler = function()
Installs the event listeners required for minimizing the window.
mxWindow.prototype.installMoveHandler = function()
Installs the event listeners required for moving the window.
Installs the listeners for the given mxCellState, mxCellOverlay and mxShape that represents the overlay.
mxEditor.prototype.installUndoHandler = function (graph)
Adds the undoManager to the graph model and the view.
mxHierarchicalLayout.prototype.interHierarchySpacing
The spacing buffer between unconnected hierarchies.
mxSwimlaneLayout.prototype.interHierarchySpacing
The spacing buffer between unconnected hierarchies.
mxCoordinateAssignment.prototype.interRankCellSpacing
The minimum distance between cells on adjacent ranks.
mxHierarchicalLayout.prototype.interRankCellSpacing
The spacing buffer added between cell on adjacent layers.
mxSwimlaneLayout.prototype.interRankCellSpacing
The spacing buffer added between cell on adjacent layers.
intersection: function (x0,
y0,
x1,
y1,
x2,
y2,
x3,
y3)
Returns the intersection of two lines as an mxPoint.
mxCellMarker.prototype.intersects = function(state,
me)
Returns true if the given coordinate pair intersects the given state.
mxConstraintHandler.prototype.intersects = function(icon,
mouse,
source,
existingEdge)
Returns true if the given icon intersects the given rectangle.
mxGraph.prototype.intersects = function(state,
x,
y)
Returns the bottom-most cell that intersects the given point (x, y) in the cell hierarchy that starts at the given parent.
intersects: function(a,
b)
Returns true if the two rectangles intersect.
mxCoordinateAssignment.prototype.intraCellSpacing
The minimum buffer between cells on the same rank.
mxHierarchicalLayout.prototype.intraCellSpacing
The spacing buffer added between cells on the same layer.
mxSwimlaneLayout.prototype.intraCellSpacing
The spacing buffer added between cells on the same layer.
mxCellState.prototype.invalid
Specifies if the state is invalid.
Defines the color to be used for the coloring invalid connection previews.
Defines the color to be used for highlighting a invalid target cells for a new or changed connections.
mxGraphView.prototype.invalidate = function(cell,
recurse,
includeEdges)
Invalidates the state of the given cell, all its descendants and connected edges.
mxCellMarker.prototype.invalidColor
Holds the invalid marker color.
mxCompactTreeLayout.prototype.invert
Specifies if edge directions should be inverted.
mxGraphHierarchyEdge.prototype.invert = function(layer)
Inverts the direction of this internal edge(s)
mxGraph.prototype.invokesStopCellEditing
If true, when editing is to be stopped by way of selection changing, data in diagram changing or other means stopCellEditing is invoked, and changes are saved.
IS_CHROMEAPP: window.chrome !
True if the this is running inside a Chrome App.
True if the current browser is Microsoft Edge.
IS_EM: 'spellcheck' in document.createElement(
   'textarea'
) && document.documentMode
True if the browser is IE11 in enterprise mode (IE8 standards mode).
IS_FF: navigator.userAgent.indexOf('Firefox/') >
True if the current browser is Firefox.
IS_GC: navigator.userAgent.indexOf('Chrome/') >
True if the current browser is Google Chrome.
IS_IE: navigator.userAgent.indexOf('MSIE') >
True if the current browser is Internet Explorer 10 or below.
True if the current browser is Internet Explorer 11.x.
IS_IE6: navigator.userAgent.indexOf('MSIE 6') >
True if the current browser is Internet Explorer 6.x.
Returns true if the user agent is an iPad, iPhone or iPod.
True if the documents location does not start with http:// or https://.
True if the client is a Mac.
True if -moz-transform is available as a CSS style.
IS_NS: navigator.userAgent.indexOf('Mozilla/') >
True if the current browser is Netscape (including Firefox).
IS_OP: navigator.userAgent.indexOf('Opera/') >
True if the current browser is Opera.
IS_OT: navigator.userAgent.indexOf('Presto/') >
True if -o-transform is available as a CSS style, ie for Opera browsers based on a Presto engine with version 2.5 or later.
True if this device supports Microsoft pointer events.
IS_QUIRKS: navigator.userAgent.indexOf('MSIE') >
True if the current browser is Internet Explorer and it is in quirks mode.
IS_SF: navigator.userAgent.indexOf('AppleWebKit/') >
True if the current browser is Safari.
IS_SVG: navigator.userAgent.indexOf('Firefox/') >
True if the browser supports SVG.
True if this device supports touchstart/-move/-end events (Apple iOS, Android, Chromebook and Chrome Browser on touch-enabled devices).
IS_VML: navigator.appName.toUpperCase()
True if the browser supports VML.
True if the client is a Windows.
mxDragSource.prototype.isActive = function()
Returns true if this drag source is active.
mxPanningHandler.prototype.isActive = function()
Returns true if the handler is currently active.
mxSwimlaneManager.prototype.isAddEnabled = function()
Returns addEnabled.
mxEdgeHandler.prototype.isAddPointEvent = function(evt)
Returns true if the given event is a trigger to add a new point.
mxEdgeHandler.prototype.isAddVirtualBendEvent = function(me)
Returns true if the given event allows virtual bends to be added.
mxGraph.prototype.isAllowDanglingEdges = function()
Returns allowDanglingEdges as a boolean.
mxGraphView.prototype.isAllowEval = function()
Returns allowEval.
mxGraph.prototype.isAllowLoops = function()
Returns allowLoops as a boolean.
mxGraph.prototype.isAllowOverlapParent = function(cell)
Returns true if the given cell is allowed to be placed outside of the parents area.
isAltDown: function(evt)
Returns true if the alt key is pressed for the given event.
mxGraphHierarchyNode.prototype.isAncestor = function(otherNode)
mxGraphModel.prototype.isAncestor = function(parent,
child)
Returns true if the given parent is an ancestor of the given child.
isAncestorNode: function(ancestor,
child)
Returns true if the given ancestor is an ancestor of the given DOM node in the DOM.
mxArrowConnector.prototype.isArrowRounded = function()
Returns wether the arrow is rounded
mxGraph.prototype.isAutoSizeCell = function(cell)
Returns true if the size of the given cell should automatically be updated after a change of the label.
mxGraph.prototype.isAutoSizeCells = function()
Returns autoSizeCells.
mxXmlRequest.prototype.isBinary = function()
Returns binary.
mxObjectCodec.prototype.isBooleanAttribute = function(enc,
obj,
name,
value)
Returns true if the given object attribute is a boolean value.
isBrowserSupported: function()
Returns true if the current browser is supported, that is, if mxClient.IS_VML or mxClient.IS_SVG is true.
mxLayoutManager.prototype.isBubbling = function()
Returns true if a layout should bubble, that is, if the parent layout should be executed whenever a cell layout (layout of the children of a cell) has been executed.
mxGraph.prototype.isCellBendable = function(cell)
Returns true if the given cell is bendable.
mxGraph.prototype.isCellCloneable = function(cell)
Returns true if the given cell is cloneable.
codec.isCellCodec = function()
Returns true since this is a cell codec.
mxCodec.prototype.isCellCodec = function(codec)
Returns true if the given codec is a cell codec.
mxGraph.prototype.isCellCollapsed = function(cell)
Returns true if the given cell is collapsed in this graph.
mxGraphView.prototype.isCellCollapsed = function(cell)
Returns true if the children of the given cell should not be visible in the view.
mxGraph.prototype.isCellConnectable = function(cell)
Returns true if the given cell is connectable in this graph.
mxGraph.prototype.isCellDeletable = function(cell)
Returns true if the given cell is moveable.
mxGraph.prototype.isCellDisconnectable = function(cell,
terminal,
source)
Returns true if the given cell is disconnectable from the source or target terminal.
mxGraph.prototype.isCellEditable = function(cell)
Returns true if the given cell is editable.
mxGraph.prototype.isCellFoldable = function(cell,
collapse)
Returns true if the given cell is foldable.
mxSwimlaneManager.prototype.isCellHorizontal = function(cell)
Returns true if the given cell is horizontal.
mxGraph.prototype.isCellLocked = function(cell)
Returns true if the given cell may not be moved, sized, bended, disconnected, edited or selected.
mxGraph.prototype.isCellMovable = function(cell)
Returns true if the given cell is moveable.
mxGraph.prototype.isCellResizable = function(cell)
Returns true if the given cell is resizable.
mxGraph.prototype.isCellRotatable = function(cell)
Returns true if the given cell is rotatable.
mxGraph.prototype.isCellsBendable = function()
Returns cellsBenadable.
mxGraph.prototype.isCellsCloneable = function()
Returns cellsCloneable, that is, if the graph allows cloning of cells by using control-drag.
mxGraph.prototype.isCellsDeletable = function()
Returns cellsDeletable.
mxGraph.prototype.isCellsDisconnectable = function()
Returns cellsDisconnectable.
mxGraph.prototype.isCellsEditable = function()
Returns cellsEditable.
mxGraph.prototype.isCellSelectable = function(cell)
Returns true if the given cell is selectable.
mxGraph.prototype.isCellSelected = function(cell)
Returns true if the given cell is selected.
mxGraph.prototype.isCellsLocked = function()
Returns true if the given cell may not be moved, sized, bended, disconnected, edited or selected.
mxGraph.prototype.isCellsMovable = function()
Returns cellsMovable.
mxGraph.prototype.isCellsResizable = function()
Returns cellsResizable.
mxGraph.prototype.isCellsSelectable = function()
Returns cellsSelectable.
mxGraph.prototype.isCellVisible = function(cell)
Returns true if the given cell is visible in this graph.
mxVertexHandler.prototype.isCenteredEvent = function(state,
me)
Returns true if the aspect ratio if the cell should be maintained.
mxGraphHandler.prototype.isCloneEnabled = function()
Returns cloneEnabled.
mxGraph.prototype.isCloneEvent = function(evt)
Returns true if the given event is a clone event.
mxGraph.prototype.isCloneInvalidEdges = function()
Returns cloneInvalidEdges as a boolean.
mxCell.prototype.isCollapsed = function()
Returns true if the cell is collapsed.
mxGraphModel.prototype.isCollapsed = function(cell)
Returns true if the given mxCell is collapsed.
mxCell.prototype.isConnectable = function()
Returns true if the cell is connectable.
mxGraph.prototype.isConnectable = function(connectable)
Returns true if the connectionHandler is enabled.
mxGraphModel.prototype.isConnectable = function(cell)
Returns true if the given mxCell is connectable.
mxConnectionHandler.prototype.isConnectableCell = function(cell)
Returns true if the given cell is connectable.
mxEdgeHandler.prototype.isConnectableCell = function(cell)
Returns true if the given cell is connectable.
mxGraph.prototype.isConnectableEdges = function()
Returns connectableEdges as a boolean.
mxConnectionHandler.prototype.isConnecting = function()
Returns true if the source terminal has been clicked and a new connection is currently being previewed.
mxGraph.prototype.isConstrainChild = function(cell)
Returns true if the given cell should be kept inside the bounds of its parent according to the rules defined by getOverlap and isAllowOverlapParent.
mxGraph.prototype.isConstrainChildren = function()
Returns constrainChildren.
mxGraph.prototype.isConstrainChildrenOnResize = function()
Returns constrainChildrenOnResize.
mxGraph.prototype.isConstrainedEvent = function(evt)
Returns true if the given mouse event should be aligned to the grid.
mxVertexHandler.prototype.isConstrainedEvent = function(me)
Returns true if the aspect ratio if the cell should be maintained.
isConsumed: function(evt)
Returns true if the event has been consumed using consume.
mxEventObject.prototype.isConsumed = function()
Returns true if the event has been consumed.
mxMouseEvent.prototype.isConsumed = function()
Returns consumed.
mxGraphView.prototype.isContainerEvent = function(evt)
Returns true if the event origin is one of the drawing panes or containers of the view.
isControlDown: function(evt)
Returns true if the control key is pressed for the given event.
mxKeyHandler.prototype.isControlDown = function(evt)
Returns true if the control key is pressed.
mxGraphModel.prototype.isCreateIds = function()
Returns createIds.
mxConnectionHandler.prototype.isCreateTarget = function(evt)
Returns createTarget.
mxEdgeHandler.prototype.isCustomHandleEvent = function(me)
Returns true if the given event allows custom handles to be changed.
mxVertexHandler.prototype.isCustomHandleEvent = function(me)
Returns true if the given event allows custom handles to be changed.
mxGraphHandler.prototype.isDelayedSelection = function(cell,
me)
Hook to return true for delayed selections.
mxGraph.prototype.isDisconnectOnMove = function()
Returns disconnectOnMove as a boolean.
mxGraph.prototype.isDropEnabled = function()
Returns dropEnabled as a boolean.
mxCell.prototype.isEdge = function()
Returns true if the cell is an edge.
mxGraphAbstractHierarchyCell.prototype.isEdge = function()
Returns whether or not this cell is an edge
mxGraphHierarchyEdge.prototype.isEdge = function()
Returns true.
mxGraphModel.prototype.isEdge = function(cell)
Returns true if the given cell is an edge.
mxGraphLayout.prototype.isEdgeIgnored = function(edge)
Returns a boolean indicating if the given mxCell should be ignored by the algorithm.
mxGraph.prototype.isEdgeLabelsMovable = function()
Returns edgeLabelsMovable.
mxGraph.prototype.isEdgeValid = function(edge,
source,
target)
Checks if the return value of getEdgeValidationError for the given arguments is null.
mxGraph.prototype.isEditing = function(cell)
Returns true if the given cell is currently being edited.
mxCellStatePreview.prototype.isEmpty = function()
Returns true if this contains no entries.
isEmpty: function()
Returns true if the clipboard currently has not data stored.
mxGraphSelectionModel.prototype.isEmpty = function()
Returns true if no cells are currently selected.
mxUndoableEdit.prototype.isEmpty = function()
Returns true if the this edit contains no changes.
mxUndoManager.prototype.isEmpty = function()
Returns true if the history is empty.
mxAutoSaveManager.prototype.isEnabled = function()
Returns true if events are handled.
mxCellMarker.prototype.isEnabled = function()
Returns true if events are handled.
mxConnectionHandler.prototype.isEnabled = function()
Returns true if events are handled.
mxConstraintHandler.prototype.isEnabled = function()
Returns true if events are handled.
mxDragSource.prototype.isEnabled = function()
Returns enabled.
mxGraph.prototype.isEnabled = function()
Returns true if the graph is enabled.
mxGraphHandler.prototype.isEnabled = function()
Returns enabled.
mxKeyHandler.prototype.isEnabled = function()
Returns true if events are handled.
mxLayoutManager.prototype.isEnabled = function()
Returns true if events are handled.
mxOutline.prototype.isEnabled = function()
Returns true if events are handled.
mxPopupMenu.prototype.isEnabled = function()
Returns true if events are handled.
mxRubberband.prototype.isEnabled = function()
Returns true if events are handled.
mxSelectionCellsHandler.prototype.isEnabled = function()
Returns enabled.
mxSwimlaneManager.prototype.isEnabled = function()
Returns true if events are handled.
mxTooltipHandler.prototype.isEnabled = function()
Returns true if events are handled.
mxUrlConverter.prototype.isEnabled = function()
Returns enabled.
mxGuide.prototype.isEnabledForEvent = function(evt)
Returns true if the guide should be enabled for the given native event.
mxKeyHandler.prototype.isEnabledForEvent = function(evt)
Returns true if the given event should be handled.
mxGraph.prototype.isEnterStopsCellEditing = function()
Returns enterStopsCellEditing.
mxGraph.prototype.isEscapeEnabled = function()
Returns escapeEnabled.
mxConstraintHandler.prototype.isEventIgnored = function(me,
source)
Returns true if the given mxMouseEvent should be ignored in update.
mxGraph.prototype.isEventIgnored = function(evtName,
me,
sender)
Returns true if the event should be ignored in fireMouseEvent.
mxKeyHandler.prototype.isEventIgnored = function(evt)
Returns true if the given keystroke should be ignored.
mxEventSource.prototype.isEventsEnabled = function()
Returns eventsEnabled.
mxCellEditor.prototype.isEventSource = function(evt)
Returns true if this editor is the source for the given native event.
mxGraph.prototype.isEventSourceIgnored = function(evtName,
me)
Returns true if the event should be ignored in fireMouseEvent.
codec.isExcluded = function(obj,
attr,
value,
isWrite)
Excludes user objects that are XML nodes.
mxObjectCodec.prototype.isExcluded = function(obj,
attr,
value,
write)
Returns true if the given attribute is to be ignored by the codec.
mxGraph.prototype.isExtendParent = function(cell)
Returns true if the parent of the given cell should be extended if the child has been resized so that it overlaps the parent.
mxGraph.prototype.isExtendParents = function()
Returns extendParents.
mxGraph.prototype.isExtendParentsOnAdd = function(cell)
Returns extendParentsOnAdd.
mxGraph.prototype.isExtendParentsOnMove = function()
Returns extendParentsOnAdd.
mxPanningHandler.prototype.isForcePanningEvent = function(me)
Returns true if the given mxMouseEvent should start panning.
mxRubberband.prototype.isForceRubberbandEvent = function(me)
Returns true if the given mxMouseEvent should start rubberband selection.
mxKeyHandler.prototype.isGraphEvent = function(evt)
Returns true if the event should be processed by this handler, that is, if the event source is either the target, one of its direct children, a descendant of the mxGraph.container, or the mxGraph.cellEditor of the graph.
mxDragSource.prototype.isGridEnabled = function()
Returns gridEnabled.
mxGraph.prototype.isGridEnabled = function()
Returns gridEnabled as a boolean.
mxGraph.prototype.isGridEnabledEvent = function(evt)
Returns true if the given mouse event should be aligned to the grid.
mxDragSource.prototype.isGuidesEnabled = function()
Returns guidesEnabled.
mxEdgeHandler.prototype.isHandleEnabled = function(index)
Creates the shape used to display the given bend.
mxEdgeHandler.prototype.isHandleVisible = function(index)
Returns true if the handle at the given index is visible.
mxCellEditor.prototype.isHideLabel = function(state)
Returns true if the label should be hidden while the cell is being edited.
mxTooltipHandler.prototype.isHideOnHover = function()
Returns hideOnHover.
mxCellHighlight.prototype.isHighlightAt = function(x,
y)
Returns true if this highlight is at the given position.
mxCompactTreeLayout.prototype.isHorizontal = function()
Returns horizontal.
mxPartitionLayout.prototype.isHorizontal = function()
Returns horizontal.
mxStackLayout.prototype.isHorizontal = function()
Returns horizontal.
mxSwimlaneManager.prototype.isHorizontal = function()
Returns horizontal.
mxCellMarker.prototype.isHotspotEnabled = function()
Returns true if hotspot is used in intersects.
mxImageShape.prototype.isHtmlAllowed = function()
Returns true if HTML is allowed for this shape.
mxLabel.prototype.isHtmlAllowed = function()
Returns true for non-rounded, non-rotated shapes with no glass gradient and no indicator shape.
mxRectangleShape.prototype.isHtmlAllowed = function()
Returns true for non-rounded, non-rotated shapes with no glass gradient.
mxShape.prototype.isHtmlAllowed = function()
Returns true if HTML is allowed for this shape.
mxText.prototype.isHtmlAllowed = function()
Returns true if HTML is allowed for this shape.
mxGraph.prototype.isHtmlLabel = function(cell)
Returns true if the label must be rendered as HTML markup.
mxGraph.prototype.isHtmlLabels = function()
Returns htmlLabels.
mxHandle.prototype.isHtmlRequired = function()
Returns true if this handle should be rendered in HTML.
mxObjectCodec.prototype.isIgnoredAttribute = function(dec,
attr,
obj)
Returns true if the given attribute should be ignored.
mxConnectionHandler.prototype.isImmediateConnectSource = function(state)
Returns true if a tap on the given source state should immediately start connecting.
mxConnectionHandler.prototype.isInsertBefore = function(edge,
source,
target,
evt,
dropTarget)
Returns insertBeforeSource for non-loops and false for loops.
isInteger: function(n)
Returns true if the given value is an valid integer number.
mxGraph.prototype.isInvokesStopCellEditing = function()
Returns invokesStopCellEditing.
mxConstraintHandler.prototype.isKeepFocusEvent = function(me)
Returns true if the current focused state should not be changed for the given event.
mxGraph.prototype.isLabelClipped = function(cell)
Returns true if the overflow portion of labels should be hidden.
mxCellRenderer.prototype.isLabelEvent = function(state,
evt)
Returns true if the event is for the label of the given state.
mxGraph.prototype.isLabelMovable = function(cell)
Returns true if the given edges’s label is moveable.
isLanguageSupported: function(lan)
Hook for subclassers to disable support for a given language.
mxGraphModel.prototype.isLayer = function(cell)
Returns true if isRoot returns true for the parent of the given cell.
isLeftMouseButton: function(evt)
Returns true if the left mouse button is pressed for the given event.
mxVertexHandler.prototype.isLivePreviewBorder = function()
Called if livePreview is enabled to check if a border should be painted.
mxGraph.prototype.isLoop = function(state)
Returns true if the given cell state is a loop.
mxGraphView.prototype.isLoopStyleEnabled = function(edge,
points,
source,
target)
Returns true if the given edge should be routed with mxGraph.defaultLoopStyle or the mxConstants.STYLE_LOOP defined for the given edge.
mxArrowConnector.prototype.isMarkerEnd = function()
Returns whether the end marker is drawn
mxArrowConnector.prototype.isMarkerStart = function()
Returns whether the start marker is drawn
mxPopupMenu.prototype.isMenuShowing = function()
Returns true if the menu is showing.
isMetaDown: function(evt)
Returns true if the meta key is pressed for the given event.
isMiddleMouseButton: function(evt)
Returns true if the middle mouse button is pressed for the given event.
mxEditor.prototype.isModified = function ()
Returns modified.
mxGraph.prototype.isMouseDown
Holds the state of the mouse button.
isMouseEvent: function(evt)
Returns true if the event was generated using a mouse (not a pen or touch device).
mxFastOrganicLayout.prototype.isMoveable
Array of booleans representing the movable states of the vertices.
mxGraphHandler.prototype.isMoveEnabled = function()
Returns moveEnabled.
mxConnectionHandler.prototype.isMoveIconToFrontForState = function(state)
Returns true if the state has a HTML label in the graph’s container, otherwise it returns moveIconFront.
mxGraph.prototype.isMultigraph = function()
Returns multigraph as a boolean.
isMultiTouchEvent: function(evt)
Returns true if the event was generated using a touch device (not a pen or mouse).
isNaN: function(value)
Returns true if the given value is of type number and isNaN returns true.
isNode: function(value,
nodeName,
attributeName,
attributeValue)
Returns true if the given value is an XML node with the node name and if the optional attribute has the specified value.
isNumeric: function(n)
Returns true if the specified value is numeric, that is, if it is not null, not an empty string, not a HEX number and isNaN returns false.
mxObjectCodec.prototype.isNumericAttribute = function(dec,
attr,
obj)
Returns true if the given XML attribute is a numeric value.
mxArrowConnector.prototype.isOpenEnded = function()
Returns whether the ends of the shape are drawn
mxGraph.prototype.isOrthogonal = function(edge)
Returns true if perimeter points should be computed such that the resulting edge has only horizontal or vertical segments.
mxConnectionHandler.prototype.isOutlineConnectEvent = function(me)
Returns true if outlineConnect is true and the source of the event is the outline shape or shift is pressed.
mxEdgeHandler.prototype.isOutlineConnectEvent = function(me)
Returns true if outlineConnect is true and the source of the event is the outline shape or shift is pressed.
mxPolyline.prototype.isPaintBoundsInverted = function()
Returns false.
mxShape.prototype.isPaintBoundsInverted = function()
Returns true if the bounds should be inverted.
mxText.prototype.isPaintBoundsInverted = function()
Inverts the bounds if mxShape.isBoundsInverted returns true or if the horizontal style is false.
mxPanningHandler.prototype.isPanningEnabled = function()
Returns panningEnabled.
mxPanningHandler.prototype.isPanningTrigger = function(me)
Returns true if the given event is a panning trigger for the optional given cell.
mxShape.prototype.isParseVml = function()
Specifies if any VML should be added via insertAdjacentHtml to the DOM.
mxText.prototype.isParseVml = function()
Text shapes do not contain VML markup and do not need to be parsed.
mxPanningHandler.prototype.isPinchEnabled = function()
Returns pinchEnabled.
isPopupTrigger: function(evt)
Returns true if the event is a popup trigger.
mxMouseEvent.prototype.isPopupTrigger = function()
Returns true if the event is a popup trigger.
mxPopupMenu.prototype.isPopupTrigger = function(me)
Returns true if the given event is a popupmenu trigger for the optional given cell.
mxGraph.prototype.isPort = function(cell)
Returns true if the given cell is a “port”, that is, when connecting to it, the cell returned by getTerminalForPort should be used as the terminal and the port should be referenced by the ID in either the mxConstants.STYLE_SOURCE_PORT or the or the mxConstants.STYLE_TARGET_PORT.
mxHierarchicalLayout.prototype.isPort = function(cell)
Returns true if the given cell is a “port”, that is, when connecting to it, its parent is the connecting vertex in terms of graph traversal
mxSwimlaneLayout.prototype.isPort = function(cell)
Returns true if the given cell is a “port”, that is, when connecting to it, its parent is the connecting vertex in terms of graph traversal
mxGraph.prototype.isPortsEnabled = function()
Returns portsEnabled as a boolean.
mxEditor.prototype.isPropertiesVisible = function ()
Returns true if the properties dialog is currently visible.
mxXmlRequest.prototype.isReady = function()
Returns true if the response is ready.
mxGraph.prototype.isRecursiveResize = function(state)
Returns recursiveResize.
codec.isReference = function(obj,
attr,
value,
isWrite)
Returns true for the child attribute if the child cell had a previous parent or if we’re reading the child as an attribute rather than a child node, in which case it’s always a reference.
mxObjectCodec.prototype.isReference = function(obj,
attr,
value,
write)
Returns true if the given fieldname is to be treated as a textual reference (ID).
mxUrlConverter.prototype.isRelativeUrl = function(url)
Returns true if the given URL is relative.
mxGraphHandler.prototype.isRemoveCellsFromParent = function()
Returns removeCellsFromParent.
mxEdgeHandler.prototype.isRemovePointEvent = function(evt)
Returns true if the given event is a trigger to remove a point.
mxGraphView.prototype.isRendering = function()
Returns rendering.
mxWindow.prototype.isResizable = function()
Returns true if the window is resizable.
mxGraph.prototype.isResizeContainer = function()
Returns resizeContainer.
mxSwimlaneManager.prototype.isResizeEnabled = function()
Returns resizeEnabled.
mxGraphHierarchyEdge.prototype.isReversed
Whether or not the direction of this edge has been reversed internally to create a DAG for the hierarchical layout
isRightMouseButton: function(evt)
Returns true if the right mouse button was pressed.
mxGraphModel.prototype.isRoot = function(cell)
Returns true if the given cell is the root of the model and a non-null value.
mxVertexHandler.prototype.isRotationHandleVisible = function()
Returns true if the rotation handle should be showing.
mxAnimation.prototype.isRunning = function()
Returns true if the animation is running.
mxGraphView.prototype.isScrollEvent = function(evt)
Returns true if the event origin is one of the scrollbars of the container in IE.
mxGraphSelectionModel.prototype.isSelected = function(cell)
Returns true if the given mxCell is selected.
mxGraphHandler.prototype.isSelectEnabled = function()
Returns selectEnabled.
mxEdgeHandler.prototype.isSelectionDashed = function()
Returns mxConstants.EDGE_SELECTION_DASHED.
mxVertexHandler.prototype.isSelectionDashed = function()
Returns mxConstants.VERTEX_SELECTION_DASHED.
mxGraph.prototype.isSelectionEmpty = function()
Returns true if the selection is empty.
mxPopupMenuHandler.prototype.isSelectOnPopup = function(me)
Hook for returning if a cell should be selected for a given mxMouseEvent.
mxCellEditor.prototype.isSelectText = function()
Returns selectText.
mxCellRenderer.prototype.isShapeEvent = function(state,
evt)
Returns true if the event is for the shape of the given state.
isShiftDown: function(evt)
Returns true if the shift key is pressed for the given event.
mxUndoableEdit.prototype.isSignificant = function()
Returns significant.
mxGraphSelectionModel.prototype.isSingleSelection = function()
Returns singleSelection as a boolean.
mxVertexHandler.prototype.isSizerVisible = function(index)
Returns true if the sizer for the given index is visible.
mxEdgeHandler.prototype.isSnapToTerminalsEvent = function(me)
Returns true if snapToTerminals is true and if alt is not pressed.
mxMouseEvent.prototype.isSource = function(shape)
Returns true if the given mxShape is the source of evt.
mxGraph.prototype.isSplitEnabled = function()
Returns splitEnabled as a boolean.
mxGraph.prototype.isSplitTarget = function(target,
cells,
evt)
Returns true if the given edge may be splitted into two edges with the given cell as a new terminal between the two.
mxConnectionHandler.prototype.isStartEvent = function(me)
Returns true if the given mouse down event should start this handler.
mxConstraintHandler.prototype.isStateIgnored = function(state,
source)
Returns true if the given state should be ignored.
mxCellEditor.prototype.isStopEditingEvent = function(evt)
Returns true if the given keydown event should stop cell editing.
mxConnectionHandler.prototype.isStopEvent = function(me)
Returns true if the given mouse up event should stop this handler.
mxGraph.prototype.isSwimlane = function (cell)
Returns true if the given cell is a swimlane in the graph.
mxSwimlaneManager.prototype.isSwimlaneIgnored = function(swimlane)
Returns true if the given swimlane should be ignored.
mxGraph.prototype.isSwimlaneNesting = function()
Returns swimlaneNesting as a boolean.
mxGraph.prototype.isSwimlaneSelectionEnabled = function()
Returns swimlaneSelectionEnabled as a boolean.
mxGraph.prototype.isSyntheticEventIgnored = function(evtName,
me,
sender)
Hook for ignoring synthetic mouse events after touchend in Firefox.
mxGraph.prototype.isTerminalPointMovable = function(cell,
source)
Returns true if the given terminal point is movable.
mxCellRenderer.prototype.isTextShapeInvalid = function(state,
shape)
Returns true if the style for the text shape has changed.
mxGraph.prototype.isToggleEvent = function(evt)
Returns true if the given event is a toggle event.
isTouchEvent: function(evt)
Returns true if the event was generated using a touch device (not a pen or mouse).
mxGraph.prototype.isValidAncestor = function(cell,
parent,
recurse)
Returns whether or not the specified parent is a valid ancestor of the specified cell, either direct or indirectly based on whether ancestor recursion is enabled.
mxGraph.prototype.isValidConnection = function(source,
target)
Returns true if the given target cell is a valid target for source.
mxGraph.prototype.isValidDropTarget = function(cell,
cells,
evt)
Returns true if the given cell is a valid drop target for the specified cells.
mxGraph.prototype.isValidRoot = function(cell)
Returns true if the given cell is a valid root for the cell display hierarchy.
mxConnectionHandler.prototype.isValidSource = function(cell,
me)
Returns mxGraph.isValidSource for the given source terminal.
mxGraph.prototype.isValidSource = function(cell)
Returns true if the given cell is a valid source for new connections.
mxCellMarker.prototype.isValidState = function(state)
Returns true if the given mxCellState is a valid state.
mxConnectionHandler.prototype.isValidTarget = function(cell)
Returns true.
mxGraph.prototype.isValidTarget = function(cell)
Returns isValidSource for the given cell.
mxCell.prototype.isVertex = function()
Returns true if the cell is a vertex.
mxGraphAbstractHierarchyCell.prototype.isVertex = function()
Returns whether or not this cell is a node
mxGraphHierarchyNode.prototype.isVertex = function()
Returns true.
mxGraphModel.prototype.isVertex = function(cell)
Returns true if the given cell is a vertex.
mxCompactTreeLayout.prototype.isVertexIgnored = function(vertex)
Returns a boolean indicating if the given mxCell should be ignored as a vertex.
mxFastOrganicLayout.prototype.isVertexIgnored = function(vertex)
Returns a boolean indicating if the given mxCell should be ignored as a vertex.
mxGraphLayout.prototype.isVertexIgnored = function(vertex)
Returns a boolean indicating if the given mxCell should be ignored by the algorithm.
mxRadialTreeLayout.prototype.isVertexIgnored = function(vertex)
Returns a boolean indicating if the given mxCell should be ignored as a vertex.
mxGraph.prototype.isVertexLabelsMovable = function()
Returns vertexLabelsMovable.
mxGraphLayout.prototype.isVertexMovable = function(cell)
Returns a boolean indicating if the given mxCell is movable or bendable by the algorithm.
mxEdgeHandler.prototype.isVirtualBendsEnabled = function(evt)
Returns true if virtual bends should be added.
mxCell.prototype.isVisible = function()
Returns true if the cell is visibile.
mxGraphModel.prototype.isVisible = function(cell)
Returns true if the given mxCell is visible.
isVisible: function()
Returns true if the console is visible.
mxWindow.prototype.isVisible = function()
Returns true if the window is visible.
isVml: function(node)
Returns true if the given node is in the VML namespace.
mxGraph.prototype.isWrapping = function(cell)
This enables wrapping for HTML labels.
mxPopupMenu.prototype.itemCount
Contains the number of times addItem has been called for a new menu.
mxFastOrganicLayout.prototype.iteration
Current iteration count.
mxMedianHybridCrossingReduction.prototype.iterationsWithoutImprovement
The total number of crossings found in the best configuration so far
diff --git a/docs/js-api/index/Variables12.html b/docs/js-api/index/Variables12.html index 4a9730649..69bfc3072 100644 --- a/docs/js-api/index/Variables12.html +++ b/docs/js-api/index/Variables12.html @@ -11,9 +11,9 @@ if (browserType) {document.write("
");if (browserV -
Variable Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
R
 radius
 radiusSquared, mxFastOrganicLayout
 rankBottomY, mxCoordinateAssignment
 rankIndex, WeightedCellSorter
 ranks
 ranksPerGroup, mxSwimlaneModel
 rankTopY, mxCoordinateAssignment
 rankWidths, mxCoordinateAssignment
 rankY, mxCoordinateAssignment
 RECEIVE, mxEvent
 RECTANGLE_ROUNDING_FACTOR, mxConstants
 recursiveResize, mxGraph
 REDO, mxEvent
 redone, mxUndoableEdit
 refCount, mxSvgCanvas2D
 REFRESH, mxEvent
 refreshHandler, mxSelectionCellsHandler
 relative, mxGeometry
 REMOVE, mxEvent
 REMOVE_CELLS, mxEvent
 REMOVE_CELLS_FROM_PARENT, mxEvent
 REMOVE_OVERLAY, mxEvent
 removeCellsFromParent, mxGraphHandler
 removeEnabled, mxEdgeHandler
 renderHint, mxGraph
 rendering, mxGraphView
 RENDERING_HINT_EXACT, mxConstants
 RENDERING_HINT_FASTER, mxConstants
 RENDERING_HINT_FASTEST, mxConstants
 replaceLinefeeds, mxText
 request, mxXmlRequest
 RESET, mxEvent
 resetEdges
 resetEdgesOnConnect, mxGraph
 resetEdgesOnMove, mxGraph
 resetEdgesOnResize, mxGraph
 resetHandler
 resetViewOnRootChange, mxGraph
 RESIZE, mxEvent
 RESIZE_CELLS, mxEvent
 RESIZE_END, mxEvent
 RESIZE_START, mxEvent
 resizeContainer, mxGraph
 resizeEnabled, mxSwimlaneManager
 resizeLast, mxStackLayout
 resizeParent
 resizeParentMax, mxStackLayout
 resizeVertices, mxPartitionLayout
 resources, mxResources
 resourcesEncoded, mxResources
 RESUME, mxEvent
 reverse, mxObjectCodec
 root
 ROOT, mxEvent
 roots
 rootx, mxRadialTreeLayout
 rooty, mxRadialTreeLayout
 rotatedHtmlBackground, mxVmlCanvas2D
 rotateHtml, mxAbstractCanvas2D
 ROTATION_HANDLE, mxEvent
 rotationCursor, mxVertexHandler
 rotationEnabled
 rotationHandleVSpacing, mxVertexHandler
 rotationRaster, mxVertexHandler
 row, mxRadialTreeLayout
 rowMaxCenX, mxRadialTreeLayout
 rowMaxX, mxRadialTreeLayout
 rowMinCenX, mxRadialTreeLayout
 rowMinX, mxRadialTreeLayout
 rowRadi, mxRadialTreeLayout
+
Variable Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
R
 radius
 radiusSquared, mxFastOrganicLayout
 rankBottomY, mxCoordinateAssignment
 rankIndex, WeightedCellSorter
 ranks
 ranksPerGroup, mxSwimlaneModel
 rankTopY, mxCoordinateAssignment
 rankWidths, mxCoordinateAssignment
 rankY, mxCoordinateAssignment
 RECEIVE, mxEvent
 RECTANGLE_ROUNDING_FACTOR, mxConstants
 recursiveResize, mxGraph
 REDO, mxEvent
 redone, mxUndoableEdit
 refCount, mxSvgCanvas2D
 REFRESH, mxEvent
 refreshHandler, mxSelectionCellsHandler
 relative, mxGeometry
 REMOVE, mxEvent
 REMOVE_CELLS, mxEvent
 REMOVE_CELLS_FROM_PARENT, mxEvent
 REMOVE_OVERLAY, mxEvent
 removeCellsFromParent, mxGraphHandler
 removeEnabled, mxEdgeHandler
 renderHint, mxGraph
 rendering, mxGraphView
 RENDERING_HINT_EXACT, mxConstants
 RENDERING_HINT_FASTER, mxConstants
 RENDERING_HINT_FASTEST, mxConstants
 replaceLinefeeds, mxText
 request, mxXmlRequest
 RESET, mxEvent
 resetEdges
 resetEdgesOnConnect, mxGraph
 resetEdgesOnMove, mxGraph
 resetEdgesOnResize, mxGraph
 resetHandler
 resetStyles, mxArrowConnector
 resetViewOnRootChange, mxGraph
 RESIZE, mxEvent
 RESIZE_CELLS, mxEvent
 RESIZE_END, mxEvent
 RESIZE_START, mxEvent
 resizeContainer, mxGraph
 resizeEnabled, mxSwimlaneManager
 resizeLast, mxStackLayout
 resizeParent
 resizeParentMax, mxStackLayout
 resizeVertices, mxPartitionLayout
 resources, mxResources
 resourcesEncoded, mxResources
 RESUME, mxEvent
 reverse, mxObjectCodec
 root
 ROOT, mxEvent
 roots
 rootx, mxRadialTreeLayout
 rooty, mxRadialTreeLayout
 rotatedHtmlBackground, mxVmlCanvas2D
 rotateHtml, mxAbstractCanvas2D
 ROTATION_HANDLE, mxEvent
 rotationCursor, mxVertexHandler
 rotationEnabled
 rotationHandleVSpacing, mxVertexHandler
 rotationRaster, mxVertexHandler
 row, mxRadialTreeLayout
 rowMaxCenX, mxRadialTreeLayout
 rowMaxX, mxRadialTreeLayout
 rowMinCenX, mxRadialTreeLayout
 rowMinX, mxRadialTreeLayout
 rowRadi, mxRadialTreeLayout
-
mxCircleLayout.prototype.radius
Integer specifying the size of the radius.
mxFastOrganicLayout.prototype.radius
The approximate radius of each cell, nodes only.
mxFastOrganicLayout.prototype.radiusSquared
The approximate radius squared of each cell, nodes only.
mxCoordinateAssignment.prototype.rankBottomY
Internal cache of bottom-most value of Y for each rank
WeightedCellSorter.prototype.rankIndex
The index this cell is in the model rank.
mxGraphHierarchyModel.prototype.ranks
Mapping from rank number to actual rank
mxSwimlaneModel.prototype.ranks
Mapping from rank number to actual rank
mxSwimlaneModel.prototype.ranksPerGroup
An array of the number of ranks within each swimlane
mxCoordinateAssignment.prototype.rankTopY
Internal cache of top-most values of Y for each rank
mxCoordinateAssignment.prototype.rankWidths
The width of all the ranks
mxCoordinateAssignment.prototype.rankY
The Y-coordinate of all the ranks
Specifies the event name for receive.
Defines the rounding factor for rounded rectangles in percent between 0 and 1.
mxGraph.prototype.recursiveResize
Specifies the return value for isRecursiveResize.
Specifies the event name for redo.
mxUndoableEdit.prototype.redone
Specifies if this edit has been redone.
mxSvgCanvas2D.prototype.refCount
Local counter for references in SVG export.
Specifies the event name for refresh.
mxSelectionCellsHandler.prototype.refreshHandler
Keeps a reference to an event listener for later removal.
mxGeometry.prototype.relative
Specifies if the coordinates in the geometry are to be interpreted as relative coordinates.
Specifies the event name for remove.
Specifies the event name for removeCells.
Specifies the event name for removeCellsFromParent.
Specifies the event name for removeOverlay.
mxGraphHandler.prototype.removeCellsFromParent
Specifies if cells may be moved out of their parents.
mxEdgeHandler.prototype.removeEnabled
Specifies if removing bends by shift-click is enabled.
mxGraph.prototype.renderHint
RenderHint as it was passed to the constructor.
mxGraphView.prototype.rendering
Specifies if shapes should be created, updated and destroyed using the methods of mxCellRenderer in graph.
Defines the exact rendering hint.
Defines the faster rendering hint.
Defines the fastest rendering hint.
mxText.prototype.replaceLinefeeds
Specifies if linefeeds in HTML labels should be replaced with BR tags.
mxXmlRequest.prototype.request
Holds the inner, browser-specific request object.
RESET: 'reset' }
Specifies the event name for reset.
mxCircleLayout.prototype.resetEdges
Specifies if all edge points of traversed edges should be removed.
mxCompactTreeLayout.prototype.resetEdges
Specifies if all edge points of traversed edges should be removed.
mxFastOrganicLayout.prototype.resetEdges
Specifies if all edge points of traversed edges should be removed.
mxGraph.prototype.resetEdgesOnConnect
Specifies if edge control points should be reset after the the edge has been reconnected.
mxGraph.prototype.resetEdgesOnMove
Specifies if edge control points should be reset after the move of a connected cell.
mxGraph.prototype.resetEdgesOnResize
Specifies if edge control points should be reset after the resize of a connected cell.
mxCellHighlight.prototype.resetHandler
Holds the handler that automatically invokes reset if the highlight should be hidden.
mxDefaultToolbar.prototype.resetHandler
Reference to the function used to reset the toolbar.
mxGraph.prototype.resetViewOnRootChange
Specifies if the scale and translate should be reset if the root changes in the model.
Specifies the event name for resize.
Specifies the event name for resizeCells.
Specifies the event name for resizeEnd.
Specifies the event name for resizeStart.
mxGraph.prototype.resizeContainer
Specifies if the container should be resized to the graph size when the graph size has changed.
mxSwimlaneManager.prototype.resizeEnabled
Specifies if resizing of swimlanes should be handled.
mxStackLayout.prototype.resizeLast
If the last element should be resized to fill out the parent.
mxCompactTreeLayout.prototype.resizeParent
If the parents should be resized to match the width/height of the children.
mxHierarchicalLayout.prototype.resizeParent
Specifies if the parent should be resized after the layout so that it contains all the child cells.
mxStackLayout.prototype.resizeParent
If the parent should be resized to match the width/height of the stack.
mxSwimlaneLayout.prototype.resizeParent
Specifies if the parent should be resized after the layout so that it contains all the child cells.
mxStackLayout.prototype.resizeParentMax
Use maximum of existing value and new value for resize of parent.
mxPartitionLayout.prototype.resizeVertices
Boolean that specifies if vertices should be resized.
Associative array that maps from keys to values.
Specifies whether or not values in resource files are encoded with \u or percentage.
Specifies the event name for suspend.
mxObjectCodec.prototype.reverse
Maps from from XML attribute names to fieldnames.
mxCompactTreeLayout.prototype.root
The cell to use as the root of the tree
mxGraphModel.prototype.root
Holds the root cell, which in turn contains the cells that represent the layers of the diagram as child cells.
this.root
Reference to the container for the SVG content.
this.root
Reference to the container for the SVG content.
this.root
Reference to the container for the SVG content.
Specifies the event name for root.
mxGraphHierarchyModel.prototype.roots
Store of roots of this hierarchy model, these are real graph cells, not internal cells
mxHierarchicalLayout.prototype.roots
Holds the array of mxCell that this layout contains.
mxSwimlaneLayout.prototype.roots
Holds the array of mxCell that this layout contains.
mxSwimlaneModel.prototype.roots
Store of roots of this hierarchy model, these are real graph cells, not internal cells
mxRadialTreeLayout.prototype.rootx
The X co-ordinate of the root cell
mxRadialTreeLayout.prototype.rooty
The Y co-ordinate of the root cell
mxVmlCanvas2D.prototype.rotatedHtmlBackground
Background color for rotated HTML.
mxAbstractCanvas2D.prototype.rotateHtml
Switch for rotation of HTML.
Index for the rotation handle in an mxMouseEvent.
mxVertexHandler.prototype.rotationCursor
Specifies the cursor for the rotation handle.
mxGraphHandler.prototype.rotationEnabled
Specifies if the bounding box should allow for rotation.
mxVertexHandler.prototype.rotationEnabled
Specifies if a rotation handle should be visible.
mxVertexHandler.prototype.rotationHandleVSpacing
Vertical spacing for rotation icon.
mxVertexHandler.prototype.rotationRaster
Specifies if rotation steps should be “rasterized” depening on the distance to the handle.
mxRadialTreeLayout.prototype.row
Array of vertices on each row
mxRadialTreeLayout.prototype.rowMaxCenX
Array of x coordinate of rightmost vertex of each row
mxRadialTreeLayout.prototype.rowMaxX
Array of rightmost x coordinate of each row
mxRadialTreeLayout.prototype.rowMinCenX
Array of x coordinate of leftmost vertex of each row
mxRadialTreeLayout.prototype.rowMinX
Array of leftmost x coordinate of each row
mxRadialTreeLayout.prototype.rowRadi
Array of y deltas of each row behind root vertex, also the radius in the tree
+
mxCircleLayout.prototype.radius
Integer specifying the size of the radius.
mxFastOrganicLayout.prototype.radius
The approximate radius of each cell, nodes only.
mxFastOrganicLayout.prototype.radiusSquared
The approximate radius squared of each cell, nodes only.
mxCoordinateAssignment.prototype.rankBottomY
Internal cache of bottom-most value of Y for each rank
WeightedCellSorter.prototype.rankIndex
The index this cell is in the model rank.
mxGraphHierarchyModel.prototype.ranks
Mapping from rank number to actual rank
mxSwimlaneModel.prototype.ranks
Mapping from rank number to actual rank
mxSwimlaneModel.prototype.ranksPerGroup
An array of the number of ranks within each swimlane
mxCoordinateAssignment.prototype.rankTopY
Internal cache of top-most values of Y for each rank
mxCoordinateAssignment.prototype.rankWidths
The width of all the ranks
mxCoordinateAssignment.prototype.rankY
The Y-coordinate of all the ranks
Specifies the event name for receive.
Defines the rounding factor for rounded rectangles in percent between 0 and 1.
mxGraph.prototype.recursiveResize
Specifies the return value for isRecursiveResize.
Specifies the event name for redo.
mxUndoableEdit.prototype.redone
Specifies if this edit has been redone.
mxSvgCanvas2D.prototype.refCount
Local counter for references in SVG export.
Specifies the event name for refresh.
mxSelectionCellsHandler.prototype.refreshHandler
Keeps a reference to an event listener for later removal.
mxGeometry.prototype.relative
Specifies if the coordinates in the geometry are to be interpreted as relative coordinates.
Specifies the event name for remove.
Specifies the event name for removeCells.
Specifies the event name for removeCellsFromParent.
Specifies the event name for removeOverlay.
mxGraphHandler.prototype.removeCellsFromParent
Specifies if cells may be moved out of their parents.
mxEdgeHandler.prototype.removeEnabled
Specifies if removing bends by shift-click is enabled.
mxGraph.prototype.renderHint
RenderHint as it was passed to the constructor.
mxGraphView.prototype.rendering
Specifies if shapes should be created, updated and destroyed using the methods of mxCellRenderer in graph.
Defines the exact rendering hint.
Defines the faster rendering hint.
Defines the fastest rendering hint.
mxText.prototype.replaceLinefeeds
Specifies if linefeeds in HTML labels should be replaced with BR tags.
mxXmlRequest.prototype.request
Holds the inner, browser-specific request object.
RESET: 'reset' }
Specifies the event name for reset.
mxCircleLayout.prototype.resetEdges
Specifies if all edge points of traversed edges should be removed.
mxCompactTreeLayout.prototype.resetEdges
Specifies if all edge points of traversed edges should be removed.
mxFastOrganicLayout.prototype.resetEdges
Specifies if all edge points of traversed edges should be removed.
mxGraph.prototype.resetEdgesOnConnect
Specifies if edge control points should be reset after the the edge has been reconnected.
mxGraph.prototype.resetEdgesOnMove
Specifies if edge control points should be reset after the move of a connected cell.
mxGraph.prototype.resetEdgesOnResize
Specifies if edge control points should be reset after the resize of a connected cell.
mxCellHighlight.prototype.resetHandler
Holds the handler that automatically invokes reset if the highlight should be hidden.
mxDefaultToolbar.prototype.resetHandler
Reference to the function used to reset the toolbar.
mxArrowConnector.prototype.resetStyles
Overrides mxShape to reset spacing.
mxGraph.prototype.resetViewOnRootChange
Specifies if the scale and translate should be reset if the root changes in the model.
Specifies the event name for resize.
Specifies the event name for resizeCells.
Specifies the event name for resizeEnd.
Specifies the event name for resizeStart.
mxGraph.prototype.resizeContainer
Specifies if the container should be resized to the graph size when the graph size has changed.
mxSwimlaneManager.prototype.resizeEnabled
Specifies if resizing of swimlanes should be handled.
mxStackLayout.prototype.resizeLast
If the last element should be resized to fill out the parent.
mxCompactTreeLayout.prototype.resizeParent
If the parents should be resized to match the width/height of the children.
mxHierarchicalLayout.prototype.resizeParent
Specifies if the parent should be resized after the layout so that it contains all the child cells.
mxStackLayout.prototype.resizeParent
If the parent should be resized to match the width/height of the stack.
mxSwimlaneLayout.prototype.resizeParent
Specifies if the parent should be resized after the layout so that it contains all the child cells.
mxStackLayout.prototype.resizeParentMax
Use maximum of existing value and new value for resize of parent.
mxPartitionLayout.prototype.resizeVertices
Boolean that specifies if vertices should be resized.
Associative array that maps from keys to values.
Specifies whether or not values in resource files are encoded with \u or percentage.
Specifies the event name for suspend.
mxObjectCodec.prototype.reverse
Maps from from XML attribute names to fieldnames.
mxCompactTreeLayout.prototype.root
The cell to use as the root of the tree
mxGraphModel.prototype.root
Holds the root cell, which in turn contains the cells that represent the layers of the diagram as child cells.
this.root
Reference to the container for the SVG content.
this.root
Reference to the container for the SVG content.
this.root
Reference to the container for the SVG content.
Specifies the event name for root.
mxGraphHierarchyModel.prototype.roots
Store of roots of this hierarchy model, these are real graph cells, not internal cells
mxHierarchicalLayout.prototype.roots
Holds the array of mxCell that this layout contains.
mxSwimlaneLayout.prototype.roots
Holds the array of mxCell that this layout contains.
mxSwimlaneModel.prototype.roots
Store of roots of this hierarchy model, these are real graph cells, not internal cells
mxRadialTreeLayout.prototype.rootx
The X co-ordinate of the root cell
mxRadialTreeLayout.prototype.rooty
The Y co-ordinate of the root cell
mxVmlCanvas2D.prototype.rotatedHtmlBackground
Background color for rotated HTML.
mxAbstractCanvas2D.prototype.rotateHtml
Switch for rotation of HTML.
Index for the rotation handle in an mxMouseEvent.
mxVertexHandler.prototype.rotationCursor
Specifies the cursor for the rotation handle.
mxGraphHandler.prototype.rotationEnabled
Specifies if the bounding box should allow for rotation.
mxVertexHandler.prototype.rotationEnabled
Specifies if a rotation handle should be visible.
mxVertexHandler.prototype.rotationHandleVSpacing
Vertical spacing for rotation icon.
mxVertexHandler.prototype.rotationRaster
Specifies if rotation steps should be “rasterized” depening on the distance to the handle.
mxRadialTreeLayout.prototype.row
Array of vertices on each row
mxRadialTreeLayout.prototype.rowMaxCenX
Array of x coordinate of rightmost vertex of each row
mxRadialTreeLayout.prototype.rowMaxX
Array of rightmost x coordinate of each row
mxRadialTreeLayout.prototype.rowMinCenX
Array of x coordinate of leftmost vertex of each row
mxRadialTreeLayout.prototype.rowMinX
Array of leftmost x coordinate of each row
mxRadialTreeLayout.prototype.rowRadi
Array of y deltas of each row behind root vertex, also the radius in the tree
diff --git a/docs/js-api/index/Variables13.html b/docs/js-api/index/Variables13.html index 137de0cf3..cd535e2f6 100644 --- a/docs/js-api/index/Variables13.html +++ b/docs/js-api/index/Variables13.html @@ -11,9 +11,9 @@ if (browserType) {document.write("
");if (browserV -
Variable Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
S
 SAVE, mxEvent
 scale
 SCALE, mxEvent
 SCALE_AND_TRANSLATE, mxEvent
 scaleGrid, mxGraphHandler
 screenX, mxPopupMenuHandler
 screenY, mxPopupMenuHandler
 scrollOnMove, mxGraphHandler
 segments, mxCellState
 select, mxConnectionHandler
 SELECT, mxEvent
 selectEnabled, mxGraphHandler
 SELECTION_DASHED, mxConstants
 selectionModel, mxGraph
 selectOnPopup, mxPopupMenuHandler
 selectText, mxCellEditor
 SHADOW_OFFSET_X, mxConstants
 SHADOW_OFFSET_Y, mxConstants
 SHADOW_OPACITY, mxConstants
 SHADOWCOLOR, mxConstants
 shape
 SHAPE_ACTOR, mxConstants
 SHAPE_ARROW, mxConstants
 SHAPE_ARROW_CONNECTOR, mxConstants
 SHAPE_CLOUD, mxConstants
 SHAPE_CONNECTOR, mxConstants
 SHAPE_CYLINDER, mxConstants
 SHAPE_DOUBLE_ELLIPSE, mxConstants
 SHAPE_ELLIPSE, mxConstants
 SHAPE_HEXAGON, mxConstants
 SHAPE_IMAGE, mxConstants
 SHAPE_LABEL, mxConstants
 SHAPE_LINE, mxConstants
 SHAPE_RECTANGLE, mxConstants
 SHAPE_RHOMBUS, mxConstants
 SHAPE_SWIMLANE, mxConstants
 SHAPE_TRIANGLE, mxConstants
 shapePointerEvents, mxShape
 sharedDiv, mxRubberband
 shiftKeys, mxKeyHandler
 SHOW, mxEvent
 showViewport, mxOutline
 significant, mxUndoableEdit
 singleSelection, mxGraphSelectionModel
 singleSizer, mxVertexHandler
 size, mxUndoManager
 SIZE, mxEvent
 sizerImage, mxOutline
 smartSeparators, mxPopupMenu
 snapToTerminals, mxEdgeHandler
 sortEdges
 source
 sourcePoint, mxGeometry
 SOURCESCANSTARTRANK
 sourceState, mxMouseEvent
 spacing
 SPLIT_EDGE, mxEvent
 splitEnabled, mxGraph
 src, mxImage
 START, mxEvent
 START_EDIT, mxEvent
 START_EDITING, mxEvent
 startX, mxPanningHandler
 startY, mxPanningHandler
 state
 states
 status, mxEditor
 stencil, mxShape
 stencilPointerEvents, mxShape
 step, mxMorphing
 steps, mxMorphing
 STEPSIZE, mxClipboard
 straightRemoveEnabled, mxEdgeHandler
 strokeTolerance, mxSvgCanvas2D
 strokewidth, mxStencil
 style
 STYLE_ALIGN, mxConstants
 STYLE_ARCSIZE, mxConstants
 STYLE_ASPECT, mxConstants
 STYLE_AUTOSIZE, mxConstants
 STYLE_BENDABLE, mxConstants
 STYLE_CLONEABLE, mxConstants
 STYLE_CURVED, mxConstants
 STYLE_DASHED, mxConstants
 STYLE_DELETABLE, mxConstants
 STYLE_DIRECTION, mxConstants
 STYLE_EDGE, mxConstants
 STYLE_EDITABLE, mxConstants
 STYLE_ELBOW, mxConstants
 STYLE_ENDARROW, mxConstants
 STYLE_ENDFILL, mxConstants
 STYLE_ENDSIZE, mxConstants
 STYLE_ENTRY_PERIMETER, mxConstants
 STYLE_ENTRY_X, mxConstants
 STYLE_ENTRY_Y, mxConstants
 STYLE_EXIT_PERIMETER, mxConstants
 STYLE_EXIT_X, mxConstants
 STYLE_EXIT_Y, mxConstants
 STYLE_FILLCOLOR, mxConstants
 STYLE_FLIPH, mxConstants
 STYLE_FLIPV, mxConstants
 STYLE_FOLDABLE, mxConstants
 STYLE_FONTCOLOR, mxConstants
 STYLE_FONTFAMILY, mxConstants
 STYLE_FONTSIZE, mxConstants
 STYLE_FONTSTYLE, mxConstants
 STYLE_GLASS, mxConstants
 STYLE_GRADIENT_DIRECTION, mxConstants
 STYLE_GRADIENTCOLOR, mxConstants
 STYLE_HORIZONTAL, mxConstants
 STYLE_IMAGE, mxConstants
 STYLE_IMAGE_ALIGN, mxConstants
 STYLE_IMAGE_ASPECT, mxConstants
 STYLE_IMAGE_BACKGROUND, mxConstants
 STYLE_IMAGE_BORDER, mxConstants
 STYLE_IMAGE_HEIGHT, mxConstants
 STYLE_IMAGE_VERTICAL_ALIGN, mxConstants
 STYLE_IMAGE_WIDTH, mxConstants
 STYLE_INDICATOR_COLOR, mxConstants
 STYLE_INDICATOR_DIRECTION, mxConstants
 STYLE_INDICATOR_GRADIENTCOLOR, mxConstants
 STYLE_INDICATOR_HEIGHT, mxConstants
 STYLE_INDICATOR_IMAGE, mxConstants
 STYLE_INDICATOR_SHAPE, mxConstants
 STYLE_INDICATOR_SPACING, mxConstants
 STYLE_INDICATOR_STROKECOLOR, mxConstants
 STYLE_INDICATOR_WIDTH, mxConstants
 STYLE_JETTY_SIZE, mxConstants
 STYLE_LABEL_BACKGROUNDCOLOR, mxConstants
 STYLE_LABEL_BORDERCOLOR, mxConstants
 STYLE_LABEL_PADDING, mxConstants
 STYLE_LABEL_POSITION, mxConstants
 STYLE_LABEL_WIDTH, mxConstants
 STYLE_LOOP, mxConstants
 STYLE_MARGIN, mxConstants
 STYLE_MOVABLE, mxConstants
 STYLE_NOEDGESTYLE, mxConstants
 STYLE_NOLABEL, mxConstants
 STYLE_OPACITY, mxConstants
 STYLE_ORTHOGONAL, mxConstants
 STYLE_ORTHOGONAL_LOOP, mxConstants
 STYLE_OVERFLOW, mxConstants
 STYLE_PERIMETER, mxConstants
 STYLE_PERIMETER_SPACING, mxConstants
 STYLE_POINTER_EVENTS, mxConstants
 STYLE_PORT_CONSTRAINT, mxConstants
 STYLE_PORT_CONSTRAINT_ROTATION, mxConstants
 STYLE_RESIZABLE, mxConstants
 STYLE_RESIZE_WIDTH, mxConstants
 STYLE_ROTATABLE, mxConstants
 STYLE_ROTATION, mxConstants
 STYLE_ROUNDED, mxConstants
 STYLE_ROUTING_CENTER_X, mxConstants
 STYLE_ROUTING_CENTER_Y, mxConstants
 STYLE_SEGMENT, mxConstants
 STYLE_SEPARATORCOLOR, mxConstants
 STYLE_SHADOW, mxConstants
 STYLE_SHAPE, mxConstants
 STYLE_SMOOTH, mxConstants
 STYLE_SOURCE_JETTY_SIZE, mxConstants
 STYLE_SOURCE_PERIMETER_SPACING, mxConstants
 STYLE_SOURCE_PORT, mxConstants
 STYLE_SPACING, mxConstants
 STYLE_SPACING_BOTTOM, mxConstants
 STYLE_SPACING_LEFT, mxConstants
 STYLE_SPACING_RIGHT, mxConstants
 STYLE_SPACING_TOP, mxConstants
 STYLE_STARTARROW, mxConstants
 STYLE_STARTFILL, mxConstants
 STYLE_STARTSIZE, mxConstants
 STYLE_STROKECOLOR, mxConstants
 STYLE_STROKEWIDTH, mxConstants
 STYLE_SWIMLANE_FILLCOLOR, mxConstants
 STYLE_SWIMLANE_LINE, mxConstants
 STYLE_TARGET_PERIMETER_SPACING, mxConstants
 STYLE_TARGET_PORT, mxConstants
 STYLE_TEXT_DIRECTION, mxConstants
 STYLE_TEXT_OPACITY, mxConstants
 STYLE_VERTICAL_ALIGN, mxConstants
 STYLE_VERTICAL_LABEL_POSITION, mxConstants
 STYLE_WHITE_SPACE, mxConstants
 styleEnabled, mxSvgCanvas2D
 stylesheet, mxGraph
 submenuImage, mxPopupMenu
 SUSPEND, mxEvent
 suspended, mxOutline
 svgPointerEvents, mxShape
 svgStrokeTolerance
 swimlaneIndicatorColorAttribute, mxGraph
 swimlaneNesting, mxGraph
 swimlaneRequired, mxEditor
 swimlanes, mxSwimlaneLayout
 swimlaneSelectionEnabled, mxGraph
 swimlaneSpacing, mxEditor
+
Variable Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
S
 SAVE, mxEvent
 scale
 SCALE, mxEvent
 SCALE_AND_TRANSLATE, mxEvent
 scaleGrid, mxGraphHandler
 screenX, mxPopupMenuHandler
 screenY, mxPopupMenuHandler
 scrollOnMove, mxGraphHandler
 segments, mxCellState
 select, mxConnectionHandler
 SELECT, mxEvent
 selectEnabled, mxGraphHandler
 SELECTION_DASHED, mxConstants
 selectionModel, mxGraph
 selectOnPopup, mxPopupMenuHandler
 selectText, mxCellEditor
 SHADOW_OFFSET_X, mxConstants
 SHADOW_OFFSET_Y, mxConstants
 SHADOW_OPACITY, mxConstants
 SHADOWCOLOR, mxConstants
 shape
 SHAPE_ACTOR, mxConstants
 SHAPE_ARROW, mxConstants
 SHAPE_ARROW_CONNECTOR, mxConstants
 SHAPE_CLOUD, mxConstants
 SHAPE_CONNECTOR, mxConstants
 SHAPE_CYLINDER, mxConstants
 SHAPE_DOUBLE_ELLIPSE, mxConstants
 SHAPE_ELLIPSE, mxConstants
 SHAPE_HEXAGON, mxConstants
 SHAPE_IMAGE, mxConstants
 SHAPE_LABEL, mxConstants
 SHAPE_LINE, mxConstants
 SHAPE_RECTANGLE, mxConstants
 SHAPE_RHOMBUS, mxConstants
 SHAPE_SWIMLANE, mxConstants
 SHAPE_TRIANGLE, mxConstants
 shapePointerEvents, mxShape
 sharedDiv, mxRubberband
 shiftKeys, mxKeyHandler
 SHOW, mxEvent
 showViewport, mxOutline
 significant, mxUndoableEdit
 singleSelection, mxGraphSelectionModel
 singleSizer, mxVertexHandler
 size, mxUndoManager
 SIZE, mxEvent
 sizerImage, mxOutline
 smartSeparators, mxPopupMenu
 snapToTerminals, mxEdgeHandler
 sortEdges
 source
 sourcePoint, mxGeometry
 SOURCESCANSTARTRANK
 sourceState, mxMouseEvent
 spacing
 SPLIT_EDGE, mxEvent
 splitEnabled, mxGraph
 src, mxImage
 START, mxEvent
 START_EDIT, mxEvent
 START_EDITING, mxEvent
 startX, mxPanningHandler
 startY, mxPanningHandler
 state
 states
 status, mxEditor
 stencil, mxShape
 stencilPointerEvents, mxShape
 step, mxMorphing
 steps, mxMorphing
 STEPSIZE, mxClipboard
 straightRemoveEnabled, mxEdgeHandler
 strokeTolerance, mxSvgCanvas2D
 strokewidth, mxStencil
 style
 STYLE_ALIGN, mxConstants
 STYLE_ARCSIZE, mxConstants
 STYLE_ASPECT, mxConstants
 STYLE_AUTOSIZE, mxConstants
 STYLE_BENDABLE, mxConstants
 STYLE_CLONEABLE, mxConstants
 STYLE_CURVED, mxConstants
 STYLE_DASHED, mxConstants
 STYLE_DELETABLE, mxConstants
 STYLE_DIRECTION, mxConstants
 STYLE_EDGE, mxConstants
 STYLE_EDITABLE, mxConstants
 STYLE_ELBOW, mxConstants
 STYLE_ENDARROW, mxConstants
 STYLE_ENDFILL, mxConstants
 STYLE_ENDSIZE, mxConstants
 STYLE_ENTRY_PERIMETER, mxConstants
 STYLE_ENTRY_X, mxConstants
 STYLE_ENTRY_Y, mxConstants
 STYLE_EXIT_PERIMETER, mxConstants
 STYLE_EXIT_X, mxConstants
 STYLE_EXIT_Y, mxConstants
 STYLE_FILL_OPACITY, mxConstants
 STYLE_FILLCOLOR, mxConstants
 STYLE_FLIPH, mxConstants
 STYLE_FLIPV, mxConstants
 STYLE_FOLDABLE, mxConstants
 STYLE_FONTCOLOR, mxConstants
 STYLE_FONTFAMILY, mxConstants
 STYLE_FONTSIZE, mxConstants
 STYLE_FONTSTYLE, mxConstants
 STYLE_GLASS, mxConstants
 STYLE_GRADIENT_DIRECTION, mxConstants
 STYLE_GRADIENTCOLOR, mxConstants
 STYLE_HORIZONTAL, mxConstants
 STYLE_IMAGE, mxConstants
 STYLE_IMAGE_ALIGN, mxConstants
 STYLE_IMAGE_ASPECT, mxConstants
 STYLE_IMAGE_BACKGROUND, mxConstants
 STYLE_IMAGE_BORDER, mxConstants
 STYLE_IMAGE_HEIGHT, mxConstants
 STYLE_IMAGE_VERTICAL_ALIGN, mxConstants
 STYLE_IMAGE_WIDTH, mxConstants
 STYLE_INDICATOR_COLOR, mxConstants
 STYLE_INDICATOR_DIRECTION, mxConstants
 STYLE_INDICATOR_GRADIENTCOLOR, mxConstants
 STYLE_INDICATOR_HEIGHT, mxConstants
 STYLE_INDICATOR_IMAGE, mxConstants
 STYLE_INDICATOR_SHAPE, mxConstants
 STYLE_INDICATOR_SPACING, mxConstants
 STYLE_INDICATOR_STROKECOLOR, mxConstants
 STYLE_INDICATOR_WIDTH, mxConstants
 STYLE_JETTY_SIZE, mxConstants
 STYLE_LABEL_BACKGROUNDCOLOR, mxConstants
 STYLE_LABEL_BORDERCOLOR, mxConstants
 STYLE_LABEL_PADDING, mxConstants
 STYLE_LABEL_POSITION, mxConstants
 STYLE_LABEL_WIDTH, mxConstants
 STYLE_LOOP, mxConstants
 STYLE_MARGIN, mxConstants
 STYLE_MOVABLE, mxConstants
 STYLE_NOEDGESTYLE, mxConstants
 STYLE_NOLABEL, mxConstants
 STYLE_OPACITY, mxConstants
 STYLE_ORTHOGONAL, mxConstants
 STYLE_ORTHOGONAL_LOOP, mxConstants
 STYLE_OVERFLOW, mxConstants
 STYLE_PERIMETER, mxConstants
 STYLE_PERIMETER_SPACING, mxConstants
 STYLE_POINTER_EVENTS, mxConstants
 STYLE_PORT_CONSTRAINT, mxConstants
 STYLE_PORT_CONSTRAINT_ROTATION, mxConstants
 STYLE_RESIZABLE, mxConstants
 STYLE_RESIZE_WIDTH, mxConstants
 STYLE_ROTATABLE, mxConstants
 STYLE_ROTATION, mxConstants
 STYLE_ROUNDED, mxConstants
 STYLE_ROUTING_CENTER_X, mxConstants
 STYLE_ROUTING_CENTER_Y, mxConstants
 STYLE_SEGMENT, mxConstants
 STYLE_SEPARATORCOLOR, mxConstants
 STYLE_SHADOW, mxConstants
 STYLE_SHAPE, mxConstants
 STYLE_SMOOTH, mxConstants
 STYLE_SOURCE_JETTY_SIZE, mxConstants
 STYLE_SOURCE_PERIMETER_SPACING, mxConstants
 STYLE_SOURCE_PORT, mxConstants
 STYLE_SPACING, mxConstants
 STYLE_SPACING_BOTTOM, mxConstants
 STYLE_SPACING_LEFT, mxConstants
 STYLE_SPACING_RIGHT, mxConstants
 STYLE_SPACING_TOP, mxConstants
 STYLE_STARTARROW, mxConstants
 STYLE_STARTFILL, mxConstants
 STYLE_STARTSIZE, mxConstants
 STYLE_STROKE_OPACITY, mxConstants
 STYLE_STROKECOLOR, mxConstants
 STYLE_STROKEWIDTH, mxConstants
 STYLE_SWIMLANE_FILLCOLOR, mxConstants
 STYLE_SWIMLANE_LINE, mxConstants
 STYLE_TARGET_PERIMETER_SPACING, mxConstants
 STYLE_TARGET_PORT, mxConstants
 STYLE_TEXT_DIRECTION, mxConstants
 STYLE_TEXT_OPACITY, mxConstants
 STYLE_VERTICAL_ALIGN, mxConstants
 STYLE_VERTICAL_LABEL_POSITION, mxConstants
 STYLE_WHITE_SPACE, mxConstants
 styleEnabled, mxSvgCanvas2D
 stylesheet, mxGraph
 submenuImage, mxPopupMenu
 SUSPEND, mxEvent
 suspended, mxOutline
 svgPointerEvents, mxShape
 svgStrokeTolerance
 swimlaneIndicatorColorAttribute, mxGraph
 swimlaneNesting, mxGraph
 swimlaneRequired, mxEditor
 swimlanes, mxSwimlaneLayout
 swimlaneSelectionEnabled, mxGraph
 swimlaneSpacing, mxEditor
-
Specifies the event name for open.
mxGraphView.prototype.scale
Specifies the scale.
mxPrintPreview.prototype.scale
Holds the scale of the print preview.
mxShape.prototype.scale
Holds the scale in which the shape is being painted.
Specifies the event name for scale.
Specifies the event name for scaleAndTranslate.
mxGraphHandler.prototype.scaleGrid
Specifies if the grid should be scaled.
mxPopupMenuHandler.prototype.screenX
Screen X-coordinate of the mouse down event.
mxPopupMenuHandler.prototype.screenY
Screen Y-coordinate of the mouse down event.
mxGraphHandler.prototype.scrollOnMove
Specifies if the view should be scrolled so that a moved cell is visible.
mxCellState.prototype.segments
Array of numbers that represent the cached length of each segment of the edge.
mxConnectionHandler.prototype.select
Specifies if new edges should be selected.
Specifies the event name for select.
mxGraphHandler.prototype.selectEnabled
Specifies if selecting is enabled.
Defines the dashed state to be used for the vertex selection border.
mxGraph.prototype.selectionModel
Holds the mxGraphSelectionModel that models the current selection.
mxPopupMenuHandler.prototype.selectOnPopup
Specifies if cells should be selected if a popupmenu is displayed for them.
mxCellEditor.prototype.selectText
Specifies if the text should be selected when editing starts.
Specifies the x-offset of the shadow.
Specifies the y-offset of the shadow.
Defines the opacity for shadows.
Defines the color to be used to draw shadows in shapes and windows.
mxCellState.prototype.shape
Holds the mxShape that represents the cell graphically.
mxEdgeHandler.prototype.shape
Holds the mxShape that represents the preview edge.
mxGraphHandler.prototype.shape
Reference to the mxShape that represents the preview.
Name under which mxActor is registered in mxCellRenderer.
Name under which mxArrow is registered in mxCellRenderer.
Name under which mxArrowConnector is registered in mxCellRenderer.
Name under which mxCloud is registered in mxCellRenderer.
Name under which mxConnector is registered in mxCellRenderer.
Name under which mxCylinder is registered in mxCellRenderer.
Name under which mxDoubleEllipse is registered in mxCellRenderer.
Name under which mxEllipse is registered in mxCellRenderer.
Name under which mxHexagon is registered in mxCellRenderer.
Name under which mxImageShape is registered in mxCellRenderer.
Name under which mxLabel is registered in mxCellRenderer.
Name under which mxLine is registered in mxCellRenderer.
Name under which mxRectangleShape is registered in mxCellRenderer.
Name under which mxRhombus is registered in mxCellRenderer.
Name under which mxSwimlane is registered in mxCellRenderer.
Name under which mxTriangle is registered in mxCellRenderer.
mxShape.prototype.shapePointerEvents
Specifies if pointer events outside of shape should be handled.
mxRubberband.prototype.sharedDiv
Holds the DIV element which is used to display the rubberband.
mxKeyHandler.prototype.shiftKeys
Maps from keycodes to functions for pressed shift keys.
Specifies the event name for show.
mxOutline.prototype.showViewport
Specifies a viewport rectangle should be shown.
mxUndoableEdit.prototype.significant
Specifies if the undoable change is significant.
mxGraphSelectionModel.prototype.singleSelection
Specifies if only one selected item at a time is allowed.
mxVertexHandler.prototype.singleSizer
Specifies if only one sizer handle at the bottom, right corner should be used.
mxUndoManager.prototype.size
Maximum command history size.
Specifies the event name for size.
mxOutline.prototype.sizerImage
Optional mxImage to be used for the sizer.
mxPopupMenu.prototype.smartSeparators
Specifies if separators should only be added if a menu item follows them.
mxEdgeHandler.prototype.snapToTerminals
Specifies if waypoints should snap to the routing centers of terminals.
mxCompactTreeLayout.prototype.sortEdges
Specifies if edges should be sorted according to the order of their opposite terminal cell in the model.
mxRadialTreeLayout.prototype.sortEdges
Specifies if edges should be sorted according to the order of their opposite terminal cell in the model.
mxCell.prototype.source
Reference to the source terminal.
mxGraphHierarchyEdge.prototype.source
The node this edge is sourced at
mxMultiplicity.prototype.source
Boolean that specifies if the rule is applied to the source or target terminal of an edge.
mxUndoableEdit.prototype.source
Specifies the source of the edit.
mxGeometry.prototype.sourcePoint
Defines the source mxPoint of the edge.
mxGraphHierarchyModel.prototype.SOURCESCANSTARTRANK
High value to start source layering scan rank value from.
mxSwimlaneModel.prototype.SOURCESCANSTARTRANK
High value to start source layering scan rank value from.
mxMouseEvent.prototype.sourceState
Holds the mxCellState that was passed to the constructor.
mxCellHighlight.prototype.spacing
Specifies the spacing between the highlight for vertices and the vertex.
mxDefaultToolbar.prototype.spacing
Defines the spacing between existing and new vertices in gridSize units when a new vertex is dropped on an existing cell.
mxLabel.prototype.spacing
Default value for image spacing.
mxParallelEdgeLayout.prototype.spacing
Defines the spacing between the parallels.
mxPartitionLayout.prototype.spacing
Integer that specifies the absolute spacing in pixels between the children.
mxStackLayout.prototype.spacing
Specifies the spacing between the cells.
Specifies the event name for splitEdge.
mxGraph.prototype.splitEnabled
Specifies if dropping onto edges should be enabled.
mxImage.prototype.src
String that specifies the URL of the image.
Specifies the event name for start.
Specifies the event name for startEdit.
Specifies the event name for startEditing.
mxPanningHandler.prototype.startX
Holds the x-coordinate of the start point.
mxPanningHandler.prototype.startY
Holds the y-coordinate of the start point.
mxAbstractCanvas2D.prototype.state
Holds the current state.
mxCellHighlight.prototype.state
Reference to the mxCellState.
mxEdgeHandler.prototype.state
Reference to the mxCellState being modified.
mxMouseEvent.prototype.state
Holds the optional mxCellState associated with this event.
mxShape.prototype.state
Optional reference to the corresponding mxCellState.
mxVertexHandler.prototype.state
Reference to the mxCellState being modified.
mxAbstractCanvas2D.prototype.states
Stack of states.
mxGuide.prototype.states
Contains the mxCellStates that are used for alignment.
mxEditor.prototype.status
DOM container that holds the statusbar.
mxShape.prototype.stencil
Holds the mxStencil that defines the shape.
mxShape.prototype.stencilPointerEvents
Specifies if pointer events outside of stencils should be handled.
mxMorphing.prototype.step
Contains the current step.
mxMorphing.prototype.steps
Specifies the maximum number of steps for the morphing.
Defines the step size to offset the cells after each paste operation.
mxEdgeHandler.prototype.straightRemoveEnabled
Specifies if removing bends by creating straight segments should be enabled.
mxSvgCanvas2D.prototype.strokeTolerance
Adds transparent paths for strokes.
mxStencil.prototype.strokewidth
Holds the strokewidth direction from the description.
mxCell.prototype.style
Holds the style as a string of the form [(stylename|key=value);].
mxCellState.prototype.style
Contains an array of key, value pairs that represent the style of the cell.
mxShape.prototype.style
Optional reference to the style of the corresponding mxCellState.
Defines the key for the align style.
Defines the rounding factor for a rounded rectangle in percent (without the percent sign).
Defines the key for the aspect style.
Defines the key for the autosize style.
Defines the key for the bendable style.
Defines the key for the cloneable style.
Defines the key for the curved style.
Defines the key for the dashed style.
Defines the key for the deletable style.
Defines the key for the direction style.
Defines the key for the edge style.
Defines the key for the editable style.
Defines the key for the elbow style.
Defines the key for the end arrow marker.
Defines the key for the endFill style.
Defines the key for the endSize style.
Defines if the perimeter should be used to find the exact entry point along the perimeter of the target.
Defines the key for the horizontal relative coordinate connection point of an edge with its target terminal.
Defines the key for the vertical relative coordinate connection point of an edge with its target terminal.
Defines if the perimeter should be used to find the exact entry point along the perimeter of the source.
Defines the key for the horizontal relative coordinate connection point of an edge with its source terminal.
Defines the key for the vertical relative coordinate connection point of an edge with its source terminal.
Defines the key for the fill color.
Defines the key for the horizontal image flip.
Defines the key for the vertical flip.
Defines the key for the foldable style.
Defines the key for the fontColor style.
Defines the key for the fontFamily style.
Defines the key for the fontSize style (in points).
Defines the key for the fontStyle style.
Defines the key for the glass style.
Defines the key for the gradient direction.
Defines the key for the gradient color.
Defines the key for the horizontal style.
Defines the key for the image style.
Defines the key for the align style.
Defines the key for the image aspect style.
Defines the key for the image background color.
Defines the key for the image border color.
Defines the key for the imageHeight style.
Defines the key for the verticalAlign style.
Defines the key for the imageWidth style.
Defines the key for the indicatorColor style.
Defines the key for the indicatorDirection style.
Defines the key for the indicatorGradientColor style.
Defines the key for the indicator height.
Defines the key for the indicator image used within an mxLabel.
Defines the key for the indicator shape used within an mxLabel.
The defines the key for the spacing between the label and the indicator in mxLabel.
Defines the key for the indicator stroke color in mxLabel.
Defines the key for the indicator width.
Defines the key for the jetty size in mxEdgeStyle.OrthConnector.
Defines the key for the label background color.
Defines the key for the label border color.
Defines the key for the label padding, ie.
Defines the key for the horizontal label position of vertices.
Defines the key for the width of the label if the label position is not center.
Defines the key for the loop style.
Defines the key for the margin between the ellipses in the double ellipse shape.
Defines the key for the movable style.
Defines the key for the noEdgeStyle style.
Defines the key for the noLabel style.
Defines the key for the opacity style.
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.
Defines the key for the orthogonal loop style.
Defines the key for the overflow style.
Defines the key for the perimeter style.
Defines the key for the perimeter spacing.
Specifies if pointer events should be fired on transparent backgrounds.
Defines the direction(s) that edges are allowed to connect to cells in.
Define whether port constraint directions are rotated with vertex rotation.
Defines the key for the resizable style.
Defines the key for the resizeWidth style.
Defines the key for the rotatable style.
Defines the key for the rotation style.
Defines the key for the rounded style.
Defines the key for the horizontal routing center.
Defines the key for the vertical routing center.
Defines the key for the segment style.
Defines the key for the separatorColor style.
Defines the key for the shadow style.
Defines the key for the shape.
An experimental style for edges.
Defines the key for the jetty size in mxEdgeStyle.OrthConnector.
Defines the key for the source perimeter spacing.
Defines the ID of the cell that should be used for computing the perimeter point of the source for an edge.
Defines the key for the spacing.
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).
Defines the key for the spacingLeft style.
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).
Defines the key for the spacingTop style.
Defines the key for the start arrow marker.
Defines the key for the startFill style.
Defines the key for the startSize style.
Defines the key for the strokeColor style.
Defines the key for the strokeWidth style.
Defines the key for the fill color of the swimlane background.
Defines the key for the swimlaneLine style.
Defines the key for the target perimeter spacing.
Defines the ID of the cell that should be used for computing the perimeter point of the target for an edge.
Defines the key for the text direction style.
Defines the key for the text opacity style.
Defines the key for the verticalAlign style.
Defines the key for the vertical label position of vertices.
Defines the key for the white-space style.
this.styleEnabled
Stores the value of styleEnabled passed to the constructor.
mxGraph.prototype.stylesheet
Holds the mxStylesheet that defines the appearance of the cells.
mxPopupMenu.prototype.submenuImage
URL of the image to be used for the submenu icon.
Specifies the event name for suspend.
mxOutline.prototype.suspended
Optional boolean flag to suspend updates.
mxShape.prototype.svgPointerEvents
Specifies if pointer events should be handled.
mxCylinder.prototype.svgStrokeTolerance
Sets stroke tolerance to 0 for SVG.
mxShape.prototype.svgStrokeTolerance
Event-tolerance for SVG strokes (in px).
mxGraph.prototype.swimlaneIndicatorColorAttribute
The attribute used to find the color for the indicator if the indicator color is set to ‘swimlane’.
mxGraph.prototype.swimlaneNesting
Specifies if nesting of swimlanes is allowed.
mxEditor.prototype.swimlaneRequired
Specifies if new cells must be inserted into an existing swimlane.
mxSwimlaneLayout.prototype.swimlanes
Holds the array of mxCell of the ordered swimlanes to lay out
mxGraph.prototype.swimlaneSelectionEnabled
Specifies if swimlanes should be selectable via the content if the mouse is released.
mxEditor.prototype.swimlaneSpacing
Specifies the spacing between swimlanes if automatic layout is turned on in layoutDiagram.
+
Specifies the event name for open.
mxGraphView.prototype.scale
Specifies the scale.
mxPrintPreview.prototype.scale
Holds the scale of the print preview.
mxShape.prototype.scale
Holds the scale in which the shape is being painted.
Specifies the event name for scale.
Specifies the event name for scaleAndTranslate.
mxGraphHandler.prototype.scaleGrid
Specifies if the grid should be scaled.
mxPopupMenuHandler.prototype.screenX
Screen X-coordinate of the mouse down event.
mxPopupMenuHandler.prototype.screenY
Screen Y-coordinate of the mouse down event.
mxGraphHandler.prototype.scrollOnMove
Specifies if the view should be scrolled so that a moved cell is visible.
mxCellState.prototype.segments
Array of numbers that represent the cached length of each segment of the edge.
mxConnectionHandler.prototype.select
Specifies if new edges should be selected.
Specifies the event name for select.
mxGraphHandler.prototype.selectEnabled
Specifies if selecting is enabled.
Defines the dashed state to be used for the vertex selection border.
mxGraph.prototype.selectionModel
Holds the mxGraphSelectionModel that models the current selection.
mxPopupMenuHandler.prototype.selectOnPopup
Specifies if cells should be selected if a popupmenu is displayed for them.
mxCellEditor.prototype.selectText
Specifies if the text should be selected when editing starts.
Specifies the x-offset of the shadow.
Specifies the y-offset of the shadow.
Defines the opacity for shadows.
Defines the color to be used to draw shadows in shapes and windows.
mxCellState.prototype.shape
Holds the mxShape that represents the cell graphically.
mxEdgeHandler.prototype.shape
Holds the mxShape that represents the preview edge.
mxGraphHandler.prototype.shape
Reference to the mxShape that represents the preview.
Name under which mxActor is registered in mxCellRenderer.
Name under which mxArrow is registered in mxCellRenderer.
Name under which mxArrowConnector is registered in mxCellRenderer.
Name under which mxCloud is registered in mxCellRenderer.
Name under which mxConnector is registered in mxCellRenderer.
Name under which mxCylinder is registered in mxCellRenderer.
Name under which mxDoubleEllipse is registered in mxCellRenderer.
Name under which mxEllipse is registered in mxCellRenderer.
Name under which mxHexagon is registered in mxCellRenderer.
Name under which mxImageShape is registered in mxCellRenderer.
Name under which mxLabel is registered in mxCellRenderer.
Name under which mxLine is registered in mxCellRenderer.
Name under which mxRectangleShape is registered in mxCellRenderer.
Name under which mxRhombus is registered in mxCellRenderer.
Name under which mxSwimlane is registered in mxCellRenderer.
Name under which mxTriangle is registered in mxCellRenderer.
mxShape.prototype.shapePointerEvents
Specifies if pointer events outside of shape should be handled.
mxRubberband.prototype.sharedDiv
Holds the DIV element which is used to display the rubberband.
mxKeyHandler.prototype.shiftKeys
Maps from keycodes to functions for pressed shift keys.
Specifies the event name for show.
mxOutline.prototype.showViewport
Specifies a viewport rectangle should be shown.
mxUndoableEdit.prototype.significant
Specifies if the undoable change is significant.
mxGraphSelectionModel.prototype.singleSelection
Specifies if only one selected item at a time is allowed.
mxVertexHandler.prototype.singleSizer
Specifies if only one sizer handle at the bottom, right corner should be used.
mxUndoManager.prototype.size
Maximum command history size.
Specifies the event name for size.
mxOutline.prototype.sizerImage
Optional mxImage to be used for the sizer.
mxPopupMenu.prototype.smartSeparators
Specifies if separators should only be added if a menu item follows them.
mxEdgeHandler.prototype.snapToTerminals
Specifies if waypoints should snap to the routing centers of terminals.
mxCompactTreeLayout.prototype.sortEdges
Specifies if edges should be sorted according to the order of their opposite terminal cell in the model.
mxRadialTreeLayout.prototype.sortEdges
Specifies if edges should be sorted according to the order of their opposite terminal cell in the model.
mxCell.prototype.source
Reference to the source terminal.
mxGraphHierarchyEdge.prototype.source
The node this edge is sourced at
mxMultiplicity.prototype.source
Boolean that specifies if the rule is applied to the source or target terminal of an edge.
mxUndoableEdit.prototype.source
Specifies the source of the edit.
mxGeometry.prototype.sourcePoint
Defines the source mxPoint of the edge.
mxGraphHierarchyModel.prototype.SOURCESCANSTARTRANK
High value to start source layering scan rank value from.
mxSwimlaneModel.prototype.SOURCESCANSTARTRANK
High value to start source layering scan rank value from.
mxMouseEvent.prototype.sourceState
Holds the mxCellState that was passed to the constructor.
mxCellHighlight.prototype.spacing
Specifies the spacing between the highlight for vertices and the vertex.
mxDefaultToolbar.prototype.spacing
Defines the spacing between existing and new vertices in gridSize units when a new vertex is dropped on an existing cell.
mxLabel.prototype.spacing
Default value for image spacing.
mxParallelEdgeLayout.prototype.spacing
Defines the spacing between the parallels.
mxPartitionLayout.prototype.spacing
Integer that specifies the absolute spacing in pixels between the children.
mxStackLayout.prototype.spacing
Specifies the spacing between the cells.
Specifies the event name for splitEdge.
mxGraph.prototype.splitEnabled
Specifies if dropping onto edges should be enabled.
mxImage.prototype.src
String that specifies the URL of the image.
Specifies the event name for start.
Specifies the event name for startEdit.
Specifies the event name for startEditing.
mxPanningHandler.prototype.startX
Holds the x-coordinate of the start point.
mxPanningHandler.prototype.startY
Holds the y-coordinate of the start point.
mxAbstractCanvas2D.prototype.state
Holds the current state.
mxCellHighlight.prototype.state
Reference to the mxCellState.
mxEdgeHandler.prototype.state
Reference to the mxCellState being modified.
mxMouseEvent.prototype.state
Holds the optional mxCellState associated with this event.
mxShape.prototype.state
Optional reference to the corresponding mxCellState.
mxVertexHandler.prototype.state
Reference to the mxCellState being modified.
mxAbstractCanvas2D.prototype.states
Stack of states.
mxGuide.prototype.states
Contains the mxCellStates that are used for alignment.
mxEditor.prototype.status
DOM container that holds the statusbar.
mxShape.prototype.stencil
Holds the mxStencil that defines the shape.
mxShape.prototype.stencilPointerEvents
Specifies if pointer events outside of stencils should be handled.
mxMorphing.prototype.step
Contains the current step.
mxMorphing.prototype.steps
Specifies the maximum number of steps for the morphing.
Defines the step size to offset the cells after each paste operation.
mxEdgeHandler.prototype.straightRemoveEnabled
Specifies if removing bends by creating straight segments should be enabled.
mxSvgCanvas2D.prototype.strokeTolerance
Adds transparent paths for strokes.
mxStencil.prototype.strokewidth
Holds the strokewidth direction from the description.
mxCell.prototype.style
Holds the style as a string of the form [(stylename|key=value);].
mxCellState.prototype.style
Contains an array of key, value pairs that represent the style of the cell.
mxShape.prototype.style
Optional reference to the style of the corresponding mxCellState.
Defines the key for the align style.
Defines the rounding factor for a rounded rectangle in percent (without the percent sign).
Defines the key for the aspect style.
Defines the key for the autosize style.
Defines the key for the bendable style.
Defines the key for the cloneable style.
Defines the key for the curved style.
Defines the key for the dashed style.
Defines the key for the deletable style.
Defines the key for the direction style.
Defines the key for the edge style.
Defines the key for the editable style.
Defines the key for the elbow style.
Defines the key for the end arrow marker.
Defines the key for the endFill style.
Defines the key for the endSize style.
Defines if the perimeter should be used to find the exact entry point along the perimeter of the target.
Defines the key for the horizontal relative coordinate connection point of an edge with its target terminal.
Defines the key for the vertical relative coordinate connection point of an edge with its target terminal.
Defines if the perimeter should be used to find the exact entry point along the perimeter of the source.
Defines the key for the horizontal relative coordinate connection point of an edge with its source terminal.
Defines the key for the vertical relative coordinate connection point of an edge with its source terminal.
Defines the key for the fill opacity style.
Defines the key for the fill color.
Defines the key for the horizontal image flip.
Defines the key for the vertical flip.
Defines the key for the foldable style.
Defines the key for the fontColor style.
Defines the key for the fontFamily style.
Defines the key for the fontSize style (in points).
Defines the key for the fontStyle style.
Defines the key for the glass style.
Defines the key for the gradient direction.
Defines the key for the gradient color.
Defines the key for the horizontal style.
Defines the key for the image style.
Defines the key for the align style.
Defines the key for the image aspect style.
Defines the key for the image background color.
Defines the key for the image border color.
Defines the key for the imageHeight style.
Defines the key for the verticalAlign style.
Defines the key for the imageWidth style.
Defines the key for the indicatorColor style.
Defines the key for the indicatorDirection style.
Defines the key for the indicatorGradientColor style.
Defines the key for the indicator height.
Defines the key for the indicator image used within an mxLabel.
Defines the key for the indicator shape used within an mxLabel.
The defines the key for the spacing between the label and the indicator in mxLabel.
Defines the key for the indicator stroke color in mxLabel.
Defines the key for the indicator width.
Defines the key for the jetty size in mxEdgeStyle.OrthConnector.
Defines the key for the label background color.
Defines the key for the label border color.
Defines the key for the label padding, ie.
Defines the key for the horizontal label position of vertices.
Defines the key for the width of the label if the label position is not center.
Defines the key for the loop style.
Defines the key for the margin between the ellipses in the double ellipse shape.
Defines the key for the movable style.
Defines the key for the noEdgeStyle style.
Defines the key for the noLabel style.
Defines the key for the opacity style.
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.
Defines the key for the orthogonal loop style.
Defines the key for the overflow style.
Defines the key for the perimeter style.
Defines the key for the perimeter spacing.
Specifies if pointer events should be fired on transparent backgrounds.
Defines the direction(s) that edges are allowed to connect to cells in.
Define whether port constraint directions are rotated with vertex rotation.
Defines the key for the resizable style.
Defines the key for the resizeWidth style.
Defines the key for the rotatable style.
Defines the key for the rotation style.
Defines the key for the rounded style.
Defines the key for the horizontal routing center.
Defines the key for the vertical routing center.
Defines the key for the segment style.
Defines the key for the separatorColor style.
Defines the key for the shadow style.
Defines the key for the shape.
An experimental style for edges.
Defines the key for the jetty size in mxEdgeStyle.OrthConnector.
Defines the key for the source perimeter spacing.
Defines the ID of the cell that should be used for computing the perimeter point of the source for an edge.
Defines the key for the spacing.
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).
Defines the key for the spacingLeft style.
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).
Defines the key for the spacingTop style.
Defines the key for the start arrow marker.
Defines the key for the startFill style.
Defines the key for the startSize style.
Defines the key for the stroke opacity style.
Defines the key for the strokeColor style.
Defines the key for the strokeWidth style.
Defines the key for the fill color of the swimlane background.
Defines the key for the swimlaneLine style.
Defines the key for the target perimeter spacing.
Defines the ID of the cell that should be used for computing the perimeter point of the target for an edge.
Defines the key for the text direction style.
Defines the key for the text opacity style.
Defines the key for the verticalAlign style.
Defines the key for the vertical label position of vertices.
Defines the key for the white-space style.
this.styleEnabled
Stores the value of styleEnabled passed to the constructor.
mxGraph.prototype.stylesheet
Holds the mxStylesheet that defines the appearance of the cells.
mxPopupMenu.prototype.submenuImage
URL of the image to be used for the submenu icon.
Specifies the event name for suspend.
mxOutline.prototype.suspended
Optional boolean flag to suspend updates.
mxShape.prototype.svgPointerEvents
Specifies if pointer events should be handled.
mxCylinder.prototype.svgStrokeTolerance
Sets stroke tolerance to 0 for SVG.
mxShape.prototype.svgStrokeTolerance
Event-tolerance for SVG strokes (in px).
mxGraph.prototype.swimlaneIndicatorColorAttribute
The attribute used to find the color for the indicator if the indicator color is set to ‘swimlane’.
mxGraph.prototype.swimlaneNesting
Specifies if nesting of swimlanes is allowed.
mxEditor.prototype.swimlaneRequired
Specifies if new cells must be inserted into an existing swimlane.
mxSwimlaneLayout.prototype.swimlanes
Holds the array of mxCell of the ordered swimlanes to lay out
mxGraph.prototype.swimlaneSelectionEnabled
Specifies if swimlanes should be selectable via the content if the mouse is released.
mxEditor.prototype.swimlaneSpacing
Specifies the spacing between swimlanes if automatic layout is turned on in layoutDiagram.
diff --git a/docs/js-api/index/Variables14.html b/docs/js-api/index/Variables14.html index d226c05d7..daba8083d 100644 --- a/docs/js-api/index/Variables14.html +++ b/docs/js-api/index/Variables14.html @@ -11,9 +11,9 @@ if (browserType) {document.write("
");if (browserV -
Variable Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
T
 table, mxForm
 TAP_AND_HOLD, mxEvent
 tapAndHoldDelay, mxGraph
 tapAndHoldEnabled, mxGraph
 tapAndHoldInProgress, mxGraph
 tapAndHoldValid, mxGraph
 target
 TARGET_HIGHLIGHT_COLOR, mxConstants
 targetConnectImage, mxConnectionHandler
 targetJettySize, mxConstants
 targetPoint, mxGeometry
 targetWindow, mxPrintPreview
 tasks, mxEditor
 tasksResource, mxEditor
 tasksTop, mxEditor
 tasksWindowImage, mxEditor
 temp, mxGraphAbstractHierarchyCell
 temperature, mxFastOrganicLayout
 template, mxObjectCodec
 templates, mxEditor
 terminalDistance, mxCellState
 text, mxCellState
 TEXT_DIRECTION_AUTO, mxConstants
 TEXT_DIRECTION_DEFAULT, mxConstants
 TEXT_DIRECTION_LTR, mxConstants
 TEXT_DIRECTION_RTL, mxConstants
 textarea, mxCellEditor
 textEnabled
 textNode, mxCellEditor
 textOffset, mxSvgCanvas2D
 textWidthPadding, mxText
 thread, mxAnimation
 tightenToSource
 timerAutoScroll, mxGraph
 title
 TOGGLE_CELLS, mxEvent
 tolerance
 toolbar
 tooltip, mxCellOverlay
 TOOLTIP_VERTICAL_OFFSET, mxConstants
 TRACE, mxLog
 translate, mxGraphView
 TRANSLATE, mxEvent
 TRANSLATE_CONTROL_POINTS, mxGeometry
 translateToScrollPosition, mxGraph
 traverseAncestors
 trigger, mxCellEditor
 triggerX, mxPopupMenuHandler
 triggerY, mxPopupMenuHandler
 type, mxMultiplicity
 typeError, mxMultiplicity
+
Variable Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
T
 table, mxForm
 TAP_AND_HOLD, mxEvent
 tapAndHoldDelay, mxGraph
 tapAndHoldEnabled, mxGraph
 tapAndHoldInProgress, mxGraph
 tapAndHoldValid, mxGraph
 target
 TARGET_HIGHLIGHT_COLOR, mxConstants
 targetConnectImage, mxConnectionHandler
 targetJettySize, mxConstants
 targetPoint, mxGeometry
 targetWindow, mxPrintPreview
 tasks, mxEditor
 tasksResource, mxEditor
 tasksTop, mxEditor
 tasksWindowImage, mxEditor
 temp, mxGraphAbstractHierarchyCell
 temperature, mxFastOrganicLayout
 template, mxObjectCodec
 templates, mxEditor
 terminalDistance, mxCellState
 text, mxCellState
 TEXT_DIRECTION_AUTO, mxConstants
 TEXT_DIRECTION_DEFAULT, mxConstants
 TEXT_DIRECTION_LTR, mxConstants
 TEXT_DIRECTION_RTL, mxConstants
 textarea, mxCellEditor
 textEnabled
 textNode, mxCellEditor
 textOffset, mxSvgCanvas2D
 textWidthPadding, mxText
 thread, mxAnimation
 tightenToSource
 timerAutoScroll, mxGraph
 title
 TOGGLE_CELLS, mxEvent
 tolerance
 toolbar
 tooltip, mxCellOverlay
 TOOLTIP_VERTICAL_OFFSET, mxConstants
 TRACE, mxLog
 translate, mxGraphView
 TRANSLATE, mxEvent
 TRANSLATE_CONTROL_POINTS, mxGeometry
 translateToScrollPosition, mxGraph
 traverseAncestors
 trigger, mxCellEditor
 triggerX, mxPopupMenuHandler
 triggerY, mxPopupMenuHandler
 type, mxMultiplicity
 typeError, mxMultiplicity
-
mxForm.prototype.table
Holds the DOM node that represents the table.
Specifies the event name for tapAndHold.
mxGraph.prototype.tapAndHoldDelay
Specifies the time for a tap and hold.
mxGraph.prototype.tapAndHoldEnabled
Specifies if tap and hold should be used for starting connections on touch-based devices.
mxGraph.prototype.tapAndHoldInProgress
True if the timer for tap and hold events is running.
mxGraph.prototype.tapAndHoldValid
True as long as the timer is running and the touch events stay within the given tapAndHoldTolerance.
mxCell.prototype.target
Reference to the target terminal.
mxGraphHierarchyEdge.prototype.target
The node this edge targets
mxKeyHandler.prototype.target
Reference to the target DOM, that is, the DOM node where the key event listeners are installed.
Defines the color to be used for highlighting a target cell for a new or changed connection.
mxConnectionHandler.prototype.targetConnectImage
Specifies if the connect icon should be centered on the target state while connections are being previewed.
Defines the key for the jetty size in mxEdgeStyle.OrthConnector.
mxGeometry.prototype.targetPoint
Defines the target mxPoint of the edge.
mxPrintPreview.prototype.targetWindow
Assign any window here to redirect the rendering in open.
mxEditor.prototype.tasks
Holds the mxWindow created in showTasks.
mxEditor.prototype.tasksResource
Specifies the resource key for the tasks window title.
mxEditor.prototype.tasksTop
Specifies the top coordinate of the tasks window in pixels.
mxEditor.prototype.tasksWindowImage
Icon for the tasks window.
mxGraphAbstractHierarchyCell.prototype.temp
Temporary variable for general use.
mxFastOrganicLayout.prototype.temperature
Temperature to limit displacement at later stages of layout.
mxObjectCodec.prototype.template
Holds the template object associated with this codec.
mxEditor.prototype.templates
Maps from names to protoype cells to be used in the toolbar for inserting new cells into the diagram.
mxCellState.prototype.terminalDistance
Caches the distance between the end points for an edge.
mxCellState.prototype.text
Holds the mxText that represents the label of the cell.
Constant for text direction automatic.
Constant for text direction default.
Constant for text direction left to right.
Constant for text direction right to left.
mxCellEditor.prototype.textarea
Holds the DIV that is used for text editing.
mxSvgCanvas2D.prototype.textEnabled
Specifies if text output should be enabled.
mxVmlCanvas2D.prototype.textEnabled
Specifies if text output should be enabledetB.
mxXmlCanvas2D.prototype.textEnabled
Specifies if text output should be enabled.
mxCellEditor.prototype.textNode
Reference to the label DOM node that has been hidden.
mxSvgCanvas2D.prototype.textOffset
Offset to be used for text elements.
mxText.prototype.textWidthPadding
Specifies the padding to be added to the text width for the bounding box.
mxAnimation.prototype.thread
Reference to the thread while the animation is running.
mxGraphHierarchyModel.prototype.tightenToSource
Whether or not to tighten the assigned ranks of vertices up towards the source cells.
mxHierarchicalLayout.prototype.tightenToSource
Whether or not to tighten the assigned ranks of vertices up towards the source cells.
mxSwimlaneLayout.prototype.tightenToSource
Whether or not to tighten the assigned ranks of vertices up towards the source cells.
mxGraphHierarchyModel.prototype.tightenToSource
Whether or not to tighten the assigned ranks of vertices up towards the source cells.
mxGraph.prototype.timerAutoScroll
Specifies if autoscrolling should be carried out via mxPanningManager even if the container has scrollbars.
mxPrintPreview.prototype.title
Holds the title of the preview window.
mxWindow.prototype.title
Reference to the DOM node (TD) that contains the title.
Specifies the event name for toggleCells.
mxEdgeHandler.prototype.tolerance
Optional tolerance for hit-detection in getHandleForEvent.
mxGraph.prototype.tolerance
Tolerance for a move to be handled as a single click.
mxVertexHandler.prototype.tolerance
Optional tolerance for hit-detection in getHandleForEvent.
mxDefaultToolbar.prototype.toolbar
Holds the internal mxToolbar.
mxEditor.prototype.toolbar
Holds a mxDefaultToolbar for displaying the toolbar.
mxCellOverlay.prototype.tooltip
Holds the optional string to be used as the tooltip.
Defines the vertical offset for the tooltip.
Specified if the output for enter and leave should be visible in the console.
mxGraphView.prototype.translate
mxPoint that specifies the current translation.
Specifies the event name for translate.
mxGeometry.prototype.TRANSLATE_CONTROL_POINTS
Global switch to translate the points in translate.
mxGraph.prototype.translateToScrollPosition
Specifies if the graph should automatically convert the current scroll position to a translate in the graph view when a mouseUp event is received.
mxHierarchicalLayout.prototype.traverseAncestors
Whether or not to drill into child cells and layout in reverse group order.
mxSwimlaneLayout.prototype.traverseAncestors
Whether or not to drill into child cells and layout in reverse group order.
mxCellEditor.prototype.trigger
Reference to the event that was used to start editing.
mxPopupMenuHandler.prototype.triggerX
X-coordinate of the mouse down event.
mxPopupMenuHandler.prototype.triggerY
Y-coordinate of the mouse down event.
mxMultiplicity.prototype.type
Defines the type of the source or target terminal.
mxMultiplicity.prototype.typeError
Holds the localized error message to be displayed if the type of the neighbor for a connection does not match the rule.
+
mxForm.prototype.table
Holds the DOM node that represents the table.
Specifies the event name for tapAndHold.
mxGraph.prototype.tapAndHoldDelay
Specifies the time for a tap and hold.
mxGraph.prototype.tapAndHoldEnabled
Specifies if tap and hold should be used for starting connections on touch-based devices.
mxGraph.prototype.tapAndHoldInProgress
True if the timer for tap and hold events is running.
mxGraph.prototype.tapAndHoldValid
True as long as the timer is running and the touch events stay within the given tapAndHoldTolerance.
mxCell.prototype.target
Reference to the target terminal.
mxGraphHierarchyEdge.prototype.target
The node this edge targets
mxKeyHandler.prototype.target
Reference to the target DOM, that is, the DOM node where the key event listeners are installed.
Defines the color to be used for highlighting a target cell for a new or changed connection.
mxConnectionHandler.prototype.targetConnectImage
Specifies if the connect icon should be centered on the target state while connections are being previewed.
Defines the key for the jetty size in mxEdgeStyle.OrthConnector.
mxGeometry.prototype.targetPoint
Defines the target mxPoint of the edge.
mxPrintPreview.prototype.targetWindow
Assign any window here to redirect the rendering in open.
mxEditor.prototype.tasks
Holds the mxWindow created in showTasks.
mxEditor.prototype.tasksResource
Specifies the resource key for the tasks window title.
mxEditor.prototype.tasksTop
Specifies the top coordinate of the tasks window in pixels.
mxEditor.prototype.tasksWindowImage
Icon for the tasks window.
mxGraphAbstractHierarchyCell.prototype.temp
Temporary variable for general use.
mxFastOrganicLayout.prototype.temperature
Temperature to limit displacement at later stages of layout.
mxObjectCodec.prototype.template
Holds the template object associated with this codec.
mxEditor.prototype.templates
Maps from names to protoype cells to be used in the toolbar for inserting new cells into the diagram.
mxCellState.prototype.terminalDistance
Caches the distance between the end points for an edge.
mxCellState.prototype.text
Holds the mxText that represents the label of the cell.
Constant for text direction automatic.
Constant for text direction default.
Constant for text direction left to right.
Constant for text direction right to left.
mxCellEditor.prototype.textarea
Holds the DIV that is used for text editing.
mxSvgCanvas2D.prototype.textEnabled
Specifies if text output should be enabled.
mxVmlCanvas2D.prototype.textEnabled
Specifies if text output should be enabledetB.
mxXmlCanvas2D.prototype.textEnabled
Specifies if text output should be enabled.
mxCellEditor.prototype.textNode
Reference to the label DOM node that has been hidden.
mxSvgCanvas2D.prototype.textOffset
Offset to be used for text elements.
mxText.prototype.textWidthPadding
Specifies the padding to be added to the text width for the bounding box.
mxAnimation.prototype.thread
Reference to the thread while the animation is running.
mxGraphHierarchyModel.prototype.tightenToSource
Whether or not to tighten the assigned ranks of vertices up towards the source cells.
mxHierarchicalLayout.prototype.tightenToSource
Whether or not to tighten the assigned ranks of vertices up towards the source cells.
mxSwimlaneLayout.prototype.tightenToSource
Whether or not to tighten the assigned ranks of vertices up towards the source cells.
mxGraphHierarchyModel.prototype.tightenToSource
Whether or not to tighten the assigned ranks of vertices up towards the source cells.
mxGraph.prototype.timerAutoScroll
Specifies if autoscrolling should be carried out via mxPanningManager even if the container has scrollbars.
mxPrintPreview.prototype.title
Holds the title of the preview window.
mxWindow.prototype.title
Reference to the DOM node (TD) that contains the title.
Specifies the event name for toggleCells.
mxEdgeHandler.prototype.tolerance
Optional tolerance for hit-detection in getHandleForEvent.
mxGraph.prototype.tolerance
Tolerance for a move to be handled as a single click.
mxVertexHandler.prototype.tolerance
Optional tolerance for hit-detection in getHandleForEvent.
mxDefaultToolbar.prototype.toolbar
Holds the internal mxToolbar.
mxEditor.prototype.toolbar
Holds a mxDefaultToolbar for displaying the toolbar.
mxCellOverlay.prototype.tooltip
Holds the optional string to be used as the tooltip.
Defines the vertical offset for the tooltip.
Specified if the output for enter and leave should be visible in the console.
mxGraphView.prototype.translate
mxPoint that specifies the current translation.
Specifies the event name for translate.
mxGeometry.prototype.TRANSLATE_CONTROL_POINTS
Global switch to translate the points in translate.
mxGraph.prototype.translateToScrollPosition
Specifies if the graph should automatically convert the current scroll position to a translate in the graph view when a mouseUp event is received.
mxHierarchicalLayout.prototype.traverseAncestors
Whether or not to drill into child cells and layout in reverse group order.
mxSwimlaneLayout.prototype.traverseAncestors
Whether or not to drill into child cells and layout in reverse group order.
mxCellEditor.prototype.trigger
Reference to the event that was used to start editing.
mxPopupMenuHandler.prototype.triggerX
X-coordinate of the mouse down event.
mxPopupMenuHandler.prototype.triggerY
Y-coordinate of the mouse down event.
mxMultiplicity.prototype.type
Defines the type of the source or target terminal.
mxMultiplicity.prototype.typeError
Holds the localized error message to be displayed if the type of the neighbor for a connection does not match the rule.
diff --git a/docs/js-api/index/Variables15.html b/docs/js-api/index/Variables15.html index 64a40a673..ed52fb166 100644 --- a/docs/js-api/index/Variables15.html +++ b/docs/js-api/index/Variables15.html @@ -11,21 +11,21 @@ if (browserType) {document.write("
");if (browserV -
Variable Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
U
 UNDO, mxEvent
 undoManager, mxEditor
 undone, mxUndoableEdit
 UNGROUP_CELLS, mxEvent
 unscaledWidth, mxCellState
 UP, mxEvent
 UPDATE_CELL_SIZE, mxEvent
 updateCursor, mxGraphHandler
 updateDefaultMode, mxToolbar
 updateHandler, mxLayoutManager
 updateLevel, mxGraphModel
 updateOnPan, mxOutline
 updateStyle, mxGraphView
 updatingSelectionResource, mxGraphSelectionModel
 url, mxXmlRequest
 urlHelp, mxEditor
 urlImage, mxEditor
 urlPost, mxEditor
 useBoundingBox, mxGraphLayout
 useGrid, mxPanningHandler
 useInputOrigin, mxFastOrganicLayout
 useLeftButtonForPanning, mxPanningHandler
 useLeftButtonForPopup, mxPopupMenu
 usePopupTrigger, mxPanningHandler
 username, mxXmlRequest
 useScrollbarsForPanning, mxGraph
 useSvgBoundingBox
V
 VALID_COLOR, mxConstants
 validating, mxEditor
 validColor, mxCellMarker
 validNeighbors, mxMultiplicity
 validNeighborsAllowed, mxMultiplicity
 validState, mxCellMarker
 value
 values, mxStyleRegistry
 VERSION, mxClient
 vertex, mxCell
 VERTEX_SELECTION_COLOR, mxConstants
 VERTEX_SELECTION_STROKEWIDTH, mxConstants
 vertexArray, mxFastOrganicLayout
 vertexLabelsMovable, mxGraph
 vertexMapper
 vertical, mxGuide
 verticalAlign, mxCellOverlay
 verticalOffset, mxVertexHandler
 verticalTextRotation, mxText
 view
 VIRTUAL_HANDLE, mxEvent
 virtualBendOpacity, mxEdgeHandler
 virtualBendsEnabled, mxEdgeHandler
 visible
 visibleSourceState, mxCellState
 visibleTargetState, mxCellState
 visited
 VML_PREFIX, mxClient
 VML_SHADOWCOLOR, mxConstants
 vmlScale
W
 w0, mxStencil
 WARN, mxLog
 warningImage, mxGraph
 waypointsEnabled, mxConnectionHandler
 weightedValue, WeightedCellSorter
 widestRank, mxCoordinateAssignment
 widestRankValue, mxCoordinateAssignment
 width
 withCredentials, mxXmlRequest
 wnd, mxPrintPreview
 wordWrapPadding, mxCellEditor
 wrap, mxStackLayout
X
 x
 x0
+
Variable Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
U
 UNDO, mxEvent
 undoManager, mxEditor
 undone, mxUndoableEdit
 UNGROUP_CELLS, mxEvent
 unscaledWidth, mxCellState
 UP, mxEvent
 UPDATE_CELL_SIZE, mxEvent
 updateCursor, mxGraphHandler
 updateDefaultMode, mxToolbar
 updateHandler, mxLayoutManager
 updateLevel, mxGraphModel
 updateOnPan, mxOutline
 updateStyle, mxGraphView
 updatingSelectionResource, mxGraphSelectionModel
 url, mxXmlRequest
 urlHelp, mxEditor
 urlImage, mxEditor
 urlPost, mxEditor
 useBoundingBox, mxGraphLayout
 useGrid, mxPanningHandler
 useInputOrigin, mxFastOrganicLayout
 useLeftButtonForPanning, mxPanningHandler
 useLeftButtonForPopup, mxPopupMenu
 usePopupTrigger, mxPanningHandler
 username, mxXmlRequest
 useScrollbarsForPanning, mxGraph
 useSvgBoundingBox
V
 VALID_COLOR, mxConstants
 validating, mxEditor
 validColor, mxCellMarker
 validNeighbors, mxMultiplicity
 validNeighborsAllowed, mxMultiplicity
 validState, mxCellMarker
 value
 values, mxStyleRegistry
 VERSION, mxClient
 vertex, mxCell
 VERTEX_SELECTION_COLOR, mxConstants
 VERTEX_SELECTION_STROKEWIDTH, mxConstants
 vertexArray, mxFastOrganicLayout
 vertexLabelsMovable, mxGraph
 vertexMapper
 vertical, mxGuide
 verticalAlign, mxCellOverlay
 verticalOffset, mxVertexHandler
 verticalTextRotation, mxText
 view
 VIRTUAL_HANDLE, mxEvent
 virtualBendOpacity, mxEdgeHandler
 virtualBendsEnabled, mxEdgeHandler
 visible
 visibleSourceState, mxCellState
 visibleTargetState, mxCellState
 visited
 VML_PREFIX, mxClient
 VML_SHADOWCOLOR, mxConstants
 vmlScale
W
 w0, mxStencil
 WARN, mxLog
 warningImage, mxGraph
 waypointsEnabled, mxConnectionHandler
 weightedValue, WeightedCellSorter
 widestRank, mxCoordinateAssignment
 widestRankValue, mxCoordinateAssignment
 width
 withCredentials, mxXmlRequest
 wnd, mxPrintPreview
 wordWrapPadding, mxCellEditor
 wrap, mxStackLayout
X
 x
 x0
-
Specifies the event name for undo.
mxEditor.prototype.undoManager
Holds an mxUndoManager for the command history.
mxUndoableEdit.prototype.undone
Specifies if this edit has been undone.
Specifies the event name for ungroupCells.
mxCellState.prototype.unscaledWidth
Holds the unscaled width of the state.
Specifies the event name for up.
Specifies the event name for updateCellSize.
mxGraphHandler.prototype.updateCursor
Specifies if a move cursor should be shown if the mouse is over a movable cell.
mxToolbar.prototype.updateDefaultMode
Boolean indicating if the default mode should be the last selected switch mode or the first inserted switch mode.
mxLayoutManager.prototype.updateHandler
Holds the function that handles the endUpdate event.
mxGraphModel.prototype.updateLevel
Counter for the depth of nested transactions.
mxOutline.prototype.updateOnPan
Specifies if update should be called for mxEvent.PAN in the source graph.
mxGraphView.prototype.updateStyle
Specifies if the style should be updated in each validation step.
mxGraphSelectionModel.prototype.updatingSelectionResource
Specifies the resource key for the status message while the selection is being updated.
mxXmlRequest.prototype.url
Holds the target URL of the request.
mxEditor.prototype.urlHelp
Specifies the URL to be used for the contents of the Online Help window.
mxEditor.prototype.urlImage
Specifies the URL to be used for creating a bitmap of the graph in the image action.
mxEditor.prototype.urlPost
Specifies the URL to be used for posting the diagram to a backend in save.
mxGraphLayout.prototype.useBoundingBox
Boolean indicating if the bounding box of the label should be used if its available.
mxPanningHandler.prototype.useGrid
Specifies if the panning steps should be aligned to the grid size.
mxFastOrganicLayout.prototype.useInputOrigin
Specifies if the top left corner of the input cells should be the origin of the layout result.
mxPanningHandler.prototype.useLeftButtonForPanning
Specifies if panning should be active for the left mouse button.
mxPopupMenu.prototype.useLeftButtonForPopup
Specifies if popupmenus should be activated by clicking the left mouse button.
mxPanningHandler.prototype.usePopupTrigger
Specifies if mxEvent.isPopupTrigger should also be used for panning.
mxXmlRequest.prototype.username
Specifies the username to be used for authentication.
mxGraph.prototype.useScrollbarsForPanning
Specifies if scrollbars should be used for panning in panGraph if any scrollbars are available.
mxArrowConnector.prototype.useSvgBoundingBox
Allows to use the SVG bounding box in SVG.
mxShape.prototype.useSvgBoundingBox
Allows to use the SVG bounding box in SVG.
+
Specifies the event name for undo.
mxEditor.prototype.undoManager
Holds an mxUndoManager for the command history.
mxUndoableEdit.prototype.undone
Specifies if this edit has been undone.
Specifies the event name for ungroupCells.
mxCellState.prototype.unscaledWidth
Holds the unscaled width of the state.
Specifies the event name for up.
Specifies the event name for updateCellSize.
mxGraphHandler.prototype.updateCursor
Specifies if a move cursor should be shown if the mouse is over a movable cell.
mxToolbar.prototype.updateDefaultMode
Boolean indicating if the default mode should be the last selected switch mode or the first inserted switch mode.
mxLayoutManager.prototype.updateHandler
Holds the function that handles the endUpdate event.
mxGraphModel.prototype.updateLevel
Counter for the depth of nested transactions.
mxOutline.prototype.updateOnPan
Specifies if update should be called for mxEvent.PAN in the source graph.
mxGraphView.prototype.updateStyle
Specifies if the style should be updated in each validation step.
mxGraphSelectionModel.prototype.updatingSelectionResource
Specifies the resource key for the status message while the selection is being updated.
mxXmlRequest.prototype.url
Holds the target URL of the request.
mxEditor.prototype.urlHelp
Specifies the URL to be used for the contents of the Online Help window.
mxEditor.prototype.urlImage
Specifies the URL to be used for creating a bitmap of the graph in the image action.
mxEditor.prototype.urlPost
Specifies the URL to be used for posting the diagram to a backend in save.
mxGraphLayout.prototype.useBoundingBox
Boolean indicating if the bounding box of the label should be used if its available.
mxPanningHandler.prototype.useGrid
Specifies if the panning steps should be aligned to the grid size.
mxFastOrganicLayout.prototype.useInputOrigin
Specifies if the top left corner of the input cells should be the origin of the layout result.
mxPanningHandler.prototype.useLeftButtonForPanning
Specifies if panning should be active for the left mouse button.
mxPopupMenu.prototype.useLeftButtonForPopup
Specifies if popupmenus should be activated by clicking the left mouse button.
mxPanningHandler.prototype.usePopupTrigger
Specifies if mxEvent.isPopupTrigger should also be used for panning.
mxXmlRequest.prototype.username
Specifies the username to be used for authentication.
mxGraph.prototype.useScrollbarsForPanning
Specifies if scrollbars should be used for panning in panGraph if any scrollbars are available.
mxArrowConnector.prototype.useSvgBoundingBox
Allows to use the SVG bounding box in SVG.
mxShape.prototype.useSvgBoundingBox
Allows to use the SVG bounding box in SVG.
-
Defines the color to be used for the coloring valid connection previews.
mxEditor.prototype.validating
Specifies if mxGraph.validateGraph should automatically be invoked after each change.
mxCellMarker.prototype.validColor
Holds the valid marker color.
mxMultiplicity.prototype.validNeighbors
Holds an array of strings that specify the type of neighbor for which this rule applies.
mxMultiplicity.prototype.validNeighborsAllowed
Boolean indicating if the list of validNeighbors are those that are allowed for this rule or those that are not allowed for this rule.
mxCellMarker.prototype.validState
Holds the marked mxCellState if it is valid.
mxCell.prototype.value
Holds the user object.
mxMultiplicity.prototype.value
Optional string that specifies the value of the attribute to be passed to mxUtils.isNode to check if the rule applies to a cell.
Maps from strings to objects.
Contains the current version of the mxGraph library.
mxCell.prototype.vertex
Specifies whether the cell is a vertex.
Defines the color to be used for the selection border of vertices.
Defines the strokewidth to be used for vertex selections.
mxFastOrganicLayout.prototype.vertexArray
An array of all vertices to be laid out.
mxGraph.prototype.vertexLabelsMovable
Specifies the return value for vertices in isLabelMovable.
mxGraphHierarchyModel.prototype.vertexMapper
Map from graph vertices to internal model nodes.
mxSwimlaneModel.prototype.vertexMapper
Map from graph vertices to internal model nodes.
mxGuide.prototype.vertical
Specifies if vertical guides are enabled.
mxCellOverlay.prototype.verticalAlign
Holds the vertical alignment for the overlay.
mxVertexHandler.prototype.verticalOffset
The horizontal offset for the handles.
mxText.prototype.verticalTextRotation
Rotation for vertical text.
mxCellState.prototype.view
Reference to the enclosing mxGraphView.
mxGraph.prototype.view
Holds the mxGraphView that caches the mxCellStates for the cells.
mxTemporaryCellStates.prototype.view
Holds the width of the rectangle.
Start index for the virtual handles in an mxMouseEvent.
mxEdgeHandler.prototype.virtualBendOpacity
Opacity to be used for virtual bends (see virtualBendsEnabled).
mxEdgeHandler.prototype.virtualBendsEnabled
Specifies if virtual bends should be added in the center of each segments.
mxCell.prototype.visible
Specifies whether the cell is visible.
mxShape.prototype.visible
Specifies if the shape is visible.
mxWindow.prototype.visible
Boolean flag that represents the visible state of the window.
mxCellState.prototype.visibleSourceState
Caches the visible source terminal state.
mxCellState.prototype.visibleTargetState
Caches the visible target terminal state.
mxCompactTreeLayout.prototype.visited
Specifies if the tree should be moved to the top, left corner if it is inside a top-level layer.
WeightedCellSorter.prototype.visited
Whether or not this cell has been visited in the current assignment.
Prefix for VML namespace in node names.
Used for shadow color in filters where transparency is not supported (Microsoft Internet Explorer).
mxDoubleEllipse.prototype.vmlScale
Scale for improving the precision of VML rendering.
mxShape.prototype.vmlScale
Scale for improving the precision of VML rendering.
mxVmlCanvas2D.prototype.vmlScale
Specifies the scale used to draw VML shapes.
+
Defines the color to be used for the coloring valid connection previews.
mxEditor.prototype.validating
Specifies if mxGraph.validateGraph should automatically be invoked after each change.
mxCellMarker.prototype.validColor
Holds the valid marker color.
mxMultiplicity.prototype.validNeighbors
Holds an array of strings that specify the type of neighbor for which this rule applies.
mxMultiplicity.prototype.validNeighborsAllowed
Boolean indicating if the list of validNeighbors are those that are allowed for this rule or those that are not allowed for this rule.
mxCellMarker.prototype.validState
Holds the marked mxCellState if it is valid.
mxCell.prototype.value
Holds the user object.
mxMultiplicity.prototype.value
Optional string that specifies the value of the attribute to be passed to mxUtils.isNode to check if the rule applies to a cell.
Maps from strings to objects.
Contains the current version of the mxGraph library.
mxCell.prototype.vertex
Specifies whether the cell is a vertex.
Defines the color to be used for the selection border of vertices.
Defines the strokewidth to be used for vertex selections.
mxFastOrganicLayout.prototype.vertexArray
An array of all vertices to be laid out.
mxGraph.prototype.vertexLabelsMovable
Specifies the return value for vertices in isLabelMovable.
mxGraphHierarchyModel.prototype.vertexMapper
Map from graph vertices to internal model nodes.
mxSwimlaneModel.prototype.vertexMapper
Map from graph vertices to internal model nodes.
mxGuide.prototype.vertical
Specifies if vertical guides are enabled.
mxCellOverlay.prototype.verticalAlign
Holds the vertical alignment for the overlay.
mxVertexHandler.prototype.verticalOffset
The horizontal offset for the handles.
mxText.prototype.verticalTextRotation
Rotation for vertical text.
mxCellState.prototype.view
Reference to the enclosing mxGraphView.
mxGraph.prototype.view
Holds the mxGraphView that caches the mxCellStates for the cells.
mxTemporaryCellStates.prototype.view
Holds the width of the rectangle.
Start index for the virtual handles in an mxMouseEvent.
mxEdgeHandler.prototype.virtualBendOpacity
Opacity to be used for virtual bends (see virtualBendsEnabled).
mxEdgeHandler.prototype.virtualBendsEnabled
Specifies if virtual bends should be added in the center of each segments.
mxCell.prototype.visible
Specifies whether the cell is visible.
mxShape.prototype.visible
Specifies if the shape is visible.
mxWindow.prototype.visible
Boolean flag that represents the visible state of the window.
mxCellState.prototype.visibleSourceState
Caches the visible source terminal state.
mxCellState.prototype.visibleTargetState
Caches the visible target terminal state.
mxCompactTreeLayout.prototype.visited
Specifies if the tree should be moved to the top, left corner if it is inside a top-level layer.
WeightedCellSorter.prototype.visited
Whether or not this cell has been visited in the current assignment.
Prefix for VML namespace in node names.
Used for shadow color in filters where transparency is not supported (Microsoft Internet Explorer).
mxDoubleEllipse.prototype.vmlScale
Scale for improving the precision of VML rendering.
mxShape.prototype.vmlScale
Scale for improving the precision of VML rendering.
mxVmlCanvas2D.prototype.vmlScale
Specifies the scale used to draw VML shapes.
-
mxStencil.prototype.w0
Holds the width of the shape.
Specifies if the output for warn should be visible in the console.
mxGraph.prototype.warningImage
Specifies the mxImage for the image to be used to display a warning overlay.
mxConnectionHandler.prototype.waypointsEnabled
Specifies if single clicks should add waypoints on the new edge.
WeightedCellSorter.prototype.weightedValue
The weighted value of the cell stored.
mxCoordinateAssignment.prototype.widestRank
The rank that has the widest x position
mxCoordinateAssignment.prototype.widestRankValue
The X-coordinate of the edge of the widest rank
mxGraphAbstractHierarchyCell.prototype.width
The width of this cell
mxImage.prototype.width
Integer that specifies the width of the image.
mxRectangle.prototype.width
Holds the width of the rectangle.
mxXmlRequest.prototype.withCredentials
Specifies if withCredentials should be used in HTML5-compliant browsers.
mxPrintPreview.prototype.wnd
Reference to the preview window.
mxCellEditor.prototype.wordWrapPadding
Correction factor for word wrapping width.
mxStackLayout.prototype.wrap
Value at which a new column or row should be created.
+
mxStencil.prototype.w0
Holds the width of the shape.
Specifies if the output for warn should be visible in the console.
mxGraph.prototype.warningImage
Specifies the mxImage for the image to be used to display a warning overlay.
mxConnectionHandler.prototype.waypointsEnabled
Specifies if single clicks should add waypoints on the new edge.
WeightedCellSorter.prototype.weightedValue
The weighted value of the cell stored.
mxCoordinateAssignment.prototype.widestRank
The rank that has the widest x position
mxCoordinateAssignment.prototype.widestRankValue
The X-coordinate of the edge of the widest rank
mxGraphAbstractHierarchyCell.prototype.width
The width of this cell
mxImage.prototype.width
Integer that specifies the width of the image.
mxRectangle.prototype.width
Holds the width of the rectangle.
mxXmlRequest.prototype.withCredentials
Specifies if withCredentials should be used in HTML5-compliant browsers.
mxPrintPreview.prototype.wnd
Reference to the preview window.
mxCellEditor.prototype.wordWrapPadding
Correction factor for word wrapping width.
mxStackLayout.prototype.wrap
Value at which a new column or row should be created.
-
mxGraphAbstractHierarchyCell.prototype.x
The x position of this cell for each layer it occupies
mxPoint.prototype.x
Holds the x-coordinate of the point.
mxCircleLayout.prototype.x0
Integer specifying the left coordinate of the circle.
mxPrintPreview.prototype.x0
Holds the horizontal offset of the output.
mxStackLayout.prototype.x0
Specifies the horizontal origin of the layout.
+
mxGraphAbstractHierarchyCell.prototype.x
The x position of this cell for each layer it occupies
mxPoint.prototype.x
Holds the x-coordinate of the point.
mxCircleLayout.prototype.x0
Integer specifying the left coordinate of the circle.
mxPrintPreview.prototype.x0
Holds the horizontal offset of the output.
mxStackLayout.prototype.x0
Specifies the horizontal origin of the layout.
diff --git a/docs/js-api/index/Variables16.html b/docs/js-api/index/Variables16.html index cf94e8f0d..bd10196c7 100644 --- a/docs/js-api/index/Variables16.html +++ b/docs/js-api/index/Variables16.html @@ -11,13 +11,13 @@ if (browserType) {document.write("
");if (browserV -
Variable Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
Y
 y
 y0
Z
 zIndex
 zoomFactor, mxGraph
+
Variable Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
Y
 y
 y0
Z
 zIndex
 zoomFactor, mxGraph
-
mxGraphAbstractHierarchyCell.prototype.y
The y position of this cell for each layer it occupies
mxPoint.prototype.y
Holds the y-coordinate of the point.
mxCircleLayout.prototype.y0
Integer specifying the top coordinate of the circle.
mxPrintPreview.prototype.y0
Holds the vertical offset of the output.
mxStackLayout.prototype.y0
Specifies the vertical origin of the layout.
+
mxGraphAbstractHierarchyCell.prototype.y
The y position of this cell for each layer it occupies
mxPoint.prototype.y
Holds the y-coordinate of the point.
mxCircleLayout.prototype.y0
Integer specifying the top coordinate of the circle.
mxPrintPreview.prototype.y0
Holds the vertical offset of the output.
mxStackLayout.prototype.y0
Specifies the vertical origin of the layout.
-
mxCellEditor.prototype.zIndex
Specifies the zIndex for the textarea.
mxPopupMenu.prototype.zIndex
Specifies the zIndex for the popupmenu and its shadow.
mxTooltipHandler.prototype.zIndex
Specifies the zIndex for the tooltip and its shadow.
mxGraph.prototype.zoomFactor
Specifies the factor used for zoomIn and zoomOut.
+
mxCellEditor.prototype.zIndex
Specifies the zIndex for the textarea.
mxPopupMenu.prototype.zIndex
Specifies the zIndex for the popupmenu and its shadow.
mxTooltipHandler.prototype.zIndex
Specifies the zIndex for the tooltip and its shadow.
mxGraph.prototype.zoomFactor
Specifies the factor used for zoomIn and zoomOut.
diff --git a/docs/js-api/javascript/searchdata.js b/docs/js-api/javascript/searchdata.js index 9292135e6..d4019dd35 100644 --- a/docs/js-api/javascript/searchdata.js +++ b/docs/js-api/javascript/searchdata.js @@ -1,4 +1,34 @@ var indexSectionsWithContent = { + "Classes": { + "Symbols": false, + "Numbers": false, + "A": false, + "B": false, + "C": false, + "D": false, + "E": false, + "F": false, + "G": false, + "H": false, + "I": false, + "J": false, + "K": false, + "L": false, + "M": true, + "N": false, + "O": false, + "P": false, + "Q": false, + "R": false, + "S": false, + "T": false, + "U": false, + "V": false, + "W": true, + "X": false, + "Y": false, + "Z": false + }, "Cookies": { "Symbols": false, "Numbers": false, @@ -59,7 +89,7 @@ var indexSectionsWithContent = { "Y": false, "Z": false }, - "Events": { + "Variables": { "Symbols": false, "Numbers": false, "A": true, @@ -70,56 +100,26 @@ var indexSectionsWithContent = { "F": true, "G": true, "H": true, - "I": false, - "J": false, - "K": false, + "I": true, + "J": true, + "K": true, "L": true, "M": true, "N": true, "O": true, "P": true, - "Q": false, + "Q": true, "R": true, "S": true, "T": true, "U": true, - "V": false, - "W": false, - "X": false, - "Y": false, - "Z": false - }, - "Classes": { - "Symbols": false, - "Numbers": false, - "A": false, - "B": false, - "C": false, - "D": false, - "E": false, - "F": false, - "G": false, - "H": false, - "I": false, - "J": false, - "K": false, - "L": false, - "M": true, - "N": false, - "O": false, - "P": false, - "Q": false, - "R": false, - "S": false, - "T": false, - "U": false, - "V": false, + "V": true, "W": true, - "X": false, - "Y": false, - "Z": false + "X": true, + "Y": true, + "Z": true }, - "Variables": { + "General": { "Symbols": false, "Numbers": false, "A": true, @@ -179,7 +179,7 @@ var indexSectionsWithContent = { "Y": false, "Z": true }, - "General": { + "Events": { "Symbols": false, "Numbers": false, "A": true, @@ -190,23 +190,23 @@ var indexSectionsWithContent = { "F": true, "G": true, "H": true, - "I": true, - "J": true, - "K": true, + "I": false, + "J": false, + "K": false, "L": true, "M": true, "N": true, "O": true, "P": true, - "Q": true, + "Q": false, "R": true, "S": true, "T": true, "U": true, - "V": true, - "W": true, - "X": true, - "Y": true, - "Z": true + "V": false, + "W": false, + "X": false, + "Y": false, + "Z": false } } \ No newline at end of file diff --git a/docs/js-api/search/FunctionsI.html b/docs/js-api/search/FunctionsI.html index 3dca78c00..5b704c732 100644 --- a/docs/js-api/search/FunctionsI.html +++ b/docs/js-api/search/FunctionsI.html @@ -11,7 +11,7 @@ if (browserType) {document.write("
");if (browserV -
Loading...
importCells, mxGraph
importNode, mxUtils
include, mxClient
indexOf, mxUtils
info, mxLog
initBend, mxEdgeHandler
initControl, mxCellRenderer
initialCoords, mxCoordinateAssignment
initializeLabel, mxCellRenderer
initializeOverlay, mxCellRenderer
initializeShape, mxCellRenderer
initShape, mxHandle
insertBackgroundImage, mxPrintPreview
insertStateAfter, mxCellRenderer
insertVertex, mxGraph
installDropHandler, mxDefaultToolbar
installOverlayListeners, mxCellRenderer
intersection, mxUtils
invalidate, mxGraphView
invert, mxGraphHierarchyEdge
isAddEnabled, mxSwimlaneManager
isAddPointEvent, mxEdgeHandler
isAddVirtualBendEvent, mxEdgeHandler
isAllowEval, mxGraphView
isAllowLoops, mxGraph
isAltDown, mxEvent
isArrowRounded, mxArrowConnector
isBinary, mxXmlRequest
isBooleanAttribute, mxObjectCodec
isBubbling, mxLayoutManager
isCellHorizontal, mxSwimlaneManager
isCellLocked, mxGraph
isCellMovable, mxGraph
isCellsLocked, mxGraph
isCellVisible, mxGraph
isCenteredEvent, mxVertexHandler
isCloneEnabled, mxGraphHandler
isCloneEvent, mxGraph
isConnecting, mxConnectionHandler
isContainerEvent, mxGraphView
isCreateIds, mxGraphModel
isCreateTarget, mxConnectionHandler
isDelayedSelection, mxGraphHandler
isDropEnabled, mxGraph
isEdgeIgnored, mxGraphLayout
isEdgeValid, mxGraph
isEditing, mxGraph
isEventsEnabled, mxEventSource
isEventSource, mxCellEditor
isForcePanningEvent, mxPanningHandler
isGraphEvent, mxKeyHandler
isGuidesEnabled, mxDragSource
isHandleEnabled, mxEdgeHandler
isHandleVisible, mxEdgeHandler
isHideLabel, mxCellEditor
isHideOnHover, mxTooltipHandler
isHighlightAt, mxCellHighlight
isHotspotEnabled, mxCellMarker
isHtmlLabel, mxGraph
isHtmlLabels, mxGraph
isHtmlRequired, mxHandle
isIgnoredAttribute, mxObjectCodec
isImmediateConnectSource, mxConnectionHandler
isInsertBefore, mxConnectionHandler
isInteger, mxUtils
isKeepFocusEvent, mxConstraintHandler
isLabelEvent, mxCellRenderer
isLanguageSupported, mxResources
isLayer, mxGraphModel
isLivePreviewBorder, mxVertexHandler
isLoop, mxGraph
isLoopStyleEnabled, mxGraphView
isMarkerEnd, mxArrowConnector
isMarkerStart, mxArrowConnector
isMenuShowing, mxPopupMenu
isMetaDown, mxEvent
isModified, mxEditor
isMouseEvent, mxEvent
isMoveEnabled, mxGraphHandler
isMoveIconToFrontForState, mxConnectionHandler
isMultigraph, mxGraph
isNaN, mxUtils
isNode, mxUtils
isNumeric, mxUtils
isNumericAttribute, mxObjectCodec
isOpenEnded, mxArrowConnector
isOrthogonal, mxGraph
isPanningEnabled, mxPanningHandler
isPanningTrigger, mxPanningHandler
isPinchEnabled, mxPanningHandler
isReady, mxXmlRequest
isRelativeUrl, mxUrlConverter
isRemoveCellsFromParent, mxGraphHandler
isRemovePointEvent, mxEdgeHandler
isRendering, mxGraphView
isResizable, mxWindow
isResizeEnabled, mxSwimlaneManager
isRoot, mxGraphModel
isRotationHandleVisible, mxVertexHandler
isRunning, mxAnimation
isScrollEvent, mxGraphView
isSelected, mxGraphSelectionModel
isSelectEnabled, mxGraphHandler
isSelectOnPopup, mxPopupMenuHandler
isSelectText, mxCellEditor
isShapeEvent, mxCellRenderer
isShiftDown, mxEvent
isSignificant, mxUndoableEdit
isSingleSelection, mxGraphSelectionModel
isSizerVisible, mxVertexHandler
isSnapToTerminalsEvent, mxEdgeHandler
isSource, mxMouseEvent
isSplitTarget, mxGraph
isStartEvent, mxConnectionHandler
isStateIgnored, mxConstraintHandler
isStopEditingEvent, mxCellEditor
isStopEvent, mxConnectionHandler
isSwimlane, mxGraph
isSwimlaneIgnored, mxSwimlaneManager
isToggleEvent, mxGraph
isTouchEvent, mxEvent
isValidRoot, mxGraph
isValidState, mxCellMarker
isVertexMovable, mxGraphLayout
isVirtualBendsEnabled, mxEdgeHandler
isVml, mxUtils
isWrapping, mxGraph
Searching...
No Matches
diff --git a/docs/php-api/javascript/searchdata.js b/docs/php-api/javascript/searchdata.js index 9ea23ce04..bf6d9bbfe 100644 --- a/docs/php-api/javascript/searchdata.js +++ b/docs/php-api/javascript/searchdata.js @@ -1,5 +1,5 @@ var indexSectionsWithContent = { - "Classes": { + "Interfaces": { "Symbols": false, "Numbers": false, "A": false, @@ -29,7 +29,37 @@ var indexSectionsWithContent = { "Y": false, "Z": false }, - "Interfaces": { + "Functions": { + "Symbols": false, + "Numbers": false, + "A": true, + "B": true, + "C": true, + "D": true, + "E": true, + "F": true, + "G": true, + "H": false, + "I": true, + "J": false, + "K": false, + "L": true, + "M": true, + "N": false, + "O": true, + "P": true, + "Q": false, + "R": true, + "S": true, + "T": true, + "U": true, + "V": true, + "W": true, + "X": false, + "Y": false, + "Z": false + }, + "Classes": { "Symbols": false, "Numbers": false, "A": false, @@ -89,66 +119,6 @@ var indexSectionsWithContent = { "Y": true, "Z": false }, - "Variables": { - "Symbols": false, - "Numbers": false, - "A": true, - "B": true, - "C": true, - "D": true, - "E": true, - "F": true, - "G": true, - "H": true, - "I": true, - "J": false, - "K": false, - "L": true, - "M": true, - "N": true, - "O": true, - "P": true, - "Q": false, - "R": true, - "S": true, - "T": true, - "U": true, - "V": true, - "W": true, - "X": true, - "Y": true, - "Z": false - }, - "Functions": { - "Symbols": false, - "Numbers": false, - "A": true, - "B": true, - "C": true, - "D": true, - "E": true, - "F": true, - "G": true, - "H": false, - "I": true, - "J": false, - "K": false, - "L": true, - "M": true, - "N": false, - "O": true, - "P": true, - "Q": false, - "R": true, - "S": true, - "T": true, - "U": true, - "V": true, - "W": true, - "X": false, - "Y": false, - "Z": false - }, "Files": { "Symbols": false, "Numbers": false, @@ -178,5 +148,35 @@ var indexSectionsWithContent = { "X": false, "Y": false, "Z": false + }, + "Variables": { + "Symbols": false, + "Numbers": false, + "A": true, + "B": true, + "C": true, + "D": true, + "E": true, + "F": true, + "G": true, + "H": true, + "I": true, + "J": false, + "K": false, + "L": true, + "M": true, + "N": true, + "O": true, + "P": true, + "Q": false, + "R": true, + "S": true, + "T": true, + "U": true, + "V": true, + "W": true, + "X": true, + "Y": true, + "Z": false } } \ No newline at end of file diff --git a/dotnet/docs/html/annotated.html b/dotnet/docs/html/annotated.html index 3866b0d0a..a55e7874c 100644 --- a/dotnet/docs/html/annotated.html +++ b/dotnet/docs/html/annotated.html @@ -97,7 +97,7 @@
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxBasicCanvas-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxBasicCanvas-members.html index a22024a70..ab12d40be 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxBasicCanvas-members.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxBasicCanvas-members.html @@ -68,7 +68,7 @@
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxBasicCanvas.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxBasicCanvas.html index ed3523e29..40c8c4ea0 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxBasicCanvas.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxBasicCanvas.html @@ -447,7 +447,7 @@ Properties
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCell-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCell-members.html index 539212b53..a1b86702e 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCell-members.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCell-members.html @@ -105,7 +105,7 @@
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCell.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCell.html index 4b5c24062..8497ad5bc 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCell.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCell.html @@ -1463,7 +1463,7 @@ bool Collapsed [
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellCodec-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellCodec-members.html index abdd44046..22f13e71e 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellCodec-members.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellCodec-members.html @@ -98,7 +98,7 @@
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellCodec.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellCodec.html index f86435359..809149e87 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellCodec.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellCodec.html @@ -236,7 +236,7 @@ void  diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellPath-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellPath-members.html index 81d0597c0..813a31d7a 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellPath-members.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellPath-members.html @@ -60,7 +60,7 @@
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellPath.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellPath.html index 408b40c7a..6884976a5 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellPath.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellPath.html @@ -221,7 +221,7 @@ Static Public Attributes
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer-members.html index 81ec99036..3298f5e0c 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer-members.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer-members.html @@ -59,7 +59,7 @@
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer.html index eafa14af4..eb62ada11 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer.html @@ -270,7 +270,7 @@ Static Public Member Functions
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer_1_1CanvasFactory-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer_1_1CanvasFactory-members.html index 7c60b7b46..b8a51965a 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer_1_1CanvasFactory-members.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer_1_1CanvasFactory-members.html @@ -57,7 +57,7 @@
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer_1_1CanvasFactory.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer_1_1CanvasFactory.html index cf9edc63d..a8053bc4d 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer_1_1CanvasFactory.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer_1_1CanvasFactory.html @@ -119,7 +119,7 @@ Public Member Functions
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer_1_1ImageCanvasFactory-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer_1_1ImageCanvasFactory-members.html index 19ba14170..ada7bdd64 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer_1_1ImageCanvasFactory-members.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer_1_1ImageCanvasFactory-members.html @@ -61,7 +61,7 @@
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer_1_1ImageCanvasFactory.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer_1_1ImageCanvasFactory.html index 53dce579f..ad34f4b75 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer_1_1ImageCanvasFactory.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer_1_1ImageCanvasFactory.html @@ -253,7 +253,7 @@ Protected Attributes
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellState-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellState-members.html index 32175a93b..dc8b6df9b 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellState-members.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellState-members.html @@ -112,7 +112,7 @@
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellState.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellState.html index 156d9e597..0b9cfced2 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellState.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellState.html @@ -1048,7 +1048,7 @@ Properties
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCodec-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCodec-members.html index 26a670bed..cd7cd6a15 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCodec-members.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCodec-members.html @@ -79,7 +79,7 @@
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCodec.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCodec.html index 9af50aebc..3765cc2be 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCodec.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCodec.html @@ -903,7 +903,7 @@ Properties
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCodecRegistry-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCodecRegistry-members.html index 02ec03d70..1e476ef8c 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCodecRegistry-members.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCodecRegistry-members.html @@ -66,7 +66,7 @@
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCodecRegistry.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCodecRegistry.html index 5f73b6b4e..bdf5c4137 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCodecRegistry.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCodecRegistry.html @@ -399,7 +399,7 @@ Static Protected Attributes
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxConnectionConstraint-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxConnectionConstraint-members.html index 35458f983..9761ef3b6 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxConnectionConstraint-members.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxConnectionConstraint-members.html @@ -63,7 +63,7 @@
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxConnectionConstraint.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxConnectionConstraint.html index f5bd29548..60ffe0611 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxConnectionConstraint.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxConnectionConstraint.html @@ -286,7 +286,7 @@ Properties
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxConstants-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxConstants-members.html index 7a9c2dfc6..d222fbd39 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxConstants-members.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxConstants-members.html @@ -136,61 +136,63 @@ STYLE_EXIT_PERIMETERcom.mxgraph.mxConstantsstatic STYLE_EXIT_Xcom.mxgraph.mxConstantsstatic STYLE_EXIT_Ycom.mxgraph.mxConstantsstatic - STYLE_FILLCOLORcom.mxgraph.mxConstantsstatic - STYLE_FONTCOLORcom.mxgraph.mxConstantsstatic - STYLE_FONTFAMILYcom.mxgraph.mxConstantsstatic - STYLE_FONTSIZEcom.mxgraph.mxConstantsstatic - STYLE_FONTSTYLEcom.mxgraph.mxConstantsstatic - STYLE_GLASScom.mxgraph.mxConstantsstatic - STYLE_GRADIENT_DIRECTIONcom.mxgraph.mxConstantsstatic - STYLE_GRADIENTCOLORcom.mxgraph.mxConstantsstatic - STYLE_HORIZONTALcom.mxgraph.mxConstantsstatic - STYLE_IMAGEcom.mxgraph.mxConstantsstatic - STYLE_IMAGE_ALIGNcom.mxgraph.mxConstantsstatic - STYLE_IMAGE_BACKGROUNDcom.mxgraph.mxConstantsstatic - STYLE_IMAGE_BORDERcom.mxgraph.mxConstantsstatic - STYLE_IMAGE_FLIPHcom.mxgraph.mxConstantsstatic - STYLE_IMAGE_FLIPVcom.mxgraph.mxConstantsstatic - STYLE_IMAGE_HEIGHTcom.mxgraph.mxConstantsstatic - STYLE_IMAGE_VERTICAL_ALIGNcom.mxgraph.mxConstantsstatic - STYLE_IMAGE_WIDTHcom.mxgraph.mxConstantsstatic - STYLE_INDICATOR_COLORcom.mxgraph.mxConstantsstatic - STYLE_INDICATOR_GRADIENTCOLORcom.mxgraph.mxConstantsstatic - STYLE_INDICATOR_HEIGHTcom.mxgraph.mxConstantsstatic - STYLE_INDICATOR_IMAGEcom.mxgraph.mxConstantsstatic - STYLE_INDICATOR_SHAPEcom.mxgraph.mxConstantsstatic - STYLE_INDICATOR_SPACINGcom.mxgraph.mxConstantsstatic - STYLE_INDICATOR_WIDTHcom.mxgraph.mxConstantsstatic - STYLE_LABEL_BACKGROUNDCOLORcom.mxgraph.mxConstantsstatic - STYLE_LABEL_BORDERCOLORcom.mxgraph.mxConstantsstatic - STYLE_LABEL_POSITIONcom.mxgraph.mxConstantsstatic - STYLE_LOOPcom.mxgraph.mxConstantsstatic - STYLE_NOEDGESTYLEcom.mxgraph.mxConstantsstatic - STYLE_NOLABELcom.mxgraph.mxConstantsstatic - STYLE_OPACITYcom.mxgraph.mxConstantsstatic - STYLE_ORTHOGONALcom.mxgraph.mxConstantsstatic - STYLE_OVERFLOWcom.mxgraph.mxConstantsstatic - STYLE_PERIMETERcom.mxgraph.mxConstantsstatic - STYLE_PERIMETER_SPACINGcom.mxgraph.mxConstantsstatic - STYLE_ROTATIONcom.mxgraph.mxConstantsstatic - STYLE_ROUNDEDcom.mxgraph.mxConstantsstatic - STYLE_ROUTING_CENTER_Xcom.mxgraph.mxConstantsstatic - STYLE_ROUTING_CENTER_Ycom.mxgraph.mxConstantsstatic - STYLE_SEGMENTcom.mxgraph.mxConstantsstatic - STYLE_SEPARATORCOLORcom.mxgraph.mxConstantsstatic - STYLE_SHADOWcom.mxgraph.mxConstantsstatic - STYLE_SHAPEcom.mxgraph.mxConstantsstatic - STYLE_SOURCE_PERIMETER_SPACINGcom.mxgraph.mxConstantsstatic - STYLE_SOURCE_PORTcom.mxgraph.mxConstantsstatic - STYLE_SPACINGcom.mxgraph.mxConstantsstatic - STYLE_SPACING_BOTTOMcom.mxgraph.mxConstantsstatic - STYLE_SPACING_LEFTcom.mxgraph.mxConstantsstatic - STYLE_SPACING_RIGHTcom.mxgraph.mxConstantsstatic - STYLE_SPACING_TOPcom.mxgraph.mxConstantsstatic - STYLE_STARTARROWcom.mxgraph.mxConstantsstatic - STYLE_STARTSIZEcom.mxgraph.mxConstantsstatic - STYLE_STENCIL_FLIPHcom.mxgraph.mxConstantsstatic - STYLE_STENCIL_FLIPVcom.mxgraph.mxConstantsstatic + STYLE_FILL_OPACITYcom.mxgraph.mxConstantsstatic + STYLE_FILLCOLORcom.mxgraph.mxConstantsstatic + STYLE_FONTCOLORcom.mxgraph.mxConstantsstatic + STYLE_FONTFAMILYcom.mxgraph.mxConstantsstatic + STYLE_FONTSIZEcom.mxgraph.mxConstantsstatic + STYLE_FONTSTYLEcom.mxgraph.mxConstantsstatic + STYLE_GLASScom.mxgraph.mxConstantsstatic + STYLE_GRADIENT_DIRECTIONcom.mxgraph.mxConstantsstatic + STYLE_GRADIENTCOLORcom.mxgraph.mxConstantsstatic + STYLE_HORIZONTALcom.mxgraph.mxConstantsstatic + STYLE_IMAGEcom.mxgraph.mxConstantsstatic + STYLE_IMAGE_ALIGNcom.mxgraph.mxConstantsstatic + STYLE_IMAGE_BACKGROUNDcom.mxgraph.mxConstantsstatic + STYLE_IMAGE_BORDERcom.mxgraph.mxConstantsstatic + STYLE_IMAGE_FLIPHcom.mxgraph.mxConstantsstatic + STYLE_IMAGE_FLIPVcom.mxgraph.mxConstantsstatic + STYLE_IMAGE_HEIGHTcom.mxgraph.mxConstantsstatic + STYLE_IMAGE_VERTICAL_ALIGNcom.mxgraph.mxConstantsstatic + STYLE_IMAGE_WIDTHcom.mxgraph.mxConstantsstatic + STYLE_INDICATOR_COLORcom.mxgraph.mxConstantsstatic + STYLE_INDICATOR_GRADIENTCOLORcom.mxgraph.mxConstantsstatic + STYLE_INDICATOR_HEIGHTcom.mxgraph.mxConstantsstatic + STYLE_INDICATOR_IMAGEcom.mxgraph.mxConstantsstatic + STYLE_INDICATOR_SHAPEcom.mxgraph.mxConstantsstatic + STYLE_INDICATOR_SPACINGcom.mxgraph.mxConstantsstatic + STYLE_INDICATOR_WIDTHcom.mxgraph.mxConstantsstatic + STYLE_LABEL_BACKGROUNDCOLORcom.mxgraph.mxConstantsstatic + STYLE_LABEL_BORDERCOLORcom.mxgraph.mxConstantsstatic + STYLE_LABEL_POSITIONcom.mxgraph.mxConstantsstatic + STYLE_LOOPcom.mxgraph.mxConstantsstatic + STYLE_NOEDGESTYLEcom.mxgraph.mxConstantsstatic + STYLE_NOLABELcom.mxgraph.mxConstantsstatic + STYLE_OPACITYcom.mxgraph.mxConstantsstatic + STYLE_ORTHOGONALcom.mxgraph.mxConstantsstatic + STYLE_OVERFLOWcom.mxgraph.mxConstantsstatic + STYLE_PERIMETERcom.mxgraph.mxConstantsstatic + STYLE_PERIMETER_SPACINGcom.mxgraph.mxConstantsstatic + STYLE_ROTATIONcom.mxgraph.mxConstantsstatic + STYLE_ROUNDEDcom.mxgraph.mxConstantsstatic + STYLE_ROUTING_CENTER_Xcom.mxgraph.mxConstantsstatic + STYLE_ROUTING_CENTER_Ycom.mxgraph.mxConstantsstatic + STYLE_SEGMENTcom.mxgraph.mxConstantsstatic + STYLE_SEPARATORCOLORcom.mxgraph.mxConstantsstatic + STYLE_SHADOWcom.mxgraph.mxConstantsstatic + STYLE_SHAPEcom.mxgraph.mxConstantsstatic + STYLE_SOURCE_PERIMETER_SPACINGcom.mxgraph.mxConstantsstatic + STYLE_SOURCE_PORTcom.mxgraph.mxConstantsstatic + STYLE_SPACINGcom.mxgraph.mxConstantsstatic + STYLE_SPACING_BOTTOMcom.mxgraph.mxConstantsstatic + STYLE_SPACING_LEFTcom.mxgraph.mxConstantsstatic + STYLE_SPACING_RIGHTcom.mxgraph.mxConstantsstatic + STYLE_SPACING_TOPcom.mxgraph.mxConstantsstatic + STYLE_STARTARROWcom.mxgraph.mxConstantsstatic + STYLE_STARTSIZEcom.mxgraph.mxConstantsstatic + STYLE_STENCIL_FLIPHcom.mxgraph.mxConstantsstatic + STYLE_STENCIL_FLIPVcom.mxgraph.mxConstantsstatic + STYLE_STROKE_OPACITYcom.mxgraph.mxConstantsstatic STYLE_STROKECOLORcom.mxgraph.mxConstantsstatic STYLE_STROKEWIDTHcom.mxgraph.mxConstantsstatic STYLE_SWIMLANE_FILLCOLORcom.mxgraph.mxConstantsstatic @@ -204,7 +206,7 @@
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxConstants.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxConstants.html index 4f6bab39c..2c2e08182 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxConstants.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxConstants.html @@ -284,6 +284,12 @@ Static Public Attributes static string STYLE_OPACITY = "opacity"  Defines the key for the opacity style (0-100). More...
  +static string STYLE_FILL_OPACITY = "fillOpacity" + Defines the key for the text fill opacity style (0-100). More...
+  +static string STYLE_STROKE_OPACITY = "strokeOpacity" + Defines the key for the stroke opacity style (0-100). More...
+  static string STYLE_TEXT_OPACITY = "textOpacity"  Defines the key for the text opacity style (0-100). More...
  @@ -1288,7 +1294,7 @@ Static Public Attributes

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

-

Referenced by com.mxgraph.mxStylesheet.GetCellStyle(), com.mxgraph.mxStencil.PaintShape(), and com.mxgraph.mxGdiCanvas2D.ParseColor().

+

Referenced by com.mxgraph.mxStylesheet.GetCellStyle(), com.mxgraph.mxStencil.PaintShape(), and com.mxgraph.mxGdiCanvas2D.ParseColor().

@@ -2100,6 +2106,28 @@ Static Public Attributes

Referenced by com.mxgraph.mxGraph.GetConnectionConstraint().

+
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_FILL_OPACITY = "fillOpacity"
+
+static
+
+ +

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

+
@@ -3365,6 +3393,28 @@ Static Public Attributes

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_STROKE_OPACITY = "strokeOpacity"
+
+static
+
+ +

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

+
@@ -3604,7 +3654,7 @@ Static Public Attributes
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxEdgeStyle-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxEdgeStyle-members.html index 7dfea548d..563807958 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxEdgeStyle-members.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxEdgeStyle-members.html @@ -61,7 +61,7 @@
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxEdgeStyle.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxEdgeStyle.html index 4e5af206e..8e2004b26 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxEdgeStyle.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxEdgeStyle.html @@ -194,7 +194,7 @@ Static Public Attributes
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxFastOrganicLayout-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxFastOrganicLayout-members.html index cc5c18770..870d2d640 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxFastOrganicLayout-members.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxFastOrganicLayout-members.html @@ -89,7 +89,7 @@
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxFastOrganicLayout.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxFastOrganicLayout.html index d57edc964..5326630a1 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxFastOrganicLayout.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxFastOrganicLayout.html @@ -996,7 +996,7 @@ Properties
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas-members.html index 17f383e49..9b7b4466e 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas-members.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas-members.html @@ -94,7 +94,7 @@
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas.html index ee2bf212d..026ace0e0 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas.html @@ -1761,7 +1761,7 @@ Properties
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas2D-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas2D-members.html index 8963d9375..484d975c6 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas2D-members.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas2D-members.html @@ -66,38 +66,40 @@ DrawImage(Image image, Rectangle bounds)com.mxgraph.mxGdiCanvas2Dinlineprotected Ellipse(double x, double y, double w, double h)com.mxgraph.mxGdiCanvas2Dinline Fill()com.mxgraph.mxGdiCanvas2Dinline - FillAndStroke()com.mxgraph.mxGdiCanvas2Dinline - FillColorcom.mxgraph.mxGdiCanvas2D - FontBackgroundColorcom.mxgraph.mxGdiCanvas2D - FontBorderColorcom.mxgraph.mxGdiCanvas2D - FontColorcom.mxgraph.mxGdiCanvas2D - FontFamilycom.mxgraph.mxGdiCanvas2D - FontSizecom.mxgraph.mxGdiCanvas2D - FontStylecom.mxgraph.mxGdiCanvas2D - GetFontName(String family)com.mxgraph.mxGdiCanvas2Dinlineprotected - GetImageBounds(Image img, double x, double y, double w, double h, bool aspect)com.mxgraph.mxGdiCanvas2Dinlineprotected - GetImageSize(Image image)com.mxgraph.mxGdiCanvas2Dinlineprotected - GetMargin(String align, String valign) (defined in com.mxgraph.mxGdiCanvas2D)com.mxgraph.mxGdiCanvas2Dinlineprotected - graphicscom.mxgraph.mxGdiCanvas2Dprotected - htmlAsPlainTextcom.mxgraph.mxGdiCanvas2Dprotected - Image(double x, double y, double w, double h, String src, bool aspect, bool flipH, bool flipV)com.mxgraph.mxGdiCanvas2Dinline - com::mxgraph::mxICanvas2D.Image(double x, double y, double w, double h, string src, bool aspect, bool flipH, bool flipV)com.mxgraph.mxICanvas2D - lastFontcom.mxgraph.mxGdiCanvas2Dprotected - lastFontFamilycom.mxgraph.mxGdiCanvas2Dprotected - lastFontSizecom.mxgraph.mxGdiCanvas2Dprotected - lastFontStylecom.mxgraph.mxGdiCanvas2Dprotected - lastPointcom.mxgraph.mxGdiCanvas2Dprotected - LineCapcom.mxgraph.mxGdiCanvas2D - LineJoincom.mxgraph.mxGdiCanvas2D - LineTo(double x, double y)com.mxgraph.mxGdiCanvas2Dinline - LoadImage(String src)com.mxgraph.mxGdiCanvas2Dinlineprotected - matchHtmlAlignmentcom.mxgraph.mxGdiCanvas2Dprotected - MiterLimitcom.mxgraph.mxGdiCanvas2D - MoveTo(double x, double y)com.mxgraph.mxGdiCanvas2Dinline - mxGdiCanvas2D(Graphics g)com.mxgraph.mxGdiCanvas2Dinline - PaintCurrentPath(bool filled, bool stroked)com.mxgraph.mxGdiCanvas2Dinlineprotected - PaintShadow(bool filled, bool stroked)com.mxgraph.mxGdiCanvas2Dinlineprotected - ParseColor(string hex)com.mxgraph.mxGdiCanvas2Dinlineprotected + FillAlphacom.mxgraph.mxGdiCanvas2D + FillAndStroke()com.mxgraph.mxGdiCanvas2Dinline + FillColorcom.mxgraph.mxGdiCanvas2D + FontBackgroundColorcom.mxgraph.mxGdiCanvas2D + FontBorderColorcom.mxgraph.mxGdiCanvas2D + FontColorcom.mxgraph.mxGdiCanvas2D + FontFamilycom.mxgraph.mxGdiCanvas2D + FontSizecom.mxgraph.mxGdiCanvas2D + FontStylecom.mxgraph.mxGdiCanvas2D + GetFontName(String family)com.mxgraph.mxGdiCanvas2Dinlineprotected + GetImageBounds(Image img, double x, double y, double w, double h, bool aspect)com.mxgraph.mxGdiCanvas2Dinlineprotected + GetImageSize(Image image)com.mxgraph.mxGdiCanvas2Dinlineprotected + GetMargin(String align, String valign) (defined in com.mxgraph.mxGdiCanvas2D)com.mxgraph.mxGdiCanvas2Dinlineprotected + graphicscom.mxgraph.mxGdiCanvas2Dprotected + htmlAsPlainTextcom.mxgraph.mxGdiCanvas2Dprotected + Image(double x, double y, double w, double h, String src, bool aspect, bool flipH, bool flipV)com.mxgraph.mxGdiCanvas2Dinline + com::mxgraph::mxICanvas2D.Image(double x, double y, double w, double h, string src, bool aspect, bool flipH, bool flipV)com.mxgraph.mxICanvas2D + lastFontcom.mxgraph.mxGdiCanvas2Dprotected + lastFontFamilycom.mxgraph.mxGdiCanvas2Dprotected + lastFontSizecom.mxgraph.mxGdiCanvas2Dprotected + lastFontStylecom.mxgraph.mxGdiCanvas2Dprotected + lastPointcom.mxgraph.mxGdiCanvas2Dprotected + LineCapcom.mxgraph.mxGdiCanvas2D + LineJoincom.mxgraph.mxGdiCanvas2D + LineTo(double x, double y)com.mxgraph.mxGdiCanvas2Dinline + LoadImage(String src)com.mxgraph.mxGdiCanvas2Dinlineprotected + matchHtmlAlignmentcom.mxgraph.mxGdiCanvas2Dprotected + MiterLimitcom.mxgraph.mxGdiCanvas2D + MoveTo(double x, double y)com.mxgraph.mxGdiCanvas2Dinline + mxGdiCanvas2D(Graphics g)com.mxgraph.mxGdiCanvas2Dinline + PaintCurrentPath(bool filled, bool stroked)com.mxgraph.mxGdiCanvas2Dinlineprotected + PaintShadow(bool filled, bool stroked)com.mxgraph.mxGdiCanvas2Dinlineprotected + ParseColor(string hex)com.mxgraph.mxGdiCanvas2Dinlineprotected + ParseColor(string hex, double alpha)com.mxgraph.mxGdiCanvas2Dinlineprotected QuadTo(double x1, double y1, double x2, double y2)com.mxgraph.mxGdiCanvas2Dinline Rect(double x, double y, double w, double h)com.mxgraph.mxGdiCanvas2Dinline Restore()com.mxgraph.mxGdiCanvas2Dinline @@ -114,17 +116,18 @@ stackcom.mxgraph.mxGdiCanvas2Dprotected statecom.mxgraph.mxGdiCanvas2Dprotected Stroke()com.mxgraph.mxGdiCanvas2Dinline - StrokeColorcom.mxgraph.mxGdiCanvas2D - StrokeWidthcom.mxgraph.mxGdiCanvas2D - Text(double x, double y, double w, double h, string str, string align, string valign, bool wrap, string format, string overflow, bool clip, double rotation, string dir)com.mxgraph.mxGdiCanvas2Dinline - Translate(double dx, double dy)com.mxgraph.mxGdiCanvas2Dinline - UpdateFont()com.mxgraph.mxGdiCanvas2Dinlineprotected - UpdatePen()com.mxgraph.mxGdiCanvas2Dinlineprotected - wrapPlainTextcom.mxgraph.mxGdiCanvas2Dprotected + StrokeAlphacom.mxgraph.mxGdiCanvas2D + StrokeColorcom.mxgraph.mxGdiCanvas2D + StrokeWidthcom.mxgraph.mxGdiCanvas2D + Text(double x, double y, double w, double h, string str, string align, string valign, bool wrap, string format, string overflow, bool clip, double rotation)com.mxgraph.mxGdiCanvas2Dinline + Translate(double dx, double dy)com.mxgraph.mxGdiCanvas2Dinline + UpdateFont()com.mxgraph.mxGdiCanvas2Dinlineprotected + UpdatePen()com.mxgraph.mxGdiCanvas2Dinlineprotected + wrapPlainTextcom.mxgraph.mxGdiCanvas2Dprotected
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas2D.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas2D.html index 4131ae215..8c501e2b7 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas2D.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas2D.html @@ -110,8 +110,8 @@ Public Member Functions void Image (double x, double y, double w, double h, String src, bool aspect, bool flipH, bool flipV)  Draws an image. More...
  -void Text (double x, double y, double w, double h, string str, string align, string valign, bool wrap, string format, string overflow, bool clip, double rotation, string dir) -  +void Text (double x, double y, double w, double h, string str, string align, string valign, bool wrap, string format, string overflow, bool clip, double rotation) +  void Begin ()   void MoveTo (double x, double y) @@ -149,6 +149,9 @@ Protected Member Functions Color ParseColor (string hex)  Helper method that uses mxUtils#parseColor(String). Subclassers More...
  +Color ParseColor (string hex, double alpha) + Helper method that uses mxUtils#parseColor(String). Subclassers More...
+  void DrawImage (Image image, Rectangle bounds)  Implements the call to the graphics API. More...
  @@ -258,6 +261,12 @@ Properties double Alpha [set]  Sets the given alpha. More...
  +double StrokeAlpha [set] + Sets the given alpha. More...
+  +double FillAlpha [set] + Sets the given alpha. More...
+  string FillColor [set]  Sets the given fillcolor. More...
  @@ -313,6 +322,12 @@ Properties double Alpha [set]  Default value 1. This method may add rendering overhead and should be used with care. More...
  +double FillAlpha [set] + Default value 1. More...
+  +double StrokeAlpha [set] + Default value 1. More...
+  string FillColor [set]  Default value mxConstants#NONE. More...
  @@ -1169,6 +1184,43 @@ Properties

Helper method that uses mxUtils#parseColor(String). Subclassers

can override this to implement caching for frequently used colors.

+
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Color com.mxgraph.mxGdiCanvas2D.ParseColor (string hex,
double alpha 
)
+
+inlineprotected
+
+ +

Helper method that uses mxUtils#parseColor(String). Subclassers

+

can override this to implement caching for frequently used colors.

+

References com.mxgraph.mxConstants.NONE.

@@ -1629,7 +1681,7 @@ Properties
- +
@@ -1706,13 +1758,7 @@ Properties - - - - - - - + @@ -1730,7 +1776,7 @@ Properties

Draws the given text.

-

Implements com.mxgraph.mxICanvas2D.

+

Implements com.mxgraph.mxICanvas2D.

@@ -2166,6 +2212,28 @@ Properties

Sets the dashpattern.

+ + + +
+
+
double rotation,
string dir rotation 
+ + + + +
+ + + + +
double com.mxgraph.mxGdiCanvas2D.FillAlpha
+
+set
+
+ +

Sets the given alpha.

+
@@ -2452,6 +2520,28 @@ Properties

Default value mxConstants#NONE.

+
+
+ +
+
+ + + + + +
+ + + + +
double com.mxgraph.mxGdiCanvas2D.StrokeAlpha
+
+set
+
+ +

Sets the given alpha.

+
@@ -2505,7 +2595,7 @@ Properties
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas2D_1_1CanvasState-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas2D_1_1CanvasState-members.html index 8d4d0989a..512623c6c 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas2D_1_1CanvasState-members.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas2D_1_1CanvasState-members.html @@ -57,7 +57,7 @@
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas2D_1_1CanvasState.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas2D_1_1CanvasState.html index 722aa2525..626747cbd 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas2D_1_1CanvasState.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas2D_1_1CanvasState.html @@ -103,7 +103,7 @@ Public Member Functions
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGeometry-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGeometry-members.html index 7cd6f3fac..de2b2ef8b 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGeometry-members.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGeometry-members.html @@ -101,7 +101,7 @@
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGeometry.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGeometry.html index 2812bdced..87e2cc0ea 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGeometry.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGeometry.html @@ -810,7 +810,7 @@ Properties
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraph-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraph-members.html index d4474b17f..00453aa8e 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraph-members.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraph-members.html @@ -149,7 +149,7 @@
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraph.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraph.html index 754bae6bc..354f1ae19 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraph.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraph.html @@ -282,8 +282,8 @@ Public Member Functions - - + +

Public Attributes

const String VERSION = "3.5.0.0"
 Holds the version number of this release. Current version is 3.5.0.0. More...
const String VERSION = "3.5.1.0"
 Holds the version number of this release. Current version is 3.5.1.0. More...
 

@@ -3647,12 +3647,12 @@ Properties

- +
const String com.mxgraph.mxGraph.VERSION = "3.5.0.0"const String com.mxgraph.mxGraph.VERSION = "3.5.1.0"
-

Holds the version number of this release. Current version is 3.5.0.0.

+

Holds the version number of this release. Current version is 3.5.1.0.

@@ -3861,7 +3861,7 @@ Properties
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphModel-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphModel-members.html index 67cc82ec1..dfe6b975c 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphModel-members.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphModel-members.html @@ -124,7 +124,7 @@
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphModel.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphModel.html index e9fdd8c10..cbfeeed0a 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphModel.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphModel.html @@ -2825,7 +2825,7 @@ Events
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphView-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphView-members.html index b032a2581..c3e94665f 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphView-members.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphView-members.html @@ -113,7 +113,7 @@
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphView.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphView.html index 5fe73d0ef..4ec078f3d 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphView.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphView.html @@ -2247,7 +2247,7 @@ Properties
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphViewImageReader-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphViewImageReader-members.html index d338e537c..600baaf61 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphViewImageReader-members.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphViewImageReader-members.html @@ -82,7 +82,7 @@
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphViewImageReader.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphViewImageReader.html index b7aa5ee28..279cde1e7 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphViewImageReader.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphViewImageReader.html @@ -679,7 +679,7 @@ Properties
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphViewReader-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphViewReader-members.html index cc999215b..a96624617 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphViewReader-members.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphViewReader-members.html @@ -66,7 +66,7 @@
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphViewReader.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphViewReader.html index db1543f56..30901f02e 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphViewReader.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphViewReader.html @@ -429,7 +429,7 @@ Properties
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxImageBundle-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxImageBundle-members.html index 0621a1a34..3d5083f88 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxImageBundle-members.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxImageBundle-members.html @@ -60,7 +60,7 @@
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxImageBundle.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxImageBundle.html index 43c798608..87c5f9312 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxImageBundle.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxImageBundle.html @@ -203,7 +203,7 @@ Properties
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxImageCanvas-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxImageCanvas-members.html index f8eeb21a8..af6b7c2b3 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxImageCanvas-members.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxImageCanvas-members.html @@ -67,7 +67,7 @@
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxImageCanvas.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxImageCanvas.html index 2fc4f53da..f6d532814 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxImageCanvas.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxImageCanvas.html @@ -443,7 +443,7 @@ Properties
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxModelCodec-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxModelCodec-members.html index 9b07ffb6f..a38788016 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxModelCodec-members.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxModelCodec-members.html @@ -100,7 +100,7 @@
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxModelCodec.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxModelCodec.html index 17bfa9116..69735aa72 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxModelCodec.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxModelCodec.html @@ -411,7 +411,7 @@ Additional Inherited Members
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxObjectCodec-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxObjectCodec-members.html index 78b48447b..2b2a04979 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxObjectCodec-members.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxObjectCodec-members.html @@ -97,7 +97,7 @@
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxObjectCodec.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxObjectCodec.html index fd76b0950..4556590cf 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxObjectCodec.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxObjectCodec.html @@ -1884,7 +1884,7 @@ Properties
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxPerimeter-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxPerimeter-members.html index 08a62d8c4..b30f41cd9 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxPerimeter-members.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxPerimeter-members.html @@ -60,7 +60,7 @@
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxPerimeter.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxPerimeter.html index 79091e078..931372179 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxPerimeter.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxPerimeter.html @@ -169,7 +169,7 @@ Static Public Attributes
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxPoint-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxPoint-members.html index a626dad06..12fd45cf7 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxPoint-members.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxPoint-members.html @@ -67,7 +67,7 @@
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxPoint.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxPoint.html index c75167d53..4056c6d5f 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxPoint.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxPoint.html @@ -429,7 +429,7 @@ Properties
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxRectangle-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxRectangle-members.html index f2762f21d..49428bb29 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxRectangle-members.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxRectangle-members.html @@ -82,7 +82,7 @@
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxRectangle.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxRectangle.html index d17c5be4b..ddabd1191 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxRectangle.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxRectangle.html @@ -705,7 +705,7 @@ Properties
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxSaxOutputHandler-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxSaxOutputHandler-members.html index f62229234..a3e050ba8 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxSaxOutputHandler-members.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxSaxOutputHandler-members.html @@ -72,7 +72,7 @@
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxSaxOutputHandler.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxSaxOutputHandler.html index 5eead70b6..b88b8cc6c 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxSaxOutputHandler.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxSaxOutputHandler.html @@ -337,7 +337,7 @@ Properties
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStencil-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStencil-members.html index 1aeff5f11..2237f7fdf 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStencil-members.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStencil-members.html @@ -79,7 +79,7 @@
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStencil.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStencil.html index 4a58cd811..3e6f425e4 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStencil.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStencil.html @@ -995,7 +995,7 @@ Properties
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStencilRegistry-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStencilRegistry-members.html index ed7124eee..6c731c61b 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStencilRegistry-members.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStencilRegistry-members.html @@ -59,7 +59,7 @@
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStencilRegistry.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStencilRegistry.html index ab6339965..7caa1d7ae 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStencilRegistry.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStencilRegistry.html @@ -154,7 +154,7 @@ static Dictionary< string,
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStyleRegistry-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStyleRegistry-members.html index 2f58a90d4..842fe5a12 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStyleRegistry-members.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStyleRegistry-members.html @@ -60,7 +60,7 @@
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStyleRegistry.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStyleRegistry.html index c4ef96c8a..4cbbdfb6c 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStyleRegistry.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStyleRegistry.html @@ -196,7 +196,7 @@ Static Protected Attributes
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStylesheet-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStylesheet-members.html index 477663dcd..b9b57b409 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStylesheet-members.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStylesheet-members.html @@ -66,7 +66,7 @@
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStylesheet.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStylesheet.html index 2c2f352cc..e1bcb08c4 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStylesheet.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStylesheet.html @@ -398,7 +398,7 @@ Properties
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStylesheetCodec-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStylesheetCodec-members.html index 162569063..17a702d99 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStylesheetCodec-members.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStylesheetCodec-members.html @@ -101,7 +101,7 @@
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStylesheetCodec.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStylesheetCodec.html index da8cec8af..28a0afcf8 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStylesheetCodec.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStylesheetCodec.html @@ -432,7 +432,7 @@ Additional Inherited Members
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxUtils-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxUtils-members.html index a6bdbe4d3..fb934e2e9 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxUtils-members.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxUtils-members.html @@ -109,7 +109,7 @@
diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxUtils.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxUtils.html index 5ccb68425..1dba5a850 100644 --- a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxUtils.html +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxUtils.html @@ -2668,7 +2668,7 @@ Static Public Member Functions
diff --git a/dotnet/docs/html/classes.html b/dotnet/docs/html/classes.html index 2221dd59b..8313b0919 100644 --- a/dotnet/docs/html/classes.html +++ b/dotnet/docs/html/classes.html @@ -67,7 +67,7 @@
diff --git a/dotnet/docs/html/dir_313caf1132e152dd9b58bea13a4052ca.html b/dotnet/docs/html/dir_313caf1132e152dd9b58bea13a4052ca.html index 2d1de4315..3b37777ae 100644 --- a/dotnet/docs/html/dir_313caf1132e152dd9b58bea13a4052ca.html +++ b/dotnet/docs/html/dir_313caf1132e152dd9b58bea13a4052ca.html @@ -62,7 +62,7 @@ Files
diff --git a/dotnet/docs/html/dir_5dd65160827af56e6353642206b80129.html b/dotnet/docs/html/dir_5dd65160827af56e6353642206b80129.html index 72f30a3a8..5af21cbf4 100644 --- a/dotnet/docs/html/dir_5dd65160827af56e6353642206b80129.html +++ b/dotnet/docs/html/dir_5dd65160827af56e6353642206b80129.html @@ -62,7 +62,7 @@ Files diff --git a/dotnet/docs/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html b/dotnet/docs/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html index 3dc89f983..a242bbba9 100644 --- a/dotnet/docs/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html +++ b/dotnet/docs/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html @@ -64,7 +64,7 @@ Directories diff --git a/dotnet/docs/html/dir_af89b2be539cdaaafaad341d1e56977e.html b/dotnet/docs/html/dir_af89b2be539cdaaafaad341d1e56977e.html index 2da4146cd..9d69611f5 100644 --- a/dotnet/docs/html/dir_af89b2be539cdaaafaad341d1e56977e.html +++ b/dotnet/docs/html/dir_af89b2be539cdaaafaad341d1e56977e.html @@ -56,7 +56,7 @@ Files diff --git a/dotnet/docs/html/dir_b39b5091e8d1d2be4b7fc59d57749634.html b/dotnet/docs/html/dir_b39b5091e8d1d2be4b7fc59d57749634.html index 9322df963..44744521c 100644 --- a/dotnet/docs/html/dir_b39b5091e8d1d2be4b7fc59d57749634.html +++ b/dotnet/docs/html/dir_b39b5091e8d1d2be4b7fc59d57749634.html @@ -66,7 +66,7 @@ Files diff --git a/dotnet/docs/html/dir_c184e51c84f2c3f0345bbc8a0d75d3e1.html b/dotnet/docs/html/dir_c184e51c84f2c3f0345bbc8a0d75d3e1.html index 25c2512d8..ac338ecbc 100644 --- a/dotnet/docs/html/dir_c184e51c84f2c3f0345bbc8a0d75d3e1.html +++ b/dotnet/docs/html/dir_c184e51c84f2c3f0345bbc8a0d75d3e1.html @@ -62,7 +62,7 @@ Files diff --git a/dotnet/docs/html/dir_eb63608ab2ddc08e14808990907a274d.html b/dotnet/docs/html/dir_eb63608ab2ddc08e14808990907a274d.html index e0dfcc0a2..151b1f3bc 100644 --- a/dotnet/docs/html/dir_eb63608ab2ddc08e14808990907a274d.html +++ b/dotnet/docs/html/dir_eb63608ab2ddc08e14808990907a274d.html @@ -66,7 +66,7 @@ Files diff --git a/dotnet/docs/html/dir_f2b3bec0b800804983017014eef9ca7d.html b/dotnet/docs/html/dir_f2b3bec0b800804983017014eef9ca7d.html index c93cfb4a8..d11c1f3d7 100644 --- a/dotnet/docs/html/dir_f2b3bec0b800804983017014eef9ca7d.html +++ b/dotnet/docs/html/dir_f2b3bec0b800804983017014eef9ca7d.html @@ -54,7 +54,7 @@ Files diff --git a/dotnet/docs/html/functions.html b/dotnet/docs/html/functions.html index eeda497a6..0df858b02 100644 --- a/dotnet/docs/html/functions.html +++ b/dotnet/docs/html/functions.html @@ -205,7 +205,7 @@ diff --git a/dotnet/docs/html/functions_b.html b/dotnet/docs/html/functions_b.html index 2dd1c37db..1a348b4f1 100644 --- a/dotnet/docs/html/functions_b.html +++ b/dotnet/docs/html/functions_b.html @@ -122,7 +122,7 @@ diff --git a/dotnet/docs/html/functions_c.html b/dotnet/docs/html/functions_c.html index ebc8395f3..d2d23091c 100644 --- a/dotnet/docs/html/functions_c.html +++ b/dotnet/docs/html/functions_c.html @@ -270,7 +270,7 @@ diff --git a/dotnet/docs/html/functions_d.html b/dotnet/docs/html/functions_d.html index 9a2d0614b..6a33832d0 100644 --- a/dotnet/docs/html/functions_d.html +++ b/dotnet/docs/html/functions_d.html @@ -270,7 +270,7 @@ diff --git a/dotnet/docs/html/functions_e.html b/dotnet/docs/html/functions_e.html index a87598b12..dbf12d400 100644 --- a/dotnet/docs/html/functions_e.html +++ b/dotnet/docs/html/functions_e.html @@ -192,7 +192,7 @@ diff --git a/dotnet/docs/html/functions_evnt.html b/dotnet/docs/html/functions_evnt.html index 391d1ccb0..4371ed43d 100644 --- a/dotnet/docs/html/functions_evnt.html +++ b/dotnet/docs/html/functions_evnt.html @@ -60,7 +60,7 @@ diff --git a/dotnet/docs/html/functions_f.html b/dotnet/docs/html/functions_f.html index 1ce67e4f2..9390ef08f 100644 --- a/dotnet/docs/html/functions_f.html +++ b/dotnet/docs/html/functions_f.html @@ -88,6 +88,10 @@ : com.mxgraph.mxGdiCanvas2D , com.mxgraph.mxICanvas2D +
  • FillAlpha +: com.mxgraph.mxGdiCanvas2D +, com.mxgraph.mxICanvas2D +
  • FillAndStroke() : com.mxgraph.mxGdiCanvas2D , com.mxgraph.mxICanvas2D @@ -154,7 +158,7 @@ diff --git a/dotnet/docs/html/functions_func.html b/dotnet/docs/html/functions_func.html index 65260f340..fb86fc853 100644 --- a/dotnet/docs/html/functions_func.html +++ b/dotnet/docs/html/functions_func.html @@ -119,7 +119,7 @@ diff --git a/dotnet/docs/html/functions_func_b.html b/dotnet/docs/html/functions_func_b.html index 82d03b234..a5e0219d7 100644 --- a/dotnet/docs/html/functions_func_b.html +++ b/dotnet/docs/html/functions_func_b.html @@ -96,7 +96,7 @@ diff --git a/dotnet/docs/html/functions_func_c.html b/dotnet/docs/html/functions_func_c.html index 3f1d1224d..e9612f38c 100644 --- a/dotnet/docs/html/functions_func_c.html +++ b/dotnet/docs/html/functions_func_c.html @@ -203,7 +203,7 @@ diff --git a/dotnet/docs/html/functions_func_d.html b/dotnet/docs/html/functions_func_d.html index ddc7a58ce..ef67d6923 100644 --- a/dotnet/docs/html/functions_func_d.html +++ b/dotnet/docs/html/functions_func_d.html @@ -186,7 +186,7 @@ diff --git a/dotnet/docs/html/functions_func_e.html b/dotnet/docs/html/functions_func_e.html index 4ad20e590..7cab34142 100644 --- a/dotnet/docs/html/functions_func_e.html +++ b/dotnet/docs/html/functions_func_e.html @@ -131,7 +131,7 @@ diff --git a/dotnet/docs/html/functions_func_f.html b/dotnet/docs/html/functions_func_f.html index fe859681b..53071d67c 100644 --- a/dotnet/docs/html/functions_func_f.html +++ b/dotnet/docs/html/functions_func_f.html @@ -98,7 +98,7 @@ diff --git a/dotnet/docs/html/functions_func_g.html b/dotnet/docs/html/functions_func_g.html index 952f44b21..c1a2e13df 100644 --- a/dotnet/docs/html/functions_func_g.html +++ b/dotnet/docs/html/functions_func_g.html @@ -412,7 +412,7 @@ diff --git a/dotnet/docs/html/functions_func_h.html b/dotnet/docs/html/functions_func_h.html index fc831f636..33d6be7b3 100644 --- a/dotnet/docs/html/functions_func_h.html +++ b/dotnet/docs/html/functions_func_h.html @@ -87,7 +87,7 @@ diff --git a/dotnet/docs/html/functions_func_i.html b/dotnet/docs/html/functions_func_i.html index aa7bd1033..4bfbec8c9 100644 --- a/dotnet/docs/html/functions_func_i.html +++ b/dotnet/docs/html/functions_func_i.html @@ -181,7 +181,7 @@ diff --git a/dotnet/docs/html/functions_func_l.html b/dotnet/docs/html/functions_func_l.html index 07fa276a6..8cfb31815 100644 --- a/dotnet/docs/html/functions_func_l.html +++ b/dotnet/docs/html/functions_func_l.html @@ -96,7 +96,7 @@ diff --git a/dotnet/docs/html/functions_func_m.html b/dotnet/docs/html/functions_func_m.html index 254e1f27a..9c3a994d1 100644 --- a/dotnet/docs/html/functions_func_m.html +++ b/dotnet/docs/html/functions_func_m.html @@ -164,7 +164,7 @@ diff --git a/dotnet/docs/html/functions_func_p.html b/dotnet/docs/html/functions_func_p.html index ab74a16be..40bf4cc91 100644 --- a/dotnet/docs/html/functions_func_p.html +++ b/dotnet/docs/html/functions_func_p.html @@ -127,7 +127,7 @@ diff --git a/dotnet/docs/html/functions_func_q.html b/dotnet/docs/html/functions_func_q.html index fb99eb234..a75cf9d1e 100644 --- a/dotnet/docs/html/functions_func_q.html +++ b/dotnet/docs/html/functions_func_q.html @@ -85,7 +85,7 @@ diff --git a/dotnet/docs/html/functions_func_r.html b/dotnet/docs/html/functions_func_r.html index e9cf9da2b..b0840cf6c 100644 --- a/dotnet/docs/html/functions_func_r.html +++ b/dotnet/docs/html/functions_func_r.html @@ -152,7 +152,7 @@ diff --git a/dotnet/docs/html/functions_func_s.html b/dotnet/docs/html/functions_func_s.html index 07e05e643..58d42bc51 100644 --- a/dotnet/docs/html/functions_func_s.html +++ b/dotnet/docs/html/functions_func_s.html @@ -160,7 +160,7 @@ diff --git a/dotnet/docs/html/functions_func_t.html b/dotnet/docs/html/functions_func_t.html index 4cb5c98ea..0315b74e5 100644 --- a/dotnet/docs/html/functions_func_t.html +++ b/dotnet/docs/html/functions_func_t.html @@ -78,8 +78,8 @@

    - t -

    • Text() -: com.mxgraph.mxGdiCanvas2D -, com.mxgraph.mxICanvas2D +: com.mxgraph.mxGdiCanvas2D +, com.mxgraph.mxICanvas2D
    • ToRadians() : com.mxgraph.mxUtils @@ -99,7 +99,7 @@ diff --git a/dotnet/docs/html/functions_func_u.html b/dotnet/docs/html/functions_func_u.html index 7ba2bd9ba..58fb07757 100644 --- a/dotnet/docs/html/functions_func_u.html +++ b/dotnet/docs/html/functions_func_u.html @@ -129,7 +129,7 @@ diff --git a/dotnet/docs/html/functions_func_v.html b/dotnet/docs/html/functions_func_v.html index 3d9c440e3..bf15cc660 100644 --- a/dotnet/docs/html/functions_func_v.html +++ b/dotnet/docs/html/functions_func_v.html @@ -90,7 +90,7 @@ diff --git a/dotnet/docs/html/functions_func_w.html b/dotnet/docs/html/functions_func_w.html index 30b6e09e0..27f22667d 100644 --- a/dotnet/docs/html/functions_func_w.html +++ b/dotnet/docs/html/functions_func_w.html @@ -90,7 +90,7 @@ diff --git a/dotnet/docs/html/functions_g.html b/dotnet/docs/html/functions_g.html index 2c48db8ab..4ebe7cb1f 100644 --- a/dotnet/docs/html/functions_g.html +++ b/dotnet/docs/html/functions_g.html @@ -468,7 +468,7 @@ diff --git a/dotnet/docs/html/functions_h.html b/dotnet/docs/html/functions_h.html index 38bae5535..98ed5e0ef 100644 --- a/dotnet/docs/html/functions_h.html +++ b/dotnet/docs/html/functions_h.html @@ -106,7 +106,7 @@ diff --git a/dotnet/docs/html/functions_i.html b/dotnet/docs/html/functions_i.html index 28e8e2d4d..666bb5e89 100644 --- a/dotnet/docs/html/functions_i.html +++ b/dotnet/docs/html/functions_i.html @@ -160,12 +160,12 @@
    • Intersects() : com.mxgraph.mxGraph
    • -
    • invalid -: com.mxgraph.mxCellState -
    • Invalid : com.mxgraph.mxCellState
    • +
    • invalid +: com.mxgraph.mxCellState +
    • Invalidate() : com.mxgraph.mxGraphView
    • @@ -257,7 +257,7 @@ diff --git a/dotnet/docs/html/functions_l.html b/dotnet/docs/html/functions_l.html index d76caeb1b..cdec45923 100644 --- a/dotnet/docs/html/functions_l.html +++ b/dotnet/docs/html/functions_l.html @@ -117,12 +117,12 @@
    • lastPoint : com.mxgraph.mxGdiCanvas2D
    • -
    • Length -: com.mxgraph.mxCellState -
    • length : com.mxgraph.mxCellState
    • +
    • Length +: com.mxgraph.mxCellState +
    • LINE_ARCSIZE : com.mxgraph.mxConstants
    • @@ -159,7 +159,7 @@ diff --git a/dotnet/docs/html/functions_m.html b/dotnet/docs/html/functions_m.html index 79a065032..62dc96b17 100644 --- a/dotnet/docs/html/functions_m.html +++ b/dotnet/docs/html/functions_m.html @@ -205,7 +205,7 @@ diff --git a/dotnet/docs/html/functions_n.html b/dotnet/docs/html/functions_n.html index eee200bf6..a894f4dcb 100644 --- a/dotnet/docs/html/functions_n.html +++ b/dotnet/docs/html/functions_n.html @@ -106,7 +106,7 @@ diff --git a/dotnet/docs/html/functions_o.html b/dotnet/docs/html/functions_o.html index c7d3d32a2..0d9b0610d 100644 --- a/dotnet/docs/html/functions_o.html +++ b/dotnet/docs/html/functions_o.html @@ -81,29 +81,29 @@
      Here is a list of all documented class members with links to the class documentation for each member:

      - o -

      diff --git a/dotnet/docs/html/functions_p.html b/dotnet/docs/html/functions_p.html index 1146171a7..b65d65bf4 100644 --- a/dotnet/docs/html/functions_p.html +++ b/dotnet/docs/html/functions_p.html @@ -176,7 +176,7 @@ diff --git a/dotnet/docs/html/functions_prop.html b/dotnet/docs/html/functions_prop.html index 2422f3b66..584838b5d 100644 --- a/dotnet/docs/html/functions_prop.html +++ b/dotnet/docs/html/functions_prop.html @@ -171,6 +171,10 @@

      - f -

      diff --git a/dotnet/docs/html/functions_t.html b/dotnet/docs/html/functions_t.html index fdffc8f46..4101ca95e 100644 --- a/dotnet/docs/html/functions_t.html +++ b/dotnet/docs/html/functions_t.html @@ -81,36 +81,36 @@
      Here is a list of all documented class members with links to the class documentation for each member:

      - t -

        -
      • target -: com.mxgraph.mxCell -
      • Target : com.mxgraph.mxCell
      • -
      • targetPoint -: com.mxgraph.mxGeometry +
      • target +: com.mxgraph.mxCell
      • TargetPoint : com.mxgraph.mxGeometry
      • +
      • targetPoint +: com.mxgraph.mxGeometry +
      • temperature : com.mxgraph.mxFastOrganicLayout
      • -
      • template -: com.mxgraph.mxObjectCodec -
      • Template : com.mxgraph.mxObjectCodec
      • -
      • TerminalDistance -: com.mxgraph.mxCellState +
      • template +: com.mxgraph.mxObjectCodec
      • terminalDistance : com.mxgraph.mxCellState
      • +
      • TerminalDistance +: com.mxgraph.mxCellState +
      • Text() -: com.mxgraph.mxGdiCanvas2D -, com.mxgraph.mxICanvas2D +: com.mxgraph.mxGdiCanvas2D +, com.mxgraph.mxICanvas2D
      • tolerance : com.mxgraph.mxGraph @@ -124,22 +124,20 @@
      • TransformControlPoint() : com.mxgraph.mxGraphView
      • -
      • Translate -: com.mxgraph.mxBasicCanvas -
      • translate : com.mxgraph.mxBasicCanvas
      • -
      • Translate() -: com.mxgraph.mxGdiCanvas2D +
      • Translate +: com.mxgraph.mxBasicCanvas +, com.mxgraph.mxGdiCanvas2D , com.mxgraph.mxGeometry -, com.mxgraph.mxGraphView
      • translate : com.mxgraph.mxGraphView
      • Translate -: com.mxgraph.mxICanvas +: com.mxgraph.mxGraphView +, com.mxgraph.mxICanvas , com.mxgraph.mxICanvas2D , com.mxgraph.mxImageCanvas
      • @@ -156,7 +154,7 @@ diff --git a/dotnet/docs/html/functions_u.html b/dotnet/docs/html/functions_u.html index e8df30eab..b75d4207b 100644 --- a/dotnet/docs/html/functions_u.html +++ b/dotnet/docs/html/functions_u.html @@ -136,7 +136,7 @@ diff --git a/dotnet/docs/html/functions_v.html b/dotnet/docs/html/functions_v.html index 40d6ab186..eb6d90be0 100644 --- a/dotnet/docs/html/functions_v.html +++ b/dotnet/docs/html/functions_v.html @@ -131,7 +131,7 @@ diff --git a/dotnet/docs/html/functions_vars.html b/dotnet/docs/html/functions_vars.html index 6375560b7..7fd54f15a 100644 --- a/dotnet/docs/html/functions_vars.html +++ b/dotnet/docs/html/functions_vars.html @@ -148,7 +148,7 @@ diff --git a/dotnet/docs/html/functions_vars_b.html b/dotnet/docs/html/functions_vars_b.html index 106642f55..0d7f1292b 100644 --- a/dotnet/docs/html/functions_vars_b.html +++ b/dotnet/docs/html/functions_vars_b.html @@ -97,7 +97,7 @@ diff --git a/dotnet/docs/html/functions_vars_c.html b/dotnet/docs/html/functions_vars_c.html index f20f573af..8de539d05 100644 --- a/dotnet/docs/html/functions_vars_c.html +++ b/dotnet/docs/html/functions_vars_c.html @@ -122,7 +122,7 @@ diff --git a/dotnet/docs/html/functions_vars_d.html b/dotnet/docs/html/functions_vars_d.html index dff447b07..11428f555 100644 --- a/dotnet/docs/html/functions_vars_d.html +++ b/dotnet/docs/html/functions_vars_d.html @@ -138,7 +138,7 @@ diff --git a/dotnet/docs/html/functions_vars_e.html b/dotnet/docs/html/functions_vars_e.html index e49be8e1c..7e79ab138 100644 --- a/dotnet/docs/html/functions_vars_e.html +++ b/dotnet/docs/html/functions_vars_e.html @@ -138,7 +138,7 @@ diff --git a/dotnet/docs/html/functions_vars_f.html b/dotnet/docs/html/functions_vars_f.html index f7f72f440..4004131b0 100644 --- a/dotnet/docs/html/functions_vars_f.html +++ b/dotnet/docs/html/functions_vars_f.html @@ -105,7 +105,7 @@ diff --git a/dotnet/docs/html/functions_vars_g.html b/dotnet/docs/html/functions_vars_g.html index 1b454bcab..fdb2a53fc 100644 --- a/dotnet/docs/html/functions_vars_g.html +++ b/dotnet/docs/html/functions_vars_g.html @@ -109,7 +109,7 @@ diff --git a/dotnet/docs/html/functions_vars_h.html b/dotnet/docs/html/functions_vars_h.html index a625d98ce..dc31eb8b0 100644 --- a/dotnet/docs/html/functions_vars_h.html +++ b/dotnet/docs/html/functions_vars_h.html @@ -96,7 +96,7 @@ diff --git a/dotnet/docs/html/functions_vars_i.html b/dotnet/docs/html/functions_vars_i.html index 099c4b24b..42609903f 100644 --- a/dotnet/docs/html/functions_vars_i.html +++ b/dotnet/docs/html/functions_vars_i.html @@ -120,7 +120,7 @@ diff --git a/dotnet/docs/html/functions_vars_l.html b/dotnet/docs/html/functions_vars_l.html index c53c05a3d..e28e1e59c 100644 --- a/dotnet/docs/html/functions_vars_l.html +++ b/dotnet/docs/html/functions_vars_l.html @@ -126,7 +126,7 @@ diff --git a/dotnet/docs/html/functions_vars_m.html b/dotnet/docs/html/functions_vars_m.html index 4da200bed..d4e9e98a9 100644 --- a/dotnet/docs/html/functions_vars_m.html +++ b/dotnet/docs/html/functions_vars_m.html @@ -108,7 +108,7 @@ diff --git a/dotnet/docs/html/functions_vars_n.html b/dotnet/docs/html/functions_vars_n.html index a164c3825..ddb83cac8 100644 --- a/dotnet/docs/html/functions_vars_n.html +++ b/dotnet/docs/html/functions_vars_n.html @@ -105,7 +105,7 @@ diff --git a/dotnet/docs/html/functions_vars_o.html b/dotnet/docs/html/functions_vars_o.html index 0ef227713..0959a44cf 100644 --- a/dotnet/docs/html/functions_vars_o.html +++ b/dotnet/docs/html/functions_vars_o.html @@ -93,7 +93,7 @@ diff --git a/dotnet/docs/html/functions_vars_p.html b/dotnet/docs/html/functions_vars_p.html index 23cfc0258..f7f80f982 100644 --- a/dotnet/docs/html/functions_vars_p.html +++ b/dotnet/docs/html/functions_vars_p.html @@ -117,7 +117,7 @@ diff --git a/dotnet/docs/html/functions_vars_r.html b/dotnet/docs/html/functions_vars_r.html index 89cd3fe20..22a3fcd97 100644 --- a/dotnet/docs/html/functions_vars_r.html +++ b/dotnet/docs/html/functions_vars_r.html @@ -111,7 +111,7 @@ diff --git a/dotnet/docs/html/functions_vars_s.html b/dotnet/docs/html/functions_vars_s.html index 9643d50e7..09f23a423 100644 --- a/dotnet/docs/html/functions_vars_s.html +++ b/dotnet/docs/html/functions_vars_s.html @@ -212,6 +212,9 @@
      • STYLE_EXIT_Y : com.mxgraph.mxConstants
      • +
      • STYLE_FILL_OPACITY +: com.mxgraph.mxConstants +
      • STYLE_FILLCOLOR : com.mxgraph.mxConstants
      • @@ -377,6 +380,9 @@
      • STYLE_STENCIL_FLIPV : com.mxgraph.mxConstants
      • +
      • STYLE_STROKE_OPACITY +: com.mxgraph.mxConstants +
      • STYLE_STROKECOLOR : com.mxgraph.mxConstants
      • @@ -414,7 +420,7 @@ diff --git a/dotnet/docs/html/functions_vars_t.html b/dotnet/docs/html/functions_vars_t.html index e34482214..483b01514 100644 --- a/dotnet/docs/html/functions_vars_t.html +++ b/dotnet/docs/html/functions_vars_t.html @@ -115,7 +115,7 @@ diff --git a/dotnet/docs/html/functions_vars_u.html b/dotnet/docs/html/functions_vars_u.html index 6edc8cc77..297f9eb66 100644 --- a/dotnet/docs/html/functions_vars_u.html +++ b/dotnet/docs/html/functions_vars_u.html @@ -87,7 +87,7 @@ diff --git a/dotnet/docs/html/functions_vars_v.html b/dotnet/docs/html/functions_vars_v.html index 6ee9177aa..1848c1185 100644 --- a/dotnet/docs/html/functions_vars_v.html +++ b/dotnet/docs/html/functions_vars_v.html @@ -106,7 +106,7 @@ diff --git a/dotnet/docs/html/functions_vars_w.html b/dotnet/docs/html/functions_vars_w.html index f8641299d..fb3a8bb95 100644 --- a/dotnet/docs/html/functions_vars_w.html +++ b/dotnet/docs/html/functions_vars_w.html @@ -96,7 +96,7 @@ diff --git a/dotnet/docs/html/functions_vars_x.html b/dotnet/docs/html/functions_vars_x.html index 5b8e98985..a1b385ede 100644 --- a/dotnet/docs/html/functions_vars_x.html +++ b/dotnet/docs/html/functions_vars_x.html @@ -87,7 +87,7 @@ diff --git a/dotnet/docs/html/functions_vars_y.html b/dotnet/docs/html/functions_vars_y.html index 92dc897ed..d52c9f264 100644 --- a/dotnet/docs/html/functions_vars_y.html +++ b/dotnet/docs/html/functions_vars_y.html @@ -87,7 +87,7 @@ diff --git a/dotnet/docs/html/functions_w.html b/dotnet/docs/html/functions_w.html index 467802451..699506918 100644 --- a/dotnet/docs/html/functions_w.html +++ b/dotnet/docs/html/functions_w.html @@ -109,7 +109,7 @@ diff --git a/dotnet/docs/html/functions_x.html b/dotnet/docs/html/functions_x.html index c18532b51..16d313dcc 100644 --- a/dotnet/docs/html/functions_x.html +++ b/dotnet/docs/html/functions_x.html @@ -91,7 +91,7 @@ diff --git a/dotnet/docs/html/functions_y.html b/dotnet/docs/html/functions_y.html index 7b24773b9..44abbfcff 100644 --- a/dotnet/docs/html/functions_y.html +++ b/dotnet/docs/html/functions_y.html @@ -91,7 +91,7 @@ diff --git a/dotnet/docs/html/hierarchy.html b/dotnet/docs/html/hierarchy.html index bd4985faa..64cb75d75 100644 --- a/dotnet/docs/html/hierarchy.html +++ b/dotnet/docs/html/hierarchy.html @@ -96,7 +96,7 @@ diff --git a/dotnet/docs/html/index.html b/dotnet/docs/html/index.html index 9ca61c494..a7c8e848b 100644 --- a/dotnet/docs/html/index.html +++ b/dotnet/docs/html/index.html @@ -42,7 +42,7 @@ diff --git a/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICanvas-members.html b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICanvas-members.html index 113fabc0a..5ca4167e4 100644 --- a/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICanvas-members.html +++ b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICanvas-members.html @@ -60,7 +60,7 @@ diff --git a/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICanvas.html b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICanvas.html index e23dd7911..32afa9cd5 100644 --- a/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICanvas.html +++ b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICanvas.html @@ -213,7 +213,7 @@ Properties diff --git a/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICanvas2D-members.html b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICanvas2D-members.html index c347408da..75702a17e 100644 --- a/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICanvas2D-members.html +++ b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICanvas2D-members.html @@ -61,41 +61,43 @@ DashPatterncom.mxgraph.mxICanvas2D Ellipse(double x, double y, double w, double h)com.mxgraph.mxICanvas2D Fill()com.mxgraph.mxICanvas2D - FillAndStroke()com.mxgraph.mxICanvas2D - FillColorcom.mxgraph.mxICanvas2D - FontBackgroundColorcom.mxgraph.mxICanvas2D - FontBorderColorcom.mxgraph.mxICanvas2D - FontColorcom.mxgraph.mxICanvas2D - FontFamilycom.mxgraph.mxICanvas2D - FontSizecom.mxgraph.mxICanvas2D - FontStylecom.mxgraph.mxICanvas2D - Image(double x, double y, double w, double h, string src, bool aspect, bool flipH, bool flipV)com.mxgraph.mxICanvas2D - LineCapcom.mxgraph.mxICanvas2D - LineJoincom.mxgraph.mxICanvas2D - LineTo(double x, double y)com.mxgraph.mxICanvas2D - MiterLimitcom.mxgraph.mxICanvas2D - MoveTo(double x, double y)com.mxgraph.mxICanvas2D - QuadTo(double x1, double y1, double x2, double y2)com.mxgraph.mxICanvas2D - Rect(double x, double y, double w, double h)com.mxgraph.mxICanvas2D - Restore()com.mxgraph.mxICanvas2D - Rotate(double theta, bool flipH, bool flipV, double cx, double cy)com.mxgraph.mxICanvas2D - Roundrect(double x, double y, double w, double h, double dx, double dy)com.mxgraph.mxICanvas2D - Save()com.mxgraph.mxICanvas2D - Scale(double value)com.mxgraph.mxICanvas2D - SetGradient(string color1, string color2, double x, double y, double w, double h, string direction, double alpha1, double alpha2)com.mxgraph.mxICanvas2D - SetShadowOffset(double dx, double dy)com.mxgraph.mxICanvas2D - Shadowcom.mxgraph.mxICanvas2D - ShadowAlphacom.mxgraph.mxICanvas2D - ShadowColorcom.mxgraph.mxICanvas2D - Stroke()com.mxgraph.mxICanvas2D + FillAlphacom.mxgraph.mxICanvas2D + FillAndStroke()com.mxgraph.mxICanvas2D + FillColorcom.mxgraph.mxICanvas2D + FontBackgroundColorcom.mxgraph.mxICanvas2D + FontBorderColorcom.mxgraph.mxICanvas2D + FontColorcom.mxgraph.mxICanvas2D + FontFamilycom.mxgraph.mxICanvas2D + FontSizecom.mxgraph.mxICanvas2D + FontStylecom.mxgraph.mxICanvas2D + Image(double x, double y, double w, double h, string src, bool aspect, bool flipH, bool flipV)com.mxgraph.mxICanvas2D + LineCapcom.mxgraph.mxICanvas2D + LineJoincom.mxgraph.mxICanvas2D + LineTo(double x, double y)com.mxgraph.mxICanvas2D + MiterLimitcom.mxgraph.mxICanvas2D + MoveTo(double x, double y)com.mxgraph.mxICanvas2D + QuadTo(double x1, double y1, double x2, double y2)com.mxgraph.mxICanvas2D + Rect(double x, double y, double w, double h)com.mxgraph.mxICanvas2D + Restore()com.mxgraph.mxICanvas2D + Rotate(double theta, bool flipH, bool flipV, double cx, double cy)com.mxgraph.mxICanvas2D + Roundrect(double x, double y, double w, double h, double dx, double dy)com.mxgraph.mxICanvas2D + Save()com.mxgraph.mxICanvas2D + Scale(double value)com.mxgraph.mxICanvas2D + SetGradient(string color1, string color2, double x, double y, double w, double h, string direction, double alpha1, double alpha2)com.mxgraph.mxICanvas2D + SetShadowOffset(double dx, double dy)com.mxgraph.mxICanvas2D + Shadowcom.mxgraph.mxICanvas2D + ShadowAlphacom.mxgraph.mxICanvas2D + ShadowColorcom.mxgraph.mxICanvas2D + Stroke()com.mxgraph.mxICanvas2D + StrokeAlphacom.mxgraph.mxICanvas2D StrokeColorcom.mxgraph.mxICanvas2D StrokeWidthcom.mxgraph.mxICanvas2D - Text(double x, double y, double w, double h, string str, string align, string valign, bool wrap, string format, string overflow, bool clip, double rotation, string dir)com.mxgraph.mxICanvas2D + Text(double x, double y, double w, double h, string str, string align, string valign, bool wrap, string format, string overflow, bool clip, double rotation)com.mxgraph.mxICanvas2D Translate(double dx, double dy)com.mxgraph.mxICanvas2D diff --git a/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICanvas2D.html b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICanvas2D.html index 6744c3a39..330129204 100644 --- a/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICanvas2D.html +++ b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICanvas2D.html @@ -102,9 +102,9 @@ Public Member Functions void Image (double x, double y, double w, double h, string src, bool aspect, bool flipH, bool flipV)  Draws the given image. More...
          -void Text (double x, double y, double w, double h, string str, string align, string valign, bool wrap, string format, string overflow, bool clip, double rotation, string dir) - Draws the given string. Possible values for format are empty string for More...
        -  +void Text (double x, double y, double w, double h, string str, string align, string valign, bool wrap, string format, string overflow, bool clip, double rotation) + Draws the given string. Possible values for format are empty string for More...
        +  void Begin ()  Begins a new path. More...
          @@ -177,6 +177,12 @@ Properties double Alpha [set]  Default value 1. This method may add rendering overhead and should be used with care. More...
          +double FillAlpha [set] + Default value 1. More...
        +  +double StrokeAlpha [set] + Default value 1. More...
        +  string FillColor [set]  Default value mxConstants#NONE. More...
          @@ -868,7 +874,7 @@ Properties - +
        @@ -942,13 +948,7 @@ Properties - - - - - - - + @@ -960,7 +960,7 @@ Properties

        Draws the given string. Possible values for format are empty string for

        -

        Implemented in com.mxgraph.mxGdiCanvas2D.

        +

        Implemented in com.mxgraph.mxGdiCanvas2D.

        @@ -1066,6 +1066,28 @@ Properties

        Sets the dash pattern. This should default to "3 3" if unset.

        + + + +
        +
        +
        double rotation,
        string dir rotation 
        + + + + +
        + + + + +
        double com.mxgraph.mxICanvas2D.FillAlpha
        +
        +set
        +
        + +

        Default value 1.

        +
        @@ -1352,6 +1374,28 @@ Properties

        Default value mxConstants#NONE.

        + + + +
        +
        + + + + + +
        + + + + +
        double com.mxgraph.mxICanvas2D.StrokeAlpha
        +
        +set
        +
        + +

        Default value 1.

        +
        @@ -1404,7 +1448,7 @@ Properties diff --git a/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICell-members.html b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICell-members.html index 685b4e0a4..57fc18305 100644 --- a/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICell-members.html +++ b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICell-members.html @@ -83,7 +83,7 @@ diff --git a/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICell.html b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICell.html index fa3bcf9b2..dbecc6a33 100644 --- a/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICell.html +++ b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICell.html @@ -867,7 +867,7 @@ Properties diff --git a/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxIGraphLayout-members.html b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxIGraphLayout-members.html index 5334f91ed..379543276 100644 --- a/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxIGraphLayout-members.html +++ b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxIGraphLayout-members.html @@ -58,7 +58,7 @@ diff --git a/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxIGraphLayout.html b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxIGraphLayout.html index 7d5e81887..2a764ceb4 100644 --- a/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxIGraphLayout.html +++ b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxIGraphLayout.html @@ -154,7 +154,7 @@ Public Member Functions diff --git a/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxIGraphModel-members.html b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxIGraphModel-members.html index f7973c27c..8244e0b50 100644 --- a/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxIGraphModel-members.html +++ b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxIGraphModel-members.html @@ -85,7 +85,7 @@ diff --git a/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxIGraphModel.html b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxIGraphModel.html index 6e72a8618..a30055073 100644 --- a/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxIGraphModel.html +++ b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxIGraphModel.html @@ -1076,7 +1076,7 @@ Events diff --git a/dotnet/docs/html/namespacecom.html b/dotnet/docs/html/namespacecom.html index 0b71de577..5fcca900d 100644 --- a/dotnet/docs/html/namespacecom.html +++ b/dotnet/docs/html/namespacecom.html @@ -56,7 +56,7 @@ Namespaces diff --git a/dotnet/docs/html/namespacecom_1_1mxgraph.html b/dotnet/docs/html/namespacecom_1_1mxgraph.html index d7545f2b8..b6573e73c 100644 --- a/dotnet/docs/html/namespacecom_1_1mxgraph.html +++ b/dotnet/docs/html/namespacecom_1_1mxgraph.html @@ -313,7 +313,7 @@ Functions diff --git a/dotnet/docs/html/namespacemembers.html b/dotnet/docs/html/namespacemembers.html index 279a41f2a..5a05b2986 100644 --- a/dotnet/docs/html/namespacemembers.html +++ b/dotnet/docs/html/namespacemembers.html @@ -61,7 +61,7 @@ diff --git a/dotnet/docs/html/namespacemembers_func.html b/dotnet/docs/html/namespacemembers_func.html index 9e19e13a5..c04c3ad19 100644 --- a/dotnet/docs/html/namespacemembers_func.html +++ b/dotnet/docs/html/namespacemembers_func.html @@ -61,7 +61,7 @@ diff --git a/dotnet/docs/html/namespaces.html b/dotnet/docs/html/namespaces.html index 3e96818a4..2540b8b31 100644 --- a/dotnet/docs/html/namespaces.html +++ b/dotnet/docs/html/namespaces.html @@ -54,7 +54,7 @@ diff --git a/dotnet/src/canvas/mxGdiCanvas2D.cs b/dotnet/src/canvas/mxGdiCanvas2D.cs index e7344504d..682e5664a 100644 --- a/dotnet/src/canvas/mxGdiCanvas2D.cs +++ b/dotnet/src/canvas/mxGdiCanvas2D.cs @@ -1,3 +1,4 @@ +// $Id: mxGdiCanvas2D.cs,v 1.12 2013/05/23 10:29:42 gaudenz Exp $ // Copyright (c) 2007-2008, Gaudenz Alder using System; using System.Drawing; @@ -390,6 +391,29 @@ namespace com.mxgraph } } + /// + /// Sets the given alpha. + /// + public double StrokeAlpha + { + set + { + state.strokeAlpha = value; + } + } + + /// + /// Sets the given alpha. + /// + public double FillAlpha + { + set + { + state.fillAlpha = value; + state.brush = new SolidBrush(ParseColor(state.fillColorValue, state.fillAlpha)); + } + } + /// /// Sets the given fillcolor. /// @@ -397,7 +421,8 @@ namespace com.mxgraph { set { - state.brush = new SolidBrush(ParseColor(value)); + state.fillColorValue = value; + state.brush = new SolidBrush(ParseColor(state.fillColorValue, state.fillAlpha)); } } @@ -509,14 +534,23 @@ namespace com.mxgraph state.brush = new LinearGradientBrush(new RectangleF((float) x, (float) y, (float) w, (float) h), c1, c2, mode); } + + /// + /// Helper method that uses {@link mxUtils#parseColor(String)}. Subclassers + /// can override this to implement caching for frequently used colors. + /// + protected Color ParseColor(string hex) + { + return ParseColor(hex, 1); + } /// /// Helper method that uses {@link mxUtils#parseColor(String)}. Subclassers /// can override this to implement caching for frequently used colors. /// - protected Color ParseColor(string hex) + protected Color ParseColor(string hex, double alpha) { - if (hex == null || hex.Equals(mxConstants.NONE)) + if (hex == null || alpha == 0 || hex.Equals(mxConstants.NONE)) { // TODO: Return null return Color.Transparent; @@ -525,7 +559,7 @@ namespace com.mxgraph Color color = ColorTranslator.FromHtml(hex); // Poor man's setAlpha - color = Color.FromArgb((int) (state.alpha * 255), color.R, color.G, color.B); + color = Color.FromArgb((int) (alpha * state.alpha * 255), color.R, color.G, color.B); return color; } @@ -684,7 +718,7 @@ namespace com.mxgraph /// Draws the given text. /// public void Text(double x, double y, double w, double h, string str, string align, string valign, - bool wrap, string format, string overflow, bool clip, double rotation, string dir) + bool wrap, string format, string overflow, bool clip, double rotation) { bool htmlFormat = format != null && format.Equals("html"); @@ -1025,7 +1059,7 @@ namespace com.mxgraph { if (state.strokeColor == null) { - state.strokeColor = ParseColor(state.strokeColorValue); + state.strokeColor = ParseColor(state.strokeColorValue, state.strokeAlpha); } } @@ -1200,6 +1234,16 @@ namespace com.mxgraph /// internal double alpha = 1; + /// + /// + /// + internal double fillAlpha = 1; + + /// + /// + /// + internal double strokeAlpha = 1; + /// /// /// @@ -1295,6 +1339,11 @@ namespace com.mxgraph /// internal Color? strokeColor; + /// + /// + /// + internal string fillColorValue = mxConstants.NONE; + /// /// /// diff --git a/dotnet/src/canvas/mxICanvas2D.cs b/dotnet/src/canvas/mxICanvas2D.cs index cd8d7d0f9..39986ec2c 100644 --- a/dotnet/src/canvas/mxICanvas2D.cs +++ b/dotnet/src/canvas/mxICanvas2D.cs @@ -1,284 +1,301 @@ -// Copyright (c) 2007-2008, Gaudenz Alder -using System; -using System.Drawing; -using System.Drawing.Drawing2D; -using System.Collections; -using System.Collections.Generic; -using System.Text; - -namespace com.mxgraph -{ - /// - /// Defines the requirements for a canvas that paints the vertices and - /// edges of a graph. - /// - public interface mxICanvas2D - { - /// - /// Saves the current state of the canvas. - /// - void Save(); - - /// - /// Restores the previous state of the canvas. - /// - void Restore(); - - /// - /// Uniformaly scales the canvas by the given amount. - /// - /// The new scale value. - void Scale(double value); - - /// - /// Translates the canvas by the given amount. - /// - /// X-coordinate of the translation. - /// Y-coordinate of the translation. - void Translate(double dx, double dy); - - /// - /// Rotates the canvas by the given angle around the given center. This - /// method may add rendering overhead and should be used with care. - /// - /// Rotation angle in degrees (0 - 360). - /// Specifies if drawing should be flipped horizontally. - /// Specifies if drawing should be flipped vertically. - /// X-coordinate of the center point. - /// Y-coordinate of the center point. - void Rotate(double theta, bool flipH, bool flipV, double cx, double cy); - - /// - /// Sets the stroke width. This should default to 1 if unset. - /// - double StrokeWidth - { - set; - } - - /// - /// Sets the stroke color. This should default to mxConstants.NONE if unset. - /// - string StrokeColor - { - set; - } - - /// - /// Sets the dashed state. This should default to false if unset. - /// - bool Dashed - { - set; - } - - /// - /// Sets the dash pattern. This should default to "3 3" if unset. - /// - string DashPattern - { - set; - } - - /// - /// Sets the linecap. This should default to "flat" if unset. - /// - string LineCap - { - set; - } - - /// - /// Sets the linejoin. This should default to "miter" if unset. - /// - string LineJoin - { - set; - } - - /// - /// Sets the miterlimit. This should default to 10 if unset. - /// - double MiterLimit - { - set; - } - - /// - /// Default value mxConstants.DEFAULT_FONTSIZE. - /// - double FontSize - { - set; - } - - /// - /// Default value "#000000". - /// - string FontColor - { - set; - } - - /// - /// Default value {@link mxConstants#DEFAULT_FONTFAMILY}. - /// - string FontFamily - { - set; - } - - /// - /// Default value 0. See {@link mxConstants#STYLE_FONTSTYLE}. - /// - int FontStyle - { - set; - } - - /// - /// Default value 0. See {@link mxConstants#STYLE_FONTSTYLE}. - /// - string FontBackgroundColor - { - set; - } - - /// - /// Default value 0. See {@link mxConstants#STYLE_FONTSTYLE}. - /// - string FontBorderColor - { - set; - } - - /// - /// Default value 1. This method may add rendering overhead and should be - /// used with care. - /// - double Alpha - { - set; - } - - /// - /// Default value {@link mxConstants#NONE}. - /// - string FillColor - { - set; - } - - /// - /// Prepares the canvas to draw a gradient. - /// - void SetGradient(string color1, string color2, double x, double y, - double w, double h, string direction, double alpha1, double alpha2); - - /// - /// Default value {@link mxConstants#NONE}. - /// - bool Shadow - { - set; - } - - /// - /// Default value {@link mxConstants#NONE}. - /// - string ShadowColor - { - set; - } - - /// - /// Default value 1. This method may add rendering overhead and should be - /// used with care. - /// - double ShadowAlpha - { - set; - } - - /// - /// Prepares the canvas to draw a gradient. - /// - void SetShadowOffset(double dx, double dy); - - /// - /// Next fill or stroke should draw a rectangle. - /// - void Rect(double x, double y, double w, double h); - - /// - /// Next fill or stroke should draw a round rectangle. - /// - void Roundrect(double x, double y, double w, double h, double dx, double dy); - - /// - /// Next fill or stroke should draw an ellipse. - /// - void Ellipse(double x, double y, double w, double h); - - /// - /// Draws the given image. - /// - void Image(double x, double y, double w, double h, string src, - bool aspect, bool flipH, bool flipV); - - /// - /// Draws the given string. Possible values for format are empty string for - // plain text and html for HTML markup. - /// - void Text(double x, double y, double w, double h, string str, string align, string valign, - bool wrap, string format, string overflow, bool clip, double rotation, string dir); - - /// - /// Begins a new path. - /// - void Begin(); - - /// - /// Moves to the given path. - /// - void MoveTo(double x, double y); - - /// - /// Draws a line to the given path. - /// - void LineTo(double x, double y); - - /// - /// Draws a quadratic curve to the given point. - /// - void QuadTo(double x1, double y1, double x2, double y2); - - /// - /// Draws a bezier curve to the given point. - /// - void CurveTo(double x1, double y1, double x2, double y2, double x3, - double y3); - - /// - /// Closes the current path. - /// - void Close(); - - /// - /// Paints the outline of the current path. - /// - void Stroke(); - - /// - /// Fills the current path. - /// - void Fill(); - - /// - /// Fills and paints the outline of the current path. - /// - void FillAndStroke(); - - } - -} +// $Id: mxICanvas2D.cs,v 1.3 2013/05/23 10:29:42 gaudenz Exp $ +// Copyright (c) 2007-2008, Gaudenz Alder +using System; +using System.Drawing; +using System.Drawing.Drawing2D; +using System.Collections; +using System.Collections.Generic; +using System.Text; + +namespace com.mxgraph +{ + /// + /// Defines the requirements for a canvas that paints the vertices and + /// edges of a graph. + /// + public interface mxICanvas2D + { + /// + /// Saves the current state of the canvas. + /// + void Save(); + + /// + /// Restores the previous state of the canvas. + /// + void Restore(); + + /// + /// Uniformaly scales the canvas by the given amount. + /// + /// The new scale value. + void Scale(double value); + + /// + /// Translates the canvas by the given amount. + /// + /// X-coordinate of the translation. + /// Y-coordinate of the translation. + void Translate(double dx, double dy); + + /// + /// Rotates the canvas by the given angle around the given center. This + /// method may add rendering overhead and should be used with care. + /// + /// Rotation angle in degrees (0 - 360). + /// Specifies if drawing should be flipped horizontally. + /// Specifies if drawing should be flipped vertically. + /// X-coordinate of the center point. + /// Y-coordinate of the center point. + void Rotate(double theta, bool flipH, bool flipV, double cx, double cy); + + /// + /// Sets the stroke width. This should default to 1 if unset. + /// + double StrokeWidth + { + set; + } + + /// + /// Sets the stroke color. This should default to mxConstants.NONE if unset. + /// + string StrokeColor + { + set; + } + + /// + /// Sets the dashed state. This should default to false if unset. + /// + bool Dashed + { + set; + } + + /// + /// Sets the dash pattern. This should default to "3 3" if unset. + /// + string DashPattern + { + set; + } + + /// + /// Sets the linecap. This should default to "flat" if unset. + /// + string LineCap + { + set; + } + + /// + /// Sets the linejoin. This should default to "miter" if unset. + /// + string LineJoin + { + set; + } + + /// + /// Sets the miterlimit. This should default to 10 if unset. + /// + double MiterLimit + { + set; + } + + /// + /// Default value mxConstants.DEFAULT_FONTSIZE. + /// + double FontSize + { + set; + } + + /// + /// Default value "#000000". + /// + string FontColor + { + set; + } + + /// + /// Default value {@link mxConstants#DEFAULT_FONTFAMILY}. + /// + string FontFamily + { + set; + } + + /// + /// Default value 0. See {@link mxConstants#STYLE_FONTSTYLE}. + /// + int FontStyle + { + set; + } + + /// + /// Default value 0. See {@link mxConstants#STYLE_FONTSTYLE}. + /// + string FontBackgroundColor + { + set; + } + + /// + /// Default value 0. See {@link mxConstants#STYLE_FONTSTYLE}. + /// + string FontBorderColor + { + set; + } + + /// + /// Default value 1. This method may add rendering overhead and should be + /// used with care. + /// + double Alpha + { + set; + } + + /// + /// Default value 1. + /// + double FillAlpha + { + set; + } + + /// + /// Default value 1. + /// + double StrokeAlpha + { + set; + } + + /// + /// Default value {@link mxConstants#NONE}. + /// + string FillColor + { + set; + } + + /// + /// Prepares the canvas to draw a gradient. + /// + void SetGradient(string color1, string color2, double x, double y, + double w, double h, string direction, double alpha1, double alpha2); + + /// + /// Default value {@link mxConstants#NONE}. + /// + bool Shadow + { + set; + } + + /// + /// Default value {@link mxConstants#NONE}. + /// + string ShadowColor + { + set; + } + + /// + /// Default value 1. This method may add rendering overhead and should be + /// used with care. + /// + double ShadowAlpha + { + set; + } + + /// + /// Prepares the canvas to draw a gradient. + /// + void SetShadowOffset(double dx, double dy); + + /// + /// Next fill or stroke should draw a rectangle. + /// + void Rect(double x, double y, double w, double h); + + /// + /// Next fill or stroke should draw a round rectangle. + /// + void Roundrect(double x, double y, double w, double h, double dx, double dy); + + /// + /// Next fill or stroke should draw an ellipse. + /// + void Ellipse(double x, double y, double w, double h); + + /// + /// Draws the given image. + /// + void Image(double x, double y, double w, double h, string src, + bool aspect, bool flipH, bool flipV); + + /// + /// Draws the given string. Possible values for format are empty string for + // plain text and html for HTML markup. + /// + void Text(double x, double y, double w, double h, string str, string align, string valign, + bool wrap, string format, string overflow, bool clip, double rotation); + + /// + /// Begins a new path. + /// + void Begin(); + + /// + /// Moves to the given path. + /// + void MoveTo(double x, double y); + + /// + /// Draws a line to the given path. + /// + void LineTo(double x, double y); + + /// + /// Draws a quadratic curve to the given point. + /// + void QuadTo(double x1, double y1, double x2, double y2); + + /// + /// Draws a bezier curve to the given point. + /// + void CurveTo(double x1, double y1, double x2, double y2, double x3, + double y3); + + /// + /// Closes the current path. + /// + void Close(); + + /// + /// Paints the outline of the current path. + /// + void Stroke(); + + /// + /// Fills the current path. + /// + void Fill(); + + /// + /// Fills and paints the outline of the current path. + /// + void FillAndStroke(); + + } + +} diff --git a/dotnet/src/reader/mxSaxOutputHandler.cs b/dotnet/src/reader/mxSaxOutputHandler.cs index d9a08cee8..1dcae1c0c 100644 --- a/dotnet/src/reader/mxSaxOutputHandler.cs +++ b/dotnet/src/reader/mxSaxOutputHandler.cs @@ -1,369 +1,378 @@ -using System; -using System.Collections.Generic; -using System.Text; -using System.Xml; - -namespace com.mxgraph -{ - public class mxSaxOutputHandler - { - /// - /// Holds the current canvas. - /// - protected mxICanvas2D canvas; - - /// - /// Holds the handlers for specific XML nodes. - /// - protected Dictionary handlers = new Dictionary(); - - /// - /// Defines the requirements for an object that parses a node. - /// - public delegate void ElementHandler(Dictionary atts); - - /// - /// Constructs a new sax output handler for the given canvas. - /// - public mxSaxOutputHandler(mxICanvas2D canvas) - { - Canvas = canvas; - InitHandlers(); - } - - /// - /// Sets or returns the current canvas. - /// - public mxICanvas2D Canvas - { - get { return canvas; } - set { canvas = value; } - } - - /// - /// Reads the given display XML data and parses all elements. - /// - /// Reader that represents the display XML data. - public void Read(XmlReader reader) - { - if (reader != null) - { - while (reader.Read()) - { - if (reader.NodeType == XmlNodeType.Element) - { - string tagName = reader.LocalName.ToUpper(); - Dictionary attrs = - new Dictionary(); - - if (reader.MoveToFirstAttribute()) - { - do - { - attrs[reader.LocalName] = reader.Value; - } while (reader.MoveToNextAttribute()); - } - - ParseElement(tagName, attrs); - } - } - } - } - - /// - /// Parses the given element and paints it onto the canvas. - /// - /// Name of the node to be parsed. - /// Attributes of the node to be parsed. - public void ParseElement(string tagName, Dictionary atts) - { - string key = tagName.ToLower(); - - if (handlers.ContainsKey(key)) - { - handlers[key](atts); - } - } - - protected string GetString(Dictionary atts, string key) - { - return GetString(atts, key, null); - } - - protected string GetString(Dictionary atts, string key, string defaultValue) - { - if (atts.ContainsKey(key)) - { - defaultValue = atts[key]; - } - - return defaultValue; - } - - protected double GetDouble(Dictionary atts, string key) - { - return GetDouble(atts, key, 0); - } - - protected double GetDouble(Dictionary atts, string key, double defaultValue) - { - if (atts.ContainsKey(key)) - { - defaultValue = double.Parse(atts[key], System.Globalization.CultureInfo.InvariantCulture); - } - - return defaultValue; - } - - protected int GetInt(Dictionary atts, string key) - { - return GetInt(atts, key, 0); - } - - protected int GetInt(Dictionary atts, string key, int defaultValue) - { - if (atts.ContainsKey(key)) - { - defaultValue = int.Parse(atts[key]); - } - - return defaultValue; - } - - protected bool IsTrue(Dictionary atts, string key) - { - return IsTrue(atts, key, false); - } - - protected bool IsTrue(Dictionary atts, string key, bool defaultValue) - { - if (atts.ContainsKey(key)) - { - defaultValue = atts[key].Equals("1"); - } - - return defaultValue; - } - - /// - /// - /// - protected void InitHandlers() - { - handlers["save"] = delegate(Dictionary atts) - { - canvas.Save(); - }; - - handlers["restore"] = delegate(Dictionary atts) - { - canvas.Restore(); - }; - - handlers["scale"] = delegate(Dictionary atts) - { - canvas.Scale(GetDouble(atts, "scale")); - }; - - handlers["translate"] = delegate(Dictionary atts) - { - canvas.Translate(GetDouble(atts, "dx"), GetDouble(atts, "dy")); - }; - - handlers["rotate"] = delegate(Dictionary atts) - { - canvas.Rotate(GetDouble(atts, "theta"), IsTrue(atts, "flipH"), - IsTrue(atts, "flipV"), GetDouble(atts, "cx"), GetDouble(atts, "cy")); - }; - - handlers["strokewidth"] = delegate(Dictionary atts) - { - canvas.StrokeWidth = GetDouble(atts, "width"); - }; - - handlers["strokecolor"] = delegate(Dictionary atts) - { - canvas.StrokeColor = GetString(atts, "color"); - }; - - handlers["dashed"] = delegate(Dictionary atts) - { - canvas.Dashed = IsTrue(atts, "dashed"); - }; - - handlers["dashpattern"] = delegate(Dictionary atts) - { - canvas.DashPattern = GetString(atts, "pattern"); - }; - - handlers["linecap"] = delegate(Dictionary atts) - { - canvas.LineCap = GetString(atts, "cap"); - }; - - handlers["linejoin"] = delegate(Dictionary atts) - { - canvas.LineJoin = GetString(atts, "join"); - }; - - handlers["miterlimit"] = delegate(Dictionary atts) - { - canvas.MiterLimit = GetDouble(atts, "limit"); - }; - - handlers["fontsize"] = delegate(Dictionary atts) - { - canvas.FontSize = GetDouble(atts, "size"); - }; - - handlers["fontcolor"] = delegate(Dictionary atts) - { - canvas.FontColor = GetString(atts, "color"); - }; - - handlers["fontbackgroundcolor"] = delegate(Dictionary atts) - { - canvas.FontBackgroundColor = GetString(atts, "color"); - }; - - handlers["fontbordercolor"] = delegate(Dictionary atts) - { - canvas.FontBorderColor = GetString(atts, "color"); - }; - - handlers["fontfamily"] = delegate(Dictionary atts) - { - canvas.FontFamily = GetString(atts, "family"); - }; - - handlers["fontstyle"] = delegate(Dictionary atts) - { - canvas.FontStyle = GetInt(atts, "style"); - }; - - handlers["alpha"] = delegate(Dictionary atts) - { - canvas.Alpha = GetDouble(atts, "alpha"); - }; - - handlers["fillcolor"] = delegate(Dictionary atts) - { - canvas.FillColor = GetString(atts, "color"); - }; - - handlers["shadowcolor"] = delegate(Dictionary atts) - { - canvas.ShadowColor = GetString(atts, "color"); - }; - - handlers["shadowalpha"] = delegate(Dictionary atts) - { - canvas.ShadowAlpha = GetDouble(atts, "alpha"); - }; - - handlers["shadowoffset"] = delegate(Dictionary atts) - { - canvas.SetShadowOffset(GetDouble(atts, "dx"), GetDouble(atts, "dy")); - }; - - handlers["shadow"] = delegate(Dictionary atts) - { - canvas.Shadow = IsTrue(atts, "enabled"); - }; - - handlers["gradient"] = delegate(Dictionary atts) - { - canvas.SetGradient(GetString(atts, "c1"), GetString(atts, "c2"), - GetDouble(atts, "x"), GetDouble(atts, "y"), - GetDouble(atts, "w"), GetDouble(atts, "h"), - GetString(atts, "direction"), GetDouble(atts, "alpha1", 1), - GetDouble(atts, "alpha2", 1)); - }; - - handlers["rect"] = delegate(Dictionary atts) - { - canvas.Rect(GetDouble(atts, "x"), GetDouble(atts, "y"), - GetDouble(atts, "w"), GetDouble(atts, "h")); - }; - - handlers["roundrect"] = delegate(Dictionary atts) - { - canvas.Roundrect(GetDouble(atts, "x"), GetDouble(atts, "y"), - GetDouble(atts, "w"), GetDouble(atts, "h"), - GetDouble(atts, "dx"), GetDouble(atts, "dy")); - }; - - handlers["ellipse"] = delegate(Dictionary atts) - { - canvas.Ellipse(GetDouble(atts, "x"), GetDouble(atts, "y"), - GetDouble(atts, "w"), GetDouble(atts, "h")); - }; - - handlers["image"] = delegate(Dictionary atts) - { - canvas.Image(GetDouble(atts, "x"), GetDouble(atts, "y"), - GetDouble(atts, "w"), GetDouble(atts, "h"), - GetString(atts, "src"), IsTrue(atts, "aspect"), - IsTrue(atts, "flipH"), IsTrue(atts, "flipV")); - }; - - handlers["text"] = delegate(Dictionary atts) - { - canvas.Text(GetDouble(atts, "x"), GetDouble(atts, "y"), - GetDouble(atts, "w"), GetDouble(atts, "h"), - GetString(atts, "str"), GetString(atts, "align"), - GetString(atts, "valign"), IsTrue(atts, "wrap"), - GetString(atts, "format"), GetString(atts, "overflow"), - IsTrue(atts, "clip"), GetDouble(atts, "rotation"), - GetString(atts, "dir")); - }; - - handlers["begin"] = delegate(Dictionary atts) - { - canvas.Begin(); - }; - - handlers["move"] = delegate(Dictionary atts) - { - canvas.MoveTo(GetDouble(atts, "x"), GetDouble(atts, "y")); - }; - - handlers["line"] = delegate(Dictionary atts) - { - canvas.LineTo(GetDouble(atts, "x"), GetDouble(atts, "y")); - }; - - handlers["quad"] = delegate(Dictionary atts) - { - canvas.QuadTo(GetDouble(atts, "x1"), GetDouble(atts, "y1"), - GetDouble(atts, "x2"), GetDouble(atts, "y2")); - }; - - handlers["curve"] = delegate(Dictionary atts) - { - canvas.CurveTo(GetDouble(atts, "x1"), GetDouble(atts, "y1"), - GetDouble(atts, "x2"), GetDouble(atts, "y2"), - GetDouble(atts, "x3"), GetDouble(atts, "y3")); - }; - - handlers["close"] = delegate(Dictionary atts) - { - canvas.Close(); - }; - - handlers["stroke"] = delegate(Dictionary atts) - { - canvas.Stroke(); - }; - handlers["fill"] = delegate(Dictionary atts) - { - canvas.Fill(); - }; - - handlers["fillstroke"] = delegate(Dictionary atts) - { - canvas.FillAndStroke(); - }; - } - } -} +using System; +using System.Collections.Generic; +using System.Text; +using System.Xml; + +namespace com.mxgraph +{ + public class mxSaxOutputHandler + { + /// + /// Holds the current canvas. + /// + protected mxICanvas2D canvas; + + /// + /// Holds the handlers for specific XML nodes. + /// + protected Dictionary handlers = new Dictionary(); + + /// + /// Defines the requirements for an object that parses a node. + /// + public delegate void ElementHandler(Dictionary atts); + + /// + /// Constructs a new sax output handler for the given canvas. + /// + public mxSaxOutputHandler(mxICanvas2D canvas) + { + Canvas = canvas; + InitHandlers(); + } + + /// + /// Sets or returns the current canvas. + /// + public mxICanvas2D Canvas + { + get { return canvas; } + set { canvas = value; } + } + + /// + /// Reads the given display XML data and parses all elements. + /// + /// Reader that represents the display XML data. + public void Read(XmlReader reader) + { + if (reader != null) + { + while (reader.Read()) + { + if (reader.NodeType == XmlNodeType.Element) + { + string tagName = reader.LocalName.ToUpper(); + Dictionary attrs = + new Dictionary(); + + if (reader.MoveToFirstAttribute()) + { + do + { + attrs[reader.LocalName] = reader.Value; + } while (reader.MoveToNextAttribute()); + } + + ParseElement(tagName, attrs); + } + } + } + } + + /// + /// Parses the given element and paints it onto the canvas. + /// + /// Name of the node to be parsed. + /// Attributes of the node to be parsed. + public void ParseElement(string tagName, Dictionary atts) + { + string key = tagName.ToLower(); + + if (handlers.ContainsKey(key)) + { + handlers[key](atts); + } + } + + protected string GetString(Dictionary atts, string key) + { + return GetString(atts, key, null); + } + + protected string GetString(Dictionary atts, string key, string defaultValue) + { + if (atts.ContainsKey(key)) + { + defaultValue = atts[key]; + } + + return defaultValue; + } + + protected double GetDouble(Dictionary atts, string key) + { + return GetDouble(atts, key, 0); + } + + protected double GetDouble(Dictionary atts, string key, double defaultValue) + { + if (atts.ContainsKey(key)) + { + defaultValue = double.Parse(atts[key]); + } + + return defaultValue; + } + + protected int GetInt(Dictionary atts, string key) + { + return GetInt(atts, key, 0); + } + + protected int GetInt(Dictionary atts, string key, int defaultValue) + { + if (atts.ContainsKey(key)) + { + defaultValue = int.Parse(atts[key]); + } + + return defaultValue; + } + + protected bool IsTrue(Dictionary atts, string key) + { + return IsTrue(atts, key, false); + } + + protected bool IsTrue(Dictionary atts, string key, bool defaultValue) + { + if (atts.ContainsKey(key)) + { + defaultValue = atts[key].Equals("1"); + } + + return defaultValue; + } + + /// + /// + /// + protected void InitHandlers() + { + handlers["save"] = delegate(Dictionary atts) + { + canvas.Save(); + }; + + handlers["restore"] = delegate(Dictionary atts) + { + canvas.Restore(); + }; + + handlers["scale"] = delegate(Dictionary atts) + { + canvas.Scale(GetDouble(atts, "scale")); + }; + + handlers["translate"] = delegate(Dictionary atts) + { + canvas.Translate(GetDouble(atts, "dx"), GetDouble(atts, "dy")); + }; + + handlers["rotate"] = delegate(Dictionary atts) + { + canvas.Rotate(GetDouble(atts, "theta"), IsTrue(atts, "flipH"), + IsTrue(atts, "flipV"), GetDouble(atts, "cx"), GetDouble(atts, "cy")); + }; + + handlers["strokewidth"] = delegate(Dictionary atts) + { + canvas.StrokeWidth = GetDouble(atts, "width"); + }; + + handlers["strokecolor"] = delegate(Dictionary atts) + { + canvas.StrokeColor = GetString(atts, "color"); + }; + + handlers["dashed"] = delegate(Dictionary atts) + { + canvas.Dashed = IsTrue(atts, "dashed"); + }; + + handlers["dashpattern"] = delegate(Dictionary atts) + { + canvas.DashPattern = GetString(atts, "pattern"); + }; + + handlers["linecap"] = delegate(Dictionary atts) + { + canvas.LineCap = GetString(atts, "cap"); + }; + + handlers["linejoin"] = delegate(Dictionary atts) + { + canvas.LineJoin = GetString(atts, "join"); + }; + + handlers["miterlimit"] = delegate(Dictionary atts) + { + canvas.MiterLimit = GetDouble(atts, "limit"); + }; + + handlers["fontsize"] = delegate(Dictionary atts) + { + canvas.FontSize = GetDouble(atts, "size"); + }; + + handlers["fontcolor"] = delegate(Dictionary atts) + { + canvas.FontColor = GetString(atts, "color"); + }; + + handlers["fontbackgroundcolor"] = delegate(Dictionary atts) + { + canvas.FontBackgroundColor = GetString(atts, "color"); + }; + + handlers["fontbordercolor"] = delegate(Dictionary atts) + { + canvas.FontBorderColor = GetString(atts, "color"); + }; + + handlers["fontfamily"] = delegate(Dictionary atts) + { + canvas.FontFamily = GetString(atts, "family"); + }; + + handlers["fontstyle"] = delegate(Dictionary atts) + { + canvas.FontStyle = GetInt(atts, "style"); + }; + + handlers["alpha"] = delegate(Dictionary atts) + { + canvas.Alpha = GetDouble(atts, "alpha"); + }; + + handlers["strokealpha"] = delegate(Dictionary atts) + { + canvas.StrokeAlpha = GetDouble(atts, "alpha"); + }; + + handlers["fillalpha"] = delegate(Dictionary atts) + { + canvas.FillAlpha = GetDouble(atts, "alpha"); + }; + + handlers["fillcolor"] = delegate(Dictionary atts) + { + canvas.FillColor = GetString(atts, "color"); + }; + + handlers["shadowcolor"] = delegate(Dictionary atts) + { + canvas.ShadowColor = GetString(atts, "color"); + }; + + handlers["shadowalpha"] = delegate(Dictionary atts) + { + canvas.ShadowAlpha = GetDouble(atts, "alpha"); + }; + + handlers["shadowoffset"] = delegate(Dictionary atts) + { + canvas.SetShadowOffset(GetDouble(atts, "dx"), GetDouble(atts, "dy")); + }; + + handlers["shadow"] = delegate(Dictionary atts) + { + canvas.Shadow = IsTrue(atts, "enabled"); + }; + + handlers["gradient"] = delegate(Dictionary atts) + { + canvas.SetGradient(GetString(atts, "c1"), GetString(atts, "c2"), + GetDouble(atts, "x"), GetDouble(atts, "y"), + GetDouble(atts, "w"), GetDouble(atts, "h"), + GetString(atts, "direction"), GetDouble(atts, "alpha1", 1), + GetDouble(atts, "alpha2", 1)); + }; + + handlers["rect"] = delegate(Dictionary atts) + { + canvas.Rect(GetDouble(atts, "x"), GetDouble(atts, "y"), + GetDouble(atts, "w"), GetDouble(atts, "h")); + }; + + handlers["roundrect"] = delegate(Dictionary atts) + { + canvas.Roundrect(GetDouble(atts, "x"), GetDouble(atts, "y"), + GetDouble(atts, "w"), GetDouble(atts, "h"), + GetDouble(atts, "dx"), GetDouble(atts, "dy")); + }; + + handlers["ellipse"] = delegate(Dictionary atts) + { + canvas.Ellipse(GetDouble(atts, "x"), GetDouble(atts, "y"), + GetDouble(atts, "w"), GetDouble(atts, "h")); + }; + + handlers["image"] = delegate(Dictionary atts) + { + canvas.Image(GetDouble(atts, "x"), GetDouble(atts, "y"), + GetDouble(atts, "w"), GetDouble(atts, "h"), + GetString(atts, "src"), IsTrue(atts, "aspect"), + IsTrue(atts, "flipH"), IsTrue(atts, "flipV")); + }; + + handlers["text"] = delegate(Dictionary atts) + { + canvas.Text(GetDouble(atts, "x"), GetDouble(atts, "y"), + GetDouble(atts, "w"), GetDouble(atts, "h"), + GetString(atts, "str"), GetString(atts, "align"), + GetString(atts, "valign"), IsTrue(atts, "wrap"), + GetString(atts, "format"), GetString(atts, "overflow"), + IsTrue(atts, "clip"), GetDouble(atts, "rotation")); + }; + + handlers["begin"] = delegate(Dictionary atts) + { + canvas.Begin(); + }; + + handlers["move"] = delegate(Dictionary atts) + { + canvas.MoveTo(GetDouble(atts, "x"), GetDouble(atts, "y")); + }; + + handlers["line"] = delegate(Dictionary atts) + { + canvas.LineTo(GetDouble(atts, "x"), GetDouble(atts, "y")); + }; + + handlers["quad"] = delegate(Dictionary atts) + { + canvas.QuadTo(GetDouble(atts, "x1"), GetDouble(atts, "y1"), + GetDouble(atts, "x2"), GetDouble(atts, "y2")); + }; + + handlers["curve"] = delegate(Dictionary atts) + { + canvas.CurveTo(GetDouble(atts, "x1"), GetDouble(atts, "y1"), + GetDouble(atts, "x2"), GetDouble(atts, "y2"), + GetDouble(atts, "x3"), GetDouble(atts, "y3")); + }; + + handlers["close"] = delegate(Dictionary atts) + { + canvas.Close(); + }; + + handlers["stroke"] = delegate(Dictionary atts) + { + canvas.Stroke(); + }; + handlers["fill"] = delegate(Dictionary atts) + { + canvas.Fill(); + }; + + handlers["fillstroke"] = delegate(Dictionary atts) + { + canvas.FillAndStroke(); + }; + } + } +} diff --git a/dotnet/src/utils/mxConstants.cs b/dotnet/src/utils/mxConstants.cs index b16d0361a..7e7cc9709 100644 --- a/dotnet/src/utils/mxConstants.cs +++ b/dotnet/src/utils/mxConstants.cs @@ -187,6 +187,16 @@ namespace com.mxgraph /// public static string STYLE_OPACITY = "opacity"; + /// + /// Defines the key for the text fill opacity style (0-100). + /// + public static string STYLE_FILL_OPACITY = "fillOpacity"; + + /// + /// Defines the key for the stroke opacity style (0-100). + /// + public static string STYLE_STROKE_OPACITY = "strokeOpacity"; + /// /// Defines the key for the text opacity style (0-100). /// diff --git a/dotnet/src/view/mxGraph.cs b/dotnet/src/view/mxGraph.cs index 8bf698b9f..728ff354d 100644 --- a/dotnet/src/view/mxGraph.cs +++ b/dotnet/src/view/mxGraph.cs @@ -15,9 +15,9 @@ namespace com.mxgraph { /// /// Holds the version number of this release. Current version - /// is 3.5.0.0. + /// is 3.5.1.0. /// - public const String VERSION = "3.5.0.0"; + public const String VERSION = "3.5.1.0"; /// /// Holds the model that contains the cells to be displayed. diff --git a/index.html b/index.html index 18c607924..1664a9776 100644 --- a/index.html +++ b/index.html @@ -1,6 +1,6 @@ - mxGraph 3.5.0.0 + mxGraph 3.5.1.0 @@ -9,12 +9,12 @@
        mxGraph
        -Version 3.5.0.0 – 01. March 2016 +Version 3.5.1.0 – 06. April 2016


        -

        mxGraph 3.5.0.0

        +

        mxGraph 3.5.1.0

        mxGraph is a JavaScript diagramming library that enables interactive graph and charting applications to be quickly created that run natively in any diff --git a/java/build.xml b/java/build.xml index 05a2ca221..d3991b909 100644 --- a/java/build.xml +++ b/java/build.xml @@ -7,7 +7,7 @@ - + diff --git a/java/docs/allclasses-frame.html b/java/docs/allclasses-frame.html index b9268d304..62e2abad4 100644 --- a/java/docs/allclasses-frame.html +++ b/java/docs/allclasses-frame.html @@ -2,9 +2,9 @@ - -All Classes (mxGraph 3.5.0.0 API Specification) - + +All Classes (mxGraph 3.5.1.0 API Specification) + diff --git a/java/docs/allclasses-noframe.html b/java/docs/allclasses-noframe.html index 28aa97f68..97eb9cec7 100644 --- a/java/docs/allclasses-noframe.html +++ b/java/docs/allclasses-noframe.html @@ -2,9 +2,9 @@ - -All Classes (mxGraph 3.5.0.0 API Specification) - + +All Classes (mxGraph 3.5.1.0 API Specification) + diff --git a/java/docs/com/mxgraph/analysis/StructuralException.html b/java/docs/com/mxgraph/analysis/StructuralException.html index 8374f3bef..e7d444ff5 100644 --- a/java/docs/com/mxgraph/analysis/StructuralException.html +++ b/java/docs/com/mxgraph/analysis/StructuralException.html @@ -2,15 +2,15 @@ - -StructuralException (mxGraph 3.5.0.0 API Specification) - + +StructuralException (mxGraph 3.5.1.0 API Specification) + @@ -33,7 +33,7 @@

      • Index
      • Help
      -

      mxGraph 3.5.0.0

      +

      mxGraph 3.5.1.0

    • Index
    • Help
    -

    mxGraph 3.5.0.0

    +

    mxGraph 3.5.1.0

    - + void quadTo(double x1, double y1, @@ -562,7 +569,7 @@ implements Draws a quadratic curve to the given point. - + void rect(double x, double y, @@ -571,13 +578,13 @@ implements Next fill or stroke should draw a rectangle. - + void restore()
    Restores the last canvas state.
    - + void rotate(double theta, boolean flipH, @@ -587,7 +594,7 @@ implements Rotates the canvas by the given angle around the given center. - + void roundrect(double x, double y, @@ -598,19 +605,19 @@ implements Implements a rounded rectangle using a path. - + void save()
    Saves the current canvas state.
    - + void scale(double value)
    Uniformaly scales the canvas by the given amount.
    - + protected Image scaleImage(Image img, int w, @@ -618,24 +625,30 @@ implements Uses IMAGE_SCALING to scale the given image. - + void setAlpha(double value)
    Default value 1.
    - + void setDashed(boolean value)
    Sets the dashed state.
    - + void setDashPattern(String value)
    Sets the dash pattern.
    + +void +setFillAlpha(double value) +
    Default value 1.
    + + void setFillColor(String value) @@ -743,29 +756,35 @@ implements void +setStrokeAlpha(double value) +
    Default value 1.
    + + + +void setStrokeColor(String value)
    Caches color conversion as it is expensive.
    - + void setStrokeWidth(double value)
    Sets the stroke width.
    - + void setTextEnabled(boolean value)
    Disables or enables text rendering.
    - + void stroke()
    Paints the outline of the current path.
    - + void text(double x, double y, @@ -783,18 +802,18 @@ implements Draws the given text. - + void translate(double dx, double dy)
    Translates the canvas by the given amount.
    - + protected void updateFont()  - + protected void updateStroke()  @@ -1399,6 +1418,38 @@ implements + + +
      +
    • +

      setFillAlpha

      +
      public void setFillAlpha(double value)
      +
      Description copied from interface: mxICanvas2D
      +
      Default value 1. This method may add rendering overhead and should be + used with care.
      +
      +
      Specified by:
      +
      setFillAlpha in interface mxICanvas2D
      +
      +
    • +
    + + + +
      +
    • +

      setStrokeAlpha

      +
      public void setStrokeAlpha(double value)
      +
      Description copied from interface: mxICanvas2D
      +
      Default value 1. This method may add rendering overhead and should be + used with care.
      +
      +
      Specified by:
      +
      setStrokeAlpha in interface mxICanvas2D
      +
      +
    • +
    @@ -1448,6 +1499,17 @@ implements Helper method that uses mxUtils.parseColor(String).
  • + + + + @@ -2023,7 +2085,7 @@ implements Index
  • Help
  • -

    mxGraph 3.5.0.0

    +

    mxGraph 3.5.1.0

  • Index
  • Help
  • -

    mxGraph 3.5.0.0

    +

    mxGraph 3.5.1.0

    See Also:
    Constant Field Values
    @@ -8440,7 +8440,7 @@ extends Index
  • Help
  • -

    mxGraph 3.5.0.0

    +

    mxGraph 3.5.1.0

  • Help
  • -

    mxGraph 3.5.0.0

    +

    mxGraph 3.5.1.0

    -

    mxGraph 3.5.0.0 API Specification

    +

    mxGraph 3.5.1.0 API Specification

    @@ -216,7 +216,7 @@
  • Index
  • Help
  • -

    mxGraph 3.5.0.0

    +

    mxGraph 3.5.1.0