From fbd2e146d276d9fa22e9655c1c80f57a6dbf65bb Mon Sep 17 00:00:00 2001 From: Gaudenz Alder Date: Mon, 5 May 2014 04:30:00 -0400 Subject: [PATCH] 2.6.0.0 release --- ChangeLog | 18 + docs/js-api/files/mxClient-js.html | 6 +- docs/js-api/files/shape/mxShape-js.html | 22 +- docs/js-api/files/util/mxWindow-js.html | 24 +- docs/js-api/files/view/mxCellEditor-js.html | 30 +- docs/js-api/files/view/mxCellRenderer-js.html | 70 +- docs/js-api/files/view/mxGraph-js.html | 804 ++-- docs/js-api/files/view/mxGraphView-js.html | 60 +- docs/js-api/files/view/mxOutline-js.html | 28 +- docs/js-api/index/Functions.html | 4 +- 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/Functions2.html | 4 +- docs/js-api/index/Functions3.html | 4 +- docs/js-api/index/Functions4.html | 4 +- docs/js-api/index/Functions5.html | 4 +- docs/js-api/index/Functions6.html | 4 +- docs/js-api/index/Functions7.html | 4 +- docs/js-api/index/Functions8.html | 4 +- docs/js-api/index/Functions9.html | 4 +- docs/js-api/index/General.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/General2.html | 4 +- docs/js-api/index/General20.html | 10 +- docs/js-api/index/General3.html | 4 +- docs/js-api/index/General4.html | 4 +- docs/js-api/index/General5.html | 4 +- docs/js-api/index/General6.html | 4 +- docs/js-api/index/General7.html | 4 +- docs/js-api/index/General8.html | 4 +- docs/js-api/index/General9.html | 4 +- docs/js-api/index/Variables10.html | 6 +- docs/js-api/index/Variables11.html | 4 +- docs/js-api/index/Variables12.html | 4 +- docs/js-api/index/Variables13.html | 6 +- docs/js-api/index/Variables14.html | 12 +- docs/js-api/index/Variables6.html | 8 +- docs/js-api/index/Variables7.html | 4 +- docs/js-api/index/Variables8.html | 4 +- docs/js-api/index/Variables9.html | 6 +- docs/js-api/search/FunctionsA.html | 2 +- docs/js-api/search/FunctionsC.html | 2 +- docs/js-api/search/FunctionsI.html | 2 +- docs/js-api/search/FunctionsP.html | 2 +- docs/js-api/search/GeneralA.html | 2 +- docs/js-api/search/GeneralC.html | 2 +- docs/js-api/search/GeneralI.html | 2 +- docs/js-api/search/GeneralK.html | 2 +- docs/js-api/search/GeneralL.html | 2 +- docs/js-api/search/GeneralP.html | 2 +- docs/js-api/search/GeneralS.html | 2 +- docs/js-api/search/VariablesI.html | 2 +- docs/js-api/search/VariablesK.html | 2 +- docs/js-api/search/VariablesL.html | 2 +- docs/js-api/search/VariablesS.html | 2 +- docs/manual.html | 2 +- docs/manual_javavis.html | 2 +- dotnet/docs/html/annotated.html | 107 + dotnet/docs/html/bc_s.png | Bin 0 -> 676 bytes dotnet/docs/html/bdwn.png | Bin 0 -> 147 bytes ...m_1_1mxgraph_1_1mxBasicCanvas-members.html | 76 + .../classcom_1_1mxgraph_1_1mxBasicCanvas.html | 457 ++ .../classcom_1_1mxgraph_1_1mxBasicCanvas.png | Bin 0 -> 1042 bytes ...classcom_1_1mxgraph_1_1mxCell-members.html | 113 + .../html/classcom_1_1mxgraph_1_1mxCell.html | 1481 +++++++ .../html/classcom_1_1mxgraph_1_1mxCell.png | Bin 0 -> 543 bytes ...com_1_1mxgraph_1_1mxCellCodec-members.html | 106 + .../classcom_1_1mxgraph_1_1mxCellCodec.html | 244 ++ .../classcom_1_1mxgraph_1_1mxCellCodec.png | Bin 0 -> 711 bytes ...scom_1_1mxgraph_1_1mxCellPath-members.html | 68 + .../classcom_1_1mxgraph_1_1mxCellPath.html | 237 + ..._1_1mxgraph_1_1mxCellRenderer-members.html | 67 + ...classcom_1_1mxgraph_1_1mxCellRenderer.html | 280 ++ ...CellRenderer_1_1CanvasFactory-members.html | 65 + ...ph_1_1mxCellRenderer_1_1CanvasFactory.html | 129 + ...aph_1_1mxCellRenderer_1_1CanvasFactory.png | Bin 0 -> 1140 bytes ...enderer_1_1ImageCanvasFactory-members.html | 69 + ...1mxCellRenderer_1_1ImageCanvasFactory.html | 261 ++ ..._1mxCellRenderer_1_1ImageCanvasFactory.png | Bin 0 -> 1141 bytes ...com_1_1mxgraph_1_1mxCellState-members.html | 120 + .../classcom_1_1mxgraph_1_1mxCellState.html | 1088 +++++ .../classcom_1_1mxgraph_1_1mxCellState.png | Bin 0 -> 963 bytes ...lasscom_1_1mxgraph_1_1mxCodec-members.html | 86 + .../html/classcom_1_1mxgraph_1_1mxCodec.html | 925 ++++ ...1_1mxgraph_1_1mxCodecRegistry-members.html | 74 + ...lasscom_1_1mxgraph_1_1mxCodecRegistry.html | 413 ++ ...aph_1_1mxConnectionConstraint-members.html | 71 + ..._1_1mxgraph_1_1mxConnectionConstraint.html | 294 ++ ...com_1_1mxgraph_1_1mxConstants-members.html | 212 + .../classcom_1_1mxgraph_1_1mxConstants.html | 3670 ++++++++++++++++ ...com_1_1mxgraph_1_1mxEdgeStyle-members.html | 69 + .../classcom_1_1mxgraph_1_1mxEdgeStyle.html | 210 + ...xgraph_1_1mxFastOrganicLayout-members.html | 97 + ...com_1_1mxgraph_1_1mxFastOrganicLayout.html | 1004 +++++ ...scom_1_1mxgraph_1_1mxFastOrganicLayout.png | Bin 0 -> 817 bytes ...com_1_1mxgraph_1_1mxGdiCanvas-members.html | 102 + .../classcom_1_1mxgraph_1_1mxGdiCanvas.html | 1773 ++++++++ .../classcom_1_1mxgraph_1_1mxGdiCanvas.png | Bin 0 -> 1039 bytes ...m_1_1mxgraph_1_1mxGdiCanvas2D-members.html | 132 + .../classcom_1_1mxgraph_1_1mxGdiCanvas2D.html | 2573 +++++++++++ .../classcom_1_1mxgraph_1_1mxGdiCanvas2D.png | Bin 0 -> 726 bytes ...1mxGdiCanvas2D_1_1CanvasState-members.html | 65 + ...graph_1_1mxGdiCanvas2D_1_1CanvasState.html | 111 + ...xgraph_1_1mxGdiCanvas2D_1_1CanvasState.png | Bin 0 -> 687 bytes ...scom_1_1mxgraph_1_1mxGeometry-members.html | 109 + .../classcom_1_1mxgraph_1_1mxGeometry.html | 826 ++++ .../classcom_1_1mxgraph_1_1mxGeometry.png | Bin 0 -> 974 bytes ...lasscom_1_1mxgraph_1_1mxGraph-members.html | 157 + .../html/classcom_1_1mxgraph_1_1mxGraph.html | 3897 +++++++++++++++++ ...om_1_1mxgraph_1_1mxGraphModel-members.html | 132 + .../classcom_1_1mxgraph_1_1mxGraphModel.html | 2857 ++++++++++++ .../classcom_1_1mxgraph_1_1mxGraphModel.png | Bin 0 -> 712 bytes ...com_1_1mxgraph_1_1mxGraphView-members.html | 121 + .../classcom_1_1mxgraph_1_1mxGraphView.html | 2269 ++++++++++ ...aph_1_1mxGraphViewImageReader-members.html | 90 + ..._1_1mxgraph_1_1mxGraphViewImageReader.html | 687 +++ ...m_1_1mxgraph_1_1mxGraphViewImageReader.png | Bin 0 -> 877 bytes ...1mxgraph_1_1mxGraphViewReader-members.html | 74 + ...sscom_1_1mxgraph_1_1mxGraphViewReader.html | 439 ++ ...asscom_1_1mxgraph_1_1mxGraphViewReader.png | Bin 0 -> 884 bytes ...m_1_1mxgraph_1_1mxImageBundle-members.html | 68 + .../classcom_1_1mxgraph_1_1mxImageBundle.html | 213 + ...m_1_1mxgraph_1_1mxImageCanvas-members.html | 75 + .../classcom_1_1mxgraph_1_1mxImageCanvas.html | 457 ++ .../classcom_1_1mxgraph_1_1mxImageCanvas.png | Bin 0 -> 729 bytes ...om_1_1mxgraph_1_1mxModelCodec-members.html | 108 + .../classcom_1_1mxgraph_1_1mxModelCodec.html | 421 ++ .../classcom_1_1mxgraph_1_1mxModelCodec.png | Bin 0 -> 725 bytes ...m_1_1mxgraph_1_1mxObjectCodec-members.html | 105 + .../classcom_1_1mxgraph_1_1mxObjectCodec.html | 1914 ++++++++ .../classcom_1_1mxgraph_1_1mxObjectCodec.png | Bin 0 -> 1351 bytes ...com_1_1mxgraph_1_1mxPerimeter-members.html | 68 + .../classcom_1_1mxgraph_1_1mxPerimeter.html | 179 + ...lasscom_1_1mxgraph_1_1mxPoint-members.html | 75 + .../html/classcom_1_1mxgraph_1_1mxPoint.html | 443 ++ .../html/classcom_1_1mxgraph_1_1mxPoint.png | Bin 0 -> 1334 bytes ...com_1_1mxgraph_1_1mxRectangle-members.html | 90 + .../classcom_1_1mxgraph_1_1mxRectangle.html | 727 +++ .../classcom_1_1mxgraph_1_1mxRectangle.png | Bin 0 -> 1334 bytes ...mxgraph_1_1mxSaxOutputHandler-members.html | 80 + ...scom_1_1mxgraph_1_1mxSaxOutputHandler.html | 345 ++ ...sscom_1_1mxgraph_1_1mxSession-members.html | 79 + .../classcom_1_1mxgraph_1_1mxSession.html | 551 +++ ...1_1mxgraph_1_1mxSharedDiagram-members.html | 74 + ...lasscom_1_1mxgraph_1_1mxSharedDiagram.html | 390 ++ ...sscom_1_1mxgraph_1_1mxStencil-members.html | 87 + .../classcom_1_1mxgraph_1_1mxStencil.html | 1011 +++++ ...1mxgraph_1_1mxStencilRegistry-members.html | 67 + ...sscom_1_1mxgraph_1_1mxStencilRegistry.html | 164 + ...1_1mxgraph_1_1mxStyleRegistry-members.html | 68 + ...lasscom_1_1mxgraph_1_1mxStyleRegistry.html | 206 + ...om_1_1mxgraph_1_1mxStylesheet-members.html | 74 + .../classcom_1_1mxgraph_1_1mxStylesheet.html | 412 ++ ...1mxgraph_1_1mxStylesheetCodec-members.html | 109 + ...sscom_1_1mxgraph_1_1mxStylesheetCodec.html | 444 ++ ...asscom_1_1mxgraph_1_1mxStylesheetCodec.png | Bin 0 -> 781 bytes ...lasscom_1_1mxgraph_1_1mxUtils-members.html | 118 + .../html/classcom_1_1mxgraph_1_1mxUtils.html | 2761 ++++++++++++ dotnet/docs/html/classes.html | 75 + dotnet/docs/html/closed.png | Bin 0 -> 132 bytes .../dir_313caf1132e152dd9b58bea13a4052ca.html | 70 + .../dir_5dd65160827af56e6353642206b80129.html | 70 + .../dir_68267d1309a1af8e8297ef4c3efbcdba.html | 74 + .../dir_af89b2be539cdaaafaad341d1e56977e.html | 64 + .../dir_b39b5091e8d1d2be4b7fc59d57749634.html | 74 + .../dir_be08f49106430b8079ea166c74b16fe8.html | 62 + .../dir_c184e51c84f2c3f0345bbc8a0d75d3e1.html | 70 + .../dir_eb63608ab2ddc08e14808990907a274d.html | 74 + .../dir_f2b3bec0b800804983017014eef9ca7d.html | 62 + dotnet/docs/html/doxygen.css | 1186 +++++ dotnet/docs/html/doxygen.png | Bin 0 -> 3779 bytes dotnet/docs/html/dynsections.js | 97 + dotnet/docs/html/ftv2blank.png | Bin 0 -> 86 bytes dotnet/docs/html/ftv2cl.png | Bin 0 -> 453 bytes dotnet/docs/html/ftv2doc.png | Bin 0 -> 746 bytes dotnet/docs/html/ftv2folderclosed.png | Bin 0 -> 616 bytes dotnet/docs/html/ftv2folderopen.png | Bin 0 -> 597 bytes dotnet/docs/html/ftv2lastnode.png | Bin 0 -> 86 bytes dotnet/docs/html/ftv2link.png | Bin 0 -> 746 bytes dotnet/docs/html/ftv2mlastnode.png | Bin 0 -> 246 bytes dotnet/docs/html/ftv2mnode.png | Bin 0 -> 246 bytes dotnet/docs/html/ftv2mo.png | Bin 0 -> 403 bytes dotnet/docs/html/ftv2node.png | Bin 0 -> 86 bytes dotnet/docs/html/ftv2ns.png | Bin 0 -> 388 bytes dotnet/docs/html/ftv2plastnode.png | Bin 0 -> 229 bytes dotnet/docs/html/ftv2pnode.png | Bin 0 -> 229 bytes dotnet/docs/html/ftv2splitbar.png | Bin 0 -> 314 bytes dotnet/docs/html/ftv2vertline.png | Bin 0 -> 86 bytes dotnet/docs/html/functions.html | 211 + dotnet/docs/html/functions_0x62.html | 133 + dotnet/docs/html/functions_0x63.html | 276 ++ dotnet/docs/html/functions_0x64.html | 296 ++ dotnet/docs/html/functions_0x65.html | 197 + dotnet/docs/html/functions_0x66.html | 165 + dotnet/docs/html/functions_0x67.html | 484 ++ dotnet/docs/html/functions_0x68.html | 114 + dotnet/docs/html/functions_0x69.html | 274 ++ dotnet/docs/html/functions_0x6c.html | 170 + dotnet/docs/html/functions_0x6d.html | 219 + dotnet/docs/html/functions_0x6e.html | 114 + dotnet/docs/html/functions_0x6f.html | 111 + dotnet/docs/html/functions_0x70.html | 193 + dotnet/docs/html/functions_0x71.html | 97 + dotnet/docs/html/functions_0x72.html | 203 + dotnet/docs/html/functions_0x73.html | 558 +++ dotnet/docs/html/functions_0x74.html | 160 + dotnet/docs/html/functions_0x75.html | 144 + dotnet/docs/html/functions_0x76.html | 139 + dotnet/docs/html/functions_0x77.html | 117 + dotnet/docs/html/functions_0x78.html | 99 + dotnet/docs/html/functions_0x79.html | 99 + dotnet/docs/html/functions_evnt.html | 71 + dotnet/docs/html/functions_func.html | 127 + dotnet/docs/html/functions_func_0x62.html | 104 + dotnet/docs/html/functions_func_0x63.html | 211 + dotnet/docs/html/functions_func_0x64.html | 199 + dotnet/docs/html/functions_func_0x65.html | 139 + dotnet/docs/html/functions_func_0x66.html | 106 + dotnet/docs/html/functions_func_0x67.html | 429 ++ dotnet/docs/html/functions_func_0x68.html | 95 + dotnet/docs/html/functions_func_0x69.html | 195 + dotnet/docs/html/functions_func_0x6c.html | 104 + dotnet/docs/html/functions_func_0x6d.html | 178 + dotnet/docs/html/functions_func_0x70.html | 144 + dotnet/docs/html/functions_func_0x71.html | 93 + dotnet/docs/html/functions_func_0x72.html | 166 + dotnet/docs/html/functions_func_0x73.html | 171 + dotnet/docs/html/functions_func_0x74.html | 107 + dotnet/docs/html/functions_func_0x75.html | 137 + dotnet/docs/html/functions_func_0x76.html | 98 + dotnet/docs/html/functions_func_0x77.html | 98 + dotnet/docs/html/functions_prop.html | 479 ++ dotnet/docs/html/functions_vars.html | 156 + dotnet/docs/html/functions_vars_0x62.html | 108 + dotnet/docs/html/functions_vars_0x63.html | 130 + dotnet/docs/html/functions_vars_0x64.html | 155 + dotnet/docs/html/functions_vars_0x65.html | 143 + dotnet/docs/html/functions_vars_0x66.html | 116 + dotnet/docs/html/functions_vars_0x67.html | 117 + dotnet/docs/html/functions_vars_0x68.html | 104 + dotnet/docs/html/functions_vars_0x69.html | 129 + dotnet/docs/html/functions_vars_0x6c.html | 137 + dotnet/docs/html/functions_vars_0x6d.html | 116 + dotnet/docs/html/functions_vars_0x6e.html | 113 + dotnet/docs/html/functions_vars_0x6f.html | 101 + dotnet/docs/html/functions_vars_0x70.html | 125 + dotnet/docs/html/functions_vars_0x72.html | 119 + dotnet/docs/html/functions_vars_0x73.html | 420 ++ dotnet/docs/html/functions_vars_0x74.html | 123 + dotnet/docs/html/functions_vars_0x75.html | 95 + dotnet/docs/html/functions_vars_0x76.html | 114 + dotnet/docs/html/functions_vars_0x77.html | 104 + dotnet/docs/html/functions_vars_0x78.html | 95 + dotnet/docs/html/functions_vars_0x79.html | 95 + dotnet/docs/html/hierarchy.html | 106 + dotnet/docs/html/index.html | 50 + ...cecom_1_1mxgraph_1_1mxICanvas-members.html | 68 + .../interfacecom_1_1mxgraph_1_1mxICanvas.html | 229 + .../interfacecom_1_1mxgraph_1_1mxICanvas.png | Bin 0 -> 1445 bytes ...com_1_1mxgraph_1_1mxICanvas2D-members.html | 103 + ...nterfacecom_1_1mxgraph_1_1mxICanvas2D.html | 1406 ++++++ ...interfacecom_1_1mxgraph_1_1mxICanvas2D.png | Bin 0 -> 733 bytes ...facecom_1_1mxgraph_1_1mxICell-members.html | 91 + .../interfacecom_1_1mxgraph_1_1mxICell.html | 893 ++++ .../interfacecom_1_1mxgraph_1_1mxICell.png | Bin 0 -> 544 bytes ..._1_1mxgraph_1_1mxIGraphLayout-members.html | 66 + ...rfacecom_1_1mxgraph_1_1mxIGraphLayout.html | 162 + ...erfacecom_1_1mxgraph_1_1mxIGraphLayout.png | Bin 0 -> 824 bytes ...m_1_1mxgraph_1_1mxIGraphModel-members.html | 93 + ...erfacecom_1_1mxgraph_1_1mxIGraphModel.html | 1104 +++++ ...terfacecom_1_1mxgraph_1_1mxIGraphModel.png | Bin 0 -> 718 bytes dotnet/docs/html/namespacecom.html | 64 + dotnet/docs/html/namespacecom_1_1mxgraph.html | 360 ++ dotnet/docs/html/namespacemembers.html | 72 + dotnet/docs/html/namespacemembers_func.html | 72 + dotnet/docs/html/namespaces.html | 62 + dotnet/docs/html/nav_f.png | Bin 0 -> 153 bytes dotnet/docs/html/nav_g.png | Bin 0 -> 95 bytes dotnet/docs/html/nav_h.png | Bin 0 -> 98 bytes dotnet/docs/html/open.png | Bin 0 -> 123 bytes dotnet/docs/html/sync_off.png | Bin 0 -> 853 bytes dotnet/docs/html/sync_on.png | Bin 0 -> 845 bytes dotnet/docs/html/tab_a.png | Bin 0 -> 142 bytes dotnet/docs/html/tab_b.png | Bin 0 -> 169 bytes dotnet/docs/html/tab_h.png | Bin 0 -> 177 bytes dotnet/docs/html/tab_s.png | Bin 0 -> 184 bytes dotnet/docs/html/tabs.css | 60 + 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 | 12 +- .../mxgraph/canvas/mxGraphicsCanvas2D.html | 12 +- .../docs/com/mxgraph/canvas/mxHtmlCanvas.html | 12 +- java/docs/com/mxgraph/canvas/mxICanvas.html | 12 +- java/docs/com/mxgraph/canvas/mxICanvas2D.html | 12 +- .../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/mxGraphMlCodec.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 +- .../graphml/class-use/mxGraphMlConstants.html | 12 +- .../io/graphml/class-use/mxGraphMlData.html | 12 +- .../io/graphml/class-use/mxGraphMlEdge.html | 12 +- .../io/graphml/class-use/mxGraphMlGraph.html | 12 +- .../io/graphml/class-use/mxGraphMlKey.html | 12 +- .../class-use/mxGraphMlKey.keyForValues.html | 12 +- .../class-use/mxGraphMlKey.keyTypeValues.html | 12 +- .../class-use/mxGraphMlKeyManager.html | 12 +- .../io/graphml/class-use/mxGraphMlNode.html | 12 +- .../io/graphml/class-use/mxGraphMlPort.html | 12 +- .../graphml/class-use/mxGraphMlShapeEdge.html | 12 +- .../graphml/class-use/mxGraphMlShapeNode.html | 12 +- .../io/graphml/class-use/mxGraphMlUtils.html | 12 +- .../io/graphml/mxGraphMlConstants.html | 12 +- .../com/mxgraph/io/graphml/mxGraphMlData.html | 12 +- .../com/mxgraph/io/graphml/mxGraphMlEdge.html | 12 +- .../mxgraph/io/graphml/mxGraphMlGraph.html | 12 +- .../com/mxgraph/io/graphml/mxGraphMlKey.html | 12 +- .../io/graphml/mxGraphMlKey.keyForValues.html | 12 +- .../graphml/mxGraphMlKey.keyTypeValues.html | 12 +- .../io/graphml/mxGraphMlKeyManager.html | 12 +- .../com/mxgraph/io/graphml/mxGraphMlNode.html | 12 +- .../com/mxgraph/io/graphml/mxGraphMlPort.html | 12 +- .../io/graphml/mxGraphMlShapeEdge.html | 12 +- .../io/graphml/mxGraphMlShapeNode.html | 12 +- .../mxgraph/io/graphml/mxGraphMlUtils.html | 12 +- .../com/mxgraph/io/graphml/package-frame.html | 6 +- .../mxgraph/io/graphml/package-summary.html | 12 +- .../com/mxgraph/io/graphml/package-tree.html | 12 +- .../com/mxgraph/io/graphml/package-use.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/mxGraphMlCodec.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 +- .../mxgraph/sharing/class-use/mxSession.html | 12 +- .../sharing/class-use/mxSharedGraphModel.html | 12 +- .../sharing/class-use/mxSharedState.html | 12 +- ...mxSharedState.mxDiagramChangeListener.html | 12 +- java/docs/com/mxgraph/sharing/mxSession.html | 12 +- .../mxgraph/sharing/mxSharedGraphModel.html | 12 +- .../com/mxgraph/sharing/mxSharedState.html | 12 +- ...mxSharedState.mxDiagramChangeListener.html | 12 +- .../com/mxgraph/sharing/package-frame.html | 6 +- .../com/mxgraph/sharing/package-summary.html | 12 +- .../com/mxgraph/sharing/package-tree.html | 12 +- .../docs/com/mxgraph/sharing/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 | 12 +- 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 | 12 +- 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 | 12 +- 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/mxSpaceManager.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 | 12 +- ...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 +- .../docs/com/mxgraph/view/mxSpaceManager.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 | 12 +- 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 633145 -> 633155 bytes java/lib/mxgraph-core.jar | Bin 485818 -> 485828 bytes java/lib/mxgraph-swing.jar | Bin 147899 -> 147900 bytes java/src/com/mxgraph/view/mxGraph.java | 4 +- java/src/com/mxgraph/view/mxGraphView.java | 153 +- .../examples/grapheditor/www/js/Actions.js | 222 +- .../examples/grapheditor/www/js/Dialogs.js | 210 +- .../examples/grapheditor/www/js/Editor.js | 66 +- .../examples/grapheditor/www/js/EditorUi.js | 305 +- .../examples/grapheditor/www/js/Graph.js | 34 +- .../examples/grapheditor/www/js/Menus.js | 54 +- .../examples/grapheditor/www/js/Shapes.js | 2 +- .../examples/grapheditor/www/js/Sidebar.js | 172 +- .../examples/grapheditor/www/js/Toolbar.js | 41 +- .../grapheditor/www/resources/grapheditor.txt | 4 + .../www/resources/grapheditor_de.txt | 4 + .../grapheditor/www/styles/grapheditor.css | 6 +- .../grapheditor/www/styles/sprites.png | Bin 6595 -> 6611 bytes javascript/examples/map.html | 1 - javascript/examples/stencils.html | 12 + javascript/mxClient.js | 409 +- javascript/mxClient.min.js | 116 +- javascript/src/css/common.css | 4 +- javascript/src/css/explorer.css | 2 +- javascript/src/js/handler/mxGraphHandler.js | 11 +- javascript/src/js/handler/mxVertexHandler.js | 7 +- javascript/src/js/mxClient.js | 13 +- javascript/src/js/shape/mxShape.js | 73 +- javascript/src/js/util/mxEvent.js | 6 +- javascript/src/js/util/mxWindow.js | 28 + javascript/src/js/view/mxCellEditor.js | 11 +- javascript/src/js/view/mxCellRenderer.js | 29 +- javascript/src/js/view/mxGraph.js | 47 +- javascript/src/js/view/mxGraphView.js | 154 +- javascript/src/js/view/mxOutline.js | 30 +- php/src/mxServer.php | 6 +- php/src/view/mxGraphView.php | 2 +- 981 files changed, 64325 insertions(+), 5203 deletions(-) create mode 100644 dotnet/docs/html/annotated.html create mode 100644 dotnet/docs/html/bc_s.png create mode 100644 dotnet/docs/html/bdwn.png create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxBasicCanvas-members.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxBasicCanvas.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxBasicCanvas.png create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxCell-members.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxCell.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxCell.png create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellCodec-members.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellCodec.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellCodec.png create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellPath-members.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellPath.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer-members.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer_1_1CanvasFactory-members.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer_1_1CanvasFactory.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer_1_1CanvasFactory.png create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer_1_1ImageCanvasFactory-members.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer_1_1ImageCanvasFactory.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer_1_1ImageCanvasFactory.png create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellState-members.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellState.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellState.png create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxCodec-members.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxCodec.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxCodecRegistry-members.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxCodecRegistry.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxConnectionConstraint-members.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxConnectionConstraint.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxConstants-members.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxConstants.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxEdgeStyle-members.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxEdgeStyle.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxFastOrganicLayout-members.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxFastOrganicLayout.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxFastOrganicLayout.png create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas-members.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas.png create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas2D-members.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas2D.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas2D.png create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas2D_1_1CanvasState-members.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas2D_1_1CanvasState.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas2D_1_1CanvasState.png create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxGeometry-members.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxGeometry.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxGeometry.png create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraph-members.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraph.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphModel-members.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphModel.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphModel.png create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphView-members.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphView.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphViewImageReader-members.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphViewImageReader.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphViewImageReader.png create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphViewReader-members.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphViewReader.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphViewReader.png create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxImageBundle-members.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxImageBundle.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxImageCanvas-members.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxImageCanvas.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxImageCanvas.png create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxModelCodec-members.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxModelCodec.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxModelCodec.png create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxObjectCodec-members.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxObjectCodec.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxObjectCodec.png create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxPerimeter-members.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxPerimeter.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxPoint-members.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxPoint.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxPoint.png create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxRectangle-members.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxRectangle.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxRectangle.png create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxSaxOutputHandler-members.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxSaxOutputHandler.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxSession-members.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxSession.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxSharedDiagram-members.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxSharedDiagram.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxStencil-members.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxStencil.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxStencilRegistry-members.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxStencilRegistry.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxStyleRegistry-members.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxStyleRegistry.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxStylesheet-members.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxStylesheet.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxStylesheetCodec-members.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxStylesheetCodec.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxStylesheetCodec.png create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxUtils-members.html create mode 100644 dotnet/docs/html/classcom_1_1mxgraph_1_1mxUtils.html create mode 100644 dotnet/docs/html/classes.html create mode 100644 dotnet/docs/html/closed.png create mode 100644 dotnet/docs/html/dir_313caf1132e152dd9b58bea13a4052ca.html create mode 100644 dotnet/docs/html/dir_5dd65160827af56e6353642206b80129.html create mode 100644 dotnet/docs/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html create mode 100644 dotnet/docs/html/dir_af89b2be539cdaaafaad341d1e56977e.html create mode 100644 dotnet/docs/html/dir_b39b5091e8d1d2be4b7fc59d57749634.html create mode 100644 dotnet/docs/html/dir_be08f49106430b8079ea166c74b16fe8.html create mode 100644 dotnet/docs/html/dir_c184e51c84f2c3f0345bbc8a0d75d3e1.html create mode 100644 dotnet/docs/html/dir_eb63608ab2ddc08e14808990907a274d.html create mode 100644 dotnet/docs/html/dir_f2b3bec0b800804983017014eef9ca7d.html create mode 100644 dotnet/docs/html/doxygen.css create mode 100644 dotnet/docs/html/doxygen.png create mode 100644 dotnet/docs/html/dynsections.js create mode 100644 dotnet/docs/html/ftv2blank.png create mode 100644 dotnet/docs/html/ftv2cl.png create mode 100644 dotnet/docs/html/ftv2doc.png create mode 100644 dotnet/docs/html/ftv2folderclosed.png create mode 100644 dotnet/docs/html/ftv2folderopen.png create mode 100644 dotnet/docs/html/ftv2lastnode.png create mode 100644 dotnet/docs/html/ftv2link.png create mode 100644 dotnet/docs/html/ftv2mlastnode.png create mode 100644 dotnet/docs/html/ftv2mnode.png create mode 100644 dotnet/docs/html/ftv2mo.png create mode 100644 dotnet/docs/html/ftv2node.png create mode 100644 dotnet/docs/html/ftv2ns.png create mode 100644 dotnet/docs/html/ftv2plastnode.png create mode 100644 dotnet/docs/html/ftv2pnode.png create mode 100644 dotnet/docs/html/ftv2splitbar.png create mode 100644 dotnet/docs/html/ftv2vertline.png create mode 100644 dotnet/docs/html/functions.html create mode 100644 dotnet/docs/html/functions_0x62.html create mode 100644 dotnet/docs/html/functions_0x63.html create mode 100644 dotnet/docs/html/functions_0x64.html create mode 100644 dotnet/docs/html/functions_0x65.html create mode 100644 dotnet/docs/html/functions_0x66.html create mode 100644 dotnet/docs/html/functions_0x67.html create mode 100644 dotnet/docs/html/functions_0x68.html create mode 100644 dotnet/docs/html/functions_0x69.html create mode 100644 dotnet/docs/html/functions_0x6c.html create mode 100644 dotnet/docs/html/functions_0x6d.html create mode 100644 dotnet/docs/html/functions_0x6e.html create mode 100644 dotnet/docs/html/functions_0x6f.html create mode 100644 dotnet/docs/html/functions_0x70.html create mode 100644 dotnet/docs/html/functions_0x71.html create mode 100644 dotnet/docs/html/functions_0x72.html create mode 100644 dotnet/docs/html/functions_0x73.html create mode 100644 dotnet/docs/html/functions_0x74.html create mode 100644 dotnet/docs/html/functions_0x75.html create mode 100644 dotnet/docs/html/functions_0x76.html create mode 100644 dotnet/docs/html/functions_0x77.html create mode 100644 dotnet/docs/html/functions_0x78.html create mode 100644 dotnet/docs/html/functions_0x79.html create mode 100644 dotnet/docs/html/functions_evnt.html create mode 100644 dotnet/docs/html/functions_func.html create mode 100644 dotnet/docs/html/functions_func_0x62.html create mode 100644 dotnet/docs/html/functions_func_0x63.html create mode 100644 dotnet/docs/html/functions_func_0x64.html create mode 100644 dotnet/docs/html/functions_func_0x65.html create mode 100644 dotnet/docs/html/functions_func_0x66.html create mode 100644 dotnet/docs/html/functions_func_0x67.html create mode 100644 dotnet/docs/html/functions_func_0x68.html create mode 100644 dotnet/docs/html/functions_func_0x69.html create mode 100644 dotnet/docs/html/functions_func_0x6c.html create mode 100644 dotnet/docs/html/functions_func_0x6d.html create mode 100644 dotnet/docs/html/functions_func_0x70.html create mode 100644 dotnet/docs/html/functions_func_0x71.html create mode 100644 dotnet/docs/html/functions_func_0x72.html create mode 100644 dotnet/docs/html/functions_func_0x73.html create mode 100644 dotnet/docs/html/functions_func_0x74.html create mode 100644 dotnet/docs/html/functions_func_0x75.html create mode 100644 dotnet/docs/html/functions_func_0x76.html create mode 100644 dotnet/docs/html/functions_func_0x77.html create mode 100644 dotnet/docs/html/functions_prop.html create mode 100644 dotnet/docs/html/functions_vars.html create mode 100644 dotnet/docs/html/functions_vars_0x62.html create mode 100644 dotnet/docs/html/functions_vars_0x63.html create mode 100644 dotnet/docs/html/functions_vars_0x64.html create mode 100644 dotnet/docs/html/functions_vars_0x65.html create mode 100644 dotnet/docs/html/functions_vars_0x66.html create mode 100644 dotnet/docs/html/functions_vars_0x67.html create mode 100644 dotnet/docs/html/functions_vars_0x68.html create mode 100644 dotnet/docs/html/functions_vars_0x69.html create mode 100644 dotnet/docs/html/functions_vars_0x6c.html create mode 100644 dotnet/docs/html/functions_vars_0x6d.html create mode 100644 dotnet/docs/html/functions_vars_0x6e.html create mode 100644 dotnet/docs/html/functions_vars_0x6f.html create mode 100644 dotnet/docs/html/functions_vars_0x70.html create mode 100644 dotnet/docs/html/functions_vars_0x72.html create mode 100644 dotnet/docs/html/functions_vars_0x73.html create mode 100644 dotnet/docs/html/functions_vars_0x74.html create mode 100644 dotnet/docs/html/functions_vars_0x75.html create mode 100644 dotnet/docs/html/functions_vars_0x76.html create mode 100644 dotnet/docs/html/functions_vars_0x77.html create mode 100644 dotnet/docs/html/functions_vars_0x78.html create mode 100644 dotnet/docs/html/functions_vars_0x79.html create mode 100644 dotnet/docs/html/hierarchy.html create mode 100644 dotnet/docs/html/index.html create mode 100644 dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICanvas-members.html create mode 100644 dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICanvas.html create mode 100644 dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICanvas.png create mode 100644 dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICanvas2D-members.html create mode 100644 dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICanvas2D.html create mode 100644 dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICanvas2D.png create mode 100644 dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICell-members.html create mode 100644 dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICell.html create mode 100644 dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICell.png create mode 100644 dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxIGraphLayout-members.html create mode 100644 dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxIGraphLayout.html create mode 100644 dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxIGraphLayout.png create mode 100644 dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxIGraphModel-members.html create mode 100644 dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxIGraphModel.html create mode 100644 dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxIGraphModel.png create mode 100644 dotnet/docs/html/namespacecom.html create mode 100644 dotnet/docs/html/namespacecom_1_1mxgraph.html create mode 100644 dotnet/docs/html/namespacemembers.html create mode 100644 dotnet/docs/html/namespacemembers_func.html create mode 100644 dotnet/docs/html/namespaces.html create mode 100644 dotnet/docs/html/nav_f.png create mode 100644 dotnet/docs/html/nav_g.png create mode 100644 dotnet/docs/html/nav_h.png create mode 100644 dotnet/docs/html/open.png create mode 100644 dotnet/docs/html/sync_off.png create mode 100644 dotnet/docs/html/sync_on.png create mode 100644 dotnet/docs/html/tab_a.png create mode 100644 dotnet/docs/html/tab_b.png create mode 100644 dotnet/docs/html/tab_h.png create mode 100644 dotnet/docs/html/tab_s.png create mode 100644 dotnet/docs/html/tabs.css diff --git a/ChangeLog b/ChangeLog index 041b853f0..bf334ef71 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,21 @@ +05-MAY-2014: 2.6.0.0 + +- Adds mxClient.IS_WIN [JavaScript] +- Adds mxCellEditor.isSelectText function [JavaScript] +- Allows changes of translate, scroll in mxGraph.zoom [JavaScript] +- Fixes mxEvent.isTouchEvent, isMouseEvent for Firefox [JavaScript] +- Sets position:absolute for mxWindow.div in common.css [JavaScript] +- Uses shadow filter for mxWindow only in quirks mode [JavaScript] +- Adds mxOutline.createGraph, getSourceGraphBounds hooks [JavaScript] +- Adds mxShape.shapePointerEvents switch [JavaScript] +- Fixes transformed event handling with mxShape.stencilPointerEvents [JavaScript] +- Removes mxShape.paintStencilShape [JavaScript] +- Changes mxShape.addTransparentBackgroundRectangle to createTransparentSvgRectangle [JavaScript] +- Adds mxGraph.keepEdgesInBackground switch [JavaScript] +- Fixes possible infinite loop via mxGraph.getDropTarget [JavaScript] +- Calls configureShape in mxCellRenderer.initializeShape [JavaScript] +- Fixes origin of currentRoot in mxGraphView [Java,JavaScript] + 13-APR-2014: 2.5.1.1 - Adds mxVertexHandler.isRecursiveResize hook [JavaScript] diff --git a/docs/js-api/files/mxClient-js.html b/docs/js-api/files/mxClient-js.html index bc6fe2664..763dbb966 100644 --- a/docs/js-api/files/mxClient-js.html +++ b/docs/js-api/files/mxClient-js.html @@ -11,11 +11,11 @@ if (browserType) {document.write("
");if (browserV -

mxClient

Bootstrapping mechanism for the mxGraph thin client.  The production version of this file contains all code required to run the mxGraph thin client, as well as global constants to identify the browser and operating system in use.  You may have to load chrome://global/content/contentAreaUtils.js in your page to disable certain security restrictions in Mozilla.

Summary
mxClientBootstrapping mechanism for the mxGraph thin client.
Variables
VERSIONContains the current version of the mxGraph library.
IS_IETrue if the current browser is Internet Explorer.
IS_IE6True if the current browser is Internet Explorer 6.x.
IS_QUIRKSTrue if the current browser is Internet Explorer and it is in quirks mode.
VML_PREFIXPrefix for VML namespace in node names.
OFFICE_PREFIXPrefix for VML office namespace in node names.
IS_NSTrue if the current browser is Netscape (including Firefox).
IS_OPTrue if the current browser is Opera.
IS_OTTrue if -o-transform is available as a CSS style.
IS_SFTrue if the current browser is Safari.
IS_IOSReturns true if the user agent is an iPad, iPhone or iPod.
IS_GCTrue if the current browser is Google Chrome.
IS_FFTrue if the current browser is Firefox.
IS_MTTrue if -moz-transform is available as a CSS style.
IS_SVGTrue if the browser supports SVG.
NO_FOTrue if foreignObject support is not available.
IS_VMLTrue if the browser supports VML.
IS_MACTrue if the client is a Mac.
IS_TOUCHTrue if this device supports touchstart/-move/-end events (Apple iOS, Android, Chromebook and Chrome Browser on touch-enabled devices).
IS_POINTERTrue if this device supports MS pointer events.
IS_LOCALTrue if the documents location does not start with http:// or https://.
Functions
isBrowserSupportedReturns true if the current browser is supported, that is, if mxClient.IS_VML or mxClient.IS_SVG is true.
linkAdds a link node to the head of the document.
includeDynamically adds a script node to the document header.
disposeFrees up memory in IE by resolving cyclic dependencies between the DOM and the JavaScript objects.
Variables
mxLoadResourcesOptional global config variable to toggle loading of the two resource files in mxGraph and mxEditor.
mxResourceExtensionOptional global config variable to specify the extension of resource files.
mxLoadStylesheetsOptional global config variable to toggle loading of the CSS files when the library is initialized.
basePathBasepath for all URLs in the core without trailing slash.
imageBasePathBasepath for all images URLs in the core without trailing slash.
languageDefines the language of the client, eg.
defaultLanguageDefines the default language which is used in the common resource files.
languagesDefines the optional array of all supported language extensions.
+

mxClient

Bootstrapping mechanism for the mxGraph thin client.  The production version of this file contains all code required to run the mxGraph thin client, as well as global constants to identify the browser and operating system in use.  You may have to load chrome://global/content/contentAreaUtils.js in your page to disable certain security restrictions in Mozilla.

Summary
mxClientBootstrapping mechanism for the mxGraph thin client.
Variables
VERSIONContains the current version of the mxGraph library.
IS_IETrue if the current browser is Internet Explorer.
IS_IE6True if the current browser is Internet Explorer 6.x.
IS_QUIRKSTrue if the current browser is Internet Explorer and it is in quirks mode.
VML_PREFIXPrefix for VML namespace in node names.
OFFICE_PREFIXPrefix for VML office namespace in node names.
IS_NSTrue if the current browser is Netscape (including Firefox).
IS_OPTrue if the current browser is Opera.
IS_OTTrue if -o-transform is available as a CSS style.
IS_SFTrue if the current browser is Safari.
IS_IOSReturns true if the user agent is an iPad, iPhone or iPod.
IS_GCTrue if the current browser is Google Chrome.
IS_FFTrue if the current browser is Firefox.
IS_MTTrue if -moz-transform is available as a CSS style.
IS_SVGTrue if the browser supports SVG.
NO_FOTrue if foreignObject support is not available.
IS_VMLTrue if the browser supports VML.
IS_WINTrue if the client is a Windows.
IS_MACTrue if the client is a Mac.
IS_TOUCHTrue if this device supports touchstart/-move/-end events (Apple iOS, Android, Chromebook and Chrome Browser on touch-enabled devices).
IS_POINTERTrue if this device supports MS pointer events.
IS_LOCALTrue if the documents location does not start with http:// or https://.
Functions
isBrowserSupportedReturns true if the current browser is supported, that is, if mxClient.IS_VML or mxClient.IS_SVG is true.
linkAdds a link node to the head of the document.
includeDynamically adds a script node to the document header.
disposeFrees up memory in IE by resolving cyclic dependencies between the DOM and the JavaScript objects.
Variables
mxLoadResourcesOptional global config variable to toggle loading of the two resource files in mxGraph and mxEditor.
mxResourceExtensionOptional global config variable to specify the extension of resource files.
mxLoadStylesheetsOptional global config variable to toggle loading of the CSS files when the library is initialized.
basePathBasepath for all URLs in the core without trailing slash.
imageBasePathBasepath for all images URLs in the core without trailing slash.
languageDefines the language of the client, eg.
defaultLanguageDefines the default language which is used in the common resource files.
languagesDefines the optional array of all supported language extensions.

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

+

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

IS_IE

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

True if the current browser is Internet Explorer.

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

IS_VML

IS_VML: navigator.appName.toUpperCase()

True if the browser supports VML.

+

IS_WIN

True if the client is a Windows.

+

IS_MAC

True if the client is a Mac.

IS_TOUCH

True if this device supports touchstart/-move/-end events (Apple iOS, Android, Chromebook and Chrome Browser on touch-enabled devices).

diff --git a/docs/js-api/files/shape/mxShape-js.html b/docs/js-api/files/shape/mxShape-js.html index b54f12ab0..21c442d9d 100644 --- a/docs/js-api/files/shape/mxShape-js.html +++ b/docs/js-api/files/shape/mxShape-js.html @@ -15,7 +15,7 @@ if (browserType) {document.write("
");if (browserV 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.
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.
stencilPointerEventsSpecifies if pointer events outside of stencils should be handled.
vmlScaleScale for improving the precision of VML rendering.
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.
paintStencilShapePaints the line shape.
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.
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.
addTransparentBackgroundRectangleAdds 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.
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.
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.
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.
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

@@ -41,17 +41,19 @@ style[mxConstants.STYLE_SHAPE] = 'customShape'; -
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.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.stencilPointerEvents
Specifies if pointer events outside of stencils should be handled.
mxShape.prototype.vmlScale
Scale for improving the precision of VML rendering.
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.paintStencilShape = function(c,
x,
y,
w,
h)
Paints the line shape.
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.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.addTransparentBackgroundRectangle = function(node,
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.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.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.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.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.
diff --git a/docs/js-api/files/util/mxWindow-js.html b/docs/js-api/files/util/mxWindow-js.html index 2cd8d3cde..83a9815af 100644 --- a/docs/js-api/files/util/mxWindow-js.html +++ b/docs/js-api/files/util/mxWindow-js.html @@ -30,7 +30,29 @@ wnd.setVisible(true);

To limit the movement of a window, eg };

Or the following event handler can be used

wnd.addListener(mxEvent.MOVE, function(e)
 {
   wnd.setLocation(Math.max(0, wnd.getX()), Math.max(0, wnd.getY()));
-});
Summary
mxWindowBasic window inside a document.
Events
mxEvent.MOVE_STARTFires before the window is moved.
mxEvent.MOVEFires while the window is being moved.
mxEvent.MOVE_ENDFires after the window is moved.
mxEvent.RESIZE_STARTFires before the window is resized.
mxEvent.RESIZEFires while the window is being resized.
mxEvent.RESIZE_ENDFires after the window is resized.
mxEvent.MAXIMIZEFires after the window is maximized.
mxEvent.MINIMIZEFires after the window is minimized.
mxEvent.NORMALIZEFires after the window is normalized, that is, it returned from maximized or minimized state.
mxEvent.ACTIVATEFires after a window is activated.
mxEvent.SHOWFires after the window is shown.
mxEvent.HIDEFires after the window is hidden.
mxEvent.CLOSEFires before the window is closed.
mxEvent.DESTROYFires before the window is destroyed.
Functions
mxWindowConstructs a new window with the given dimension and title to display the specified content.
Variables
closeImageURL of the image to be used for the close icon in the titlebar.
minimizeImageURL of the image to be used for the minimize icon in the titlebar.
normalizeImageURL of the image to be used for the normalize icon in the titlebar.
maximizeImageURL of the image to be used for the maximize icon in the titlebar.
normalizeImageURL of the image to be used for the resize icon.
visibleBoolean flag that represents the visible state of the window.
minimumSizemxRectangle that specifies the minimum width and height of the window.
destroyOnCloseSpecifies if the window should be destroyed when it is closed.
contentHeightCorrectionDefines the correction factor for computing the height of the contentWrapper.
titleReference to the DOM node (TD) that contains the title.
contentReference to the DOM node that represents the window content.
Functions
initInitializes the DOM tree that represents the window.
setTitleSets the window title to the given string.
setScrollableSets if the window contents should be scrollable.
activatePuts the window on top of all other windows.
getElementReturuns the outermost DOM node that makes up the window.
fitMakes sure the window is inside the client area of the window.
isResizableReturns true if the window is resizable.
setResizableSets if the window should be resizable.
setSizeSets the size of the window.
setMinimizableSets if the window is minimizable.
getMinimumSizeReturns an mxRectangle that specifies the size for the minimized window.
installMinimizeHandlerInstalls the event listeners required for minimizing the window.
setMaximizableSets if the window is maximizable.
installMaximizeHandlerInstalls the event listeners required for maximizing the window.
installMoveHandlerInstalls the event listeners required for moving the window.
setLocationSets the upper, left corner of the window.
getXReturns the current position on the x-axis.
getYReturns the current position on the y-axis.
installCloseHandlerAdds the closeImage as a new image node in <closeImg> and installs the <close> event.
setImageSets the image associated with the window.
setClosableSets the image associated with the window.
isVisibleReturns true if the window is visible.
setVisibleShows or hides the window depending on the given flag.
showShows the window.
hideHides the window.
destroyDestroys the window and removes all associated resources.
+});

To keep a window inside the current window

mxEvent.addListener(window, 'resize', mxUtils.bind(this, function()
+{
+  var iw = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth;
+  var ih = window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight;
+
+  var x = this.window.getX();
+  var y = this.window.getY();
+
+  if (x + this.window.table.clientWidth > iw)
+  {
+    x = Math.max(0, iw - this.window.table.clientWidth);
+  }
+
+  if (y + this.window.table.clientHeight > ih)
+  {
+    y = Math.max(0, ih - this.window.table.clientHeight);
+  }
+
+  if (this.window.getX() != x || this.window.getY() != y)
+  {
+    this.window.setLocation(x, y);
+  }
+}));
Summary
mxWindowBasic window inside a document.
Events
mxEvent.MOVE_STARTFires before the window is moved.
mxEvent.MOVEFires while the window is being moved.
mxEvent.MOVE_ENDFires after the window is moved.
mxEvent.RESIZE_STARTFires before the window is resized.
mxEvent.RESIZEFires while the window is being resized.
mxEvent.RESIZE_ENDFires after the window is resized.
mxEvent.MAXIMIZEFires after the window is maximized.
mxEvent.MINIMIZEFires after the window is minimized.
mxEvent.NORMALIZEFires after the window is normalized, that is, it returned from maximized or minimized state.
mxEvent.ACTIVATEFires after a window is activated.
mxEvent.SHOWFires after the window is shown.
mxEvent.HIDEFires after the window is hidden.
mxEvent.CLOSEFires before the window is closed.
mxEvent.DESTROYFires before the window is destroyed.
Functions
mxWindowConstructs a new window with the given dimension and title to display the specified content.
Variables
closeImageURL of the image to be used for the close icon in the titlebar.
minimizeImageURL of the image to be used for the minimize icon in the titlebar.
normalizeImageURL of the image to be used for the normalize icon in the titlebar.
maximizeImageURL of the image to be used for the maximize icon in the titlebar.
normalizeImageURL of the image to be used for the resize icon.
visibleBoolean flag that represents the visible state of the window.
minimumSizemxRectangle that specifies the minimum width and height of the window.
destroyOnCloseSpecifies if the window should be destroyed when it is closed.
contentHeightCorrectionDefines the correction factor for computing the height of the contentWrapper.
titleReference to the DOM node (TD) that contains the title.
contentReference to the DOM node that represents the window content.
Functions
initInitializes the DOM tree that represents the window.
setTitleSets the window title to the given string.
setScrollableSets if the window contents should be scrollable.
activatePuts the window on top of all other windows.
getElementReturuns the outermost DOM node that makes up the window.
fitMakes sure the window is inside the client area of the window.
isResizableReturns true if the window is resizable.
setResizableSets if the window should be resizable.
setSizeSets the size of the window.
setMinimizableSets if the window is minimizable.
getMinimumSizeReturns an mxRectangle that specifies the size for the minimized window.
installMinimizeHandlerInstalls the event listeners required for minimizing the window.
setMaximizableSets if the window is maximizable.
installMaximizeHandlerInstalls the event listeners required for maximizing the window.
installMoveHandlerInstalls the event listeners required for moving the window.
setLocationSets the upper, left corner of the window.
getXReturns the current position on the x-axis.
getYReturns the current position on the y-axis.
installCloseHandlerAdds the closeImage as a new image node in <closeImg> and installs the <close> event.
setImageSets the image associated with the window.
setClosableSets the image associated with the window.
isVisibleReturns true if the window is visible.
setVisibleShows or hides the window depending on the given flag.
showShows the window.
hideHides the window.
destroyDestroys the window and removes all associated resources.

Events

diff --git a/docs/js-api/files/view/mxCellEditor-js.html b/docs/js-api/files/view/mxCellEditor-js.html index 039a22c56..b4cae68d4 100644 --- a/docs/js-api/files/view/mxCellEditor-js.html +++ b/docs/js-api/files/view/mxCellEditor-js.html @@ -11,7 +11,7 @@ if (browserType) {document.write("
");if (browserV -

mxCellEditor

In-place editor for the graph.  To control this editor, use mxGraph.invokesStopCellEditing, mxGraph.enterStopsCellEditing and mxGraph.escapeEnabled.  If mxGraph.enterStopsCellEditing is true then ctrl-enter or shift-enter can be used to create a linefeed.  The F2 and escape keys can always be used to stop editing.  To customize the location of the textbox in the graph, override getEditorBounds as follows:

graph.cellEditor.getEditorBounds = function(state)
+

mxCellEditor

In-place editor for the graph.  To control this editor, use mxGraph.invokesStopCellEditing, mxGraph.enterStopsCellEditing and mxGraph.escapeEnabled.  If mxGraph.enterStopsCellEditing is true then ctrl-enter or shift-enter can be used to create a linefeed.  The F2 and escape keys can always be used to stop editing.  To customize the location of the textbox in the graph, override getEditorBounds as follows:

graph.cellEditor.getEditorBounds = function(state)
 {
   var result = mxCellEditor.prototype.getEditorBounds.apply(this, arguments);
 
@@ -31,19 +31,19 @@ mxEvent.addListener(text, 'keydown', function (evt)
   {
     mxEvent.consume(evt);
   }
-});

Initial values

To implement an initial value for cells without a label, use the emptyLabelText variable.

Resize in Chrome

Resize of the textarea is disabled by default.  If you want to enable this feature extend init and set this.textarea.style.resize = ‘’.

Summary
mxCellEditorIn-place editor for the graph.
Functions
mxCellEditorConstructs a new in-place editor for the specified graph.
Variables
graphReference to the enclosing mxGraph.
textareaHolds the input textarea.
editingCellReference to the mxCell that is currently being edited.
triggerReference to the event that was used to start editing.
modifiedSpecifies if the label has been modified.
autoSizeSpecifies if the textarea should be resized while the text is being edited.
selectTextSpecifies if the text should be selected when editing starts.
emptyLabelTextText to be displayed for empty labels.
textNodeReference to the label DOM node that has been hidden.
zIndexSpecifies the zIndex for the textarea.
Functions
initCreates the textarea and installs the event listeners.
isEventSourceReturns true if this editor is the source for the given native event.
resizeReturns modified.
isModifiedReturns modified.
setModifiedSets modified to the specified boolean value.
focusLostCalled if the textarea has lost focus.
startEditingStarts the editor for the given cell.
createTextDivCreates the textDiv used for measuring text.
stopEditingStops the editor and applies the value if cancel is false.
getInitialValueGets the initial editing value for the given cell.
getCurrentValueReturns the current editing value.
isHideLabelReturns true if the label should be hidden while the cell is being edited.
getMinimumSizeReturns the minimum width and height for editing the given state.
getEditorBoundsReturns the mxRectangle that defines the bounds of the editor.
getEmptyLabelTextReturns the initial label value to be used of the label of the given cell is empty.
getEditingCellReturns the cell that is currently being edited or null if no cell is being edited.
destroyDestroys the editor and removes all associated resources.
+});

Initial values

To implement an initial value for cells without a label, use the emptyLabelText variable.

Resize in Chrome

Resize of the textarea is disabled by default.  If you want to enable this feature extend init and set this.textarea.style.resize = ‘’.

Summary
mxCellEditorIn-place editor for the graph.
Functions
mxCellEditorConstructs a new in-place editor for the specified graph.
Variables
graphReference to the enclosing mxGraph.
textareaHolds the input textarea.
editingCellReference to the mxCell that is currently being edited.
triggerReference to the event that was used to start editing.
modifiedSpecifies if the label has been modified.
autoSizeSpecifies if the textarea should be resized while the text is being edited.
selectTextSpecifies if the text should be selected when editing starts.
emptyLabelTextText to be displayed for empty labels.
textNodeReference to the label DOM node that has been hidden.
zIndexSpecifies the zIndex for the textarea.
Functions
initCreates the textarea and installs the event listeners.
isEventSourceReturns true if this editor is the source for the given native event.
resizeReturns modified.
isModifiedReturns modified.
setModifiedSets modified to the specified boolean value.
focusLostCalled if the textarea has lost focus.
startEditingStarts the editor for the given cell.
isSelectTextReturns selectText.
createTextDivCreates the textDiv used for measuring text.
stopEditingStops the editor and applies the value if cancel is false.
getInitialValueGets the initial editing value for the given cell.
getCurrentValueReturns the current editing value.
isHideLabelReturns true if the label should be hidden while the cell is being edited.
getMinimumSizeReturns the minimum width and height for editing the given state.
getEditorBoundsReturns the mxRectangle that defines the bounds of the editor.
getEmptyLabelTextReturns the initial label value to be used of the label of the given cell is empty.
getEditingCellReturns the cell that is currently being edited or null if no cell is being edited.
destroyDestroys the editor and removes all associated resources.

Functions

-

mxCellEditor

function mxCellEditor(graph)

Constructs a new in-place editor for the specified graph.

Parameters

graphReference to the enclosing mxGraph.
+

mxCellEditor

function mxCellEditor(graph)

Constructs a new in-place editor for the specified graph.

Parameters

graphReference to the enclosing mxGraph.

Variables

-

graph

mxCellEditor.prototype.graph

Reference to the enclosing mxGraph.

+

graph

mxCellEditor.prototype.graph

Reference to the enclosing mxGraph.

-

textarea

mxCellEditor.prototype.textarea

Holds the input textarea.  Note that this may be null before the first edit.  Instantiated in init.

+

textarea

mxCellEditor.prototype.textarea

Holds the input textarea.  Note that this may be null before the first edit.  Instantiated in init.

-

editingCell

mxCellEditor.prototype.editingCell

Reference to the mxCell that is currently being edited.

+

editingCell

mxCellEditor.prototype.editingCell

Reference to the mxCell that is currently being edited.

trigger

mxCellEditor.prototype.trigger

Reference to the event that was used to start editing.

@@ -61,19 +61,21 @@ mxEvent.addListener(text, 'keydown', function (evt)

Functions

-

init

mxCellEditor.prototype.init = function ()

Creates the textarea and installs the event listeners.  The key handler updates the modified state.

+

init

mxCellEditor.prototype.init = function ()

Creates the textarea and installs the event listeners.  The key handler updates the modified state.

isEventSource

mxCellEditor.prototype.isEventSource = function(evt)

Returns true if this editor is the source for the given native event.

-

resize

mxCellEditor.prototype.resize = function()

Returns modified.

+

resize

mxCellEditor.prototype.resize = function()

Returns modified.

-

isModified

mxCellEditor.prototype.isModified = function()

Returns modified.

+

isModified

mxCellEditor.prototype.isModified = function()

Returns modified.

-

setModified

mxCellEditor.prototype.setModified = function(value)

Sets modified to the specified boolean value.

+

setModified

mxCellEditor.prototype.setModified = function(value)

Sets modified to the specified boolean value.

focusLost

mxCellEditor.prototype.focusLost = function()

Called if the textarea has lost focus.

-

startEditing

mxCellEditor.prototype.startEditing = function(cell,
trigger)

Starts the editor for the given cell.

Parameters

cellmxCell to start editing.
triggerOptional mouse event that triggered the editor.
+

startEditing

mxCellEditor.prototype.startEditing = function(cell,
trigger)

Starts the editor for the given cell.

Parameters

cellmxCell to start editing.
triggerOptional mouse event that triggered the editor.
+ +

isSelectText

mxCellEditor.prototype.isSelectText = function()

Returns selectText.

createTextDiv

mxCellEditor.prototype.createTextDiv = function()

Creates the textDiv used for measuring text.

@@ -87,9 +89,9 @@ mxEvent.addListener(text, 'keydown', function (evt)

getMinimumSize

mxCellEditor.prototype.getMinimumSize = function(state)

Returns the minimum width and height for editing the given state.

-

getEditorBounds

mxCellEditor.prototype.getEditorBounds = function(state)

Returns the mxRectangle that defines the bounds of the editor.

+

getEditorBounds

mxCellEditor.prototype.getEditorBounds = function(state)

Returns the mxRectangle that defines the bounds of the editor.

-

getEmptyLabelText

mxCellEditor.prototype.getEmptyLabelText = function (cell)

Returns the initial label value to be used of the label of the given cell is empty.  This label is displayed and cleared on the first keystroke.  This implementation returns emptyLabelText.

Parameters

cellmxCell for which a text for an empty editing box should be returned.
+

getEmptyLabelText

mxCellEditor.prototype.getEmptyLabelText = function (cell)

Returns the initial label value to be used of the label of the given cell is empty.  This label is displayed and cleared on the first keystroke.  This implementation returns emptyLabelText.

Parameters

cellmxCell for which a text for an empty editing box should be returned.

getEditingCell

mxCellEditor.prototype.getEditingCell = function ()

Returns the cell that is currently being edited or null if no cell is being edited.

@@ -109,7 +111,7 @@ HideAllBut([11], 13);// -->
-
function mxCellEditor(graph)
Constructs a new in-place editor for the specified graph.
mxCellEditor.prototype.graph
Reference to the enclosing mxGraph.
Extends mxEventSource to implement a graph component for the browser.
mxCellEditor.prototype.textarea
Holds the input textarea.
mxCellEditor.prototype.editingCell
Reference to the mxCell that is currently being edited.
Cells are the elements of the graph model.
mxCellEditor.prototype.trigger
Reference to the event that was used to start editing.
mxCellEditor.prototype.modified
Specifies if the label has been modified.
mxCellEditor.prototype.autoSize
Specifies if the textarea should be resized while the text is being edited.
mxCellEditor.prototype.selectText
Specifies if the text should be selected when editing starts.
mxCellEditor.prototype.emptyLabelText
Text to be displayed for empty labels.
mxCellEditor.prototype.textNode
Reference to the label DOM node that has been hidden.
mxCellEditor.prototype.zIndex
Specifies the zIndex for the textarea.
mxCellEditor.prototype.init = function ()
Creates the textarea and installs the event listeners.
mxCellEditor.prototype.isEventSource = function(evt)
Returns true if this editor is the source for the given native event.
mxCellEditor.prototype.resize = function()
Returns modified.
mxCellEditor.prototype.isModified = function()
Returns modified.
mxCellEditor.prototype.setModified = function(value)
Sets modified to the specified boolean value.
mxCellEditor.prototype.focusLost = function()
Called if the textarea has lost focus.
mxCellEditor.prototype.startEditing = function(cell,
trigger)
Starts the editor for the given cell.
mxCellEditor.prototype.createTextDiv = function()
Creates the textDiv used for measuring text.
mxCellEditor.prototype.stopEditing = function(cancel)
Stops the editor and applies the value if cancel is false.
mxCellEditor.prototype.getInitialValue = function(state,
trigger)
Gets the initial editing value for the given cell.
mxCellEditor.prototype.getCurrentValue = function()
Returns the current editing value.
mxCellEditor.prototype.isHideLabel = function(state)
Returns true if the label should be hidden while the cell is being edited.
mxCellEditor.prototype.getMinimumSize = function(state)
Returns the minimum width and height for editing the given state.
mxCellEditor.prototype.getEditorBounds = function(state)
Returns the mxRectangle that defines the bounds of the editor.
Extends mxPoint to implement a 2-dimensional rectangle with double precision coordinates.
mxCellEditor.prototype.getEmptyLabelText = function (cell)
Returns the initial label value to be used of the label of the given cell is empty.
mxCellEditor.prototype.getEditingCell = function ()
Returns the cell that is currently being edited or null if no cell is being edited.
mxCellEditor.prototype.destroy = function ()
Destroys the editor and removes all associated resources.
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.escapeEnabled
Specifies if mxKeyHandler should invoke escape when the escape key is pressed.
+
function mxCellEditor(graph)
Constructs a new in-place editor for the specified graph.
mxCellEditor.prototype.graph
Reference to the enclosing mxGraph.
Extends mxEventSource to implement a graph component for the browser.
mxCellEditor.prototype.textarea
Holds the input textarea.
mxCellEditor.prototype.editingCell
Reference to the mxCell that is currently being edited.
Cells are the elements of the graph model.
mxCellEditor.prototype.trigger
Reference to the event that was used to start editing.
mxCellEditor.prototype.modified
Specifies if the label has been modified.
mxCellEditor.prototype.autoSize
Specifies if the textarea should be resized while the text is being edited.
mxCellEditor.prototype.selectText
Specifies if the text should be selected when editing starts.
mxCellEditor.prototype.emptyLabelText
Text to be displayed for empty labels.
mxCellEditor.prototype.textNode
Reference to the label DOM node that has been hidden.
mxCellEditor.prototype.zIndex
Specifies the zIndex for the textarea.
mxCellEditor.prototype.init = function ()
Creates the textarea and installs the event listeners.
mxCellEditor.prototype.isEventSource = function(evt)
Returns true if this editor is the source for the given native event.
mxCellEditor.prototype.resize = function()
Returns modified.
mxCellEditor.prototype.isModified = function()
Returns modified.
mxCellEditor.prototype.setModified = function(value)
Sets modified to the specified boolean value.
mxCellEditor.prototype.focusLost = function()
Called if the textarea has lost focus.
mxCellEditor.prototype.startEditing = function(cell,
trigger)
Starts the editor for the given cell.
mxCellEditor.prototype.isSelectText = function()
Returns selectText.
mxCellEditor.prototype.createTextDiv = function()
Creates the textDiv used for measuring text.
mxCellEditor.prototype.stopEditing = function(cancel)
Stops the editor and applies the value if cancel is false.
mxCellEditor.prototype.getInitialValue = function(state,
trigger)
Gets the initial editing value for the given cell.
mxCellEditor.prototype.getCurrentValue = function()
Returns the current editing value.
mxCellEditor.prototype.isHideLabel = function(state)
Returns true if the label should be hidden while the cell is being edited.
mxCellEditor.prototype.getMinimumSize = function(state)
Returns the minimum width and height for editing the given state.
mxCellEditor.prototype.getEditorBounds = function(state)
Returns the mxRectangle that defines the bounds of the editor.
Extends mxPoint to implement a 2-dimensional rectangle with double precision coordinates.
mxCellEditor.prototype.getEmptyLabelText = function (cell)
Returns the initial label value to be used of the label of the given cell is empty.
mxCellEditor.prototype.getEditingCell = function ()
Returns the cell that is currently being edited or null if no cell is being edited.
mxCellEditor.prototype.destroy = function ()
Destroys the editor and removes all associated resources.
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.escapeEnabled
Specifies if mxKeyHandler should invoke escape when the escape key is pressed.
diff --git a/docs/js-api/files/view/mxCellRenderer-js.html b/docs/js-api/files/view/mxCellRenderer-js.html index 6c2dbff31..443081c71 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.
defaultShapesStatic array that contains the globally registered shapes which are known to all instances of this class.
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.
createShapeCreates 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.
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.
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.
redrawLabelRedraws the label 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.
defaultShapesStatic array that contains the globally registered shapes which are known to all instances of this class.
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 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.
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.
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.
redrawLabelRedraws the label for the given cell state.
destroyDestroys the shapes associated with the given cell state.

Functions

@@ -23,81 +23,81 @@ 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.

-

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.

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.

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 the shape for the given cell state.  The shape is configured using configureShape.

Parameters

statemxCellState for which the shape should be created.
+

createShape

mxCellRenderer.prototype.createShape = function(state)

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

Initiailzes the label with a suitable container.

Parameters

statemxCellState whose label should be initialized.
+

initializeLabel

mxCellRenderer.prototype.initializeLabel = function(state)

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

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

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

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

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

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

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

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

redrawCellOverlays

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

Redraws the overlays for the given cell state.

Parameters

statemxCellState whose overlays 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.
+

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

redrawLabel

Redraws the label for the given cell state.

Parameters

statemxCellState whose label should be redrawn.
+

redrawLabel

Redraws the label 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.
@@ -113,7 +113,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.defaultShapes
Static array that contains the globally registered shapes which are known to all instances of this class.
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.
mxCellRenderer.prototype.createShape = function(state)
Creates 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.configureShape = function(state)
Configures the shape for the given cell state.
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)
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.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.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.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.defaultShapes
Static array that contains the globally registered shapes which are known to all instances of this class.
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 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)
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.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.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.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 abaf60a80..fdd1710c2 100644 --- a/docs/js-api/files/view/mxGraph-js.html +++ b/docs/js-api/files/view/mxGraph-js.html @@ -11,8 +11,8 @@ if (browserType) {document.write("
");if (browserV -

mxGraph

Extends mxEventSource to implement a graph component for the browser.  This is the main class of the package.  To activate panning and connections use setPanning and setConnectable.  For rubberband selection you must create a new instance of mxRubberband.  The following listeners are added to mouseListeners by default:

These listeners will be called in the above order if they are enabled.

Background Images

To display a background image, set the image, image width and image height using setBackgroundImage.  If one of the above values has changed then the view’s mxGraphView.validate should be invoked.

Cell Images

To use images in cells, a shape must be specified in the default vertex style (or any named style).  Possible shapes are mxConstants.SHAPE_IMAGE and mxConstants.SHAPE_LABEL.  The code to change the shape used in the default vertex style, the following code is used:

var style = graph.getStylesheet().getDefaultVertexStyle();
-style[mxConstants.STYLE_SHAPE] = mxConstants.SHAPE_IMAGE;

For the default vertex style, the image to be displayed can be specified in a cell’s style using the mxConstants.STYLE_IMAGE key and the image URL as a value, for example:

image=http://www.example.com/image.gif

For a named style, the the stylename must be the first element of the cell style:

stylename;image=http://www.example.com/image.gif

A cell style can have any number of key=value pairs added, divided by a semicolon as follows:

[stylename;|key=value;]

Labels

The cell labels are defined by getLabel which uses convertValueToString if labelsVisible is true.  If a label must be rendered as HTML markup, then isHtmlLabel should return true for the respective cell.  If all labels contain HTML markup, htmlLabels can be set to true.  NOTE: Enabling HTML labels carries a possible security risk (see the section on security in the manual).

If wrapping is needed for a label, then isHtmlLabel and isWrapping must return true for the cell whose label should be wrapped.  See isWrapping for an example.

If clipping is needed to keep the rendering of a HTML label inside the bounds of its vertex, then <isClipping> should return true for the respective cell.

By default, edge labels are movable and vertex labels are fixed.  This can be changed by setting edgeLabelsMovable and vertexLabelsMovable, or by overriding isLabelMovable.

In-place Editing

In-place editing is started with a doubleclick or by typing F2.  Programmatically, <edit> is used to check if the cell is editable (isCellEditable) and call startEditingAtCell, which invokes mxCellEditor.startEditing.  The editor uses the value returned by getEditingValue as the editing value.

After in-place editing, labelChanged is called, which invokes mxGraphModel.setValue, which in turn calls mxGraphModel.valueForCellChanged via mxValueChange.

The event that triggers in-place editing is passed through to the cellEditor, which may take special actions depending on the type of the event or mouse location, and is also passed to getEditingValue.  The event is then passed back to the event processing functions which can perform specific actions based on the trigger event.

Tooltips

Tooltips are implemented by getTooltip, which calls getTooltipForCell if a cell is under the mousepointer.  The default implementation checks if the cell has a getTooltip function and calls it if it exists.  Hence, in order to provide custom tooltips, the cell must provide a getTooltip function, or one of the two above functions must be overridden.

Typically, for custom cell tooltips, the latter function is overridden as follows:

graph.getTooltipForCell = function(cell)
+

mxGraph

Extends mxEventSource to implement a graph component for the browser.  This is the main class of the package.  To activate panning and connections use setPanning and setConnectable.  For rubberband selection you must create a new instance of mxRubberband.  The following listeners are added to mouseListeners by default:

These listeners will be called in the above order if they are enabled.

Background Images

To display a background image, set the image, image width and image height using setBackgroundImage.  If one of the above values has changed then the view’s mxGraphView.validate should be invoked.

Cell Images

To use images in cells, a shape must be specified in the default vertex style (or any named style).  Possible shapes are mxConstants.SHAPE_IMAGE and mxConstants.SHAPE_LABEL.  The code to change the shape used in the default vertex style, the following code is used:

var style = graph.getStylesheet().getDefaultVertexStyle();
+style[mxConstants.STYLE_SHAPE] = mxConstants.SHAPE_IMAGE;

For the default vertex style, the image to be displayed can be specified in a cell’s style using the mxConstants.STYLE_IMAGE key and the image URL as a value, for example:

image=http://www.example.com/image.gif

For a named style, the the stylename must be the first element of the cell style:

stylename;image=http://www.example.com/image.gif

A cell style can have any number of key=value pairs added, divided by a semicolon as follows:

[stylename;|key=value;]

Labels

The cell labels are defined by getLabel which uses convertValueToString if labelsVisible is true.  If a label must be rendered as HTML markup, then isHtmlLabel should return true for the respective cell.  If all labels contain HTML markup, htmlLabels can be set to true.  NOTE: Enabling HTML labels carries a possible security risk (see the section on security in the manual).

If wrapping is needed for a label, then isHtmlLabel and isWrapping must return true for the cell whose label should be wrapped.  See isWrapping for an example.

If clipping is needed to keep the rendering of a HTML label inside the bounds of its vertex, then <isClipping> should return true for the respective cell.

By default, edge labels are movable and vertex labels are fixed.  This can be changed by setting edgeLabelsMovable and vertexLabelsMovable, or by overriding isLabelMovable.

In-place Editing

In-place editing is started with a doubleclick or by typing F2.  Programmatically, <edit> is used to check if the cell is editable (isCellEditable) and call startEditingAtCell, which invokes mxCellEditor.startEditing.  The editor uses the value returned by getEditingValue as the editing value.

After in-place editing, labelChanged is called, which invokes mxGraphModel.setValue, which in turn calls mxGraphModel.valueForCellChanged via mxValueChange.

The event that triggers in-place editing is passed through to the cellEditor, which may take special actions depending on the type of the event or mouse location, and is also passed to getEditingValue.  The event is then passed back to the event processing functions which can perform specific actions based on the trigger event.

Tooltips

Tooltips are implemented by getTooltip, which calls getTooltipForCell if a cell is under the mousepointer.  The default implementation checks if the cell has a getTooltip function and calls it if it exists.  Hence, in order to provide custom tooltips, the cell must provide a getTooltip function, or one of the two above functions must be overridden.

Typically, for custom cell tooltips, the latter function is overridden as follows:

graph.getTooltipForCell = function(cell)
 {
   var label = this.convertValueToString(cell);
   return 'Tooltip for '+label;
@@ -22,21 +22,21 @@ style[mxConstants.STYLE_SHAPE] = mxConstants.SHAPE_IMAGE;

F var label = this.convertValueToString(cell); return 'Tooltip for '+label; } -]]></add>

”this” refers to the graph in the implementation, so for example to check if a cell is an edge, you use this.getModel().isEdge(cell)

For replacing the default implementation of getTooltipForCell (rather than replacing the function on a specific instance), the following code should be used after loading the JavaScript files, but before creating a new mxGraph instance using mxGraph:

mxGraph.prototype.getTooltipForCell = function(cell)
+]]></add>

”this” refers to the graph in the implementation, so for example to check if a cell is an edge, you use this.getModel().isEdge(cell)

For replacing the default implementation of getTooltipForCell (rather than replacing the function on a specific instance), the following code should be used after loading the JavaScript files, but before creating a new mxGraph instance using mxGraph:

mxGraph.prototype.getTooltipForCell = function(cell)
 {
   var label = this.convertValueToString(cell);
   return 'Tooltip for '+label;
-}

Shapes & Styles

The implementation of new shapes is demonstrated in the examples.  We’ll assume that we have implemented a custom shape with the name BoxShape which we want to use for drawing vertices.  To use this shape, it must first be registered in the cell renderer as follows:

mxCellRenderer.registerShape('box', BoxShape);

The code registers the BoxShape constructor under the name box in the cell renderer of the graph.  The shape can now be referenced using the shape-key in a style definition.  (The cell renderer contains a set of additional shapes, namely one for each constant with a SHAPE-prefix in mxConstants.)

Styles are a collection of key, value pairs and a stylesheet is a collection of named styles.  The names are referenced by the cellstyle, which is stored in mxCell.style with the following format: [stylename;|key=value;].  The string is resolved to a collection of key, value pairs, where the keys are overridden with the values in the string.

When introducing a new shape, the name under which the shape is registered must be used in the stylesheet.  There are three ways of doing this:

  • By changing the default style, so that all vertices will use the new shape
  • By defining a new style, so that only vertices with the respective cellstyle will use the new shape
  • By using shape=box in the cellstyle’s optional list of key, value pairs to be overridden

In the first case, the code to fetch and modify the default style for vertices is as follows:

var style = graph.getStylesheet().getDefaultVertexStyle();
+}

Shapes & Styles

The implementation of new shapes is demonstrated in the examples.  We’ll assume that we have implemented a custom shape with the name BoxShape which we want to use for drawing vertices.  To use this shape, it must first be registered in the cell renderer as follows:

mxCellRenderer.registerShape('box', BoxShape);

The code registers the BoxShape constructor under the name box in the cell renderer of the graph.  The shape can now be referenced using the shape-key in a style definition.  (The cell renderer contains a set of additional shapes, namely one for each constant with a SHAPE-prefix in mxConstants.)

Styles are a collection of key, value pairs and a stylesheet is a collection of named styles.  The names are referenced by the cellstyle, which is stored in mxCell.style with the following format: [stylename;|key=value;].  The string is resolved to a collection of key, value pairs, where the keys are overridden with the values in the string.

When introducing a new shape, the name under which the shape is registered must be used in the stylesheet.  There are three ways of doing this:

  • By changing the default style, so that all vertices will use the new shape
  • By defining a new style, so that only vertices with the respective cellstyle will use the new shape
  • By using shape=box in the cellstyle’s optional list of key, value pairs to be overridden

In the first case, the code to fetch and modify the default style for vertices is as follows:

var style = graph.getStylesheet().getDefaultVertexStyle();
 style[mxConstants.STYLE_SHAPE] = 'box';

The code takes the default vertex style, which is used for all vertices that do not have a specific cellstyle, and modifies the value for the shape-key in-place to use the new BoxShape for drawing vertices.  This is done by assigning the box value in the second line, which refers to the name of the BoxShape in the cell renderer.

In the second case, a collection of key, value pairs is created and then added to the stylesheet under a new name.  In order to distinguish the shapename and the stylename we’ll use boxstyle for the stylename:

var style = new Object();
 style[mxConstants.STYLE_SHAPE] = 'box';
 style[mxConstants.STYLE_STROKECOLOR] = '#000000';
 style[mxConstants.STYLE_FONTCOLOR] = '#000000';
 graph.getStylesheet().putCellStyle('boxstyle', style);

The code adds a new style with the name boxstyle to the stylesheet.  To use this style with a cell, it must be referenced from the cellstyle as follows:

var vertex = graph.insertVertex(parent, null, 'Hello, World!', 20, 20, 80, 20,
-             'boxstyle');

To summarize, each new shape must be registered in the mxCellRenderer with a unique name.  That name is then used as the value of the shape-key in a default or custom style.  If there are multiple custom shapes, then there should be a separate style for each shape.

Inheriting Styles

For fill-, stroke-, gradient- and indicatorColors special keywords can be used.  The inherit keyword for one of these colors will inherit the color for the same key from the parent cell.  The swimlane keyword does the same, but inherits from the nearest swimlane in the ancestor hierarchy.  Finally, the indicated keyword will use the color of the indicator as the color for the given key.

Scrollbars

The <containers> overflow CSS property defines if scrollbars are used to display the graph.  For values of ‘auto’ or ‘scroll’, the scrollbars will be shown.  Note that the resizeContainer flag is normally not used together with scrollbars, as it will resize the container to match the size of the graph after each change.

Multiplicities and Validation

To control the possible connections in mxGraph, getEdgeValidationError is used.  The default implementation of the function uses multiplicities, which is an array of mxMultiplicity.  Using this class allows to establish simple multiplicities, which are enforced by the graph.

The mxMultiplicity uses <mxCell.is> to determine for which terminals it applies.  The default implementation of <mxCell.is> works with DOM nodes (XML nodes) and checks if the given type parameter matches the nodeName of the node (case insensitive).  Optionally, an attributename and value can be specified which are also checked.

getEdgeValidationError is called whenever the connectivity of an edge changes.  It returns an empty string or an error message if the edge is invalid or null if the edge is valid.  If the returned string is not empty then it is displayed as an error message.

mxMultiplicity allows to specify the multiplicity between a terminal and its possible neighbors.  For example, if any rectangle may only be connected to, say, a maximum of two circles you can add the following rule to multiplicities:

graph.multiplicities.push(new mxMultiplicity(
+             'boxstyle');

To summarize, each new shape must be registered in the mxCellRenderer with a unique name.  That name is then used as the value of the shape-key in a default or custom style.  If there are multiple custom shapes, then there should be a separate style for each shape.

Inheriting Styles

For fill-, stroke-, gradient- and indicatorColors special keywords can be used.  The inherit keyword for one of these colors will inherit the color for the same key from the parent cell.  The swimlane keyword does the same, but inherits from the nearest swimlane in the ancestor hierarchy.  Finally, the indicated keyword will use the color of the indicator as the color for the given key.

Scrollbars

The <containers> overflow CSS property defines if scrollbars are used to display the graph.  For values of ‘auto’ or ‘scroll’, the scrollbars will be shown.  Note that the resizeContainer flag is normally not used together with scrollbars, as it will resize the container to match the size of the graph after each change.

Multiplicities and Validation

To control the possible connections in mxGraph, getEdgeValidationError is used.  The default implementation of the function uses multiplicities, which is an array of mxMultiplicity.  Using this class allows to establish simple multiplicities, which are enforced by the graph.

The mxMultiplicity uses <mxCell.is> to determine for which terminals it applies.  The default implementation of <mxCell.is> works with DOM nodes (XML nodes) and checks if the given type parameter matches the nodeName of the node (case insensitive).  Optionally, an attributename and value can be specified which are also checked.

getEdgeValidationError is called whenever the connectivity of an edge changes.  It returns an empty string or an error message if the edge is invalid or null if the edge is valid.  If the returned string is not empty then it is displayed as an error message.

mxMultiplicity allows to specify the multiplicity between a terminal and its possible neighbors.  For example, if any rectangle may only be connected to, say, a maximum of two circles you can add the following rule to multiplicities:

graph.multiplicities.push(new mxMultiplicity(
   true, 'rectangle', null, null, 0, 2, ['circle'],
   'Only 2 targets allowed',
   'Only shape targets allowed'));

This will display the first error message whenever a rectangle is connected to more than two circles and the second error message if a rectangle is connected to anything but a circle.

For certain multiplicities, such as a minimum of 1 connection, which cannot be enforced at cell creation time (unless the cell is created together with the connection), mxGraph offers <validate> which checks all multiplicities for all cells and displays the respective error messages in an overlay icon on the cells.

If a cell is collapsed and contains validation errors, a respective warning icon is attached to the collapsed cell.

Auto-Layout

For automatic layout, the <getLayout> hook is provided in mxLayoutManager.  It can be overridden to return a layout algorithm for the children of a given cell.

Unconnected edges

The default values for all switches are designed to meet the requirements of general diagram drawing applications.  A very typical set of settings to avoid edges that are not connected is the following:

graph.setAllowDanglingEdges(false);
-graph.setDisconnectOnMove(false);

Setting the cloneInvalidEdges switch to true is optional.  This switch controls if edges are inserted after a copy, paste or clone-drag if they are invalid.  For example, edges are invalid if copied or control-dragged without having selected the corresponding terminals and allowDanglingEdges is false, in which case the edges will not be cloned if the switch is false.

Output

To produce an XML representation for a diagram, the following code can be used.

var enc = new mxCodec(mxUtils.createXmlDocument());
+graph.setDisconnectOnMove(false);

Setting the cloneInvalidEdges switch to true is optional.  This switch controls if edges are inserted after a copy, paste or clone-drag if they are invalid.  For example, edges are invalid if copied or control-dragged without having selected the corresponding terminals and allowDanglingEdges is false, in which case the edges will not be cloned if the switch is false.

Output

To produce an XML representation for a diagram, the following code can be used.

var enc = new mxCodec(mxUtils.createXmlDocument());
 var node = enc.encode(graph.getModel());

This will produce an XML node than can be handled using the DOM API or turned into a string representation using the following code:

var xml = mxUtils.getXml(node);

To obtain a formatted string, mxUtils.getPrettyXml can be used instead.

This string can now be stored in a local persistent storage (for example using Google Gears) or it can be passed to a backend using mxUtils.post as follows.  The url variable is the URL of the Java servlet, PHP page or HTTP handler, depending on the server.

var xmlString = encodeURIComponent(mxUtils.getXml(node));
 mxUtils.post(url, 'xml='+xmlString, function(req)
 {
@@ -44,117 +44,117 @@ mxUtils.post(url, 'xml='+xmlString, function(req)
 });

Input

To load an XML representation of a diagram into an existing graph object mxUtils.load can be used as follows.  The url variable is the URL of the Java servlet, PHP page or HTTP handler that produces the XML string.

var xmlDoc = mxUtils.load(url).getXml();
 var node = xmlDoc.documentElement;
 var dec = new mxCodec(node.ownerDocument);
-dec.decode(node, graph.getModel());

For creating a page that loads the client and a diagram using a single request please refer to the deployment examples in the backends.

Functional dependencies

Resources

resources/graphLanguage resources for mxGraph
Summary
mxGraphExtends mxEventSource to implement a graph component for the browser.
Events
mxEvent.ROOTFires if the root in the model has changed.
mxEvent.ALIGN_CELLSFires between begin- and endUpdate in alignCells.
mxEvent.FLIP_EDGEFires between begin- and endUpdate in flipEdge.
mxEvent.ORDER_CELLSFires between begin- and endUpdate in orderCells.
mxEvent.CELLS_ORDEREDFires between begin- and endUpdate in cellsOrdered.
mxEvent.GROUP_CELLSFires between begin- and endUpdate in groupCells.
mxEvent.UNGROUP_CELLSFires between begin- and endUpdate in ungroupCells.
mxEvent.REMOVE_CELLS_FROM_PARENTFires between begin- and endUpdate in removeCellsFromParent.
mxEvent.ADD_CELLSFires between begin- and endUpdate in addCells.
mxEvent.CELLS_ADDEDFires between begin- and endUpdate in cellsAdded.
mxEvent.REMOVE_CELLSFires between begin- and endUpdate in removeCells.
mxEvent.CELLS_REMOVEDFires between begin- and endUpdate in cellsRemoved.
mxEvent.SPLIT_EDGEFires between begin- and endUpdate in splitEdge.
mxEvent.TOGGLE_CELLSFires between begin- and endUpdate in toggleCells.
mxEvent.FOLD_CELLSFires between begin- and endUpdate in foldCells.
mxEvent.CELLS_FOLDEDFires between begin- and endUpdate in cellsFolded.
mxEvent.UPDATE_CELL_SIZEFires between begin- and endUpdate in updateCellSize.
mxEvent.RESIZE_CELLSFires between begin- and endUpdate in resizeCells.
mxEvent.CELLS_RESIZEDFires between begin- and endUpdate in cellsResized.
mxEvent.MOVE_CELLSFires between begin- and endUpdate in moveCells.
mxEvent.CELLS_MOVEDFires between begin- and endUpdate in cellsMoved.
mxEvent.CONNECT_CELLFires between begin- and endUpdate in connectCell.
mxEvent.CELL_CONNECTEDFires between begin- and endUpdate in cellConnected.
mxEvent.REFRESHFires after refresh was executed.
mxEvent.CLICKFires in click after a click event.
mxEvent.DOUBLE_CLICKFires in dblClick after a double click.
mxEvent.GESTUREFires in fireGestureEvent after a touch gesture.
mxEvent.TAP_AND_HOLDFires in tapAndHold if a tap and hold event was detected.
mxEvent.FIRE_MOUSE_EVENTFires in fireMouseEvent before the mouse listeners are invoked.
mxEvent.SIZEFires after sizeDidChange was executed.
mxEvent.START_EDITINGFires before the in-place editor starts in startEditingAtCell.
mxEvent.LABEL_CHANGEDFires between begin- and endUpdate in cellLabelChanged.
mxEvent.ADD_OVERLAYFires after an overlay is added in addCellOverlay.
mxEvent.REMOVE_OVERLAYFires after an overlay is removed in removeCellOverlay and removeCellOverlays.
mxGraphConstructs a new mxGraph in the specified container.
EMPTY_ARRAYImmutable empty array instance.
Variables
mouseListenersHolds the mouse event listeners.
isMouseDownHolds the state of the mouse button.
modelHolds the mxGraphModel that contains the cells to be displayed.
viewHolds the mxGraphView that caches the mxCellStates for the cells.
stylesheetHolds the mxStylesheet that defines the appearance of the cells.
selectionModelHolds the mxGraphSelectionModel that models the current selection.
cellEditorHolds the mxCellEditor that is used as the in-place editing.
cellRendererHolds the mxCellRenderer for rendering the cells in the graph.
multiplicitiesAn array of mxMultiplicities describing the allowed connections in a graph.
renderHintRenderHint as it was passed to the constructor.
dialectDialect to be used for drawing the graph.
gridSizeSpecifies the grid size.
gridEnabledSpecifies if the grid is enabled.
portsEnabledSpecifies if ports are enabled.
nativeDoubleClickEnabledSpecifies if native double click events should be deteced.
doubleTapEnabledSpecifies if double taps on touch-based devices should be handled as a double click.
doubleTapTimeoutSpecifies the timeout for double taps and non-native double clicks.
doubleTapToleranceSpecifies the tolerance for double taps and double clicks in quirks mode.
lastTouchXHolds the x-coordinate of the last touch event for double tap detection.
lastTouchXHolds the y-coordinate of the last touch event for double tap detection.
lastTouchTimeHolds the time of the last touch event for double click detection.
tapAndHoldEnabledSpecifies if tap and hold should be used for starting connections on touch-based devices.
tapAndHoldDelaySpecifies the time for a tap and hold.
tapAndHoldInProgressTrue if the timer for tap and hold events is running.
tapAndHoldValidTrue as long as the timer is running and the touch events stay within the given <tapAndHoldTolerance>.
initialTouchXHolds the x-coordinate of the intial touch event for tap and hold.
initialTouchYHolds the y-coordinate of the intial touch event for tap and hold.
toleranceTolerance for a move to be handled as a single click.
defaultOverlapValue returned by getOverlap if isAllowOverlapParent returns true for the given cell.
defaultParentSpecifies the default parent to be used to insert new cells.
alternateEdgeStyleSpecifies the alternate edge style to be used if the main control point on an edge is being doubleclicked.
backgroundImageSpecifies the mxImage to be returned by getBackgroundImage.
pageVisibleSpecifies if the background page should be visible.
pageBreaksVisibleSpecifies if a dashed line should be drawn between multiple pages.
pageBreakColorSpecifies the color for page breaks.
pageBreakDashedSpecifies the page breaks should be dashed.
minPageBreakDistSpecifies the minimum distance for page breaks to be visible.
preferPageSizeSpecifies if the graph size should be rounded to the next page number in sizeDidChange.
pageFormatSpecifies the page format for the background page.
pageScaleSpecifies the scale of the background page.
enabledSpecifies the return value for isEnabled.
escapeEnabledSpecifies if mxKeyHandler should invoke escape when the escape key is pressed.
invokesStopCellEditingIf 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.
enterStopsCellEditingIf true, pressing the enter key without pressing control or shift will stop editing and accept the new value.
useScrollbarsForPanningSpecifies if scrollbars should be used for panning in panGraph if any scrollbars are available.
exportEnabledSpecifies the return value for canExportCell.
importEnabledSpecifies the return value for canImportCell.
cellsLockedSpecifies the return value for isCellLocked.
cellsCloneableSpecifies the return value for isCellCloneable.
foldingEnabledSpecifies if folding (collapse and expand via an image icon in the graph should be enabled).
cellsEditableSpecifies the return value for isCellEditable.
cellsDeletableSpecifies the return value for isCellDeletable.
cellsMovableSpecifies the return value for isCellMovable.
edgeLabelsMovableSpecifies the return value for edges in isLabelMovable.
vertexLabelsMovableSpecifies the return value for vertices in isLabelMovable.
dropEnabledSpecifies the return value for isDropEnabled.
splitEnabledSpecifies if dropping onto edges should be enabled.
cellsResizableSpecifies the return value for isCellResizable.
cellsBendableSpecifies the return value for isCellsBendable.
cellsSelectableSpecifies the return value for isCellSelectable.
cellsDisconnectableSpecifies the return value for <isCellDisconntable>.
autoSizeCellsSpecifies if the graph should automatically update the cell size after an edit.
autoSizeCellsOnAddSpecifies if autoSize style should be applied when cells are added.
autoScrollSpecifies if the graph should automatically scroll if the mouse goes near the container edge while dragging.
timerAutoScrollSpecifies if timer-based autoscrolling should be used via mxPanningManager.
allowAutoPanningSpecifies if panning via panGraph should be allowed to implement autoscroll if no scrollbars are available in scrollPointToVisible.
ignoreScrollbarsSpecifies if the graph should automatically scroll regardless of the scrollbars.
autoExtendSpecifies if the size of the graph should be automatically extended if the mouse goes near the container edge while dragging.
maximumGraphBoundsmxRectangle that specifies the area in which all cells in the diagram should be placed.
minimumGraphSizemxRectangle that specifies the minimum size of the graph.
minimumContainerSizemxRectangle that specifies the minimum size of the <container> if resizeContainer is true.
maximumContainerSizemxRectangle that specifies the maximum size of the container if resizeContainer is true.
resizeContainerSpecifies if the container should be resized to the graph size when the graph size has changed.
borderBorder to be added to the bottom and right side when the container is being resized after the graph has been changed.
keepEdgesInForegroundSpecifies if edges should appear in the foreground regardless of their order in the model.
allowNegativeCoordinatesSpecifies if negative coordinates for vertices are allowed.
constrainChildrenSpecifies if a child should be constrained inside the parent bounds after a move of the child.
constrainChildrenOnResizeSpecifies if children should be constrained according to the constrainChildren switch if cells are resized.
extendParentsSpecifies if a parent should contain the child bounds after a resize of the child.
extendParentsOnAddSpecifies if parents should be extended according to the extendParents switch if cells are added.
extendParentsOnAddSpecifies if parents should be extended according to the extendParents switch if cells are added.
recursiveResizeSpecifies the return value for isRecursiveResize.
collapseToPreferredSizeSpecifies if the cell size should be changed to the preferred size when a cell is first collapsed.
zoomFactorSpecifies the factor used for zoomIn and zoomOut.
keepSelectionVisibleOnZoomSpecifies if the viewport should automatically contain the selection cells after a zoom operation.
centerZoomSpecifies if the zoom operations should go into the center of the actual diagram rather than going from top, left.
resetViewOnRootChangeSpecifies if the scale and translate should be reset if the root changes in the model.
resetEdgesOnResizeSpecifies if edge control points should be reset after the resize of a connected cell.
resetEdgesOnMoveSpecifies if edge control points should be reset after the move of a connected cell.
resetEdgesOnConnectSpecifies if edge control points should be reset after the the edge has been reconnected.
allowLoopsSpecifies if loops (aka self-references) are allowed.
defaultLoopStylemxEdgeStyle to be used for loops.
multigraphSpecifies if multiple edges in the same direction between the same pair of vertices are allowed.
connectableEdgesSpecifies if edges are connectable.
allowDanglingEdgesSpecifies if edges with disconnected terminals are allowed in the graph.
cloneInvalidEdgesSpecifies if edges that are cloned should be validated and only inserted if they are valid.
disconnectOnMoveSpecifies if edges should be disconnected from their terminals when they are moved.
labelsVisibleSpecifies if labels should be visible.
htmlLabelsSpecifies the return value for isHtmlLabel.
swimlaneSelectionEnabledSpecifies if swimlanes should be selectable via the content if the mouse is released.
swimlaneNestingSpecifies if nesting of swimlanes is allowed.
swimlaneIndicatorColorAttributeThe attribute used to find the color for the indicator if the indicator color is set to ‘swimlane’.
imageBundlesHolds the list of image bundles.
minFitScaleSpecifies the minimum scale to be applied in fit.
maxFitScaleSpecifies the maximum scale to be applied in fit.
panDxCurrent horizontal panning value.
panDyCurrent vertical panning value.
collapsedImageSpecifies the mxImage to indicate a collapsed state.
expandedImageSpecifies the mxImage to indicate a expanded state.
warningImageSpecifies the mxImage for the image to be used to display a warning overlay.
alreadyConnectedResourceSpecifies the resource key for the error message to be displayed in non-multigraphs when two vertices are already connected.
containsValidationErrorsResourceSpecifies the resource key for the warning message to be displayed when a collapsed cell contains validation errors.
collapseExpandResourceSpecifies the resource key for the tooltip on the collapse/expand icon.
initInitializes the <container> and creates the respective datastructures.
createHandlersCreates the tooltip-, panning-, connection- and graph-handler (in this order).
createSelectionModelCreates a new mxGraphSelectionModel to be used in this graph.
createStylesheetCreates a new mxGraphSelectionModel to be used in this graph.
createGraphViewCreates a new mxGraphView to be used in this graph.
createCellRendererCreates a new mxCellRenderer to be used in this graph.
createCellEditorCreates a new mxCellEditor to be used in this graph.
getModelReturns the mxGraphModel that contains the cells.
getViewReturns the mxGraphView that contains the mxCellStates.
getStylesheetReturns the mxStylesheet that defines the style.
setStylesheetSets the mxStylesheet that defines the style.
getSelectionModelReturns the mxGraphSelectionModel that contains the selection.
setSelectionModelSets the <mxSelectionModel> that contains the selection.
getSelectionCellsForChangesReturns the cells to be selected for the given array of changes.
graphModelChangedCalled when the graph model changes.
getRemovedCellsForChangesReturns the cells that have been removed from the model.
processChangeProcesses the given change and invalidates the respective cached data in view.
removeStateForCellRemoves all cached information for the given cell and its descendants.
Overlays
addCellOverlayAdds an mxCellOverlay for the specified cell.
getCellOverlaysReturns the array of mxCellOverlays for the given cell or null, if no overlays are defined.
removeCellOverlayRemoves and returns the given mxCellOverlay from the given cell.
removeCellOverlaysRemoves all mxCellOverlays from the given cell.
clearCellOverlaysRemoves all mxCellOverlays in the graph for the given cell and all its descendants.
setCellWarningCreates an overlay for the given cell using the warning and image or warningImage and returns the new mxCellOverlay.
In-place editing
startEditingCalls startEditingAtCell using the given cell or the first selection cell.
startEditingAtCellFires a startEditing event and invokes mxCellEditor.startEditing on <editor>.
getEditingValueReturns the initial value for in-place editing.
stopEditingStops the current editing.
labelChangedSets the label of the specified cell to the given value using cellLabelChanged and fires mxEvent.LABEL_CHANGED while the transaction is in progress.
cellLabelChangedSets the new label for a cell.
Event processing
escapeProcesses an escape keystroke.
clickProcesses a singleclick on an optional cell and fires a click event.
dblClickProcesses a doubleclick on an optional cell and fires a <dblclick> event.
tapAndHoldHandles the mxMouseEvent by highlighting the mxCellState.
scrollPointToVisibleScrolls the graph to the given point, extending the graph container if specified.
createPanningManagerCreates and returns an mxPanningManager.
getBorderSizesReturns the size of the border and padding on all four sides of the container.
getPreferredPageSizeReturns the preferred size of the background page if preferPageSize is true.
sizeDidChangeCalled when the size of the graph has changed.
doResizeContainerResizes the container for the given graph width and height.
updatePageBreaksInvokes from sizeDidChange to redraw the page breaks.
Cell styles
getCellStyleReturns an array of key, value pairs representing the cell style for the given cell.
postProcessCellStyleTries 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.
setCellStyleSets the style of the specified cells.
toggleCellStyleToggles the boolean value for the given key in the style of the given cell.
toggleCellStylesToggles the boolean value for the given key in the style of the given cells.
setCellStylesSets the key to value in the styles of the given cells.
toggleCellStyleFlagsToggles the given bit for the given key in the styles of the specified cells.
setCellStyleFlagsSets or toggles the given bit for the given key in the styles of the specified cells.
Cell alignment and orientation
alignCellsAligns the given cells vertically or horizontally according to the given alignment using the optional parameter as the coordinate.
flipEdgeToggles the style of the given edge between null (or empty) and alternateEdgeStyle.
addImageBundleAdds the specified mxImageBundle.
removeImageBundleRemoves the specified mxImageBundle.
getImageFromBundlesSearches all imageBundles for the specified key and returns the value for the first match or null if the key is not found.
Order
orderCellsMoves the given cells to the front or back.
cellsOrderedMoves the given cells to the front or back.
Grouping
groupCellsAdds the cells into the given group.
getCellsForGroupReturns the cells with the same parent as the first cell in the given array.
getBoundsForGroupReturns the bounds to be used for the given group and children.
createGroupCellHook for creating the group cell to hold the given array of mxCells if no group cell was given to the <group> function.
ungroupCellsUngroups the given cells by moving the children the children to their parents parent and removing the empty groups.
removeCellsFromParentRemoves the specified cells from their parents and adds them to the default parent.
updateGroupBoundsUpdates the bounds of the given array of groups so that it includes all child vertices.
Cell cloning, insertion and removal
cloneCellsReturns the clones for the given cells.
insertVertexAdds 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.
createVertexHook method that creates the new vertex for insertVertex.
insertEdgeAdds 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.
createEdgeHook method that creates the new edge for insertEdge.
addEdgeAdds the edge to the parent and connects it to the given source and target terminals.
addCellAdds the cell to the parent and connects it to the given source and target terminals.
addCellsAdds the cells to the parent at the given index, connecting each cell to the optional source and target terminal.
cellsAddedAdds the specified cells to the given parent.
autoSizeCellRemoves the given cells from the graph including all connected edges if includeEdges is true.
removeCellsRemoves the given cells from the graph including all connected edges if includeEdges is true.
cellsRemovedRemoves the given cells from the model.
splitEdgeSplits 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.
Cell visibility
toggleCellsSets the visible state of the specified cells and all connected edges if includeEdges is true.
cellsToggledSets the visible state of the specified cells.
Folding
foldCellsSets the collapsed state of the specified cells and all descendants if recurse is true.
cellsFoldedSets the collapsed state of the specified cells.
swapBoundsSwaps the alternate and the actual bounds in the geometry of the given cell invoking updateAlternateBounds before carrying out the swap.
updateAlternateBoundsUpdates or sets the alternate bounds in the given geometry for the given cell depending on whether the cell is going to be collapsed.
addAllEdgesReturns an array with the given cells and all edges that are connected to a cell or one of its descendants.
getAllEdgesReturns all edges connected to the given cells or its descendants.
Cell sizing
updateCellSizeUpdates the size of the given cell in the model using cellSizeUpdated.
cellSizeUpdatedUpdates the size of the given cell in the model using getPreferredSizeForCell to get the new size.
getPreferredSizeForCellReturns the preferred width and height of the given mxCell as an mxRectangle.
resizeCellSets the bounds of the given cell using resizeCells.
resizeCellsSets the bounds of the given cells and fires a mxEvent.RESIZE_CELLS event while the transaction is in progress.
cellsResizedSets the bounds of the given cells and fires a mxEvent.CELLS_RESIZED event.
cellResizedResizes the parents recursively so that they contain the complete area of the resized child cell.
resizeChildCellsResizes the child cells of the given cell for the given new geometry with respect to the current geometry of the cell.
constrainChildCellsConstrains the children of the given cell using constrainChild.
scaleCellScales the points, position and size of the given cell according to the given vertical and horizontal scaling factors.
extendParentResizes the parents recursively so that they contain the complete area of the resized child cell.
Cell moving
importCellsClones and inserts the given cells into the graph using the move method and returns the inserted cells.
moveCellsMoves or clones the specified cells and moves the cells or clones by the given amount, adding them to the optional target cell.
cellsMovedMoves the specified cells by the given vector, disconnecting the cells using disconnectGraph is disconnect is true.
translateCellTranslates the geometry of the given cell and stores the new, translated geometry in the model as an atomic change.
getCellContainmentAreaReturns the mxRectangle inside which a cell is to be kept.
getMaximumGraphBoundsReturns the bounds inside which the diagram should be kept as an mxRectangle.
constrainChildKeeps the given cell inside the bounds returned by getCellContainmentArea for its parent, according to the rules defined by getOverlap and isConstrainChild.
resetEdgesResets 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.
resetEdgeResets the control points of the given edge.
Cell connecting and connection constraints
getAllConnectionConstraintsReturns an array of all mxConnectionConstraints for the given terminal.
getConnectionConstraintReturns an mxConnectionConstraint that describes the given connection point.
setConnectionConstraintSets the mxConnectionConstraint that describes the given connection point.
getConnectionPointReturns the nearest point in the list of absolute points or the center of the opposite terminal.
connectCellConnects the specified end of the given edge to the given terminal using cellConnected and fires mxEvent.CONNECT_CELL while the transaction is in progress.
cellConnectedSets the new terminal for the given edge and resets the edge points if resetEdgesOnConnect is true.
disconnectGraphDisconnects the given edges from the terminals which are not in the given array.
Drilldown
getCurrentRootReturns the current root of the displayed cell hierarchy.
getTranslateForRootReturns the translation to be used if the given cell is the root cell as an mxPoint.
isPortReturns 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.
getTerminalForPortReturns the terminal to be used for a given port.
getChildOffsetForCellReturns the offset to be used for the cells inside the given cell.
enterGroupUses the given cell as the root of the displayed cell hierarchy.
exitGroupChanges the current root to the next valid root in the displayed cell hierarchy.
homeUses the root of the model as the root of the displayed cell hierarchy and selects the previous root.
isValidRootReturns true if the given cell is a valid root for the cell display hierarchy.
Graph display
getGraphBoundsReturns the bounds of the visible graph.
getCellBoundsReturns the scaled, translated bounds for the given cell.
getBoundingBoxFromGeometryReturns the bounding box for the geometries of the vertices in the given array of cells.
refreshClears all cell states or the states for the hierarchy starting at the given cell and validates the graph.
snapSnaps the given numeric value to the grid if gridEnabled is true.
panGraphShifts the graph display by the given amount.
zoomInZooms into the graph by zoomFactor.
zoomOutZooms out of the graph by zoomFactor.
zoomActualResets the zoom and panning in the view.
zoomToZooms the graph to the given scale with an optional boolean center argument, which is passd to zoom.
zoomZooms the graph using the given factor.
zoomToRectZooms the graph to the specified rectangle.
fitScales the graph such that the complete diagram fits into <container> and returns the current scale in the view.
scrollCellToVisiblePans the graph so that it shows the given cell.
scrollRectToVisiblePans the graph so that it shows the given rectangle.
getCellGeometryReturns the mxGeometry for the given cell.
isCellVisibleReturns true if the given cell is visible in this graph.
isCellCollapsedReturns true if the given cell is collapsed in this graph.
isCellConnectableReturns true if the given cell is connectable in this graph.
isOrthogonalReturns true if perimeter points should be computed such that the resulting edge has only horizontal or vertical segments.
isLoopReturns true if the given cell state is a loop.
isCloneEventReturns true if the given event is a clone event.
isToggleEventReturns true if the given event is a toggle event.
isGridEnabledEventReturns true if the given mouse event should be aligned to the grid.
isConstrainedEventReturns true if the given mouse event should be aligned to the grid.
Validation
validationAlertDisplays the given validation error in a dialog.
isEdgeValidChecks if the return value of getEdgeValidationError for the given arguments is null.
getEdgeValidationErrorReturns the validation error message to be displayed when inserting or changing an edges’ connectivity.
validateEdgeHook method for subclassers to return an error message for the given edge and terminals.
validateGraphValidates the graph by validating each descendant of the given cell or the root of the model.
getCellValidationErrorChecks all multiplicities that cannot be enforced while the graph is being modified, namely, all multiplicities that require a minimum of 1 edge.
validateCellHook method for subclassers to return an error message for the given cell and validation context.
Graph appearance
getBackgroundImageReturns the backgroundImage as an mxImage.
setBackgroundImageSets the new backgroundImage.
getFoldingImageReturns the mxImage used to display the collapsed state of the specified cell state.
convertValueToStringReturns the textual representation for the given cell.
getLabelReturns a string or DOM node that represents the label for the given cell.
isHtmlLabelReturns true if the label must be rendered as HTML markup.
isHtmlLabelsReturns htmlLabels.
setHtmlLabelsSets htmlLabels.
isWrappingThis enables wrapping for HTML labels.
isLabelClippedReturns true if the overflow portion of labels should be hidden.
getTooltipReturns the string or DOM node that represents the tooltip for the given state, node and coordinate pair.
getTooltipForCellReturns the string or DOM node to be used as the tooltip for the given cell.
getCursorForMouseEventReturns the cursor value to be used for the CSS of the shape for the given event.
getCursorForCellReturns the cursor value to be used for the CSS of the shape for the given cell.
getStartSizeReturns 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.
getImageReturns the image URL for the given cell state.
getVerticalAlignReturns the vertical alignment for the given cell state.
getIndicatorColorReturns the indicator color for the given cell state.
getIndicatorGradientColorReturns the indicator gradient color for the given cell state.
getIndicatorShapeReturns the indicator shape for the given cell state.
getIndicatorImageReturns the indicator image for the given cell state.
getBorderReturns the value of border.
setBorderSets the value of border.
isSwimlaneReturns true if the given cell is a swimlane in the graph.
Graph behaviour
isResizeContainerReturns resizeContainer.
setResizeContainerSets resizeContainer.
isEnabledReturns true if the graph is enabled.
setEnabledSpecifies if the graph should allow any interactions.
isEscapeEnabledReturns escapeEnabled.
setEscapeEnabledSets escapeEnabled.
isInvokesStopCellEditingReturns invokesStopCellEditing.
setInvokesStopCellEditingSets invokesStopCellEditing.
isEnterStopsCellEditingReturns enterStopsCellEditing.
setEnterStopsCellEditingSets enterStopsCellEditing.
isCellLockedReturns true if the given cell may not be moved, sized, bended, disconnected, edited or selected.
isCellsLockedReturns true if the given cell may not be moved, sized, bended, disconnected, edited or selected.
setLockedSets if any cell may be moved, sized, bended, disconnected, edited or selected.
getCloneableCellsReturns the cells which may be exported in the given array of cells.
isCellCloneableReturns true if the given cell is cloneable.
isCellsCloneableReturns cellsCloneable, that is, if the graph allows cloning of cells by using control-drag.
setCellsCloneableSpecifies if the graph should allow cloning of cells by holding down the control key while cells are being moved.
getExportableCellsReturns the cells which may be exported in the given array of cells.
canExportCellReturns true if the given cell may be exported to the clipboard.
getImportableCellsReturns the cells which may be imported in the given array of cells.
canImportCellReturns true if the given cell may be imported from the clipboard.
isCellSelectableReturns true if the given cell is selectable.
isCellsSelectableReturns cellsSelectable.
setCellsSelectableSets cellsSelectable.
getDeletableCellsReturns the cells which may be exported in the given array of cells.
isCellDeletableReturns true if the given cell is moveable.
isCellsDeletableReturns cellsDeletable.
setCellsDeletableSets cellsDeletable.
isLabelMovableReturns true if the given edges’s label is moveable.
isCellRotatableReturns true if the given cell is rotatable.
getMovableCellsReturns the cells which are movable in the given array of cells.
isCellMovableReturns true if the given cell is moveable.
isCellsMovableReturns cellsMovable.
setCellsMovableSpecifies if the graph should allow moving of cells.
isGridEnabledReturns gridEnabled as a boolean.
setGridEnabledSpecifies if the grid should be enabled.
isPortsEnabledReturns portsEnabled as a boolean.
setPortsEnabledSpecifies if the ports should be enabled.
getGridSizeReturns gridSize.
setGridSizeSets gridSize.
getToleranceReturns tolerance.
setToleranceSets tolerance.
isVertexLabelsMovableReturns vertexLabelsMovable.
setVertexLabelsMovableSets vertexLabelsMovable.
isEdgeLabelsMovableReturns edgeLabelsMovable.
isEdgeLabelsMovableSets edgeLabelsMovable.
isSwimlaneNestingReturns swimlaneNesting as a boolean.
setSwimlaneNestingSpecifies if swimlanes can be nested by drag and drop.
isSwimlaneSelectionEnabledReturns swimlaneSelectionEnabled as a boolean.
setSwimlaneSelectionEnabledSpecifies if swimlanes should be selected if the mouse is released over their content area.
isMultigraphReturns multigraph as a boolean.
setMultigraphSpecifies if the graph should allow multiple connections between the same pair of vertices.
isAllowLoopsReturns allowLoops as a boolean.
setAllowDanglingEdgesSpecifies if dangling edges are allowed, that is, if edges are allowed that do not have a source and/or target terminal defined.
isAllowDanglingEdgesReturns allowDanglingEdges as a boolean.
setConnectableEdgesSpecifies if edges should be connectable.
isConnectableEdgesReturns connectableEdges as a boolean.
setCloneInvalidEdgesSpecifies if edges should be inserted when cloned but not valid wrt.
isCloneInvalidEdgesReturns cloneInvalidEdges as a boolean.
setAllowLoopsSpecifies if loops are allowed.
isDisconnectOnMoveReturns disconnectOnMove as a boolean.
setDisconnectOnMoveSpecifies if edges should be disconnected when moved.
isDropEnabledReturns dropEnabled as a boolean.
setDropEnabledSpecifies if the graph should allow dropping of cells onto or into other cells.
isSplitEnabledReturns splitEnabled as a boolean.
setSplitEnabledSpecifies if the graph should allow dropping of cells onto or into other cells.
isCellResizableReturns true if the given cell is resizable.
isCellsResizableReturns cellsResizable.
setCellsResizableSpecifies if the graph should allow resizing of cells.
isTerminalPointMovableReturns true if the given terminal point is movable.
isCellBendableReturns true if the given cell is bendable.
isCellsBendableReturns <cellsBenadable>.
setCellsBendableSpecifies if the graph should allow bending of edges.
isCellEditableReturns true if the given cell is editable.
isCellsEditableReturns cellsEditable.
setCellsEditableSpecifies if the graph should allow in-place editing for cell labels.
isCellDisconnectableReturns true if the given cell is disconnectable from the source or target terminal.
isCellsDisconnectableReturns cellsDisconnectable.
setCellsDisconnectableSets cellsDisconnectable.
isValidSourceReturns true if the given cell is a valid source for new connections.
isValidTargetReturns isValidSource for the given cell.
isValidConnectionReturns true if the given target cell is a valid target for source.
setConnectableSpecifies if the graph should allow new connections.
isConnectableReturns true if the <connectionHandler> is enabled.
setTooltipsSpecifies if tooltips should be enabled.
setPanningSpecifies if panning should be enabled.
isEditingReturns true if the given cell is currently being edited.
isAutoSizeCellReturns true if the size of the given cell should automatically be updated after a change of the label.
isAutoSizeCellsReturns autoSizeCells.
setAutoSizeCellsSpecifies if cell sizes should be automatically updated after a label change.
isExtendParentReturns true if the parent of the given cell should be extended if the child has been resized so that it overlaps the parent.
isExtendParentsReturns extendParents.
setExtendParentsSets extendParents.
isExtendParentsOnAddReturns extendParentsOnAdd.
setExtendParentsOnAddSets extendParentsOnAdd.
isExtendParentsOnAddReturns extendParentsOnAdd.
setExtendParentsOnAddSets extendParentsOnAdd.
isRecursiveResizeReturns recursiveResize.
setRecursiveResizeSets recursiveResize.
isConstrainChildReturns true if the given cell should be kept inside the bounds of its parent according to the rules defined by getOverlap and isAllowOverlapParent.
isConstrainChildrenReturns constrainChildren.
setConstrainChildrenOnResizeSets constrainChildrenOnResize.
isConstrainChildrenOnResizeReturns constrainChildrenOnResize.
setConstrainChildrenSets constrainChildren.
isConstrainChildrenReturns allowNegativeCoordinates.
setConstrainChildrenSets allowNegativeCoordinates.
getOverlapReturns a decimal number representing the amount of the width and height of the given cell that is allowed to overlap its parent.
isAllowOverlapParentReturns true if the given cell is allowed to be placed outside of the parents area.
getFoldableCellsReturns the cells which are movable in the given array of cells.
isCellFoldableReturns true if the given cell is foldable.
isValidDropTargetReturns true if the given cell is a valid drop target for the specified cells.
isSplitTargetReturns true if the given edge may be splitted into two edges with the given cell as a new terminal between the two.
getDropTargetReturns 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.
Cell retrieval
getDefaultParentReturns defaultParent or mxGraphView.currentRoot or the first child child of mxGraphModel.root if both are null.
setDefaultParentSets the defaultParent to the given cell.
getSwimlaneReturns the nearest ancestor of the given cell which is a swimlane, or the given cell, if it is itself a swimlane.
getSwimlaneAtReturns the bottom-most swimlane that intersects the given point (x, y) in the cell hierarchy that starts at the given parent.
getCellAtReturns the bottom-most cell that intersects the given point (x, y) in the cell hierarchy starting at the given parent.
intersectsReturns the bottom-most cell that intersects the given point (x, y) in the cell hierarchy that starts at the given parent.
hitsSwimlaneContentReturns true if the given coordinate pair is inside the content are of the given swimlane.
getChildVerticesReturns the visible child vertices of the given parent.
getChildEdgesReturns the visible child edges of the given parent.
getChildCellsReturns the visible child vertices or edges in the given parent.
getConnectionsReturns all visible edges connected to the given cell without loops.
getIncomingEdgesReturns the visible incoming edges for the given cell.
getOutgoingEdgesReturns the visible outgoing edges for the given cell.
getEdgesReturns the incoming and/or outgoing edges for the given cell.
isValidAncestorReturns 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.
getOppositesReturns all distinct visible opposite cells for the specified terminal on the given edges.
getEdgesBetweenReturns the edges between the given source and target.
getPointForEventReturns an mxPoint representing the given event in the unscaled, non-translated coordinate space of <container> and applies the grid.
getCellsReturns the children of the given parent that are contained in the given rectangle (x, y, width, height).
getCellsBeyondReturns the children of the given parent that are contained in the halfpane from the given point (x0, y0) rightwards and/or downwards depending on rightHalfpane and bottomHalfpane.
findTreeRootsReturns all children in the given parent which do not have incoming edges.
traverseTraverses the (directed) graph invoking the given function for each visited vertex and edge.
Selection
isCellSelectedReturns true if the given cell is selected.
isSelectionEmptyReturns true if the selection is empty.
clearSelectionClears the selection using mxGraphSelectionModel.clear.
getSelectionCountReturns the number of selected cells.
getSelectionCellReturns the first cell from the array of selected mxCells.
getSelectionCellsReturns the array of selected mxCells.
setSelectionCellSets the selection cell.
setSelectionCellsSets the selection cell.
addSelectionCellAdds the given cell to the selection.
addSelectionCellsAdds the given cells to the selection.
removeSelectionCellRemoves the given cell from the selection.
removeSelectionCellsRemoves the given cells from the selection.
selectRegionSelects and returns the cells inside the given rectangle for the specified event.
selectNextCellSelects the next cell.
selectPreviousCellSelects the previous cell.
selectParentCellSelects the parent cell.
selectChildCellSelects the first child cell.
selectCellSelects the next, parent, first child or previous cell, if all arguments are false.
selectAllSelects all children of the given parent cell or the children of the default parent if no parent is specified.
selectVerticesSelect all vertices inside the given parent or the default parent.
selectVerticesSelect all vertices inside the given parent or the default parent.
selectCellsSelects 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.
selectCellForEventSelects 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.
selectCellsForEventSelects 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.
Selection state
createHandlerCreates a new handler for the given cell state.
Graph events
addMouseListenerAdds a listener to the graph event dispatch loop.
removeMouseListenerRemoves the specified graph listener.
updateMouseEventSets the graphX and graphY properties if the given mxMouseEvent if required and returned the event.
getStateForEventReturns the state for the given touch event.
isEventIgnoredReturns true if the event should be ignored in fireMouseEvent.
isSyntheticEventIgnoredHook for ignoring synthetic mouse events after touchend in Firefox.
isEventSourceIgnoredReturns true if the given mouse down event should be ignored.
fireMouseEventDispatches the given event in the graph event dispatch loop.
fireGestureEventDispatches a mxEvent.GESTURE event.
destroyDestroys the graph and all its resources.
+dec.decode(node, graph.getModel());

For creating a page that loads the client and a diagram using a single request please refer to the deployment examples in the backends.

Functional dependencies

Resources

resources/graphLanguage resources for mxGraph
Summary
mxGraphExtends mxEventSource to implement a graph component for the browser.
Events
mxEvent.ROOTFires if the root in the model has changed.
mxEvent.ALIGN_CELLSFires between begin- and endUpdate in alignCells.
mxEvent.FLIP_EDGEFires between begin- and endUpdate in flipEdge.
mxEvent.ORDER_CELLSFires between begin- and endUpdate in orderCells.
mxEvent.CELLS_ORDEREDFires between begin- and endUpdate in cellsOrdered.
mxEvent.GROUP_CELLSFires between begin- and endUpdate in groupCells.
mxEvent.UNGROUP_CELLSFires between begin- and endUpdate in ungroupCells.
mxEvent.REMOVE_CELLS_FROM_PARENTFires between begin- and endUpdate in removeCellsFromParent.
mxEvent.ADD_CELLSFires between begin- and endUpdate in addCells.
mxEvent.CELLS_ADDEDFires between begin- and endUpdate in cellsAdded.
mxEvent.REMOVE_CELLSFires between begin- and endUpdate in removeCells.
mxEvent.CELLS_REMOVEDFires between begin- and endUpdate in cellsRemoved.
mxEvent.SPLIT_EDGEFires between begin- and endUpdate in splitEdge.
mxEvent.TOGGLE_CELLSFires between begin- and endUpdate in toggleCells.
mxEvent.FOLD_CELLSFires between begin- and endUpdate in foldCells.
mxEvent.CELLS_FOLDEDFires between begin- and endUpdate in cellsFolded.
mxEvent.UPDATE_CELL_SIZEFires between begin- and endUpdate in updateCellSize.
mxEvent.RESIZE_CELLSFires between begin- and endUpdate in resizeCells.
mxEvent.CELLS_RESIZEDFires between begin- and endUpdate in cellsResized.
mxEvent.MOVE_CELLSFires between begin- and endUpdate in moveCells.
mxEvent.CELLS_MOVEDFires between begin- and endUpdate in cellsMoved.
mxEvent.CONNECT_CELLFires between begin- and endUpdate in connectCell.
mxEvent.CELL_CONNECTEDFires between begin- and endUpdate in cellConnected.
mxEvent.REFRESHFires after refresh was executed.
mxEvent.CLICKFires in click after a click event.
mxEvent.DOUBLE_CLICKFires in dblClick after a double click.
mxEvent.GESTUREFires in fireGestureEvent after a touch gesture.
mxEvent.TAP_AND_HOLDFires in tapAndHold if a tap and hold event was detected.
mxEvent.FIRE_MOUSE_EVENTFires in fireMouseEvent before the mouse listeners are invoked.
mxEvent.SIZEFires after sizeDidChange was executed.
mxEvent.START_EDITINGFires before the in-place editor starts in startEditingAtCell.
mxEvent.LABEL_CHANGEDFires between begin- and endUpdate in cellLabelChanged.
mxEvent.ADD_OVERLAYFires after an overlay is added in addCellOverlay.
mxEvent.REMOVE_OVERLAYFires after an overlay is removed in removeCellOverlay and removeCellOverlays.
mxGraphConstructs a new mxGraph in the specified container.
EMPTY_ARRAYImmutable empty array instance.
Variables
mouseListenersHolds the mouse event listeners.
isMouseDownHolds the state of the mouse button.
modelHolds the mxGraphModel that contains the cells to be displayed.
viewHolds the mxGraphView that caches the mxCellStates for the cells.
stylesheetHolds the mxStylesheet that defines the appearance of the cells.
selectionModelHolds the mxGraphSelectionModel that models the current selection.
cellEditorHolds the mxCellEditor that is used as the in-place editing.
cellRendererHolds the mxCellRenderer for rendering the cells in the graph.
multiplicitiesAn array of mxMultiplicities describing the allowed connections in a graph.
renderHintRenderHint as it was passed to the constructor.
dialectDialect to be used for drawing the graph.
gridSizeSpecifies the grid size.
gridEnabledSpecifies if the grid is enabled.
portsEnabledSpecifies if ports are enabled.
nativeDoubleClickEnabledSpecifies if native double click events should be deteced.
doubleTapEnabledSpecifies if double taps on touch-based devices should be handled as a double click.
doubleTapTimeoutSpecifies the timeout for double taps and non-native double clicks.
doubleTapToleranceSpecifies the tolerance for double taps and double clicks in quirks mode.
lastTouchXHolds the x-coordinate of the last touch event for double tap detection.
lastTouchXHolds the y-coordinate of the last touch event for double tap detection.
lastTouchTimeHolds the time of the last touch event for double click detection.
tapAndHoldEnabledSpecifies if tap and hold should be used for starting connections on touch-based devices.
tapAndHoldDelaySpecifies the time for a tap and hold.
tapAndHoldInProgressTrue if the timer for tap and hold events is running.
tapAndHoldValidTrue as long as the timer is running and the touch events stay within the given <tapAndHoldTolerance>.
initialTouchXHolds the x-coordinate of the intial touch event for tap and hold.
initialTouchYHolds the y-coordinate of the intial touch event for tap and hold.
toleranceTolerance for a move to be handled as a single click.
defaultOverlapValue returned by getOverlap if isAllowOverlapParent returns true for the given cell.
defaultParentSpecifies the default parent to be used to insert new cells.
alternateEdgeStyleSpecifies the alternate edge style to be used if the main control point on an edge is being doubleclicked.
backgroundImageSpecifies the mxImage to be returned by getBackgroundImage.
pageVisibleSpecifies if the background page should be visible.
pageBreaksVisibleSpecifies if a dashed line should be drawn between multiple pages.
pageBreakColorSpecifies the color for page breaks.
pageBreakDashedSpecifies the page breaks should be dashed.
minPageBreakDistSpecifies the minimum distance for page breaks to be visible.
preferPageSizeSpecifies if the graph size should be rounded to the next page number in sizeDidChange.
pageFormatSpecifies the page format for the background page.
pageScaleSpecifies the scale of the background page.
enabledSpecifies the return value for isEnabled.
escapeEnabledSpecifies if mxKeyHandler should invoke escape when the escape key is pressed.
invokesStopCellEditingIf 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.
enterStopsCellEditingIf true, pressing the enter key without pressing control or shift will stop editing and accept the new value.
useScrollbarsForPanningSpecifies if scrollbars should be used for panning in panGraph if any scrollbars are available.
exportEnabledSpecifies the return value for canExportCell.
importEnabledSpecifies the return value for canImportCell.
cellsLockedSpecifies the return value for isCellLocked.
cellsCloneableSpecifies the return value for isCellCloneable.
foldingEnabledSpecifies if folding (collapse and expand via an image icon in the graph should be enabled).
cellsEditableSpecifies the return value for isCellEditable.
cellsDeletableSpecifies the return value for isCellDeletable.
cellsMovableSpecifies the return value for isCellMovable.
edgeLabelsMovableSpecifies the return value for edges in isLabelMovable.
vertexLabelsMovableSpecifies the return value for vertices in isLabelMovable.
dropEnabledSpecifies the return value for isDropEnabled.
splitEnabledSpecifies if dropping onto edges should be enabled.
cellsResizableSpecifies the return value for isCellResizable.
cellsBendableSpecifies the return value for isCellsBendable.
cellsSelectableSpecifies the return value for isCellSelectable.
cellsDisconnectableSpecifies the return value for <isCellDisconntable>.
autoSizeCellsSpecifies if the graph should automatically update the cell size after an edit.
autoSizeCellsOnAddSpecifies if autoSize style should be applied when cells are added.
autoScrollSpecifies if the graph should automatically scroll if the mouse goes near the container edge while dragging.
timerAutoScrollSpecifies if timer-based autoscrolling should be used via mxPanningManager.
allowAutoPanningSpecifies if panning via panGraph should be allowed to implement autoscroll if no scrollbars are available in scrollPointToVisible.
ignoreScrollbarsSpecifies if the graph should automatically scroll regardless of the scrollbars.
autoExtendSpecifies if the size of the graph should be automatically extended if the mouse goes near the container edge while dragging.
maximumGraphBoundsmxRectangle that specifies the area in which all cells in the diagram should be placed.
minimumGraphSizemxRectangle that specifies the minimum size of the graph.
minimumContainerSizemxRectangle that specifies the minimum size of the <container> if resizeContainer is true.
maximumContainerSizemxRectangle that specifies the maximum size of the container if resizeContainer is true.
resizeContainerSpecifies if the container should be resized to the graph size when the graph size has changed.
borderBorder to be added to the bottom and right side when the container is being resized after the graph has been changed.
keepEdgesInForegroundSpecifies if edges should appear in the foreground regardless of their order in the model.
keepEdgesInBackgroundSpecifies if edges should appear in the background regardless of their order in the model.
allowNegativeCoordinatesSpecifies if negative coordinates for vertices are allowed.
constrainChildrenSpecifies if a child should be constrained inside the parent bounds after a move of the child.
constrainChildrenOnResizeSpecifies if children should be constrained according to the constrainChildren switch if cells are resized.
extendParentsSpecifies if a parent should contain the child bounds after a resize of the child.
extendParentsOnAddSpecifies if parents should be extended according to the extendParents switch if cells are added.
extendParentsOnAddSpecifies if parents should be extended according to the extendParents switch if cells are added.
recursiveResizeSpecifies the return value for isRecursiveResize.
collapseToPreferredSizeSpecifies if the cell size should be changed to the preferred size when a cell is first collapsed.
zoomFactorSpecifies the factor used for zoomIn and zoomOut.
keepSelectionVisibleOnZoomSpecifies if the viewport should automatically contain the selection cells after a zoom operation.
centerZoomSpecifies if the zoom operations should go into the center of the actual diagram rather than going from top, left.
resetViewOnRootChangeSpecifies if the scale and translate should be reset if the root changes in the model.
resetEdgesOnResizeSpecifies if edge control points should be reset after the resize of a connected cell.
resetEdgesOnMoveSpecifies if edge control points should be reset after the move of a connected cell.
resetEdgesOnConnectSpecifies if edge control points should be reset after the the edge has been reconnected.
allowLoopsSpecifies if loops (aka self-references) are allowed.
defaultLoopStylemxEdgeStyle to be used for loops.
multigraphSpecifies if multiple edges in the same direction between the same pair of vertices are allowed.
connectableEdgesSpecifies if edges are connectable.
allowDanglingEdgesSpecifies if edges with disconnected terminals are allowed in the graph.
cloneInvalidEdgesSpecifies if edges that are cloned should be validated and only inserted if they are valid.
disconnectOnMoveSpecifies if edges should be disconnected from their terminals when they are moved.
labelsVisibleSpecifies if labels should be visible.
htmlLabelsSpecifies the return value for isHtmlLabel.
swimlaneSelectionEnabledSpecifies if swimlanes should be selectable via the content if the mouse is released.
swimlaneNestingSpecifies if nesting of swimlanes is allowed.
swimlaneIndicatorColorAttributeThe attribute used to find the color for the indicator if the indicator color is set to ‘swimlane’.
imageBundlesHolds the list of image bundles.
minFitScaleSpecifies the minimum scale to be applied in fit.
maxFitScaleSpecifies the maximum scale to be applied in fit.
panDxCurrent horizontal panning value.
panDyCurrent vertical panning value.
collapsedImageSpecifies the mxImage to indicate a collapsed state.
expandedImageSpecifies the mxImage to indicate a expanded state.
warningImageSpecifies the mxImage for the image to be used to display a warning overlay.
alreadyConnectedResourceSpecifies the resource key for the error message to be displayed in non-multigraphs when two vertices are already connected.
containsValidationErrorsResourceSpecifies the resource key for the warning message to be displayed when a collapsed cell contains validation errors.
collapseExpandResourceSpecifies the resource key for the tooltip on the collapse/expand icon.
initInitializes the <container> and creates the respective datastructures.
createHandlersCreates the tooltip-, panning-, connection- and graph-handler (in this order).
createSelectionModelCreates a new mxGraphSelectionModel to be used in this graph.
createStylesheetCreates a new mxGraphSelectionModel to be used in this graph.
createGraphViewCreates a new mxGraphView to be used in this graph.
createCellRendererCreates a new mxCellRenderer to be used in this graph.
createCellEditorCreates a new mxCellEditor to be used in this graph.
getModelReturns the mxGraphModel that contains the cells.
getViewReturns the mxGraphView that contains the mxCellStates.
getStylesheetReturns the mxStylesheet that defines the style.
setStylesheetSets the mxStylesheet that defines the style.
getSelectionModelReturns the mxGraphSelectionModel that contains the selection.
setSelectionModelSets the <mxSelectionModel> that contains the selection.
getSelectionCellsForChangesReturns the cells to be selected for the given array of changes.
graphModelChangedCalled when the graph model changes.
getRemovedCellsForChangesReturns the cells that have been removed from the model.
processChangeProcesses the given change and invalidates the respective cached data in view.
removeStateForCellRemoves all cached information for the given cell and its descendants.
Overlays
addCellOverlayAdds an mxCellOverlay for the specified cell.
getCellOverlaysReturns the array of mxCellOverlays for the given cell or null, if no overlays are defined.
removeCellOverlayRemoves and returns the given mxCellOverlay from the given cell.
removeCellOverlaysRemoves all mxCellOverlays from the given cell.
clearCellOverlaysRemoves all mxCellOverlays in the graph for the given cell and all its descendants.
setCellWarningCreates an overlay for the given cell using the warning and image or warningImage and returns the new mxCellOverlay.
In-place editing
startEditingCalls startEditingAtCell using the given cell or the first selection cell.
startEditingAtCellFires a startEditing event and invokes mxCellEditor.startEditing on <editor>.
getEditingValueReturns the initial value for in-place editing.
stopEditingStops the current editing.
labelChangedSets the label of the specified cell to the given value using cellLabelChanged and fires mxEvent.LABEL_CHANGED while the transaction is in progress.
cellLabelChangedSets the new label for a cell.
Event processing
escapeProcesses an escape keystroke.
clickProcesses a singleclick on an optional cell and fires a click event.
dblClickProcesses a doubleclick on an optional cell and fires a <dblclick> event.
tapAndHoldHandles the mxMouseEvent by highlighting the mxCellState.
scrollPointToVisibleScrolls the graph to the given point, extending the graph container if specified.
createPanningManagerCreates and returns an mxPanningManager.
getBorderSizesReturns the size of the border and padding on all four sides of the container.
getPreferredPageSizeReturns the preferred size of the background page if preferPageSize is true.
sizeDidChangeCalled when the size of the graph has changed.
doResizeContainerResizes the container for the given graph width and height.
updatePageBreaksInvokes from sizeDidChange to redraw the page breaks.
Cell styles
getCellStyleReturns an array of key, value pairs representing the cell style for the given cell.
postProcessCellStyleTries 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.
setCellStyleSets the style of the specified cells.
toggleCellStyleToggles the boolean value for the given key in the style of the given cell.
toggleCellStylesToggles the boolean value for the given key in the style of the given cells.
setCellStylesSets the key to value in the styles of the given cells.
toggleCellStyleFlagsToggles the given bit for the given key in the styles of the specified cells.
setCellStyleFlagsSets or toggles the given bit for the given key in the styles of the specified cells.
Cell alignment and orientation
alignCellsAligns the given cells vertically or horizontally according to the given alignment using the optional parameter as the coordinate.
flipEdgeToggles the style of the given edge between null (or empty) and alternateEdgeStyle.
addImageBundleAdds the specified mxImageBundle.
removeImageBundleRemoves the specified mxImageBundle.
getImageFromBundlesSearches all imageBundles for the specified key and returns the value for the first match or null if the key is not found.
Order
orderCellsMoves the given cells to the front or back.
cellsOrderedMoves the given cells to the front or back.
Grouping
groupCellsAdds the cells into the given group.
getCellsForGroupReturns the cells with the same parent as the first cell in the given array.
getBoundsForGroupReturns the bounds to be used for the given group and children.
createGroupCellHook for creating the group cell to hold the given array of mxCells if no group cell was given to the <group> function.
ungroupCellsUngroups the given cells by moving the children the children to their parents parent and removing the empty groups.
removeCellsFromParentRemoves the specified cells from their parents and adds them to the default parent.
updateGroupBoundsUpdates the bounds of the given array of groups so that it includes all child vertices.
Cell cloning, insertion and removal
cloneCellsReturns the clones for the given cells.
insertVertexAdds 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.
createVertexHook method that creates the new vertex for insertVertex.
insertEdgeAdds 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.
createEdgeHook method that creates the new edge for insertEdge.
addEdgeAdds the edge to the parent and connects it to the given source and target terminals.
addCellAdds the cell to the parent and connects it to the given source and target terminals.
addCellsAdds the cells to the parent at the given index, connecting each cell to the optional source and target terminal.
cellsAddedAdds the specified cells to the given parent.
autoSizeCellRemoves the given cells from the graph including all connected edges if includeEdges is true.
removeCellsRemoves the given cells from the graph including all connected edges if includeEdges is true.
cellsRemovedRemoves the given cells from the model.
splitEdgeSplits 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.
Cell visibility
toggleCellsSets the visible state of the specified cells and all connected edges if includeEdges is true.
cellsToggledSets the visible state of the specified cells.
Folding
foldCellsSets the collapsed state of the specified cells and all descendants if recurse is true.
cellsFoldedSets the collapsed state of the specified cells.
swapBoundsSwaps the alternate and the actual bounds in the geometry of the given cell invoking updateAlternateBounds before carrying out the swap.
updateAlternateBoundsUpdates or sets the alternate bounds in the given geometry for the given cell depending on whether the cell is going to be collapsed.
addAllEdgesReturns an array with the given cells and all edges that are connected to a cell or one of its descendants.
getAllEdgesReturns all edges connected to the given cells or its descendants.
Cell sizing
updateCellSizeUpdates the size of the given cell in the model using cellSizeUpdated.
cellSizeUpdatedUpdates the size of the given cell in the model using getPreferredSizeForCell to get the new size.
getPreferredSizeForCellReturns the preferred width and height of the given mxCell as an mxRectangle.
resizeCellSets the bounds of the given cell using resizeCells.
resizeCellsSets the bounds of the given cells and fires a mxEvent.RESIZE_CELLS event while the transaction is in progress.
cellsResizedSets the bounds of the given cells and fires a mxEvent.CELLS_RESIZED event.
cellResizedResizes the parents recursively so that they contain the complete area of the resized child cell.
resizeChildCellsResizes the child cells of the given cell for the given new geometry with respect to the current geometry of the cell.
constrainChildCellsConstrains the children of the given cell using constrainChild.
scaleCellScales the points, position and size of the given cell according to the given vertical and horizontal scaling factors.
extendParentResizes the parents recursively so that they contain the complete area of the resized child cell.
Cell moving
importCellsClones and inserts the given cells into the graph using the move method and returns the inserted cells.
moveCellsMoves or clones the specified cells and moves the cells or clones by the given amount, adding them to the optional target cell.
cellsMovedMoves the specified cells by the given vector, disconnecting the cells using disconnectGraph is disconnect is true.
translateCellTranslates the geometry of the given cell and stores the new, translated geometry in the model as an atomic change.
getCellContainmentAreaReturns the mxRectangle inside which a cell is to be kept.
getMaximumGraphBoundsReturns the bounds inside which the diagram should be kept as an mxRectangle.
constrainChildKeeps the given cell inside the bounds returned by getCellContainmentArea for its parent, according to the rules defined by getOverlap and isConstrainChild.
resetEdgesResets 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.
resetEdgeResets the control points of the given edge.
Cell connecting and connection constraints
getAllConnectionConstraintsReturns an array of all mxConnectionConstraints for the given terminal.
getConnectionConstraintReturns an mxConnectionConstraint that describes the given connection point.
setConnectionConstraintSets the mxConnectionConstraint that describes the given connection point.
getConnectionPointReturns the nearest point in the list of absolute points or the center of the opposite terminal.
connectCellConnects the specified end of the given edge to the given terminal using cellConnected and fires mxEvent.CONNECT_CELL while the transaction is in progress.
cellConnectedSets the new terminal for the given edge and resets the edge points if resetEdgesOnConnect is true.
disconnectGraphDisconnects the given edges from the terminals which are not in the given array.
Drilldown
getCurrentRootReturns the current root of the displayed cell hierarchy.
getTranslateForRootReturns the translation to be used if the given cell is the root cell as an mxPoint.
isPortReturns 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.
getTerminalForPortReturns the terminal to be used for a given port.
getChildOffsetForCellReturns the offset to be used for the cells inside the given cell.
enterGroupUses the given cell as the root of the displayed cell hierarchy.
exitGroupChanges the current root to the next valid root in the displayed cell hierarchy.
homeUses the root of the model as the root of the displayed cell hierarchy and selects the previous root.
isValidRootReturns true if the given cell is a valid root for the cell display hierarchy.
Graph display
getGraphBoundsReturns the bounds of the visible graph.
getCellBoundsReturns the scaled, translated bounds for the given cell.
getBoundingBoxFromGeometryReturns the bounding box for the geometries of the vertices in the given array of cells.
refreshClears all cell states or the states for the hierarchy starting at the given cell and validates the graph.
snapSnaps the given numeric value to the grid if gridEnabled is true.
panGraphShifts the graph display by the given amount.
zoomInZooms into the graph by zoomFactor.
zoomOutZooms out of the graph by zoomFactor.
zoomActualResets the zoom and panning in the view.
zoomToZooms the graph to the given scale with an optional boolean center argument, which is passd to zoom.
zoomZooms the graph using the given factor.
zoomToRectZooms the graph to the specified rectangle.
fitScales the graph such that the complete diagram fits into <container> and returns the current scale in the view.
scrollCellToVisiblePans the graph so that it shows the given cell.
scrollRectToVisiblePans the graph so that it shows the given rectangle.
getCellGeometryReturns the mxGeometry for the given cell.
isCellVisibleReturns true if the given cell is visible in this graph.
isCellCollapsedReturns true if the given cell is collapsed in this graph.
isCellConnectableReturns true if the given cell is connectable in this graph.
isOrthogonalReturns true if perimeter points should be computed such that the resulting edge has only horizontal or vertical segments.
isLoopReturns true if the given cell state is a loop.
isCloneEventReturns true if the given event is a clone event.
isToggleEventReturns true if the given event is a toggle event.
isGridEnabledEventReturns true if the given mouse event should be aligned to the grid.
isConstrainedEventReturns true if the given mouse event should be aligned to the grid.
Validation
validationAlertDisplays the given validation error in a dialog.
isEdgeValidChecks if the return value of getEdgeValidationError for the given arguments is null.
getEdgeValidationErrorReturns the validation error message to be displayed when inserting or changing an edges’ connectivity.
validateEdgeHook method for subclassers to return an error message for the given edge and terminals.
validateGraphValidates the graph by validating each descendant of the given cell or the root of the model.
getCellValidationErrorChecks all multiplicities that cannot be enforced while the graph is being modified, namely, all multiplicities that require a minimum of 1 edge.
validateCellHook method for subclassers to return an error message for the given cell and validation context.
Graph appearance
getBackgroundImageReturns the backgroundImage as an mxImage.
setBackgroundImageSets the new backgroundImage.
getFoldingImageReturns the mxImage used to display the collapsed state of the specified cell state.
convertValueToStringReturns the textual representation for the given cell.
getLabelReturns a string or DOM node that represents the label for the given cell.
isHtmlLabelReturns true if the label must be rendered as HTML markup.
isHtmlLabelsReturns htmlLabels.
setHtmlLabelsSets htmlLabels.
isWrappingThis enables wrapping for HTML labels.
isLabelClippedReturns true if the overflow portion of labels should be hidden.
getTooltipReturns the string or DOM node that represents the tooltip for the given state, node and coordinate pair.
getTooltipForCellReturns the string or DOM node to be used as the tooltip for the given cell.
getCursorForMouseEventReturns the cursor value to be used for the CSS of the shape for the given event.
getCursorForCellReturns the cursor value to be used for the CSS of the shape for the given cell.
getStartSizeReturns 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.
getImageReturns the image URL for the given cell state.
getVerticalAlignReturns the vertical alignment for the given cell state.
getIndicatorColorReturns the indicator color for the given cell state.
getIndicatorGradientColorReturns the indicator gradient color for the given cell state.
getIndicatorShapeReturns the indicator shape for the given cell state.
getIndicatorImageReturns the indicator image for the given cell state.
getBorderReturns the value of border.
setBorderSets the value of border.
isSwimlaneReturns true if the given cell is a swimlane in the graph.
Graph behaviour
isResizeContainerReturns resizeContainer.
setResizeContainerSets resizeContainer.
isEnabledReturns true if the graph is enabled.
setEnabledSpecifies if the graph should allow any interactions.
isEscapeEnabledReturns escapeEnabled.
setEscapeEnabledSets escapeEnabled.
isInvokesStopCellEditingReturns invokesStopCellEditing.
setInvokesStopCellEditingSets invokesStopCellEditing.
isEnterStopsCellEditingReturns enterStopsCellEditing.
setEnterStopsCellEditingSets enterStopsCellEditing.
isCellLockedReturns true if the given cell may not be moved, sized, bended, disconnected, edited or selected.
isCellsLockedReturns true if the given cell may not be moved, sized, bended, disconnected, edited or selected.
setLockedSets if any cell may be moved, sized, bended, disconnected, edited or selected.
getCloneableCellsReturns the cells which may be exported in the given array of cells.
isCellCloneableReturns true if the given cell is cloneable.
isCellsCloneableReturns cellsCloneable, that is, if the graph allows cloning of cells by using control-drag.
setCellsCloneableSpecifies if the graph should allow cloning of cells by holding down the control key while cells are being moved.
getExportableCellsReturns the cells which may be exported in the given array of cells.
canExportCellReturns true if the given cell may be exported to the clipboard.
getImportableCellsReturns the cells which may be imported in the given array of cells.
canImportCellReturns true if the given cell may be imported from the clipboard.
isCellSelectableReturns true if the given cell is selectable.
isCellsSelectableReturns cellsSelectable.
setCellsSelectableSets cellsSelectable.
getDeletableCellsReturns the cells which may be exported in the given array of cells.
isCellDeletableReturns true if the given cell is moveable.
isCellsDeletableReturns cellsDeletable.
setCellsDeletableSets cellsDeletable.
isLabelMovableReturns true if the given edges’s label is moveable.
isCellRotatableReturns true if the given cell is rotatable.
getMovableCellsReturns the cells which are movable in the given array of cells.
isCellMovableReturns true if the given cell is moveable.
isCellsMovableReturns cellsMovable.
setCellsMovableSpecifies if the graph should allow moving of cells.
isGridEnabledReturns gridEnabled as a boolean.
setGridEnabledSpecifies if the grid should be enabled.
isPortsEnabledReturns portsEnabled as a boolean.
setPortsEnabledSpecifies if the ports should be enabled.
getGridSizeReturns gridSize.
setGridSizeSets gridSize.
getToleranceReturns tolerance.
setToleranceSets tolerance.
isVertexLabelsMovableReturns vertexLabelsMovable.
setVertexLabelsMovableSets vertexLabelsMovable.
isEdgeLabelsMovableReturns edgeLabelsMovable.
isEdgeLabelsMovableSets edgeLabelsMovable.
isSwimlaneNestingReturns swimlaneNesting as a boolean.
setSwimlaneNestingSpecifies if swimlanes can be nested by drag and drop.
isSwimlaneSelectionEnabledReturns swimlaneSelectionEnabled as a boolean.
setSwimlaneSelectionEnabledSpecifies if swimlanes should be selected if the mouse is released over their content area.
isMultigraphReturns multigraph as a boolean.
setMultigraphSpecifies if the graph should allow multiple connections between the same pair of vertices.
isAllowLoopsReturns allowLoops as a boolean.
setAllowDanglingEdgesSpecifies if dangling edges are allowed, that is, if edges are allowed that do not have a source and/or target terminal defined.
isAllowDanglingEdgesReturns allowDanglingEdges as a boolean.
setConnectableEdgesSpecifies if edges should be connectable.
isConnectableEdgesReturns connectableEdges as a boolean.
setCloneInvalidEdgesSpecifies if edges should be inserted when cloned but not valid wrt.
isCloneInvalidEdgesReturns cloneInvalidEdges as a boolean.
setAllowLoopsSpecifies if loops are allowed.
isDisconnectOnMoveReturns disconnectOnMove as a boolean.
setDisconnectOnMoveSpecifies if edges should be disconnected when moved.
isDropEnabledReturns dropEnabled as a boolean.
setDropEnabledSpecifies if the graph should allow dropping of cells onto or into other cells.
isSplitEnabledReturns splitEnabled as a boolean.
setSplitEnabledSpecifies if the graph should allow dropping of cells onto or into other cells.
isCellResizableReturns true if the given cell is resizable.
isCellsResizableReturns cellsResizable.
setCellsResizableSpecifies if the graph should allow resizing of cells.
isTerminalPointMovableReturns true if the given terminal point is movable.
isCellBendableReturns true if the given cell is bendable.
isCellsBendableReturns <cellsBenadable>.
setCellsBendableSpecifies if the graph should allow bending of edges.
isCellEditableReturns true if the given cell is editable.
isCellsEditableReturns cellsEditable.
setCellsEditableSpecifies if the graph should allow in-place editing for cell labels.
isCellDisconnectableReturns true if the given cell is disconnectable from the source or target terminal.
isCellsDisconnectableReturns cellsDisconnectable.
setCellsDisconnectableSets cellsDisconnectable.
isValidSourceReturns true if the given cell is a valid source for new connections.
isValidTargetReturns isValidSource for the given cell.
isValidConnectionReturns true if the given target cell is a valid target for source.
setConnectableSpecifies if the graph should allow new connections.
isConnectableReturns true if the <connectionHandler> is enabled.
setTooltipsSpecifies if tooltips should be enabled.
setPanningSpecifies if panning should be enabled.
isEditingReturns true if the given cell is currently being edited.
isAutoSizeCellReturns true if the size of the given cell should automatically be updated after a change of the label.
isAutoSizeCellsReturns autoSizeCells.
setAutoSizeCellsSpecifies if cell sizes should be automatically updated after a label change.
isExtendParentReturns true if the parent of the given cell should be extended if the child has been resized so that it overlaps the parent.
isExtendParentsReturns extendParents.
setExtendParentsSets extendParents.
isExtendParentsOnAddReturns extendParentsOnAdd.
setExtendParentsOnAddSets extendParentsOnAdd.
isExtendParentsOnAddReturns extendParentsOnAdd.
setExtendParentsOnAddSets extendParentsOnAdd.
isRecursiveResizeReturns recursiveResize.
setRecursiveResizeSets recursiveResize.
isConstrainChildReturns true if the given cell should be kept inside the bounds of its parent according to the rules defined by getOverlap and isAllowOverlapParent.
isConstrainChildrenReturns constrainChildren.
setConstrainChildrenOnResizeSets constrainChildrenOnResize.
isConstrainChildrenOnResizeReturns constrainChildrenOnResize.
setConstrainChildrenSets constrainChildren.
isConstrainChildrenReturns allowNegativeCoordinates.
setConstrainChildrenSets allowNegativeCoordinates.
getOverlapReturns a decimal number representing the amount of the width and height of the given cell that is allowed to overlap its parent.
isAllowOverlapParentReturns true if the given cell is allowed to be placed outside of the parents area.
getFoldableCellsReturns the cells which are movable in the given array of cells.
isCellFoldableReturns true if the given cell is foldable.
isValidDropTargetReturns true if the given cell is a valid drop target for the specified cells.
isSplitTargetReturns true if the given edge may be splitted into two edges with the given cell as a new terminal between the two.
getDropTargetReturns 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.
Cell retrieval
getDefaultParentReturns defaultParent or mxGraphView.currentRoot or the first child child of mxGraphModel.root if both are null.
setDefaultParentSets the defaultParent to the given cell.
getSwimlaneReturns the nearest ancestor of the given cell which is a swimlane, or the given cell, if it is itself a swimlane.
getSwimlaneAtReturns the bottom-most swimlane that intersects the given point (x, y) in the cell hierarchy that starts at the given parent.
getCellAtReturns the bottom-most cell that intersects the given point (x, y) in the cell hierarchy starting at the given parent.
intersectsReturns the bottom-most cell that intersects the given point (x, y) in the cell hierarchy that starts at the given parent.
hitsSwimlaneContentReturns true if the given coordinate pair is inside the content are of the given swimlane.
getChildVerticesReturns the visible child vertices of the given parent.
getChildEdgesReturns the visible child edges of the given parent.
getChildCellsReturns the visible child vertices or edges in the given parent.
getConnectionsReturns all visible edges connected to the given cell without loops.
getIncomingEdgesReturns the visible incoming edges for the given cell.
getOutgoingEdgesReturns the visible outgoing edges for the given cell.
getEdgesReturns the incoming and/or outgoing edges for the given cell.
isValidAncestorReturns 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.
getOppositesReturns all distinct visible opposite cells for the specified terminal on the given edges.
getEdgesBetweenReturns the edges between the given source and target.
getPointForEventReturns an mxPoint representing the given event in the unscaled, non-translated coordinate space of <container> and applies the grid.
getCellsReturns the children of the given parent that are contained in the given rectangle (x, y, width, height).
getCellsBeyondReturns the children of the given parent that are contained in the halfpane from the given point (x0, y0) rightwards and/or downwards depending on rightHalfpane and bottomHalfpane.
findTreeRootsReturns all children in the given parent which do not have incoming edges.
traverseTraverses the (directed) graph invoking the given function for each visited vertex and edge.
Selection
isCellSelectedReturns true if the given cell is selected.
isSelectionEmptyReturns true if the selection is empty.
clearSelectionClears the selection using mxGraphSelectionModel.clear.
getSelectionCountReturns the number of selected cells.
getSelectionCellReturns the first cell from the array of selected mxCells.
getSelectionCellsReturns the array of selected mxCells.
setSelectionCellSets the selection cell.
setSelectionCellsSets the selection cell.
addSelectionCellAdds the given cell to the selection.
addSelectionCellsAdds the given cells to the selection.
removeSelectionCellRemoves the given cell from the selection.
removeSelectionCellsRemoves the given cells from the selection.
selectRegionSelects and returns the cells inside the given rectangle for the specified event.
selectNextCellSelects the next cell.
selectPreviousCellSelects the previous cell.
selectParentCellSelects the parent cell.
selectChildCellSelects the first child cell.
selectCellSelects the next, parent, first child or previous cell, if all arguments are false.
selectAllSelects all children of the given parent cell or the children of the default parent if no parent is specified.
selectVerticesSelect all vertices inside the given parent or the default parent.
selectVerticesSelect all vertices inside the given parent or the default parent.
selectCellsSelects 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.
selectCellForEventSelects 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.
selectCellsForEventSelects 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.
Selection state
createHandlerCreates a new handler for the given cell state.
Graph events
addMouseListenerAdds a listener to the graph event dispatch loop.
removeMouseListenerRemoves the specified graph listener.
updateMouseEventSets the graphX and graphY properties if the given mxMouseEvent if required and returned the event.
getStateForEventReturns the state for the given touch event.
isEventIgnoredReturns true if the event should be ignored in fireMouseEvent.
isSyntheticEventIgnoredHook for ignoring synthetic mouse events after touchend in Firefox.
isEventSourceIgnoredReturns true if the given mouse down event should be ignored.
fireMouseEventDispatches the given event in the graph event dispatch loop.
fireGestureEventDispatches a mxEvent.GESTURE event.
destroyDestroys the graph and all its resources.

Events

mxEvent.ROOT

Fires if the root in the model has changed.  This event has no properties.

-

mxEvent.ALIGN_CELLS

Fires between begin- and endUpdate in alignCells.  The <code>cells</code> and <code>align</code> properties contain the respective arguments that were passed to alignCells.

+

mxEvent.ALIGN_CELLS

Fires between begin- and endUpdate in alignCells.  The <code>cells</code> and <code>align</code> properties contain the respective arguments that were passed to alignCells.

-

mxEvent.FLIP_EDGE

Fires between begin- and endUpdate in flipEdge.  The <code>edge</code> property contains the edge passed to flipEdge.

+

mxEvent.FLIP_EDGE

Fires between begin- and endUpdate in flipEdge.  The <code>edge</code> property contains the edge passed to flipEdge.

-

mxEvent.ORDER_CELLS

Fires between begin- and endUpdate in orderCells.  The <code>cells</code> and <code>back</code> properties contain the respective arguments that were passed to orderCells.

+

mxEvent.ORDER_CELLS

Fires between begin- and endUpdate in orderCells.  The <code>cells</code> and <code>back</code> properties contain the respective arguments that were passed to orderCells.

-

mxEvent.CELLS_ORDERED

Fires between begin- and endUpdate in cellsOrdered.  The <code>cells</code> and <code>back</code> arguments contain the respective arguments that were passed to cellsOrdered.

+

mxEvent.CELLS_ORDERED

Fires between begin- and endUpdate in cellsOrdered.  The <code>cells</code> and <code>back</code> arguments contain the respective arguments that were passed to cellsOrdered.

-

mxEvent.GROUP_CELLS

Fires between begin- and endUpdate in groupCells.  The <code>group</code>, <code>cells</code> and <code>border</code> arguments contain the respective arguments that were passed to groupCells.

+

mxEvent.GROUP_CELLS

Fires between begin- and endUpdate in groupCells.  The <code>group</code>, <code>cells</code> and <code>border</code> arguments contain the respective arguments that were passed to groupCells.

-

mxEvent.UNGROUP_CELLS

Fires between begin- and endUpdate in ungroupCells.  The <code>cells</code> property contains the array of cells that was passed to ungroupCells.

+

mxEvent.UNGROUP_CELLS

Fires between begin- and endUpdate in ungroupCells.  The <code>cells</code> property contains the array of cells that was passed to ungroupCells.

-

mxEvent.REMOVE_CELLS_FROM_PARENT

Fires between begin- and endUpdate in removeCellsFromParent.  The <code>cells</code> property contains the array of cells that was passed to removeCellsFromParent.

+

mxEvent.REMOVE_CELLS_FROM_PARENT

Fires between begin- and endUpdate in removeCellsFromParent.  The <code>cells</code> property contains the array of cells that was passed to removeCellsFromParent.

-

mxEvent.ADD_CELLS

Fires between begin- and endUpdate in addCells.  The <code>cells</code>, <code>parent</code>, <code>index</code>, <code>source</code> and <code>target</code> properties contain the respective arguments that were passed to addCells.

+

mxEvent.ADD_CELLS

Fires between begin- and endUpdate in addCells.  The <code>cells</code>, <code>parent</code>, <code>index</code>, <code>source</code> and <code>target</code> properties contain the respective arguments that were passed to addCells.

-

mxEvent.CELLS_ADDED

Fires between begin- and endUpdate in cellsAdded.  The <code>cells</code>, <code>parent</code>, <code>index</code>, <code>source</code>, <code>target</code> and <code>absolute</code> properties contain the respective arguments that were passed to cellsAdded.

+

mxEvent.CELLS_ADDED

Fires between begin- and endUpdate in cellsAdded.  The <code>cells</code>, <code>parent</code>, <code>index</code>, <code>source</code>, <code>target</code> and <code>absolute</code> properties contain the respective arguments that were passed to cellsAdded.

-

mxEvent.REMOVE_CELLS

Fires between begin- and endUpdate in removeCells.  The <code>cells</code> and <code>includeEdges</code> arguments contain the respective arguments that were passed to removeCells.

+

mxEvent.REMOVE_CELLS

Fires between begin- and endUpdate in removeCells.  The <code>cells</code> and <code>includeEdges</code> arguments contain the respective arguments that were passed to removeCells.

-

mxEvent.CELLS_REMOVED

Fires between begin- and endUpdate in cellsRemoved.  The <code>cells</code> argument contains the array of cells that was removed.

+

mxEvent.CELLS_REMOVED

Fires between begin- and endUpdate in cellsRemoved.  The <code>cells</code> argument contains the array of cells that was removed.

-

mxEvent.SPLIT_EDGE

Fires between begin- and endUpdate in splitEdge.  The <code>edge</code> property contains the edge to be splitted, the <code>cells</code>, <code>newEdge</code>, <code>dx</code> and <code>dy</code> properties contain the respective arguments that were passed to splitEdge.

+

mxEvent.SPLIT_EDGE

Fires between begin- and endUpdate in splitEdge.  The <code>edge</code> property contains the edge to be splitted, the <code>cells</code>, <code>newEdge</code>, <code>dx</code> and <code>dy</code> properties contain the respective arguments that were passed to splitEdge.

-

mxEvent.TOGGLE_CELLS

Fires between begin- and endUpdate in toggleCells.  The <code>show</code>, <code>cells</code> and <code>includeEdges</code> properties contain the respective arguments that were passed to toggleCells.

+

mxEvent.TOGGLE_CELLS

Fires between begin- and endUpdate in toggleCells.  The <code>show</code>, <code>cells</code> and <code>includeEdges</code> properties contain the respective arguments that were passed to toggleCells.

-

mxEvent.FOLD_CELLS

Fires between begin- and endUpdate in foldCells.  The <code>collapse</code>, <code>cells</code> and <code>recurse</code> properties contain the respective arguments that were passed to foldCells.

+

mxEvent.FOLD_CELLS

Fires between begin- and endUpdate in foldCells.  The <code>collapse</code>, <code>cells</code> and <code>recurse</code> properties contain the respective arguments that were passed to foldCells.

-

mxEvent.CELLS_FOLDED

Fires between begin- and endUpdate in cellsFolded.  The <code>collapse</code>, <code>cells</code> and <code>recurse</code> properties contain the respective arguments that were passed to cellsFolded.

+

mxEvent.CELLS_FOLDED

Fires between begin- and endUpdate in cellsFolded.  The <code>collapse</code>, <code>cells</code> and <code>recurse</code> properties contain the respective arguments that were passed to cellsFolded.

-

mxEvent.UPDATE_CELL_SIZE

Fires between begin- and endUpdate in updateCellSize.  The <code>cell</code> and <code>ignoreChildren</code> properties contain the respective arguments that were passed to updateCellSize.

+

mxEvent.UPDATE_CELL_SIZE

Fires between begin- and endUpdate in updateCellSize.  The <code>cell</code> and <code>ignoreChildren</code> properties contain the respective arguments that were passed to updateCellSize.

-

mxEvent.RESIZE_CELLS

Fires between begin- and endUpdate in resizeCells.  The <code>cells</code> and <code>bounds</code> properties contain the respective arguments that were passed to resizeCells.

+

mxEvent.RESIZE_CELLS

Fires between begin- and endUpdate in resizeCells.  The <code>cells</code> and <code>bounds</code> properties contain the respective arguments that were passed to resizeCells.

-

mxEvent.CELLS_RESIZED

Fires between begin- and endUpdate in cellsResized.  The <code>cells</code> and <code>bounds</code> properties contain the respective arguments that were passed to cellsResized.

+

mxEvent.CELLS_RESIZED

Fires between begin- and endUpdate in cellsResized.  The <code>cells</code> and <code>bounds</code> properties contain the respective arguments that were passed to cellsResized.

-

mxEvent.MOVE_CELLS

Fires between begin- and endUpdate in moveCells.  The <code>cells</code>, <code>dx</code>, <code>dy</code>, <code>clone</code>, <code>target</code> and <code>event</code> properties contain the respective arguments that were passed to moveCells.

+

mxEvent.MOVE_CELLS

Fires between begin- and endUpdate in moveCells.  The <code>cells</code>, <code>dx</code>, <code>dy</code>, <code>clone</code>, <code>target</code> and <code>event</code> properties contain the respective arguments that were passed to moveCells.

-

mxEvent.CELLS_MOVED

Fires between begin- and endUpdate in cellsMoved.  The <code>cells</code>, <code>dx</code>, <code>dy</code> and <code>disconnect</code> properties contain the respective arguments that were passed to cellsMoved.

+

mxEvent.CELLS_MOVED

Fires between begin- and endUpdate in cellsMoved.  The <code>cells</code>, <code>dx</code>, <code>dy</code> and <code>disconnect</code> properties contain the respective arguments that were passed to cellsMoved.

-

mxEvent.CONNECT_CELL

Fires between begin- and endUpdate in connectCell.  The <code>edge</code>, <code>terminal</code> and <code>source</code> properties contain the respective arguments that were passed to connectCell.

+

mxEvent.CONNECT_CELL

Fires between begin- and endUpdate in connectCell.  The <code>edge</code>, <code>terminal</code> and <code>source</code> properties contain the respective arguments that were passed to connectCell.

-

mxEvent.CELL_CONNECTED

Fires between begin- and endUpdate in cellConnected.  The <code>edge</code>, <code>terminal</code> and <code>source</code> properties contain the respective arguments that were passed to cellConnected.

+

mxEvent.CELL_CONNECTED

Fires between begin- and endUpdate in cellConnected.  The <code>edge</code>, <code>terminal</code> and <code>source</code> properties contain the respective arguments that were passed to cellConnected.

-

mxEvent.REFRESH

Fires after refresh was executed.  This event has no properties.

+

mxEvent.REFRESH

Fires after refresh was executed.  This event has no properties.

-

mxEvent.CLICK

Fires in click after a click event.  The <code>event</code> property contains the original mouse event and <code>cell</code> property contains the cell under the mouse or null if the background was clicked.

+

mxEvent.CLICK

Fires in click after a click event.  The <code>event</code> property contains the original mouse event and <code>cell</code> property contains the cell under the mouse or null if the background was clicked.

-

mxEvent.DOUBLE_CLICK

Fires in dblClick after a double click.  The <code>event</code> property contains the original mouse event and the <code>cell</code> property contains the cell under the mouse or null if the background was clicked.

+

mxEvent.DOUBLE_CLICK

Fires in dblClick after a double click.  The <code>event</code> property contains the original mouse event and the <code>cell</code> property contains the cell under the mouse or null if the background was clicked.

-

mxEvent.GESTURE

Fires in fireGestureEvent after a touch gesture.  The <code>event</code> property contains the original gesture end event and the <code>cell</code> property contains the optional cell associated with the gesture.

+

mxEvent.GESTURE

Fires in fireGestureEvent after a touch gesture.  The <code>event</code> property contains the original gesture end event and the <code>cell</code> property contains the optional cell associated with the gesture.

-

mxEvent.TAP_AND_HOLD

Fires in tapAndHold if a tap and hold event was detected.  The <code>event</code> property contains the initial touch event and the <code>cell</code> property contains the cell under the mouse or null if the background was clicked.

+

mxEvent.TAP_AND_HOLD

Fires in tapAndHold if a tap and hold event was detected.  The <code>event</code> property contains the initial touch event and the <code>cell</code> property contains the cell under the mouse or null if the background was clicked.

-

mxEvent.FIRE_MOUSE_EVENT

Fires in fireMouseEvent before the mouse listeners are invoked.  The <code>eventName</code> property contains the event name and the <code>event</code> property contains the mxMouseEvent.

+

mxEvent.FIRE_MOUSE_EVENT

Fires in fireMouseEvent before the mouse listeners are invoked.  The <code>eventName</code> property contains the event name and the <code>event</code> property contains the mxMouseEvent.

-

mxEvent.SIZE

Fires after sizeDidChange was executed.  The <code>bounds</code> property contains the new graph bounds.

+

mxEvent.SIZE

Fires after sizeDidChange was executed.  The <code>bounds</code> property contains the new graph bounds.

-

mxEvent.START_EDITING

Fires before the in-place editor starts in startEditingAtCell.  The <code>cell</code> property contains the cell that is being edited and the <code>event</code> property contains the optional event argument that was passed to startEditingAtCell.

+

mxEvent.START_EDITING

Fires before the in-place editor starts in startEditingAtCell.  The <code>cell</code> property contains the cell that is being edited and the <code>event</code> property contains the optional event argument that was passed to startEditingAtCell.

-

mxEvent.LABEL_CHANGED

Fires between begin- and endUpdate in cellLabelChanged.  The <code>cell</code> property contains the cell, the <code>value</code> property contains the new value for the cell, the <code>old</code> property contains the old value and the optional <code>event</code> property contains the mouse event that started the edit.

+

mxEvent.LABEL_CHANGED

Fires between begin- and endUpdate in cellLabelChanged.  The <code>cell</code> property contains the cell, the <code>value</code> property contains the new value for the cell, the <code>old</code> property contains the old value and the optional <code>event</code> property contains the mouse event that started the edit.

-

mxEvent.ADD_OVERLAY

Fires after an overlay is added in addCellOverlay.  The <code>cell</code> property contains the cell and the <code>overlay</code> property contains the mxCellOverlay that was added.

+

mxEvent.ADD_OVERLAY

Fires after an overlay is added in addCellOverlay.  The <code>cell</code> property contains the cell and the <code>overlay</code> property contains the mxCellOverlay that was added.

-

mxEvent.REMOVE_OVERLAY

Fires after an overlay is removed in removeCellOverlay and removeCellOverlays.  The <code>cell</code> property contains the cell and the <code>overlay</code> property contains the mxCellOverlay that was removed.

+

mxEvent.REMOVE_OVERLAY

Fires after an overlay is removed in removeCellOverlay and removeCellOverlays.  The <code>cell</code> property contains the cell and the <code>overlay</code> property contains the mxCellOverlay that was removed.

-

mxGraph

function mxGraph(container,
model,
renderHint,
stylesheet)

Constructs a new mxGraph in the specified container.  Model is an optional mxGraphModel.  If no model is provided, a new mxGraphModel instance is used as the model.  The container must have a valid owner document prior to calling this function in Internet Explorer.  RenderHint is a string to affect the display performance and rendering in IE, but not in SVG-based browsers.  The parameter is mapped to dialect, which may be one of mxConstants.DIALECT_SVG for SVG-based browsers, mxConstants.DIALECT_STRICTHTML for fastest display mode, mxConstants.DIALECT_PREFERHTML for faster display mode, mxConstants.DIALECT_MIXEDHTML for fast and mxConstants.DIALECT_VML for exact display mode (slowest).  The dialects are defined in mxConstants.  The default values are DIALECT_SVG for SVG-based browsers and DIALECT_MIXED for IE.

The possible values for the renderingHint parameter are explained below

fastThe parameter is based on the fact that the display performance is highly improved in IE if the VML is not contained within a VML group element.  The lack of a group element only slightly affects the display while panning, but improves the performance by almost a factor of 2, while keeping the display sufficiently accurate.  This also allows to render certain shapes as HTML if the display accuracy is not affected, which is implemented by <mxShape.isMixedModeHtml>.  This is the default setting and is mapped to DIALECT_MIXEDHTML.
fasterSame as fast, but more expensive shapes are avoided.  This is controlled by <mxShape.preferModeHtml>.  The default implementation will avoid gradients and rounded rectangles, but more significant shapes, such as rhombus, ellipse, actor and cylinder will be rendered accurately.  This setting is mapped to DIALECT_PREFERHTML.
fastestAlmost anything will be rendered in Html.  This allows for rectangles, labels and images.  This setting is mapped to DIALECT_STRICTHTML.
exactIf accurate panning is required and if the diagram is small (up to 100 cells), then this value should be used.  In this mode, a group is created that contains the VML.  This allows for accurate panning and is mapped to DIALECT_VML.

Example

To create a graph inside a DOM node with an id of graph

var container = document.getElementById('graph');
-var graph = new mxGraph(container);

Parameters

containerOptional DOM node that acts as a container for the graph.  If this is null then the container can be initialized later using init.
modelOptional mxGraphModel that constitutes the graph data.
renderHintOptional string that specifies the display accuracy and performance.  Default is mxConstants.DIALECT_MIXEDHTML (for IE).
stylesheetOptional mxStylesheet to be used in the graph.
+

mxGraph

function mxGraph(container,
model,
renderHint,
stylesheet)

Constructs a new mxGraph in the specified container.  Model is an optional mxGraphModel.  If no model is provided, a new mxGraphModel instance is used as the model.  The container must have a valid owner document prior to calling this function in Internet Explorer.  RenderHint is a string to affect the display performance and rendering in IE, but not in SVG-based browsers.  The parameter is mapped to dialect, which may be one of mxConstants.DIALECT_SVG for SVG-based browsers, mxConstants.DIALECT_STRICTHTML for fastest display mode, mxConstants.DIALECT_PREFERHTML for faster display mode, mxConstants.DIALECT_MIXEDHTML for fast and mxConstants.DIALECT_VML for exact display mode (slowest).  The dialects are defined in mxConstants.  The default values are DIALECT_SVG for SVG-based browsers and DIALECT_MIXED for IE.

The possible values for the renderingHint parameter are explained below

fastThe parameter is based on the fact that the display performance is highly improved in IE if the VML is not contained within a VML group element.  The lack of a group element only slightly affects the display while panning, but improves the performance by almost a factor of 2, while keeping the display sufficiently accurate.  This also allows to render certain shapes as HTML if the display accuracy is not affected, which is implemented by <mxShape.isMixedModeHtml>.  This is the default setting and is mapped to DIALECT_MIXEDHTML.
fasterSame as fast, but more expensive shapes are avoided.  This is controlled by <mxShape.preferModeHtml>.  The default implementation will avoid gradients and rounded rectangles, but more significant shapes, such as rhombus, ellipse, actor and cylinder will be rendered accurately.  This setting is mapped to DIALECT_PREFERHTML.
fastestAlmost anything will be rendered in Html.  This allows for rectangles, labels and images.  This setting is mapped to DIALECT_STRICTHTML.
exactIf accurate panning is required and if the diagram is small (up to 100 cells), then this value should be used.  In this mode, a group is created that contains the VML.  This allows for accurate panning and is mapped to DIALECT_VML.

Example

To create a graph inside a DOM node with an id of graph

var container = document.getElementById('graph');
+var graph = new mxGraph(container);

Parameters

containerOptional DOM node that acts as a container for the graph.  If this is null then the container can be initialized later using init.
modelOptional mxGraphModel that constitutes the graph data.
renderHintOptional string that specifies the display accuracy and performance.  Default is mxConstants.DIALECT_MIXEDHTML (for IE).
stylesheetOptional mxStylesheet to be used in the graph.

EMPTY_ARRAY

mxGraph.prototype.EMPTY_ARRAY

Immutable empty array instance.

Variables

-

mouseListeners

mxGraph.prototype.mouseListeners

Holds the mouse event listeners.  See fireMouseEvent.

+

mouseListeners

mxGraph.prototype.mouseListeners

Holds the mouse event listeners.  See fireMouseEvent.

isMouseDown

mxGraph.prototype.isMouseDown

Holds the state of the mouse button.

-

model

mxGraph.prototype.model

Holds the mxGraphModel that contains the cells to be displayed.

+

model

mxGraph.prototype.model

Holds the mxGraphModel that contains the cells to be displayed.

-

view

mxGraph.prototype.view

Holds the mxGraphView that caches the mxCellStates for the cells.

+

view

mxGraph.prototype.view

Holds the mxGraphView that caches the mxCellStates for the cells.

-

stylesheet

mxGraph.prototype.stylesheet

Holds the mxStylesheet that defines the appearance of the cells.

Example

Use the following code to read a stylesheet into an existing graph.

var req = mxUtils.load('stylesheet.xml');
+

stylesheet

mxGraph.prototype.stylesheet

Holds the mxStylesheet that defines the appearance of the cells.

Example

Use the following code to read a stylesheet into an existing graph.

var req = mxUtils.load('stylesheet.xml');
 var root = req.getDocumentElement();
 var dec = new mxCodec(root.ownerDocument);
 dec.decode(root, graph.stylesheet);
-

selectionModel

mxGraph.prototype.selectionModel

Holds the mxGraphSelectionModel that models the current selection.

+

selectionModel

mxGraph.prototype.selectionModel

Holds the mxGraphSelectionModel that models the current selection.

-

cellEditor

mxGraph.prototype.cellEditor

Holds the mxCellEditor that is used as the in-place editing.

+

cellEditor

mxGraph.prototype.cellEditor

Holds the mxCellEditor that is used as the in-place editing.

-

cellRenderer

mxGraph.prototype.cellRenderer

Holds the mxCellRenderer for rendering the cells in the graph.

+

cellRenderer

mxGraph.prototype.cellRenderer

Holds the mxCellRenderer for rendering the cells in the graph.

-

multiplicities

mxGraph.prototype.multiplicities

An array of mxMultiplicities describing the allowed connections in a graph.

+

multiplicities

mxGraph.prototype.multiplicities

An array of mxMultiplicities describing the allowed connections in a graph.

renderHint

mxGraph.prototype.renderHint

RenderHint as it was passed to the constructor.

-

dialect

mxGraph.prototype.dialect

Dialect to be used for drawing the graph.  Possible values are all constants in mxConstants with a DIALECT-prefix.

+

dialect

mxGraph.prototype.dialect

Dialect to be used for drawing the graph.  Possible values are all constants in mxConstants with a DIALECT-prefix.

gridSize

mxGraph.prototype.gridSize

Specifies the grid size.  Default is 10.

-

gridEnabled

mxGraph.prototype.gridEnabled

Specifies if the grid is enabled.  This is used in snap.  Default is true.

+

gridEnabled

mxGraph.prototype.gridEnabled

Specifies if the grid is enabled.  This is used in snap.  Default is true.

-

portsEnabled

mxGraph.prototype.portsEnabled

Specifies if ports are enabled.  This is used in cellConnected to update the respective style.  Default is true.

+

portsEnabled

mxGraph.prototype.portsEnabled

Specifies if ports are enabled.  This is used in cellConnected to update the respective style.  Default is true.

-

nativeDoubleClickEnabled

Specifies if native double click events should be deteced.  Default is false for IE in quirks mode or IE10+, true for all other browsers.  The doubleTapTimeout value is used to specify the double click speed.

+

nativeDoubleClickEnabled

Specifies if native double click events should be deteced.  Default is false for IE in quirks mode or IE10+, true for all other browsers.  The doubleTapTimeout value is used to specify the double click speed.

doubleTapEnabled

mxGraph.prototype.doubleTapEnabled

Specifies if double taps on touch-based devices should be handled as a double click.  Default is true.

@@ -182,19 +182,19 @@ dec.decode(root, graph.stylesheet);

tolerance

mxGraph.prototype.tolerance

Tolerance for a move to be handled as a single click.  Default is 4 pixels.

-

defaultOverlap

mxGraph.prototype.defaultOverlap

Value returned by getOverlap if isAllowOverlapParent returns true for the given cell.  getOverlap is used in constrainChild if isConstrainChild returns true.  The value specifies the portion of the child which is allowed to overlap the parent.

+

defaultOverlap

mxGraph.prototype.defaultOverlap

Value returned by getOverlap if isAllowOverlapParent returns true for the given cell.  getOverlap is used in constrainChild if isConstrainChild returns true.  The value specifies the portion of the child which is allowed to overlap the parent.

-

defaultParent

mxGraph.prototype.defaultParent

Specifies the default parent to be used to insert new cells.  This is used in getDefaultParent.  Default is null.

+

defaultParent

mxGraph.prototype.defaultParent

Specifies the default parent to be used to insert new cells.  This is used in getDefaultParent.  Default is null.

alternateEdgeStyle

mxGraph.prototype.alternateEdgeStyle

Specifies the alternate edge style to be used if the main control point on an edge is being doubleclicked.  Default is null.

-

backgroundImage

mxGraph.prototype.backgroundImage

Specifies the mxImage to be returned by getBackgroundImage.  Default is null.

Example

var img = new mxImage('http://www.example.com/maps/examplemap.jpg', 1024, 768);
+

backgroundImage

mxGraph.prototype.backgroundImage

Specifies the mxImage to be returned by getBackgroundImage.  Default is null.

Example

var img = new mxImage('http://www.example.com/maps/examplemap.jpg', 1024, 768);
 graph.setBackgroundImage(img);
 graph.view.validate();

pageVisible

mxGraph.prototype.pageVisible

Specifies if the background page should be visible.  Default is false.  Not yet implemented.

-

pageBreaksVisible

mxGraph.prototype.pageBreaksVisible

Specifies if a dashed line should be drawn between multiple pages.  Default is false.  If you change this value while a graph is being displayed then you should call sizeDidChange to force an update of the display.

+

pageBreaksVisible

mxGraph.prototype.pageBreaksVisible

Specifies if a dashed line should be drawn between multiple pages.  Default is false.  If you change this value while a graph is being displayed then you should call sizeDidChange to force an update of the display.

pageBreakColor

mxGraph.prototype.pageBreakColor

Specifies the color for page breaks.  Default is ‘gray’.

@@ -202,99 +202,101 @@ graph.view.validate();

minPageBreakDist

mxGraph.prototype.minPageBreakDist

Specifies the minimum distance for page breaks to be visible.  Default is 20 (in pixels).

-

preferPageSize

mxGraph.prototype.preferPageSize

Specifies if the graph size should be rounded to the next page number in sizeDidChange.  This is only used if the graph container has scrollbars.  Default is false.

+

preferPageSize

mxGraph.prototype.preferPageSize

Specifies if the graph size should be rounded to the next page number in sizeDidChange.  This is only used if the graph container has scrollbars.  Default is false.

-

pageFormat

mxGraph.prototype.pageFormat

Specifies the page format for the background page.  Default is mxConstants.PAGE_FORMAT_A4_PORTRAIT.  This is used as the default in mxPrintPreview and for painting the background page if pageVisible is true and the pagebreaks if pageBreaksVisible is true.

+

pageFormat

mxGraph.prototype.pageFormat

Specifies the page format for the background page.  Default is mxConstants.PAGE_FORMAT_A4_PORTRAIT.  This is used as the default in mxPrintPreview and for painting the background page if pageVisible is true and the pagebreaks if pageBreaksVisible is true.

pageScale

mxGraph.prototype.pageScale

Specifies the scale of the background page.  Default is 1.5.  Not yet implemented.

-

enabled

mxGraph.prototype.enabled

Specifies the return value for isEnabled.  Default is true.

+

enabled

mxGraph.prototype.enabled

Specifies the return value for isEnabled.  Default is true.

-

escapeEnabled

mxGraph.prototype.escapeEnabled

Specifies if mxKeyHandler should invoke escape when the escape key is pressed.  Default is true.

+

escapeEnabled

mxGraph.prototype.escapeEnabled

Specifies if mxKeyHandler should invoke escape when the escape key is pressed.  Default is true.

-

invokesStopCellEditing

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.  This is implemented in a focus handler in mxCellEditor.  Default is true.

+

invokesStopCellEditing

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.  This is implemented in a focus handler in mxCellEditor.  Default is true.

-

enterStopsCellEditing

mxGraph.prototype.enterStopsCellEditing

If true, pressing the enter key without pressing control or shift will stop editing and accept the new value.  This is used in mxCellEditor to stop cell editing.  Note: You can always use F2 and escape to stop editing.  Default is false.

+

enterStopsCellEditing

mxGraph.prototype.enterStopsCellEditing

If true, pressing the enter key without pressing control or shift will stop editing and accept the new value.  This is used in mxCellEditor to stop cell editing.  Note: You can always use F2 and escape to stop editing.  Default is false.

-

useScrollbarsForPanning

mxGraph.prototype.useScrollbarsForPanning

Specifies if scrollbars should be used for panning in panGraph if any scrollbars are available.  If scrollbars are enabled in CSS, but no scrollbars appear because the graph is smaller than the container size, then no panning occurs if this is true.  Default is true.

+

useScrollbarsForPanning

mxGraph.prototype.useScrollbarsForPanning

Specifies if scrollbars should be used for panning in panGraph if any scrollbars are available.  If scrollbars are enabled in CSS, but no scrollbars appear because the graph is smaller than the container size, then no panning occurs if this is true.  Default is true.

-

exportEnabled

mxGraph.prototype.exportEnabled

Specifies the return value for canExportCell.  Default is true.

+

exportEnabled

mxGraph.prototype.exportEnabled

Specifies the return value for canExportCell.  Default is true.

-

importEnabled

mxGraph.prototype.importEnabled

Specifies the return value for canImportCell.  Default is true.

+

importEnabled

mxGraph.prototype.importEnabled

Specifies the return value for canImportCell.  Default is true.

-

cellsLocked

mxGraph.prototype.cellsLocked

Specifies the return value for isCellLocked.  Default is false.

+

cellsLocked

mxGraph.prototype.cellsLocked

Specifies the return value for isCellLocked.  Default is false.

-

cellsCloneable

mxGraph.prototype.cellsCloneable

Specifies the return value for isCellCloneable.  Default is true.

+

cellsCloneable

mxGraph.prototype.cellsCloneable

Specifies the return value for isCellCloneable.  Default is true.

foldingEnabled

mxGraph.prototype.foldingEnabled

Specifies if folding (collapse and expand via an image icon in the graph should be enabled).  Default is true.

-

cellsEditable

mxGraph.prototype.cellsEditable

Specifies the return value for isCellEditable.  Default is true.

+

cellsEditable

mxGraph.prototype.cellsEditable

Specifies the return value for isCellEditable.  Default is true.

-

cellsDeletable

mxGraph.prototype.cellsDeletable

Specifies the return value for isCellDeletable.  Default is true.

+

cellsDeletable

mxGraph.prototype.cellsDeletable

Specifies the return value for isCellDeletable.  Default is true.

-

cellsMovable

mxGraph.prototype.cellsMovable

Specifies the return value for isCellMovable.  Default is true.

+

cellsMovable

mxGraph.prototype.cellsMovable

Specifies the return value for isCellMovable.  Default is true.

-

edgeLabelsMovable

mxGraph.prototype.edgeLabelsMovable

Specifies the return value for edges in isLabelMovable.  Default is true.

+

edgeLabelsMovable

mxGraph.prototype.edgeLabelsMovable

Specifies the return value for edges in isLabelMovable.  Default is true.

-

vertexLabelsMovable

mxGraph.prototype.vertexLabelsMovable

Specifies the return value for vertices in isLabelMovable.  Default is false.

+

vertexLabelsMovable

mxGraph.prototype.vertexLabelsMovable

Specifies the return value for vertices in isLabelMovable.  Default is false.

-

dropEnabled

mxGraph.prototype.dropEnabled

Specifies the return value for isDropEnabled.  Default is false.

+

dropEnabled

mxGraph.prototype.dropEnabled

Specifies the return value for isDropEnabled.  Default is false.

splitEnabled

mxGraph.prototype.splitEnabled

Specifies if dropping onto edges should be enabled.  Default is true.

-

cellsResizable

mxGraph.prototype.cellsResizable

Specifies the return value for isCellResizable.  Default is true.

+

cellsResizable

mxGraph.prototype.cellsResizable

Specifies the return value for isCellResizable.  Default is true.

-

cellsBendable

mxGraph.prototype.cellsBendable

Specifies the return value for isCellsBendable.  Default is true.

+

cellsBendable

mxGraph.prototype.cellsBendable

Specifies the return value for isCellsBendable.  Default is true.

-

cellsSelectable

mxGraph.prototype.cellsSelectable

Specifies the return value for isCellSelectable.  Default is true.

+

cellsSelectable

mxGraph.prototype.cellsSelectable

Specifies the return value for isCellSelectable.  Default is true.

cellsDisconnectable

mxGraph.prototype.cellsDisconnectable

Specifies the return value for <isCellDisconntable>.  Default is true.

-

autoSizeCells

mxGraph.prototype.autoSizeCells

Specifies if the graph should automatically update the cell size after an edit.  This is used in isAutoSizeCell.  Default is false.

+

autoSizeCells

mxGraph.prototype.autoSizeCells

Specifies if the graph should automatically update the cell size after an edit.  This is used in isAutoSizeCell.  Default is false.

autoSizeCellsOnAdd

mxGraph.prototype.autoSizeCellsOnAdd

Specifies if autoSize style should be applied when cells are added.  Default is false.

-

autoScroll

mxGraph.prototype.autoScroll

Specifies if the graph should automatically scroll if the mouse goes near the container edge while dragging.  This is only taken into account if the container has scrollbars.  Default is true.

If you need this to work without scrollbars then set ignoreScrollbars to true.

+

autoScroll

mxGraph.prototype.autoScroll

Specifies if the graph should automatically scroll if the mouse goes near the container edge while dragging.  This is only taken into account if the container has scrollbars.  Default is true.

If you need this to work without scrollbars then set ignoreScrollbars to true.

-

timerAutoScroll

mxGraph.prototype.timerAutoScroll

Specifies if timer-based autoscrolling should be used via mxPanningManager.  Note that this disables the code in scrollPointToVisible and uses code in mxPanningManager instead.  Note that autoExtend is disabled if this is true and that this should only be used with a scroll buffer or when scollbars are visible and scrollable in all directions.  Default is false.

+

timerAutoScroll

mxGraph.prototype.timerAutoScroll

Specifies if timer-based autoscrolling should be used via mxPanningManager.  Note that this disables the code in scrollPointToVisible and uses code in mxPanningManager instead.  Note that autoExtend is disabled if this is true and that this should only be used with a scroll buffer or when scollbars are visible and scrollable in all directions.  Default is false.

-

allowAutoPanning

mxGraph.prototype.allowAutoPanning

Specifies if panning via panGraph should be allowed to implement autoscroll if no scrollbars are available in scrollPointToVisible.  Default is false.

+

allowAutoPanning

mxGraph.prototype.allowAutoPanning

Specifies if panning via panGraph should be allowed to implement autoscroll if no scrollbars are available in scrollPointToVisible.  Default is false.

ignoreScrollbars

mxGraph.prototype.ignoreScrollbars

Specifies if the graph should automatically scroll regardless of the scrollbars.

-

autoExtend

mxGraph.prototype.autoExtend

Specifies if the size of the graph should be automatically extended if the mouse goes near the container edge while dragging.  This is only taken into account if the container has scrollbars.  Default is true.  See autoScroll.

+

autoExtend

mxGraph.prototype.autoExtend

Specifies if the size of the graph should be automatically extended if the mouse goes near the container edge while dragging.  This is only taken into account if the container has scrollbars.  Default is true.  See autoScroll.

-

maximumGraphBounds

mxGraph.prototype.maximumGraphBounds

mxRectangle that specifies the area in which all cells in the diagram should be placed.  Uses in getMaximumGraphBounds.  Use a width or height of 0 if you only want to give a upper, left corner.

+

maximumGraphBounds

mxGraph.prototype.maximumGraphBounds

mxRectangle that specifies the area in which all cells in the diagram should be placed.  Uses in getMaximumGraphBounds.  Use a width or height of 0 if you only want to give a upper, left corner.

-

minimumGraphSize

mxGraph.prototype.minimumGraphSize

mxRectangle that specifies the minimum size of the graph.  This is ignored if the graph container has no scrollbars.  Default is null.

+

minimumGraphSize

mxGraph.prototype.minimumGraphSize

mxRectangle that specifies the minimum size of the graph.  This is ignored if the graph container has no scrollbars.  Default is null.

-

minimumContainerSize

mxGraph.prototype.minimumContainerSize

mxRectangle that specifies the minimum size of the <container> if resizeContainer is true.

+

minimumContainerSize

mxGraph.prototype.minimumContainerSize

mxRectangle that specifies the minimum size of the <container> if resizeContainer is true.

-

maximumContainerSize

mxGraph.prototype.maximumContainerSize

mxRectangle that specifies the maximum size of the container if resizeContainer is true.

+

maximumContainerSize

mxGraph.prototype.maximumContainerSize

mxRectangle that specifies the maximum size of the container if resizeContainer is true.

resizeContainer

mxGraph.prototype.resizeContainer

Specifies if the container should be resized to the graph size when the graph size has changed.  Default is false.

border

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.  Default is 0.

-

keepEdgesInForeground

mxGraph.prototype.keepEdgesInForeground

Specifies if edges should appear in the foreground regardless of their order in the model.  Default is false.

+

keepEdgesInForeground

mxGraph.prototype.keepEdgesInForeground

Specifies if edges should appear in the foreground regardless of their order in the model.  If keepEdgesInForeground and keepEdgesInBackground are both true then the normal order is applied.  Default is false.

+ +

keepEdgesInBackground

mxGraph.prototype.keepEdgesInBackground

Specifies if edges should appear in the background regardless of their order in the model.  If keepEdgesInForeground and keepEdgesInBackground are both true then the normal order is applied.  Default is false.

allowNegativeCoordinates

mxGraph.prototype.allowNegativeCoordinates

Specifies if negative coordinates for vertices are allowed.  Default is true.

constrainChildren

mxGraph.prototype.constrainChildren

Specifies if a child should be constrained inside the parent bounds after a move of the child.  Default is true.

-

constrainChildrenOnResize

mxGraph.prototype.constrainChildrenOnResize

Specifies if children should be constrained according to the constrainChildren switch if cells are resized.  Default is false for backwards compatiblity.

+

constrainChildrenOnResize

mxGraph.prototype.constrainChildrenOnResize

Specifies if children should be constrained according to the constrainChildren switch if cells are resized.  Default is false for backwards compatiblity.

-

extendParents

mxGraph.prototype.extendParents

Specifies if a parent should contain the child bounds after a resize of the child.  Default is true.  This has precedence over constrainChildren.

+

extendParents

mxGraph.prototype.extendParents

Specifies if a parent should contain the child bounds after a resize of the child.  Default is true.  This has precedence over constrainChildren.

-

extendParentsOnAdd

mxGraph.prototype.extendParentsOnAdd

Specifies if parents should be extended according to the extendParents switch if cells are added.  Default is true.

+

extendParentsOnAdd

mxGraph.prototype.extendParentsOnAdd

Specifies if parents should be extended according to the extendParents switch if cells are added.  Default is true.

-

extendParentsOnAdd

Specifies if parents should be extended according to the extendParents switch if cells are added.  Default is false for backwards compatiblity.

+

extendParentsOnAdd

Specifies if parents should be extended according to the extendParents switch if cells are added.  Default is false for backwards compatiblity.

-

recursiveResize

mxGraph.prototype.recursiveResize

Specifies the return value for isRecursiveResize.  Default is false for backwards compatiblity.

+

recursiveResize

mxGraph.prototype.recursiveResize

Specifies the return value for isRecursiveResize.  Default is false for backwards compatiblity.

collapseToPreferredSize

mxGraph.prototype.collapseToPreferredSize

Specifies if the cell size should be changed to the preferred size when a cell is first collapsed.  Default is true.

-

zoomFactor

mxGraph.prototype.zoomFactor

Specifies the factor used for zoomIn and zoomOut.  Default is 1.2 (120%).

+

zoomFactor

mxGraph.prototype.zoomFactor

Specifies the factor used for zoomIn and zoomOut.  Default is 1.2 (120%).

keepSelectionVisibleOnZoom

mxGraph.prototype.keepSelectionVisibleOnZoom

Specifies if the viewport should automatically contain the selection cells after a zoom operation.  Default is false.

@@ -310,7 +312,7 @@ graph.view.validate();

allowLoops

mxGraph.prototype.allowLoops

Specifies if loops (aka self-references) are allowed.  Default is false.

-

defaultLoopStyle

mxGraph.prototype.defaultLoopStyle

mxEdgeStyle to be used for loops.  This is a fallback for loops if the mxConstants.STYLE_LOOP is undefined.  Default is mxEdgeStyle.Loop.

+

defaultLoopStyle

mxGraph.prototype.defaultLoopStyle

mxEdgeStyle to be used for loops.  This is a fallback for loops if the mxConstants.STYLE_LOOP is undefined.  Default is mxEdgeStyle.Loop.

multigraph

mxGraph.prototype.multigraph

Specifies if multiple edges in the same direction between the same pair of vertices are allowed.  Default is true.

@@ -322,31 +324,31 @@ graph.view.validate();

disconnectOnMove

mxGraph.prototype.disconnectOnMove

Specifies if edges should be disconnected from their terminals when they are moved.  Default is true.

-

labelsVisible

mxGraph.prototype.labelsVisible

Specifies if labels should be visible.  This is used in getLabel.  Default is true.

+

labelsVisible

mxGraph.prototype.labelsVisible

Specifies if labels should be visible.  This is used in getLabel.  Default is true.

-

htmlLabels

mxGraph.prototype.htmlLabels

Specifies the return value for isHtmlLabel.  Default is false.

+

htmlLabels

mxGraph.prototype.htmlLabels

Specifies the return value for isHtmlLabel.  Default is false.

swimlaneSelectionEnabled

mxGraph.prototype.swimlaneSelectionEnabled

Specifies if swimlanes should be selectable via the content if the mouse is released.  Default is true.

swimlaneNesting

mxGraph.prototype.swimlaneNesting

Specifies if nesting of swimlanes is allowed.  Default is true.

-

swimlaneIndicatorColorAttribute

mxGraph.prototype.swimlaneIndicatorColorAttribute

The attribute used to find the color for the indicator if the indicator color is set to ‘swimlane’.  Default is mxConstants.STYLE_FILLCOLOR.

+

swimlaneIndicatorColorAttribute

mxGraph.prototype.swimlaneIndicatorColorAttribute

The attribute used to find the color for the indicator if the indicator color is set to ‘swimlane’.  Default is mxConstants.STYLE_FILLCOLOR.

imageBundles

mxGraph.prototype.imageBundles

Holds the list of image bundles.

-

minFitScale

mxGraph.prototype.minFitScale

Specifies the minimum scale to be applied in fit.  Default is 0.1.  Set this to null to allow any value.

+

minFitScale

mxGraph.prototype.minFitScale

Specifies the minimum scale to be applied in fit.  Default is 0.1.  Set this to null to allow any value.

-

maxFitScale

mxGraph.prototype.maxFitScale

Specifies the maximum scale to be applied in fit.  Default is 8.  Set this to null to allow any value.

+

maxFitScale

mxGraph.prototype.maxFitScale

Specifies the maximum scale to be applied in fit.  Default is 8.  Set this to null to allow any value.

panDx

mxGraph.prototype.panDx

Current horizontal panning value.  Default is 0.

panDy

mxGraph.prototype.panDy

Current vertical panning value.  Default is 0.

-

collapsedImage

mxGraph.prototype.collapsedImage

Specifies the mxImage to indicate a collapsed state.  Default value is mxClient.imageBasePath + ‘/collapsed.gif’

+

collapsedImage

mxGraph.prototype.collapsedImage

Specifies the mxImage to indicate a collapsed state.  Default value is mxClient.imageBasePath + ‘/collapsed.gif’

-

expandedImage

mxGraph.prototype.expandedImage

Specifies the mxImage to indicate a expanded state.  Default value is mxClient.imageBasePath + ‘/expanded.gif’

+

expandedImage

mxGraph.prototype.expandedImage

Specifies the mxImage to indicate a expanded state.  Default value is mxClient.imageBasePath + ‘/expanded.gif’

-

warningImage

mxGraph.prototype.warningImage

Specifies the mxImage for the image to be used to display a warning overlay.  See setCellWarning.  Default value is mxClient.imageBasePath + ‘/warning’.  The extension for the image depends on the platform.  It is ‘.png’ on the Mac and ‘.gif’ on all other platforms.

+

warningImage

mxGraph.prototype.warningImage

Specifies the mxImage for the image to be used to display a warning overlay.  See setCellWarning.  Default value is mxClient.imageBasePath + ‘/warning’.  The extension for the image depends on the platform.  It is ‘.png’ on the Mac and ‘.gif’ on all other platforms.

alreadyConnectedResource

mxGraph.prototype.alreadyConnectedResource

Specifies the resource key for the error message to be displayed in non-multigraphs when two vertices are already connected.  If the resource for this key does not exist then the value is used as the error message.  Default is ‘alreadyConnected’.

@@ -356,67 +358,67 @@ graph.view.validate();

init

mxGraph.prototype.init = function(container)

Initializes the <container> and creates the respective datastructures.

Parameters

containerDOM node that will contain the graph display.
-

createHandlers

mxGraph.prototype.createHandlers = function(container)

Creates the tooltip-, panning-, connection- and graph-handler (in this order).  This is called in the constructor before init is called.

+

createHandlers

mxGraph.prototype.createHandlers = function(container)

Creates the tooltip-, panning-, connection- and graph-handler (in this order).  This is called in the constructor before init is called.

-

createSelectionModel

mxGraph.prototype.createSelectionModel = function()

Creates a new mxGraphSelectionModel to be used in this graph.

+

createSelectionModel

mxGraph.prototype.createSelectionModel = function()

Creates a new mxGraphSelectionModel to be used in this graph.

-

createStylesheet

mxGraph.prototype.createStylesheet = function()

Creates a new mxGraphSelectionModel to be used in this graph.

+

createStylesheet

mxGraph.prototype.createStylesheet = function()

Creates a new mxGraphSelectionModel to be used in this graph.

-

createGraphView

mxGraph.prototype.createGraphView = function()

Creates a new mxGraphView to be used in this graph.

+

createGraphView

mxGraph.prototype.createGraphView = function()

Creates a new mxGraphView to be used in this graph.

-

createCellRenderer

mxGraph.prototype.createCellRenderer = function()

Creates a new mxCellRenderer to be used in this graph.

+

createCellRenderer

mxGraph.prototype.createCellRenderer = function()

Creates a new mxCellRenderer to be used in this graph.

-

createCellEditor

mxGraph.prototype.createCellEditor = function()

Creates a new mxCellEditor to be used in this graph.

+

createCellEditor

mxGraph.prototype.createCellEditor = function()

Creates a new mxCellEditor to be used in this graph.

-

getModel

mxGraph.prototype.getModel = function()

Returns the mxGraphModel that contains the cells.

+

getModel

mxGraph.prototype.getModel = function()

Returns the mxGraphModel that contains the cells.

-

getView

mxGraph.prototype.getView = function()

Returns the mxGraphView that contains the mxCellStates.

+

getView

mxGraph.prototype.getView = function()

Returns the mxGraphView that contains the mxCellStates.

-

getStylesheet

mxGraph.prototype.getStylesheet = function()

Returns the mxStylesheet that defines the style.

+

getStylesheet

mxGraph.prototype.getStylesheet = function()

Returns the mxStylesheet that defines the style.

-

setStylesheet

mxGraph.prototype.setStylesheet = function(stylesheet)

Sets the mxStylesheet that defines the style.

+

setStylesheet

mxGraph.prototype.setStylesheet = function(stylesheet)

Sets the mxStylesheet that defines the style.

-

getSelectionModel

mxGraph.prototype.getSelectionModel = function()

Returns the mxGraphSelectionModel that contains the selection.

+

getSelectionModel

mxGraph.prototype.getSelectionModel = function()

Returns the mxGraphSelectionModel that contains the selection.

setSelectionModel

mxGraph.prototype.setSelectionModel = function(selectionModel)

Sets the <mxSelectionModel> that contains the selection.

getSelectionCellsForChanges

mxGraph.prototype.getSelectionCellsForChanges = function(changes)

Returns the cells to be selected for the given array of changes.

-

graphModelChanged

mxGraph.prototype.graphModelChanged = function(changes)

Called when the graph model changes.  Invokes processChange on each item of the given array to update the view accordingly.

Parameters

changesArray that contains the individual changes.
+

graphModelChanged

mxGraph.prototype.graphModelChanged = function(changes)

Called when the graph model changes.  Invokes processChange on each item of the given array to update the view accordingly.

Parameters

changesArray that contains the individual changes.

getRemovedCellsForChanges

mxGraph.prototype.getRemovedCellsForChanges = function(changes)

Returns the cells that have been removed from the model.

-

processChange

mxGraph.prototype.processChange = function(change)

Processes the given change and invalidates the respective cached data in view.  This fires a <root> event if the root has changed in the model.

Parameters

changeObject that represents the change on the model.
+

processChange

mxGraph.prototype.processChange = function(change)

Processes the given change and invalidates the respective cached data in view.  This fires a <root> event if the root has changed in the model.

Parameters

changeObject that represents the change on the model.
-

removeStateForCell

mxGraph.prototype.removeStateForCell = function(cell)

Removes all cached information for the given cell and its descendants.  This is called when a cell was removed from the model.

Paramters

cellmxCell that was removed from the model.
+

removeStateForCell

mxGraph.prototype.removeStateForCell = function(cell)

Removes all cached information for the given cell and its descendants.  This is called when a cell was removed from the model.

Paramters

cellmxCell that was removed from the model.

Overlays

-

addCellOverlay

mxGraph.prototype.addCellOverlay = function(cell,
overlay)

Adds an mxCellOverlay for the specified cell.  This method fires an <addoverlay> event and returns the new mxCellOverlay.

Parameters

cellmxCell to add the overlay for.
overlaymxCellOverlay to be added for the cell.
+

addCellOverlay

mxGraph.prototype.addCellOverlay = function(cell,
overlay)

Adds an mxCellOverlay for the specified cell.  This method fires an <addoverlay> event and returns the new mxCellOverlay.

Parameters

cellmxCell to add the overlay for.
overlaymxCellOverlay to be added for the cell.
-

getCellOverlays

mxGraph.prototype.getCellOverlays = function(cell)

Returns the array of mxCellOverlays for the given cell or null, if no overlays are defined.

Parameters

cellmxCell whose overlays should be returned.
+

getCellOverlays

mxGraph.prototype.getCellOverlays = function(cell)

Returns the array of mxCellOverlays for the given cell or null, if no overlays are defined.

Parameters

cellmxCell whose overlays should be returned.
-

removeCellOverlay

mxGraph.prototype.removeCellOverlay = function(cell,
overlay)

Removes and returns the given mxCellOverlay from the given cell.  This method fires a <removeoverlay> event.  If no overlay is given, then all overlays are removed using <removeOverlays>.

Parameters

cellmxCell whose overlay should be removed.
overlayOptional mxCellOverlay to be removed.
+

removeCellOverlay

mxGraph.prototype.removeCellOverlay = function(cell,
overlay)

Removes and returns the given mxCellOverlay from the given cell.  This method fires a <removeoverlay> event.  If no overlay is given, then all overlays are removed using <removeOverlays>.

Parameters

cellmxCell whose overlay should be removed.
overlayOptional mxCellOverlay to be removed.
-

removeCellOverlays

mxGraph.prototype.removeCellOverlays = function(cell)

Removes all mxCellOverlays from the given cell.  This method fires a <removeoverlay> event for each mxCellOverlay and returns the array of mxCellOverlays that was removed from the cell.

Parameters

cellmxCell whose overlays should be removed
+

removeCellOverlays

mxGraph.prototype.removeCellOverlays = function(cell)

Removes all mxCellOverlays from the given cell.  This method fires a <removeoverlay> event for each mxCellOverlay and returns the array of mxCellOverlays that was removed from the cell.

Parameters

cellmxCell whose overlays should be removed
-

clearCellOverlays

mxGraph.prototype.clearCellOverlays = function(cell)

Removes all mxCellOverlays in the graph for the given cell and all its descendants.  If no cell is specified then all overlays are removed from the graph.  This implementation uses removeCellOverlays to remove the overlays from the individual cells.

Parameters

cellOptional mxCell that represents the root of the subtree to remove the overlays from.  Default is the root in the model.
+

clearCellOverlays

mxGraph.prototype.clearCellOverlays = function(cell)

Removes all mxCellOverlays in the graph for the given cell and all its descendants.  If no cell is specified then all overlays are removed from the graph.  This implementation uses removeCellOverlays to remove the overlays from the individual cells.

Parameters

cellOptional mxCell that represents the root of the subtree to remove the overlays from.  Default is the root in the model.
-

setCellWarning

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.  The warning is displayed as a tooltip in a red font and may contain HTML markup.  If the warning is null or a zero length string, then all overlays are removed from the cell.

Example

graph.setCellWarning(cell, '<b>Warning:</b>: Hello, World!');

Parameters

cellmxCell whose warning should be set.
warningString that represents the warning to be displayed.
imgOptional mxImage to be used for the overlay.  Default is warningImage.
isSelectOptional boolean indicating if a click on the overlay should select the corresponding cell.  Default is false.
+

setCellWarning

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.  The warning is displayed as a tooltip in a red font and may contain HTML markup.  If the warning is null or a zero length string, then all overlays are removed from the cell.

Example

graph.setCellWarning(cell, '<b>Warning:</b>: Hello, World!');

Parameters

cellmxCell whose warning should be set.
warningString that represents the warning to be displayed.
imgOptional mxImage to be used for the overlay.  Default is warningImage.
isSelectOptional boolean indicating if a click on the overlay should select the corresponding cell.  Default is false.

In-place editing

-

startEditing

mxGraph.prototype.startEditing = function(evt)

Calls startEditingAtCell using the given cell or the first selection cell.

Parameters

evtOptional mouse event that triggered the editing.
+

startEditing

mxGraph.prototype.startEditing = function(evt)

Calls startEditingAtCell using the given cell or the first selection cell.

Parameters

evtOptional mouse event that triggered the editing.
-

startEditingAtCell

mxGraph.prototype.startEditingAtCell = function(cell,
evt)

Fires a startEditing event and invokes mxCellEditor.startEditing on <editor>.

Parameters

cellmxCell to start the in-place editor for.
evtOptional mouse event that triggered the editing.
+

startEditingAtCell

mxGraph.prototype.startEditingAtCell = function(cell,
evt)

Fires a startEditing event and invokes mxCellEditor.startEditing on <editor>.

Parameters

cellmxCell to start the in-place editor for.
evtOptional mouse event that triggered the editing.
-

getEditingValue

mxGraph.prototype.getEditingValue = function(cell,
evt)

Returns the initial value for in-place editing.  This implementation returns convertValueToString for the given cell.  If this function is overridden, then mxGraphModel.valueForCellChanged should take care of correctly storing the actual new value inside the user object.

Parameters

cellmxCell for which the initial editing value should be returned.
evtOptional mouse event that triggered the editor.
+

getEditingValue

mxGraph.prototype.getEditingValue = function(cell,
evt)

Returns the initial value for in-place editing.  This implementation returns convertValueToString for the given cell.  If this function is overridden, then mxGraphModel.valueForCellChanged should take care of correctly storing the actual new value inside the user object.

Parameters

cellmxCell for which the initial editing value should be returned.
evtOptional mouse event that triggered the editor.

stopEditing

mxGraph.prototype.stopEditing = function(cancel)

Stops the current editing.

Parameters

cancelBoolean that specifies if the current editing value should be stored.
-

labelChanged

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.  Returns the cell whose label was changed.

Parameters

cellmxCell whose label should be changed.
valueNew label to be assigned.
evtOptional event that triggered the change.
+

labelChanged

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.  Returns the cell whose label was changed.

Parameters

cellmxCell whose label should be changed.
valueNew label to be assigned.
evtOptional event that triggered the change.
-

cellLabelChanged

mxGraph.prototype.cellLabelChanged = function(cell,
value,
autoSize)

Sets the new label for a cell.  If autoSize is true then cellSizeUpdated will be called.

In the following example, the function is extended to map changes to attributes in an XML node, as shown in convertValueToString.  Alternatively, the handling of this can be implemented as shown in mxGraphModel.valueForCellChanged without the need to clone the user object.

var graphCellLabelChanged = graph.cellLabelChanged;
+

cellLabelChanged

mxGraph.prototype.cellLabelChanged = function(cell,
value,
autoSize)

Sets the new label for a cell.  If autoSize is true then cellSizeUpdated will be called.

In the following example, the function is extended to map changes to attributes in an XML node, as shown in convertValueToString.  Alternatively, the handling of this can be implemented as shown in mxGraphModel.valueForCellChanged without the need to clone the user object.

var graphCellLabelChanged = graph.cellLabelChanged;
 graph.cellLabelChanged = function(cell, newValue, autoSize)
 {
  // Cloned for correct undo/redo
@@ -425,13 +427,13 @@ graph.cellLabelChanged = function(cell, newValue, autoSize)
 
  newValue = elt;
  graphCellLabelChanged.apply(this, arguments);
-};

Parameters

cellmxCell whose label should be changed.
valueNew label to be assigned.
autoSizeBoolean that specifies if cellSizeUpdated should be called.
+};

Parameters

cellmxCell whose label should be changed.
valueNew label to be assigned.
autoSizeBoolean that specifies if cellSizeUpdated should be called.

Event processing

escape

mxGraph.prototype.escape = function(evt)

Processes an escape keystroke.

Parameters

evtMouseevent that represents the keystroke.
-

click

mxGraph.prototype.click = function(me)

Processes a singleclick on an optional cell and fires a click event.  The click event is fired initially.  If the graph is enabled and the event has not been consumed, then the cell is selected using selectCellForEvent or the selection is cleared using clearSelection.  The events consumed state is set to true if the corresponding mxMouseEvent has been consumed.

To handle a click event, use the following code.

graph.addListener(mxEvent.CLICK, function(sender, evt)
+

click

mxGraph.prototype.click = function(me)

Processes a singleclick on an optional cell and fires a click event.  The click event is fired initially.  If the graph is enabled and the event has not been consumed, then the cell is selected using selectCellForEvent or the selection is cleared using clearSelection.  The events consumed state is set to true if the corresponding mxMouseEvent has been consumed.

To handle a click event, use the following code.

graph.addListener(mxEvent.CLICK, function(sender, evt)
 {
   var e = evt.getProperty('event'); // mouse event
   var cell = evt.getProperty('cell'); // cell may be null
@@ -441,7 +443,7 @@ graph.cellLabelChanged = function(cell, newValue, autoSize)
     // Do something useful with cell and consume the event
     evt.consume();
   }
-});

Parameters

memxMouseEvent that represents the single click.
+});

Parameters

memxMouseEvent that represents the single click.

dblClick

mxGraph.prototype.dblClick = function(evt,
cell)

Processes a doubleclick on an optional cell and fires a <dblclick> event.  The event is fired initially.  If the graph is enabled and the event has not been consumed, then <edit> is called with the given cell.  The event is ignored if no cell was specified.

Example for overriding this method.

graph.dblClick = function(evt, cell)
 {
@@ -457,47 +459,47 @@ graph.cellLabelChanged = function(cell, newValue, autoSize)
 {
   var cell = evt.getProperty('cell');
   // do something with the cell...
-});

Parameters

evtMouseevent that represents the doubleclick.
cellOptional mxCell under the mousepointer.
+});

Parameters

evtMouseevent that represents the doubleclick.
cellOptional mxCell under the mousepointer.
-

tapAndHold

mxGraph.prototype.tapAndHold = function(me)

Handles the mxMouseEvent by highlighting the mxCellState.

Parameters

memxMouseEvent that represents the touch event.
stateOptional mxCellState that is associated with the event.
+

tapAndHold

mxGraph.prototype.tapAndHold = function(me)

Handles the mxMouseEvent by highlighting the mxCellState.

Parameters

memxMouseEvent that represents the touch event.
stateOptional mxCellState that is associated with the event.

scrollPointToVisible

mxGraph.prototype.scrollPointToVisible = function(x,
y,
extend,
border)

Scrolls the graph to the given point, extending the graph container if specified.

-

createPanningManager

mxGraph.prototype.createPanningManager = function()

Creates and returns an mxPanningManager.

+

createPanningManager

mxGraph.prototype.createPanningManager = function()

Creates and returns an mxPanningManager.

-

getBorderSizes

mxGraph.prototype.getBorderSizes = function()

Returns the size of the border and padding on all four sides of the container.  The left, top, right and bottom borders are stored in the x, y, width and height of the returned mxRectangle, respectively.

+

getBorderSizes

mxGraph.prototype.getBorderSizes = function()

Returns the size of the border and padding on all four sides of the container.  The left, top, right and bottom borders are stored in the x, y, width and height of the returned mxRectangle, respectively.

-

getPreferredPageSize

mxGraph.prototype.getPreferredPageSize = function(bounds,
width,
height)

Returns the preferred size of the background page if preferPageSize is true.

+

getPreferredPageSize

mxGraph.prototype.getPreferredPageSize = function(bounds,
width,
height)

Returns the preferred size of the background page if preferPageSize is true.

sizeDidChange

mxGraph.prototype.sizeDidChange = function()

Called when the size of the graph has changed.  This implementation fires a <size> event after updating the clipping region of the SVG element in SVG-bases browsers.

doResizeContainer

mxGraph.prototype.doResizeContainer = function(width,
height)

Resizes the container for the given graph width and height.

-

updatePageBreaks

mxGraph.prototype.updatePageBreaks = function(visible,
width,
height)

Invokes from sizeDidChange to redraw the page breaks.

Parameters

visibleBoolean that specifies if page breaks should be shown.
widthSpecifies the width of the container in pixels.
heightSpecifies the height of the container in pixels.
+

updatePageBreaks

mxGraph.prototype.updatePageBreaks = function(visible,
width,
height)

Invokes from sizeDidChange to redraw the page breaks.

Parameters

visibleBoolean that specifies if page breaks should be shown.
widthSpecifies the width of the container in pixels.
heightSpecifies the height of the container in pixels.

Cell styles

-

getCellStyle

mxGraph.prototype.getCellStyle = function(cell)

Returns an array of key, value pairs representing the cell style for the given cell.  If no string is defined in the model that specifies the style, then the default style for the cell is returned or EMPTY_ARRAY, if not style can be found.  Note: You should try and get the cell state for the given cell and use the cached style in the state before using this method.

Parameters

cellmxCell whose style should be returned as an array.
+

getCellStyle

mxGraph.prototype.getCellStyle = function(cell)

Returns an array of key, value pairs representing the cell style for the given cell.  If no string is defined in the model that specifies the style, then the default style for the cell is returned or EMPTY_ARRAY, if not style can be found.  Note: You should try and get the cell state for the given cell and use the cached style in the state before using this method.

Parameters

cellmxCell whose style should be returned as an array.

postProcessCellStyle

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.

-

setCellStyle

mxGraph.prototype.setCellStyle = function(style,
cells)

Sets the style of the specified cells.  If no cells are given, then the selection cells are changed.

Parameters

styleString representing the new style of the cells.
cellsOptional array of mxCells to set the style for.  Default is the selection cells.
+

setCellStyle

mxGraph.prototype.setCellStyle = function(style,
cells)

Sets the style of the specified cells.  If no cells are given, then the selection cells are changed.

Parameters

styleString representing the new style of the cells.
cellsOptional array of mxCells to set the style for.  Default is the selection cells.
-

toggleCellStyle

mxGraph.prototype.toggleCellStyle = function(key,
defaultValue,
cell)

Toggles the boolean value for the given key in the style of the given cell.  If no cell is specified then the selection cell is used.

Parameter

keyString representing the key for the boolean value to be toggled.
defaultValueOptional boolean default value if no value is defined.  Default is false.
cellOptional mxCell whose style should be modified.  Default is the selection cell.
+

toggleCellStyle

mxGraph.prototype.toggleCellStyle = function(key,
defaultValue,
cell)

Toggles the boolean value for the given key in the style of the given cell.  If no cell is specified then the selection cell is used.

Parameter

keyString representing the key for the boolean value to be toggled.
defaultValueOptional boolean default value if no value is defined.  Default is false.
cellOptional mxCell whose style should be modified.  Default is the selection cell.
-

toggleCellStyles

mxGraph.prototype.toggleCellStyles = function(key,
defaultValue,
cells)

Toggles the boolean value for the given key in the style of the given cells.  If no cells are specified, then the selection cells are used.  For example, this can be used to toggle mxConstants.STYLE_ROUNDED or any other style with a boolean value.

Parameter

keyString representing the key for the boolean value to be toggled.
defaultValueOptional boolean default value if no value is defined.  Default is false.
cellsOptional array of mxCells whose styles should be modified.  Default is the selection cells.
+

toggleCellStyles

mxGraph.prototype.toggleCellStyles = function(key,
defaultValue,
cells)

Toggles the boolean value for the given key in the style of the given cells.  If no cells are specified, then the selection cells are used.  For example, this can be used to toggle mxConstants.STYLE_ROUNDED or any other style with a boolean value.

Parameter

keyString representing the key for the boolean value to be toggled.
defaultValueOptional boolean default value if no value is defined.  Default is false.
cellsOptional array of mxCells whose styles should be modified.  Default is the selection cells.
-

setCellStyles

mxGraph.prototype.setCellStyles = function(key,
value,
cells)

Sets the key to value in the styles of the given cells.  This will modify the existing cell styles in-place and override any existing assignment for the given key.  If no cells are specified, then the selection cells are changed.  If no value is specified, then the respective key is removed from the styles.

Parameters

keyString representing the key to be assigned.
valueString representing the new value for the key.
cellsOptional array of mxCells to change the style for.  Default is the selection cells.
+

setCellStyles

mxGraph.prototype.setCellStyles = function(key,
value,
cells)

Sets the key to value in the styles of the given cells.  This will modify the existing cell styles in-place and override any existing assignment for the given key.  If no cells are specified, then the selection cells are changed.  If no value is specified, then the respective key is removed from the styles.

Parameters

keyString representing the key to be assigned.
valueString representing the new value for the key.
cellsOptional array of mxCells to change the style for.  Default is the selection cells.
-

toggleCellStyleFlags

mxGraph.prototype.toggleCellStyleFlags = function(key,
flag,
cells)

Toggles the given bit for the given key in the styles of the specified cells.

Parameters

keyString representing the key to toggle the flag in.
flagInteger that represents the bit to be toggled.
cellsOptional array of mxCells to change the style for.  Default is the selection cells.
+

toggleCellStyleFlags

mxGraph.prototype.toggleCellStyleFlags = function(key,
flag,
cells)

Toggles the given bit for the given key in the styles of the specified cells.

Parameters

keyString representing the key to toggle the flag in.
flagInteger that represents the bit to be toggled.
cellsOptional array of mxCells to change the style for.  Default is the selection cells.
-

setCellStyleFlags

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.

Parameters

keyString representing the key to toggle the flag in.
flagInteger that represents the bit to be toggled.
valueBoolean value to be used or null if the value should be toggled.
cellsOptional array of mxCells to change the style for.  Default is the selection cells.
+

setCellStyleFlags

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.

Parameters

keyString representing the key to toggle the flag in.
flagInteger that represents the bit to be toggled.
valueBoolean value to be used or null if the value should be toggled.
cellsOptional array of mxCells to change the style for.  Default is the selection cells.

Cell alignment and orientation

-

alignCells

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.

Parameters

alignSpecifies the alignment.  Possible values are all constants in mxConstants with an ALIGN prefix.
cellsArray of mxCells to be aligned.
paramOptional coordinate for the alignment.
+

alignCells

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.

Parameters

alignSpecifies the alignment.  Possible values are all constants in mxConstants with an ALIGN prefix.
cellsArray of mxCells to be aligned.
paramOptional coordinate for the alignment.
-

flipEdge

mxGraph.prototype.flipEdge = function(edge)

Toggles the style of the given edge between null (or empty) and alternateEdgeStyle.  This method fires mxEvent.FLIP_EDGE while the transaction is in progress.  Returns the edge that was flipped.

Here is an example that overrides this implementation to invert the value of mxConstants.STYLE_ELBOW without removing any existing styles.

graph.flipEdge = function(edge)
+

flipEdge

mxGraph.prototype.flipEdge = function(edge)

Toggles the style of the given edge between null (or empty) and alternateEdgeStyle.  This method fires mxEvent.FLIP_EDGE while the transaction is in progress.  Returns the edge that was flipped.

Here is an example that overrides this implementation to invert the value of mxConstants.STYLE_ELBOW without removing any existing styles.

graph.flipEdge = function(edge)
 {
   if (edge != null)
   {
@@ -513,29 +515,29 @@ graph.cellLabelChanged = function(cell, newValue, autoSize)
       this.setCellStyles(mxConstants.STYLE_ELBOW, value, [edge]);
     }
   }
-};

Parameters

edgemxCell whose style should be changed.
+};

Parameters

edgemxCell whose style should be changed.
-

addImageBundle

mxGraph.prototype.addImageBundle = function(bundle)

Adds the specified mxImageBundle.

+

addImageBundle

mxGraph.prototype.addImageBundle = function(bundle)

Adds the specified mxImageBundle.

-

removeImageBundle

mxGraph.prototype.removeImageBundle = function(bundle)

Removes the specified mxImageBundle.

+

removeImageBundle

mxGraph.prototype.removeImageBundle = function(bundle)

Removes the specified mxImageBundle.

-

getImageFromBundles

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.

+

getImageFromBundles

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.

Order

-

orderCells

mxGraph.prototype.orderCells = function(back,
cells)

Moves the given cells to the front or back.  The change is carried out using cellsOrdered.  This method fires mxEvent.ORDER_CELLS while the transaction is in progress.

Parameters

backBoolean that specifies if the cells should be moved to back.
cellsArray of mxCells to move to the background.  If null is specified then the selection cells are used.
+

orderCells

mxGraph.prototype.orderCells = function(back,
cells)

Moves the given cells to the front or back.  The change is carried out using cellsOrdered.  This method fires mxEvent.ORDER_CELLS while the transaction is in progress.

Parameters

backBoolean that specifies if the cells should be moved to back.
cellsArray of mxCells to move to the background.  If null is specified then the selection cells are used.
-

cellsOrdered

mxGraph.prototype.cellsOrdered = function(cells,
back)

Moves the given cells to the front or back.  This method fires mxEvent.CELLS_ORDERED while the transaction is in progress.

Parameters

cellsArray of mxCells whose order should be changed.
backBoolean that specifies if the cells should be moved to back.
+

cellsOrdered

mxGraph.prototype.cellsOrdered = function(cells,
back)

Moves the given cells to the front or back.  This method fires mxEvent.CELLS_ORDERED while the transaction is in progress.

Parameters

cellsArray of mxCells whose order should be changed.
backBoolean that specifies if the cells should be moved to back.

Grouping

-

groupCells

mxGraph.prototype.groupCells = function(group,
border,
cells)

Adds the cells into the given group.  The change is carried out using cellsAdded, cellsMoved and cellsResized.  This method fires mxEvent.GROUP_CELLS while the transaction is in progress.  Returns the new group.  A group is only created if there is at least one entry in the given array of cells.

Parameters

groupmxCell that represents the target group.  If null is specified then a new group is created using createGroupCell.
borderOptional integer that specifies the border between the child area and the group bounds.  Default is 0.
cellsOptional array of mxCells to be grouped.  If null is specified then the selection cells are used.
+

groupCells

mxGraph.prototype.groupCells = function(group,
border,
cells)

Adds the cells into the given group.  The change is carried out using cellsAdded, cellsMoved and cellsResized.  This method fires mxEvent.GROUP_CELLS while the transaction is in progress.  Returns the new group.  A group is only created if there is at least one entry in the given array of cells.

Parameters

groupmxCell that represents the target group.  If null is specified then a new group is created using createGroupCell.
borderOptional integer that specifies the border between the child area and the group bounds.  Default is 0.
cellsOptional array of mxCells to be grouped.  If null is specified then the selection cells are used.

getCellsForGroup

mxGraph.prototype.getCellsForGroup = function(cells)

Returns the cells with the same parent as the first cell in the given array.

getBoundsForGroup

mxGraph.prototype.getBoundsForGroup = function(group,
children,
border)

Returns the bounds to be used for the given group and children.

-

createGroupCell

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.

The following code can be used to set the style of new group cells.

var graphCreateGroupCell = graph.createGroupCell;
+

createGroupCell

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.

The following code can be used to set the style of new group cells.

var graphCreateGroupCell = graph.createGroupCell;
 graph.createGroupCell = function(cells)
 {
   var group = graphCreateGroupCell.apply(this, arguments);
@@ -546,56 +548,56 @@ graph.createGroupCell = function(cells)
 
 

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.  Returns the children that have been removed from the groups.

Parameters

cellsArray of cells to be ungrouped.  If null is specified then the selection cells are used.
-

removeCellsFromParent

mxGraph.prototype.removeCellsFromParent = function(cells)

Removes the specified cells from their parents and adds them to the default parent.  Returns the cells that were removed from their parents.

Parameters

cellsArray of mxCells to be removed from their parents.
+

removeCellsFromParent

mxGraph.prototype.removeCellsFromParent = function(cells)

Removes the specified cells from their parents and adds them to the default parent.  Returns the cells that were removed from their parents.

Parameters

cellsArray of mxCells to be removed from their parents.

updateGroupBounds

mxGraph.prototype.updateGroupBounds = function(cells,
border,
moveGroup)

Updates the bounds of the given array of groups so that it includes all child vertices.

Parameters

cellsThe groups whose bounds should be updated.
borderOptional border to be added in the group.  Default is 0.
moveGroupOptional boolean that allows the group to be moved.  Default is false.

Cell cloning, insertion and removal

-

cloneCells

mxGraph.prototype.cloneCells = function(cells,
allowInvalidEdges)

Returns the clones for the given cells.  If the terminal of an edge is not in the given array, then the respective end is assigned a terminal point and the terminal is removed.

Parameters

cellsArray of mxCells to be cloned.
allowInvalidEdgesOptional boolean that specifies if invalid edges should be cloned.  Default is true.
+

cloneCells

mxGraph.prototype.cloneCells = function(cells,
allowInvalidEdges)

Returns the clones for the given cells.  If the terminal of an edge is not in the given array, then the respective end is assigned a terminal point and the terminal is removed.

Parameters

cellsArray of mxCells to be cloned.
allowInvalidEdgesOptional boolean that specifies if invalid edges should be cloned.  Default is true.
-

insertVertex

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.  The id and style are used for the respective properties of the new mxCell, which is returned.

When adding new vertices from a mouse event, one should take into account the offset of the graph container and the scale and translation of the view in order to find the correct unscaled, untranslated coordinates using mxGraph.getPointForEvent as follows:

var pt = graph.getPointForEvent(evt);
+

insertVertex

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.  The id and style are used for the respective properties of the new mxCell, which is returned.

When adding new vertices from a mouse event, one should take into account the offset of the graph container and the scale and translation of the view in order to find the correct unscaled, untranslated coordinates using mxGraph.getPointForEvent as follows:

var pt = graph.getPointForEvent(evt);
 var parent = graph.getDefaultParent();
 graph.insertVertex(parent, null,
-         'Hello, World!', x, y, 220, 30);

For adding image cells, the style parameter can be assigned as

stylename;image=imageUrl

See mxGraph for more information on using images.

Parameters

parentmxCell that specifies the parent of the new vertex.
idOptional string that defines the Id of the new vertex.
valueObject to be used as the user object.
xInteger that defines the x coordinate of the vertex.
yInteger that defines the y coordinate of the vertex.
widthInteger that defines the width of the vertex.
heightInteger that defines the height of the vertex.
styleOptional string that defines the cell style.
relativeOptional boolean that specifies if the geometry is relative.  Default is false.
+ 'Hello, World!', x, y, 220, 30);

For adding image cells, the style parameter can be assigned as

stylename;image=imageUrl

See mxGraph for more information on using images.

Parameters

parentmxCell that specifies the parent of the new vertex.
idOptional string that defines the Id of the new vertex.
valueObject to be used as the user object.
xInteger that defines the x coordinate of the vertex.
yInteger that defines the y coordinate of the vertex.
widthInteger that defines the width of the vertex.
heightInteger that defines the height of the vertex.
styleOptional string that defines the cell style.
relativeOptional boolean that specifies if the geometry is relative.  Default is false.
-

createVertex

mxGraph.prototype.createVertex = function(parent,
id,
value,
x,
y,
width,
height,
style,
relative)

Hook method that creates the new vertex for insertVertex.

+

createVertex

mxGraph.prototype.createVertex = function(parent,
id,
value,
x,
y,
width,
height,
style,
relative)

Hook method that creates the new vertex for insertVertex.

-

insertEdge

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.  The id and style are used for the respective properties of the new mxCell, which is returned.

Parameters

parentmxCell that specifies the parent of the new edge.
idOptional string that defines the Id of the new edge.
valueJavaScript object to be used as the user object.
sourcemxCell that defines the source of the edge.
targetmxCell that defines the target of the edge.
styleOptional string that defines the cell style.
+

insertEdge

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.  The id and style are used for the respective properties of the new mxCell, which is returned.

Parameters

parentmxCell that specifies the parent of the new edge.
idOptional string that defines the Id of the new edge.
valueJavaScript object to be used as the user object.
sourcemxCell that defines the source of the edge.
targetmxCell that defines the target of the edge.
styleOptional string that defines the cell style.
-

createEdge

mxGraph.prototype.createEdge = function(parent,
id,
value,
source,
target,
style)

Hook method that creates the new edge for insertEdge.  This implementation does not set the source and target of the edge, these are set when the edge is added to the model.

+

createEdge

mxGraph.prototype.createEdge = function(parent,
id,
value,
source,
target,
style)

Hook method that creates the new edge for insertEdge.  This implementation does not set the source and target of the edge, these are set when the edge is added to the model.

-

addEdge

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.  This is a shortcut method.  Returns the edge that was added.

Parameters

edgemxCell to be inserted into the given parent.
parentmxCell that represents the new parent.  If no parent is given then the default parent is used.
sourceOptional mxCell that represents the source terminal.
targetOptional mxCell that represents the target terminal.
indexOptional index to insert the cells at.  Default is to append.
+

addEdge

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.  This is a shortcut method.  Returns the edge that was added.

Parameters

edgemxCell to be inserted into the given parent.
parentmxCell that represents the new parent.  If no parent is given then the default parent is used.
sourceOptional mxCell that represents the source terminal.
targetOptional mxCell that represents the target terminal.
indexOptional index to insert the cells at.  Default is to append.
-

addCell

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.  This is a shortcut method.  Returns the cell that was added.

Parameters

cellmxCell to be inserted into the given parent.
parentmxCell that represents the new parent.  If no parent is given then the default parent is used.
indexOptional index to insert the cells at.  Default is to append.
sourceOptional mxCell that represents the source terminal.
targetOptional mxCell that represents the target terminal.
+

addCell

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.  This is a shortcut method.  Returns the cell that was added.

Parameters

cellmxCell to be inserted into the given parent.
parentmxCell that represents the new parent.  If no parent is given then the default parent is used.
indexOptional index to insert the cells at.  Default is to append.
sourceOptional mxCell that represents the source terminal.
targetOptional mxCell that represents the target terminal.
-

addCells

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.  The change is carried out using cellsAdded.  This method fires mxEvent.ADD_CELLS while the transaction is in progress.  Returns the cells that were added.

Parameters

cellsArray of mxCells to be inserted.
parentmxCell that represents the new parent.  If no parent is given then the default parent is used.
indexOptional index to insert the cells at.  Default is to append.
sourceOptional source mxCell for all inserted cells.
targetOptional target mxCell for all inserted cells.
+

addCells

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.  The change is carried out using cellsAdded.  This method fires mxEvent.ADD_CELLS while the transaction is in progress.  Returns the cells that were added.

Parameters

cellsArray of mxCells to be inserted.
parentmxCell that represents the new parent.  If no parent is given then the default parent is used.
indexOptional index to insert the cells at.  Default is to append.
sourceOptional source mxCell for all inserted cells.
targetOptional target mxCell for all inserted cells.
-

cellsAdded

mxGraph.prototype.cellsAdded = function(cells,
parent,
index,
source,
target,
absolute,
constrain)

Adds the specified cells to the given parent.  This method fires mxEvent.CELLS_ADDED while the transaction is in progress.

+

cellsAdded

mxGraph.prototype.cellsAdded = function(cells,
parent,
index,
source,
target,
absolute,
constrain)

Adds the specified cells to the given parent.  This method fires mxEvent.CELLS_ADDED while the transaction is in progress.

-

autoSizeCell

mxGraph.prototype.autoSizeCell = function(cell,
recurse)

Removes the given cells from the graph including all connected edges if includeEdges is true.  The change is carried out using cellsRemoved.  This method fires mxEvent.REMOVE_CELLS while the transaction is in progress.  The removed cells are returned as an array.

Parameters

cellmxCells to be resized.
recurseOptional boolean which specifies if all descendants should be autosized.  Default is true.
+

autoSizeCell

mxGraph.prototype.autoSizeCell = function(cell,
recurse)

Removes the given cells from the graph including all connected edges if includeEdges is true.  The change is carried out using cellsRemoved.  This method fires mxEvent.REMOVE_CELLS while the transaction is in progress.  The removed cells are returned as an array.

Parameters

cellmxCells to be resized.
recurseOptional boolean which specifies if all descendants should be autosized.  Default is true.
-

removeCells

mxGraph.prototype.removeCells = function(cells,
includeEdges)

Removes the given cells from the graph including all connected edges if includeEdges is true.  The change is carried out using cellsRemoved.  This method fires mxEvent.REMOVE_CELLS while the transaction is in progress.  The removed cells are returned as an array.

Parameters

cellsArray of mxCells to remove.  If null is specified then the selection cells which are deletable are used.
includeEdgesOptional boolean which specifies if all connected edges should be removed as well.  Default is true.
+

removeCells

mxGraph.prototype.removeCells = function(cells,
includeEdges)

Removes the given cells from the graph including all connected edges if includeEdges is true.  The change is carried out using cellsRemoved.  This method fires mxEvent.REMOVE_CELLS while the transaction is in progress.  The removed cells are returned as an array.

Parameters

cellsArray of mxCells to remove.  If null is specified then the selection cells which are deletable are used.
includeEdgesOptional boolean which specifies if all connected edges should be removed as well.  Default is true.
-

cellsRemoved

mxGraph.prototype.cellsRemoved = function(cells)

Removes the given cells from the model.  This method fires mxEvent.CELLS_REMOVED while the transaction is in progress.

Parameters

cellsArray of mxCells to remove.
+

cellsRemoved

mxGraph.prototype.cellsRemoved = function(cells)

Removes the given cells from the model.  This method fires mxEvent.CELLS_REMOVED while the transaction is in progress.

Parameters

cellsArray of mxCells to remove.
-

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.  This method fires mxEvent.SPLIT_EDGE while the transaction is in progress.  Returns the new edge that was inserted.

Parameters

edgemxCell that represents the edge to be splitted.
cellsmxCells that represents the cells to insert into the edge.
newEdgemxCell that represents the edge to be inserted.
dxOptional integer that specifies the vector to move the cells.
dyOptional integer that specifies the vector to move the cells.
+

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.  This method fires mxEvent.SPLIT_EDGE while the transaction is in progress.  Returns the new edge that was inserted.

Parameters

edgemxCell that represents the edge to be splitted.
cellsmxCells that represents the cells to insert into the edge.
newEdgemxCell that represents the edge to be inserted.
dxOptional integer that specifies the vector to move the cells.
dyOptional integer that specifies the vector to move the cells.

Cell visibility

-

toggleCells

mxGraph.prototype.toggleCells = function(show,
cells,
includeEdges)

Sets the visible state of the specified cells and all connected edges if includeEdges is true.  The change is carried out using cellsToggled.  This method fires mxEvent.TOGGLE_CELLS while the transaction is in progress.  Returns the cells whose visible state was changed.

Parameters

showBoolean that specifies the visible state to be assigned.
cellsArray of mxCells whose visible state should be changed.  If null is specified then the selection cells are used.
includeEdgesOptional boolean indicating if the visible state of all connected edges should be changed as well.  Default is true.
+

toggleCells

mxGraph.prototype.toggleCells = function(show,
cells,
includeEdges)

Sets the visible state of the specified cells and all connected edges if includeEdges is true.  The change is carried out using cellsToggled.  This method fires mxEvent.TOGGLE_CELLS while the transaction is in progress.  Returns the cells whose visible state was changed.

Parameters

showBoolean that specifies the visible state to be assigned.
cellsArray of mxCells whose visible state should be changed.  If null is specified then the selection cells are used.
includeEdgesOptional boolean indicating if the visible state of all connected edges should be changed as well.  Default is true.
-

cellsToggled

mxGraph.prototype.cellsToggled = function(cells,
show)

Sets the visible state of the specified cells.

Parameters

cellsArray of mxCells whose visible state should be changed.
showBoolean that specifies the visible state to be assigned.
+

cellsToggled

mxGraph.prototype.cellsToggled = function(cells,
show)

Sets the visible state of the specified cells.

Parameters

cellsArray of mxCells whose visible state should be changed.
showBoolean that specifies the visible state to be assigned.

Folding

-

foldCells

mxGraph.prototype.foldCells = function(collapse,
recurse,
cells,
checkFoldable)

Sets the collapsed state of the specified cells and all descendants if recurse is true.  The change is carried out using cellsFolded.  This method fires mxEvent.FOLD_CELLS while the transaction is in progress.  Returns the cells whose collapsed state was changed.

Parameters

collapsedBoolean indicating the collapsed state to be assigned.
recurseOptional boolean indicating if the collapsed state of all descendants should be set.  Default is false.
cellsArray of mxCells whose collapsed state should be set.  If null is specified then the foldable selection cells are used.
checkFoldableOptional boolean indicating of isCellFoldable should be checked.  Default is false.
+

foldCells

mxGraph.prototype.foldCells = function(collapse,
recurse,
cells,
checkFoldable)

Sets the collapsed state of the specified cells and all descendants if recurse is true.  The change is carried out using cellsFolded.  This method fires mxEvent.FOLD_CELLS while the transaction is in progress.  Returns the cells whose collapsed state was changed.

Parameters

collapsedBoolean indicating the collapsed state to be assigned.
recurseOptional boolean indicating if the collapsed state of all descendants should be set.  Default is false.
cellsArray of mxCells whose collapsed state should be set.  If null is specified then the foldable selection cells are used.
checkFoldableOptional boolean indicating of isCellFoldable should be checked.  Default is false.
-

cellsFolded

mxGraph.prototype.cellsFolded = function(cells,
collapse,
recurse,
checkFoldable)

Sets the collapsed state of the specified cells.  This method fires mxEvent.CELLS_FOLDED while the transaction is in progress.  Returns the cells whose collapsed state was changed.

Parameters

cellsArray of mxCells whose collapsed state should be set.
collapsedBoolean indicating the collapsed state to be assigned.
recurseBoolean indicating if the collapsed state of all descendants should be set.
checkFoldableOptional boolean indicating of isCellFoldable should be checked.  Default is false.
+

cellsFolded

mxGraph.prototype.cellsFolded = function(cells,
collapse,
recurse,
checkFoldable)

Sets the collapsed state of the specified cells.  This method fires mxEvent.CELLS_FOLDED while the transaction is in progress.  Returns the cells whose collapsed state was changed.

Parameters

cellsArray of mxCells whose collapsed state should be set.
collapsedBoolean indicating the collapsed state to be assigned.
recurseBoolean indicating if the collapsed state of all descendants should be set.
checkFoldableOptional boolean indicating of isCellFoldable should be checked.  Default is false.
-

swapBounds

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.

Parameters

cellmxCell for which the bounds should be swapped.
willCollapseBoolean indicating if the cell is going to be collapsed.
+

swapBounds

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.

Parameters

cellmxCell for which the bounds should be swapped.
willCollapseBoolean indicating if the cell is going to be collapsed.
-

updateAlternateBounds

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.  If no alternate bounds are defined in the geometry and collapseToPreferredSize is true, then the preferred size is used for the alternate bounds.  The top, left corner is always kept at the same location.

Parameters

cellmxCell for which the geometry is being udpated.
gmxGeometry for which the alternate bounds should be updated.
willCollapseBoolean indicating if the cell is going to be collapsed.
+

updateAlternateBounds

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.  If no alternate bounds are defined in the geometry and collapseToPreferredSize is true, then the preferred size is used for the alternate bounds.  The top, left corner is always kept at the same location.

Parameters

cellmxCell for which the geometry is being udpated.
gmxGeometry for which the alternate bounds should be updated.
willCollapseBoolean indicating if the cell is going to be collapsed.

addAllEdges

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.

@@ -603,11 +605,11 @@ graph.insertVertex(parent, null,

Cell sizing

-

updateCellSize

mxGraph.prototype.updateCellSize = function(cell,
ignoreChildren)

Updates the size of the given cell in the model using cellSizeUpdated.  This method fires mxEvent.UPDATE_CELL_SIZE while the transaction is in progress.  Returns the cell whose size was updated.

Parameters

cellmxCell whose size should be updated.
+

updateCellSize

mxGraph.prototype.updateCellSize = function(cell,
ignoreChildren)

Updates the size of the given cell in the model using cellSizeUpdated.  This method fires mxEvent.UPDATE_CELL_SIZE while the transaction is in progress.  Returns the cell whose size was updated.

Parameters

cellmxCell whose size should be updated.
-

cellSizeUpdated

mxGraph.prototype.cellSizeUpdated = function(cell,
ignoreChildren)

Updates the size of the given cell in the model using getPreferredSizeForCell to get the new size.

Parameters

cellmxCell for which the size should be changed.
+

cellSizeUpdated

mxGraph.prototype.cellSizeUpdated = function(cell,
ignoreChildren)

Updates the size of the given cell in the model using getPreferredSizeForCell to get the new size.

Parameters

cellmxCell for which the size should be changed.
-

getPreferredSizeForCell

mxGraph.prototype.getPreferredSizeForCell = function(cell)

Returns the preferred width and height of the given mxCell as an mxRectangle.  To implement a minimum width, add a new style eg. minWidth in the vertex and override this method as follows.

var graphGetPreferredSizeForCell = graph.getPreferredSizeForCell;
+

getPreferredSizeForCell

mxGraph.prototype.getPreferredSizeForCell = function(cell)

Returns the preferred width and height of the given mxCell as an mxRectangle.  To implement a minimum width, add a new style eg. minWidth in the vertex and override this method as follows.

var graphGetPreferredSizeForCell = graph.getPreferredSizeForCell;
 graph.getPreferredSizeForCell = function(cell)
 {
   var result = graphGetPreferredSizeForCell.apply(this, arguments);
@@ -619,13 +621,13 @@ graph.getPreferredSizeForCell = function(cell)
   }
 
   return result;
-};

Parameters

cellmxCell for which the preferred size should be returned.
+};

Parameters

cellmxCell for which the preferred size should be returned.
-

resizeCell

mxGraph.prototype.resizeCell = function(cell,
bounds,
recurse)

Sets the bounds of the given cell using resizeCells.  Returns the cell which was passed to the function.

Parameters

cellmxCell whose bounds should be changed.
boundsmxRectangle that represents the new bounds.
+

resizeCell

mxGraph.prototype.resizeCell = function(cell,
bounds,
recurse)

Sets the bounds of the given cell using resizeCells.  Returns the cell which was passed to the function.

Parameters

cellmxCell whose bounds should be changed.
boundsmxRectangle that represents the new bounds.
-

resizeCells

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.  Returns the cells which have been passed to the function.

Parameters

cellsArray of mxCells whose bounds should be changed.
boundsArray of mxRectangles that represent the new bounds.
+

resizeCells

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.  Returns the cells which have been passed to the function.

Parameters

cellsArray of mxCells whose bounds should be changed.
boundsArray of mxRectangles that represent the new bounds.
-

cellsResized

mxGraph.prototype.cellsResized = function(cells,
bounds,
recurse)

Sets the bounds of the given cells and fires a mxEvent.CELLS_RESIZED event.  If extendParents is true, then the parent is extended if a child size is changed so that it overlaps with the parent.

The following example shows how to control group resizes to make sure that all child cells stay within the group.

graph.addListener(mxEvent.CELLS_RESIZED, function(sender, evt)
+

cellsResized

mxGraph.prototype.cellsResized = function(cells,
bounds,
recurse)

Sets the bounds of the given cells and fires a mxEvent.CELLS_RESIZED event.  If extendParents is true, then the parent is extended if a child size is changed so that it overlaps with the parent.

The following example shows how to control group resizes to make sure that all child cells stay within the group.

graph.addListener(mxEvent.CELLS_RESIZED, function(sender, evt)
 {
   var cells = evt.getProperty('cells');
 
@@ -651,59 +653,59 @@ graph.getPreferredSizeForCell = function(cell)
       }
     }
   }
-});

Parameters

cellsArray of mxCells whose bounds should be changed.
boundsArray of mxRectangles that represent the new bounds.
recurseOptional boolean that specifies if the children should be resized.
+});

Parameters

cellsArray of mxCells whose bounds should be changed.
boundsArray of mxRectangles that represent the new bounds.
recurseOptional boolean that specifies if the children should be resized.
-

cellResized

mxGraph.prototype.cellResized = function(cell,
bounds,
ignoreRelative,
recurse)

Resizes the parents recursively so that they contain the complete area of the resized child cell.

Parameters

cellmxCell whose bounds should be changed.
boundsmxRectangles that represent the new bounds.
ignoreRelativeBoolean that indicates if relative cells should be ignored.
recurseOptional boolean that specifies if the children should be resized.
+

cellResized

mxGraph.prototype.cellResized = function(cell,
bounds,
ignoreRelative,
recurse)

Resizes the parents recursively so that they contain the complete area of the resized child cell.

Parameters

cellmxCell whose bounds should be changed.
boundsmxRectangles that represent the new bounds.
ignoreRelativeBoolean that indicates if relative cells should be ignored.
recurseOptional boolean that specifies if the children should be resized.
-

resizeChildCells

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.

Parameters

cellmxCell that has been resized.
newGeomxGeometry that represents the new bounds.
+

resizeChildCells

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.

Parameters

cellmxCell that has been resized.
newGeomxGeometry that represents the new bounds.
-

constrainChildCells

mxGraph.prototype.constrainChildCells = function(cell)

Constrains the children of the given cell using constrainChild.

Parameters

cellmxCell that has been resized.
+

constrainChildCells

mxGraph.prototype.constrainChildCells = function(cell)

Constrains the children of the given cell using constrainChild.

Parameters

cellmxCell that has been resized.
-

scaleCell

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.

Parameters

cellmxCell whose geometry should be scaled.
dxHorizontal scaling factor.
dyVertical scaling factor.
recurseBoolean indicating if the child cells should be scaled.
+

scaleCell

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.

Parameters

cellmxCell whose geometry should be scaled.
dxHorizontal scaling factor.
dyVertical scaling factor.
recurseBoolean indicating if the child cells should be scaled.
-

extendParent

mxGraph.prototype.extendParent = function(cell)

Resizes the parents recursively so that they contain the complete area of the resized child cell.

Parameters

cellmxCell that has been resized.
+

extendParent

mxGraph.prototype.extendParent = function(cell)

Resizes the parents recursively so that they contain the complete area of the resized child cell.

Parameters

cellmxCell that has been resized.

Cell moving

importCells

mxGraph.prototype.importCells = function(cells,
dx,
dy,
target,
evt)

Clones and inserts the given cells into the graph using the move method and returns the inserted cells.  This shortcut is used if cells are inserted via datatransfer.

-

moveCells

mxGraph.prototype.moveCells = function(cells,
dx,
dy,
clone,
target,
evt)

Moves or clones the specified cells and moves the cells or clones by the given amount, adding them to the optional target cell.  The evt is the mouse event as the mouse was released.  The change is carried out using cellsMoved.  This method fires mxEvent.MOVE_CELLS while the transaction is in progress.  Returns the cells that were moved.

Use the following code to move all cells in the graph.

graph.moveCells(graph.getChildCells(null, true, true), 10, 10);

Parameters

cellsArray of mxCells to be moved, cloned or added to the target.
dxInteger that specifies the x-coordinate of the vector.  Default is 0.
dyInteger that specifies the y-coordinate of the vector.  Default is 0.
cloneBoolean indicating if the cells should be cloned.  Default is false.
targetmxCell that represents the new parent of the cells.
evtMouseevent that triggered the invocation.
+

moveCells

mxGraph.prototype.moveCells = function(cells,
dx,
dy,
clone,
target,
evt)

Moves or clones the specified cells and moves the cells or clones by the given amount, adding them to the optional target cell.  The evt is the mouse event as the mouse was released.  The change is carried out using cellsMoved.  This method fires mxEvent.MOVE_CELLS while the transaction is in progress.  Returns the cells that were moved.

Use the following code to move all cells in the graph.

graph.moveCells(graph.getChildCells(null, true, true), 10, 10);

Parameters

cellsArray of mxCells to be moved, cloned or added to the target.
dxInteger that specifies the x-coordinate of the vector.  Default is 0.
dyInteger that specifies the y-coordinate of the vector.  Default is 0.
cloneBoolean indicating if the cells should be cloned.  Default is false.
targetmxCell that represents the new parent of the cells.
evtMouseevent that triggered the invocation.
-

cellsMoved

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.  This method fires mxEvent.CELLS_MOVED while the transaction is in progress.

+

cellsMoved

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.  This method fires mxEvent.CELLS_MOVED while the transaction is in progress.

translateCell

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.

-

getCellContainmentArea

mxGraph.prototype.getCellContainmentArea = function(cell)

Returns the mxRectangle inside which a cell is to be kept.

Parameters

cellmxCell for which the area should be returned.
+

getCellContainmentArea

mxGraph.prototype.getCellContainmentArea = function(cell)

Returns the mxRectangle inside which a cell is to be kept.

Parameters

cellmxCell for which the area should be returned.
-

getMaximumGraphBounds

mxGraph.prototype.getMaximumGraphBounds = function()

Returns the bounds inside which the diagram should be kept as an mxRectangle.

+

getMaximumGraphBounds

mxGraph.prototype.getMaximumGraphBounds = function()

Returns the bounds inside which the diagram should be kept as an mxRectangle.

-

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.  This modifies the cell’s geometry in-place and does not clone it.

Parameters

cellsmxCell which should be constrained.
+

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.  This modifies the cell’s geometry in-place and does not clone it.

Parameters

cellsmxCell which should be constrained.
-

resetEdges

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.

Parameters

cellsArray of mxCells for which the connected edges should be reset.
+

resetEdges

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.

Parameters

cellsArray of mxCells for which the connected edges should be reset.
-

resetEdge

mxGraph.prototype.resetEdge = function(edge)

Resets the control points of the given edge.

Parameters

edgemxCell whose points should be reset.
+

resetEdge

mxGraph.prototype.resetEdge = function(edge)

Resets the control points of the given edge.

Parameters

edgemxCell whose points should be reset.

Cell connecting and connection constraints

-

getAllConnectionConstraints

mxGraph.prototype.getAllConnectionConstraints = function(terminal,
source)

Returns an array of all mxConnectionConstraints for the given terminal.  If the shape of the given terminal is a <mxStencilShape> then the constraints of the corresponding mxStencil are returned.

Parameters

terminalmxCellState that represents the terminal.
sourceBoolean that specifies if the terminal is the source or target.
+

getAllConnectionConstraints

mxGraph.prototype.getAllConnectionConstraints = function(terminal,
source)

Returns an array of all mxConnectionConstraints for the given terminal.  If the shape of the given terminal is a <mxStencilShape> then the constraints of the corresponding mxStencil are returned.

Parameters

terminalmxCellState that represents the terminal.
sourceBoolean that specifies if the terminal is the source or target.
-

getConnectionConstraint

mxGraph.prototype.getConnectionConstraint = function(edge,
terminal,
source)

Returns an mxConnectionConstraint that describes the given connection point.  This result can then be passed to getConnectionPoint.

Parameters

edgemxCellState that represents the edge.
terminalmxCellState that represents the terminal.
sourceBoolean indicating if the terminal is the source or target.
+

getConnectionConstraint

mxGraph.prototype.getConnectionConstraint = function(edge,
terminal,
source)

Returns an mxConnectionConstraint that describes the given connection point.  This result can then be passed to getConnectionPoint.

Parameters

edgemxCellState that represents the edge.
terminalmxCellState that represents the terminal.
sourceBoolean indicating if the terminal is the source or target.
-

setConnectionConstraint

mxGraph.prototype.setConnectionConstraint = function(edge,
terminal,
source,
constraint)

Sets the mxConnectionConstraint that describes the given connection point.  If no constraint is given then nothing is changed.  To remove an existing constraint from the given edge, use an empty constraint instead.

Parameters

edgemxCell that represents the edge.
terminalmxCell that represents the terminal.
sourceBoolean indicating if the terminal is the source or target.
constraintOptional mxConnectionConstraint to be used for this connection.
+

setConnectionConstraint

mxGraph.prototype.setConnectionConstraint = function(edge,
terminal,
source,
constraint)

Sets the mxConnectionConstraint that describes the given connection point.  If no constraint is given then nothing is changed.  To remove an existing constraint from the given edge, use an empty constraint instead.

Parameters

edgemxCell that represents the edge.
terminalmxCell that represents the terminal.
sourceBoolean indicating if the terminal is the source or target.
constraintOptional mxConnectionConstraint to be used for this connection.
-

getConnectionPoint

mxGraph.prototype.getConnectionPoint = function(vertex,
constraint)

Returns the nearest point in the list of absolute points or the center of the opposite terminal.

Parameters

vertexmxCellState that represents the vertex.
constraintmxConnectionConstraint that represents the connection point constraint as returned by getConnectionConstraint.
+

getConnectionPoint

mxGraph.prototype.getConnectionPoint = function(vertex,
constraint)

Returns the nearest point in the list of absolute points or the center of the opposite terminal.

Parameters

vertexmxCellState that represents the vertex.
constraintmxConnectionConstraint that represents the connection point constraint as returned by getConnectionConstraint.
-

connectCell

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.  Returns the updated edge.

Parameters

edgemxCell whose terminal should be updated.
terminalmxCell that represents the new terminal to be used.
sourceBoolean indicating if the new terminal is the source or target.
constraintOptional mxConnectionConstraint to be used for this connection.
+

connectCell

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.  Returns the updated edge.

Parameters

edgemxCell whose terminal should be updated.
terminalmxCell that represents the new terminal to be used.
sourceBoolean indicating if the new terminal is the source or target.
constraintOptional mxConnectionConstraint to be used for this connection.
-

cellConnected

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.  This method fires mxEvent.CELL_CONNECTED while the transaction is in progress.

Parameters

edgemxCell whose terminal should be updated.
terminalmxCell that represents the new terminal to be used.
sourceBoolean indicating if the new terminal is the source or target.
constraintmxConnectionConstraint to be used for this connection.
+

cellConnected

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.  This method fires mxEvent.CELL_CONNECTED while the transaction is in progress.

Parameters

edgemxCell whose terminal should be updated.
terminalmxCell that represents the new terminal to be used.
sourceBoolean indicating if the new terminal is the source or target.
constraintmxConnectionConstraint to be used for this connection.
-

disconnectGraph

mxGraph.prototype.disconnectGraph = function(cells)

Disconnects the given edges from the terminals which are not in the given array.

Parameters

cellsArray of mxCells to be disconnected.
+

disconnectGraph

mxGraph.prototype.disconnectGraph = function(cells)

Disconnects the given edges from the terminals which are not in the given array.

Parameters

cellsArray of mxCells to be disconnected.

Drilldown

-

getCurrentRoot

mxGraph.prototype.getCurrentRoot = function()

Returns the current root of the displayed cell hierarchy.  This is a shortcut to mxGraphView.currentRoot in view.

+

getCurrentRoot

mxGraph.prototype.getCurrentRoot = function()

Returns the current root of the displayed cell hierarchy.  This is a shortcut to mxGraphView.currentRoot in view.

-

getTranslateForRoot

mxGraph.prototype.getTranslateForRoot = function(cell)

Returns the translation to be used if the given cell is the root cell as an mxPoint.  This implementation returns null.

Example

To keep the children at their absolute position while stepping into groups, this function can be overridden as follows.

var offset = new mxPoint(0, 0);
+

getTranslateForRoot

mxGraph.prototype.getTranslateForRoot = function(cell)

Returns the translation to be used if the given cell is the root cell as an mxPoint.  This implementation returns null.

Example

To keep the children at their absolute position while stepping into groups, this function can be overridden as follows.

var offset = new mxPoint(0, 0);
 
 while (cell != null)
 {
@@ -718,32 +720,32 @@ while (cell != null)
   cell = this.model.getParent(cell);
 }
 
-return offset;

Parameters

cellmxCell that represents the root.
+return offset;

Parameters

cellmxCell that represents the root.

isPort

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.  Note that a port should not be movable.  This implementation always returns false.

A typical implementation is the following

graph.isPort = function(cell)
 {
   var geo = this.getCellGeometry(cell);
 
   return (geo != null) ? geo.relative : false;
-};

Parameters

cellmxCell that represents the port.
+};

Parameters

cellmxCell that represents the port.
-

getTerminalForPort

mxGraph.prototype.getTerminalForPort = function(cell,
source)

Returns the terminal to be used for a given port.  This implementation always returns the parent cell.

Parameters

cellmxCell that represents the port.
sourceIf the cell is the source or target port.
+

getTerminalForPort

mxGraph.prototype.getTerminalForPort = function(cell,
source)

Returns the terminal to be used for a given port.  This implementation always returns the parent cell.

Parameters

cellmxCell that represents the port.
sourceIf the cell is the source or target port.
-

getChildOffsetForCell

mxGraph.prototype.getChildOffsetForCell = function(cell)

Returns the offset to be used for the cells inside the given cell.  The root and layer cells may be identified using mxGraphModel.isRoot and mxGraphModel.isLayer.  For all other current roots, the mxGraphView.currentRoot field points to the respective cell, so that the following holds: cell == this.view.currentRoot.  This implementation returns null.

Parameters

cellmxCell whose offset should be returned.
+

getChildOffsetForCell

mxGraph.prototype.getChildOffsetForCell = function(cell)

Returns the offset to be used for the cells inside the given cell.  The root and layer cells may be identified using mxGraphModel.isRoot and mxGraphModel.isLayer.  For all other current roots, the mxGraphView.currentRoot field points to the respective cell, so that the following holds: cell == this.view.currentRoot.  This implementation returns null.

Parameters

cellmxCell whose offset should be returned.
-

enterGroup

mxGraph.prototype.enterGroup = function(cell)

Uses the given cell as the root of the displayed cell hierarchy.  If no cell is specified then the selection cell is used.  The cell is only used if isValidRoot returns true.

Parameters

cellOptional mxCell to be used as the new root.  Default is the selection cell.
+

enterGroup

mxGraph.prototype.enterGroup = function(cell)

Uses the given cell as the root of the displayed cell hierarchy.  If no cell is specified then the selection cell is used.  The cell is only used if isValidRoot returns true.

Parameters

cellOptional mxCell to be used as the new root.  Default is the selection cell.

exitGroup

mxGraph.prototype.exitGroup = function()

Changes the current root to the next valid root in the displayed cell hierarchy.

home

mxGraph.prototype.home = function()

Uses the root of the model as the root of the displayed cell hierarchy and selects the previous root.

-

isValidRoot

mxGraph.prototype.isValidRoot = function(cell)

Returns true if the given cell is a valid root for the cell display hierarchy.  This implementation returns true for all non-null values.

Parameters

cellmxCell which should be checked as a possible root.
+

isValidRoot

mxGraph.prototype.isValidRoot = function(cell)

Returns true if the given cell is a valid root for the cell display hierarchy.  This implementation returns true for all non-null values.

Parameters

cellmxCell which should be checked as a possible root.

Graph display

-

getGraphBounds

mxGraph.prototype.getGraphBounds = function()

Returns the bounds of the visible graph.  Shortcut to mxGraphView.getGraphBounds.  See also: getBoundingBoxFromGeometry.

+

getGraphBounds

mxGraph.prototype.getGraphBounds = function()

Returns the bounds of the visible graph.  Shortcut to mxGraphView.getGraphBounds.  See also: getBoundingBoxFromGeometry.

-

getCellBounds

mxGraph.prototype.getCellBounds = function(cell,
includeEdges,
includeDescendants)

Returns the scaled, translated bounds for the given cell.  See mxGraphView.getBounds for arrays.

Parameters

cellmxCell whose bounds should be returned.
includeEdgeOptional boolean that specifies if the bounds of the connected edges should be included.  Default is false.
includeDescendantsOptional boolean that specifies if the bounds of all descendants should be included.  Default is false.
+

getCellBounds

mxGraph.prototype.getCellBounds = function(cell,
includeEdges,
includeDescendants)

Returns the scaled, translated bounds for the given cell.  See mxGraphView.getBounds for arrays.

Parameters

cellmxCell whose bounds should be returned.
includeEdgeOptional boolean that specifies if the bounds of the connected edges should be included.  Default is false.
includeDescendantsOptional boolean that specifies if the bounds of all descendants should be included.  Default is false.

getBoundingBoxFromGeometry

mxGraph.prototype.getBoundingBoxFromGeometry = function(cells,
includeEdges)

Returns the bounding box for the geometries of the vertices in the given array of cells.  This can be used to find the graph bounds during a layout operation (ie. before the last endUpdate) as follows:

var cells = graph.getChildCells(graph.getDefaultParent(), true, true);
 var bounds = graph.getBoundingBoxFromGeometry(cells, true);

This can then be used to move cells to the origin

if (bounds.x < 0 || bounds.y < 0)
@@ -752,45 +754,45 @@ var bounds = graph.getBoundingBoxFromGeometry(cells, true);

Or to translate the graph view

if (bounds.x < 0 || bounds.y < 0)
 {
   graph.view.setTranslate(-Math.min(bounds.x, 0), -Math.min(bounds.y, 0));
-}

Parameters

cellsArray of mxCells whose bounds should be returned.
includeEdgesSpecifies if edge bounds should be included by computing the bounding box for all points its geometry.  Default is false.
+}

Parameters

cellsArray of mxCells whose bounds should be returned.
includeEdgesSpecifies if edge bounds should be included by computing the bounding box for all points its geometry.  Default is false.
-

refresh

mxGraph.prototype.refresh = function(cell)

Clears all cell states or the states for the hierarchy starting at the given cell and validates the graph.  This fires a refresh event as the last step.

Parameters

cellOptional mxCell for which the cell states should be cleared.
+

refresh

mxGraph.prototype.refresh = function(cell)

Clears all cell states or the states for the hierarchy starting at the given cell and validates the graph.  This fires a refresh event as the last step.

Parameters

cellOptional mxCell for which the cell states should be cleared.
-

snap

mxGraph.prototype.snap = function(value)

Snaps the given numeric value to the grid if gridEnabled is true.

Parameters

valueNumeric value to be snapped to the grid.
+

snap

mxGraph.prototype.snap = function(value)

Snaps the given numeric value to the grid if gridEnabled is true.

Parameters

valueNumeric value to be snapped to the grid.
-

panGraph

mxGraph.prototype.panGraph = function(dx,
dy)

Shifts the graph display by the given amount.  This is used to preview panning operations, use mxGraphView.setTranslate to set a persistent translation of the view.  Fires mxEvent.PAN.

Parameters

dxAmount to shift the graph along the x-axis.
dyAmount to shift the graph along the y-axis.
+

panGraph

mxGraph.prototype.panGraph = function(dx,
dy)

Shifts the graph display by the given amount.  This is used to preview panning operations, use mxGraphView.setTranslate to set a persistent translation of the view.  Fires mxEvent.PAN.

Parameters

dxAmount to shift the graph along the x-axis.
dyAmount to shift the graph along the y-axis.
-

zoomIn

mxGraph.prototype.zoomIn = function()

Zooms into the graph by zoomFactor.

+

zoomIn

mxGraph.prototype.zoomIn = function()

Zooms into the graph by zoomFactor.

-

zoomOut

mxGraph.prototype.zoomOut = function()

Zooms out of the graph by zoomFactor.

+

zoomOut

mxGraph.prototype.zoomOut = function()

Zooms out of the graph by zoomFactor.

zoomActual

mxGraph.prototype.zoomActual = function()

Resets the zoom and panning in the view.

-

zoomTo

mxGraph.prototype.zoomTo = function(scale,
center)

Zooms the graph to the given scale with an optional boolean center argument, which is passd to zoom.

+

zoomTo

mxGraph.prototype.zoomTo = function(scale,
center)

Zooms the graph to the given scale with an optional boolean center argument, which is passd to zoom.

-

zoom

mxGraph.prototype.zoom = function(factor,
center)

Zooms the graph using the given factor.  Center is an optional boolean argument that keeps the graph scrolled to the center.  If the center argument is omitted, then centerZoom will be used as its value.

+

zoom

mxGraph.prototype.zoom = function(factor,
center)

Zooms the graph using the given factor.  Center is an optional boolean argument that keeps the graph scrolled to the center.  If the center argument is omitted, then centerZoom will be used as its value.

zoomToRect

mxGraph.prototype.zoomToRect = function(rect)

Zooms the graph to the specified rectangle.  If the rectangle does not have same aspect ratio as the display container, it is increased in the smaller relative dimension only until the aspect match.  The original rectangle is centralised within this expanded one.

Note that the input rectangular must be un-scaled and un-translated.

Parameters

rectThe un-scaled and un-translated rectangluar region that should be just visible after the operation
-

fit

mxGraph.prototype.fit = function(border,
keepOrigin)

Scales the graph such that the complete diagram fits into <container> and returns the current scale in the view.  To fit an initial graph prior to rendering, set mxGraphView.rendering to false prior to changing the model and execute the following after changing the model.

graph.fit();
+

fit

mxGraph.prototype.fit = function(border,
keepOrigin)

Scales the graph such that the complete diagram fits into <container> and returns the current scale in the view.  To fit an initial graph prior to rendering, set mxGraphView.rendering to false prior to changing the model and execute the following after changing the model.

graph.fit();
 graph.view.rendering = true;
 graph.refresh();

Parameters

borderOptional number that specifies the border.  Default is 0.
keepOriginOptional boolean that specifies if the translate should be changed.  Default is false.
-

scrollCellToVisible

mxGraph.prototype.scrollCellToVisible = function(cell,
center)

Pans the graph so that it shows the given cell.  Optionally the cell may be centered in the container.

To center a given graph if the <container> has no scrollbars, use the following code.

[code] var bounds = graph.getGraphBounds(); graph.view.setTranslate(-bounds.x - (bounds.width - container.clientWidth) / 2, -bounds.y - (bounds.height - container.clientHeight) / 2); [/code]

Parameters

cellmxCell to be made visible.
centerOptional boolean flag.  Default is false.
+

scrollCellToVisible

mxGraph.prototype.scrollCellToVisible = function(cell,
center)

Pans the graph so that it shows the given cell.  Optionally the cell may be centered in the container.

To center a given graph if the <container> has no scrollbars, use the following code.

[code] var bounds = graph.getGraphBounds(); graph.view.setTranslate(-bounds.x - (bounds.width - container.clientWidth) / 2, -bounds.y - (bounds.height - container.clientHeight) / 2); [/code]

Parameters

cellmxCell to be made visible.
centerOptional boolean flag.  Default is false.
-

scrollRectToVisible

mxGraph.prototype.scrollRectToVisible = function(rect)

Pans the graph so that it shows the given rectangle.

Parameters

rectmxRectangle to be made visible.
+

scrollRectToVisible

mxGraph.prototype.scrollRectToVisible = function(rect)

Pans the graph so that it shows the given rectangle.

Parameters

rectmxRectangle to be made visible.
-

getCellGeometry

mxGraph.prototype.getCellGeometry = function(cell)

Returns the mxGeometry for the given cell.  This implementation uses mxGraphModel.getGeometry.  Subclasses can override this to implement specific geometries for cells in only one graph, that is, it can return geometries that depend on the current state of the view.

Parameters

cellmxCell whose geometry should be returned.
+

getCellGeometry

mxGraph.prototype.getCellGeometry = function(cell)

Returns the mxGeometry for the given cell.  This implementation uses mxGraphModel.getGeometry.  Subclasses can override this to implement specific geometries for cells in only one graph, that is, it can return geometries that depend on the current state of the view.

Parameters

cellmxCell whose geometry should be returned.
-

isCellVisible

mxGraph.prototype.isCellVisible = function(cell)

Returns true if the given cell is visible in this graph.  This implementation uses mxGraphModel.isVisible.  Subclassers can override this to implement specific visibility for cells in only one graph, that is, without affecting the visible state of the cell.

When using dynamic filter expressions for cell visibility, then the graph should be revalidated after the filter expression has changed.

Parameters

cellmxCell whose visible state should be returned.
+

isCellVisible

mxGraph.prototype.isCellVisible = function(cell)

Returns true if the given cell is visible in this graph.  This implementation uses mxGraphModel.isVisible.  Subclassers can override this to implement specific visibility for cells in only one graph, that is, without affecting the visible state of the cell.

When using dynamic filter expressions for cell visibility, then the graph should be revalidated after the filter expression has changed.

Parameters

cellmxCell whose visible state should be returned.
-

isCellCollapsed

mxGraph.prototype.isCellCollapsed = function(cell)

Returns true if the given cell is collapsed in this graph.  This implementation uses mxGraphModel.isCollapsed.  Subclassers can override this to implement specific collapsed states for cells in only one graph, that is, without affecting the collapsed state of the cell.

When using dynamic filter expressions for the collapsed state, then the graph should be revalidated after the filter expression has changed.

Parameters

cellmxCell whose collapsed state should be returned.
+

isCellCollapsed

mxGraph.prototype.isCellCollapsed = function(cell)

Returns true if the given cell is collapsed in this graph.  This implementation uses mxGraphModel.isCollapsed.  Subclassers can override this to implement specific collapsed states for cells in only one graph, that is, without affecting the collapsed state of the cell.

When using dynamic filter expressions for the collapsed state, then the graph should be revalidated after the filter expression has changed.

Parameters

cellmxCell whose collapsed state should be returned.
-

isCellConnectable

mxGraph.prototype.isCellConnectable = function(cell)

Returns true if the given cell is connectable in this graph.  This implementation uses mxGraphModel.isConnectable.  Subclassers can override this to implement specific connectable states for cells in only one graph, that is, without affecting the connectable state of the cell in the model.

Parameters

cellmxCell whose connectable state should be returned.
+

isCellConnectable

mxGraph.prototype.isCellConnectable = function(cell)

Returns true if the given cell is connectable in this graph.  This implementation uses mxGraphModel.isConnectable.  Subclassers can override this to implement specific connectable states for cells in only one graph, that is, without affecting the connectable state of the cell in the model.

Parameters

cellmxCell whose connectable state should be returned.
-

isOrthogonal

mxGraph.prototype.isOrthogonal = function(edge)

Returns true if perimeter points should be computed such that the resulting edge has only horizontal or vertical segments.

Parameters

edgemxCellState that represents the edge.
+

isOrthogonal

mxGraph.prototype.isOrthogonal = function(edge)

Returns true if perimeter points should be computed such that the resulting edge has only horizontal or vertical segments.

Parameters

edgemxCellState that represents the edge.
-

isLoop

mxGraph.prototype.isLoop = function(state)

Returns true if the given cell state is a loop.

Parameters

statemxCellState that represents a potential loop.
+

isLoop

mxGraph.prototype.isLoop = function(state)

Returns true if the given cell state is a loop.

Parameters

statemxCellState that represents a potential loop.

isCloneEvent

mxGraph.prototype.isCloneEvent = function(evt)

Returns true if the given event is a clone event.  This implementation returns true if control is pressed.

@@ -804,9 +806,9 @@ graph.refresh();

Parameters

validationAlert

mxGraph.prototype.validationAlert = function(message)

Displays the given validation error in a dialog.  This implementation uses mxUtils.alert.

-

isEdgeValid

mxGraph.prototype.isEdgeValid = function(edge,
source,
target)

Checks if the return value of getEdgeValidationError for the given arguments is null.

Parameters

edgemxCell that represents the edge to validate.
sourcemxCell that represents the source terminal.
targetmxCell that represents the target terminal.
+

isEdgeValid

mxGraph.prototype.isEdgeValid = function(edge,
source,
target)

Checks if the return value of getEdgeValidationError for the given arguments is null.

Parameters

edgemxCell that represents the edge to validate.
sourcemxCell that represents the source terminal.
targetmxCell that represents the target terminal.
-

getEdgeValidationError

mxGraph.prototype.getEdgeValidationError = function(edge,
source,
target)

Returns the validation error message to be displayed when inserting or changing an edges’ connectivity.  A return value of null means the edge is valid, a return value of ‘’ means it’s not valid, but do not display an error message.  Any other (non-empty) string returned from this method is displayed as an error message when trying to connect an edge to a source and target.  This implementation uses the multiplicities, and checks multigraph, allowDanglingEdges and allowLoops to generate validation errors.

For extending this method with specific checks for source/target cells, the method can be extended as follows.  Returning an empty string means the edge is invalid with no error message, a non-null string specifies the error message, and null means the edge is valid.

graph.getEdgeValidationError = function(edge, source, target)
+

getEdgeValidationError

mxGraph.prototype.getEdgeValidationError = function(edge,
source,
target)

Returns the validation error message to be displayed when inserting or changing an edges’ connectivity.  A return value of null means the edge is valid, a return value of ‘’ means it’s not valid, but do not display an error message.  Any other (non-empty) string returned from this method is displayed as an error message when trying to connect an edge to a source and target.  This implementation uses the multiplicities, and checks multigraph, allowDanglingEdges and allowLoops to generate validation errors.

For extending this method with specific checks for source/target cells, the method can be extended as follows.  Returning an empty string means the edge is invalid with no error message, a non-null string specifies the error message, and null means the edge is valid.

graph.getEdgeValidationError = function(edge, source, target)
 {
   if (source != null && target != null &&
     this.model.getValue(source) != null &&
@@ -820,30 +822,30 @@ graph.refresh();

Parameters

Parameters

edgemxCell that represents the edge to validate.
sourcemxCell that represents the source terminal.
targetmxCell that represents the target terminal.
+}

Parameters

edgemxCell that represents the edge to validate.
sourcemxCell that represents the source terminal.
targetmxCell that represents the target terminal.
-

validateEdge

mxGraph.prototype.validateEdge = function(edge,
source,
target)

Hook method for subclassers to return an error message for the given edge and terminals.  This implementation returns null.

Parameters

edgemxCell that represents the edge to validate.
sourcemxCell that represents the source terminal.
targetmxCell that represents the target terminal.
+

validateEdge

mxGraph.prototype.validateEdge = function(edge,
source,
target)

Hook method for subclassers to return an error message for the given edge and terminals.  This implementation returns null.

Parameters

edgemxCell that represents the edge to validate.
sourcemxCell that represents the source terminal.
targetmxCell that represents the target terminal.
-

validateGraph

mxGraph.prototype.validateGraph = function(cell,
context)

Validates the graph by validating each descendant of the given cell or the root of the model.  Context is an object that contains the validation state for the complete validation run.  The validation errors are attached to their cells using setCellWarning.  This function returns true if no validation errors exist in the graph.

Paramters

cellOptional mxCell to start the validation recursion.  Default is the graph root.
contextObject that represents the global validation state.
+

validateGraph

mxGraph.prototype.validateGraph = function(cell,
context)

Validates the graph by validating each descendant of the given cell or the root of the model.  Context is an object that contains the validation state for the complete validation run.  The validation errors are attached to their cells using setCellWarning.  This function returns true if no validation errors exist in the graph.

Paramters

cellOptional mxCell to start the validation recursion.  Default is the graph root.
contextObject that represents the global validation state.
-

getCellValidationError

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.

Parameters

cellmxCell for which the multiplicities should be checked.
+

getCellValidationError

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.

Parameters

cellmxCell for which the multiplicities should be checked.
-

validateCell

mxGraph.prototype.validateCell = function(cell,
context)

Hook method for subclassers to return an error message for the given cell and validation context.  This implementation returns null.  Any HTML breaks will be converted to linefeeds in the calling method.

Parameters

cellmxCell that represents the cell to validate.
contextObject that represents the global validation state.
+

validateCell

mxGraph.prototype.validateCell = function(cell,
context)

Hook method for subclassers to return an error message for the given cell and validation context.  This implementation returns null.  Any HTML breaks will be converted to linefeeds in the calling method.

Parameters

cellmxCell that represents the cell to validate.
contextObject that represents the global validation state.

Graph appearance

-

getBackgroundImage

mxGraph.prototype.getBackgroundImage = function()

Returns the backgroundImage as an mxImage.

+

getBackgroundImage

mxGraph.prototype.getBackgroundImage = function()

Returns the backgroundImage as an mxImage.

-

setBackgroundImage

mxGraph.prototype.setBackgroundImage = function(image)

Sets the new backgroundImage.

Parameters

imageNew mxImage to be used for the background.
+

setBackgroundImage

mxGraph.prototype.setBackgroundImage = function(image)

Sets the new backgroundImage.

Parameters

imageNew mxImage to be used for the background.
-

getFoldingImage

mxGraph.prototype.getFoldingImage = function(state)

Returns the mxImage used to display the collapsed state of the specified cell state.  This returns null for all edges.

+

getFoldingImage

mxGraph.prototype.getFoldingImage = function(state)

Returns the mxImage used to display the collapsed state of the specified cell state.  This returns null for all edges.

convertValueToString

mxGraph.prototype.convertValueToString = function(cell)

Returns the textual representation for the given cell.  This implementation returns the nodename or string-representation of the user object.

Example

The following returns the label attribute from the cells user object if it is an XML node.

graph.convertValueToString = function(cell)
 {
  return cell.getAttribute('label');
-}

See also: cellLabelChanged.

Parameters

cellmxCell whose textual representation should be returned.
+}

See also: cellLabelChanged.

Parameters

cellmxCell whose textual representation should be returned.
-

getLabel

mxGraph.prototype.getLabel = function(cell)

Returns a string or DOM node that represents the label for the given cell.  This implementation uses convertValueToString if labelsVisible is true.  Otherwise it returns an empty string.

To truncate a label to match the size of the cell, the following code can be used.

graph.getLabel = function(cell)
+

getLabel

mxGraph.prototype.getLabel = function(cell)

Returns a string or DOM node that represents the label for the given cell.  This implementation uses convertValueToString if labelsVisible is true.  Otherwise it returns an empty string.

To truncate a label to match the size of the cell, the following code can be used.

graph.getLabel = function(cell)
 {
   var label = mxGraph.prototype.getLabel.apply(this, arguments);
 
@@ -870,15 +872,15 @@ graph.refresh();

Parameters

Parameters

cellmxCell whose label should be returned.
+});

Parameters

cellmxCell whose label should be returned.
-

isHtmlLabel

mxGraph.prototype.isHtmlLabel = function(cell)

Returns true if the label must be rendered as HTML markup.  The default implementation returns htmlLabels.

Parameters

cellmxCell whose label should be displayed as HTML markup.
+

isHtmlLabel

mxGraph.prototype.isHtmlLabel = function(cell)

Returns true if the label must be rendered as HTML markup.  The default implementation returns htmlLabels.

Parameters

cellmxCell whose label should be displayed as HTML markup.
-

isHtmlLabels

mxGraph.prototype.isHtmlLabels = function()

Returns htmlLabels.

+

isHtmlLabels

mxGraph.prototype.isHtmlLabels = function()

Returns htmlLabels.

-

setHtmlLabels

mxGraph.prototype.setHtmlLabels = function(value)

Sets htmlLabels.

+

setHtmlLabels

mxGraph.prototype.setHtmlLabels = function(value)

Sets htmlLabels.

-

isWrapping

mxGraph.prototype.isWrapping = function(cell)

This enables wrapping for HTML labels.

Returns true if no white-space CSS style directive should be used for displaying the given cells label.  This implementation returns true if mxConstants.STYLE_WHITE_SPACE in the style of the given cell is ‘wrap’.

This is used as a workaround for IE ignoring the white-space directive of child elements if the directive appears in a parent element.  It should be overridden to return true if a white-space directive is used in the HTML markup that represents the given cells label.  In order for HTML markup to work in labels, isHtmlLabel must also return true for the given cell.

Example

graph.getLabel = function(cell)
+

isWrapping

mxGraph.prototype.isWrapping = function(cell)

This enables wrapping for HTML labels.

Returns true if no white-space CSS style directive should be used for displaying the given cells label.  This implementation returns true if mxConstants.STYLE_WHITE_SPACE in the style of the given cell is ‘wrap’.

This is used as a workaround for IE ignoring the white-space directive of child elements if the directive appears in a parent element.  It should be overridden to return true if a white-space directive is used in the HTML markup that represents the given cells label.  In order for HTML markup to work in labels, isHtmlLabel must also return true for the given cell.

Example

graph.getLabel = function(cell)
 {
   var tmp = mxGraph.prototype.getLabel.apply(this, arguments); // "supercall"
 
@@ -893,353 +895,353 @@ graph.refresh();

Parameters

Makes sure no edge label is wider than 150 pixels, otherwise the content is wrapped.  Note: No width must be specified for wrapped vertex labels as the vertex defines the width in its geometry.

Parameters

statemxCell whose label should be wrapped.
+}

Makes sure no edge label is wider than 150 pixels, otherwise the content is wrapped.  Note: No width must be specified for wrapped vertex labels as the vertex defines the width in its geometry.

Parameters

statemxCell whose label should be wrapped.
-

isLabelClipped

mxGraph.prototype.isLabelClipped = function(cell)

Returns true if the overflow portion of labels should be hidden.  If this returns true then vertex labels will be clipped to the size of the vertices.  This implementation returns true if mxConstants.STYLE_OVERFLOW in the style of the given cell is ‘hidden’.

Parameters

statemxCell whose label should be clipped.
+

isLabelClipped

mxGraph.prototype.isLabelClipped = function(cell)

Returns true if the overflow portion of labels should be hidden.  If this returns true then vertex labels will be clipped to the size of the vertices.  This implementation returns true if mxConstants.STYLE_OVERFLOW in the style of the given cell is ‘hidden’.

Parameters

statemxCell whose label should be clipped.
-

getTooltip

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.  This implementation checks if the given node is a folding icon or overlay and returns the respective tooltip.  If this does not result in a tooltip, the handler for the cell is retrieved from <selectionCellsHandler> and the optional getTooltipForNode method is called.  If no special tooltip exists here then getTooltipForCell is used with the cell in the given state as the argument to return a tooltip for the given state.

Parameters

statemxCellState whose tooltip should be returned.
nodeDOM node that is currently under the mouse.
xX-coordinate of the mouse.
yY-coordinate of the mouse.
+

getTooltip

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.  This implementation checks if the given node is a folding icon or overlay and returns the respective tooltip.  If this does not result in a tooltip, the handler for the cell is retrieved from <selectionCellsHandler> and the optional getTooltipForNode method is called.  If no special tooltip exists here then getTooltipForCell is used with the cell in the given state as the argument to return a tooltip for the given state.

Parameters

statemxCellState whose tooltip should be returned.
nodeDOM node that is currently under the mouse.
xX-coordinate of the mouse.
yY-coordinate of the mouse.
-

getTooltipForCell

mxGraph.prototype.getTooltipForCell = function(cell)

Returns the string or DOM node to be used as the tooltip for the given cell.  This implementation uses the cells getTooltip function if it exists, or else it returns convertValueToString for the cell.

Example

graph.getTooltipForCell = function(cell)
+

getTooltipForCell

mxGraph.prototype.getTooltipForCell = function(cell)

Returns the string or DOM node to be used as the tooltip for the given cell.  This implementation uses the cells getTooltip function if it exists, or else it returns convertValueToString for the cell.

Example

graph.getTooltipForCell = function(cell)
 {
   return 'Hello, World!';
-}

Replaces all tooltips with the string Hello, World!

Parameters

cellmxCell whose tooltip should be returned.
+}

Replaces all tooltips with the string Hello, World!

Parameters

cellmxCell whose tooltip should be returned.
-

getCursorForMouseEvent

mxGraph.prototype.getCursorForMouseEvent = function(me)

Returns the cursor value to be used for the CSS of the shape for the given event.  This implementation calls getCursorForCell.

Parameters

memxMouseEvent whose cursor should be returned.
+

getCursorForMouseEvent

mxGraph.prototype.getCursorForMouseEvent = function(me)

Returns the cursor value to be used for the CSS of the shape for the given event.  This implementation calls getCursorForCell.

Parameters

memxMouseEvent whose cursor should be returned.
-

getCursorForCell

mxGraph.prototype.getCursorForCell = function(cell)

Returns the cursor value to be used for the CSS of the shape for the given cell.  This implementation returns null.

Parameters

cellmxCell whose cursor should be returned.
+

getCursorForCell

mxGraph.prototype.getCursorForCell = function(cell)

Returns the cursor value to be used for the CSS of the shape for the given cell.  This implementation returns null.

Parameters

cellmxCell whose cursor should be returned.
-

getStartSize

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.  The return value is an mxRectangle with either width or height set as appropriate.

Parameters

swimlanemxCell whose start size should be returned.
+

getStartSize

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.  The return value is an mxRectangle with either width or height set as appropriate.

Parameters

swimlanemxCell whose start size should be returned.
-

getImage

mxGraph.prototype.getImage = function(state)

Returns the image URL for the given cell state.  This implementation returns the value stored under mxConstants.STYLE_IMAGE in the cell style.

Parameters

statemxCellState whose image URL should be returned.
+

getImage

mxGraph.prototype.getImage = function(state)

Returns the image URL for the given cell state.  This implementation returns the value stored under mxConstants.STYLE_IMAGE in the cell style.

Parameters

statemxCellState whose image URL should be returned.
-

getVerticalAlign

mxGraph.prototype.getVerticalAlign = function(state)

Returns the vertical alignment for the given cell state.  This implementation returns the value stored under mxConstants.STYLE_VERTICAL_ALIGN in the cell style.

Parameters

statemxCellState whose vertical alignment should be returned.
+

getVerticalAlign

mxGraph.prototype.getVerticalAlign = function(state)

Returns the vertical alignment for the given cell state.  This implementation returns the value stored under mxConstants.STYLE_VERTICAL_ALIGN in the cell style.

Parameters

statemxCellState whose vertical alignment should be returned.
-

getIndicatorColor

mxGraph.prototype.getIndicatorColor = function(state)

Returns the indicator color for the given cell state.  This implementation returns the value stored under mxConstants.STYLE_INDICATOR_COLOR in the cell style.

Parameters

statemxCellState whose indicator color should be returned.
+

getIndicatorColor

mxGraph.prototype.getIndicatorColor = function(state)

Returns the indicator color for the given cell state.  This implementation returns the value stored under mxConstants.STYLE_INDICATOR_COLOR in the cell style.

Parameters

statemxCellState whose indicator color should be returned.
-

getIndicatorGradientColor

mxGraph.prototype.getIndicatorGradientColor = function(state)

Returns the indicator gradient color for the given cell state.  This implementation returns the value stored under mxConstants.STYLE_INDICATOR_GRADIENTCOLOR in the cell style.

Parameters

statemxCellState whose indicator gradient color should be returned.
+

getIndicatorGradientColor

mxGraph.prototype.getIndicatorGradientColor = function(state)

Returns the indicator gradient color for the given cell state.  This implementation returns the value stored under mxConstants.STYLE_INDICATOR_GRADIENTCOLOR in the cell style.

Parameters

statemxCellState whose indicator gradient color should be returned.
-

getIndicatorShape

mxGraph.prototype.getIndicatorShape = function(state)

Returns the indicator shape for the given cell state.  This implementation returns the value stored under mxConstants.STYLE_INDICATOR_SHAPE in the cell style.

Parameters

statemxCellState whose indicator shape should be returned.
+

getIndicatorShape

mxGraph.prototype.getIndicatorShape = function(state)

Returns the indicator shape for the given cell state.  This implementation returns the value stored under mxConstants.STYLE_INDICATOR_SHAPE in the cell style.

Parameters

statemxCellState whose indicator shape should be returned.
-

getIndicatorImage

mxGraph.prototype.getIndicatorImage = function(state)

Returns the indicator image for the given cell state.  This implementation returns the value stored under mxConstants.STYLE_INDICATOR_IMAGE in the cell style.

Parameters

statemxCellState whose indicator image should be returned.
+

getIndicatorImage

mxGraph.prototype.getIndicatorImage = function(state)

Returns the indicator image for the given cell state.  This implementation returns the value stored under mxConstants.STYLE_INDICATOR_IMAGE in the cell style.

Parameters

statemxCellState whose indicator image should be returned.
-

getBorder

mxGraph.prototype.getBorder = function()

Returns the value of border.

+

getBorder

mxGraph.prototype.getBorder = function()

Returns the value of border.

-

setBorder

mxGraph.prototype.setBorder = function(value)

Sets the value of border.

Parameters

valuePositive integer that represents the border to be used.
+

setBorder

mxGraph.prototype.setBorder = function(value)

Sets the value of border.

Parameters

valuePositive integer that represents the border to be used.
-

isSwimlane

mxGraph.prototype.isSwimlane = function (cell)

Returns true if the given cell is a swimlane in the graph.  A swimlane is a container cell with some specific behaviour.  This implementation checks if the shape associated with the given cell is a mxSwimlane.

Parameters

cellmxCell to be checked.
+

isSwimlane

mxGraph.prototype.isSwimlane = function (cell)

Returns true if the given cell is a swimlane in the graph.  A swimlane is a container cell with some specific behaviour.  This implementation checks if the shape associated with the given cell is a mxSwimlane.

Parameters

cellmxCell to be checked.

Graph behaviour

-

isResizeContainer

mxGraph.prototype.isResizeContainer = function()

Returns resizeContainer.

+

isResizeContainer

mxGraph.prototype.isResizeContainer = function()

Returns resizeContainer.

-

setResizeContainer

mxGraph.prototype.setResizeContainer = function(value)

Sets resizeContainer.

Parameters

valueBoolean indicating if the container should be resized.
+

setResizeContainer

mxGraph.prototype.setResizeContainer = function(value)

Sets resizeContainer.

Parameters

valueBoolean indicating if the container should be resized.
-

isEnabled

mxGraph.prototype.isEnabled = function()

Returns true if the graph is enabled.

+

isEnabled

mxGraph.prototype.isEnabled = function()

Returns true if the graph is enabled.

-

setEnabled

mxGraph.prototype.setEnabled = function(value)

Specifies if the graph should allow any interactions.  This implementation updates enabled.

Parameters

valueBoolean indicating if the graph should be enabled.
+

setEnabled

mxGraph.prototype.setEnabled = function(value)

Specifies if the graph should allow any interactions.  This implementation updates enabled.

Parameters

valueBoolean indicating if the graph should be enabled.
-

isEscapeEnabled

mxGraph.prototype.isEscapeEnabled = function()

Returns escapeEnabled.

+

isEscapeEnabled

mxGraph.prototype.isEscapeEnabled = function()

Returns escapeEnabled.

-

setEscapeEnabled

mxGraph.prototype.setEscapeEnabled = function(value)

Sets escapeEnabled.

Parameters

enabledBoolean indicating if escape should be enabled.
+

setEscapeEnabled

mxGraph.prototype.setEscapeEnabled = function(value)

Sets escapeEnabled.

Parameters

enabledBoolean indicating if escape should be enabled.
-

isInvokesStopCellEditing

mxGraph.prototype.isInvokesStopCellEditing = function()

Returns invokesStopCellEditing.

+

isInvokesStopCellEditing

mxGraph.prototype.isInvokesStopCellEditing = function()

Returns invokesStopCellEditing.

-

setInvokesStopCellEditing

mxGraph.prototype.setInvokesStopCellEditing = function(value)

Sets invokesStopCellEditing.

+

setInvokesStopCellEditing

mxGraph.prototype.setInvokesStopCellEditing = function(value)

Sets invokesStopCellEditing.

-

isEnterStopsCellEditing

mxGraph.prototype.isEnterStopsCellEditing = function()

Returns enterStopsCellEditing.

+

isEnterStopsCellEditing

mxGraph.prototype.isEnterStopsCellEditing = function()

Returns enterStopsCellEditing.

-

setEnterStopsCellEditing

mxGraph.prototype.setEnterStopsCellEditing = function(value)

Sets enterStopsCellEditing.

+

setEnterStopsCellEditing

mxGraph.prototype.setEnterStopsCellEditing = function(value)

Sets enterStopsCellEditing.

-

isCellLocked

mxGraph.prototype.isCellLocked = function(cell)

Returns true if the given cell may not be moved, sized, bended, disconnected, edited or selected.  This implementation returns true for all vertices with a relative geometry if <locked> is false.

Parameters

cellmxCell whose locked state should be returned.
+

isCellLocked

mxGraph.prototype.isCellLocked = function(cell)

Returns true if the given cell may not be moved, sized, bended, disconnected, edited or selected.  This implementation returns true for all vertices with a relative geometry if <locked> is false.

Parameters

cellmxCell whose locked state should be returned.
-

isCellsLocked

mxGraph.prototype.isCellsLocked = function()

Returns true if the given cell may not be moved, sized, bended, disconnected, edited or selected.  This implementation returns true for all vertices with a relative geometry if <locked> is false.

Parameters

cellmxCell whose locked state should be returned.
+

isCellsLocked

mxGraph.prototype.isCellsLocked = function()

Returns true if the given cell may not be moved, sized, bended, disconnected, edited or selected.  This implementation returns true for all vertices with a relative geometry if <locked> is false.

Parameters

cellmxCell whose locked state should be returned.
-

setLocked

Sets if any cell may be moved, sized, bended, disconnected, edited or selected.

Parameters

valueBoolean that defines the new value for cellsLocked.
+

setLocked

Sets if any cell may be moved, sized, bended, disconnected, edited or selected.

Parameters

valueBoolean that defines the new value for cellsLocked.

getCloneableCells

mxGraph.prototype.getCloneableCells = function(cells)

Returns the cells which may be exported in the given array of cells.

-

isCellCloneable

mxGraph.prototype.isCellCloneable = function(cell)

Returns true if the given cell is cloneable.  This implementation returns isCellsCloneable for all cells unless a cell style specifies mxConstants.STYLE_CLONEABLE to be 0.

Parameters

cellOptional mxCell whose cloneable state should be returned.
+

isCellCloneable

mxGraph.prototype.isCellCloneable = function(cell)

Returns true if the given cell is cloneable.  This implementation returns isCellsCloneable for all cells unless a cell style specifies mxConstants.STYLE_CLONEABLE to be 0.

Parameters

cellOptional mxCell whose cloneable state should be returned.
-

isCellsCloneable

mxGraph.prototype.isCellsCloneable = function()

Returns cellsCloneable, that is, if the graph allows cloning of cells by using control-drag.

+

isCellsCloneable

mxGraph.prototype.isCellsCloneable = function()

Returns cellsCloneable, that is, if the graph allows cloning of cells by using control-drag.

-

setCellsCloneable

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.  This implementation updates cellsCloneable.

Parameters

valueBoolean indicating if the graph should be cloneable.
+

setCellsCloneable

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.  This implementation updates cellsCloneable.

Parameters

valueBoolean indicating if the graph should be cloneable.

getExportableCells

mxGraph.prototype.getExportableCells = function(cells)

Returns the cells which may be exported in the given array of cells.

-

canExportCell

mxGraph.prototype.canExportCell = function(cell)

Returns true if the given cell may be exported to the clipboard.  This implementation returns exportEnabled for all cells.

Parameters

cellmxCell that represents the cell to be exported.
+

canExportCell

mxGraph.prototype.canExportCell = function(cell)

Returns true if the given cell may be exported to the clipboard.  This implementation returns exportEnabled for all cells.

Parameters

cellmxCell that represents the cell to be exported.

getImportableCells

mxGraph.prototype.getImportableCells = function(cells)

Returns the cells which may be imported in the given array of cells.

-

canImportCell

mxGraph.prototype.canImportCell = function(cell)

Returns true if the given cell may be imported from the clipboard.  This implementation returns importEnabled for all cells.

Parameters

cellmxCell that represents the cell to be imported.
+

canImportCell

mxGraph.prototype.canImportCell = function(cell)

Returns true if the given cell may be imported from the clipboard.  This implementation returns importEnabled for all cells.

Parameters

cellmxCell that represents the cell to be imported.
-

isCellSelectable

mxGraph.prototype.isCellSelectable = function(cell)

Returns true if the given cell is selectable.  This implementation returns cellsSelectable.

To add a new style for making cells (un)selectable, use the following code.

mxGraph.prototype.isCellSelectable = function(cell)
+

isCellSelectable

mxGraph.prototype.isCellSelectable = function(cell)

Returns true if the given cell is selectable.  This implementation returns cellsSelectable.

To add a new style for making cells (un)selectable, use the following code.

mxGraph.prototype.isCellSelectable = function(cell)
 {
   var state = this.view.getState(cell);
   var style = (state != null) ? state.style : this.getCellStyle(cell);
 
   return this.isCellsSelectable() && !this.isCellLocked(cell) && style['selectable'] != 0;
-};

You can then use the new style as shown in this example.

graph.insertVertex(parent, null, 'Hello,', 20, 20, 80, 30, 'selectable=0');

Parameters

cellmxCell whose selectable state should be returned.
+};

You can then use the new style as shown in this example.

graph.insertVertex(parent, null, 'Hello,', 20, 20, 80, 30, 'selectable=0');

Parameters

cellmxCell whose selectable state should be returned.
-

isCellsSelectable

mxGraph.prototype.isCellsSelectable = function()

Returns cellsSelectable.

+

isCellsSelectable

mxGraph.prototype.isCellsSelectable = function()

Returns cellsSelectable.

-

setCellsSelectable

mxGraph.prototype.setCellsSelectable = function(value)

Sets cellsSelectable.

+

setCellsSelectable

mxGraph.prototype.setCellsSelectable = function(value)

Sets cellsSelectable.

getDeletableCells

mxGraph.prototype.getDeletableCells = function(cells)

Returns the cells which may be exported in the given array of cells.

-

isCellDeletable

mxGraph.prototype.isCellDeletable = function(cell)

Returns true if the given cell is moveable.  This returns cellsDeletable for all given cells if a cells style does not specify mxConstants.STYLE_DELETABLE to be 0.

Parameters

cellmxCell whose deletable state should be returned.
+

isCellDeletable

mxGraph.prototype.isCellDeletable = function(cell)

Returns true if the given cell is moveable.  This returns cellsDeletable for all given cells if a cells style does not specify mxConstants.STYLE_DELETABLE to be 0.

Parameters

cellmxCell whose deletable state should be returned.
-

isCellsDeletable

mxGraph.prototype.isCellsDeletable = function()

Returns cellsDeletable.

+

isCellsDeletable

mxGraph.prototype.isCellsDeletable = function()

Returns cellsDeletable.

-

setCellsDeletable

mxGraph.prototype.setCellsDeletable = function(value)

Sets cellsDeletable.

Parameters

valueBoolean indicating if the graph should allow deletion of cells.
+

setCellsDeletable

mxGraph.prototype.setCellsDeletable = function(value)

Sets cellsDeletable.

Parameters

valueBoolean indicating if the graph should allow deletion of cells.
-

isLabelMovable

mxGraph.prototype.isLabelMovable = function(cell)

Returns true if the given edges’s label is moveable.  This returns <movable> for all given cells if <isLocked> does not return true for the given cell.

Parameters

cellmxCell whose label should be moved.
+

isLabelMovable

mxGraph.prototype.isLabelMovable = function(cell)

Returns true if the given edges’s label is moveable.  This returns <movable> for all given cells if <isLocked> does not return true for the given cell.

Parameters

cellmxCell whose label should be moved.
-

isCellRotatable

mxGraph.prototype.isCellRotatable = function(cell)

Returns true if the given cell is rotatable.  This returns true for the given cell if its style does not specify mxConstants.STYLE_ROTATABLE to be 0.

Parameters

cellmxCell whose rotatable state should be returned.
+

isCellRotatable

mxGraph.prototype.isCellRotatable = function(cell)

Returns true if the given cell is rotatable.  This returns true for the given cell if its style does not specify mxConstants.STYLE_ROTATABLE to be 0.

Parameters

cellmxCell whose rotatable state should be returned.

getMovableCells

mxGraph.prototype.getMovableCells = function(cells)

Returns the cells which are movable in the given array of cells.

-

isCellMovable

mxGraph.prototype.isCellMovable = function(cell)

Returns true if the given cell is moveable.  This returns cellsMovable for all given cells if isCellLocked does not return true for the given cell and its style does not specify mxConstants.STYLE_MOVABLE to be 0.

Parameters

cellmxCell whose movable state should be returned.
+

isCellMovable

mxGraph.prototype.isCellMovable = function(cell)

Returns true if the given cell is moveable.  This returns cellsMovable for all given cells if isCellLocked does not return true for the given cell and its style does not specify mxConstants.STYLE_MOVABLE to be 0.

Parameters

cellmxCell whose movable state should be returned.
-

isCellsMovable

mxGraph.prototype.isCellsMovable = function()

Returns cellsMovable.

+

isCellsMovable

mxGraph.prototype.isCellsMovable = function()

Returns cellsMovable.

setCellsMovable

mxGraph.prototype.setCellsMovable = function(value)

Specifies if the graph should allow moving of cells.  This implementation updates <cellsMsovable>.

Parameters

valueBoolean indicating if the graph should allow moving of cells.
-

isGridEnabled

mxGraph.prototype.isGridEnabled = function()

Returns gridEnabled as a boolean.

+

isGridEnabled

mxGraph.prototype.isGridEnabled = function()

Returns gridEnabled as a boolean.

setGridEnabled

mxGraph.prototype.setGridEnabled = function(value)

Specifies if the grid should be enabled.

Parameters

valueBoolean indicating if the grid should be enabled.
-

isPortsEnabled

mxGraph.prototype.isPortsEnabled = function()

Returns portsEnabled as a boolean.

+

isPortsEnabled

mxGraph.prototype.isPortsEnabled = function()

Returns portsEnabled as a boolean.

setPortsEnabled

mxGraph.prototype.setPortsEnabled = function(value)

Specifies if the ports should be enabled.

Parameters

valueBoolean indicating if the ports should be enabled.
-

getGridSize

mxGraph.prototype.getGridSize = function()

Returns gridSize.

+

getGridSize

mxGraph.prototype.getGridSize = function()

Returns gridSize.

-

setGridSize

mxGraph.prototype.setGridSize = function(value)

Sets gridSize.

+

setGridSize

mxGraph.prototype.setGridSize = function(value)

Sets gridSize.

-

getTolerance

mxGraph.prototype.getTolerance = function()

Returns tolerance.

+

getTolerance

mxGraph.prototype.getTolerance = function()

Returns tolerance.

-

setTolerance

mxGraph.prototype.setTolerance = function(value)

Sets tolerance.

+

setTolerance

mxGraph.prototype.setTolerance = function(value)

Sets tolerance.

-

isVertexLabelsMovable

mxGraph.prototype.isVertexLabelsMovable = function()

Returns vertexLabelsMovable.

+

isVertexLabelsMovable

mxGraph.prototype.isVertexLabelsMovable = function()

Returns vertexLabelsMovable.

-

setVertexLabelsMovable

mxGraph.prototype.setVertexLabelsMovable = function(value)

Sets vertexLabelsMovable.

+

setVertexLabelsMovable

mxGraph.prototype.setVertexLabelsMovable = function(value)

Sets vertexLabelsMovable.

-

isEdgeLabelsMovable

mxGraph.prototype.isEdgeLabelsMovable = function()

Returns edgeLabelsMovable.

+

isEdgeLabelsMovable

mxGraph.prototype.isEdgeLabelsMovable = function()

Returns edgeLabelsMovable.

-

isEdgeLabelsMovable

+

isEdgeLabelsMovable

-

isSwimlaneNesting

mxGraph.prototype.isSwimlaneNesting = function()

Returns swimlaneNesting as a boolean.

+

isSwimlaneNesting

mxGraph.prototype.isSwimlaneNesting = function()

Returns swimlaneNesting as a boolean.

setSwimlaneNesting

mxGraph.prototype.setSwimlaneNesting = function(value)

Specifies if swimlanes can be nested by drag and drop.  This is only taken into account if dropEnabled is true.

Parameters

valueBoolean indicating if swimlanes can be nested.
-

isSwimlaneSelectionEnabled

mxGraph.prototype.isSwimlaneSelectionEnabled = function()

Returns swimlaneSelectionEnabled as a boolean.

+

isSwimlaneSelectionEnabled

mxGraph.prototype.isSwimlaneSelectionEnabled = function()

Returns swimlaneSelectionEnabled as a boolean.

setSwimlaneSelectionEnabled

mxGraph.prototype.setSwimlaneSelectionEnabled = function(value)

Specifies if swimlanes should be selected if the mouse is released over their content area.

Parameters

valueBoolean indicating if swimlanes content areas should be selected when the mouse is released over them.
-

isMultigraph

mxGraph.prototype.isMultigraph = function()

Returns multigraph as a boolean.

+

isMultigraph

mxGraph.prototype.isMultigraph = function()

Returns multigraph as a boolean.

setMultigraph

mxGraph.prototype.setMultigraph = function(value)

Specifies if the graph should allow multiple connections between the same pair of vertices.

Parameters

valueBoolean indicating if the graph allows multiple connections between the same pair of vertices.
-

isAllowLoops

mxGraph.prototype.isAllowLoops = function()

Returns allowLoops as a boolean.

+

isAllowLoops

mxGraph.prototype.isAllowLoops = function()

Returns allowLoops as a boolean.

setAllowDanglingEdges

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.

Parameters

valueBoolean indicating if dangling edges are allowed.
-

isAllowDanglingEdges

mxGraph.prototype.isAllowDanglingEdges = function()

Returns allowDanglingEdges as a boolean.

+

isAllowDanglingEdges

mxGraph.prototype.isAllowDanglingEdges = function()

Returns allowDanglingEdges as a boolean.

setConnectableEdges

mxGraph.prototype.setConnectableEdges = function(value)

Specifies if edges should be connectable.

Parameters

valueBoolean indicating if edges should be connectable.
-

isConnectableEdges

mxGraph.prototype.isConnectableEdges = function()

Returns connectableEdges as a boolean.

+

isConnectableEdges

mxGraph.prototype.isConnectableEdges = function()

Returns connectableEdges as a boolean.

-

setCloneInvalidEdges

mxGraph.prototype.setCloneInvalidEdges = function(value)

Specifies if edges should be inserted when cloned but not valid wrt.  getEdgeValidationError.  If false such edges will be silently ignored.

Parameters

valueBoolean indicating if cloned invalid edges should be inserted into the graph or ignored.
+

setCloneInvalidEdges

mxGraph.prototype.setCloneInvalidEdges = function(value)

Specifies if edges should be inserted when cloned but not valid wrt.  getEdgeValidationError.  If false such edges will be silently ignored.

Parameters

valueBoolean indicating if cloned invalid edges should be inserted into the graph or ignored.
-

isCloneInvalidEdges

mxGraph.prototype.isCloneInvalidEdges = function()

Returns cloneInvalidEdges as a boolean.

+

isCloneInvalidEdges

mxGraph.prototype.isCloneInvalidEdges = function()

Returns cloneInvalidEdges as a boolean.

setAllowLoops

mxGraph.prototype.setAllowLoops = function(value)

Specifies if loops are allowed.

Parameters

valueBoolean indicating if loops are allowed.
-

isDisconnectOnMove

mxGraph.prototype.isDisconnectOnMove = function()

Returns disconnectOnMove as a boolean.

+

isDisconnectOnMove

mxGraph.prototype.isDisconnectOnMove = function()

Returns disconnectOnMove as a boolean.

setDisconnectOnMove

mxGraph.prototype.setDisconnectOnMove = function(value)

Specifies if edges should be disconnected when moved.  (Note: Cloned edges are always disconnected.)

Parameters

valueBoolean indicating if edges should be disconnected when moved.
-

isDropEnabled

mxGraph.prototype.isDropEnabled = function()

Returns dropEnabled as a boolean.

+

isDropEnabled

mxGraph.prototype.isDropEnabled = function()

Returns dropEnabled as a boolean.

setDropEnabled

mxGraph.prototype.setDropEnabled = function(value)

Specifies if the graph should allow dropping of cells onto or into other cells.

Parameters

dropEnabledBoolean indicating if the graph should allow dropping of cells into other cells.
-

isSplitEnabled

mxGraph.prototype.isSplitEnabled = function()

Returns splitEnabled as a boolean.

+

isSplitEnabled

mxGraph.prototype.isSplitEnabled = function()

Returns splitEnabled as a boolean.

setSplitEnabled

mxGraph.prototype.setSplitEnabled = function(value)

Specifies if the graph should allow dropping of cells onto or into other cells.

Parameters

dropEnabledBoolean indicating if the graph should allow dropping of cells into other cells.
-

isCellResizable

mxGraph.prototype.isCellResizable = function(cell)

Returns true if the given cell is resizable.  This returns cellsResizable for all given cells if isCellLocked does not return true for the given cell and its style does not specify mxConstants.STYLE_RESIZABLE to be 0.

Parameters

cellmxCell whose resizable state should be returned.
+

isCellResizable

mxGraph.prototype.isCellResizable = function(cell)

Returns true if the given cell is resizable.  This returns cellsResizable for all given cells if isCellLocked does not return true for the given cell and its style does not specify mxConstants.STYLE_RESIZABLE to be 0.

Parameters

cellmxCell whose resizable state should be returned.
-

isCellsResizable

mxGraph.prototype.isCellsResizable = function()

Returns cellsResizable.

+

isCellsResizable

mxGraph.prototype.isCellsResizable = function()

Returns cellsResizable.

-

setCellsResizable

mxGraph.prototype.setCellsResizable = function(value)

Specifies if the graph should allow resizing of cells.  This implementation updates cellsResizable.

Parameters

valueBoolean indicating if the graph should allow resizing of cells.
+

setCellsResizable

mxGraph.prototype.setCellsResizable = function(value)

Specifies if the graph should allow resizing of cells.  This implementation updates cellsResizable.

Parameters

valueBoolean indicating if the graph should allow resizing of cells.
-

isTerminalPointMovable

mxGraph.prototype.isTerminalPointMovable = function(cell,
source)

Returns true if the given terminal point is movable.  This is independent from isCellConnectable and isCellDisconnectable and controls if terminal points can be moved in the graph if the edge is not connected.  Note that it is required for this to return true to connect unconnected edges.  This implementation returns true.

Parameters

cellmxCell whose terminal point should be moved.
sourceBoolean indicating if the source or target terminal should be moved.
+

isTerminalPointMovable

mxGraph.prototype.isTerminalPointMovable = function(cell,
source)

Returns true if the given terminal point is movable.  This is independent from isCellConnectable and isCellDisconnectable and controls if terminal points can be moved in the graph if the edge is not connected.  Note that it is required for this to return true to connect unconnected edges.  This implementation returns true.

Parameters

cellmxCell whose terminal point should be moved.
sourceBoolean indicating if the source or target terminal should be moved.
-

isCellBendable

mxGraph.prototype.isCellBendable = function(cell)

Returns true if the given cell is bendable.  This returns cellsBendable for all given cells if <isLocked> does not return true for the given cell and its style does not specify mxConstants.STYLE_BENDABLE to be 0.

Parameters

cellmxCell whose bendable state should be returned.
+

isCellBendable

mxGraph.prototype.isCellBendable = function(cell)

Returns true if the given cell is bendable.  This returns cellsBendable for all given cells if <isLocked> does not return true for the given cell and its style does not specify mxConstants.STYLE_BENDABLE to be 0.

Parameters

cellmxCell whose bendable state should be returned.

isCellsBendable

mxGraph.prototype.isCellsBendable = function()

Returns <cellsBenadable>.

setCellsBendable

mxGraph.prototype.setCellsBendable = function(value)

Specifies if the graph should allow bending of edges.  This implementation updates <bendable>.

Parameters

valueBoolean indicating if the graph should allow bending of edges.
-

isCellEditable

mxGraph.prototype.isCellEditable = function(cell)

Returns true if the given cell is editable.  This returns cellsEditable for all given cells if isCellLocked does not return true for the given cell and its style does not specify mxConstants.STYLE_EDITABLE to be 0.

Parameters

cellmxCell whose editable state should be returned.
+

isCellEditable

mxGraph.prototype.isCellEditable = function(cell)

Returns true if the given cell is editable.  This returns cellsEditable for all given cells if isCellLocked does not return true for the given cell and its style does not specify mxConstants.STYLE_EDITABLE to be 0.

Parameters

cellmxCell whose editable state should be returned.
-

isCellsEditable

mxGraph.prototype.isCellsEditable = function()

Returns cellsEditable.

+

isCellsEditable

mxGraph.prototype.isCellsEditable = function()

Returns cellsEditable.

-

setCellsEditable

mxGraph.prototype.setCellsEditable = function(value)

Specifies if the graph should allow in-place editing for cell labels.  This implementation updates cellsEditable.

Parameters

valueBoolean indicating if the graph should allow in-place editing.
+

setCellsEditable

mxGraph.prototype.setCellsEditable = function(value)

Specifies if the graph should allow in-place editing for cell labels.  This implementation updates cellsEditable.

Parameters

valueBoolean indicating if the graph should allow in-place editing.
-

isCellDisconnectable

mxGraph.prototype.isCellDisconnectable = function(cell,
terminal,
source)

Returns true if the given cell is disconnectable from the source or target terminal.  This returns isCellsDisconnectable for all given cells if isCellLocked does not return true for the given cell.

Parameters

cellmxCell whose disconnectable state should be returned.
terminalmxCell that represents the source or target terminal.
sourceBoolean indicating if the source or target terminal is to be disconnected.
+

isCellDisconnectable

mxGraph.prototype.isCellDisconnectable = function(cell,
terminal,
source)

Returns true if the given cell is disconnectable from the source or target terminal.  This returns isCellsDisconnectable for all given cells if isCellLocked does not return true for the given cell.

Parameters

cellmxCell whose disconnectable state should be returned.
terminalmxCell that represents the source or target terminal.
sourceBoolean indicating if the source or target terminal is to be disconnected.
-

isCellsDisconnectable

mxGraph.prototype.isCellsDisconnectable = function()

Returns cellsDisconnectable.

+

isCellsDisconnectable

mxGraph.prototype.isCellsDisconnectable = function()

Returns cellsDisconnectable.

-

setCellsDisconnectable

mxGraph.prototype.setCellsDisconnectable = function(value)

Sets cellsDisconnectable.

+

setCellsDisconnectable

mxGraph.prototype.setCellsDisconnectable = function(value)

Sets cellsDisconnectable.

-

isValidSource

mxGraph.prototype.isValidSource = function(cell)

Returns true if the given cell is a valid source for new connections.  This implementation returns true for all non-null values and is called by is called by isValidConnection.

Parameters

cellmxCell that represents a possible source or null.
+

isValidSource

mxGraph.prototype.isValidSource = function(cell)

Returns true if the given cell is a valid source for new connections.  This implementation returns true for all non-null values and is called by is called by isValidConnection.

Parameters

cellmxCell that represents a possible source or null.
-

isValidTarget

mxGraph.prototype.isValidTarget = function(cell)

Returns isValidSource for the given cell.  This is called by isValidConnection.

Parameters

cellmxCell that represents a possible target or null.
+

isValidTarget

mxGraph.prototype.isValidTarget = function(cell)

Returns isValidSource for the given cell.  This is called by isValidConnection.

Parameters

cellmxCell that represents a possible target or null.
-

isValidConnection

mxGraph.prototype.isValidConnection = function(source,
target)

Returns true if the given target cell is a valid target for source.  This is a boolean implementation for not allowing connections between certain pairs of vertices and is called by getEdgeValidationError.  This implementation returns true if isValidSource returns true for the source and isValidTarget returns true for the target.

Parameters

sourcemxCell that represents the source cell.
targetmxCell that represents the target cell.
+

isValidConnection

mxGraph.prototype.isValidConnection = function(source,
target)

Returns true if the given target cell is a valid target for source.  This is a boolean implementation for not allowing connections between certain pairs of vertices and is called by getEdgeValidationError.  This implementation returns true if isValidSource returns true for the source and isValidTarget returns true for the target.

Parameters

sourcemxCell that represents the source cell.
targetmxCell that represents the target cell.
-

setConnectable

mxGraph.prototype.setConnectable = function(connectable)

Specifies if the graph should allow new connections.  This implementation updates mxConnectionHandler.enabled in <connectionHandler>.

Parameters

connectableBoolean indicating if new connections should be allowed.
+

setConnectable

mxGraph.prototype.setConnectable = function(connectable)

Specifies if the graph should allow new connections.  This implementation updates mxConnectionHandler.enabled in <connectionHandler>.

Parameters

connectableBoolean indicating if new connections should be allowed.

isConnectable

mxGraph.prototype.isConnectable = function(connectable)

Returns true if the <connectionHandler> is enabled.

-

setTooltips

mxGraph.prototype.setTooltips = function (enabled)

Specifies if tooltips should be enabled.  This implementation updates mxTooltipHandler.enabled in <tooltipHandler>.

Parameters

enabledBoolean indicating if tooltips should be enabled.
+

setTooltips

mxGraph.prototype.setTooltips = function (enabled)

Specifies if tooltips should be enabled.  This implementation updates mxTooltipHandler.enabled in <tooltipHandler>.

Parameters

enabledBoolean indicating if tooltips should be enabled.
-

setPanning

mxGraph.prototype.setPanning = function(enabled)

Specifies if panning should be enabled.  This implementation updates mxPanningHandler.panningEnabled in <panningHandler>.

Parameters

enabledBoolean indicating if panning should be enabled.
+

setPanning

mxGraph.prototype.setPanning = function(enabled)

Specifies if panning should be enabled.  This implementation updates mxPanningHandler.panningEnabled in <panningHandler>.

Parameters

enabledBoolean indicating if panning should be enabled.
-

isEditing

mxGraph.prototype.isEditing = function(cell)

Returns true if the given cell is currently being edited.  If no cell is specified then this returns true if any cell is currently being edited.

Parameters

cellmxCell that should be checked.
+

isEditing

mxGraph.prototype.isEditing = function(cell)

Returns true if the given cell is currently being edited.  If no cell is specified then this returns true if any cell is currently being edited.

Parameters

cellmxCell that should be checked.
-

isAutoSizeCell

mxGraph.prototype.isAutoSizeCell = function(cell)

Returns true if the size of the given cell should automatically be updated after a change of the label.  This implementation returns autoSizeCells or checks if the cell style does specify mxConstants.STYLE_AUTOSIZE to be 1.

Parameters

cellmxCell that should be resized.
+

isAutoSizeCell

mxGraph.prototype.isAutoSizeCell = function(cell)

Returns true if the size of the given cell should automatically be updated after a change of the label.  This implementation returns autoSizeCells or checks if the cell style does specify mxConstants.STYLE_AUTOSIZE to be 1.

Parameters

cellmxCell that should be resized.
-

isAutoSizeCells

mxGraph.prototype.isAutoSizeCells = function()

Returns autoSizeCells.

+

isAutoSizeCells

mxGraph.prototype.isAutoSizeCells = function()

Returns autoSizeCells.

-

setAutoSizeCells

mxGraph.prototype.setAutoSizeCells = function(value)

Specifies if cell sizes should be automatically updated after a label change.  This implementation sets autoSizeCells to the given parameter.  To update the size of cells when the cells are added, set autoSizeCellsOnAdd to true.

Parameters

valueBoolean indicating if cells should be resized automatically.
+

setAutoSizeCells

mxGraph.prototype.setAutoSizeCells = function(value)

Specifies if cell sizes should be automatically updated after a label change.  This implementation sets autoSizeCells to the given parameter.  To update the size of cells when the cells are added, set autoSizeCellsOnAdd to true.

Parameters

valueBoolean indicating if cells should be resized automatically.
-

isExtendParent

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.  This implementation returns isExtendParents if the cell is not an edge.

Parameters

cellmxCell that has been resized.
+

isExtendParent

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.  This implementation returns isExtendParents if the cell is not an edge.

Parameters

cellmxCell that has been resized.
-

isExtendParents

mxGraph.prototype.isExtendParents = function()

Returns extendParents.

+

isExtendParents

mxGraph.prototype.isExtendParents = function()

Returns extendParents.

-

setExtendParents

mxGraph.prototype.setExtendParents = function(value)

Sets extendParents.

Parameters

valueNew boolean value for extendParents.
+

setExtendParents

mxGraph.prototype.setExtendParents = function(value)

Sets extendParents.

Parameters

valueNew boolean value for extendParents.
-

isExtendParentsOnAdd

mxGraph.prototype.isExtendParentsOnAdd = function()

Returns extendParentsOnAdd.

+

isExtendParentsOnAdd

mxGraph.prototype.isExtendParentsOnAdd = function()

Returns extendParentsOnAdd.

-

setExtendParentsOnAdd

mxGraph.prototype.setExtendParentsOnAdd = function(value)

Sets extendParentsOnAdd.

Parameters

valueNew boolean value for extendParentsOnAdd.
+

setExtendParentsOnAdd

mxGraph.prototype.setExtendParentsOnAdd = function(value)

Sets extendParentsOnAdd.

Parameters

valueNew boolean value for extendParentsOnAdd.
-

isExtendParentsOnAdd

+

isExtendParentsOnAdd

-

setExtendParentsOnAdd

Sets extendParentsOnAdd.

Parameters

valueNew boolean value for extendParentsOnAdd.
+

setExtendParentsOnAdd

Sets extendParentsOnAdd.

Parameters

valueNew boolean value for extendParentsOnAdd.
-

isRecursiveResize

mxGraph.prototype.isRecursiveResize = function()

Returns recursiveResize.

+

isRecursiveResize

mxGraph.prototype.isRecursiveResize = function()

Returns recursiveResize.

-

setRecursiveResize

mxGraph.prototype.setRecursiveResize = function(value)

Sets recursiveResize.

Parameters

valueNew boolean value for recursiveResize.
+

setRecursiveResize

mxGraph.prototype.setRecursiveResize = function(value)

Sets recursiveResize.

Parameters

valueNew boolean value for recursiveResize.
-

isConstrainChild

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.  This implementation returns false for all children of edges and isConstrainChildren otherwise.

Parameters

cellmxCell that should be constrained.
+

isConstrainChild

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.  This implementation returns false for all children of edges and isConstrainChildren otherwise.

Parameters

cellmxCell that should be constrained.
-

isConstrainChildren

mxGraph.prototype.isConstrainChildren = function()

Returns constrainChildren.

+

isConstrainChildren

mxGraph.prototype.isConstrainChildren = function()

Returns constrainChildren.

-

setConstrainChildrenOnResize

mxGraph.prototype.setConstrainChildrenOnResize = function(value)

Sets constrainChildrenOnResize.

+

setConstrainChildrenOnResize

mxGraph.prototype.setConstrainChildrenOnResize = function(value)

Sets constrainChildrenOnResize.

-

isConstrainChildrenOnResize

mxGraph.prototype.isConstrainChildrenOnResize = function()

Returns constrainChildrenOnResize.

+

isConstrainChildrenOnResize

mxGraph.prototype.isConstrainChildrenOnResize = function()

Returns constrainChildrenOnResize.

-

setConstrainChildren

mxGraph.prototype.setConstrainChildren = function(value)

Sets constrainChildren.

+

setConstrainChildren

mxGraph.prototype.setConstrainChildren = function(value)

Sets constrainChildren.

-

isConstrainChildren

+

isConstrainChildren

-

setConstrainChildren

+

setConstrainChildren

-

getOverlap

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.  A value of 0 means all children must stay inside the parent, 1 means the child is allowed to be placed outside of the parent such that it touches one of the parents sides.  If isAllowOverlapParent returns false for the given cell, then this method returns 0.

Parameters

cellmxCell for which the overlap ratio should be returned.
+

getOverlap

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.  A value of 0 means all children must stay inside the parent, 1 means the child is allowed to be placed outside of the parent such that it touches one of the parents sides.  If isAllowOverlapParent returns false for the given cell, then this method returns 0.

Parameters

cellmxCell for which the overlap ratio should be returned.
-

isAllowOverlapParent

mxGraph.prototype.isAllowOverlapParent = function(cell)

Returns true if the given cell is allowed to be placed outside of the parents area.

Parameters

cellmxCell that represents the child to be checked.
+

isAllowOverlapParent

mxGraph.prototype.isAllowOverlapParent = function(cell)

Returns true if the given cell is allowed to be placed outside of the parents area.

Parameters

cellmxCell that represents the child to be checked.

getFoldableCells

mxGraph.prototype.getFoldableCells = function(cells,
collapse)

Returns the cells which are movable in the given array of cells.

-

isCellFoldable

mxGraph.prototype.isCellFoldable = function(cell,
collapse)

Returns true if the given cell is foldable.  This implementation returns true if the cell has at least one child and its style does not specify mxConstants.STYLE_FOLDABLE to be 0.

Parameters

cellmxCell whose foldable state should be returned.
+

isCellFoldable

mxGraph.prototype.isCellFoldable = function(cell,
collapse)

Returns true if the given cell is foldable.  This implementation returns true if the cell has at least one child and its style does not specify mxConstants.STYLE_FOLDABLE to be 0.

Parameters

cellmxCell whose foldable state should be returned.
-

isValidDropTarget

mxGraph.prototype.isValidDropTarget = function(cell,
cells,
evt)

Returns true if the given cell is a valid drop target for the specified cells.  If splitEnabled is true then this returns isSplitTarget for the given arguments else it returns true if the cell is not collapsed and its child count is greater than 0.

Parameters

cellmxCell that represents the possible drop target.
cellsmxCells that should be dropped into the target.
evtMouseevent that triggered the invocation.
+

isValidDropTarget

mxGraph.prototype.isValidDropTarget = function(cell,
cells,
evt)

Returns true if the given cell is a valid drop target for the specified cells.  If splitEnabled is true then this returns isSplitTarget for the given arguments else it returns true if the cell is not collapsed and its child count is greater than 0.

Parameters

cellmxCell that represents the possible drop target.
cellsmxCells that should be dropped into the target.
evtMouseevent that triggered the invocation.
-

isSplitTarget

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.

Parameters

targetmxCell that represents the edge to be splitted.
cellsmxCells that should split the edge.
evtMouseevent that triggered the invocation.
+

isSplitTarget

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.

Parameters

targetmxCell that represents the edge to be splitted.
cellsmxCells that should split the edge.
evtMouseevent that triggered the invocation.
-

getDropTarget

mxGraph.prototype.getDropTarget = function(cells,
evt,
cell)

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.  If the given array contains a swimlane and swimlaneNesting is false then this always returns null.  If no cell is given, then the bottommost swimlane at the location of the given event is returned.

This function should only be used if isDropEnabled returns true.

Parameters

cellsArray of mxCells which are to be dropped onto the target.
evtMouseevent for the drag and drop.
cellmxCell that is under the mousepointer.
+

getDropTarget

mxGraph.prototype.getDropTarget = function(cells,
evt,
cell)

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.  If the given array contains a swimlane and swimlaneNesting is false then this always returns null.  If no cell is given, then the bottommost swimlane at the location of the given event is returned.

This function should only be used if isDropEnabled returns true.

Parameters

cellsArray of mxCells which are to be dropped onto the target.
evtMouseevent for the drag and drop.
cellmxCell that is under the mousepointer.

Cell retrieval

-

getDefaultParent

mxGraph.prototype.getDefaultParent = function()

Returns defaultParent or mxGraphView.currentRoot or the first child child of mxGraphModel.root if both are null.  The value returned by this function should be used as the parent for new cells (aka default layer).

+

getDefaultParent

mxGraph.prototype.getDefaultParent = function()

Returns defaultParent or mxGraphView.currentRoot or the first child child of mxGraphModel.root if both are null.  The value returned by this function should be used as the parent for new cells (aka default layer).

-

setDefaultParent

mxGraph.prototype.setDefaultParent = function(cell)

Sets the defaultParent to the given cell.  Set this to null to return the first child of the root in getDefaultParent.

+

setDefaultParent

mxGraph.prototype.setDefaultParent = function(cell)

Sets the defaultParent to the given cell.  Set this to null to return the first child of the root in getDefaultParent.

-

getSwimlane

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.

Parameters

cellmxCell for which the ancestor swimlane should be returned.
+

getSwimlane

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.

Parameters

cellmxCell for which the ancestor swimlane should be returned.
-

getSwimlaneAt

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.

Parameters

xX-coordinate of the location to be checked.
yY-coordinate of the location to be checked.
parentmxCell that should be used as the root of the recursion.  Default is defaultParent.
+

getSwimlaneAt

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.

Parameters

xX-coordinate of the location to be checked.
yY-coordinate of the location to be checked.
parentmxCell that should be used as the root of the recursion.  Default is defaultParent.
-

getCellAt

mxGraph.prototype.getCellAt = function(x,
y,
parent,
vertices,
edges)

Returns the bottom-most cell that intersects the given point (x, y) in the cell hierarchy starting at the given parent.  This will also return swimlanes if the given location intersects the content area of the swimlane.  If this is not desired, then the hitsSwimlaneContent may be used if the returned cell is a swimlane to determine if the location is inside the content area or on the actual title of the swimlane.

Parameters

xX-coordinate of the location to be checked.
yY-coordinate of the location to be checked.
parentmxCell that should be used as the root of the recursion.  Default is defaultParent.
verticesOptional boolean indicating if vertices should be returned.  Default is true.
edgesOptional boolean indicating if edges should be returned.  Default is true.
+

getCellAt

mxGraph.prototype.getCellAt = function(x,
y,
parent,
vertices,
edges)

Returns the bottom-most cell that intersects the given point (x, y) in the cell hierarchy starting at the given parent.  This will also return swimlanes if the given location intersects the content area of the swimlane.  If this is not desired, then the hitsSwimlaneContent may be used if the returned cell is a swimlane to determine if the location is inside the content area or on the actual title of the swimlane.

Parameters

xX-coordinate of the location to be checked.
yY-coordinate of the location to be checked.
parentmxCell that should be used as the root of the recursion.  Default is defaultParent.
verticesOptional boolean indicating if vertices should be returned.  Default is true.
edgesOptional boolean indicating if edges should be returned.  Default is true.
-

intersects

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.

Parameters

statemxCellState that represents the cell state.
xX-coordinate of the location to be checked.
yY-coordinate of the location to be checked.
+

intersects

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.

Parameters

statemxCellState that represents the cell state.
xX-coordinate of the location to be checked.
yY-coordinate of the location to be checked.
-

hitsSwimlaneContent

mxGraph.prototype.hitsSwimlaneContent = function(swimlane,
x,
y)

Returns true if the given coordinate pair is inside the content are of the given swimlane.

Parameters

swimlanemxCell that specifies the swimlane.
xX-coordinate of the mouse event.
yY-coordinate of the mouse event.
+

hitsSwimlaneContent

mxGraph.prototype.hitsSwimlaneContent = function(swimlane,
x,
y)

Returns true if the given coordinate pair is inside the content are of the given swimlane.

Parameters

swimlanemxCell that specifies the swimlane.
xX-coordinate of the mouse event.
yY-coordinate of the mouse event.
-

getChildVertices

mxGraph.prototype.getChildVertices = function(parent)

Returns the visible child vertices of the given parent.

Parameters

parentmxCell whose children should be returned.
+

getChildVertices

mxGraph.prototype.getChildVertices = function(parent)

Returns the visible child vertices of the given parent.

Parameters

parentmxCell whose children should be returned.
-

getChildEdges

mxGraph.prototype.getChildEdges = function(parent)

Returns the visible child edges of the given parent.

Parameters

parentmxCell whose child vertices should be returned.
+

getChildEdges

mxGraph.prototype.getChildEdges = function(parent)

Returns the visible child edges of the given parent.

Parameters

parentmxCell whose child vertices should be returned.
-

getChildCells

mxGraph.prototype.getChildCells = function(parent,
vertices,
edges)

Returns the visible child vertices or edges in the given parent.  If vertices and edges is false, then all children are returned.

Parameters

parentmxCell whose children should be returned.
verticesOptional boolean that specifies if child vertices should be returned.  Default is false.
edgesOptional boolean that specifies if child edges should be returned.  Default is false.
+

getChildCells

mxGraph.prototype.getChildCells = function(parent,
vertices,
edges)

Returns the visible child vertices or edges in the given parent.  If vertices and edges is false, then all children are returned.

Parameters

parentmxCell whose children should be returned.
verticesOptional boolean that specifies if child vertices should be returned.  Default is false.
edgesOptional boolean that specifies if child edges should be returned.  Default is false.
-

getConnections

mxGraph.prototype.getConnections = function(cell,
parent)

Returns all visible edges connected to the given cell without loops.

Parameters

cellmxCell whose connections should be returned.
parentOptional parent of the opposite end for a connection to be returned.
+

getConnections

mxGraph.prototype.getConnections = function(cell,
parent)

Returns all visible edges connected to the given cell without loops.

Parameters

cellmxCell whose connections should be returned.
parentOptional parent of the opposite end for a connection to be returned.
-

getIncomingEdges

mxGraph.prototype.getIncomingEdges = function(cell,
parent)

Returns the visible incoming edges for the given cell.  If the optional parent argument is specified, then only child edges of the given parent are returned.

Parameters

cellmxCell whose incoming edges should be returned.
parentOptional parent of the opposite end for an edge to be returned.
+

getIncomingEdges

mxGraph.prototype.getIncomingEdges = function(cell,
parent)

Returns the visible incoming edges for the given cell.  If the optional parent argument is specified, then only child edges of the given parent are returned.

Parameters

cellmxCell whose incoming edges should be returned.
parentOptional parent of the opposite end for an edge to be returned.
-

getOutgoingEdges

mxGraph.prototype.getOutgoingEdges = function(cell,
parent)

Returns the visible outgoing edges for the given cell.  If the optional parent argument is specified, then only child edges of the given parent are returned.

Parameters

cellmxCell whose outgoing edges should be returned.
parentOptional parent of the opposite end for an edge to be returned.
+

getOutgoingEdges

mxGraph.prototype.getOutgoingEdges = function(cell,
parent)

Returns the visible outgoing edges for the given cell.  If the optional parent argument is specified, then only child edges of the given parent are returned.

Parameters

cellmxCell whose outgoing edges should be returned.
parentOptional parent of the opposite end for an edge to be returned.
-

getEdges

mxGraph.prototype.getEdges = function(cell,
parent,
incoming,
outgoing,
includeLoops,
recurse)

Returns the incoming and/or outgoing edges for the given cell.  If the optional parent argument is specified, then only edges are returned where the opposite is in the given parent cell.  If at least one of incoming or outgoing is true, then loops are ignored, if both are false, then all edges connected to the given cell are returned including loops.

Parameters

cellmxCell whose edges should be returned.
parentOptional parent of the opposite end for an edge to be returned.
incomingOptional boolean that specifies if incoming edges should be included in the result.  Default is true.
outgoingOptional boolean that specifies if outgoing edges should be included in the result.  Default is true.
includeLoopsOptional boolean that specifies if loops should be included in the result.  Default is true.
recurseOptional boolean the specifies if the parent specified only need be an ancestral parent, true, or the direct parent, false.  Default is false
+

getEdges

mxGraph.prototype.getEdges = function(cell,
parent,
incoming,
outgoing,
includeLoops,
recurse)

Returns the incoming and/or outgoing edges for the given cell.  If the optional parent argument is specified, then only edges are returned where the opposite is in the given parent cell.  If at least one of incoming or outgoing is true, then loops are ignored, if both are false, then all edges connected to the given cell are returned including loops.

Parameters

cellmxCell whose edges should be returned.
parentOptional parent of the opposite end for an edge to be returned.
incomingOptional boolean that specifies if incoming edges should be included in the result.  Default is true.
outgoingOptional boolean that specifies if outgoing edges should be included in the result.  Default is true.
includeLoopsOptional boolean that specifies if loops should be included in the result.  Default is true.
recurseOptional boolean the specifies if the parent specified only need be an ancestral parent, true, or the direct parent, false.  Default is false
-

isValidAncestor

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.

Parameters

cellmxCell the possible child cell
parentmxCell the possible parent cell
recurseboolean whether or not to recurse the child ancestors
+

isValidAncestor

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.

Parameters

cellmxCell the possible child cell
parentmxCell the possible parent cell
recurseboolean whether or not to recurse the child ancestors
-

getOpposites

mxGraph.prototype.getOpposites = function(edges,
terminal,
sources,
targets)

Returns all distinct visible opposite cells for the specified terminal on the given edges.

Parameters

edgesArray of mxCells that contains the edges whose opposite terminals should be returned.
terminalTerminal that specifies the end whose opposite should be returned.
sourceOptional boolean that specifies if source terminals should be included in the result.  Default is true.
targetsOptional boolean that specifies if targer terminals should be included in the result.  Default is true.
+

getOpposites

mxGraph.prototype.getOpposites = function(edges,
terminal,
sources,
targets)

Returns all distinct visible opposite cells for the specified terminal on the given edges.

Parameters

edgesArray of mxCells that contains the edges whose opposite terminals should be returned.
terminalTerminal that specifies the end whose opposite should be returned.
sourceOptional boolean that specifies if source terminals should be included in the result.  Default is true.
targetsOptional boolean that specifies if targer terminals should be included in the result.  Default is true.

getEdgesBetween

mxGraph.prototype.getEdgesBetween = function(source,
target,
directed)

Returns the edges between the given source and target.  This takes into account collapsed and invisible cells and returns the connected edges as displayed on the screen.

Parameters

source - target - directed -

-

getPointForEvent

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.

Parameters

evtMousevent that contains the mouse pointer location.
addOffsetOptional boolean that specifies if the position should be offset by half of the gridSize.  Default is true.
+

getPointForEvent

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.

Parameters

evtMousevent that contains the mouse pointer location.
addOffsetOptional boolean that specifies if the position should be offset by half of the gridSize.  Default is true.
-

getCells

mxGraph.prototype.getCells = function(x,
y,
width,
height,
parent,
result)

Returns the children of the given parent that are contained in the given rectangle (x, y, width, height).  The result is added to the optional result array, which is returned from the function.  If no result array is specified then a new array is created and returned.

Parameters

xX-coordinate of the rectangle.
yY-coordinate of the rectangle.
widthWidth of the rectangle.
heightHeight of the rectangle.
parentmxCell whose children should be checked.  Default is defaultParent.
resultOptional array to store the result in.
+

getCells

mxGraph.prototype.getCells = function(x,
y,
width,
height,
parent,
result)

Returns the children of the given parent that are contained in the given rectangle (x, y, width, height).  The result is added to the optional result array, which is returned from the function.  If no result array is specified then a new array is created and returned.

Parameters

xX-coordinate of the rectangle.
yY-coordinate of the rectangle.
widthWidth of the rectangle.
heightHeight of the rectangle.
parentmxCell whose children should be checked.  Default is defaultParent.
resultOptional array to store the result in.
-

getCellsBeyond

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 and/or downwards depending on rightHalfpane and bottomHalfpane.

Parameters

x0X-coordinate of the origin.
y0Y-coordinate of the origin.
parentOptional mxCell whose children should be checked.  Default is defaultParent.
rightHalfpaneBoolean indicating if the cells in the right halfpane from the origin should be returned.
bottomHalfpaneBoolean indicating if the cells in the bottom halfpane from the origin should be returned.
+

getCellsBeyond

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 and/or downwards depending on rightHalfpane and bottomHalfpane.

Parameters

x0X-coordinate of the origin.
y0Y-coordinate of the origin.
parentOptional mxCell whose children should be checked.  Default is defaultParent.
rightHalfpaneBoolean indicating if the cells in the right halfpane from the origin should be returned.
bottomHalfpaneBoolean indicating if the cells in the bottom halfpane from the origin should be returned.
-

findTreeRoots

mxGraph.prototype.findTreeRoots = function(parent,
isolate,
invert)

Returns all children in the given parent which do not have incoming edges.  If the result is empty then the with the greatest difference between incoming and outgoing edges is returned.

Parameters

parentmxCell whose children should be checked.
isolateOptional boolean that specifies if edges should be ignored if the opposite end is not a child of the given parent cell.  Default is false.
invertOptional boolean that specifies if outgoing or incoming edges should be counted for a tree root.  If false then outgoing edges will be counted.  Default is false.
+

findTreeRoots

mxGraph.prototype.findTreeRoots = function(parent,
isolate,
invert)

Returns all children in the given parent which do not have incoming edges.  If the result is empty then the with the greatest difference between incoming and outgoing edges is returned.

Parameters

parentmxCell whose children should be checked.
isolateOptional boolean that specifies if edges should be ignored if the opposite end is not a child of the given parent cell.  Default is false.
invertOptional boolean that specifies if outgoing or incoming edges should be counted for a tree root.  If false then outgoing edges will be counted.  Default is false.

traverse

mxGraph.prototype.traverse = function(vertex,
directed,
func,
edge,
visited)

Traverses the (directed) graph invoking the given function for each visited vertex and edge.  The function is invoked with the current vertex and the incoming edge as a parameter.  This implementation makes sure each vertex is only visited once.  The function may return false if the traversal should stop at the given vertex.

Example

mxLog.show();
 var cell = graph.getSelectionCell();
 graph.traverse(cell, false, function(vertex, edge)
 {
   mxLog.debug(graph.getLabel(vertex));
-});

Parameters

vertexmxCell that represents the vertex where the traversal starts.
directedOptional boolean indicating if edges should only be traversed from source to target.  Default is true.
funcVisitor function that takes the current vertex and the incoming edge as arguments.  The traversal stops if the function returns false.
edgeOptional mxCell that represents the incoming edge.  This is null for the first step of the traversal.
visitedOptional array of cell paths for the visited cells.
+});

Parameters

vertexmxCell that represents the vertex where the traversal starts.
directedOptional boolean indicating if edges should only be traversed from source to target.  Default is true.
funcVisitor function that takes the current vertex and the incoming edge as arguments.  The traversal stops if the function returns false.
edgeOptional mxCell that represents the incoming edge.  This is null for the first step of the traversal.
visitedOptional array of cell paths for the visited cells.

Selection

-

isCellSelected

mxGraph.prototype.isCellSelected = function(cell)

Returns true if the given cell is selected.

Parameters

cellmxCell for which the selection state should be returned.
+

isCellSelected

mxGraph.prototype.isCellSelected = function(cell)

Returns true if the given cell is selected.

Parameters

cellmxCell for which the selection state should be returned.

isSelectionEmpty

mxGraph.prototype.isSelectionEmpty = function()

Returns true if the selection is empty.

-

clearSelection

mxGraph.prototype.clearSelection = function()

Clears the selection using mxGraphSelectionModel.clear.

+

clearSelection

mxGraph.prototype.clearSelection = function()

Clears the selection using mxGraphSelectionModel.clear.

getSelectionCount

mxGraph.prototype.getSelectionCount = function()

Returns the number of selected cells.

-

getSelectionCell

mxGraph.prototype.getSelectionCell = function()

Returns the first cell from the array of selected mxCells.

+

getSelectionCell

mxGraph.prototype.getSelectionCell = function()

Returns the first cell from the array of selected mxCells.

-

getSelectionCells

mxGraph.prototype.getSelectionCells = function()

Returns the array of selected mxCells.

+

getSelectionCells

mxGraph.prototype.getSelectionCells = function()

Returns the array of selected mxCells.

-

setSelectionCell

mxGraph.prototype.setSelectionCell = function(cell)

Sets the selection cell.

Parameters

cellmxCell to be selected.
+

setSelectionCell

mxGraph.prototype.setSelectionCell = function(cell)

Sets the selection cell.

Parameters

cellmxCell to be selected.
-

setSelectionCells

mxGraph.prototype.setSelectionCells = function(cells)

Sets the selection cell.

Parameters

cellsArray of mxCells to be selected.
+

setSelectionCells

mxGraph.prototype.setSelectionCells = function(cells)

Sets the selection cell.

Parameters

cellsArray of mxCells to be selected.
-

addSelectionCell

mxGraph.prototype.addSelectionCell = function(cell)

Adds the given cell to the selection.

Parameters

cellmxCell to be add to the selection.
+

addSelectionCell

mxGraph.prototype.addSelectionCell = function(cell)

Adds the given cell to the selection.

Parameters

cellmxCell to be add to the selection.
-

addSelectionCells

mxGraph.prototype.addSelectionCells = function(cells)

Adds the given cells to the selection.

Parameters

cellsArray of mxCells to be added to the selection.
+

addSelectionCells

mxGraph.prototype.addSelectionCells = function(cells)

Adds the given cells to the selection.

Parameters

cellsArray of mxCells to be added to the selection.
-

removeSelectionCell

mxGraph.prototype.removeSelectionCell = function(cell)

Removes the given cell from the selection.

Parameters

cellmxCell to be removed from the selection.
+

removeSelectionCell

mxGraph.prototype.removeSelectionCell = function(cell)

Removes the given cell from the selection.

Parameters

cellmxCell to be removed from the selection.
-

removeSelectionCells

mxGraph.prototype.removeSelectionCells = function(cells)

Removes the given cells from the selection.

Parameters

cellsArray of mxCells to be removed from the selection.
+

removeSelectionCells

mxGraph.prototype.removeSelectionCells = function(cells)

Removes the given cells from the selection.

Parameters

cellsArray of mxCells to be removed from the selection.
-

selectRegion

mxGraph.prototype.selectRegion = function(rect,
evt)

Selects and returns the cells inside the given rectangle for the specified event.

Parameters

rectmxRectangle that represents the region to be selected.
evtMouseevent that triggered the selection.
+

selectRegion

mxGraph.prototype.selectRegion = function(rect,
evt)

Selects and returns the cells inside the given rectangle for the specified event.

Parameters

rectmxRectangle that represents the region to be selected.
evtMouseevent that triggered the selection.

selectNextCell

mxGraph.prototype.selectNextCell = function()

Selects the next cell.

@@ -1251,41 +1253,41 @@ graph.traverse(cell, false, function(vertex, edge)

selectCell

mxGraph.prototype.selectCell = function(isNext,
isParent,
isChild)

Selects the next, parent, first child or previous cell, if all arguments are false.

Parameters

isNextBoolean indicating if the next cell should be selected.
isParentBoolean indicating if the parent cell should be selected.
isChildBoolean indicating if the first child cell should be selected.
-

selectAll

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.  To select leaf vertices and/or edges use selectCells.

Parameters

parentOptional mxCell whose children should be selected.  Default is defaultParent.
+

selectAll

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.  To select leaf vertices and/or edges use selectCells.

Parameters

parentOptional mxCell whose children should be selected.  Default is defaultParent.

selectVertices

mxGraph.prototype.selectVertices = function(parent)

Select all vertices inside the given parent or the default parent.

selectVertices

Select all vertices inside the given parent or the default parent.

-

selectCells

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.  Use selectAll to select all cells.

Parameters

verticesBoolean indicating if vertices should be selected.
edgesBoolean indicating if edges should be selected.
parentOptional mxCell that acts as the root of the recursion.  Default is defaultParent.
+

selectCells

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.  Use selectAll to select all cells.

Parameters

verticesBoolean indicating if vertices should be selected.
edgesBoolean indicating if edges should be selected.
parentOptional mxCell that acts as the root of the recursion.  Default is defaultParent.
-

selectCellForEvent

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.

Parameters

cellmxCell to be selected.
evtOptional mouseevent that triggered the selection.
+

selectCellForEvent

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.

Parameters

cellmxCell to be selected.
evtOptional mouseevent that triggered the selection.
-

selectCellsForEvent

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.

Parameters

cellsArray of mxCells to be selected.
evtOptional mouseevent that triggered the selection.
+

selectCellsForEvent

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.

Parameters

cellsArray of mxCells to be selected.
evtOptional mouseevent that triggered the selection.

Selection state

-

createHandler

mxGraph.prototype.createHandler = function(state)

Creates a new handler for the given cell state.  This implementation returns a new mxEdgeHandler of the corresponding cell is an edge, otherwise it returns an mxVertexHandler.

Parameters

statemxCellState whose handler should be created.
+

createHandler

mxGraph.prototype.createHandler = function(state)

Creates a new handler for the given cell state.  This implementation returns a new mxEdgeHandler of the corresponding cell is an edge, otherwise it returns an mxVertexHandler.

Parameters

statemxCellState whose handler should be created.

Graph events

-

addMouseListener

mxGraph.prototype.addMouseListener = function(listener)

Adds a listener to the graph event dispatch loop.  The listener must implement the mouseDown, mouseMove and mouseUp methods as shown in the mxMouseEvent class.

Parameters

listenerListener to be added to the graph event listeners.
+

addMouseListener

mxGraph.prototype.addMouseListener = function(listener)

Adds a listener to the graph event dispatch loop.  The listener must implement the mouseDown, mouseMove and mouseUp methods as shown in the mxMouseEvent class.

Parameters

listenerListener to be added to the graph event listeners.

removeMouseListener

mxGraph.prototype.removeMouseListener = function(listener)

Removes the specified graph listener.

Parameters

listenerListener to be removed from the graph event listeners.
-

updateMouseEvent

mxGraph.prototype.updateMouseEvent = function(me)

Sets the graphX and graphY properties if the given mxMouseEvent if required and returned the event.

+

updateMouseEvent

mxGraph.prototype.updateMouseEvent = function(me)

Sets the graphX and graphY properties if the given mxMouseEvent if required and returned the event.

getStateForEvent

Returns the state for the given touch event.

-

isEventIgnored

mxGraph.prototype.isEventIgnored = function(evtName,
me,
sender)

Returns true if the event should be ignored in fireMouseEvent.

+

isEventIgnored

mxGraph.prototype.isEventIgnored = function(evtName,
me,
sender)

Returns true if the event should be ignored in fireMouseEvent.

isSyntheticEventIgnored

mxGraph.prototype.isSyntheticEventIgnored = function(evtName,
me,
sender)

Hook for ignoring synthetic mouse events after touchend in Firefox.

-

isEventSourceIgnored

mxGraph.prototype.isEventSourceIgnored = function(evtName,
me)

Returns true if the given mouse down event should be ignored.  This returns true for mouse events on select, option, button, anchor and input.

Parameters

evtNameThe name of the event.
memxMouseEvent that should be ignored.
+

isEventSourceIgnored

mxGraph.prototype.isEventSourceIgnored = function(evtName,
me)

Returns true if the given mouse down event should be ignored.  This returns true for mouse events on select, option, button, anchor and input.

Parameters

evtNameThe name of the event.
memxMouseEvent that should be ignored.
-

fireMouseEvent

mxGraph.prototype.fireMouseEvent = function(evtName,
me,
sender)

Dispatches the given event in the graph event dispatch loop.  Possible event names are mxEvent.MOUSE_DOWN, mxEvent.MOUSE_MOVE and mxEvent.MOUSE_UP.  All listeners are invoked for all events regardless of the consumed state of the event.

Parameters

evtNameString that specifies the type of event to be dispatched.
memxMouseEvent to be fired.
senderOptional sender argument.  Default is this.
+

fireMouseEvent

mxGraph.prototype.fireMouseEvent = function(evtName,
me,
sender)

Dispatches the given event in the graph event dispatch loop.  Possible event names are mxEvent.MOUSE_DOWN, mxEvent.MOUSE_MOVE and mxEvent.MOUSE_UP.  All listeners are invoked for all events regardless of the consumed state of the event.

Parameters

evtNameString that specifies the type of event to be dispatched.
memxMouseEvent to be fired.
senderOptional sender argument.  Default is this.
-

fireGestureEvent

mxGraph.prototype.fireGestureEvent = function(evt,
cell)

Dispatches a mxEvent.GESTURE event.  The following example will resize the cell under the mouse based on the scale property of the native touch event.

graph.addListener(mxEvent.GESTURE, function(sender, eo)
+

fireGestureEvent

mxGraph.prototype.fireGestureEvent = function(evt,
cell)

Dispatches a mxEvent.GESTURE event.  The following example will resize the cell under the mouse based on the scale property of the native touch event.

graph.addListener(mxEvent.GESTURE, function(sender, eo)
 {
   var evt = eo.getProperty('event');
   var state = graph.view.getState(eo.getProperty('cell'));
@@ -1305,7 +1307,7 @@ graph.traverse(cell, false, function(vertex, edge)
     graph.resizeCell(state.cell, bounds);
     eo.consume();
   }
-});

Parameters

evtGestureend event that represents the gesture.
cellOptional mxCell associated with the gesture.
+});

Parameters

evtGestureend event that represents the gesture.
cellOptional mxCell associated with the gesture.

destroy

mxGraph.prototype.destroy = function()

Destroys the graph and all its resources.

@@ -1323,7 +1325,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)
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)
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.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.timerAutoScroll
Specifies if timer-based autoscrolling should be used via mxPanningManager.
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.ignoreScrollbars
Specifies if the graph should automatically scroll regardless of the scrollbars.
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.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.
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()
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)
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(container)
Creates the tooltip-, panning-, connection- and graph-handler (in this order).
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.stopEditing = function(cancel)
Stops the current 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.
mxGraph.prototype.toggleCellStyles = function(key,
defaultValue,
cells)
Toggles the boolean value for the given key in the style of the given cells.
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.updateGroupBounds = function(cells,
border,
moveGroup)
Updates the bounds of the given array of groups so that it includes all child vertices.
mxGraph.prototype.cloneCells = function(cells,
allowInvalidEdges)
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)
Removes the given cells from the graph including all connected edges if includeEdges is true.
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)
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.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.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()
Returns extendParentsOnAdd.
mxGraph.prototype.setExtendParentsOnAdd = function(value)
Sets extendParentsOnAdd.
mxGraph.prototype.setRecursiveResize = function(value)
Sets recursiveResize.
mxGraph.prototype.isConstrainChildren = function()
Returns constrainChildren.
mxGraph.prototype.setConstrainChildrenOnResize = function(value)
Sets constrainChildrenOnResize.
mxGraph.prototype.isConstrainChildrenOnResize = function()
Returns constrainChildrenOnResize.
mxGraph.prototype.setConstrainChildren = function(value)
Sets constrainChildren.
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)
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)
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 children of the given parent that are contained in the given rectangle (x, y, width, height).
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 and/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.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)
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 given mouse down event should be ignored.
Fires in fireGestureEvent after a touch gesture.
mxGraph.prototype.destroy = function()
Destroys the graph and all its resources.
Event handler that selects rectangular regions.
Graph event handler that displays tooltips.
Event handler that pans and creates popupmenus.
Graph event handler that creates new connections.
Graph event handler that handles selection.
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.
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.
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 bounds (on the screen) 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.
Graph event handler that reconnects edges and modifies control points and the edge label location.
Event handler for resizing cells.
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)
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)
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.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.timerAutoScroll
Specifies if timer-based autoscrolling should be used via mxPanningManager.
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.ignoreScrollbars
Specifies if the graph should automatically scroll regardless of the scrollbars.
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.
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()
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)
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(container)
Creates the tooltip-, panning-, connection- and graph-handler (in this order).
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.stopEditing = function(cancel)
Stops the current 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.
mxGraph.prototype.toggleCellStyles = function(key,
defaultValue,
cells)
Toggles the boolean value for the given key in the style of the given cells.
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.updateGroupBounds = function(cells,
border,
moveGroup)
Updates the bounds of the given array of groups so that it includes all child vertices.
mxGraph.prototype.cloneCells = function(cells,
allowInvalidEdges)
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)
Removes the given cells from the graph including all connected edges if includeEdges is true.
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)
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.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.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()
Returns extendParentsOnAdd.
mxGraph.prototype.setExtendParentsOnAdd = function(value)
Sets extendParentsOnAdd.
mxGraph.prototype.setRecursiveResize = function(value)
Sets recursiveResize.
mxGraph.prototype.isConstrainChildren = function()
Returns constrainChildren.
mxGraph.prototype.setConstrainChildrenOnResize = function(value)
Sets constrainChildrenOnResize.
mxGraph.prototype.isConstrainChildrenOnResize = function()
Returns constrainChildrenOnResize.
mxGraph.prototype.setConstrainChildren = function(value)
Sets constrainChildren.
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)
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)
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 children of the given parent that are contained in the given rectangle (x, y, width, height).
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 and/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.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)
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 given mouse down event should be ignored.
Fires in fireGestureEvent after a touch gesture.
mxGraph.prototype.destroy = function()
Destroys the graph and all its resources.
Event handler that selects rectangular regions.
Graph event handler that displays tooltips.
Event handler that pans and creates popupmenus.
Graph event handler that creates new connections.
Graph event handler that handles selection.
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.
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.
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 bounds (on the screen) 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.
Graph event handler that reconnects edges and modifies control points and the edge label location.
Event handler for resizing cells.
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/mxGraphView-js.html b/docs/js-api/files/view/mxGraphView-js.html index 2d3f16019..c9704d3d8 100644 --- a/docs/js-api/files/view/mxGraphView-js.html +++ b/docs/js-api/files/view/mxGraphView-js.html @@ -11,7 +11,7 @@ if (browserType) {document.write("
");if (browserV -

mxGraphView

Extends mxEventSource to implement a view for a graph.  This class is in charge of computing the absolute coordinates for the relative child geometries, the points for perimeters and edge styles and keeping them cached in mxCellStates for faster retrieval.  The states are updated whenever the model or the view state (translate, scale) changes.  The scale and translate are honoured in the bounds.

Summary
mxGraphViewExtends mxEventSource to implement a view for a graph.
Events
mxEvent.UNDOFires after the root was changed in setCurrentRoot.
mxEvent.SCALE_AND_TRANSLATEFires after the scale and translate have been changed in scaleAndTranslate.
mxEvent.SCALEFires after the scale was changed in setScale.
mxEvent.TRANSLATEFires after the translate was changed in setTranslate.
mxEvent.DOWN and mxEvent.UPFire if the current root is changed by executing an mxCurrentRootChange.
Functions
mxGraphViewConstructs a new view for the given mxGraph.
Variables
doneResourceSpecifies the resource key for the status message after a long operation.
Functions
updatingDocumentResourceSpecifies the resource key for the status message while the document is being updated.
Variables
allowEvalSpecifies if string values in cell styles should be evaluated using mxUtils.eval.
captureDocumentGestureSpecifies if a gesture should be captured when it goes outside of the graph container.
optimizeVmlReflowsSpecifies if the <canvas> should be hidden while rendering in IE8 standards mode and quirks mode.
renderingSpecifies if shapes should be created, updated and destroyed using the methods of mxCellRenderer in graph.
graphReference to the enclosing mxGraph.
currentRootmxCell that acts as the root of the displayed cell hierarchy.
graphBoundsmxRectangle that caches the scales, translated bounds of the current view.
scaleSpecifies the scale.
translatemxPoint that specifies the current translation.
updateStyleSpecifies if the style should be updated in each validation step.
lastNodeDuring validation, this contains the last DOM node that was processed.
lastHtmlNodeDuring validation, this contains the last HTML DOM node that was processed.
lastEdgeNodeDuring validation, this contains the last edge’s DOM node that was processed.
Functions
getGraphBoundsReturns graphBounds.
setGraphBoundsSets graphBounds.
getBoundsReturns the bounds (on the screen) for the given array of mxCells.
setCurrentRootSets and returns the current root and fires an <undo> event before calling mxGraph.sizeDidChange.
scaleAndTranslateSets the scale and translation and fires a scale and translate event before calling revalidate followed by mxGraph.sizeDidChange.
getScaleReturns the scale.
setScaleSets the scale and fires a scale event before calling revalidate followed by mxGraph.sizeDidChange.
getTranslateReturns the translate.
setTranslateSets the translation and fires a translate event before calling revalidate followed by mxGraph.sizeDidChange.
refreshClears the view if currentRoot is not null and revalidates.
revalidateRevalidates the complete view with all cell states.
clearRemoves the state of the given cell and all descendants if the given cell is not the current root.
invalidateInvalidates the state of the given cell, all its descendants and connected edges.
resetValidationStateResets the current validation state.
validateCalls validateCell and <validateCellState> and updates the graphBounds using getBoundingBox.
getBoundingBoxReturns the bounding box of the shape and the label for the given mxCellState and its children if recurse is true.
createBackgroundPageShapeCreates and returns the shape used as the background page.
validateBackgroundCalls validateBackgroundImage and validateBackgroundPage.
validateBackgroundImageValidates the background image.
validateBackgroundPageValidates the background page.
getBackgroundPageBoundsReturns the bounds for the background page.
redrawBackgroundImageUpdates the bounds and redraws the background image.
validateCellRecursively creates the cell state for the given cell if visible is true and the given cell is visible.
validateCellStatesValidates and repaints the mxCellState for the given mxCell.
updateCellStateUpdates the given mxCellState.
updateVertexStateValidates the given cell state.
updateEdgeStateValidates the given cell state.
updateVertexLabelOffsetUpdates the absoluteOffset of the given vertex cell state.
stateValidatedInvoked when a state has been processed in <validatePoints>.
updateFixedTerminalPointsSets the initial absolute terminal points in the given state before the edge style is computed.
updateFixedTerminalPointSets the fixed source or target terminal point on the given edge.
updatePointsUpdates the absolute points in the given state using the specified array of mxPoints as the relative points.
transformControlPointTransforms the given control point to an absolute point.
getEdgeStyleReturns the edge style function to be used to render the given edge state.
updateFloatingTerminalPointsUpdates the terminal points in the given state after the edge style was computed for the edge.
updateFloatingTerminalPointUpdates the absolute terminal point in the given state for the given start and end state, where start is the source if source is true.
getTerminalPortReturns an mxCellState that represents the source or target terminal or port for the given edge.
getPerimeterPointReturns an mxPoint that defines the location of the intersection point between the perimeter and the line between the center of the shape and the given point.
getRoutingCenterXReturns the x-coordinate of the center point for automatic routing.
getRoutingCenterYReturns the y-coordinate of the center point for automatic routing.
getPerimeterBoundsReturns the perimeter bounds for the given terminal, edge pair as an mxRectangle.
getPerimeterFunctionReturns the perimeter function for the given state.
getNextPointReturns the nearest point in the list of absolute points or the center of the opposite terminal.
getVisibleTerminalReturns the nearest ancestor terminal that is visible.
updateEdgeBoundsUpdates the given state using the bounding box of t he absolute points.
getPointReturns the absolute point on the edge for the given relative mxGeometry as an mxPoint.
getRelativePointGets the relative point that describes the given, absolute label position for the given edge state.
updateEdgeLabelOffsetUpdates mxCellState.absoluteOffset for the given state.
getStateReturns the mxCellState for the given cell.
isRenderingReturns rendering.
setRenderingSets rendering.
isAllowEvalReturns allowEval.
setAllowEvalSets allowEval.
getStatesReturns <states>.
setStatesSets <states>.
getCellStatesReturns the mxCellStates for the given array of mxCells.
removeStateRemoves and returns the mxCellState for the given cell.
createStateCreates and returns an mxCellState for the given cell and initializes it using <mxCellRenderer.initialize>.
getCanvasReturns the DOM node that contains the background-, draw- and overlaypane.
getBackgroundPaneReturns the DOM node that represents the background layer.
getDrawPaneReturns the DOM node that represents the main drawing layer.
getOverlayPaneReturns the DOM node that represents the topmost drawing layer.
isContainerEventReturns true if the event origin is one of the drawing panes or containers of the view.
isScrollEventReturns true if the event origin is one of the scrollbars of the container in IE.
initInitializes the graph event dispatch loop for the specified container and invokes create to create the required DOM nodes for the display.
installListenersInstalls the required listeners in the container.
createCreates the DOM nodes for the HTML display.
updateHtmlCanvasSizeUpdates the size of the HTML canvas.
createHtmlPaneCreates and returns a drawing pane in HTML (DIV).
createCreates the DOM nodes for the VML display.
createVmlPaneCreates a drawing pane in VML (group).
createCreates and returns the DOM nodes for the SVG display.
updateContainerStyleUpdates the style of the container after installing the SVG DOM elements.
destroyDestroys the view and all its resources.
mxCurrentRootChangeAction to change the current root in a view.
Functions
mxCurrentRootChangeConstructs a change of the current root in the given view.
executeChanges the current root of the view.
+

mxGraphView

Extends mxEventSource to implement a view for a graph.  This class is in charge of computing the absolute coordinates for the relative child geometries, the points for perimeters and edge styles and keeping them cached in mxCellStates for faster retrieval.  The states are updated whenever the model or the view state (translate, scale) changes.  The scale and translate are honoured in the bounds.

Summary
mxGraphViewExtends mxEventSource to implement a view for a graph.
Events
mxEvent.UNDOFires after the root was changed in setCurrentRoot.
mxEvent.SCALE_AND_TRANSLATEFires after the scale and translate have been changed in scaleAndTranslate.
mxEvent.SCALEFires after the scale was changed in setScale.
mxEvent.TRANSLATEFires after the translate was changed in setTranslate.
mxEvent.DOWN and mxEvent.UPFire if the current root is changed by executing an mxCurrentRootChange.
Functions
mxGraphViewConstructs a new view for the given mxGraph.
Variables
doneResourceSpecifies the resource key for the status message after a long operation.
Functions
updatingDocumentResourceSpecifies the resource key for the status message while the document is being updated.
Variables
allowEvalSpecifies if string values in cell styles should be evaluated using mxUtils.eval.
captureDocumentGestureSpecifies if a gesture should be captured when it goes outside of the graph container.
optimizeVmlReflowsSpecifies if the <canvas> should be hidden while rendering in IE8 standards mode and quirks mode.
renderingSpecifies if shapes should be created, updated and destroyed using the methods of mxCellRenderer in graph.
graphReference to the enclosing mxGraph.
currentRootmxCell that acts as the root of the displayed cell hierarchy.
graphBoundsmxRectangle that caches the scales, translated bounds of the current view.
scaleSpecifies the scale.
translatemxPoint that specifies the current translation.
updateStyleSpecifies if the style should be updated in each validation step.
lastNodeDuring validation, this contains the last DOM node that was processed.
lastHtmlNodeDuring validation, this contains the last HTML DOM node that was processed.
lastForegroundNodeDuring validation, this contains the last edge’s DOM node that was processed.
Functions
getGraphBoundsReturns graphBounds.
setGraphBoundsSets graphBounds.
getBoundsReturns the bounds (on the screen) for the given array of mxCells.
setCurrentRootSets and returns the current root and fires an <undo> event before calling mxGraph.sizeDidChange.
scaleAndTranslateSets the scale and translation and fires a scale and translate event before calling revalidate followed by mxGraph.sizeDidChange.
getScaleReturns the scale.
setScaleSets the scale and fires a scale event before calling revalidate followed by mxGraph.sizeDidChange.
getTranslateReturns the translate.
setTranslateSets the translation and fires a translate event before calling revalidate followed by mxGraph.sizeDidChange.
refreshClears the view if currentRoot is not null and revalidates.
revalidateRevalidates the complete view with all cell states.
clearRemoves the state of the given cell and all descendants if the given cell is not the current root.
invalidateInvalidates the state of the given cell, all its descendants and connected edges.
validateCalls validateCell and <validateCellState> and updates the graphBounds using getBoundingBox.
getBoundingBoxReturns the bounding box of the shape and the label for the given mxCellState and its children if recurse is true.
createBackgroundPageShapeCreates and returns the shape used as the background page.
validateBackgroundCalls validateBackgroundImage and validateBackgroundPage.
validateBackgroundImageValidates the background image.
validateBackgroundPageValidates the background page.
getBackgroundPageBoundsReturns the bounds for the background page.
redrawBackgroundImageUpdates the bounds and redraws the background image.
validateCellRecursively creates the cell state for the given cell if visible is true and the given cell is visible.
validateCellStatesValidates and repaints the mxCellState for the given mxCell.
updateCellStateUpdates the given mxCellState.
updateVertexStateValidates the given cell state.
updateEdgeStateValidates the given cell state.
updateVertexLabelOffsetUpdates the absoluteOffset of the given vertex cell state.
resetValidationStateResets the current validation state.
stateValidatedInvoked when a state has been processed in <validatePoints>.
updateFixedTerminalPointsSets the initial absolute terminal points in the given state before the edge style is computed.
updateFixedTerminalPointSets the fixed source or target terminal point on the given edge.
updatePointsUpdates the absolute points in the given state using the specified array of mxPoints as the relative points.
transformControlPointTransforms the given control point to an absolute point.
getEdgeStyleReturns the edge style function to be used to render the given edge state.
updateFloatingTerminalPointsUpdates the terminal points in the given state after the edge style was computed for the edge.
updateFloatingTerminalPointUpdates the absolute terminal point in the given state for the given start and end state, where start is the source if source is true.
getTerminalPortReturns an mxCellState that represents the source or target terminal or port for the given edge.
getPerimeterPointReturns an mxPoint that defines the location of the intersection point between the perimeter and the line between the center of the shape and the given point.
getRoutingCenterXReturns the x-coordinate of the center point for automatic routing.
getRoutingCenterYReturns the y-coordinate of the center point for automatic routing.
getPerimeterBoundsReturns the perimeter bounds for the given terminal, edge pair as an mxRectangle.
getPerimeterFunctionReturns the perimeter function for the given state.
getNextPointReturns the nearest point in the list of absolute points or the center of the opposite terminal.
getVisibleTerminalReturns the nearest ancestor terminal that is visible.
updateEdgeBoundsUpdates the given state using the bounding box of t he absolute points.
getPointReturns the absolute point on the edge for the given relative mxGeometry as an mxPoint.
getRelativePointGets the relative point that describes the given, absolute label position for the given edge state.
updateEdgeLabelOffsetUpdates mxCellState.absoluteOffset for the given state.
getStateReturns the mxCellState for the given cell.
isRenderingReturns rendering.
setRenderingSets rendering.
isAllowEvalReturns allowEval.
setAllowEvalSets allowEval.
getStatesReturns <states>.
setStatesSets <states>.
getCellStatesReturns the mxCellStates for the given array of mxCells.
removeStateRemoves and returns the mxCellState for the given cell.
createStateCreates and returns an mxCellState for the given cell and initializes it using <mxCellRenderer.initialize>.
getCanvasReturns the DOM node that contains the background-, draw- and overlaypane.
getBackgroundPaneReturns the DOM node that represents the background layer.
getDrawPaneReturns the DOM node that represents the main drawing layer.
getOverlayPaneReturns the DOM node that represents the topmost drawing layer.
isContainerEventReturns true if the event origin is one of the drawing panes or containers of the view.
isScrollEventReturns true if the event origin is one of the scrollbars of the container in IE.
initInitializes the graph event dispatch loop for the specified container and invokes create to create the required DOM nodes for the display.
installListenersInstalls the required listeners in the container.
createCreates the DOM nodes for the HTML display.
updateHtmlCanvasSizeUpdates the size of the HTML canvas.
createHtmlPaneCreates and returns a drawing pane in HTML (DIV).
createCreates the DOM nodes for the VML display.
createVmlPaneCreates a drawing pane in VML (group).
createCreates and returns the DOM nodes for the SVG display.
updateContainerStyleUpdates the style of the container after installing the SVG DOM elements.
destroyDestroys the view and all its resources.
mxCurrentRootChangeAction to change the current root in a view.
Functions
mxCurrentRootChangeConstructs a change of the current root in the given view.
executeChanges the current root of the view.

Events

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

lastHtmlNode

mxGraphView.prototype.lastHtmlNode

During validation, this contains the last HTML DOM node that was processed.

-

lastEdgeNode

mxGraphView.prototype.lastEdgeNode

During validation, this contains the last edge’s DOM node that was processed.

+

lastForegroundNode

mxGraphView.prototype.lastForegroundNode

During validation, this contains the last edge’s DOM node that was processed.

Functions

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

invalidate

mxGraphView.prototype.invalidate = function(cell,
recurse,
includeEdges)

Invalidates the state of the given cell, all its descendants and connected edges.

Parameters

cellOptional mxCell to be invalidated.  Default is the root of the model.
-

resetValidationState

mxGraphView.prototype.resetValidationState = function()

Resets the current validation state.

+

validate

mxGraphView.prototype.validate = function(cell)

Calls validateCell and <validateCellState> and updates the graphBounds using getBoundingBox.  Finally the background is validated using validateBackground.

Parameters

cellOptional mxCell to be used as the root of the validation.  Default is currentRoot or the root of the model.
-

validate

mxGraphView.prototype.validate = function(cell)

Calls validateCell and <validateCellState> and updates the graphBounds using getBoundingBox.  Finally the background is validated using validateBackground.

Parameters

cellOptional mxCell to be used as the root of the validation.  Default is currentRoot or the root of the model.
- -

getBoundingBox

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.

Parameters

statemxCellState whose bounding box should be returned.
recurseOptional boolean indicating if the children should be included.  Default is true.
+

getBoundingBox

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.

Parameters

statemxCellState whose bounding box should be returned.
recurseOptional boolean indicating if the children should be included.  Default is true.

createBackgroundPageShape

mxGraphView.prototype.createBackgroundPageShape = function(bounds)

Creates and returns the shape used as the background page.

Parameters

boundsmxRectangle that represents the bounds of the shape.
-

validateBackground

mxGraphView.prototype.validateBackground = function()

Calls validateBackgroundImage and validateBackgroundPage.

+

validateBackground

mxGraphView.prototype.validateBackground = function()

Calls validateBackgroundImage and validateBackgroundPage.

validateBackgroundImage

mxGraphView.prototype.validateBackgroundImage = function()

Validates the background image.

@@ -119,37 +117,39 @@ if (browserType) {document.write("
");if (browserV backgroundImage.redraw(); };

Parameters

backgroundImagemxImageShape that represents the background image.
bgmxImage that specifies the image and its dimensions.
-

validateCell

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.  If the cell is not visible but the state exists then it is removed using removeState.

Parameters

cellmxCell whose mxCellState should be created.
visibleOptional boolean indicating if the cell should be visible.  Default is true.
+

validateCell

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.  If the cell is not visible but the state exists then it is removed using removeState.

Parameters

cellmxCell whose mxCellState should be created.
visibleOptional boolean indicating if the cell should be visible.  Default is true.
-

validateCellStates

Validates and repaints the mxCellState for the given mxCell.

Parameters

cellmxCell whose mxCellState should be validated.
recurseOptional boolean indicating if the children of the cell should be validated.  Default is true.
+

validateCellStates

Validates and repaints the mxCellState for the given mxCell.

Parameters

cellmxCell whose mxCellState should be validated.
recurseOptional boolean indicating if the children of the cell should be validated.  Default is true.
-

updateCellState

mxGraphView.prototype.updateCellState = function(state)

Updates the given mxCellState.

Parameters

statemxCellState to be updated.
+

updateCellState

mxGraphView.prototype.updateCellState = function(state)

Updates the given mxCellState.

Parameters

statemxCellState to be updated.

updateVertexState

mxGraphView.prototype.updateVertexState = function(state,
geo)

Validates the given cell state.

updateEdgeState

mxGraphView.prototype.updateEdgeState = function(state,
geo)

Validates the given cell state.

-

updateVertexLabelOffset

mxGraphView.prototype.updateVertexLabelOffset = function(state)

Updates the absoluteOffset of the given vertex cell state.  This takes into account the label position styles.

Parameters

statemxCellState whose absolute offset should be updated.
+

updateVertexLabelOffset

mxGraphView.prototype.updateVertexLabelOffset = function(state)

Updates the absoluteOffset of the given vertex cell state.  This takes into account the label position styles.

Parameters

statemxCellState whose absolute offset should be updated.
-

stateValidated

mxGraphView.prototype.stateValidated = function(state)

Invoked when a state has been processed in <validatePoints>.  This is used to update the order of the DOM nodes of the shape.

Parameters

statemxCellState that represents the cell state.
+

resetValidationState

mxGraphView.prototype.resetValidationState = function()

Resets the current validation state.

-

updateFixedTerminalPoints

mxGraphView.prototype.updateFixedTerminalPoints = function(edge,
source,
target)

Sets the initial absolute terminal points in the given state before the edge style is computed.

Parameters

edgemxCellState whose initial terminal points should be updated.
sourcemxCellState which represents the source terminal.
targetmxCellState which represents the target terminal.
+

stateValidated

mxGraphView.prototype.stateValidated = function(state)

Invoked when a state has been processed in <validatePoints>.  This is used to update the order of the DOM nodes of the shape.

Parameters

statemxCellState that represents the cell state.
-

updateFixedTerminalPoint

mxGraphView.prototype.updateFixedTerminalPoint = function(edge,
terminal,
source,
constraint)

Sets the fixed source or target terminal point on the given edge.

Parameters

edgemxCellState whose terminal point should be updated.
terminalmxCellState which represents the actual terminal.
sourceBoolean that specifies if the terminal is the source.
constraintmxConnectionConstraint that specifies the connection.
+

updateFixedTerminalPoints

mxGraphView.prototype.updateFixedTerminalPoints = function(edge,
source,
target)

Sets the initial absolute terminal points in the given state before the edge style is computed.

Parameters

edgemxCellState whose initial terminal points should be updated.
sourcemxCellState which represents the source terminal.
targetmxCellState which represents the target terminal.
-

updatePoints

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.

Parameters

edgemxCellState whose absolute points should be updated.
pointsArray of mxPoints that constitute the relative points.
sourcemxCellState that represents the source terminal.
targetmxCellState that represents the target terminal.
+

updateFixedTerminalPoint

mxGraphView.prototype.updateFixedTerminalPoint = function(edge,
terminal,
source,
constraint)

Sets the fixed source or target terminal point on the given edge.

Parameters

edgemxCellState whose terminal point should be updated.
terminalmxCellState which represents the actual terminal.
sourceBoolean that specifies if the terminal is the source.
constraintmxConnectionConstraint that specifies the connection.
+ +

updatePoints

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.

Parameters

edgemxCellState whose absolute points should be updated.
pointsArray of mxPoints that constitute the relative points.
sourcemxCellState that represents the source terminal.
targetmxCellState that represents the target terminal.

transformControlPoint

mxGraphView.prototype.transformControlPoint = function(state,
pt)

Transforms the given control point to an absolute point.

getEdgeStyle

mxGraphView.prototype.getEdgeStyle = function(edge,
points,
source,
target)

Returns the edge style function to be used to render the given edge state.

-

updateFloatingTerminalPoints

mxGraphView.prototype.updateFloatingTerminalPoints = function(state,
source,
target)

Updates the terminal points in the given state after the edge style was computed for the edge.

Parameters

statemxCellState whose terminal points should be updated.
sourcemxCellState that represents the source terminal.
targetmxCellState that represents the target terminal.
+

updateFloatingTerminalPoints

mxGraphView.prototype.updateFloatingTerminalPoints = function(state,
source,
target)

Updates the terminal points in the given state after the edge style was computed for the edge.

Parameters

statemxCellState whose terminal points should be updated.
sourcemxCellState that represents the source terminal.
targetmxCellState that represents the target terminal.
-

updateFloatingTerminalPoint

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.

Parameters

edgemxCellState whose terminal point should be updated.
startmxCellState for the terminal on “this” side of the edge.
endmxCellState for the terminal on the other side of the edge.
sourceBoolean indicating if start is the source terminal state.
+

updateFloatingTerminalPoint

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.

Parameters

edgemxCellState whose terminal point should be updated.
startmxCellState for the terminal on “this” side of the edge.
endmxCellState for the terminal on the other side of the edge.
sourceBoolean indicating if start is the source terminal state.
-

getTerminalPort

mxGraphView.prototype.getTerminalPort = function(state,
terminal,
source)

Returns an mxCellState that represents the source or target terminal or port for the given edge.

Parameters

statemxCellState that represents the state of the edge.
terminalmxCellState that represents the terminal.
sourceBoolean indicating if the given terminal is the source terminal.
+

getTerminalPort

mxGraphView.prototype.getTerminalPort = function(state,
terminal,
source)

Returns an mxCellState that represents the source or target terminal or port for the given edge.

Parameters

statemxCellState that represents the state of the edge.
terminalmxCellState that represents the terminal.
sourceBoolean indicating if the given terminal is the source terminal.
-

getPerimeterPoint

mxGraphView.prototype.getPerimeterPoint = function(terminal,
next,
orthogonal,
border)

Returns an mxPoint that defines the location of the intersection point between the perimeter and the line between the center of the shape and the given point.

Parameters

terminalmxCellState for the source or target terminal.
nextmxPoint that lies outside of the given terminal.
orthogonalBoolean that specifies if the orthogonal projection onto the perimeter should be returned.  If this is false then the intersection of the perimeter and the line between the next and the center point is returned.
borderOptional border between the perimeter and the shape.
+

getPerimeterPoint

mxGraphView.prototype.getPerimeterPoint = function(terminal,
next,
orthogonal,
border)

Returns an mxPoint that defines the location of the intersection point between the perimeter and the line between the center of the shape and the given point.

Parameters

terminalmxCellState for the source or target terminal.
nextmxPoint that lies outside of the given terminal.
orthogonalBoolean that specifies if the orthogonal projection onto the perimeter should be returned.  If this is false then the intersection of the perimeter and the line between the next and the center point is returned.
borderOptional border between the perimeter and the shape.

getRoutingCenterX

mxGraphView.prototype.getRoutingCenterX = function (state)

Returns the x-coordinate of the center point for automatic routing.

@@ -179,23 +179,23 @@ mxGraphView.prototype.getPerimeterBounds = function(terminal, edge, isSource) } return oldGetPerimeterBounds.apply(this, arguments); -};

Parameters

terminalmxCellState that represents the terminal.
borderNumber that adds a border between the shape and the perimeter.
+};

Parameters

terminalmxCellState that represents the terminal.
borderNumber that adds a border between the shape and the perimeter.

getPerimeterFunction

mxGraphView.prototype.getPerimeterFunction = function(state)

Returns the perimeter function for the given state.

-

getNextPoint

mxGraphView.prototype.getNextPoint = function(edge,
opposite,
source)

Returns the nearest point in the list of absolute points or the center of the opposite terminal.

Parameters

edgemxCellState that represents the edge.
oppositemxCellState that represents the opposite terminal.
sourceBoolean indicating if the next point for the source or target should be returned.
+

getNextPoint

mxGraphView.prototype.getNextPoint = function(edge,
opposite,
source)

Returns the nearest point in the list of absolute points or the center of the opposite terminal.

Parameters

edgemxCellState that represents the edge.
oppositemxCellState that represents the opposite terminal.
sourceBoolean indicating if the next point for the source or target should be returned.

getVisibleTerminal

mxGraphView.prototype.getVisibleTerminal = function(edge,
source)

Returns the nearest ancestor terminal that is visible.  The edge appears to be connected to this terminal on the display.  The result of this method is cached in mxCellState.getVisibleTerminalState.

Parameters

edgemxCell whose visible terminal should be returned.
sourceBoolean that specifies if the source or target terminal should be returned.
-

updateEdgeBounds

mxGraphView.prototype.updateEdgeBounds = function(state)

Updates the given state using the bounding box of t he absolute points.  Also updates mxCellState.terminalDistance, mxCellState.length and mxCellState.segments.

Parameters

statemxCellState whose bounds should be updated.
+

updateEdgeBounds

mxGraphView.prototype.updateEdgeBounds = function(state)

Updates the given state using the bounding box of t he absolute points.  Also updates mxCellState.terminalDistance, mxCellState.length and mxCellState.segments.

Parameters

statemxCellState whose bounds should be updated.
-

getPoint

mxGraphView.prototype.getPoint = function(state,
geometry)

Returns the absolute point on the edge for the given relative mxGeometry as an mxPoint.  The edge is represented by the given mxCellState.

Parameters

statemxCellState that represents the state of the parent edge.
geometrymxGeometry that represents the relative location.
+

getPoint

mxGraphView.prototype.getPoint = function(state,
geometry)

Returns the absolute point on the edge for the given relative mxGeometry as an mxPoint.  The edge is represented by the given mxCellState.

Parameters

statemxCellState that represents the state of the parent edge.
geometrymxGeometry that represents the relative location.
-

getRelativePoint

mxGraphView.prototype.getRelativePoint = function(edgeState,
x,
y)

Gets the relative point that describes the given, absolute label position for the given edge state.

Parameters

statemxCellState that represents the state of the parent edge.
xSpecifies the x-coordinate of the absolute label location.
ySpecifies the y-coordinate of the absolute label location.
+

getRelativePoint

mxGraphView.prototype.getRelativePoint = function(edgeState,
x,
y)

Gets the relative point that describes the given, absolute label position for the given edge state.

Parameters

statemxCellState that represents the state of the parent edge.
xSpecifies the x-coordinate of the absolute label location.
ySpecifies the y-coordinate of the absolute label location.
-

updateEdgeLabelOffset

mxGraphView.prototype.updateEdgeLabelOffset = function(state)

Updates mxCellState.absoluteOffset for the given state.  The absolute offset is normally used for the position of the edge label.  Is is calculated from the geometry as an absolute offset from the center between the two endpoints if the geometry is absolute, or as the relative distance between the center along the line and the absolute orthogonal distance if the geometry is relative.

Parameters

statemxCellState whose absolute offset should be updated.
+

updateEdgeLabelOffset

mxGraphView.prototype.updateEdgeLabelOffset = function(state)

Updates mxCellState.absoluteOffset for the given state.  The absolute offset is normally used for the position of the edge label.  Is is calculated from the geometry as an absolute offset from the center between the two endpoints if the geometry is absolute, or as the relative distance between the center along the line and the absolute orthogonal distance if the geometry is relative.

Parameters

statemxCellState whose absolute offset should be updated.
-

getState

mxGraphView.prototype.getState = function(cell,
create)

Returns the mxCellState for the given cell.  If create is true, then the state is created if it does not yet exist.

Parameters

cellmxCell for which the mxCellState should be returned.
createOptional boolean indicating if a new state should be created if it does not yet exist.  Default is false.
+

getState

mxGraphView.prototype.getState = function(cell,
create)

Returns the mxCellState for the given cell.  If create is true, then the state is created if it does not yet exist.

Parameters

cellmxCell for which the mxCellState should be returned.
createOptional boolean indicating if a new state should be created if it does not yet exist.  Default is false.

isRendering

mxGraphView.prototype.isRendering = function()

Returns rendering.

@@ -209,11 +209,11 @@ mxGraphView.prototype.getPerimeterBounds = function(terminal, edge, isSource)

setStates

mxGraphView.prototype.setStates = function(value)

Sets <states>.

-

getCellStates

mxGraphView.prototype.getCellStates = function(cells)

Returns the mxCellStates for the given array of mxCells.  The array contains all states that are not null, that is, the returned array may have less elements than the given array.  If no argument is given, then this returns <states>.

+

getCellStates

mxGraphView.prototype.getCellStates = function(cells)

Returns the mxCellStates for the given array of mxCells.  The array contains all states that are not null, that is, the returned array may have less elements than the given array.  If no argument is given, then this returns <states>.

-

removeState

mxGraphView.prototype.removeState = function(cell)

Removes and returns the mxCellState for the given cell.

Parameters

cellmxCell for which the mxCellState should be removed.
+

removeState

mxGraphView.prototype.removeState = function(cell)

Removes and returns the mxCellState for the given cell.

Parameters

cellmxCell for which the mxCellState should be removed.
-

createState

mxGraphView.prototype.createState = function(cell)

Creates and returns an mxCellState for the given cell and initializes it using <mxCellRenderer.initialize>.

Parameters

cellmxCell for which a new mxCellState should be created.
+

createState

mxGraphView.prototype.createState = function(cell)

Creates and returns an mxCellState for the given cell and initializes it using <mxCellRenderer.initialize>.

Parameters

cellmxCell for which a new mxCellState should be created.

getCanvas

mxGraphView.prototype.getCanvas = function()

Returns the DOM node that contains the background-, draw- and overlaypane.

@@ -269,7 +269,7 @@ HideAllBut([11], 13);// --> -
Base class for objects that dispatch named events.
mxGraphView.prototype.setCurrentRoot = function(root)
Sets and returns the current root and fires an undo event before calling mxGraph.sizeDidChange.
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.
mxGraphView.prototype.setScale = function(value)
Sets the scale and fires a scale event before calling revalidate followed by mxGraph.sizeDidChange.
mxGraphView.prototype.setTranslate = function(dx,
dy)
Sets the translation and fires a translate event before calling revalidate followed by mxGraph.sizeDidChange.
Action to change the current root in a view.
function mxGraphView(graph)
Constructs a new view for the given mxGraph.
Extends mxEventSource to implement a graph component for the browser.
mxGraphView.prototype.doneResource
Specifies the resource key for the status message after a long operation.
mxGraphView.prototype.allowEval
Specifies if string values in cell styles should be evaluated using mxUtils.eval.
eval: function(expr)
Evaluates the given expression using eval and returns the JavaScript object that represents the expression result.
mxGraphView.prototype.captureDocumentGesture
Specifies if a gesture should be captured when it goes outside of the graph container.
mxGraphView.prototype.optimizeVmlReflows
Specifies if the canvas should be hidden while rendering in IE8 standards mode and quirks mode.
mxGraphView.prototype.rendering
Specifies if shapes should be created, updated and destroyed using the methods of mxCellRenderer in graph.
Renders cells into a document object model.
mxGraphView.prototype.graph
Reference to the enclosing mxGraph.
mxGraphView.prototype.currentRoot
mxCell that acts as the root of the displayed cell hierarchy.
Cells are the elements of the graph model.
mxGraphView.prototype.graphBounds
mxRectangle that caches the scales, translated bounds of the current view.
Extends mxPoint to implement a 2-dimensional rectangle with double precision coordinates.
mxGraphView.prototype.scale
Specifies the scale.
mxGraphView.prototype.translate
mxPoint that specifies the current translation.
Implements a 2-dimensional vector with double precision coordinates.
mxGraphView.prototype.updateStyle
Specifies if the style should be updated in each validation step.
mxGraphView.prototype.lastNode
During validation, this contains the last DOM node that was processed.
mxGraphView.prototype.lastHtmlNode
During validation, this contains the last HTML DOM node that was processed.
mxGraphView.prototype.lastEdgeNode
During validation, this contains the last edge’s DOM node that was processed.
mxGraphView.prototype.getGraphBounds = function()
Returns graphBounds.
mxGraphView.prototype.setGraphBounds = function(value)
Sets graphBounds.
mxGraphView.prototype.getBounds = function(cells)
Returns the bounds (on the screen) for the given array of mxCells.
mxGraph.prototype.sizeDidChange = function()
Called when the size of the graph has changed.
mxGraphView.prototype.revalidate = function()
Revalidates the complete view with all cell states.
mxGraphView.prototype.getScale = function()
Returns the scale.
mxGraphView.prototype.getTranslate = function()
Returns the translate.
mxGraphView.prototype.refresh = function()
Clears the view if currentRoot is not null and revalidates.
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.
mxGraphView.prototype.invalidate = function(cell,
recurse,
includeEdges)
Invalidates the state of the given cell, all its descendants and connected edges.
mxGraphView.prototype.resetValidationState = function()
Resets the current validation state.
mxGraphView.prototype.validate = function(cell)
Calls validateCell and validateCellState and updates the graphBounds using getBoundingBox.
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.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.
Represents the current state of a cell in a given mxGraphView.
mxGraphView.prototype.createBackgroundPageShape = function(bounds)
Creates and returns the shape used as the background page.
mxGraphView.prototype.validateBackground = function()
Calls validateBackgroundImage and validateBackgroundPage.
mxGraphView.prototype.validateBackgroundImage = function()
Validates the background image.
mxGraphView.prototype.validateBackgroundPage = function()
Validates the background page.
mxGraphView.prototype.getBackgroundPageBounds = function()
Returns the bounds for the background page.
mxGraphView.prototype.redrawBackgroundImage = function(backgroundImage,
bg)
Updates the bounds and redraws the background image.
mxGraphView.prototype.updateCellState = function(state)
Updates the given mxCellState.
mxGraphView.prototype.updateVertexState = function(state,
geo)
Validates the given cell state.
mxGraphView.prototype.updateEdgeState = function(state,
geo)
Validates the given cell state.
mxGraphView.prototype.updateVertexLabelOffset = function(state)
Updates the absoluteOffset of the given vertex cell state.
mxGraphView.prototype.stateValidated = function(state)
Invoked when a state has been processed in validatePoints.
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.updateFixedTerminalPoint = function(edge,
terminal,
source,
constraint)
Sets the fixed source or target terminal point on the given edge.
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.
mxGraphView.prototype.transformControlPoint = function(state,
pt)
Transforms the given control point to an absolute point.
mxGraphView.prototype.getEdgeStyle = function(edge,
points,
source,
target)
Returns the edge style function to be used to render the given edge state.
mxGraphView.prototype.updateFloatingTerminalPoints = function(state,
source,
target)
Updates the terminal points in the given state after the edge style was computed for the edge.
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.getTerminalPort = function(state,
terminal,
source)
Returns an mxCellState that represents the source or target terminal or port for the given edge.
mxGraphView.prototype.getPerimeterPoint = function(terminal,
next,
orthogonal,
border)
Returns an mxPoint that defines the location of the intersection point between the perimeter and the line between the center of the shape and the given point.
mxGraphView.prototype.getRoutingCenterX = function (state)
Returns the x-coordinate of the center point for automatic routing.
mxGraphView.prototype.getRoutingCenterY = function (state)
Returns the y-coordinate of the center point for automatic routing.
mxGraphView.prototype.getPerimeterBounds = function(terminal,
border)
Returns the perimeter bounds for the given terminal, edge pair as an mxRectangle.
mxGraphView.prototype.getPerimeterFunction = function(state)
Returns the perimeter function for the given state.
mxGraphView.prototype.getNextPoint = function(edge,
opposite,
source)
Returns the nearest point in the list of absolute points or the center of the opposite terminal.
mxGraphView.prototype.getVisibleTerminal = function(edge,
source)
Returns the nearest ancestor terminal that is visible.
mxGraphView.prototype.updateEdgeBounds = function(state)
Updates the given state using the bounding box of t he absolute points.
mxGraphView.prototype.getPoint = function(state,
geometry)
Returns the absolute point on the edge for the given relative mxGeometry as an mxPoint.
Extends mxRectangle to represent the geometry of a cell.
mxGraphView.prototype.getRelativePoint = function(edgeState,
x,
y)
Gets the relative point that describes the given, absolute label position for the given edge state.
mxGraphView.prototype.updateEdgeLabelOffset = function(state)
Updates mxCellState.absoluteOffset for the given state.
mxCellState.prototype.absoluteOffset
mxPoint that holds the absolute offset.
mxGraphView.prototype.getState = function(cell,
create)
Returns the mxCellState for the given cell.
mxGraphView.prototype.isRendering = function()
Returns rendering.
mxGraphView.prototype.setRendering = function(value)
Sets rendering.
mxGraphView.prototype.isAllowEval = function()
Returns allowEval.
mxGraphView.prototype.setAllowEval = function(value)
Sets allowEval.
mxGraphView.prototype.getStates = function()
Returns states.
mxGraphView.prototype.setStates = function(value)
Sets states.
mxGraphView.prototype.getCellStates = function(cells)
Returns the mxCellStates for the given array of mxCells.
mxGraphView.prototype.removeState = function(cell)
Removes and returns the mxCellState for the given cell.
mxGraphView.prototype.createState = function(cell)
Creates and returns an mxCellState for the given cell and initializes it using mxCellRenderer.initialize.
mxGraphView.prototype.getCanvas = function()
Returns the DOM node that contains the background-, draw- and overlaypane.
mxGraphView.prototype.getBackgroundPane = function()
Returns the DOM node that represents the background layer.
mxGraphView.prototype.getDrawPane = function()
Returns the DOM node that represents the main drawing layer.
mxGraphView.prototype.getOverlayPane = function()
Returns the DOM node that represents the topmost drawing layer.
mxGraphView.prototype.isContainerEvent = function(evt)
Returns true if the event origin is one of the drawing panes or containers of the view.
mxGraphView.prototype.isScrollEvent = function(evt)
Returns true if the event origin is one of the scrollbars of the container in IE.
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.
mxGraphView.prototype.createHtml = function()
Creates the DOM nodes for the HTML display.
mxGraphView.prototype.installListeners = function()
Installs the required listeners in the container.
mxGraphView.prototype.updateHtmlCanvasSize = function(width,
height)
Updates the size of the HTML canvas.
mxGraphView.prototype.createHtmlPane = function(width,
height)
Creates and returns a drawing pane in HTML (DIV).
mxGraphView.prototype.createVmlPane = function(width,
height)
Creates a drawing pane in VML (group).
mxGraphView.prototype.updateContainerStyle = function(container)
Updates the style of the container after installing the SVG DOM elements.
mxGraphView.prototype.destroy = function()
Destroys the view and all its resources.
function mxCurrentRootChange(view,
root)
Constructs a change of the current root in the given view.
mxCurrentRootChange.prototype.execute = function()
Changes the current root of the view.
Implements a composite undoable edit.
Singleton class that acts as a global converter from string to object values in a style.
Extends mxShape to implement an image shape.
Encapsulates the URL, width and height of an image.
Defines an object that contains the constraints about how to connect one side of an edge to its terminal.
mxCellState.prototype.getVisibleTerminalState = function (source)
Returns the visible source or target terminal state.
mxCellState.prototype.terminalDistance
Caches the distance between the end points for an edge.
mxCellState.prototype.length
Caches the length of an edge.
mxCellState.prototype.segments
Array of numbers that represent the cached length of each segment of the edge.
+
Base class for objects that dispatch named events.
mxGraphView.prototype.setCurrentRoot = function(root)
Sets and returns the current root and fires an undo event before calling mxGraph.sizeDidChange.
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.
mxGraphView.prototype.setScale = function(value)
Sets the scale and fires a scale event before calling revalidate followed by mxGraph.sizeDidChange.
mxGraphView.prototype.setTranslate = function(dx,
dy)
Sets the translation and fires a translate event before calling revalidate followed by mxGraph.sizeDidChange.
Action to change the current root in a view.
function mxGraphView(graph)
Constructs a new view for the given mxGraph.
Extends mxEventSource to implement a graph component for the browser.
mxGraphView.prototype.doneResource
Specifies the resource key for the status message after a long operation.
mxGraphView.prototype.allowEval
Specifies if string values in cell styles should be evaluated using mxUtils.eval.
eval: function(expr)
Evaluates the given expression using eval and returns the JavaScript object that represents the expression result.
mxGraphView.prototype.captureDocumentGesture
Specifies if a gesture should be captured when it goes outside of the graph container.
mxGraphView.prototype.optimizeVmlReflows
Specifies if the canvas should be hidden while rendering in IE8 standards mode and quirks mode.
mxGraphView.prototype.rendering
Specifies if shapes should be created, updated and destroyed using the methods of mxCellRenderer in graph.
Renders cells into a document object model.
mxGraphView.prototype.graph
Reference to the enclosing mxGraph.
mxGraphView.prototype.currentRoot
mxCell that acts as the root of the displayed cell hierarchy.
Cells are the elements of the graph model.
mxGraphView.prototype.graphBounds
mxRectangle that caches the scales, translated bounds of the current view.
Extends mxPoint to implement a 2-dimensional rectangle with double precision coordinates.
mxGraphView.prototype.scale
Specifies the scale.
mxGraphView.prototype.translate
mxPoint that specifies the current translation.
Implements a 2-dimensional vector with double precision coordinates.
mxGraphView.prototype.updateStyle
Specifies if the style should be updated in each validation step.
mxGraphView.prototype.lastNode
During validation, this contains the last DOM node that was processed.
mxGraphView.prototype.lastHtmlNode
During validation, this contains the last HTML DOM node that was processed.
mxGraphView.prototype.lastForegroundNode
During validation, this contains the last edge’s DOM node that was processed.
mxGraphView.prototype.getGraphBounds = function()
Returns graphBounds.
mxGraphView.prototype.setGraphBounds = function(value)
Sets graphBounds.
mxGraphView.prototype.getBounds = function(cells)
Returns the bounds (on the screen) for the given array of mxCells.
mxGraph.prototype.sizeDidChange = function()
Called when the size of the graph has changed.
mxGraphView.prototype.revalidate = function()
Revalidates the complete view with all cell states.
mxGraphView.prototype.getScale = function()
Returns the scale.
mxGraphView.prototype.getTranslate = function()
Returns the translate.
mxGraphView.prototype.refresh = function()
Clears the view if currentRoot is not null and revalidates.
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.
mxGraphView.prototype.invalidate = function(cell,
recurse,
includeEdges)
Invalidates the state of the given cell, all its descendants and connected edges.
mxGraphView.prototype.validate = function(cell)
Calls validateCell and validateCellState and updates the graphBounds using getBoundingBox.
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.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.
Represents the current state of a cell in a given mxGraphView.
mxGraphView.prototype.createBackgroundPageShape = function(bounds)
Creates and returns the shape used as the background page.
mxGraphView.prototype.validateBackground = function()
Calls validateBackgroundImage and validateBackgroundPage.
mxGraphView.prototype.validateBackgroundImage = function()
Validates the background image.
mxGraphView.prototype.validateBackgroundPage = function()
Validates the background page.
mxGraphView.prototype.getBackgroundPageBounds = function()
Returns the bounds for the background page.
mxGraphView.prototype.redrawBackgroundImage = function(backgroundImage,
bg)
Updates the bounds and redraws the background image.
mxGraphView.prototype.updateCellState = function(state)
Updates the given mxCellState.
mxGraphView.prototype.updateVertexState = function(state,
geo)
Validates the given cell state.
mxGraphView.prototype.updateEdgeState = function(state,
geo)
Validates the given cell state.
mxGraphView.prototype.updateVertexLabelOffset = function(state)
Updates the absoluteOffset of the given vertex cell state.
mxGraphView.prototype.resetValidationState = function()
Resets the current validation state.
mxGraphView.prototype.stateValidated = function(state)
Invoked when a state has been processed in validatePoints.
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.updateFixedTerminalPoint = function(edge,
terminal,
source,
constraint)
Sets the fixed source or target terminal point on the given edge.
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.
mxGraphView.prototype.transformControlPoint = function(state,
pt)
Transforms the given control point to an absolute point.
mxGraphView.prototype.getEdgeStyle = function(edge,
points,
source,
target)
Returns the edge style function to be used to render the given edge state.
mxGraphView.prototype.updateFloatingTerminalPoints = function(state,
source,
target)
Updates the terminal points in the given state after the edge style was computed for the edge.
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.getTerminalPort = function(state,
terminal,
source)
Returns an mxCellState that represents the source or target terminal or port for the given edge.
mxGraphView.prototype.getPerimeterPoint = function(terminal,
next,
orthogonal,
border)
Returns an mxPoint that defines the location of the intersection point between the perimeter and the line between the center of the shape and the given point.
mxGraphView.prototype.getRoutingCenterX = function (state)
Returns the x-coordinate of the center point for automatic routing.
mxGraphView.prototype.getRoutingCenterY = function (state)
Returns the y-coordinate of the center point for automatic routing.
mxGraphView.prototype.getPerimeterBounds = function(terminal,
border)
Returns the perimeter bounds for the given terminal, edge pair as an mxRectangle.
mxGraphView.prototype.getPerimeterFunction = function(state)
Returns the perimeter function for the given state.
mxGraphView.prototype.getNextPoint = function(edge,
opposite,
source)
Returns the nearest point in the list of absolute points or the center of the opposite terminal.
mxGraphView.prototype.getVisibleTerminal = function(edge,
source)
Returns the nearest ancestor terminal that is visible.
mxGraphView.prototype.updateEdgeBounds = function(state)
Updates the given state using the bounding box of t he absolute points.
mxGraphView.prototype.getPoint = function(state,
geometry)
Returns the absolute point on the edge for the given relative mxGeometry as an mxPoint.
Extends mxRectangle to represent the geometry of a cell.
mxGraphView.prototype.getRelativePoint = function(edgeState,
x,
y)
Gets the relative point that describes the given, absolute label position for the given edge state.
mxGraphView.prototype.updateEdgeLabelOffset = function(state)
Updates mxCellState.absoluteOffset for the given state.
mxCellState.prototype.absoluteOffset
mxPoint that holds the absolute offset.
mxGraphView.prototype.getState = function(cell,
create)
Returns the mxCellState for the given cell.
mxGraphView.prototype.isRendering = function()
Returns rendering.
mxGraphView.prototype.setRendering = function(value)
Sets rendering.
mxGraphView.prototype.isAllowEval = function()
Returns allowEval.
mxGraphView.prototype.setAllowEval = function(value)
Sets allowEval.
mxGraphView.prototype.getStates = function()
Returns states.
mxGraphView.prototype.setStates = function(value)
Sets states.
mxGraphView.prototype.getCellStates = function(cells)
Returns the mxCellStates for the given array of mxCells.
mxGraphView.prototype.removeState = function(cell)
Removes and returns the mxCellState for the given cell.
mxGraphView.prototype.createState = function(cell)
Creates and returns an mxCellState for the given cell and initializes it using mxCellRenderer.initialize.
mxGraphView.prototype.getCanvas = function()
Returns the DOM node that contains the background-, draw- and overlaypane.
mxGraphView.prototype.getBackgroundPane = function()
Returns the DOM node that represents the background layer.
mxGraphView.prototype.getDrawPane = function()
Returns the DOM node that represents the main drawing layer.
mxGraphView.prototype.getOverlayPane = function()
Returns the DOM node that represents the topmost drawing layer.
mxGraphView.prototype.isContainerEvent = function(evt)
Returns true if the event origin is one of the drawing panes or containers of the view.
mxGraphView.prototype.isScrollEvent = function(evt)
Returns true if the event origin is one of the scrollbars of the container in IE.
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.
mxGraphView.prototype.createHtml = function()
Creates the DOM nodes for the HTML display.
mxGraphView.prototype.installListeners = function()
Installs the required listeners in the container.
mxGraphView.prototype.updateHtmlCanvasSize = function(width,
height)
Updates the size of the HTML canvas.
mxGraphView.prototype.createHtmlPane = function(width,
height)
Creates and returns a drawing pane in HTML (DIV).
mxGraphView.prototype.createVmlPane = function(width,
height)
Creates a drawing pane in VML (group).
mxGraphView.prototype.updateContainerStyle = function(container)
Updates the style of the container after installing the SVG DOM elements.
mxGraphView.prototype.destroy = function()
Destroys the view and all its resources.
function mxCurrentRootChange(view,
root)
Constructs a change of the current root in the given view.
mxCurrentRootChange.prototype.execute = function()
Changes the current root of the view.
Implements a composite undoable edit.
Singleton class that acts as a global converter from string to object values in a style.
Extends mxShape to implement an image shape.
Encapsulates the URL, width and height of an image.
Defines an object that contains the constraints about how to connect one side of an edge to its terminal.
mxCellState.prototype.getVisibleTerminalState = function (source)
Returns the visible source or target terminal state.
mxCellState.prototype.terminalDistance
Caches the distance between the end points for an edge.
mxCellState.prototype.length
Caches the length of an edge.
mxCellState.prototype.segments
Array of numbers that represent the cached length of each segment of the edge.
diff --git a/docs/js-api/files/view/mxOutline-js.html b/docs/js-api/files/view/mxOutline-js.html index 28f4c51be..f9d11253d 100644 --- a/docs/js-api/files/view/mxOutline-js.html +++ b/docs/js-api/files/view/mxOutline-js.html @@ -11,7 +11,7 @@ if (browserType) {document.write("
");if (browserV -

mxOutline

Implements an outline (aka overview) for a graph.  Set updateOnPan to true to enable updates while the source graph is panning.

Example

var outline = new mxOutline(graph, div);

If an outline is used in an mxWindow in IE8 standards mode, the following code makes sure that the shadow filter is not inherited and that any transparent elements in the graph do not show the page background, but the background of the graph container.

if (document.documentMode == 8)
+

mxOutline

Implements an outline (aka overview) for a graph.  Set updateOnPan to true to enable updates while the source graph is panning.

Example

var outline = new mxOutline(graph, div);

If an outline is used in an mxWindow in IE8 standards mode, the following code makes sure that the shadow filter is not inherited and that any transparent elements in the graph do not show the page background, but the background of the graph container.

if (document.documentMode == 8)
 {
   container.style.filter = 'progid:DXImageTransform.Microsoft.alpha(opacity=100)';
 }

To move the graph to the top, left corner the following code can be used.

var scale = graph.view.scale;
@@ -20,15 +20,15 @@ graph.view.setTranslate(-bounds.x / scale, -bounds.y / scale);
Summary
mxOutlineImplements an outline (aka overview) for a graph.
Functions
mxOutlineConstructs a new outline for the specified graph inside the given container.
sourceReference to the source mxGraph.
outlineReference to the mxGraph that renders the outline.
graphRenderHintRenderhint to be used for the outline graph.
Variables
enabledSpecifies if events are handled.
showViewportSpecifies a viewport rectangle should be shown.
borderBorder to be added at the bottom and right.
enabledSpecifies the size of the sizer handler.
labelsVisibleSpecifies if labels should be visible in the outline.
updateOnPanSpecifies if update should be called for mxEvent.PAN in the source graph.
sizerImageOptional mxImage to be used for the sizer.
suspendedOptional boolean flag to suspend updates.
forceVmlHandlesSpecifies if VML should be used to render the handles in this control.
Functions
initInitializes the outline inside the given container.
isEnabledReturns true if events are handled.
setEnabledEnables or disables event handling.
setZoomEnabledEnables or disables the zoom handling by showing or hiding the respective handle.
refreshInvokes update and revalidate the outline.
createSizerCreates the shape used as the sizer.
getSourceContainerSizeReturns the size of the source container.
getOutlineOffsetReturns the offset for drawing the outline graph.
updateUpdates the outline.
mouseDownHandles the event by starting a translation or zoom.
mouseMoveHandles the event by previewing the viewrect in <graph> and updating the rectangle that represents the viewrect in the outline.
getTranslateForEventGets the translate for the given mouse event.
mouseUpHandles the event by applying the translation or zoom to <graph>.
destroyDestroy this outline and removes all listeners from source.
+}
Summary
mxOutlineImplements an outline (aka overview) for a graph.
Functions
mxOutlineConstructs a new outline for the specified graph inside the given container.
sourceReference to the source mxGraph.
outlineReference to the mxGraph that renders the outline.
graphRenderHintRenderhint to be used for the outline graph.
Variables
enabledSpecifies if events are handled.
showViewportSpecifies a viewport rectangle should be shown.
borderBorder to be added at the bottom and right.
enabledSpecifies the size of the sizer handler.
labelsVisibleSpecifies if labels should be visible in the outline.
updateOnPanSpecifies if update should be called for mxEvent.PAN in the source graph.
sizerImageOptional mxImage to be used for the sizer.
suspendedOptional boolean flag to suspend updates.
forceVmlHandlesSpecifies if VML should be used to render the handles in this control.
Functions
createGraphCreates the mxGraph used in the outline.
initInitializes the outline inside the given container.
isEnabledReturns true if events are handled.
setEnabledEnables or disables event handling.
setZoomEnabledEnables or disables the zoom handling by showing or hiding the respective handle.
refreshInvokes update and revalidate the outline.
createSizerCreates the shape used as the sizer.
getSourceContainerSizeReturns the size of the source container.
getOutlineOffsetReturns the offset for drawing the outline graph.
getOutlineOffsetReturns the offset for drawing the outline graph.
updateUpdates the outline.
mouseDownHandles the event by starting a translation or zoom.
mouseMoveHandles the event by previewing the viewrect in <graph> and updating the rectangle that represents the viewrect in the outline.
getTranslateForEventGets the translate for the given mouse event.
mouseUpHandles the event by applying the translation or zoom to <graph>.
destroyDestroy this outline and removes all listeners from source.

Functions

-

mxOutline

function mxOutline(source,
container)

Constructs a new outline for the specified graph inside the given container.

Parameters

sourcemxGraph to create the outline for.
containerDOM node that will contain the outline.
+

mxOutline

function mxOutline(source,
container)

Constructs a new outline for the specified graph inside the given container.

Parameters

sourcemxGraph to create the outline for.
containerDOM node that will contain the outline.
-

source

Reference to the source mxGraph.

+

source

Reference to the source mxGraph.

-

outline

Reference to the mxGraph that renders the outline.

+

outline

Reference to the mxGraph that renders the outline.

graphRenderHint

Renderhint to be used for the outline graph.  Default is faster.

@@ -44,9 +44,9 @@ if (!outline.suspended)

labelsVisible

mxOutline.prototype.labelsVisible

Specifies if labels should be visible in the outline.  Default is false.

-

updateOnPan

mxOutline.prototype.updateOnPan

Specifies if update should be called for mxEvent.PAN in the source graph.  Default is false.

+

updateOnPan

mxOutline.prototype.updateOnPan

Specifies if update should be called for mxEvent.PAN in the source graph.  Default is false.

-

sizerImage

mxOutline.prototype.sizerImage

Optional mxImage to be used for the sizer.  Default is null.

+

sizerImage

mxOutline.prototype.sizerImage

Optional mxImage to be used for the sizer.  Default is null.

suspended

mxOutline.prototype.suspended

Optional boolean flag to suspend updates.  Default is false.  This flag will also suspend repaints of the outline.  To toggle this switch, use the following code.

nav.suspended = !nav.suspended;
 
@@ -59,15 +59,17 @@ if (!nav.suspended)
 
 

Functions

+

createGraph

mxOutline.prototype.createGraph = function(container)

Creates the mxGraph used in the outline.

+

init

mxOutline.prototype.init = function(container)

Initializes the outline inside the given container.

-

isEnabled

mxOutline.prototype.isEnabled = function()

Returns true if events are handled.  This implementation returns enabled.

+

isEnabled

mxOutline.prototype.isEnabled = function()

Returns true if events are handled.  This implementation returns enabled.

-

setEnabled

mxOutline.prototype.setEnabled = function(value)

Enables or disables event handling.  This implementation updates enabled.

Parameters

valueBoolean that specifies the new enabled state.
+

setEnabled

mxOutline.prototype.setEnabled = function(value)

Enables or disables event handling.  This implementation updates enabled.

Parameters

valueBoolean that specifies the new enabled state.

setZoomEnabled

mxOutline.prototype.setZoomEnabled = function(value)

Enables or disables the zoom handling by showing or hiding the respective handle.

Parameters

valueBoolean that specifies the new enabled state.
-

refresh

mxOutline.prototype.refresh = function()

Invokes update and revalidate the outline.  This method is deprecated.

+

refresh

mxOutline.prototype.refresh = function()

Invokes update and revalidate the outline.  This method is deprecated.

createSizer

mxOutline.prototype.createSizer = function()

Creates the shape used as the sizer.

@@ -75,6 +77,8 @@ if (!nav.suspended)

getOutlineOffset

mxOutline.prototype.getOutlineOffset = function(scale)

Returns the offset for drawing the outline graph.

+

getOutlineOffset

Returns the offset for drawing the outline graph.

+

update

mxOutline.prototype.update = function(revalidate)

Updates the outline.

mouseDown

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

Handles the event by starting a translation or zoom.

@@ -97,7 +101,7 @@ if (!nav.suspended)

mouseUp

mxOutline.prototype.mouseUp = function(sender,
me)

Handles the event by applying the translation or zoom to <graph>.

-

destroy

mxOutline.prototype.destroy = function()

Destroy this outline and removes all listeners from source.

+

destroy

mxOutline.prototype.destroy = function()

Destroy this outline and removes all listeners from source.

@@ -113,7 +117,7 @@ HideAllBut([11], 13);// -->
-
function mxOutline(source,
container)
Constructs a new outline for the specified graph inside the given container.
Extends mxEventSource to implement a graph component for the browser.
mxOutline.prototype.enabled
Specifies if events are handled.
mxOutline.prototype.showViewport
Specifies a viewport rectangle should be shown.
mxOutline.prototype.border
Border to be added at the bottom and right.
mxOutline.prototype.labelsVisible
Specifies if labels should be visible in the outline.
mxOutline.prototype.updateOnPan
Specifies if update should be called for mxEvent.PAN in the source graph.
mxOutline.prototype.update = function(revalidate)
Updates the outline.
Specifies the event name for pan.
mxOutline.prototype.sizerImage
Optional mxImage to be used for the sizer.
Encapsulates the URL, width and height of an image.
mxOutline.prototype.suspended
Optional boolean flag to suspend updates.
mxOutline.prototype.forceVmlHandles
Specifies if VML should be used to render the handles in this control.
mxOutline.prototype.init = function(container)
Initializes the outline inside the given container.
mxOutline.prototype.isEnabled = function()
Returns true if events are handled.
mxOutline.prototype.setEnabled = function(value)
Enables or disables event handling.
mxOutline.prototype.setZoomEnabled = function(value)
Enables or disables the zoom handling by showing or hiding the respective handle.
mxOutline.prototype.refresh = function()
Invokes update and revalidate the outline.
mxOutline.prototype.createSizer = function()
Creates the shape used as the sizer.
mxOutline.prototype.getSourceContainerSize = function()
Returns the size of the source container.
mxOutline.prototype.getOutlineOffset = function(scale)
Returns the offset for drawing the outline graph.
mxOutline.prototype.mouseDown = function(sender,
me)
Handles the event by starting a translation or zoom.
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.
mxOutline.prototype.getTranslateForEvent = function(me)
Gets the translate for the given mouse event.
mxOutline.prototype.mouseUp = function(sender,
me)
Handles the event by applying the translation or zoom to graph.
mxOutline.prototype.destroy = function()
Destroy this outline and removes all listeners from source.
Reference to the source mxGraph.
Basic window inside a document.
+
function mxOutline(source,
container)
Constructs a new outline for the specified graph inside the given container.
Extends mxEventSource to implement a graph component for the browser.
mxOutline.prototype.enabled
Specifies if events are handled.
mxOutline.prototype.showViewport
Specifies a viewport rectangle should be shown.
mxOutline.prototype.border
Border to be added at the bottom and right.
mxOutline.prototype.labelsVisible
Specifies if labels should be visible in the outline.
mxOutline.prototype.updateOnPan
Specifies if update should be called for mxEvent.PAN in the source graph.
mxOutline.prototype.update = function(revalidate)
Updates the outline.
Specifies the event name for pan.
mxOutline.prototype.sizerImage
Optional mxImage to be used for the sizer.
Encapsulates the URL, width and height of an image.
mxOutline.prototype.suspended
Optional boolean flag to suspend updates.
mxOutline.prototype.forceVmlHandles
Specifies if VML should be used to render the handles in this control.
mxOutline.prototype.createGraph = function(container)
Creates the mxGraph used in the outline.
mxOutline.prototype.init = function(container)
Initializes the outline inside the given container.
mxOutline.prototype.isEnabled = function()
Returns true if events are handled.
mxOutline.prototype.setEnabled = function(value)
Enables or disables event handling.
mxOutline.prototype.setZoomEnabled = function(value)
Enables or disables the zoom handling by showing or hiding the respective handle.
mxOutline.prototype.refresh = function()
Invokes update and revalidate the outline.
mxOutline.prototype.createSizer = function()
Creates the shape used as the sizer.
mxOutline.prototype.getSourceContainerSize = function()
Returns the size of the source container.
mxOutline.prototype.getOutlineOffset = function(scale)
Returns the offset for drawing the outline graph.
mxOutline.prototype.mouseDown = function(sender,
me)
Handles the event by starting a translation or zoom.
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.
mxOutline.prototype.getTranslateForEvent = function(me)
Gets the translate for the given mouse event.
mxOutline.prototype.mouseUp = function(sender,
me)
Handles the event by applying the translation or zoom to graph.
mxOutline.prototype.destroy = function()
Destroy this outline and removes all listeners from source.
Reference to the source mxGraph.
Basic window inside a document.
diff --git a/docs/js-api/index/Functions.html b/docs/js-api/index/Functions.html index 2d9c9a93b..6267b34a9 100644 --- a/docs/js-api/index/Functions.html +++ b/docs/js-api/index/Functions.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
A
 activate, mxWindow
 add
 addAction
 addActionCombo, mxDefaultToolbar
 addActionOption, mxDefaultToolbar
 addActions, mxEditor
 addAlias, mxCodecRegistry
 addAllEdges, mxGraph
 addBreak, mxToolbar
 addButton, mxLog
 addButtons, mxForm
 addCell
 addCellOverlay, mxGraph
 addCells
 addCheckbox, mxForm
 addCombo
 addEdge, mxGraph
 addEdges, mxCellStatePreview
 addField, mxForm
 addGestureListeners, mxEvent
 addGraphFragment, mxPrintPreview
 addImageBundle, mxGraph
 addItem
 addItems, mxDefaultPopupMenu
 addLine, mxToolbar
 addListener
 addMarker, mxMarker
 addMode
 addMouseListener, mxGraph
 addNode
 addObjectValue, mxObjectCodec
 addOp, mxAbstractCanvas2D
 addOption
 addPoint, mxEdgeHandler
 addPointAt, mxEdgeHandler
 addPrototype, mxDefaultToolbar
 addSelectionCell, mxGraph
 addSelectionCells, mxGraph
 addSeparator
 addStencil, mxStencilRegistry
 addStylename, mxUtils
 addSwitchMode, mxToolbar
 addTemplate, mxEditor
 addText, mxForm
 addTextarea, mxForm
 addTextBackground, mxSvgCanvas2D
 addTransparentBackgroundFilter, mxUtils
 addTransparentBackgroundRectangle, mxShape
 addVertex, mxEditor
 addWaypoint, mxConnectionHandler
 adjustParents
 afterDecode
 afterEncode
 alert, mxUtils
 alignCells, mxGraph
 animateCell, mxMorphing
 animateChanges
 apply
 arcTo, mxAbstractCanvas2D
 arcToCurves, mxUtils
 arrangeGroups, mxGraphLayout
 attachParent, mxCompactTreeLayout
 augmentBoundingBox
 autoSizeCell, mxGraph
 avoid, mxEdgeLabelLayout
+
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
A
 activate, mxWindow
 add
 addAction
 addActionCombo, mxDefaultToolbar
 addActionOption, mxDefaultToolbar
 addActions, mxEditor
 addAlias, mxCodecRegistry
 addAllEdges, mxGraph
 addBreak, mxToolbar
 addButton, mxLog
 addButtons, mxForm
 addCell
 addCellOverlay, mxGraph
 addCells
 addCheckbox, mxForm
 addCombo
 addEdge, mxGraph
 addEdges, mxCellStatePreview
 addField, mxForm
 addGestureListeners, mxEvent
 addGraphFragment, mxPrintPreview
 addImageBundle, mxGraph
 addItem
 addItems, mxDefaultPopupMenu
 addLine, mxToolbar
 addListener
 addMarker, mxMarker
 addMode
 addMouseListener, mxGraph
 addNode
 addObjectValue, mxObjectCodec
 addOp, mxAbstractCanvas2D
 addOption
 addPoint, mxEdgeHandler
 addPointAt, mxEdgeHandler
 addPrototype, mxDefaultToolbar
 addSelectionCell, mxGraph
 addSelectionCells, mxGraph
 addSeparator
 addStencil, mxStencilRegistry
 addStylename, mxUtils
 addSwitchMode, mxToolbar
 addTemplate, mxEditor
 addText, mxForm
 addTextarea, mxForm
 addTextBackground, mxSvgCanvas2D
 addTransparentBackgroundFilter, mxUtils
 addVertex, mxEditor
 addWaypoint, mxConnectionHandler
 adjustParents
 afterDecode
 afterEncode
 alert, mxUtils
 alignCells, mxGraph
 animateCell, mxMorphing
 animateChanges
 apply
 arcTo, mxAbstractCanvas2D
 arcToCurves, mxUtils
 arrangeGroups, mxGraphLayout
 attachParent, mxCompactTreeLayout
 augmentBoundingBox
 autoSizeCell, mxGraph
 avoid, mxEdgeLabelLayout
-
mxWindow.prototype.activate = function()
Puts the window on top of all other windows.
mxGraphModel.prototype.add = function(parent,
child,
index)
Adds the specified child to the parent at the given index using mxChildChange and adds the change to the current transaction.
mxRectangle.prototype.add = function(rect)
Adds the given rectangle to this rectangle.
add: function(basename,
lan)
Adds the default and current language properties file for the specified basename.
mxUndoableEdit.prototype.add = function(change)
Adds the specified change to this edit.
mxDefaultPopupMenu.prototype.addAction = function(menu,
editor,
lab,
icon,
funct,
action,
cell,
parent,
iconCls)
Helper method to bind an action to a new menu item.
mxEditor.prototype.addAction = function (actionname,
funct)
Binds the specified actionname to the specified function.
mxDefaultToolbar.prototype.addActionCombo = function(title)
Helper method to invoke mxToolbar.addActionCombo on toolbar using the given title and return the resulting DOM node.
mxDefaultToolbar.prototype.addActionOption = function(combo,
title,
action)
Binds the given action to a option with the specified label in the given combo.
mxEditor.prototype.addActions = function ()
Adds the built-in actions to the editor instance.
addAlias: function(classname,
codecname)
Adds an alias for mapping a classname to a codecname.
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.
mxToolbar.prototype.addBreak = function()
Adds a break to the container.
addButton: function(lab,
funct)
Adds a button to the console using the given label and function.
mxForm.prototype.addButtons = function(okFunct,
cancelFunct)
Helper method to add an OK and Cancel button using the respective functions.
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.
mxGraphSelectionModel.prototype.addCell = function(cell)
Adds the given mxCell to the selection and fires a select event.
mxGraph.prototype.addCellOverlay = function(cell,
overlay)
Adds an mxCellOverlay for the specified cell.
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.
mxGraphSelectionModel.prototype.addCells = function(cells)
Adds the given array of mxCells to the selection and fires a select event.
mxForm.prototype.addCheckbox = function(name,
value)
Adds a checkbox for the given name and value and returns the textfield.
mxDefaultToolbar.prototype.addCombo = function()
Helper method to invoke mxToolbar.addCombo on toolbar and return the resulting DOM node.
mxForm.prototype.addCombo = function(name,
isMultiSelect,
size)
Adds a combo for the given name and returns the combo.
mxToolbar.prototype.addCombo = function(style)
Adds and returns a new SELECT element using the given style.
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.
mxCellStatePreview.prototype.addEdges = function(state)
mxForm.prototype.addField = function(name,
input)
Adds a new row with the name and the input field in two columns and returns the given input.
addGestureListeners: function(node,
startListener,
moveListener,
endListener)
Adds the given listeners for touch, mouse and/or pointer events.
mxPrintPreview.prototype.addGraphFragment = function(dx,
dy,
scale,
pageNumber,
div)
Adds a graph fragment to the given div.
mxGraph.prototype.addImageBundle = function(bundle)
Adds the specified mxImageBundle.
mxDefaultToolbar.prototype.addItem = function(title,
icon,
action,
pressed)
Adds a new item that executes the given action in editor.
mxPopupMenu.prototype.addItem = function(title,
image,
funct,
parent,
iconCls,
enabled)
Adds the given item to the given parent item.
mxToolbar.prototype.addItem = function(title,
icon,
funct,
pressedIcon,
style,
factoryMethod)
Adds the given function as an image with the specified title and icon and returns the new image node.
mxDefaultPopupMenu.prototype.addItems = function(editor,
menu,
cell,
evt,
conditions,
item,
parent)
Recursively adds the given items and all of its children into the given menu.
mxToolbar.prototype.addLine = function()
Adds a horizontal line to the container.
addListener: function()
Binds the function to the specified event on the given element.
mxEventSource.prototype.addListener = function(name,
funct)
Binds the specified function to the given event name.
addMarker: function(type,
funct)
Adds a factory method that updates a given endpoint and returns a function to paint the marker onto the given canvas.
mxDefaultToolbar.prototype.addMode = function(title,
icon,
mode,
pressed,
funct)
Creates an item for selecting the given mode in the editor’s graph.
mxToolbar.prototype.addMode = function(title,
icon,
funct,
pressedIcon,
style,
toggle)
Adds a new item to the toolbar.
mxGraph.prototype.addMouseListener = function(listener)
Adds a listener to the graph event dispatch loop.
mxSvgCanvas2D.prototype.addNode = function(filled,
stroked)
Private helper function to create SVG elements
mxVmlCanvas2D.prototype.addNode = function(filled,
stroked)
Adds the current node to the root.
mxObjectCodec.prototype.addObjectValue = function(obj,
fieldname,
value,
template)
Sets the decoded child node as a value of the given object.
mxAbstractCanvas2D.prototype.addOp = function()
Adds the given operation to the path.
mxDefaultToolbar.prototype.addOption = function(combo,
title,
value)
Helper method to invoke mxToolbar.addOption on toolbar and return the resulting DOM node that represents the option.
mxForm.prototype.addOption = function(combo,
label,
value,
isSelected)
Adds an option for the given label to the specified combo.
mxToolbar.prototype.addOption = function(combo,
title,
value)
Adds and returns a new OPTION element inside the given SELECT element.
mxEdgeHandler.prototype.addPoint = function(state,
evt)
Adds a control point for the given state and event.
mxEdgeHandler.prototype.addPointAt = function(state,
x,
y)
Adds a control point at the given point.
mxDefaultToolbar.prototype.addPrototype = function(title,
icon,
ptype,
pressed,
insert,
toggle)
Creates an item for inserting a clone of the specified prototype cell into the editor’s graph.
mxGraph.prototype.addSelectionCell = function(cell)
Adds the given cell to the selection.
mxGraph.prototype.addSelectionCells = function(cells)
Adds the given cells to the selection.
mxDefaultToolbar.prototype.addSeparator = function(icon)
Adds a vertical separator using the optional icon.
mxPopupMenu.prototype.addSeparator = function(parent,
force)
Adds a horizontal separator in the given parent item or the top-level menu if no parent is specified.
mxToolbar.prototype.addSeparator = function(icon)
Adds the specifies image as a separator.
addStencil: function(name,
stencil)
Adds the given mxStencil.
addStylename: function(style,
stylename)
Adds the specified stylename to the given style if it does not already contain the stylename.
mxToolbar.prototype.addSwitchMode = function(title,
icon,
funct,
pressedIcon,
style)
Adds a new selectable item to the toolbar.
mxEditor.prototype.addTemplate = function (name,
template)
Adds the specified template under the given name in templates.
mxForm.prototype.addText = function(name,
value)
Adds a textfield for the given name and value and returns the textfield.
mxForm.prototype.addTextarea = function(name,
value,
rows)
Adds a textarea for the given name and value and returns the textarea.
mxSvgCanvas2D.prototype.addTextBackground = function(node,
str,
x,
y,
w,
h,
align,
valign,
overflow)
Background color and border
addTransparentBackgroundFilter: function(node)
Adds a transparent background to the filter of the given node.
mxShape.prototype.addTransparentBackgroundRectangle = function(node,
x,
y,
w,
h)
Adds a transparent rectangle that catches all events.
mxEditor.prototype.addVertex = function (parent,
vertex,
x,
y)
Adds the given vertex as a child of parent at the specified x and y coordinate and fires an addVertex event.
mxConnectionHandler.prototype.addWaypointForEvent = function(me)
Adds the waypoint for the given event to waypoints.
mxCompactTreeLayout.prototype.adjustParents = function()
Adjust parent cells whose child geometries have changed.
mxCoordinateAssignment.prototype.adjustParents = function(parentsChanged)
Adjust parent cells whose child geometries have changed.
codec.afterDecode = function(dec,
node,
obj)
Restores object state in the child change.
codec.afterDecode = function(dec,
node,
obj)
Restores the state by assigning the previous value.
mxObjectCodec.prototype.afterDecode = function(dec,
node,
obj)
Hook for subclassers to post-process the object after decoding.
codec.afterDecode = function(dec,
node,
obj)
Restores the state by assigning the previous value.
codec.afterDecode = function(dec,
node,
obj)
Restores the state by assigning the previous value.
codec.afterEncode = function(enc,
obj,
node)
Encodes an mxCell and wraps the XML up inside the XML of the user object (inversion).
codec.afterEncode = function(enc,
obj,
node)
Encodes the child recusively and adds the result to the given node.
mxObjectCodec.prototype.afterEncode = function(enc,
obj,
node)
Hook for subclassers to post-process the node for the given object after encoding and return the post-processed node.
alert: function(message)
Displayss the given alert in a new dialog.
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.
mxMorphing.prototype.animateCell = function(cell,
move,
recurse)
Animates the given cell state using mxCellStatePreview.moveState.
animateChanges: function(graph,
changes,
done)
Asynchronous animated move operation.
animateChanges: function(graph,
changes)
See mxEffects.animateChanges.
mxCompactTreeLayout.prototype.apply = function(node,
bounds)
mxImageShape.prototype.apply = function(state)
Overrides mxShape.apply to replace the fill and stroke colors with the respective values from mxConstants.STYLE_IMAGE_BACKGROUND and mxConstants.STYLE_IMAGE_BORDER.
mxShape.prototype.apply = function(state)
Applies the style of the given mxCellState to the shape.
mxText.prototype.apply = function(state)
Extends mxShape to updat the text styles.
mxAbstractCanvas2D.prototype.arcTo = function(rx,
ry,
angle,
largeArcFlag,
sweepFlag,
x,
y)
Adds the given arc to the current path.
arcToCurves: function(x0,
y0,
r1,
r2,
angle,
largeArcFlag,
sweepFlag,
x,
y)
Converts the given arc to a series of curves.
mxGraphLayout.prototype.arrangeGroups = function(groups,
border)
Updates the bounds of the given groups to include all children.
mxCompactTreeLayout.prototype.attachParent = function(node,
height)
mxConnector.prototype.augmentBoundingBox = function(bbox)
Augments the bounding box with the strokewidth and shadow offsets.
mxShape.prototype.augmentBoundingBox = function(bbox)
Augments the bounding box with the strokewidth and shadow offsets.
mxGraph.prototype.autoSizeCell = function(cell,
recurse)
Removes the given cells from the graph including all connected edges if includeEdges is true.
mxEdgeLabelLayout.prototype.avoid = function(edge,
vertex)
Places the labels of the given edges.
+
mxWindow.prototype.activate = function()
Puts the window on top of all other windows.
mxGraphModel.prototype.add = function(parent,
child,
index)
Adds the specified child to the parent at the given index using mxChildChange and adds the change to the current transaction.
mxRectangle.prototype.add = function(rect)
Adds the given rectangle to this rectangle.
add: function(basename,
lan)
Adds the default and current language properties file for the specified basename.
mxUndoableEdit.prototype.add = function(change)
Adds the specified change to this edit.
mxDefaultPopupMenu.prototype.addAction = function(menu,
editor,
lab,
icon,
funct,
action,
cell,
parent,
iconCls)
Helper method to bind an action to a new menu item.
mxEditor.prototype.addAction = function (actionname,
funct)
Binds the specified actionname to the specified function.
mxDefaultToolbar.prototype.addActionCombo = function(title)
Helper method to invoke mxToolbar.addActionCombo on toolbar using the given title and return the resulting DOM node.
mxDefaultToolbar.prototype.addActionOption = function(combo,
title,
action)
Binds the given action to a option with the specified label in the given combo.
mxEditor.prototype.addActions = function ()
Adds the built-in actions to the editor instance.
addAlias: function(classname,
codecname)
Adds an alias for mapping a classname to a codecname.
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.
mxToolbar.prototype.addBreak = function()
Adds a break to the container.
addButton: function(lab,
funct)
Adds a button to the console using the given label and function.
mxForm.prototype.addButtons = function(okFunct,
cancelFunct)
Helper method to add an OK and Cancel button using the respective functions.
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.
mxGraphSelectionModel.prototype.addCell = function(cell)
Adds the given mxCell to the selection and fires a select event.
mxGraph.prototype.addCellOverlay = function(cell,
overlay)
Adds an mxCellOverlay for the specified cell.
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.
mxGraphSelectionModel.prototype.addCells = function(cells)
Adds the given array of mxCells to the selection and fires a select event.
mxForm.prototype.addCheckbox = function(name,
value)
Adds a checkbox for the given name and value and returns the textfield.
mxDefaultToolbar.prototype.addCombo = function()
Helper method to invoke mxToolbar.addCombo on toolbar and return the resulting DOM node.
mxForm.prototype.addCombo = function(name,
isMultiSelect,
size)
Adds a combo for the given name and returns the combo.
mxToolbar.prototype.addCombo = function(style)
Adds and returns a new SELECT element using the given style.
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.
mxCellStatePreview.prototype.addEdges = function(state)
mxForm.prototype.addField = function(name,
input)
Adds a new row with the name and the input field in two columns and returns the given input.
addGestureListeners: function(node,
startListener,
moveListener,
endListener)
Adds the given listeners for touch, mouse and/or pointer events.
mxPrintPreview.prototype.addGraphFragment = function(dx,
dy,
scale,
pageNumber,
div)
Adds a graph fragment to the given div.
mxGraph.prototype.addImageBundle = function(bundle)
Adds the specified mxImageBundle.
mxDefaultToolbar.prototype.addItem = function(title,
icon,
action,
pressed)
Adds a new item that executes the given action in editor.
mxPopupMenu.prototype.addItem = function(title,
image,
funct,
parent,
iconCls,
enabled)
Adds the given item to the given parent item.
mxToolbar.prototype.addItem = function(title,
icon,
funct,
pressedIcon,
style,
factoryMethod)
Adds the given function as an image with the specified title and icon and returns the new image node.
mxDefaultPopupMenu.prototype.addItems = function(editor,
menu,
cell,
evt,
conditions,
item,
parent)
Recursively adds the given items and all of its children into the given menu.
mxToolbar.prototype.addLine = function()
Adds a horizontal line to the container.
addListener: function()
Binds the function to the specified event on the given element.
mxEventSource.prototype.addListener = function(name,
funct)
Binds the specified function to the given event name.
addMarker: function(type,
funct)
Adds a factory method that updates a given endpoint and returns a function to paint the marker onto the given canvas.
mxDefaultToolbar.prototype.addMode = function(title,
icon,
mode,
pressed,
funct)
Creates an item for selecting the given mode in the editor’s graph.
mxToolbar.prototype.addMode = function(title,
icon,
funct,
pressedIcon,
style,
toggle)
Adds a new item to the toolbar.
mxGraph.prototype.addMouseListener = function(listener)
Adds a listener to the graph event dispatch loop.
mxSvgCanvas2D.prototype.addNode = function(filled,
stroked)
Private helper function to create SVG elements
mxVmlCanvas2D.prototype.addNode = function(filled,
stroked)
Adds the current node to the root.
mxObjectCodec.prototype.addObjectValue = function(obj,
fieldname,
value,
template)
Sets the decoded child node as a value of the given object.
mxAbstractCanvas2D.prototype.addOp = function()
Adds the given operation to the path.
mxDefaultToolbar.prototype.addOption = function(combo,
title,
value)
Helper method to invoke mxToolbar.addOption on toolbar and return the resulting DOM node that represents the option.
mxForm.prototype.addOption = function(combo,
label,
value,
isSelected)
Adds an option for the given label to the specified combo.
mxToolbar.prototype.addOption = function(combo,
title,
value)
Adds and returns a new OPTION element inside the given SELECT element.
mxEdgeHandler.prototype.addPoint = function(state,
evt)
Adds a control point for the given state and event.
mxEdgeHandler.prototype.addPointAt = function(state,
x,
y)
Adds a control point at the given point.
mxDefaultToolbar.prototype.addPrototype = function(title,
icon,
ptype,
pressed,
insert,
toggle)
Creates an item for inserting a clone of the specified prototype cell into the editor’s graph.
mxGraph.prototype.addSelectionCell = function(cell)
Adds the given cell to the selection.
mxGraph.prototype.addSelectionCells = function(cells)
Adds the given cells to the selection.
mxDefaultToolbar.prototype.addSeparator = function(icon)
Adds a vertical separator using the optional icon.
mxPopupMenu.prototype.addSeparator = function(parent,
force)
Adds a horizontal separator in the given parent item or the top-level menu if no parent is specified.
mxToolbar.prototype.addSeparator = function(icon)
Adds the specifies image as a separator.
addStencil: function(name,
stencil)
Adds the given mxStencil.
addStylename: function(style,
stylename)
Adds the specified stylename to the given style if it does not already contain the stylename.
mxToolbar.prototype.addSwitchMode = function(title,
icon,
funct,
pressedIcon,
style)
Adds a new selectable item to the toolbar.
mxEditor.prototype.addTemplate = function (name,
template)
Adds the specified template under the given name in templates.
mxForm.prototype.addText = function(name,
value)
Adds a textfield for the given name and value and returns the textfield.
mxForm.prototype.addTextarea = function(name,
value,
rows)
Adds a textarea for the given name and value and returns the textarea.
mxSvgCanvas2D.prototype.addTextBackground = function(node,
str,
x,
y,
w,
h,
align,
valign,
overflow)
Background color and border
addTransparentBackgroundFilter: function(node)
Adds a transparent background to the filter of the given node.
mxEditor.prototype.addVertex = function (parent,
vertex,
x,
y)
Adds the given vertex as a child of parent at the specified x and y coordinate and fires an addVertex event.
mxConnectionHandler.prototype.addWaypointForEvent = function(me)
Adds the waypoint for the given event to waypoints.
mxCompactTreeLayout.prototype.adjustParents = function()
Adjust parent cells whose child geometries have changed.
mxCoordinateAssignment.prototype.adjustParents = function(parentsChanged)
Adjust parent cells whose child geometries have changed.
codec.afterDecode = function(dec,
node,
obj)
Restores object state in the child change.
codec.afterDecode = function(dec,
node,
obj)
Restores the state by assigning the previous value.
mxObjectCodec.prototype.afterDecode = function(dec,
node,
obj)
Hook for subclassers to post-process the object after decoding.
codec.afterDecode = function(dec,
node,
obj)
Restores the state by assigning the previous value.
codec.afterDecode = function(dec,
node,
obj)
Restores the state by assigning the previous value.
codec.afterEncode = function(enc,
obj,
node)
Encodes an mxCell and wraps the XML up inside the XML of the user object (inversion).
codec.afterEncode = function(enc,
obj,
node)
Encodes the child recusively and adds the result to the given node.
mxObjectCodec.prototype.afterEncode = function(enc,
obj,
node)
Hook for subclassers to post-process the node for the given object after encoding and return the post-processed node.
alert: function(message)
Displayss the given alert in a new dialog.
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.
mxMorphing.prototype.animateCell = function(cell,
move,
recurse)
Animates the given cell state using mxCellStatePreview.moveState.
animateChanges: function(graph,
changes,
done)
Asynchronous animated move operation.
animateChanges: function(graph,
changes)
See mxEffects.animateChanges.
mxCompactTreeLayout.prototype.apply = function(node,
bounds)
mxImageShape.prototype.apply = function(state)
Overrides mxShape.apply to replace the fill and stroke colors with the respective values from mxConstants.STYLE_IMAGE_BACKGROUND and mxConstants.STYLE_IMAGE_BORDER.
mxShape.prototype.apply = function(state)
Applies the style of the given mxCellState to the shape.
mxText.prototype.apply = function(state)
Extends mxShape to updat the text styles.
mxAbstractCanvas2D.prototype.arcTo = function(rx,
ry,
angle,
largeArcFlag,
sweepFlag,
x,
y)
Adds the given arc to the current path.
arcToCurves: function(x0,
y0,
r1,
r2,
angle,
largeArcFlag,
sweepFlag,
x,
y)
Converts the given arc to a series of curves.
mxGraphLayout.prototype.arrangeGroups = function(groups,
border)
Updates the bounds of the given groups to include all children.
mxCompactTreeLayout.prototype.attachParent = function(node,
height)
mxConnector.prototype.augmentBoundingBox = function(bbox)
Augments the bounding box with the strokewidth and shadow offsets.
mxShape.prototype.augmentBoundingBox = function(bbox)
Augments the bounding box with the strokewidth and shadow offsets.
mxGraph.prototype.autoSizeCell = function(cell,
recurse)
Removes the given cells from the graph including all connected edges if includeEdges is true.
mxEdgeLabelLayout.prototype.avoid = function(edge,
vertex)
Places the labels of the given edges.
diff --git a/docs/js-api/index/Functions10.html b/docs/js-api/index/Functions10.html index b5f6741f9..179e2c220 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
 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
 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 mxGraph.isEnabled, isEnabled and isGraphEvent all return true for the given event and mxGraph.isEditing returns false.
+
mxKeyHandler.prototype.keyDown = function(evt)
Handles the event by invoking the function bound to the respective keystroke if mxGraph.isEnabled, isEnabled and isGraphEvent all return true for the given event and mxGraph.isEditing returns false.
-
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.
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.
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 dd8b5bf11..aa746101a 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
 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
 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
 mxRectangle
 mxRectangleShape, mxRectangleShape
 mxRhombus, mxRhombus
 mxRootChange, mxRootChange
 mxRubberband, mxRubberband
 mxSession, mxSession
 mxShape, mxShape
 mxSpaceManager, mxSpaceManager
 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
 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
 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
 mxRectangle
 mxRectangleShape, mxRectangleShape
 mxRhombus, mxRhombus
 mxRootChange, mxRootChange
 mxRubberband, mxRubberband
 mxSession, mxSession
 mxShape, mxShape
 mxSpaceManager, mxSpaceManager
 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)
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 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 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 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 mxSession(model,
urlInit,
urlPoll,
urlNotify)
Constructs a new session using the given mxGraphModel and URLs to communicate with the backend.
function mxShape(stencil)
Constructs a new shape.
function mxSpaceManager(graph,
shiftRightwards,
shiftDownwards,
extendParents)
Constructs a new automatic layout for the given graph.
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)
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)
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 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 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 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 mxSession(model,
urlInit,
urlPoll,
urlNotify)
Constructs a new session using the given mxGraphModel and URLs to communicate with the backend.
function mxShape(stencil)
Constructs a new shape.
function mxSpaceManager(graph,
shiftRightwards,
shiftDownwards,
extendParents)
Constructs a new automatic layout for the given graph.
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)
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 3a8d89130..256fa70aa 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
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
O
 offset, mxCompactTreeLayout
 onEncode, mxRootChangeCodec
 onInit
 open
 orderCells, mxGraph
 OrthConnector, mxEdgeStyle
 outline, mxOutline
-
mxSession.prototype.notify = function(xml,
onLoad,
onError)
Sends out the specified XML to urlNotify and fires a notify event.
mxUndoableEdit.prototype.notify = function()
Hook to notify any listeners of the changes after an undo or redo has been carried out.
+
mxSession.prototype.notify = function(xml,
onLoad,
onError)
Sends out the specified XML to urlNotify and fires a notify event.
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)
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)
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 bff7eec08..fd5c8e2f0 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
 paintRoundedSwimlane, mxSwimlane
 paintStencilShape, mxShape
 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
 poll, mxSession
 popup
 post, mxUtils
 postConfigureShape, mxCellRenderer
 postDiagram, mxEditor
 postProcessCellStyle, mxGraph
 print, mxPrintPreview
 printScreen, mxUtils
 process, mxCellMarker
 processChange, mxGraph
 processDelta, mxSession
 processEdit, mxSession
 processInclude, mxObjectCodec
 processReversedEdge, mxCoordinateAssignment
 processState, mxSession
 prompt, mxUtils
 ptSeqDistSq, 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
 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
 poll, mxSession
 popup
 post, mxUtils
 postConfigureShape, mxCellRenderer
 postDiagram, mxEditor
 postProcessCellStyle, mxGraph
 print, mxPrintPreview
 printScreen, mxUtils
 process, mxCellMarker
 processChange, mxGraph
 processDelta, mxSession
 processEdit, mxSession
 processInclude, mxObjectCodec
 processReversedEdge, mxCoordinateAssignment
 processState, mxSession
 prompt, mxUtils
 ptSeqDistSq, 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)
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.
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.
Paints the line shape.
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.
mxShape.prototype.paintStencilShape = function(c,
x,
y,
w,
h)
Paints the line 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)
Paints the outline of the current path.
mxSession.prototype.poll = function()
Sends an asynchronous GET request to urlPoll.
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.
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.
mxSession.prototype.processDelta = function(node)
Processes the given delta node which contains a sequence of edits which in turn map to one transaction on the remote model each.
mxSession.prototype.processEdit = function(node)
Processes the given edit by executing its changes and firing the required events via the model.
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
mxSession.prototype.processState = function(node)
Processes the given state node which contains the current state of the remote model.
prompt: function(message,
defaultValue)
Displays the given message in a prompt dialog.
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)
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.
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.
Paints the line shape.
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)
Paints the outline of the current path.
mxSession.prototype.poll = function()
Sends an asynchronous GET request to urlPoll.
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.
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.
mxSession.prototype.processDelta = function(node)
Processes the given delta node which contains a sequence of edits which in turn map to one transaction on the remote model each.
mxSession.prototype.processEdit = function(node)
Processes the given edit by executing its changes and firing the required events via the model.
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
mxSession.prototype.processState = function(node)
Processes the given state node which contains the current state of the remote model.
prompt: function(message,
defaultValue)
Displays the given message in a prompt dialog.
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 bfc140d5b..183fe8a68 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 ae4388542..0d1a26142 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
 receive, mxSession
 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
 redrawPath
 redrawShape, mxShape
 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
 removeCellsFromParent, mxGraph
 removeCursors, mxUtils
 removeEdge, mxCell
 removeFromParent, mxCell
 removeFromTerminal, mxCell
 removeGestureListeners, mxEvent
 removeImageBundle, mxGraph
 removeListener
 removeMouseListener, mxGraph
 removePoint, mxEdgeHandler
 removeSelectionCell, mxGraph
 removeSelectionCells, mxGraph
 removeState, mxGraphView
 removeStateForCell, mxGraph
 removeStylename, mxUtils
 removeWhitespace, mxUtils
 renderPage, mxPrintPreview
 repaint
 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
 resume, mxSession
 revalidate, mxGraphView
 revalidateState, mxCellStatePreview
 reversePortConstraints, mxUtils
 RhombusPerimeter, mxPerimeter
 rootChanged, mxGraphModel
 rotate
 rotateCell, mxVertexHandler
 rotateLabelBounds, mxCellRenderer
 rotatePoint, mxAbstractCanvas2D
 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
 receive, mxSession
 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
 redrawPath
 redrawShape, mxShape
 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
 removeCellsFromParent, mxGraph
 removeCursors, mxUtils
 removeEdge, mxCell
 removeFromParent, mxCell
 removeFromTerminal, mxCell
 removeGestureListeners, mxEvent
 removeImageBundle, mxGraph
 removeListener
 removeMouseListener, mxGraph
 removePoint, mxEdgeHandler
 removeSelectionCell, mxGraph
 removeSelectionCells, mxGraph
 removeState, mxGraphView
 removeStateForCell, mxGraph
 removeStylename, mxUtils
 removeWhitespace, mxUtils
 renderPage, mxPrintPreview
 repaint
 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
 resume, mxSession
 revalidate, mxGraphView
 revalidateState, mxCellStatePreview
 reversePortConstraints, mxUtils
 RhombusPerimeter, mxPerimeter
 rootChanged, mxGraphModel
 rotate
 rotateCell, mxVertexHandler
 rotateLabelBounds, mxCellRenderer
 rotatePoint, mxAbstractCanvas2D
 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.
mxSession.prototype.receive = function(node)
Processes the given node by applying the changes to the model.
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.
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.
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.
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.
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.
mxEdgeSegmentHandler.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.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.
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.
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.
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)
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.
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.
mxEdgeHandler.prototype.reset = function()
Resets the state of this handler.
mxGraphHandler.prototype.reset = function()
Resets the state of this handler.
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.
mxSession.prototype.resume = function(type,
attr,
value)
Resumes the session if it has been suspended.
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.
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.
Rotates the given cell to the given rotation.
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.
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.
mxSession.prototype.receive = function(node)
Processes the given node by applying the changes to the model.
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.
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.
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.
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.
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.
mxEdgeSegmentHandler.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.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.
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.
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.
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)
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.
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.
mxEdgeHandler.prototype.reset = function()
Resets the state of this handler.
mxGraphHandler.prototype.reset = function()
Resets the state of this handler.
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.
mxSession.prototype.resume = function(type,
attr,
value)
Resumes the session if it has been suspended.
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.
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.
Rotates the given cell to the given rotation.
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.
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 2d91d12b2..605bbbfc1 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
 scaleGraph, mxPanningHandler
 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
 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
 setFillColor
 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
 setInvokesStopCellEditing, mxGraph
 setLineCap
 setLineJoin
 setLocation, mxWindow
 setLocked, mxGraph
 setMaximizable, mxWindow
 setMinimizable, mxWindow
 setMiterLimit
 setMode, mxEditor
 setModified
 setMoveEnabled, mxGraphHandler
 setMultigraph, mxGraph
 setOpacity, mxUtils
 setOrthogonalEdge, mxGraphLayout
 setPanning, mxGraph
 setPanningEnabled, mxPanningHandler
 setParent, mxCell
 setPortsEnabled, mxGraph
 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
 setShiftDownwards, mxSpaceManager
 setShiftRightwards, mxSpaceManager
 setSingleSelection, mxGraphSelectionModel
 setSize, mxWindow
 setSplitEnabled, mxGraph
 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
 shiftCell, mxSpaceManager
 shouldRemoveCellsFromParent, mxGraphHandler
 show
 showHelp, mxEditor
 showMenu, mxPopupMenu
 showOutline, mxEditor
 showProperties, mxEditor
 showSubmenu, mxPopupMenu
 showTasks, mxEditor
 SideToSide, mxEdgeStyle
 simulate, mxXmlRequest
 sizeDidChange, mxGraph
 snap
 sortCells, mxUtils
 sortOutgoingEdges, mxCompactTreeLayout
 source, mxOutline
 splitEdge, mxGraph
 start
 startAnimation, mxAnimation
 startDrag, mxDragSource
 startEditing
 startEditingAtCell, mxGraph
 stateValidated, mxGraphView
 stop, mxSession
 stopAnimation, mxAnimation
 stopDrag, mxDragSource
 stopEditing
 stopRecursion, mxMorphing
 stroke
 styleForCellChanged, mxGraphModel
 styles, mxStylesheet
 submit, mxUtils
 suspend, mxSession
 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
 scaleGraph, mxPanningHandler
 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
 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
 setFillColor
 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
 setInvokesStopCellEditing, mxGraph
 setLineCap
 setLineJoin
 setLocation, mxWindow
 setLocked, mxGraph
 setMaximizable, mxWindow
 setMinimizable, mxWindow
 setMiterLimit
 setMode, mxEditor
 setModified
 setMoveEnabled, mxGraphHandler
 setMultigraph, mxGraph
 setOpacity, mxUtils
 setOrthogonalEdge, mxGraphLayout
 setPanning, mxGraph
 setPanningEnabled, mxPanningHandler
 setParent, mxCell
 setPortsEnabled, mxGraph
 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
 setShiftDownwards, mxSpaceManager
 setShiftRightwards, mxSpaceManager
 setSingleSelection, mxGraphSelectionModel
 setSize, mxWindow
 setSplitEnabled, mxGraph
 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
 shiftCell, mxSpaceManager
 shouldRemoveCellsFromParent, mxGraphHandler
 show
 showHelp, mxEditor
 showMenu, mxPopupMenu
 showOutline, mxEditor
 showProperties, mxEditor
 showSubmenu, mxPopupMenu
 showTasks, mxEditor
 SideToSide, mxEdgeStyle
 simulate, mxXmlRequest
 sizeDidChange, mxGraph
 snap
 sortCells, mxUtils
 sortOutgoingEdges, mxCompactTreeLayout
 source, mxOutline
 splitEdge, mxGraph
 start
 startAnimation, mxAnimation
 startDrag, mxDragSource
 startEditing
 startEditingAtCell, mxGraph
 stateValidated, mxGraphView
 stop, mxSession
 stopAnimation, mxAnimation
 stopDrag, mxDragSource
 stopEditing
 stopRecursion, mxMorphing
 stroke
 styleForCellChanged, mxGraphModel
 styles, mxStylesheet
 submit, mxUtils
 suspend, mxSession
 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.
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.
mxPanningHandler.prototype.scaleGraph = function(scale,
preview)
Handles pinch events on touch devices.
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)
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.
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.
mxSpaceManager.prototype.setEnabled = function(value)
Enables or disables event handling.
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.
mxAbstractCanvas2D.prototype.setFillColor = function(value)
Sets the current fill color.
mxXmlCanvas2D.prototype.setFillColor = function(value)
Sets the current fill color.
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.
mxSpaceManager.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.
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.
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.
mxCellEditor.prototype.setModified = function(value)
Sets modified to the specified boolean value.
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.
mxGraph.prototype.setPortsEnabled = function(value)
Specifies if the ports should be enabled.
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.
mxSpaceManager.prototype.setShiftDownwards = function(value)
Enables or disables event handling.
mxSpaceManager.prototype.setShiftRightwards = function(value)
Enables or disables event handling.
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.
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.
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.
mxSpaceManager.prototype.shiftCell = function(cell,
dx,
dy,
Ox0,
y0,
right,
bottom,
fx,
fy,
extendParent)
Called from moveCellsIntoParent to invoke the move hook in the automatic layout of each modified cell’s parent.
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.
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.
mxSession.prototype.start = function()
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.
mxSession.prototype.stop = function(reason)
Stops the session and fires a disconnect event.
mxAnimation.prototype.stopAnimation = function()
Stops the animation by deleting the timer and fires an mxEvent.DONE.
mxDragSource.prototype.stopDrag = function(evt)
Removes and destroys the dragElement.
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.
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.
mxSession.prototype.suspend = function()
Suspends the polling.
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.
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.
mxPanningHandler.prototype.scaleGraph = function(scale,
preview)
Handles pinch events on touch devices.
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)
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.
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.
mxSpaceManager.prototype.setEnabled = function(value)
Enables or disables event handling.
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.
mxAbstractCanvas2D.prototype.setFillColor = function(value)
Sets the current fill color.
mxXmlCanvas2D.prototype.setFillColor = function(value)
Sets the current fill color.
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.
mxSpaceManager.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.
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.
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.
mxCellEditor.prototype.setModified = function(value)
Sets modified to the specified boolean value.
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.
mxGraph.prototype.setPortsEnabled = function(value)
Specifies if the ports should be enabled.
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.
mxSpaceManager.prototype.setShiftDownwards = function(value)
Enables or disables event handling.
mxSpaceManager.prototype.setShiftRightwards = function(value)
Enables or disables event handling.
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.
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.
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.
mxSpaceManager.prototype.shiftCell = function(cell,
dx,
dy,
Ox0,
y0,
right,
bottom,
fx,
fy,
extendParent)
Called from moveCellsIntoParent to invoke the move hook in the automatic layout of each modified cell’s parent.
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.
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.
mxSession.prototype.start = function()
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.
mxSession.prototype.stop = function(reason)
Stops the session and fires a disconnect event.
mxAnimation.prototype.stopAnimation = function()
Stops the animation by deleting the timer and fires an mxEvent.DONE.
mxDragSource.prototype.stopDrag = function(evt)
Removes and destroys the dragElement.
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.
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.
mxSession.prototype.suspend = function()
Suspends the polling.
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 3da52f7eb..d32bc229b 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
 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
 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)
Paints the given text.
mxVmlCanvas2D.prototype.text = function(x,
y,
w,
h,
str,
align,
valign,
wrap,
format,
overflow,
clip,
rotation)
Paints the given text.
mxXmlCanvas2D.prototype.text = function(x,
y,
w,
h,
str,
align,
valign,
wrap,
format,
overflow,
clip,
rotation)
Paints the given text.
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.
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.
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)
Paints the given text.
mxVmlCanvas2D.prototype.text = function(x,
y,
w,
h,
str,
align,
valign,
wrap,
format,
overflow,
clip,
rotation)
Paints the given text.
mxXmlCanvas2D.prototype.text = function(x,
y,
w,
h,
str,
align,
valign,
wrap,
format,
overflow,
clip,
rotation)
Paints the given text.
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.
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.
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 205522239..33d605ecb 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
 updateCellSize, mxGraph
 updateCellState, mxGraphView
 updateContainerStyle, mxGraphView
 updateCurrentState, mxConnectionHandler
 updateEdgeBounds, mxGraphView
 updateEdgeLabelOffset, mxGraphView
 updateEdgeParent, mxGraphModel
 updateEdgeParents, mxGraphModel
 updateEdgeState, mxGraphView
 updateFill, mxSvgCanvas2D
 updateFixedTerminalPoint, mxGraphView
 updateFixedTerminalPoints, mxGraphView
 updateFloatingTerminalPoint, mxGraphView
 updateFloatingTerminalPoints, mxGraphView
 updateFont
 updateGroupBounds
 updateHtmlCanvasSize, mxGraphView
 updateHtmlFilter, mxText
 updateHtmlFilters, mxShape
 updateHtmlTransform, mxText
 updateIcons, mxConnectionHandler
 updateMinBounds, mxVertexHandler
 updateMouseEvent, mxGraph
 updatePageBreaks, mxGraph
 updatePoints, mxGraphView
 updatePreviewShape, mxGraphHandler
 updatePreviewState, mxEdgeHandler
 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
 updateCellSize, mxGraph
 updateCellState, mxGraphView
 updateContainerStyle, mxGraphView
 updateCurrentState, mxConnectionHandler
 updateEdgeBounds, mxGraphView
 updateEdgeLabelOffset, mxGraphView
 updateEdgeParent, mxGraphModel
 updateEdgeParents, mxGraphModel
 updateEdgeState, mxGraphView
 updateFill, mxSvgCanvas2D
 updateFixedTerminalPoint, mxGraphView
 updateFixedTerminalPoints, mxGraphView
 updateFloatingTerminalPoint, mxGraphView
 updateFloatingTerminalPoints, mxGraphView
 updateFont
 updateGroupBounds
 updateHtmlCanvasSize, mxGraphView
 updateHtmlFilter, mxText
 updateHtmlFilters, mxShape
 updateHtmlTransform, mxText
 updateIcons, mxConnectionHandler
 updateMinBounds, mxVertexHandler
 updateMouseEvent, mxGraph
 updatePageBreaks, mxGraph
 updatePoints, mxGraphView
 updatePreviewShape, mxGraphHandler
 updatePreviewState, mxEdgeHandler
 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)
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)
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.
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.
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)
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.
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)
Updates the bounds of the given array of groups so that it includes all child vertices.
mxSwimlaneLayout.prototype.updateGroupBounds = function()
Updates the bounds of the given array of groups so that it includes all child vertices.
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.updateMinBounds = function()
Initializes the shapes required for this vertex handler.
mxGraph.prototype.updateMouseEvent = function(me)
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.
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.
mxEdgeHandler.prototype.updatePreviewState = function(edge,
point,
terminalState)
Updates the given preview state taking into account the state of the constraint handler.
mxText.prototype.updateSize = function(node)
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)
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)
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.
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.
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)
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.
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)
Updates the bounds of the given array of groups so that it includes all child vertices.
mxSwimlaneLayout.prototype.updateGroupBounds = function()
Updates the bounds of the given array of groups so that it includes all child vertices.
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.updateMinBounds = function()
Initializes the shapes required for this vertex handler.
mxGraph.prototype.updateMouseEvent = function(me)
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.
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.
mxEdgeHandler.prototype.updatePreviewState = function(edge,
point,
terminalState)
Updates the given preview state taking into account the state of the constraint handler.
mxText.prototype.updateSize = function(node)
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 3714802ec..dbb2c5e33 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
 validateCellStates, 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
 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
 validateCellStates, 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
 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.
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.
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.
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.
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/Functions2.html b/docs/js-api/index/Functions2.html index 78ccb0260..aad5df7d5 100644 --- a/docs/js-api/index/Functions2.html +++ b/docs/js-api/index/Functions2.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
B
 beforeDecode
 beforeEncode, mxObjectCodec
 beforeUndo, mxLayoutManager
 begin
 beginUpdate, mxGraphModel
 bind, mxUtils
 bindAction, mxDefaultKeyHandler
 bindControlKey, mxKeyHandler
 bindControlShiftKey, mxKeyHandler
 bindKey, mxKeyHandler
 bindShiftKey, mxKeyHandler
 br, mxUtils
 bridge, mxCompactTreeLayout
 button, 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
B
 beforeDecode
 beforeEncode, mxObjectCodec
 beforeUndo, mxLayoutManager
 begin
 beginUpdate, mxGraphModel
 bind, mxUtils
 bindAction, mxDefaultKeyHandler
 bindControlKey, mxKeyHandler
 bindControlShiftKey, mxKeyHandler
 bindKey, mxKeyHandler
 bindShiftKey, mxKeyHandler
 br, mxUtils
 bridge, mxCompactTreeLayout
 button, mxUtils
-
codec.beforeDecode = function(dec,
node,
obj)
Decodes an mxCell and uses the enclosing XML node as the user object for the cell (inversion).
codec.beforeDecode = function(dec,
node,
obj)
Decodes the any child nodes as using the respective codec from the registry.
Decodes the ui-part of the configuration node by reading a sequence of the following child nodes and attributes and passes the control to the default decoding mechanism:
mxObjectCodec.prototype.beforeDecode = function(dec,
node,
obj)
Hook for subclassers to pre-process the node for the specified object and return the node to be used for further processing by decode.
codec.beforeDecode = function(dec,
node,
obj)
Decodes the optional children as cells using the respective decoder.
mxObjectCodec.prototype.beforeEncode = function(enc,
obj,
node)
Hook for subclassers to pre-process the object before encoding.
mxLayoutManager.prototype.beforeUndo = function(undoableEdit)
Called from the undoHandler.
mxAbstractCanvas2D.prototype.begin = function()
Starts a new path.
mxSvgCanvas2D.prototype.begin = function()
Extends superclass to create path.
mxVmlCanvas2D.prototype.begin = function()
Extends superclass to create path.
mxXmlCanvas2D.prototype.begin = function()
Starts a new path and puts it into the drawing buffer.
mxGraphModel.prototype.beginUpdate = function()
Increments the updateLevel by one.
bind: function(scope,
funct)
Returns a wrapper function that locks the execution scope of the given function to the specified scope.
mxDefaultKeyHandler.prototype.bindAction = function (code,
action,
control)
Binds the specified keycode to the given action in editor.
mxKeyHandler.prototype.bindControlKey = function(code,
funct)
Binds the specified keycode to the given function.
mxKeyHandler.prototype.bindControlShiftKey = function(code,
funct)
Binds the specified keycode to the given function.
mxKeyHandler.prototype.bindKey = function(code,
funct)
Binds the specified keycode to the given function.
mxKeyHandler.prototype.bindShiftKey = function(code,
funct)
Binds the specified keycode to the given function.
br: function(parent,
count)
Appends a linebreak to the given parent and returns the linebreak.
mxCompactTreeLayout.prototype.bridge = function(line1,
x1,
y1,
line2,
x2,
y2)
button: function(label,
funct,
doc)
Returns a new button with the given level and function as an onclick event handler.
+
codec.beforeDecode = function(dec,
node,
obj)
Decodes an mxCell and uses the enclosing XML node as the user object for the cell (inversion).
codec.beforeDecode = function(dec,
node,
obj)
Decodes the any child nodes as using the respective codec from the registry.
Decodes the ui-part of the configuration node by reading a sequence of the following child nodes and attributes and passes the control to the default decoding mechanism:
mxObjectCodec.prototype.beforeDecode = function(dec,
node,
obj)
Hook for subclassers to pre-process the node for the specified object and return the node to be used for further processing by decode.
codec.beforeDecode = function(dec,
node,
obj)
Decodes the optional children as cells using the respective decoder.
mxObjectCodec.prototype.beforeEncode = function(enc,
obj,
node)
Hook for subclassers to pre-process the object before encoding.
mxLayoutManager.prototype.beforeUndo = function(undoableEdit)
Called from the undoHandler.
mxAbstractCanvas2D.prototype.begin = function()
Starts a new path.
mxSvgCanvas2D.prototype.begin = function()
Extends superclass to create path.
mxVmlCanvas2D.prototype.begin = function()
Extends superclass to create path.
mxXmlCanvas2D.prototype.begin = function()
Starts a new path and puts it into the drawing buffer.
mxGraphModel.prototype.beginUpdate = function()
Increments the updateLevel by one.
bind: function(scope,
funct)
Returns a wrapper function that locks the execution scope of the given function to the specified scope.
mxDefaultKeyHandler.prototype.bindAction = function (code,
action,
control)
Binds the specified keycode to the given action in editor.
mxKeyHandler.prototype.bindControlKey = function(code,
funct)
Binds the specified keycode to the given function.
mxKeyHandler.prototype.bindControlShiftKey = function(code,
funct)
Binds the specified keycode to the given function.
mxKeyHandler.prototype.bindKey = function(code,
funct)
Binds the specified keycode to the given function.
mxKeyHandler.prototype.bindShiftKey = function(code,
funct)
Binds the specified keycode to the given function.
br: function(parent,
count)
Appends a linebreak to the given parent and returns the linebreak.
mxCompactTreeLayout.prototype.bridge = function(line1,
x1,
y1,
line2,
x2,
y2)
button: function(label,
funct,
doc)
Returns a new button with the given level and function as an onclick event handler.
diff --git a/docs/js-api/index/Functions3.html b/docs/js-api/index/Functions3.html index 76758b214..5dc2c2d3a 100644 --- a/docs/js-api/index/Functions3.html +++ b/docs/js-api/index/Functions3.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
C
 calcAttraction, mxFastOrganicLayout
 calcPositions, mxFastOrganicLayout
 calcRepulsion, mxFastOrganicLayout
 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
 cellsAdded
 cellsFolded, mxGraph
 cellSizeUpdated, mxGraph
 cellsMoved
 cellsOrdered, mxGraph
 cellsRemoved, mxGraph
 cellsResized
 cellsToggled, mxGraph
 changePoints
 changeSelection, mxGraphSelectionModel
 changeTerminalPoint, mxEdgeHandler
 check, mxMultiplicity
 checkBounds
 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
 consumePanningTrigger, mxPanningHandler
 contains
 convert, mxUrlConverter
 convertAttributeFromXml, mxObjectCodec
 convertAttributeToXml, mxObjectCodec
 convertPoint
 convertValueToString, mxGraph
 convertWaypoint, mxConnectionHandler
 copy, mxClipboard
 create
 createBackgroundPageShape, mxGraphView
 createBends
 createBoundingBox, mxShape
 createBounds, mxVertexHandler
 createCanvas, mxShape
 createCellEditor, mxGraph
 createCellOverlays, mxCellRenderer
 createCellRenderer, mxGraph
 createClip, mxSvgCanvas2D
 createConditions, mxDefaultPopupMenu
 createControl, mxCellRenderer
 createDashPattern, mxSvgCanvas2D
 createDefaultEdgeStyle, mxStylesheet
 createDefaultVertexStyle, mxStylesheet
 createDiagramLayout, mxEditor
 createDiv, mxSvgCanvas2D
 createDragElement, mxDragSource
 createEdge
 createEdgeState, mxConnectionHandler
 createElement
 createFill, mxVmlCanvas2D
 createGradientId, mxSvgCanvas2D
 createGraph, mxEditor
 createGraphView, mxGraph
 createGroup, mxEditor
 createGroupCell, mxGraph
 createGuideShape, mxGuide
 createHandler, mxGraph
 createHandlers, mxGraph
 createHandleShape, mxEdgeHandler
 createHtml
 createHtmlPane, mxGraphView
 createIcons, mxConnectionHandler
 createId, mxGraphModel
 createImage, mxUtils
 createIndicatorShape, mxCellRenderer
 createInternalCells
 createLabel, mxCellRenderer
 createLayoutManager, mxEditor
 createLine, mxCompactTreeLayout
 createMarker
 createMenu, mxDefaultPopupMenu
 createNode, mxCompactTreeLayout
 createPageSelector, mxPrintPreview
 createPanningManager, mxGraph
 createPopupMenu, mxEditor
 createPreviewElement, mxDragSource
 createPreviewShape, mxGraphHandler
 createProperties, mxEditor
 createRect, mxVmlCanvas2D
 createRoot, mxGraphModel
 createSelectionModel, mxGraph
 createSelectionShape
 createSession, mxEditor
 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
 createTextDiv, mxCellEditor
 createTolerance, mxSvgCanvas2D
 createToolbar, mxEditor
 createTransparentFill, mxVmlCanvas2D
 createUndoableEdit
 createUrlConverter, mxAbstractCanvas2D
 createVertex, mxGraph
 createVirtualBend, mxElbowEdgeHandler
 createVml, mxShape
 createVmlCanvas, mxShape
 createVmlElement, mxVmlCanvas2D
 createVmlGroup, mxShape
 createVmlPane, mxGraphView
 createXmlDocument, mxUtils
 crossingStage
 curveTo
 cut, mxClipboard
 cycleAttribute, mxEditor
 cycleStage
+
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
 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
 cellsAdded
 cellsFolded, mxGraph
 cellSizeUpdated, mxGraph
 cellsMoved
 cellsOrdered, mxGraph
 cellsRemoved, mxGraph
 cellsResized
 cellsToggled, mxGraph
 changePoints
 changeSelection, mxGraphSelectionModel
 changeTerminalPoint, mxEdgeHandler
 check, mxMultiplicity
 checkBounds
 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
 consumePanningTrigger, mxPanningHandler
 contains
 convert, mxUrlConverter
 convertAttributeFromXml, mxObjectCodec
 convertAttributeToXml, mxObjectCodec
 convertPoint
 convertValueToString, mxGraph
 convertWaypoint, mxConnectionHandler
 copy, mxClipboard
 create
 createBackgroundPageShape, mxGraphView
 createBends
 createBoundingBox, mxShape
 createBounds, mxVertexHandler
 createCanvas, mxShape
 createCellEditor, mxGraph
 createCellOverlays, mxCellRenderer
 createCellRenderer, mxGraph
 createClip, mxSvgCanvas2D
 createConditions, mxDefaultPopupMenu
 createControl, mxCellRenderer
 createDashPattern, mxSvgCanvas2D
 createDefaultEdgeStyle, mxStylesheet
 createDefaultVertexStyle, mxStylesheet
 createDiagramLayout, mxEditor
 createDiv, mxSvgCanvas2D
 createDragElement, mxDragSource
 createEdge
 createEdgeState, mxConnectionHandler
 createElement
 createFill, mxVmlCanvas2D
 createGradientId, mxSvgCanvas2D
 createGraph
 createGraphView, mxGraph
 createGroup, mxEditor
 createGroupCell, mxGraph
 createGuideShape, mxGuide
 createHandler, mxGraph
 createHandlers, mxGraph
 createHandleShape, mxEdgeHandler
 createHtml
 createHtmlPane, mxGraphView
 createIcons, mxConnectionHandler
 createId, mxGraphModel
 createImage, mxUtils
 createIndicatorShape, mxCellRenderer
 createInternalCells
 createLabel, mxCellRenderer
 createLayoutManager, mxEditor
 createLine, mxCompactTreeLayout
 createMarker
 createMenu, mxDefaultPopupMenu
 createNode, mxCompactTreeLayout
 createPageSelector, mxPrintPreview
 createPanningManager, mxGraph
 createPopupMenu, mxEditor
 createPreviewElement, mxDragSource
 createPreviewShape, mxGraphHandler
 createProperties, mxEditor
 createRect, mxVmlCanvas2D
 createRoot, mxGraphModel
 createSelectionModel, mxGraph
 createSelectionShape
 createSession, mxEditor
 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
 createTextDiv, mxCellEditor
 createTolerance, mxSvgCanvas2D
 createToolbar, mxEditor
 createTransparentFill, mxVmlCanvas2D
 createTransparentSvgRectangle, mxShape
 createUndoableEdit
 createUrlConverter, mxAbstractCanvas2D
 createVertex, mxGraph
 createVirtualBend, mxElbowEdgeHandler
 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
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.
mxSession.prototype.cellRemoved = function(cell,
codec)
Adds removed cells to the codec object lookup for references to the removed cells after this point in time.
mxGraph.prototype.cellResized = function(cell,
bounds,
ignoreRelative,
recurse)
Resizes the parents recursively so that they contain the complete area of the resized child cell.
mxSpaceManager.prototype.cellResized = function(cell)
Called from moveCellsIntoParent to invoke the move hook in the automatic layout of each modified cell’s parent.
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.
mxSpaceManager.prototype.cellsResized = function(cells)
Called from moveCellsIntoParent to invoke the move hook in the automatic layout of each modified cell’s parent.
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.
mxEdgeSegmentHandler.prototype.changePoints = function(edge,
points)
Changes the points of the given edge to reflect the current state of the handler.
mxEdgeHandler.prototype.changePoints = function(edge,
points)
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)
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.
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)
Removes the object id from the given object.
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)
Returns the clones for the given cells.
mxGraphModel.prototype.cloneCells = function(cells,
includeChildren)
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.
mxEditor.prototype.connect = function (urlInit,
urlPoll,
urlNotify,
onChange)
Creates and returns a session for the specified parameters, installing the onChange function as a change listener for the session.
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.
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.
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.Returns the original array of cells that has been cloned.
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.
mxEdgeSegmentHandler.prototype.createBends = function()
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.
mxCellRenderer.prototype.createControl = function(state)
Creates the control for the given cell state.
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.
mxConnectionHandler.prototype.createEdgeState = function(me)
Hook to return an mxCellState which may be used during the preview.
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.
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(container)
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.
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.
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.createPanningManager = function()
Creates and returns an mxPanningManager.
mxEditor.prototype.createPopupMenu = function (menu,
cell,
evt)
Uses popupHandler to create the menu in the graph’s panning handler.
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.createSelectionModel = function()
Creates a new mxGraphSelectionModel to be used in this graph.
mxEdgeHandler.prototype.createSelectionShape = function(points)
Creates the shape used to draw the selection border.
mxVertexHandler.prototype.createSelectionShape = function(bounds)
Creates the shape used to draw the selection border.
mxEditor.prototype.createSession = function ()
Creates and returns and mxSession using urlInit, urlPoll and urlNotify.
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 the shape for the given cell state.
mxConnectionHandler.prototype.createShape = function()
Creates the preview shape for new connections.
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.
mxCellEditor.prototype.createTextDiv = function()
Creates the textDiv used for measuring 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.
mxVmlCanvas2D.prototype.createTransparentFill = function()
Creates a transparent fill.
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.
mxSession.prototype.createUndoableEdit = function(changes)
Creates a new mxUndoableEdit that implements the notify function to fire a change and notify event via the model.
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.
mxElbowEdgeHandler.prototype.createVirtualBend = function()
Creates a virtual bend that supports double clicking and calls mxGraph.flipEdge.
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
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.
mxSession.prototype.cellRemoved = function(cell,
codec)
Adds removed cells to the codec object lookup for references to the removed cells after this point in time.
mxGraph.prototype.cellResized = function(cell,
bounds,
ignoreRelative,
recurse)
Resizes the parents recursively so that they contain the complete area of the resized child cell.
mxSpaceManager.prototype.cellResized = function(cell)
Called from moveCellsIntoParent to invoke the move hook in the automatic layout of each modified cell’s parent.
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.
mxSpaceManager.prototype.cellsResized = function(cells)
Called from moveCellsIntoParent to invoke the move hook in the automatic layout of each modified cell’s parent.
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.
mxEdgeSegmentHandler.prototype.changePoints = function(edge,
points)
Changes the points of the given edge to reflect the current state of the handler.
mxEdgeHandler.prototype.changePoints = function(edge,
points)
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)
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.
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)
Removes the object id from the given object.
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)
Returns the clones for the given cells.
mxGraphModel.prototype.cloneCells = function(cells,
includeChildren)
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.
mxEditor.prototype.connect = function (urlInit,
urlPoll,
urlNotify,
onChange)
Creates and returns a session for the specified parameters, installing the onChange function as a change listener for the session.
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.
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.
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.Returns the original array of cells that has been cloned.
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.
mxEdgeSegmentHandler.prototype.createBends = function()
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.
mxCellRenderer.prototype.createControl = function(state)
Creates the control for the given cell state.
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.
mxConnectionHandler.prototype.createEdgeState = function(me)
Hook to return an mxCellState which may be used during the preview.
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.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(container)
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.
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.
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.createPanningManager = function()
Creates and returns an mxPanningManager.
mxEditor.prototype.createPopupMenu = function (menu,
cell,
evt)
Uses popupHandler to create the menu in the graph’s panning handler.
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.createSelectionModel = function()
Creates a new mxGraphSelectionModel to be used in this graph.
mxEdgeHandler.prototype.createSelectionShape = function(points)
Creates the shape used to draw the selection border.
mxVertexHandler.prototype.createSelectionShape = function(bounds)
Creates the shape used to draw the selection border.
mxEditor.prototype.createSession = function ()
Creates and returns and mxSession using urlInit, urlPoll and urlNotify.
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 the shape for the given cell state.
mxConnectionHandler.prototype.createShape = function()
Creates the preview shape for new connections.
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.
mxCellEditor.prototype.createTextDiv = function()
Creates the textDiv used for measuring 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.
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.
mxSession.prototype.createUndoableEdit = function(changes)
Creates a new mxUndoableEdit that implements the notify function to fire a change and notify event via the model.
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.
mxElbowEdgeHandler.prototype.createVirtualBend = function()
Creates a virtual bend that supports double clicking and calls mxGraph.flipEdge.
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/Functions4.html b/docs/js-api/index/Functions4.html index 7d3fc60f8..c51391414 100644 --- a/docs/js-api/index/Functions4.html +++ b/docs/js-api/index/Functions4.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
D
 dblClick, mxGraph
 debug, mxLog
 decode
 decodeAttribute, mxObjectCodec
 decodeAttributes, mxObjectCodec
 decodeCell, mxCodec
 decodeChange, mxSession
 decodeChanges, mxSession
 decodeChild
 decodeChildren, mxObjectCodec
 decodeNode, mxObjectCodec
 decodeRoot, mxModelCodec
 decodeTemplates, mxEditorCodec
 destroy
 destroyCanvas, mxShape
 destroyFocusHighlight, mxConstraintHandler
 destroyIcons
 destroyShapes, mxGraphHandler
 dfs
 die, mxUndoableEdit
 disableContextMenu, mxEvent
 disconnect, mxChildChange
 disconnectGraph, mxGraph
 dispose, mxClient
 doResizeContainer, mxGraph
 dragEnter, mxDragSource
 dragExit, mxDragSource
 dragOver, mxDragSource
 drawHighlight, mxCellHighlight
 drawNode, mxStencil
 drawOverlays, mxImageExport
 drawPreview
 drawShape
 drawState, mxImageExport
 drop
+
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
D
 dblClick, mxGraph
 debug, mxLog
 decode
 decodeAttribute, mxObjectCodec
 decodeAttributes, mxObjectCodec
 decodeCell, mxCodec
 decodeChange, mxSession
 decodeChanges, mxSession
 decodeChild
 decodeChildren, mxObjectCodec
 decodeNode, mxObjectCodec
 decodeRoot, mxModelCodec
 decodeTemplates, mxEditorCodec
 destroy
 destroyCanvas, mxShape
 destroyFocusHighlight, mxConstraintHandler
 destroyIcons
 destroyShapes, mxGraphHandler
 dfs
 die, mxUndoableEdit
 disableContextMenu, mxEvent
 disconnect, mxChildChange
 disconnectGraph, mxGraph
 dispose, mxClient
 doResizeContainer, mxGraph
 dragEnter, mxDragSource
 dragExit, mxDragSource
 dragOver, mxDragSource
 drawHighlight, mxCellHighlight
 drawNode, mxStencil
 drawOverlays, mxImageExport
 drawPreview
 drawShape
 drawState, mxImageExport
 drop
-
mxGraph.prototype.dblClick = function(evt,
cell)
Processes a doubleclick on an optional cell and fires a dblclick event.
debug: function()
Adds all arguments to the console if DEBUG is enabled.
mxCodec.prototype.decode = function(node,
into)
Decodes the given XML node.
codec.decode = function(dec,
node,
into)
Reads a sequence of the following child nodes and attributes:
codec.decode = function(dec,
node,
into)
Uses the given node as the config for mxDefaultPopupMenu.
codec.decode = function(dec,
node,
into)
Reads a sequence of the following child nodes and attributes:
mxObjectCodec.prototype.decode = function(dec,
node,
into)
Parses the given node into the object or returns a new object representing the given node.
codec.decode = function(dec,
node,
into)
Reads a sequence of the following child nodes and attributes:
mxObjectCodec.prototype.decodeAttribute = function(dec,
attr,
obj)
Reads the given attribute into the specified object.
mxObjectCodec.prototype.decodeAttributes = function(dec,
node,
obj)
Decodes all attributes of the given node using decodeAttribute.
mxCodec.prototype.decodeCell = function(node,
restoreStructures)
Decodes cells that have been encoded using inversion, ie.
mxSession.prototype.decodeChange = function(node)
Decodes, executes and returns the change object represented by the given XML node.
mxSession.prototype.decodeChanges = function(node)
Decodes and executes the changes represented by the children in the given node.
codec.decodeChild = function(dec,
child,
obj)
Overrides decode child to handle special child nodes.
codec.decodeChild = function(dec,
child,
obj)
Overrides decode child to handle special child nodes.
mxObjectCodec.prototype.decodeChild = function(dec,
child,
obj)
Reads the specified child into the given object.
mxObjectCodec.prototype.decodeChildren = function(dec,
node,
obj)
Decodec all children of the given node using decodeChild.
mxObjectCodec.prototype.decodeNode = function(dec,
node,
obj)
Calls decodeAttributes and decodeChildren for the given node.
codec.decodeRoot = function(dec,
root,
model)
Reads the cells into the graph model.
Decodes the cells from the given node as templates.
mxAutoSaveManager.prototype.destroy = function()
Removes all handlers from the graph and deletes the reference to it.
mxCellEditor.prototype.destroy = function ()
Destroys the editor and removes all associated resources.
mxCellHighlight.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxCellMarker.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxCellRenderer.prototype.destroy = function(state)
Destroys the shapes associated with the given cell state.
mxCellState.prototype.destroy = function ()
Destroys the state and all associated resources.
mxCellTracker.prototype.destroy = function()
Destroys the object and all its resources and DOM nodes.
mxConnectionHandler.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxConstraintHandler.prototype.destroy = function()
Destroy this handler.
mxDefaultKeyHandler.prototype.destroy = function ()
Destroys the handler associated with this object.
mxDefaultToolbar.prototype.destroy = function ()
Destroys the toolbar associated with this object and removes all installed listeners.
mxEdgeHandler.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxEditor.prototype.destroy = function ()
Removes the editor and all its associated resources.
mxGraph.prototype.destroy = function()
Destroys the graph and all its resources.
mxGraphHandler.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxGraphView.prototype.destroy = function()
Destroys the view and all its resources.
mxGuide.prototype.destroy = function()
Destroys all resources that this object uses.
mxKeyHandler.prototype.destroy = function()
Destroys the handler and all its references into the DOM.
mxLayoutManager.prototype.destroy = function()
Removes all handlers from the graph and deletes the reference to it.
mxOutline.prototype.destroy = function()
Destroy this outline and removes all listeners from source.
mxPanningHandler.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxPopupMenu.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxPopupMenuHandler.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxRubberband.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxSelectionCellsHandler.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
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.
mxSpaceManager.prototype.destroy = function()
Removes all handlers from the graph and deletes the reference to it.
mxSwimlaneManager.prototype.destroy = function()
Removes all handlers from the graph and deletes the reference to it.
mxTemporaryCellStates.prototype.destroy = function()
Returns the top, left corner as a new mxPoint.
mxToolbar.prototype.destroy = function ()
Removes the toolbar and all its associated resources.
mxTooltipHandler.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxVertexHandler.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxWindow.prototype.destroy = function()
Destroys the window and removes all associated resources.
mxShape.prototype.destroyCanvas = function(canvas)
Destroys the given canvas which was used for drawing.
mxConstraintHandler.prototype.destroyFocusHighlight = function()
Destroys the focusHighlight if one exists.
mxConnectionHandler.prototype.destroyIcons = function()
Destroys the connect icons and resets the respective state.
mxConstraintHandler.prototype.destroyIcons = function()
Destroys the focusIcons if they exist.
mxGraphHandler.prototype.destroyShapes = function()
Destroy the preview and highlight shapes.
mxCompactTreeLayout.prototype.dfs = function(cell,
parent,
visited)
Does a depth first search starting at the specified cell.
mxGraphHierarchyModel.prototype.dfs = function(parent,
root,
connectingEdge,
visitor,
seen,
layer)
Performs a depth first search on the internal hierarchy model
mxSwimlaneModel.prototype.dfs = function(parent,
root,
connectingEdge,
visitor,
seen,
layer)
Performs a depth first search on the internal hierarchy model
mxUndoableEdit.prototype.die = function()
Hook to free resources after the edit has been removed from the command history.
disableContextMenu: function()
Disables the context menu for the given element.
Disconnects the given cell recursively from its terminals and stores the previous terminal in the cell’s terminals.
mxGraph.prototype.disconnectGraph = function(cells)
Disconnects the given edges from the terminals which are not in the given array.
dispose: function()
Frees up memory in IE by resolving cyclic dependencies between the DOM and the JavaScript objects.
mxGraph.prototype.doResizeContainer = function(width,
height)
Resizes the container for the given graph width and height.
mxDragSource.prototype.dragEnter = function(graph,
evt)
Actives the given graph as a drop target.
mxDragSource.prototype.dragExit = function(graph,
evt)
Deactivates the given graph as a drop target.
mxDragSource.prototype.dragOver = function(graph,
evt)
Implements autoscroll, updates the currentPoint, highlights any drop targets and updates the preview.
mxCellHighlight.prototype.drawHighlight = function()
Creates and returns the highlight shape for the given state.
mxStencil.prototype.drawNode = function(canvas,
shape,
node,
aspect,
disableShadow)
Draws this stencil inside the given bounds.
mxImageExport.prototype.drawOverlays = function(state,
canvas)
Draws the overlays for the given state.
mxConnectionHandler.prototype.drawPreview = function()
Redraws the preview edge using the color and width returned by getEdgeColor and getEdgeWidth.
mxEdgeHandler.prototype.drawPreview = function()
Redraws the preview.
mxVertexHandler.prototype.drawPreview = function()
Redraws the preview.
Draws the given state to the given canvas.
mxStencil.prototype.drawShape = function(canvas,
shape,
x,
y,
w,
h)
Draws this stencil inside the given bounds.
mxImageExport.prototype.drawState = function(state,
canvas)
Draws the given state and all its descendants to the given canvas.
mxDefaultToolbar.prototype.drop = function(vertex,
evt,
target)
Handles a drop from a toolbar item to the graph.
mxDragSource.prototype.drop = function(graph,
evt,
dropTarget,
x,
y)
Returns the drop target for the given graph and coordinates.
+
mxGraph.prototype.dblClick = function(evt,
cell)
Processes a doubleclick on an optional cell and fires a dblclick event.
debug: function()
Adds all arguments to the console if DEBUG is enabled.
mxCodec.prototype.decode = function(node,
into)
Decodes the given XML node.
codec.decode = function(dec,
node,
into)
Reads a sequence of the following child nodes and attributes:
codec.decode = function(dec,
node,
into)
Uses the given node as the config for mxDefaultPopupMenu.
codec.decode = function(dec,
node,
into)
Reads a sequence of the following child nodes and attributes:
mxObjectCodec.prototype.decode = function(dec,
node,
into)
Parses the given node into the object or returns a new object representing the given node.
codec.decode = function(dec,
node,
into)
Reads a sequence of the following child nodes and attributes:
mxObjectCodec.prototype.decodeAttribute = function(dec,
attr,
obj)
Reads the given attribute into the specified object.
mxObjectCodec.prototype.decodeAttributes = function(dec,
node,
obj)
Decodes all attributes of the given node using decodeAttribute.
mxCodec.prototype.decodeCell = function(node,
restoreStructures)
Decodes cells that have been encoded using inversion, ie.
mxSession.prototype.decodeChange = function(node)
Decodes, executes and returns the change object represented by the given XML node.
mxSession.prototype.decodeChanges = function(node)
Decodes and executes the changes represented by the children in the given node.
codec.decodeChild = function(dec,
child,
obj)
Overrides decode child to handle special child nodes.
codec.decodeChild = function(dec,
child,
obj)
Overrides decode child to handle special child nodes.
mxObjectCodec.prototype.decodeChild = function(dec,
child,
obj)
Reads the specified child into the given object.
mxObjectCodec.prototype.decodeChildren = function(dec,
node,
obj)
Decodec all children of the given node using decodeChild.
mxObjectCodec.prototype.decodeNode = function(dec,
node,
obj)
Calls decodeAttributes and decodeChildren for the given node.
codec.decodeRoot = function(dec,
root,
model)
Reads the cells into the graph model.
Decodes the cells from the given node as templates.
mxAutoSaveManager.prototype.destroy = function()
Removes all handlers from the graph and deletes the reference to it.
mxCellEditor.prototype.destroy = function ()
Destroys the editor and removes all associated resources.
mxCellHighlight.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxCellMarker.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxCellRenderer.prototype.destroy = function(state)
Destroys the shapes associated with the given cell state.
mxCellState.prototype.destroy = function ()
Destroys the state and all associated resources.
mxCellTracker.prototype.destroy = function()
Destroys the object and all its resources and DOM nodes.
mxConnectionHandler.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxConstraintHandler.prototype.destroy = function()
Destroy this handler.
mxDefaultKeyHandler.prototype.destroy = function ()
Destroys the handler associated with this object.
mxDefaultToolbar.prototype.destroy = function ()
Destroys the toolbar associated with this object and removes all installed listeners.
mxEdgeHandler.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxEditor.prototype.destroy = function ()
Removes the editor and all its associated resources.
mxGraph.prototype.destroy = function()
Destroys the graph and all its resources.
mxGraphHandler.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxGraphView.prototype.destroy = function()
Destroys the view and all its resources.
mxGuide.prototype.destroy = function()
Destroys all resources that this object uses.
mxKeyHandler.prototype.destroy = function()
Destroys the handler and all its references into the DOM.
mxLayoutManager.prototype.destroy = function()
Removes all handlers from the graph and deletes the reference to it.
mxOutline.prototype.destroy = function()
Destroy this outline and removes all listeners from source.
mxPanningHandler.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxPopupMenu.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxPopupMenuHandler.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxRubberband.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxSelectionCellsHandler.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
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.
mxSpaceManager.prototype.destroy = function()
Removes all handlers from the graph and deletes the reference to it.
mxSwimlaneManager.prototype.destroy = function()
Removes all handlers from the graph and deletes the reference to it.
mxTemporaryCellStates.prototype.destroy = function()
Returns the top, left corner as a new mxPoint.
mxToolbar.prototype.destroy = function ()
Removes the toolbar and all its associated resources.
mxTooltipHandler.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxVertexHandler.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxWindow.prototype.destroy = function()
Destroys the window and removes all associated resources.
mxShape.prototype.destroyCanvas = function(canvas)
Destroys the given canvas which was used for drawing.
mxConstraintHandler.prototype.destroyFocusHighlight = function()
Destroys the focusHighlight if one exists.
mxConnectionHandler.prototype.destroyIcons = function()
Destroys the connect icons and resets the respective state.
mxConstraintHandler.prototype.destroyIcons = function()
Destroys the focusIcons if they exist.
mxGraphHandler.prototype.destroyShapes = function()
Destroy the preview and highlight shapes.
mxCompactTreeLayout.prototype.dfs = function(cell,
parent,
visited)
Does a depth first search starting at the specified cell.
mxGraphHierarchyModel.prototype.dfs = function(parent,
root,
connectingEdge,
visitor,
seen,
layer)
Performs a depth first search on the internal hierarchy model
mxSwimlaneModel.prototype.dfs = function(parent,
root,
connectingEdge,
visitor,
seen,
layer)
Performs a depth first search on the internal hierarchy model
mxUndoableEdit.prototype.die = function()
Hook to free resources after the edit has been removed from the command history.
disableContextMenu: function()
Disables the context menu for the given element.
Disconnects the given cell recursively from its terminals and stores the previous terminal in the cell’s terminals.
mxGraph.prototype.disconnectGraph = function(cells)
Disconnects the given edges from the terminals which are not in the given array.
dispose: function()
Frees up memory in IE by resolving cyclic dependencies between the DOM and the JavaScript objects.
mxGraph.prototype.doResizeContainer = function(width,
height)
Resizes the container for the given graph width and height.
mxDragSource.prototype.dragEnter = function(graph,
evt)
Actives the given graph as a drop target.
mxDragSource.prototype.dragExit = function(graph,
evt)
Deactivates the given graph as a drop target.
mxDragSource.prototype.dragOver = function(graph,
evt)
Implements autoscroll, updates the currentPoint, highlights any drop targets and updates the preview.
mxCellHighlight.prototype.drawHighlight = function()
Creates and returns the highlight shape for the given state.
mxStencil.prototype.drawNode = function(canvas,
shape,
node,
aspect,
disableShadow)
Draws this stencil inside the given bounds.
mxImageExport.prototype.drawOverlays = function(state,
canvas)
Draws the overlays for the given state.
mxConnectionHandler.prototype.drawPreview = function()
Redraws the preview edge using the color and width returned by getEdgeColor and getEdgeWidth.
mxEdgeHandler.prototype.drawPreview = function()
Redraws the preview.
mxVertexHandler.prototype.drawPreview = function()
Redraws the preview.
Draws the given state to the given canvas.
mxStencil.prototype.drawShape = function(canvas,
shape,
x,
y,
w,
h)
Draws this stencil inside the given bounds.
mxImageExport.prototype.drawState = function(state,
canvas)
Draws the given state and all its descendants to the given canvas.
mxDefaultToolbar.prototype.drop = function(vertex,
evt,
target)
Handles a drop from a toolbar item to the graph.
mxDragSource.prototype.drop = function(graph,
evt,
dropTarget,
x,
y)
Returns the drop target for the given graph and coordinates.
diff --git a/docs/js-api/index/Functions5.html b/docs/js-api/index/Functions5.html index cf7eec7cd..8a665204f 100644 --- a/docs/js-api/index/Functions5.html +++ b/docs/js-api/index/Functions5.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
E
 ElbowConnector, mxEdgeStyle
 ellipse
 EllipsePerimeter, mxPerimeter
 encode
 encodeCell
 encodeChanges, mxSession
 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
+
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
 encodeChanges, mxSession
 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
-
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.
mxSession.prototype.encodeChanges = function(changes,
invert)
Returns the XML representation for the given array of changes.
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.
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.
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.executeLayout = function(layout,
parent)
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.
+
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.
mxSession.prototype.encodeChanges = function(changes,
invert)
Returns the XML representation for the given array of changes.
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.
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.
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.executeLayout = function(layout,
parent)
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.
diff --git a/docs/js-api/index/Functions6.html b/docs/js-api/index/Functions6.html index 59408b3c9..1063e01df 100644 --- a/docs/js-api/index/Functions6.html +++ b/docs/js-api/index/Functions6.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
F
 fadeOut
 fill
 fillAndStroke
 filterCells, mxGraphModel
 filterDescendants
 findNearestSegment, mxUtils
 findNode, mxUtils
 findNodeByAttribute, mxUtils
 findParallels, mxParallelEdgeLayout
 findRankHeights, mxCompactTreeLayout
 findRoots
 findTreeRoots, mxGraph
 fireEvent, mxEventSource
 fireGestureEvent, mxGraph
 fireMouseEvent, mxGraph
 fit
 fixRanks
 flipEdge, mxGraph
 focusLost, mxCellEditor
 foldCells, mxGraph
 format
+
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
F
 fadeOut
 fill
 fillAndStroke
 filterCells, mxGraphModel
 filterDescendants
 findNearestSegment, mxUtils
 findNode, mxUtils
 findNodeByAttribute, mxUtils
 findParallels, mxParallelEdgeLayout
 findRankHeights, mxCompactTreeLayout
 findRoots
 findTreeRoots, mxGraph
 fireEvent, mxEventSource
 fireGestureEvent, mxGraph
 fireMouseEvent, mxGraph
 fit
 fixRanks
 flipEdge, mxGraph
 focusLost, mxCellEditor
 foldCells, mxGraph
 format
-
fadeOut: function(node,
from,
remove,
step,
delay,
isEnabled)
Asynchronous fade-out operation.
fadeOut: function(node,
from,
remove,
step,
delay,
isEnabled)
See mxEffects.fadeOut.
mxSvgCanvas2D.prototype.fill = function()
Fills the current path.
mxVmlCanvas2D.prototype.fill = function()
Fills the current path.
mxXmlCanvas2D.prototype.fill = function()
Fills the current drawing buffer.
mxSvgCanvas2D.prototype.fillAndStroke = function()
Fills and paints the outline of the current path.
mxVmlCanvas2D.prototype.fillAndStroke = function()
Fills and paints the outline of the current path.
mxXmlCanvas2D.prototype.fillAndStroke = function()
Fills the current drawing buffer and its outline.
mxGraphModel.prototype.filterCells = function(cells,
filter)
Returns the cells from the given array where the fiven filter function returns true.
mxGraphModel.prototype.filterDescendants = function(filter,
parent)
Visits all cells recursively and applies the specified filter function to each cell.
mxHierarchicalLayout.prototype.filterDescendants = function(cell,
result)
Creates an array of descendant cells
mxSwimlaneLayout.prototype.filterDescendants = function(cell,
result)
Creates an array of descendant cells
findNearestSegment: function(state,
x,
y)
Finds the index of the nearest segment on the given cell state for the specified coordinate pair.
findNode: function(node,
attr,
value)
Returns the first node where attr equals value.
findNodeByAttribute: function()
Returns the first node where the given attribute matches the given value.
mxParallelEdgeLayout.prototype.findParallels = function(parent)
Finds the parallel edges in the given parent.
mxCompactTreeLayout.prototype.findRankHeights = function(node,
rank)
Stores the maximum height (relative to the layout direction) of cells in each rank
mxHierarchicalLayout.prototype.findRoots = function(parent,
vertices)
Returns all visible children in the given parent which do not have incoming edges.
mxSwimlaneLayout.prototype.findRoots = function(parent,
vertices)
Returns all visible children in the given parent which do not have incoming edges.
mxGraph.prototype.findTreeRoots = function(parent,
isolate,
invert)
Returns all children in the given parent which do not have incoming edges.
mxEventSource.prototype.fireEvent = function(evt,
sender)
Dispatches the given event to the listeners which are registered for the event.
mxGraph.prototype.fireGestureEvent = function(evt,
cell)
Dispatches a mxEvent.GESTURE event.
mxGraph.prototype.fireMouseEvent = function(evtName,
me,
sender)
Dispatches the given event in the graph event dispatch loop.
mxGraph.prototype.fit = function(border,
keepOrigin)
Scales the graph such that the complete diagram fits into container and returns the current scale in the view.
fit: function(node)
Makes sure the given node is inside the visible area of the window.
mxWindow.prototype.fit = function()
Makes sure the window is inside the client area of the window.
mxGraphHierarchyModel.prototype.fixRanks = function()
Fixes the layer assignments to the values stored in the nodes.
mxSwimlaneModel.prototype.fixRanks = function()
Fixes the layer assignments to the values stored in the nodes.
mxGraph.prototype.flipEdge = function(edge)
Toggles the style of the given edge between null (or empty) and alternateEdgeStyle.
mxCellEditor.prototype.focusLost = function()
Called if the textarea has lost focus.
mxGraph.prototype.foldCells = function(collapse,
recurse,
cells,
checkFoldable)
Sets the collapsed state of the specified cells and all descendants if recurse is true.
mxAbstractCanvas2D.prototype.format = function(value)
Rounds all numbers to integers.
mxXmlCanvas2D.prototype.format = function(value)
Returns a formatted number with 2 decimal places.
+
fadeOut: function(node,
from,
remove,
step,
delay,
isEnabled)
Asynchronous fade-out operation.
fadeOut: function(node,
from,
remove,
step,
delay,
isEnabled)
See mxEffects.fadeOut.
mxSvgCanvas2D.prototype.fill = function()
Fills the current path.
mxVmlCanvas2D.prototype.fill = function()
Fills the current path.
mxXmlCanvas2D.prototype.fill = function()
Fills the current drawing buffer.
mxSvgCanvas2D.prototype.fillAndStroke = function()
Fills and paints the outline of the current path.
mxVmlCanvas2D.prototype.fillAndStroke = function()
Fills and paints the outline of the current path.
mxXmlCanvas2D.prototype.fillAndStroke = function()
Fills the current drawing buffer and its outline.
mxGraphModel.prototype.filterCells = function(cells,
filter)
Returns the cells from the given array where the fiven filter function returns true.
mxGraphModel.prototype.filterDescendants = function(filter,
parent)
Visits all cells recursively and applies the specified filter function to each cell.
mxHierarchicalLayout.prototype.filterDescendants = function(cell,
result)
Creates an array of descendant cells
mxSwimlaneLayout.prototype.filterDescendants = function(cell,
result)
Creates an array of descendant cells
findNearestSegment: function(state,
x,
y)
Finds the index of the nearest segment on the given cell state for the specified coordinate pair.
findNode: function(node,
attr,
value)
Returns the first node where attr equals value.
findNodeByAttribute: function()
Returns the first node where the given attribute matches the given value.
mxParallelEdgeLayout.prototype.findParallels = function(parent)
Finds the parallel edges in the given parent.
mxCompactTreeLayout.prototype.findRankHeights = function(node,
rank)
Stores the maximum height (relative to the layout direction) of cells in each rank
mxHierarchicalLayout.prototype.findRoots = function(parent,
vertices)
Returns all visible children in the given parent which do not have incoming edges.
mxSwimlaneLayout.prototype.findRoots = function(parent,
vertices)
Returns all visible children in the given parent which do not have incoming edges.
mxGraph.prototype.findTreeRoots = function(parent,
isolate,
invert)
Returns all children in the given parent which do not have incoming edges.
mxEventSource.prototype.fireEvent = function(evt,
sender)
Dispatches the given event to the listeners which are registered for the event.
mxGraph.prototype.fireGestureEvent = function(evt,
cell)
Dispatches a mxEvent.GESTURE event.
mxGraph.prototype.fireMouseEvent = function(evtName,
me,
sender)
Dispatches the given event in the graph event dispatch loop.
mxGraph.prototype.fit = function(border,
keepOrigin)
Scales the graph such that the complete diagram fits into container and returns the current scale in the view.
fit: function(node)
Makes sure the given node is inside the visible area of the window.
mxWindow.prototype.fit = function()
Makes sure the window is inside the client area of the window.
mxGraphHierarchyModel.prototype.fixRanks = function()
Fixes the layer assignments to the values stored in the nodes.
mxSwimlaneModel.prototype.fixRanks = function()
Fixes the layer assignments to the values stored in the nodes.
mxGraph.prototype.flipEdge = function(edge)
Toggles the style of the given edge between null (or empty) and alternateEdgeStyle.
mxCellEditor.prototype.focusLost = function()
Called if the textarea has lost focus.
mxGraph.prototype.foldCells = function(collapse,
recurse,
cells,
checkFoldable)
Sets the collapsed state of the specified cells and all descendants if recurse is true.
mxAbstractCanvas2D.prototype.format = function(value)
Rounds all numbers to integers.
mxXmlCanvas2D.prototype.format = function(value)
Returns a formatted number with 2 decimal places.
diff --git a/docs/js-api/index/Functions7.html b/docs/js-api/index/Functions7.html index b2daa433d..5aae77cd7 100644 --- a/docs/js-api/index/Functions7.html +++ b/docs/js-api/index/Functions7.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
G
 geometryForCellChanged, mxGraphModel
 get
 getAlignmentAsPoint, mxUtils
 getAlignmentTolerance, mxConnectionHandler
 getAllConnectionConstraints, mxGraph
 getAllEdges, mxGraph
 getAlternateContent, mxSvgCanvas2D
 getAppendices, mxPrintPreview
 getArcSize
 getAttribute, mxCell
 getAttributeName, mxObjectCodec
 getBackgroundImage, mxGraph
 getBackgroundPageBounds, mxGraphView
 getBackgroundPane, mxGraphView
 getBaseDomain, mxUrlConverter
 getBaseUrl, mxUrlConverter
 getBorder, mxGraph
 getBorderSizes, mxGraph
 getBoundingBox
 getBoundingBoxFromGeometry, mxGraph
 getBounds
 getBoundsForGroup, mxGraph
 getCanvas, mxGraphView
 getCell
 getCellAt, mxGraph
 getCellBounds, mxGraph
 getCellContainmentArea, mxGraph
 getCellForPopupEvent, mxPopupMenuHandler
 getCellGeometry, mxGraph
 getCellOverlays, mxGraph
 getCells
 getCellsBeyond, mxGraph
 getCellsForChange, mxLayoutManager
 getCellsForEdit, mxLayoutManager
 getCellsForGroup, mxGraph
 getCellStates, mxGraphView
 getCellsToShift, mxSpaceManager
 getCellStyle
 getCellValidationError, mxGraph
 getCenterX, mxRectangle
 getCenterY, mxRectangle
 getChildAt
 getChildCells
 getChildCount
 getChildEdges
 getChildNodes, mxUtils
 getChildOffsetForCell, mxGraph
 getChildren, mxGraphModel
 getChildVertices
 getClientX, mxEvent
 getClientY, mxEvent
 getCloneableCells, mxGraph
 getCodec, mxCodecRegistry
 getColor, mxUtils
 getConnectImage, mxConnectionHandler
 getConnectionConstraint, mxGraph
 getConnectionPoint, mxGraph
 getConnections
 getConstraint, mxGraphLayout
 getControlBounds, mxCellRenderer
 getCoreCell
 getCoverPages, mxPrintPreview
 getCurrentRoot, mxGraph
 getCurrentStyle, mxUtils
 getCurrentValue, mxCellEditor
 getCursor, mxShape
 getCursorForBend, mxElbowEdgeHandler
 getCursorForCell, mxGraph
 getCursorForMouseEvent, mxGraph
 getDefaultBundle, mxResources
 getDefaultEdgeStyle, mxStylesheet
 getDefaultParent, mxGraph
 getDefaultVertexStyle, mxStylesheet
 getDeletableCells, mxGraph
 getDelta
 getDescendants, mxGraphModel
 getDirectedEdgeCount, mxGraphModel
 getDocType, mxPrintPreview
 getDocumentElement, mxXmlRequest
 getDocumentHeight, mxDivResizer
 getDocumentScrollOrigin, mxUtils
 getDocumentWidth, mxDivResizer
 getDrawPane, mxGraphView
 getDropTarget
 getEdgeAt
 getEdgeColor, mxConnectionHandler
 getEdgeCount
 getEdgeId, mxParallelEdgeLayout
 getEdgeIndex, mxCell
 getEdges
 getEdgesBetween
 getEdgeStyle
 getEdgeValidationError, mxGraph
 getEdgeWidth, mxConnectionHandler
 getEditingCell, mxCellEditor
 getEditingValue, mxGraph
 getEditorBounds, mxCellEditor
 getElement, mxWindow
 getElementById, mxCodec
 getEmptyLabelText, mxCellEditor
 getEvent, mxMouseEvent
 getEventSource, mxEventSource
 getExportableCells, mxGraph
 getFieldName, mxObjectCodec
 getFieldTemplate, mxObjectCodec
 getFirstSelectableCell, mxGraphSelectionModel
 getFoldableCells, mxGraph
 getFoldingImage, mxGraph
 getFunction, mxKeyHandler
 getFunctionName, mxUtils
 getGeneralPurposeVariable
 getGeometry
 getGradientBounds
 getGraph
 getGraphBounds
 getGraphForEvent, mxDragSource
 getGraphX, mxMouseEvent
 getGraphY, mxMouseEvent
 getGridSize, mxGraph
 getGuideStates, mxGraphHandler
 getGuideTolerance, mxGuide
 getHandleFillColor, mxEdgeHandler
 getHandleForEvent
 getHandler, mxSelectionCellsHandler
 getHotspot, mxCellMarker
 getId
 getImage
 getImageBounds
 getImageForConstraint, mxConstraintHandler
 getImageFromBundles, mxGraph
 getImportableCells, mxGraph
 getIncomingEdges
 getIndex, mxCell
 getIndicatorBounds, mxLabel
 getIndicatorColor, mxGraph
 getIndicatorGradientColor, mxGraph
 getIndicatorImage, mxGraph
 getIndicatorShape, mxGraph
 getInitialCellForEvent, mxGraphHandler
 getInitialValue, mxCellEditor
 getInnerHtml, mxUtils
 getKeys, mxDictionary
 getLabel, mxGraph
 getLabelBounds
 getLabelValue, mxCellRenderer
 getLayout, mxLayoutManager
 getMainEvent, mxEvent
 getMargin, mxText
 getMarkedState, mxCellMarker
 getMarkerColor, mxCellMarker
 getMaximumGraphBounds, mxGraph
 getMinimumSize
 getModel
 getMovableCells, mxGraph
 getName
 getNearestCommonAncestor, mxGraphModel
 getNextLayerConnectedCells
 getNextPoint, mxGraphView
 getNumber, mxUtils
 getObject, mxCodec
 getOffset, mxUtils
 getOpposites
 getOrigin, mxGraphModel
 getOriginForCell, mxMorphing
 getOuterHtml, mxUtils
 getOutgoingEdges
 getOutlineOffset, mxOutline
 getOverlap, mxGraph
 getOverlayPane, mxGraphView
 getParent
 getParentOffset, mxGraphLayout
 getParentPath, mxCellPath
 getParents, mxGraphModel
 getParentSize, mxStackLayout
 getPerimeterBounds
 getPerimeterFunction, mxGraphView
 getPerimeterPoint, mxGraphView
 getPoint
 getPointForEvent
 getPreferredPageSize, mxGraph
 getPreferredSizeForCell, mxGraph
 getPrettyXML, mxUtils
 getPreviewBounds, mxGraphHandler
 getPreviewPoints
 getPreviewTerminalState, mxEdgeHandler
 getPreviousLayerConnectedCells
 getProperties, mxEventObject
 getProperty, mxEventObject
 getRadius, mxCircleLayout
 getRankValue, mxGraphHierarchyNode
 getRelativePoint, mxGraphView
 getRemovedCellsForChanges, mxGraph
 getRoot
 getRootTitle, mxEditor
 getRotatedPoint, mxUtils
 getRotation
 getRoutingCenterX, mxGraphView
 getRoutingCenterY, mxGraphView
 getScale, mxGraphView
 getScaleForPageCount, mxUtils
 getScrollOrigin, mxUtils
 getSelectionBounds, mxVertexHandler
 getSelectionCell, mxGraph
 getSelectionCells, mxGraph
 getSelectionCellsForChanges, mxGraph
 getSelectionColor
 getSelectionCount, mxGraph
 getSelectionModel, mxGraph
 getSelectionPoints, mxEdgeHandler
 getSelectionStrokeWidth
 getShape, mxCellRenderer
 getShapeConstructor, mxCellRenderer
 getShapeRotation
 getShapesForState, mxCellRenderer
 getSizeForString, mxUtils
 getSnapToTerminalTolerance, mxEdgeHandler
 getSource
 getSourceContainerSize, mxOutline
 getSourcePerimeterPoint, mxConnectionHandler
 getSpacing, mxText
 getSpecialBundle, mxResources
 getStartSize, mxGraph
 getState
 getStateForEvent, mxGraph
 getStates, mxGraphView
 getStateToMark, mxCellMarker
 getStatus, mxXmlRequest
 getStencil, mxStencilRegistry
 getStringValue, mxStylesheetCodec
 getStyle
 getStylename, mxUtils
 getStylenames, mxUtils
 getStylesheet, mxGraph
 getSvgGradient, mxSvgCanvas2D
 getSvgScreenOffset
 getSwimlane, mxGraph
 getSwimlaneAt, mxGraph
 getTable, mxForm
 getTargetPerimeterPoint, mxConnectionHandler
 getTemplate, mxEditor
 getTerminal
 getTerminalForPort, mxGraph
 getTerminalPoint, mxGeometry
 getTerminalPort, mxGraphView
 getText, mxXmlRequest
 getTextContent, mxUtils
 getTextRotation
 getTextScale, mxCellRenderer
 getTitle, mxEditor
 getTolerance
 getTooltip, mxGraph
 getTooltipForCell, mxGraph
 getTooltipForNode, mxElbowEdgeHandler
 getTopmostCells, mxGraphModel
 getTranslate, mxGraphView
 getTranslateForEvent, mxOutline
 getTranslateForRoot, mxGraph
 getUrlImage, mxEditor
 getUrlPost, mxEditor
 getValidState, mxCellMarker
 getValue
 getValues, mxDictionary
 getVertexBounds, mxGraphLayout
 getVerticalAlign, mxGraph
 getView, mxGraph
 getViewXml, mxUtils
 getVisibleTerminal
 getVisibleTerminalState, mxCellState
 getVmlDashPattern, mxVmlCanvas2D
 getWindow, mxPrintPreview
 getX
 getXml
 getY
 graphContainsEvent, mxDragSource
 graphModelChanged
 graphRenderHint, mxOutline
 groupCells
 grow, mxRectangle
+
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
G
 geometryForCellChanged, mxGraphModel
 get
 getAlignmentAsPoint, mxUtils
 getAlignmentTolerance, mxConnectionHandler
 getAllConnectionConstraints, mxGraph
 getAllEdges, mxGraph
 getAlternateContent, mxSvgCanvas2D
 getAppendices, mxPrintPreview
 getArcSize
 getAttribute, mxCell
 getAttributeName, mxObjectCodec
 getBackgroundImage, mxGraph
 getBackgroundPageBounds, mxGraphView
 getBackgroundPane, mxGraphView
 getBaseDomain, mxUrlConverter
 getBaseUrl, mxUrlConverter
 getBorder, mxGraph
 getBorderSizes, mxGraph
 getBoundingBox
 getBoundingBoxFromGeometry, mxGraph
 getBounds
 getBoundsForGroup, mxGraph
 getCanvas, mxGraphView
 getCell
 getCellAt, mxGraph
 getCellBounds, mxGraph
 getCellContainmentArea, mxGraph
 getCellForPopupEvent, mxPopupMenuHandler
 getCellGeometry, mxGraph
 getCellOverlays, mxGraph
 getCells
 getCellsBeyond, mxGraph
 getCellsForChange, mxLayoutManager
 getCellsForEdit, mxLayoutManager
 getCellsForGroup, mxGraph
 getCellStates, mxGraphView
 getCellsToShift, mxSpaceManager
 getCellStyle
 getCellValidationError, mxGraph
 getCenterX, mxRectangle
 getCenterY, mxRectangle
 getChildAt
 getChildCells
 getChildCount
 getChildEdges
 getChildNodes, mxUtils
 getChildOffsetForCell, mxGraph
 getChildren, mxGraphModel
 getChildVertices
 getClientX, mxEvent
 getClientY, mxEvent
 getCloneableCells, mxGraph
 getCodec, mxCodecRegistry
 getColor, mxUtils
 getConnectImage, mxConnectionHandler
 getConnectionConstraint, mxGraph
 getConnectionPoint, mxGraph
 getConnections
 getConstraint, mxGraphLayout
 getControlBounds, mxCellRenderer
 getCoreCell
 getCoverPages, mxPrintPreview
 getCurrentRoot, mxGraph
 getCurrentStyle, mxUtils
 getCurrentValue, mxCellEditor
 getCursor, mxShape
 getCursorForBend, mxElbowEdgeHandler
 getCursorForCell, mxGraph
 getCursorForMouseEvent, mxGraph
 getDefaultBundle, mxResources
 getDefaultEdgeStyle, mxStylesheet
 getDefaultParent, mxGraph
 getDefaultVertexStyle, mxStylesheet
 getDeletableCells, mxGraph
 getDelta
 getDescendants, mxGraphModel
 getDirectedEdgeCount, mxGraphModel
 getDocType, mxPrintPreview
 getDocumentElement, mxXmlRequest
 getDocumentHeight, mxDivResizer
 getDocumentScrollOrigin, mxUtils
 getDocumentWidth, mxDivResizer
 getDrawPane, mxGraphView
 getDropTarget
 getEdgeAt
 getEdgeColor, mxConnectionHandler
 getEdgeCount
 getEdgeId, mxParallelEdgeLayout
 getEdgeIndex, mxCell
 getEdges
 getEdgesBetween
 getEdgeStyle
 getEdgeValidationError, mxGraph
 getEdgeWidth, mxConnectionHandler
 getEditingCell, mxCellEditor
 getEditingValue, mxGraph
 getEditorBounds, mxCellEditor
 getElement, mxWindow
 getElementById, mxCodec
 getEmptyLabelText, mxCellEditor
 getEvent, mxMouseEvent
 getEventSource, mxEventSource
 getExportableCells, mxGraph
 getFieldName, mxObjectCodec
 getFieldTemplate, mxObjectCodec
 getFirstSelectableCell, mxGraphSelectionModel
 getFoldableCells, mxGraph
 getFoldingImage, mxGraph
 getFunction, mxKeyHandler
 getFunctionName, mxUtils
 getGeneralPurposeVariable
 getGeometry
 getGradientBounds
 getGraph
 getGraphBounds
 getGraphForEvent, mxDragSource
 getGraphX, mxMouseEvent
 getGraphY, mxMouseEvent
 getGridSize, mxGraph
 getGuideStates, mxGraphHandler
 getGuideTolerance, mxGuide
 getHandleFillColor, mxEdgeHandler
 getHandleForEvent
 getHandler, mxSelectionCellsHandler
 getHotspot, mxCellMarker
 getId
 getImage
 getImageBounds
 getImageForConstraint, mxConstraintHandler
 getImageFromBundles, mxGraph
 getImportableCells, mxGraph
 getIncomingEdges
 getIndex, mxCell
 getIndicatorBounds, mxLabel
 getIndicatorColor, mxGraph
 getIndicatorGradientColor, mxGraph
 getIndicatorImage, mxGraph
 getIndicatorShape, mxGraph
 getInitialCellForEvent, mxGraphHandler
 getInitialValue, mxCellEditor
 getInnerHtml, mxUtils
 getKeys, mxDictionary
 getLabel, mxGraph
 getLabelBounds
 getLabelValue, mxCellRenderer
 getLayout, mxLayoutManager
 getMainEvent, mxEvent
 getMargin, mxText
 getMarkedState, mxCellMarker
 getMarkerColor, mxCellMarker
 getMaximumGraphBounds, mxGraph
 getMinimumSize
 getModel
 getMovableCells, mxGraph
 getName
 getNearestCommonAncestor, mxGraphModel
 getNextLayerConnectedCells
 getNextPoint, mxGraphView
 getNumber, mxUtils
 getObject, mxCodec
 getOffset, mxUtils
 getOpposites
 getOrigin, mxGraphModel
 getOriginForCell, mxMorphing
 getOuterHtml, mxUtils
 getOutgoingEdges
 getOutlineOffset, mxOutline
 getOverlap, mxGraph
 getOverlayPane, mxGraphView
 getParent
 getParentOffset, mxGraphLayout
 getParentPath, mxCellPath
 getParents, mxGraphModel
 getParentSize, mxStackLayout
 getPerimeterBounds
 getPerimeterFunction, mxGraphView
 getPerimeterPoint, mxGraphView
 getPoint
 getPointForEvent
 getPreferredPageSize, mxGraph
 getPreferredSizeForCell, mxGraph
 getPrettyXML, mxUtils
 getPreviewBounds, mxGraphHandler
 getPreviewPoints
 getPreviewTerminalState, mxEdgeHandler
 getPreviousLayerConnectedCells
 getProperties, mxEventObject
 getProperty, mxEventObject
 getRadius, mxCircleLayout
 getRankValue, mxGraphHierarchyNode
 getRelativePoint, mxGraphView
 getRemovedCellsForChanges, mxGraph
 getRoot
 getRootTitle, mxEditor
 getRotatedPoint, mxUtils
 getRotation
 getRoutingCenterX, mxGraphView
 getRoutingCenterY, mxGraphView
 getScale, mxGraphView
 getScaleForPageCount, mxUtils
 getScrollOrigin, mxUtils
 getSelectionBounds, mxVertexHandler
 getSelectionCell, mxGraph
 getSelectionCells, mxGraph
 getSelectionCellsForChanges, mxGraph
 getSelectionColor
 getSelectionCount, mxGraph
 getSelectionModel, mxGraph
 getSelectionPoints, mxEdgeHandler
 getSelectionStrokeWidth
 getShape, mxCellRenderer
 getShapeConstructor, mxCellRenderer
 getShapeRotation
 getShapesForState, mxCellRenderer
 getSizeForString, mxUtils
 getSnapToTerminalTolerance, mxEdgeHandler
 getSource
 getSourceContainerSize, mxOutline
 getSourcePerimeterPoint, mxConnectionHandler
 getSpacing, mxText
 getSpecialBundle, mxResources
 getStartSize, mxGraph
 getState
 getStateForEvent, mxGraph
 getStates, mxGraphView
 getStateToMark, mxCellMarker
 getStatus, mxXmlRequest
 getStencil, mxStencilRegistry
 getStringValue, mxStylesheetCodec
 getStyle
 getStylename, mxUtils
 getStylenames, mxUtils
 getStylesheet, mxGraph
 getSvgGradient, mxSvgCanvas2D
 getSvgScreenOffset
 getSwimlane, mxGraph
 getSwimlaneAt, mxGraph
 getTable, mxForm
 getTargetPerimeterPoint, mxConnectionHandler
 getTemplate, mxEditor
 getTerminal
 getTerminalForPort, mxGraph
 getTerminalPoint, mxGeometry
 getTerminalPort, mxGraphView
 getText, mxXmlRequest
 getTextContent, mxUtils
 getTextRotation
 getTextScale, mxCellRenderer
 getTitle, mxEditor
 getTolerance
 getTooltip, mxGraph
 getTooltipForCell, mxGraph
 getTooltipForNode, mxElbowEdgeHandler
 getTopmostCells, mxGraphModel
 getTranslate, mxGraphView
 getTranslateForEvent, mxOutline
 getTranslateForRoot, mxGraph
 getUrlImage, mxEditor
 getUrlPost, mxEditor
 getValidState, mxCellMarker
 getValue
 getValues, mxDictionary
 getVertexBounds, mxGraphLayout
 getVerticalAlign, mxGraph
 getView, mxGraph
 getViewXml, mxUtils
 getVisibleTerminal
 getVisibleTerminalState, mxCellState
 getVmlDashPattern, mxVmlCanvas2D
 getWindow, mxPrintPreview
 getX
 getXml
 getY
 graphContainsEvent, mxDragSource
 graphModelChanged
 graphRenderHint, mxOutline
 groupCells
 grow, mxRectangle
-
mxGraphModel.prototype.geometryForCellChanged = function(cell,
geometry)
Inner callback to update the mxGeometry of the given mxCell using mxCell.setGeometry and return the previous mxGeometry.
mxDictionary.prototype.get = function(key)
Returns the value for the given key.
get: function(obj)
Returns the object id for the given object.
get: function(key,
params,
defaultValue)
Returns the value for the specified resource key.
mxSession.prototype.get = function(url,
onLoad,
onError)
Sends an asynchronous get request to the given URL, fires a get event and invokes the given onLoad function when a response is received.
get: function(url,
onload,
onerror)
Loads the specified URL asynchronously and invokes the given functions depending on the request status.
getAlignmentAsPoint: function(align,
valign)
Returns an mxPoint that represents the horizontal and vertical alignment for numeric computations.
mxConnectionHandler.prototype.getAlignmentTolerance = function()
Returns the tolerance for aligning new targets to sources.
mxGraph.prototype.getAllConnectionConstraints = function(terminal,
source)
Returns an array of all mxConnectionConstraints for the given terminal.
mxGraph.prototype.getAllEdges = function(cells)
Returns all edges connected to the given cells or its descendants.
Returns the alternate content for the given foreignObject.
mxPrintPreview.prototype.getAppendices = function()
Returns the pages to be added after the print output.
mxShape.prototype.getArcSize = function(w,
h)
Returns the arc size for the given dimension.
mxSwimlane.prototype.getArcSize = function(w,
h,
start)
Returns the arcsize for the swimlane.
mxCell.prototype.getAttribute = function(name,
defaultValue)
Returns the specified attribute from the user object if it is an XML node.
mxObjectCodec.prototype.getAttributeName = function(fieldname)
Returns the attributename for the given fieldname.
mxGraph.prototype.getBackgroundImage = function()
Returns the backgroundImage as an mxImage.
mxGraphView.prototype.getBackgroundPageBounds = function()
Returns the bounds for the background page.
mxGraphView.prototype.getBackgroundPane = function()
Returns the DOM node that represents the background layer.
mxUrlConverter.prototype.getBaseDomain = function()
Returns baseDomain.
mxUrlConverter.prototype.getBaseUrl = function()
Returns baseUrl.
mxGraph.prototype.getBorder = function()
Returns the value of border.
mxGraph.prototype.getBorderSizes = function()
Returns the size of the border and padding on all four sides of the container.
mxGraphHandler.prototype.getBoundingBox = function(cells)
Returns the mxRectangle that represents the bounding box for the given cells.
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.
getBoundingBox: function(rect,
rotation)
Returns the bounding box for the rotated rectangle.
mxGraph.prototype.getBoundingBoxFromGeometry = function(cells,
includeEdges)
Returns the bounding box for the geometries of the vertices in the given array of cells.
mxCellOverlay.prototype.getBounds = function(state)
Returns the bounds of the overlay for the given mxCellState as an mxRectangle.
mxGraphView.prototype.getBounds = function(cells)
Returns the bounds (on the screen) for the given array of mxCells.
mxGraph.prototype.getBoundsForGroup = function(group,
children,
border)
Returns the bounds to be used for the given group and children.
mxGraphView.prototype.getCanvas = function()
Returns the DOM node that contains the background-, draw- and overlaypane.
mxCellMarker.prototype.getCell = function(me)
Returns the mxCell for the given event and cell.
mxGraphModel.prototype.getCell = function(id)
Returns the mxCell for the specified Id or null if no cell can be found for the given Id.
mxMouseEvent.prototype.getCell = function()
Returns the mxCell in state is not null.
mxGraph.prototype.getCellAt = function(x,
y,
parent,
vertices,
edges)
Returns the bottom-most cell that intersects the given point (x, y) in the cell hierarchy starting at the given parent.
mxGraph.prototype.getCellBounds = function(cell,
includeEdges,
includeDescendants)
Returns the scaled, translated bounds for the given cell.
mxGraph.prototype.getCellContainmentArea = function(cell)
Returns the mxRectangle inside which a cell is to be kept.
mxPopupMenuHandler.prototype.getCellForPopupEvent = function(me)
Hook to return the cell for the mouse up popup trigger handling.
mxGraph.prototype.getCellGeometry = function(cell)
Returns the mxGeometry for the given cell.
mxGraph.prototype.getCellOverlays = function(cell)
Returns the array of mxCellOverlays for the given cell or null, if no overlays are defined.
getCells: function()
Returns the cells in the clipboard.
mxGraph.prototype.getCells = function(x,
y,
width,
height,
parent,
result)
Returns the children of the given parent that are contained in the given rectangle (x, y, width, height).
mxGraphHandler.prototype.getCells = function(initialCell)
Returns the cells to be modified by this handler.
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 and/or downwards depending on rightHalfpane and bottomHalfpane.
mxLayoutManager.prototype.getCellsForChange = function(change)
Executes all layouts which have been scheduled during the changes.
Returns the cells to be layouted for the given sequence of changes.
mxGraph.prototype.getCellsForGroup = function(cells)
Returns the cells with the same parent as the first cell in the given array.
mxGraphView.prototype.getCellStates = function(cells)
Returns the mxCellStates for the given array of mxCells.
mxSpaceManager.prototype.getCellsToShift = function(state)
Returns the cells to shift after a resize of the specified mxCellState.
mxGraph.prototype.getCellStyle = function(cell)
Returns an array of key, value pairs representing the cell style for the given cell.
mxStylesheet.prototype.getCellStyle = function(name,
defaultStyle)
Returns the cell style for the specified stylename or the given defaultStyle if no style can be found for the given stylename.
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.
mxRectangle.prototype.getCenterX = function ()
Returns the x-coordinate of the center point.
mxRectangle.prototype.getCenterY = function ()
Returns the y-coordinate of the center point.
mxCell.prototype.getChildAt = function(index)
Returns the child at the specified index.
mxGraphModel.prototype.getChildAt = function(cell,
index)
Returns the child of the given mxCell at the given index.
mxGraph.prototype.getChildCells = function(parent,
vertices,
edges)
Returns the visible child vertices or edges in the given parent.
mxGraphModel.prototype.getChildCells = function(parent,
vertices,
edges)
Returns the children of the given cell that are vertices and/or edges depending on the arguments.
mxCell.prototype.getChildCount = function()
Returns the number of child cells.
mxGraphModel.prototype.getChildCount = function(cell)
Returns the number of children in the given cell.
mxGraph.prototype.getChildEdges = function(parent)
Returns the visible child edges of the given parent.
mxGraphModel.prototype.getChildEdges = function(parent)
Returns the child edges of the given parent.
getChildNodes: function(node,
nodeType)
Returns an array of child nodes that are of the given node type.
mxGraph.prototype.getChildOffsetForCell = function(cell)
Returns the offset to be used for the cells inside the given cell.
mxGraphModel.prototype.getChildren = function(cell)
Returns all children of the given mxCell as an array of mxCells.
mxGraph.prototype.getChildVertices = function(parent)
Returns the visible child vertices of the given parent.
mxGraphModel.prototype.getChildVertices = function(parent)
Returns the child vertices of the given parent.
getClientX: function(e)
Returns true if the meta key is pressed for the given event.
getClientY: function(e)
Returns true if the meta key is pressed for the given event.
mxGraph.prototype.getCloneableCells = function(cells)
Returns the cells which may be exported in the given array of cells.
getCodec: function(ctor)
Returns a codec that handles objects that are constructed using the given constructor.
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.
mxConnectionHandler.prototype.getConnectImage = function(state)
Hook to return the mxImage used for the connection icon of the given mxCellState.
mxGraph.prototype.getConnectionConstraint = function(edge,
terminal,
source)
Returns an 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.
mxGraph.prototype.getConnections = function(cell,
parent)
Returns all visible edges connected to the given cell without loops.
mxGraphModel.prototype.getConnections = function(cell)
Returns all edges of the given cell without loops.
mxGraphLayout.prototype.getConstraint = function(key,
cell,
edge,
source)
Returns the constraint for the given key and cell.
mxCellRenderer.prototype.getControlBounds = function(state,
w,
h)
Returns the bounds to be used to draw the control (folding icon) of the given state.
mxGraphHierarchyEdge.prototype.getCoreCell = function()
Gets the first core edge associated with this wrapper
mxGraphHierarchyNode.prototype.getCoreCell = function()
Gets the core vertex associated with this wrapper
mxPrintPreview.prototype.getCoverPages = function()
Returns the pages to be added before the print output.
mxGraph.prototype.getCurrentRoot = function()
Returns the current root of the displayed cell hierarchy.
getCurrentStyle: function()
Returns the current style of the specified element.
mxCellEditor.prototype.getCurrentValue = function()
Returns the current editing value.
mxShape.prototype.getCursor = function()
Returns the current cursor.
mxElbowEdgeHandler.prototype.getCursorForBend = function()
Returns the cursor to be used for the bend.
mxGraph.prototype.getCursorForCell = function(cell)
Returns the cursor value to be used for the CSS of the shape 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.
getDefaultBundle: function(basename,
lan)
Hook for subclassers to return the URL for the special bundle.
mxStylesheet.prototype.getDefaultEdgeStyle = function()
Sets the default style for edges.
mxGraph.prototype.getDefaultParent = function()
Returns defaultParent or mxGraphView.currentRoot or the first child child of mxGraphModel.root if both are null.
mxStylesheet.prototype.getDefaultVertexStyle = function()
Returns the default style for vertices.
mxGraph.prototype.getDeletableCells = function(cells)
Returns the cells which may be exported in the given array of cells.
mxGraphHandler.prototype.getDelta = function(me)
Returns an mxPoint that represents the vector for moving the cells for the given mxMouseEvent.
mxMorphing.prototype.getDelta = function(state)
Returns the vector between the current rendered state and the future location of the state after the display will be updated.
mxGraphModel.prototype.getDescendants = function(parent)
Returns all descendants of the given cell and the cell itself in an array.
mxGraphModel.prototype.getDirectedEdgeCount = function(cell,
outgoing,
ignoredEdge)
Returns the number of incoming or outgoing edges, ignoring the given edge.
Returns the string that should go before the HTML tag in the print preview page.
mxXmlRequest.prototype.getDocumentElement = function()
Returns the document element of the response XML document.
mxDivResizer.prototype.getDocumentHeight = function()
Hook for subclassers to return the height of the document (without scrollbars).
getDocumentScrollOrigin: function(doc)
Returns the scroll origin of the given document or the current document if no document is given.
mxDivResizer.prototype.getDocumentWidth = function()
Hook for subclassers to return the width of the document (without scrollbars).
mxGraphView.prototype.getDrawPane = function()
Returns the DOM node that represents the main drawing layer.
mxDragSource.prototype.getDropTarget = function(graph,
x,
y)
Returns the drop target for the given graph and coordinates.
mxGraph.prototype.getDropTarget = function(cells,
evt,
cell)
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.
mxCell.prototype.getEdgeAt = function(index)
Returns the edge at the specified index in edges.
mxGraphModel.prototype.getEdgeAt = function(cell,
index)
Returns the edge of cell at the given index.
mxConnectionHandler.prototype.getEdgeColor = function(valid)
Returns the color used to draw the preview edge.
mxCell.prototype.getEdgeCount = function()
Returns the number of edges in the edge array.
mxGraphModel.prototype.getEdgeCount = function(cell)
Returns the number of distinct edges connected to the given cell.
mxParallelEdgeLayout.prototype.getEdgeId = function(edge)
Returns a unique ID for the given edge.
mxCell.prototype.getEdgeIndex = function(edge)
Returns the index of the specified edge in edges.
mxGraph.prototype.getEdges = function(cell,
parent,
incoming,
outgoing,
includeLoops,
recurse)
Returns the incoming and/or outgoing edges for the given cell.
mxGraphModel.prototype.getEdges = function(cell,
incoming,
outgoing,
includeLoops)
Returns all distinct edges connected to this cell as a new array of mxCells.
mxHierarchicalLayout.prototype.getEdges = function(cell)
Returns the connected edges for the given cell.
mxSwimlaneLayout.prototype.getEdges = function(cell)
Returns the connected edges for the given cell.
mxGraph.prototype.getEdgesBetween = function(source,
target,
directed)
Returns the edges between the given source and target.
mxGraphModel.prototype.getEdgesBetween = function(source,
target,
directed)
Returns all edges between the given source and target pair.
mxHierarchicalLayout.prototype.getEdgesBetween = function(source,
target,
directed)
Returns the edges between the given source and target.
mxSwimlaneLayout.prototype.getEdgesBetween = function(source,
target,
directed)
Returns the edges between the given source and target.
mxEditor.prototype.getEdgeStyle = function ()
Returns a string identifying the style of new edges.
mxGraphView.prototype.getEdgeStyle = function(edge,
points,
source,
target)
Returns the edge style function to be used to render the given edge state.
mxGraph.prototype.getEdgeValidationError = function(edge,
source,
target)
Returns the validation error message to be displayed when inserting or changing an edges’ connectivity.
mxConnectionHandler.prototype.getEdgeWidth = function(valid)
Returns the width used to draw the preview edge.
mxCellEditor.prototype.getEditingCell = function ()
Returns the cell that is currently being edited or null if no cell is being edited.
mxGraph.prototype.getEditingValue = function(cell,
evt)
Returns the initial value for in-place editing.
mxCellEditor.prototype.getEditorBounds = function(state)
Returns the mxRectangle that defines the bounds of the editor.
mxWindow.prototype.getElement = function()
Returuns the outermost DOM node that makes up the window.
mxCodec.prototype.getElementById = function(id,
attr)
Returns the element with the given ID from document.
mxCellEditor.prototype.getEmptyLabelText = function (cell)
Returns the initial label value to be used of the label of the given cell is empty.
mxMouseEvent.prototype.getEvent = function()
Returns evt.
mxEventSource.prototype.getEventSource = function()
Returns eventSource.
mxGraph.prototype.getExportableCells = function(cells)
Returns the cells which may be exported in the given array of cells.
mxObjectCodec.prototype.getFieldName = function(attributename)
Returns the fieldname for the given attributename.
mxObjectCodec.prototype.getFieldTemplate = function(obj,
fieldname,
child)
Returns the template instance for the given field.
mxGraphSelectionModel.prototype.getFirstSelectableCell = function(cells)
Returns the first selectable cell in the given array of cells.
mxGraph.prototype.getFoldableCells = function(cells,
collapse)
Returns the cells which are movable in the given array of cells.
mxGraph.prototype.getFoldingImage = function(state)
Returns the mxImage used to display the collapsed state of the specified cell state.
mxKeyHandler.prototype.getFunction = function(evt)
Returns the function associated with the given key event or null if no function is associated with the given event.
getFunctionName: function(f)
Returns the name for the given function.
mxGraphAbstractHierarchyCell.prototype.getGeneralPurposeVariable = function(
   layer
)
Gets the value of temp for the specified layer
mxGraphHierarchyEdge.prototype.getGeneralPurposeVariable = function(layer)
Gets the value of temp for the specified layer
mxGraphHierarchyNode.prototype.getGeneralPurposeVariable = function(layer)
Gets the value of temp for the specified layer
mxCell.prototype.getGeometry = function()
Returns the mxGeometry that describes the geometry.
mxGraphModel.prototype.getGeometry = function(cell)
Returns the mxGeometry of the given mxCell.
mxShape.prototype.getGradientBounds = function(c,
x,
y,
w,
h)
Returns the bounding box for the gradient box for this shape.
Returns the bounding box for the gradient box for this shape.
mxGraphLayout.prototype.getGraph = function()
Returns the graph that this layout operates on.
mxLayoutManager.prototype.getGraph = function()
Returns the graph that this layout operates on.
mxSpaceManager.prototype.getGraph = function()
Returns the graph that this layout operates on.
mxSwimlaneManager.prototype.getGraph = function()
Returns the graph that this manager operates on.
mxGraph.prototype.getGraphBounds = function()
Returns the bounds of the visible graph.
mxGraphView.prototype.getGraphBounds = function()
Returns graphBounds.
mxDragSource.prototype.getGraphForEvent = function(evt)
Returns the graph for the given mouse event.
mxMouseEvent.prototype.getGraphX = function()
Returns graphX.
mxMouseEvent.prototype.getGraphY = function()
Returns graphY.
mxGraph.prototype.getGridSize = function()
Returns gridSize.
mxGraphHandler.prototype.getGuideStates = function()
Creates an array of cell states which should be used as guides.
mxGuide.prototype.getGuideTolerance = function()
Returns the tolerance for the guides.
mxEdgeHandler.prototype.getHandleFillColor = function(index)
Returns the fillcolor for the handle at the given index.
mxEdgeHandler.prototype.getHandleForEvent = function(me)
Returns the index of the handle for the given event.
mxVertexHandler.prototype.getHandleForEvent = function(me)
Returns the index of the handle for the given event.
mxSelectionCellsHandler.prototype.getHandler = function(cell)
Returns the handler for the given cell.
mxCellMarker.prototype.getHotspot = function()
Returns the hotspot.
mxCell.prototype.getId = function()
Returns the Id of the cell as a string.
mxCodec.prototype.getId = function(obj)
Returns the ID of the specified object.
mxGraph.prototype.getImage = function(state)
Returns the image URL for the given cell state.
mxImageBundle.prototype.getImage = function(key)
Returns the value for the given key.
mxLabel.prototype.getImageBounds = function(x,
y,
w,
h)
Generic background painting implementation.
mxSwimlane.prototype.getImageBounds = function(x,
y,
w,
h)
Paints the swimlane vertex shape.
mxConstraintHandler.prototype.getImageForConstraint = function(state,
constraint,
point)
Returns the tolerance to be used for intersecting connection points.
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.getImportableCells = function(cells)
Returns the cells which may be imported in the given array of cells.
mxGraph.prototype.getIncomingEdges = function(cell,
parent)
Returns the visible incoming edges for the given cell.
mxGraphModel.prototype.getIncomingEdges = function(cell)
Returns the incoming edges of the given cell without loops.
mxCell.prototype.getIndex = function(child)
Returns the index of the specified child in the child array.
mxLabel.prototype.getIndicatorBounds = function(x,
y,
w,
h)
Generic background painting implementation.
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.getIndicatorImage = function(state)
Returns the indicator image for the given cell state.
mxGraph.prototype.getIndicatorShape = function(state)
Returns the indicator shape for the given cell state.
mxGraphHandler.prototype.getInitialCellForEvent = function(me)
Hook to return initial cell for the given event.
mxCellEditor.prototype.getInitialValue = function(state,
trigger)
Gets the initial editing value for the given cell.
getInnerHtml: function()
Returns the inner HTML for the given node as a string or an empty string if no node was specified.
mxDictionary.prototype.getKeys = function()
Returns all keys as an array.
mxGraph.prototype.getLabel = function(cell)
Returns a string or DOM node that represents the label for the given cell.
mxCellRenderer.prototype.getLabelBounds = function(state)
Returns the bounds to be used to draw the label of the given state.
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.
mxCellRenderer.prototype.getLabelValue = function(state)
Returns the value to be used for the label.
mxLayoutManager.prototype.getLayout = function(parent)
Returns the layout to be executed for the given graph and parent.
getMainEvent: function(e)
Returns the touch or mouse event that contains the mouse coordinates.
Returns the spacing as an mxPoint.
mxCellMarker.prototype.getMarkedState = function()
Returns the markedState.
mxCellMarker.prototype.getMarkerColor = function(evt,
state,
isValid)
Returns the valid- or invalidColor depending on the value of isValid.
mxGraph.prototype.getMaximumGraphBounds = function()
Returns the bounds inside which the diagram should be kept as an mxRectangle.
mxCellEditor.prototype.getMinimumSize = function(state)
Returns the minimum width and height for editing the given state.
mxWindow.prototype.getMinimumSize = function()
Returns an mxRectangle that specifies the size for the minimized window.
mxGraph.prototype.getModel = function()
Returns the mxGraphModel that contains the cells.
mxHierarchicalLayout.prototype.getModel = function()
Returns the internal mxGraphHierarchyModel for this layout algorithm.
mxSwimlaneLayout.prototype.getModel = function()
Returns the internal mxSwimlaneModel for this layout algorithm.
mxGraph.prototype.getMovableCells = function(cells)
Returns the cells which are movable in the given array of cells.
mxEventObject.prototype.getName = function()
Returns name.
mxObjectCodec.prototype.getName = function()
Returns the name used for the nodenames and lookup of the codec when classes are encoded and nodes are decoded.
getName: function(value)
Returns the name for the given value.
mxGraphModel.prototype.getNearestCommonAncestor = function(cell1,
cell2)
Returns the nearest common ancestor for the specified cells.
mxGraphAbstractHierarchyCell.prototype.getNextLayerConnectedCells = function(
   layer
)
Returns the cells this cell connects to on the next layer up
mxGraphHierarchyEdge.prototype.getNextLayerConnectedCells = function(layer)
Returns the cells this cell connects to on the next layer up
mxGraphHierarchyNode.prototype.getNextLayerConnectedCells = function(layer)
Returns the cells this cell connects to on the next layer up
mxGraphView.prototype.getNextPoint = function(edge,
opposite,
source)
Returns the nearest point in the list of absolute points or the center of the opposite terminal.
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.
mxCodec.prototype.getObject = function(id)
Returns the decoded object for the element with the specified ID in document.
getOffset: function(container,
scrollOffset)
Returns the offset for the specified container as an mxPoint.
mxGraph.prototype.getOpposites = function(edges,
terminal,
sources,
targets)
Returns all distinct visible opposite cells for the specified terminal on the given edges.
mxGraphModel.prototype.getOpposites = function(edges,
terminal,
sources,
targets)
Returns all opposite vertices wrt terminal for the given edges, only returning sources and/or targets as specified.
mxGraphModel.prototype.getOrigin = function(cell)
Returns the absolute, accumulated origin for the children inside the given parent as an mxPoint.
mxMorphing.prototype.getOriginForCell = function(cell)
Returns the top, left corner of the given cell.
getOuterHtml: function()
Returns the outer HTML for the given node as a string or an empty string if no node was specified.
mxGraph.prototype.getOutgoingEdges = function(cell,
parent)
Returns the visible outgoing edges for the given cell.
mxGraphModel.prototype.getOutgoingEdges = function(cell)
Returns the outgoing edges of the given cell without loops.
mxOutline.prototype.getOutlineOffset = function(scale)
Returns the offset for drawing the outline graph.
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.
mxGraphView.prototype.getOverlayPane = function()
Returns the DOM node that represents the topmost drawing layer.
mxCell.prototype.getParent = function()
Returns the cell’s parent.
mxGraphModel.prototype.getParent = function(cell)
Returns the parent of the given cell.
mxGraphLayout.prototype.getParentOffset = function(parent)
Determines the offset of the given parent to the parent of the layout
getParentPath: function(path)
Returns the path for the parent of the cell represented by the given path.
mxGraphModel.prototype.getParents = function(cells)
Returns an array that represents the set (no duplicates) of all parents for the given array of cells.
mxStackLayout.prototype.getParentSize = function(parent)
Returns the size for the parent container or the size of the graph container if the parent is a layer or the root of the model.
mxCellState.prototype.getPerimeterBounds = function (border,
bounds)
Returns the mxRectangle that should be used as the perimeter of the cell.
mxGraphView.prototype.getPerimeterBounds = function(terminal,
border)
Returns the perimeter bounds for the given terminal, edge pair as an mxRectangle.
mxGraphView.prototype.getPerimeterFunction = function(state)
Returns the perimeter function for the given state.
mxGraphView.prototype.getPerimeterPoint = function(terminal,
next,
orthogonal,
border)
Returns an mxPoint that defines the location of the intersection point between the perimeter and the line between the center of the shape and the given point.
mxGraphView.prototype.getPoint = function(state,
geometry)
Returns the absolute point on the edge for the given relative mxGeometry as an mxPoint.
mxRectangle.prototype.getPoint = function()
Returns the top, left corner as a new mxPoint.
mxEdgeHandler.prototype.getPointForEvent = function(me)
Returns the point for the given event.
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.getPreferredPageSize = function(bounds,
width,
height)
Returns the preferred size of the background page if preferPageSize is true.
mxGraph.prototype.getPreferredSizeForCell = function(cell)
Returns the preferred width and height of the given mxCell as an mxRectangle.
Returns a pretty printed string that represents the XML tree for the given node.
mxGraphHandler.prototype.getPreviewBounds = function(cells)
Returns the mxRectangle used as the preview bounds for moving the given cells.
mxEdgeSegmentHandler.prototype.getPreviewPoints = function(point)
Updates the given preview state taking into account the state of the constraint handler.
mxEdgeHandler.prototype.getPreviewPoints = function(point)
Updates the given preview state taking into account the state of the constraint handler.
mxEdgeHandler.prototype.getPreviewTerminalState = function(me)
Updates the given preview state taking into account the state of the constraint handler.
mxGraphAbstractHierarchyCell.prototype.getPreviousLayerConnectedCells = function(
   layer
)
Returns the cells this cell connects to on the next layer down
mxGraphHierarchyEdge.prototype.getPreviousLayerConnectedCells = function(layer)
Returns the cells this cell connects to on the next layer down
mxGraphHierarchyNode.prototype.getPreviousLayerConnectedCells = function(layer)
Returns the cells this cell connects to on the next layer down
mxEventObject.prototype.getProperties = function()
Returns properties.
mxEventObject.prototype.getProperty = function(key)
Returns the property for the given key.
mxCircleLayout.prototype.getRadius = function(count,
max)
Returns the radius to be used for the given vertex count.
mxGraphHierarchyNode.prototype.getRankValue = function(layer)
Returns the integer value of the layer that this node resides in
mxGraphView.prototype.getRelativePoint = function(edgeState,
x,
y)
Gets the relative point that describes the given, absolute label position for the given edge state.
mxGraph.prototype.getRemovedCellsForChanges = function(changes)
Returns the cells that have been removed from the model.
mxGraphModel.prototype.getRoot = function(cell)
Returns the root of the model or the topmost parent of the given cell.
mxPrintPreview.prototype.getRoot = function()
Returns the root cell for painting the graph.
mxEditor.prototype.getRootTitle = function ()
Returns the string value of the root cell in mxGraph.model.
getRotatedPoint: function(pt,
cos,
sin,
c)
Rotates the given point by the given cos and sin.
mxPolyline.prototype.getRotation = function()
Returns 0.
mxShape.prototype.getRotation = function()
Returns the rotation from the style.
mxGraphView.prototype.getRoutingCenterX = function (state)
Returns the x-coordinate of the center point for automatic routing.
mxGraphView.prototype.getRoutingCenterY = function (state)
Returns the y-coordinate of the center point for automatic routing.
mxGraphView.prototype.getScale = function()
Returns the scale.
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.
getScrollOrigin: function(node)
Returns the top, left corner of the viewrect as an mxPoint.
mxVertexHandler.prototype.getSelectionBounds = function(state)
Returns the mxRectangle that defines the bounds of the selection border.
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.getSelectionCellsForChanges = function(changes)
Returns the cells to be selected for the given array of changes.
mxEdgeHandler.prototype.getSelectionColor = function()
Returns mxConstants.EDGE_SELECTION_COLOR.
mxVertexHandler.prototype.getSelectionColor = function()
Returns mxConstants.VERTEX_SELECTION_COLOR.
mxGraph.prototype.getSelectionCount = function()
Returns the number of selected cells.
mxGraph.prototype.getSelectionModel = function()
Returns the mxGraphSelectionModel that contains the selection.
mxEdgeHandler.prototype.getSelectionPoints = function(state)
Returns the list of points that defines the selection stroke.
mxEdgeHandler.prototype.getSelectionStrokeWidth = function()
Returns mxConstants.EDGE_SELECTION_STROKEWIDTH.
mxVertexHandler.prototype.getSelectionStrokeWidth = function()
Returns mxConstants.VERTEX_SELECTION_STROKEWIDTH.
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.
mxPolyline.prototype.getShapeRotation = function()
Returns 0.
mxShape.prototype.getShapeRotation = function()
Returns the actual rotation of the shape.
mxText.prototype.getShapeRotation = function()
Returns 0 to avoid using rotation in the canvas via updateTransform.
mxCellRenderer.prototype.getShapesForState = function(state)
Returns the mxShapes for the given cell state in the order in which they should appear in the DOM.
getSizeForString: function(text,
fontSize,
fontFamily,
textWidth)
Returns an mxRectangle with the size (width and height in pixels) of the given string.
mxEdgeHandler.prototype.getSnapToTerminalTolerance = function()
Returns the tolerance for the guides.
getSource: function(evt)
Returns the event’s target or srcElement depending on the browser.
mxMouseEvent.prototype.getSource = function()
Returns the target DOM element using mxEvent.getSource for evt.
mxOutline.prototype.getSourceContainerSize = function()
Returns the size of the source container.
mxConnectionHandler.prototype.getSourcePerimeterPoint = function(state,
next,
me)
Hook to update the icon position(s) based on a mouseOver event.
mxText.prototype.getSpacing = function()
Returns the spacing as an mxPoint.
getSpecialBundle: function(basename,
lan)
Hook for subclassers to return the URL for the special bundle.
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.
mxCellMarker.prototype.getState = function(me)
Uses getCell, getStateToMark and intersects to return the mxCellState for the given mxMouseEvent.
mxGraphView.prototype.getState = function(cell,
create)
Returns the mxCellState for the given cell.
mxMouseEvent.prototype.getState = function()
Returns state.
Returns the state for the given touch event.
mxGraphView.prototype.getStates = function()
Returns states.
mxCellMarker.prototype.getStateToMark = function(state)
Returns the mxCellState to be marked for the given mxCellState under the mouse.
mxXmlRequest.prototype.getStatus = function()
Returns the status as a number, eg.
getStencil: function(name)
Returns the mxStencil for the given name.
codec.getStringValue = function(key,
value)
Returns the string for encoding the given value.
mxCell.prototype.getStyle = function()
Returns a string that describes the style.
mxGraphModel.prototype.getStyle = function(cell)
Returns the style of the given mxCell.
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.
mxGraph.prototype.getStylesheet = function()
Returns the mxStylesheet that defines the style.
mxSvgCanvas2D.prototype.getSvgGradient = function(start,
end,
alpha1,
alpha2,
direction)
Private helper function to create SVG elements
mxImageShape.prototype.getSvgScreenOffset = function()
Disables offset in IE9 for crisper image output.
mxShape.prototype.getSvgScreenOffset = function()
Returns 0, or 0.5 if strokewidth % 2 == 1.
mxText.prototype.getSvgScreenOffset = function()
Disables offset in IE9 for crisper image output.
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.
mxForm.prototype.getTable = function()
Returns the table that contains this form.
mxConnectionHandler.prototype.getTargetPerimeterPoint = function(state,
me)
Returns the perimeter point for the given target state.
mxEditor.prototype.getTemplate = function (name)
Returns the template for the given name.
mxCell.prototype.getTerminal = function(source)
Returns the source or target terminal.
mxGraphModel.prototype.getTerminal = function(edge,
isSource)
Returns the source or target mxCell of the given edge depending on the value of the boolean parameter.
mxGraph.prototype.getTerminalForPort = function(cell,
source)
Returns the terminal to be used for a given port.
mxGeometry.prototype.getTerminalPoint = function(isSource)
Returns the mxPoint representing the source or target point of this edge.
mxGraphView.prototype.getTerminalPort = function(state,
terminal,
source)
Returns an mxCellState that represents the source or target terminal or port for the given edge.
mxXmlRequest.prototype.getText = function()
Returns the response as a string.
getTextContent: function(node)
Returns the text content of the specified node.
mxShape.prototype.getTextRotation = function()
Returns the rotation for the text label.
mxText.prototype.getTextRotation = function()
Returns the rotation for the text label of the corresponding shape.
mxCellRenderer.prototype.getTextScale = function(state)
Returns the scaling used for the label of the given state
mxEditor.prototype.getTitle = function ()
Returns the string value for the current root of the diagram.
mxConstraintHandler.prototype.getTolerance = function()
Returns the tolerance to be used for intersecting connection points.
mxGraph.prototype.getTolerance = function()
Returns tolerance.
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.
mxElbowEdgeHandler.prototype.getTooltipForNode = function(node)
Returns the tooltip for the given node.
mxGraphModel.prototype.getTopmostCells = function(cells)
Returns the topmost cells of the hierarchy in an array that contains no descendants for each mxCell that it contains.
mxGraphView.prototype.getTranslate = function()
Returns the translate.
mxOutline.prototype.getTranslateForEvent = function(me)
Gets the translate for the given mouse event.
mxGraph.prototype.getTranslateForRoot = function(cell)
Returns the translation to be used if the given cell is the root cell as an mxPoint.
mxEditor.prototype.getUrlImage = function ()
Returns the URL to create the image with.
mxEditor.prototype.getUrlPost = function ()
Returns the URL to post the diagram to.
mxCellMarker.prototype.getValidState = function()
Returns the validState.
mxCell.prototype.getValue = function()
Returns the user object of the cell.
mxGraphModel.prototype.getValue = function(cell)
Returns the user object of the given mxCell using mxCell.getValue.
getValue: function(name)
Returns the value associated with the given name.
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.
mxDictionary.prototype.getValues = function()
Returns all values as an array.
mxGraphLayout.prototype.getVertexBounds = function(cell)
Returns an mxRectangle that defines the bounds of the given cell or the bounding box if useBoundingBox is true.
mxGraph.prototype.getVerticalAlign = function(state)
Returns the vertical alignment for the given cell state.
mxGraph.prototype.getView = function()
Returns the mxGraphView that contains the mxCellStates.
getViewXml: function(graph,
scale,
cells,
x0,
y0)
mxCellState.prototype.getVisibleTerminal = function (source)
Returns the visible source or target terminal cell.
mxGraphView.prototype.getVisibleTerminal = function(edge,
source)
Returns the nearest ancestor terminal that is visible.
mxHierarchicalLayout.prototype.getVisibleTerminal = function(edge,
source)
Helper function to return visible terminal for edge allowing for ports
mxSwimlaneLayout.prototype.getVisibleTerminal = function(edge,
source)
Helper function to return visible terminal for edge allowing for ports
mxCellState.prototype.getVisibleTerminalState = function (source)
Returns the visible source or target terminal state.
Returns a VML dash pattern for the current dashPattern.
mxPrintPreview.prototype.getWindow = function()
Returns wnd.
mxGraphAbstractHierarchyCell.prototype.getX = function(layer)
Gets the value of x on the specified layer
mxMouseEvent.prototype.getX = function()
Returns evt.clientX.
mxWindow.prototype.getX = function()
Returns the current position on the x-axis.
getXml: function(node,
linefeed)
Returns the XML content of the specified node.
mxXmlRequest.prototype.getXml = function()
Returns the response as an XML document.
mxMouseEvent.prototype.getY = function()
Returns evt.clientY.
mxWindow.prototype.getY = function()
Returns the current position on the y-axis.
mxDragSource.prototype.graphContainsEvent = function(graph,
evt)
Returns true if the given graph contains the given event.
mxAutoSaveManager.prototype.graphModelChanged = function(changes)
Invoked when the graph model has changed.
mxGraph.prototype.graphModelChanged = function(changes)
Called when the graph model changes.
Renderhint to be used for the outline graph.
mxEditor.prototype.groupCells = function ()
Invokes createGroup to create a new group cell and the invokes mxGraph.groupCells, using the grid size of the graph as the spacing in the group’s content area.
mxGraph.prototype.groupCells = function(group,
border,
cells)
Adds the cells into the given group.
mxRectangle.prototype.grow = function(amount)
Grows the rectangle by the given amount, that is, this method subtracts the given amount from the x- and y-coordinates and adds twice the amount to the width and height.
+
mxGraphModel.prototype.geometryForCellChanged = function(cell,
geometry)
Inner callback to update the mxGeometry of the given mxCell using mxCell.setGeometry and return the previous mxGeometry.
mxDictionary.prototype.get = function(key)
Returns the value for the given key.
get: function(obj)
Returns the object id for the given object.
get: function(key,
params,
defaultValue)
Returns the value for the specified resource key.
mxSession.prototype.get = function(url,
onLoad,
onError)
Sends an asynchronous get request to the given URL, fires a get event and invokes the given onLoad function when a response is received.
get: function(url,
onload,
onerror)
Loads the specified URL asynchronously and invokes the given functions depending on the request status.
getAlignmentAsPoint: function(align,
valign)
Returns an mxPoint that represents the horizontal and vertical alignment for numeric computations.
mxConnectionHandler.prototype.getAlignmentTolerance = function()
Returns the tolerance for aligning new targets to sources.
mxGraph.prototype.getAllConnectionConstraints = function(terminal,
source)
Returns an array of all mxConnectionConstraints for the given terminal.
mxGraph.prototype.getAllEdges = function(cells)
Returns all edges connected to the given cells or its descendants.
Returns the alternate content for the given foreignObject.
mxPrintPreview.prototype.getAppendices = function()
Returns the pages to be added after the print output.
mxShape.prototype.getArcSize = function(w,
h)
Returns the arc size for the given dimension.
mxSwimlane.prototype.getArcSize = function(w,
h,
start)
Returns the arcsize for the swimlane.
mxCell.prototype.getAttribute = function(name,
defaultValue)
Returns the specified attribute from the user object if it is an XML node.
mxObjectCodec.prototype.getAttributeName = function(fieldname)
Returns the attributename for the given fieldname.
mxGraph.prototype.getBackgroundImage = function()
Returns the backgroundImage as an mxImage.
mxGraphView.prototype.getBackgroundPageBounds = function()
Returns the bounds for the background page.
mxGraphView.prototype.getBackgroundPane = function()
Returns the DOM node that represents the background layer.
mxUrlConverter.prototype.getBaseDomain = function()
Returns baseDomain.
mxUrlConverter.prototype.getBaseUrl = function()
Returns baseUrl.
mxGraph.prototype.getBorder = function()
Returns the value of border.
mxGraph.prototype.getBorderSizes = function()
Returns the size of the border and padding on all four sides of the container.
mxGraphHandler.prototype.getBoundingBox = function(cells)
Returns the mxRectangle that represents the bounding box for the given cells.
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.
getBoundingBox: function(rect,
rotation)
Returns the bounding box for the rotated rectangle.
mxGraph.prototype.getBoundingBoxFromGeometry = function(cells,
includeEdges)
Returns the bounding box for the geometries of the vertices in the given array of cells.
mxCellOverlay.prototype.getBounds = function(state)
Returns the bounds of the overlay for the given mxCellState as an mxRectangle.
mxGraphView.prototype.getBounds = function(cells)
Returns the bounds (on the screen) for the given array of mxCells.
mxGraph.prototype.getBoundsForGroup = function(group,
children,
border)
Returns the bounds to be used for the given group and children.
mxGraphView.prototype.getCanvas = function()
Returns the DOM node that contains the background-, draw- and overlaypane.
mxCellMarker.prototype.getCell = function(me)
Returns the mxCell for the given event and cell.
mxGraphModel.prototype.getCell = function(id)
Returns the mxCell for the specified Id or null if no cell can be found for the given Id.
mxMouseEvent.prototype.getCell = function()
Returns the mxCell in state is not null.
mxGraph.prototype.getCellAt = function(x,
y,
parent,
vertices,
edges)
Returns the bottom-most cell that intersects the given point (x, y) in the cell hierarchy starting at the given parent.
mxGraph.prototype.getCellBounds = function(cell,
includeEdges,
includeDescendants)
Returns the scaled, translated bounds for the given cell.
mxGraph.prototype.getCellContainmentArea = function(cell)
Returns the mxRectangle inside which a cell is to be kept.
mxPopupMenuHandler.prototype.getCellForPopupEvent = function(me)
Hook to return the cell for the mouse up popup trigger handling.
mxGraph.prototype.getCellGeometry = function(cell)
Returns the mxGeometry for the given cell.
mxGraph.prototype.getCellOverlays = function(cell)
Returns the array of mxCellOverlays for the given cell or null, if no overlays are defined.
getCells: function()
Returns the cells in the clipboard.
mxGraph.prototype.getCells = function(x,
y,
width,
height,
parent,
result)
Returns the children of the given parent that are contained in the given rectangle (x, y, width, height).
mxGraphHandler.prototype.getCells = function(initialCell)
Returns the cells to be modified by this handler.
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 and/or downwards depending on rightHalfpane and bottomHalfpane.
mxLayoutManager.prototype.getCellsForChange = function(change)
Executes all layouts which have been scheduled during the changes.
Returns the cells to be layouted for the given sequence of changes.
mxGraph.prototype.getCellsForGroup = function(cells)
Returns the cells with the same parent as the first cell in the given array.
mxGraphView.prototype.getCellStates = function(cells)
Returns the mxCellStates for the given array of mxCells.
mxSpaceManager.prototype.getCellsToShift = function(state)
Returns the cells to shift after a resize of the specified mxCellState.
mxGraph.prototype.getCellStyle = function(cell)
Returns an array of key, value pairs representing the cell style for the given cell.
mxStylesheet.prototype.getCellStyle = function(name,
defaultStyle)
Returns the cell style for the specified stylename or the given defaultStyle if no style can be found for the given stylename.
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.
mxRectangle.prototype.getCenterX = function ()
Returns the x-coordinate of the center point.
mxRectangle.prototype.getCenterY = function ()
Returns the y-coordinate of the center point.
mxCell.prototype.getChildAt = function(index)
Returns the child at the specified index.
mxGraphModel.prototype.getChildAt = function(cell,
index)
Returns the child of the given mxCell at the given index.
mxGraph.prototype.getChildCells = function(parent,
vertices,
edges)
Returns the visible child vertices or edges in the given parent.
mxGraphModel.prototype.getChildCells = function(parent,
vertices,
edges)
Returns the children of the given cell that are vertices and/or edges depending on the arguments.
mxCell.prototype.getChildCount = function()
Returns the number of child cells.
mxGraphModel.prototype.getChildCount = function(cell)
Returns the number of children in the given cell.
mxGraph.prototype.getChildEdges = function(parent)
Returns the visible child edges of the given parent.
mxGraphModel.prototype.getChildEdges = function(parent)
Returns the child edges of the given parent.
getChildNodes: function(node,
nodeType)
Returns an array of child nodes that are of the given node type.
mxGraph.prototype.getChildOffsetForCell = function(cell)
Returns the offset to be used for the cells inside the given cell.
mxGraphModel.prototype.getChildren = function(cell)
Returns all children of the given mxCell as an array of mxCells.
mxGraph.prototype.getChildVertices = function(parent)
Returns the visible child vertices of the given parent.
mxGraphModel.prototype.getChildVertices = function(parent)
Returns the child vertices of the given parent.
getClientX: function(e)
Returns true if the meta key is pressed for the given event.
getClientY: function(e)
Returns true if the meta key is pressed for the given event.
mxGraph.prototype.getCloneableCells = function(cells)
Returns the cells which may be exported in the given array of cells.
getCodec: function(ctor)
Returns a codec that handles objects that are constructed using the given constructor.
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.
mxConnectionHandler.prototype.getConnectImage = function(state)
Hook to return the mxImage used for the connection icon of the given mxCellState.
mxGraph.prototype.getConnectionConstraint = function(edge,
terminal,
source)
Returns an 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.
mxGraph.prototype.getConnections = function(cell,
parent)
Returns all visible edges connected to the given cell without loops.
mxGraphModel.prototype.getConnections = function(cell)
Returns all edges of the given cell without loops.
mxGraphLayout.prototype.getConstraint = function(key,
cell,
edge,
source)
Returns the constraint for the given key and cell.
mxCellRenderer.prototype.getControlBounds = function(state,
w,
h)
Returns the bounds to be used to draw the control (folding icon) of the given state.
mxGraphHierarchyEdge.prototype.getCoreCell = function()
Gets the first core edge associated with this wrapper
mxGraphHierarchyNode.prototype.getCoreCell = function()
Gets the core vertex associated with this wrapper
mxPrintPreview.prototype.getCoverPages = function()
Returns the pages to be added before the print output.
mxGraph.prototype.getCurrentRoot = function()
Returns the current root of the displayed cell hierarchy.
getCurrentStyle: function()
Returns the current style of the specified element.
mxCellEditor.prototype.getCurrentValue = function()
Returns the current editing value.
mxShape.prototype.getCursor = function()
Returns the current cursor.
mxElbowEdgeHandler.prototype.getCursorForBend = function()
Returns the cursor to be used for the bend.
mxGraph.prototype.getCursorForCell = function(cell)
Returns the cursor value to be used for the CSS of the shape 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.
getDefaultBundle: function(basename,
lan)
Hook for subclassers to return the URL for the special bundle.
mxStylesheet.prototype.getDefaultEdgeStyle = function()
Sets the default style for edges.
mxGraph.prototype.getDefaultParent = function()
Returns defaultParent or mxGraphView.currentRoot or the first child child of mxGraphModel.root if both are null.
mxStylesheet.prototype.getDefaultVertexStyle = function()
Returns the default style for vertices.
mxGraph.prototype.getDeletableCells = function(cells)
Returns the cells which may be exported in the given array of cells.
mxGraphHandler.prototype.getDelta = function(me)
Returns an mxPoint that represents the vector for moving the cells for the given mxMouseEvent.
mxMorphing.prototype.getDelta = function(state)
Returns the vector between the current rendered state and the future location of the state after the display will be updated.
mxGraphModel.prototype.getDescendants = function(parent)
Returns all descendants of the given cell and the cell itself in an array.
mxGraphModel.prototype.getDirectedEdgeCount = function(cell,
outgoing,
ignoredEdge)
Returns the number of incoming or outgoing edges, ignoring the given edge.
Returns the string that should go before the HTML tag in the print preview page.
mxXmlRequest.prototype.getDocumentElement = function()
Returns the document element of the response XML document.
mxDivResizer.prototype.getDocumentHeight = function()
Hook for subclassers to return the height of the document (without scrollbars).
getDocumentScrollOrigin: function(doc)
Returns the scroll origin of the given document or the current document if no document is given.
mxDivResizer.prototype.getDocumentWidth = function()
Hook for subclassers to return the width of the document (without scrollbars).
mxGraphView.prototype.getDrawPane = function()
Returns the DOM node that represents the main drawing layer.
mxDragSource.prototype.getDropTarget = function(graph,
x,
y)
Returns the drop target for the given graph and coordinates.
mxGraph.prototype.getDropTarget = function(cells,
evt,
cell)
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.
mxCell.prototype.getEdgeAt = function(index)
Returns the edge at the specified index in edges.
mxGraphModel.prototype.getEdgeAt = function(cell,
index)
Returns the edge of cell at the given index.
mxConnectionHandler.prototype.getEdgeColor = function(valid)
Returns the color used to draw the preview edge.
mxCell.prototype.getEdgeCount = function()
Returns the number of edges in the edge array.
mxGraphModel.prototype.getEdgeCount = function(cell)
Returns the number of distinct edges connected to the given cell.
mxParallelEdgeLayout.prototype.getEdgeId = function(edge)
Returns a unique ID for the given edge.
mxCell.prototype.getEdgeIndex = function(edge)
Returns the index of the specified edge in edges.
mxGraph.prototype.getEdges = function(cell,
parent,
incoming,
outgoing,
includeLoops,
recurse)
Returns the incoming and/or outgoing edges for the given cell.
mxGraphModel.prototype.getEdges = function(cell,
incoming,
outgoing,
includeLoops)
Returns all distinct edges connected to this cell as a new array of mxCells.
mxHierarchicalLayout.prototype.getEdges = function(cell)
Returns the connected edges for the given cell.
mxSwimlaneLayout.prototype.getEdges = function(cell)
Returns the connected edges for the given cell.
mxGraph.prototype.getEdgesBetween = function(source,
target,
directed)
Returns the edges between the given source and target.
mxGraphModel.prototype.getEdgesBetween = function(source,
target,
directed)
Returns all edges between the given source and target pair.
mxHierarchicalLayout.prototype.getEdgesBetween = function(source,
target,
directed)
Returns the edges between the given source and target.
mxSwimlaneLayout.prototype.getEdgesBetween = function(source,
target,
directed)
Returns the edges between the given source and target.
mxEditor.prototype.getEdgeStyle = function ()
Returns a string identifying the style of new edges.
mxGraphView.prototype.getEdgeStyle = function(edge,
points,
source,
target)
Returns the edge style function to be used to render the given edge state.
mxGraph.prototype.getEdgeValidationError = function(edge,
source,
target)
Returns the validation error message to be displayed when inserting or changing an edges’ connectivity.
mxConnectionHandler.prototype.getEdgeWidth = function(valid)
Returns the width used to draw the preview edge.
mxCellEditor.prototype.getEditingCell = function ()
Returns the cell that is currently being edited or null if no cell is being edited.
mxGraph.prototype.getEditingValue = function(cell,
evt)
Returns the initial value for in-place editing.
mxCellEditor.prototype.getEditorBounds = function(state)
Returns the mxRectangle that defines the bounds of the editor.
mxWindow.prototype.getElement = function()
Returuns the outermost DOM node that makes up the window.
mxCodec.prototype.getElementById = function(id,
attr)
Returns the element with the given ID from document.
mxCellEditor.prototype.getEmptyLabelText = function (cell)
Returns the initial label value to be used of the label of the given cell is empty.
mxMouseEvent.prototype.getEvent = function()
Returns evt.
mxEventSource.prototype.getEventSource = function()
Returns eventSource.
mxGraph.prototype.getExportableCells = function(cells)
Returns the cells which may be exported in the given array of cells.
mxObjectCodec.prototype.getFieldName = function(attributename)
Returns the fieldname for the given attributename.
mxObjectCodec.prototype.getFieldTemplate = function(obj,
fieldname,
child)
Returns the template instance for the given field.
mxGraphSelectionModel.prototype.getFirstSelectableCell = function(cells)
Returns the first selectable cell in the given array of cells.
mxGraph.prototype.getFoldableCells = function(cells,
collapse)
Returns the cells which are movable in the given array of cells.
mxGraph.prototype.getFoldingImage = function(state)
Returns the mxImage used to display the collapsed state of the specified cell state.
mxKeyHandler.prototype.getFunction = function(evt)
Returns the function associated with the given key event or null if no function is associated with the given event.
getFunctionName: function(f)
Returns the name for the given function.
mxGraphAbstractHierarchyCell.prototype.getGeneralPurposeVariable = function(
   layer
)
Gets the value of temp for the specified layer
mxGraphHierarchyEdge.prototype.getGeneralPurposeVariable = function(layer)
Gets the value of temp for the specified layer
mxGraphHierarchyNode.prototype.getGeneralPurposeVariable = function(layer)
Gets the value of temp for the specified layer
mxCell.prototype.getGeometry = function()
Returns the mxGeometry that describes the geometry.
mxGraphModel.prototype.getGeometry = function(cell)
Returns the mxGeometry of the given mxCell.
mxShape.prototype.getGradientBounds = function(c,
x,
y,
w,
h)
Returns the bounding box for the gradient box for this shape.
Returns the bounding box for the gradient box for this shape.
mxGraphLayout.prototype.getGraph = function()
Returns the graph that this layout operates on.
mxLayoutManager.prototype.getGraph = function()
Returns the graph that this layout operates on.
mxSpaceManager.prototype.getGraph = function()
Returns the graph that this layout operates on.
mxSwimlaneManager.prototype.getGraph = function()
Returns the graph that this manager operates on.
mxGraph.prototype.getGraphBounds = function()
Returns the bounds of the visible graph.
mxGraphView.prototype.getGraphBounds = function()
Returns graphBounds.
mxDragSource.prototype.getGraphForEvent = function(evt)
Returns the graph for the given mouse event.
mxMouseEvent.prototype.getGraphX = function()
Returns graphX.
mxMouseEvent.prototype.getGraphY = function()
Returns graphY.
mxGraph.prototype.getGridSize = function()
Returns gridSize.
mxGraphHandler.prototype.getGuideStates = function()
Creates an array of cell states which should be used as guides.
mxGuide.prototype.getGuideTolerance = function()
Returns the tolerance for the guides.
mxEdgeHandler.prototype.getHandleFillColor = function(index)
Returns the fillcolor for the handle at the given index.
mxEdgeHandler.prototype.getHandleForEvent = function(me)
Returns the index of the handle for the given event.
mxVertexHandler.prototype.getHandleForEvent = function(me)
Returns the index of the handle for the given event.
mxSelectionCellsHandler.prototype.getHandler = function(cell)
Returns the handler for the given cell.
mxCellMarker.prototype.getHotspot = function()
Returns the hotspot.
mxCell.prototype.getId = function()
Returns the Id of the cell as a string.
mxCodec.prototype.getId = function(obj)
Returns the ID of the specified object.
mxGraph.prototype.getImage = function(state)
Returns the image URL for the given cell state.
mxImageBundle.prototype.getImage = function(key)
Returns the value for the given key.
mxLabel.prototype.getImageBounds = function(x,
y,
w,
h)
Generic background painting implementation.
mxSwimlane.prototype.getImageBounds = function(x,
y,
w,
h)
Paints the swimlane vertex shape.
mxConstraintHandler.prototype.getImageForConstraint = function(state,
constraint,
point)
Returns the tolerance to be used for intersecting connection points.
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.getImportableCells = function(cells)
Returns the cells which may be imported in the given array of cells.
mxGraph.prototype.getIncomingEdges = function(cell,
parent)
Returns the visible incoming edges for the given cell.
mxGraphModel.prototype.getIncomingEdges = function(cell)
Returns the incoming edges of the given cell without loops.
mxCell.prototype.getIndex = function(child)
Returns the index of the specified child in the child array.
mxLabel.prototype.getIndicatorBounds = function(x,
y,
w,
h)
Generic background painting implementation.
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.getIndicatorImage = function(state)
Returns the indicator image for the given cell state.
mxGraph.prototype.getIndicatorShape = function(state)
Returns the indicator shape for the given cell state.
mxGraphHandler.prototype.getInitialCellForEvent = function(me)
Hook to return initial cell for the given event.
mxCellEditor.prototype.getInitialValue = function(state,
trigger)
Gets the initial editing value for the given cell.
getInnerHtml: function()
Returns the inner HTML for the given node as a string or an empty string if no node was specified.
mxDictionary.prototype.getKeys = function()
Returns all keys as an array.
mxGraph.prototype.getLabel = function(cell)
Returns a string or DOM node that represents the label for the given cell.
mxCellRenderer.prototype.getLabelBounds = function(state)
Returns the bounds to be used to draw the label of the given state.
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.
mxCellRenderer.prototype.getLabelValue = function(state)
Returns the value to be used for the label.
mxLayoutManager.prototype.getLayout = function(parent)
Returns the layout to be executed for the given graph and parent.
getMainEvent: function(e)
Returns the touch or mouse event that contains the mouse coordinates.
Returns the spacing as an mxPoint.
mxCellMarker.prototype.getMarkedState = function()
Returns the markedState.
mxCellMarker.prototype.getMarkerColor = function(evt,
state,
isValid)
Returns the valid- or invalidColor depending on the value of isValid.
mxGraph.prototype.getMaximumGraphBounds = function()
Returns the bounds inside which the diagram should be kept as an mxRectangle.
mxCellEditor.prototype.getMinimumSize = function(state)
Returns the minimum width and height for editing the given state.
mxWindow.prototype.getMinimumSize = function()
Returns an mxRectangle that specifies the size for the minimized window.
mxGraph.prototype.getModel = function()
Returns the mxGraphModel that contains the cells.
mxHierarchicalLayout.prototype.getModel = function()
Returns the internal mxGraphHierarchyModel for this layout algorithm.
mxSwimlaneLayout.prototype.getModel = function()
Returns the internal mxSwimlaneModel for this layout algorithm.
mxGraph.prototype.getMovableCells = function(cells)
Returns the cells which are movable in the given array of cells.
mxEventObject.prototype.getName = function()
Returns name.
mxObjectCodec.prototype.getName = function()
Returns the name used for the nodenames and lookup of the codec when classes are encoded and nodes are decoded.
getName: function(value)
Returns the name for the given value.
mxGraphModel.prototype.getNearestCommonAncestor = function(cell1,
cell2)
Returns the nearest common ancestor for the specified cells.
mxGraphAbstractHierarchyCell.prototype.getNextLayerConnectedCells = function(
   layer
)
Returns the cells this cell connects to on the next layer up
mxGraphHierarchyEdge.prototype.getNextLayerConnectedCells = function(layer)
Returns the cells this cell connects to on the next layer up
mxGraphHierarchyNode.prototype.getNextLayerConnectedCells = function(layer)
Returns the cells this cell connects to on the next layer up
mxGraphView.prototype.getNextPoint = function(edge,
opposite,
source)
Returns the nearest point in the list of absolute points or the center of the opposite terminal.
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.
mxCodec.prototype.getObject = function(id)
Returns the decoded object for the element with the specified ID in document.
getOffset: function(container,
scrollOffset)
Returns the offset for the specified container as an mxPoint.
mxGraph.prototype.getOpposites = function(edges,
terminal,
sources,
targets)
Returns all distinct visible opposite cells for the specified terminal on the given edges.
mxGraphModel.prototype.getOpposites = function(edges,
terminal,
sources,
targets)
Returns all opposite vertices wrt terminal for the given edges, only returning sources and/or targets as specified.
mxGraphModel.prototype.getOrigin = function(cell)
Returns the absolute, accumulated origin for the children inside the given parent as an mxPoint.
mxMorphing.prototype.getOriginForCell = function(cell)
Returns the top, left corner of the given cell.
getOuterHtml: function()
Returns the outer HTML for the given node as a string or an empty string if no node was specified.
mxGraph.prototype.getOutgoingEdges = function(cell,
parent)
Returns the visible outgoing edges for the given cell.
mxGraphModel.prototype.getOutgoingEdges = function(cell)
Returns the outgoing edges of the given cell without loops.
mxOutline.prototype.getOutlineOffset = function(scale)
Returns the offset for drawing the outline graph.
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.
mxGraphView.prototype.getOverlayPane = function()
Returns the DOM node that represents the topmost drawing layer.
mxCell.prototype.getParent = function()
Returns the cell’s parent.
mxGraphModel.prototype.getParent = function(cell)
Returns the parent of the given cell.
mxGraphLayout.prototype.getParentOffset = function(parent)
Determines the offset of the given parent to the parent of the layout
getParentPath: function(path)
Returns the path for the parent of the cell represented by the given path.
mxGraphModel.prototype.getParents = function(cells)
Returns an array that represents the set (no duplicates) of all parents for the given array of cells.
mxStackLayout.prototype.getParentSize = function(parent)
Returns the size for the parent container or the size of the graph container if the parent is a layer or the root of the model.
mxCellState.prototype.getPerimeterBounds = function (border,
bounds)
Returns the mxRectangle that should be used as the perimeter of the cell.
mxGraphView.prototype.getPerimeterBounds = function(terminal,
border)
Returns the perimeter bounds for the given terminal, edge pair as an mxRectangle.
mxGraphView.prototype.getPerimeterFunction = function(state)
Returns the perimeter function for the given state.
mxGraphView.prototype.getPerimeterPoint = function(terminal,
next,
orthogonal,
border)
Returns an mxPoint that defines the location of the intersection point between the perimeter and the line between the center of the shape and the given point.
mxGraphView.prototype.getPoint = function(state,
geometry)
Returns the absolute point on the edge for the given relative mxGeometry as an mxPoint.
mxRectangle.prototype.getPoint = function()
Returns the top, left corner as a new mxPoint.
mxEdgeHandler.prototype.getPointForEvent = function(me)
Returns the point for the given event.
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.getPreferredPageSize = function(bounds,
width,
height)
Returns the preferred size of the background page if preferPageSize is true.
mxGraph.prototype.getPreferredSizeForCell = function(cell)
Returns the preferred width and height of the given mxCell as an mxRectangle.
Returns a pretty printed string that represents the XML tree for the given node.
mxGraphHandler.prototype.getPreviewBounds = function(cells)
Returns the mxRectangle used as the preview bounds for moving the given cells.
mxEdgeSegmentHandler.prototype.getPreviewPoints = function(point)
Updates the given preview state taking into account the state of the constraint handler.
mxEdgeHandler.prototype.getPreviewPoints = function(point)
Updates the given preview state taking into account the state of the constraint handler.
mxEdgeHandler.prototype.getPreviewTerminalState = function(me)
Updates the given preview state taking into account the state of the constraint handler.
mxGraphAbstractHierarchyCell.prototype.getPreviousLayerConnectedCells = function(
   layer
)
Returns the cells this cell connects to on the next layer down
mxGraphHierarchyEdge.prototype.getPreviousLayerConnectedCells = function(layer)
Returns the cells this cell connects to on the next layer down
mxGraphHierarchyNode.prototype.getPreviousLayerConnectedCells = function(layer)
Returns the cells this cell connects to on the next layer down
mxEventObject.prototype.getProperties = function()
Returns properties.
mxEventObject.prototype.getProperty = function(key)
Returns the property for the given key.
mxCircleLayout.prototype.getRadius = function(count,
max)
Returns the radius to be used for the given vertex count.
mxGraphHierarchyNode.prototype.getRankValue = function(layer)
Returns the integer value of the layer that this node resides in
mxGraphView.prototype.getRelativePoint = function(edgeState,
x,
y)
Gets the relative point that describes the given, absolute label position for the given edge state.
mxGraph.prototype.getRemovedCellsForChanges = function(changes)
Returns the cells that have been removed from the model.
mxGraphModel.prototype.getRoot = function(cell)
Returns the root of the model or the topmost parent of the given cell.
mxPrintPreview.prototype.getRoot = function()
Returns the root cell for painting the graph.
mxEditor.prototype.getRootTitle = function ()
Returns the string value of the root cell in mxGraph.model.
getRotatedPoint: function(pt,
cos,
sin,
c)
Rotates the given point by the given cos and sin.
mxPolyline.prototype.getRotation = function()
Returns 0.
mxShape.prototype.getRotation = function()
Returns the rotation from the style.
mxGraphView.prototype.getRoutingCenterX = function (state)
Returns the x-coordinate of the center point for automatic routing.
mxGraphView.prototype.getRoutingCenterY = function (state)
Returns the y-coordinate of the center point for automatic routing.
mxGraphView.prototype.getScale = function()
Returns the scale.
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.
getScrollOrigin: function(node)
Returns the top, left corner of the viewrect as an mxPoint.
mxVertexHandler.prototype.getSelectionBounds = function(state)
Returns the mxRectangle that defines the bounds of the selection border.
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.getSelectionCellsForChanges = function(changes)
Returns the cells to be selected for the given array of changes.
mxEdgeHandler.prototype.getSelectionColor = function()
Returns mxConstants.EDGE_SELECTION_COLOR.
mxVertexHandler.prototype.getSelectionColor = function()
Returns mxConstants.VERTEX_SELECTION_COLOR.
mxGraph.prototype.getSelectionCount = function()
Returns the number of selected cells.
mxGraph.prototype.getSelectionModel = function()
Returns the mxGraphSelectionModel that contains the selection.
mxEdgeHandler.prototype.getSelectionPoints = function(state)
Returns the list of points that defines the selection stroke.
mxEdgeHandler.prototype.getSelectionStrokeWidth = function()
Returns mxConstants.EDGE_SELECTION_STROKEWIDTH.
mxVertexHandler.prototype.getSelectionStrokeWidth = function()
Returns mxConstants.VERTEX_SELECTION_STROKEWIDTH.
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.
mxPolyline.prototype.getShapeRotation = function()
Returns 0.
mxShape.prototype.getShapeRotation = function()
Returns the actual rotation of the shape.
mxText.prototype.getShapeRotation = function()
Returns 0 to avoid using rotation in the canvas via updateTransform.
mxCellRenderer.prototype.getShapesForState = function(state)
Returns the mxShapes for the given cell state in the order in which they should appear in the DOM.
getSizeForString: function(text,
fontSize,
fontFamily,
textWidth)
Returns an mxRectangle with the size (width and height in pixels) of the given string.
mxEdgeHandler.prototype.getSnapToTerminalTolerance = function()
Returns the tolerance for the guides.
getSource: function(evt)
Returns the event’s target or srcElement depending on the browser.
mxMouseEvent.prototype.getSource = function()
Returns the target DOM element using mxEvent.getSource for evt.
mxOutline.prototype.getSourceContainerSize = function()
Returns the size of the source container.
mxConnectionHandler.prototype.getSourcePerimeterPoint = function(state,
next,
me)
Hook to update the icon position(s) based on a mouseOver event.
mxText.prototype.getSpacing = function()
Returns the spacing as an mxPoint.
getSpecialBundle: function(basename,
lan)
Hook for subclassers to return the URL for the special bundle.
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.
mxCellMarker.prototype.getState = function(me)
Uses getCell, getStateToMark and intersects to return the mxCellState for the given mxMouseEvent.
mxGraphView.prototype.getState = function(cell,
create)
Returns the mxCellState for the given cell.
mxMouseEvent.prototype.getState = function()
Returns state.
Returns the state for the given touch event.
mxGraphView.prototype.getStates = function()
Returns states.
mxCellMarker.prototype.getStateToMark = function(state)
Returns the mxCellState to be marked for the given mxCellState under the mouse.
mxXmlRequest.prototype.getStatus = function()
Returns the status as a number, eg.
getStencil: function(name)
Returns the mxStencil for the given name.
codec.getStringValue = function(key,
value)
Returns the string for encoding the given value.
mxCell.prototype.getStyle = function()
Returns a string that describes the style.
mxGraphModel.prototype.getStyle = function(cell)
Returns the style of the given mxCell.
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.
mxGraph.prototype.getStylesheet = function()
Returns the mxStylesheet that defines the style.
mxSvgCanvas2D.prototype.getSvgGradient = function(start,
end,
alpha1,
alpha2,
direction)
Private helper function to create SVG elements
mxImageShape.prototype.getSvgScreenOffset = function()
Disables offset in IE9 for crisper image output.
mxShape.prototype.getSvgScreenOffset = function()
Returns 0, or 0.5 if strokewidth % 2 == 1.
mxText.prototype.getSvgScreenOffset = function()
Disables offset in IE9 for crisper image output.
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.
mxForm.prototype.getTable = function()
Returns the table that contains this form.
mxConnectionHandler.prototype.getTargetPerimeterPoint = function(state,
me)
Returns the perimeter point for the given target state.
mxEditor.prototype.getTemplate = function (name)
Returns the template for the given name.
mxCell.prototype.getTerminal = function(source)
Returns the source or target terminal.
mxGraphModel.prototype.getTerminal = function(edge,
isSource)
Returns the source or target mxCell of the given edge depending on the value of the boolean parameter.
mxGraph.prototype.getTerminalForPort = function(cell,
source)
Returns the terminal to be used for a given port.
mxGeometry.prototype.getTerminalPoint = function(isSource)
Returns the mxPoint representing the source or target point of this edge.
mxGraphView.prototype.getTerminalPort = function(state,
terminal,
source)
Returns an mxCellState that represents the source or target terminal or port for the given edge.
mxXmlRequest.prototype.getText = function()
Returns the response as a string.
getTextContent: function(node)
Returns the text content of the specified node.
mxShape.prototype.getTextRotation = function()
Returns the rotation for the text label.
mxText.prototype.getTextRotation = function()
Returns the rotation for the text label of the corresponding shape.
mxCellRenderer.prototype.getTextScale = function(state)
Returns the scaling used for the label of the given state
mxEditor.prototype.getTitle = function ()
Returns the string value for the current root of the diagram.
mxConstraintHandler.prototype.getTolerance = function()
Returns the tolerance to be used for intersecting connection points.
mxGraph.prototype.getTolerance = function()
Returns tolerance.
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.
mxElbowEdgeHandler.prototype.getTooltipForNode = function(node)
Returns the tooltip for the given node.
mxGraphModel.prototype.getTopmostCells = function(cells)
Returns the topmost cells of the hierarchy in an array that contains no descendants for each mxCell that it contains.
mxGraphView.prototype.getTranslate = function()
Returns the translate.
mxOutline.prototype.getTranslateForEvent = function(me)
Gets the translate for the given mouse event.
mxGraph.prototype.getTranslateForRoot = function(cell)
Returns the translation to be used if the given cell is the root cell as an mxPoint.
mxEditor.prototype.getUrlImage = function ()
Returns the URL to create the image with.
mxEditor.prototype.getUrlPost = function ()
Returns the URL to post the diagram to.
mxCellMarker.prototype.getValidState = function()
Returns the validState.
mxCell.prototype.getValue = function()
Returns the user object of the cell.
mxGraphModel.prototype.getValue = function(cell)
Returns the user object of the given mxCell using mxCell.getValue.
getValue: function(name)
Returns the value associated with the given name.
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.
mxDictionary.prototype.getValues = function()
Returns all values as an array.
mxGraphLayout.prototype.getVertexBounds = function(cell)
Returns an mxRectangle that defines the bounds of the given cell or the bounding box if useBoundingBox is true.
mxGraph.prototype.getVerticalAlign = function(state)
Returns the vertical alignment for the given cell state.
mxGraph.prototype.getView = function()
Returns the mxGraphView that contains the mxCellStates.
getViewXml: function(graph,
scale,
cells,
x0,
y0)
mxCellState.prototype.getVisibleTerminal = function (source)
Returns the visible source or target terminal cell.
mxGraphView.prototype.getVisibleTerminal = function(edge,
source)
Returns the nearest ancestor terminal that is visible.
mxHierarchicalLayout.prototype.getVisibleTerminal = function(edge,
source)
Helper function to return visible terminal for edge allowing for ports
mxSwimlaneLayout.prototype.getVisibleTerminal = function(edge,
source)
Helper function to return visible terminal for edge allowing for ports
mxCellState.prototype.getVisibleTerminalState = function (source)
Returns the visible source or target terminal state.
Returns a VML dash pattern for the current dashPattern.
mxPrintPreview.prototype.getWindow = function()
Returns wnd.
mxGraphAbstractHierarchyCell.prototype.getX = function(layer)
Gets the value of x on the specified layer
mxMouseEvent.prototype.getX = function()
Returns evt.clientX.
mxWindow.prototype.getX = function()
Returns the current position on the x-axis.
getXml: function(node,
linefeed)
Returns the XML content of the specified node.
mxXmlRequest.prototype.getXml = function()
Returns the response as an XML document.
mxMouseEvent.prototype.getY = function()
Returns evt.clientY.
mxWindow.prototype.getY = function()
Returns the current position on the y-axis.
mxDragSource.prototype.graphContainsEvent = function(graph,
evt)
Returns true if the given graph contains the given event.
mxAutoSaveManager.prototype.graphModelChanged = function(changes)
Invoked when the graph model has changed.
mxGraph.prototype.graphModelChanged = function(changes)
Called when the graph model changes.
Renderhint to be used for the outline graph.
mxEditor.prototype.groupCells = function ()
Invokes createGroup to create a new group cell and the invokes mxGraph.groupCells, using the grid size of the graph as the spacing in the group’s content area.
mxGraph.prototype.groupCells = function(group,
border,
cells)
Adds the cells into the given group.
mxRectangle.prototype.grow = function(amount)
Grows the rectangle by the given amount, that is, this method subtracts the given amount from the x- and y-coordinates and adds twice the amount to the width and height.
diff --git a/docs/js-api/index/Functions8.html b/docs/js-api/index/Functions8.html index d338cdbe9..6c347d32c 100644 --- a/docs/js-api/index/Functions8.html +++ b/docs/js-api/index/Functions8.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
H
 handlingResize, mxDivResizer
 hasScrollbars, mxUtils
 hasValidState, mxCellMarker
 hide
 hideMenu, mxPopupMenu
 hideProperties, mxEditor
 hideSizers, mxVertexHandler
 hideSubmenu, mxPopupMenu
 hideTooltip, mxTooltipHandler
 hitsSwimlaneContent, mxGraph
 home, mxGraph
 horizontalLayout, mxCompactTreeLayout
 htmlEntities, 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
H
 handlingResize, mxDivResizer
 hasScrollbars, mxUtils
 hasValidState, mxCellMarker
 hide
 hideMenu, mxPopupMenu
 hideProperties, mxEditor
 hideSizers, mxVertexHandler
 hideSubmenu, mxPopupMenu
 hideTooltip, mxTooltipHandler
 hitsSwimlaneContent, mxGraph
 home, mxGraph
 horizontalLayout, mxCompactTreeLayout
 htmlEntities, mxUtils
-
Boolean specifying if the width should be updated.
hasScrollbars: function(node)
Returns true if the overflow CSS property of the given node is either scroll or auto.
mxCellMarker.prototype.hasValidState = function()
Returns true if validState is not null.
mxCellHighlight.prototype.hide = function()
Resets the state of the cell marker.
mxGuide.prototype.hide = function()
Hides all current guides.
mxTooltipHandler.prototype.hide = function()
Hides the tooltip and resets the timer.
mxWindow.prototype.hide = function()
Hides the window.
mxPopupMenu.prototype.hideMenu = function()
Removes the menu and all submenus.
mxEditor.prototype.hideProperties = function ()
Hides the properties dialog.
mxVertexHandler.prototype.hideSizers = function()
Hides all sizers except.
mxPopupMenu.prototype.hideSubmenu = function(parent)
Removes all submenus inside the given parent.
mxTooltipHandler.prototype.hideTooltip = function()
Hides the tooltip.
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.home = function()
Uses the root of the model as the root of the displayed cell hierarchy and selects the previous root.
mxCompactTreeLayout.prototype.horizontalLayout = function(node,
x0,
y0,
bounds)
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.
+
Boolean specifying if the width should be updated.
hasScrollbars: function(node)
Returns true if the overflow CSS property of the given node is either scroll or auto.
mxCellMarker.prototype.hasValidState = function()
Returns true if validState is not null.
mxCellHighlight.prototype.hide = function()
Resets the state of the cell marker.
mxGuide.prototype.hide = function()
Hides all current guides.
mxTooltipHandler.prototype.hide = function()
Hides the tooltip and resets the timer.
mxWindow.prototype.hide = function()
Hides the window.
mxPopupMenu.prototype.hideMenu = function()
Removes the menu and all submenus.
mxEditor.prototype.hideProperties = function ()
Hides the properties dialog.
mxVertexHandler.prototype.hideSizers = function()
Hides all sizers except.
mxPopupMenu.prototype.hideSubmenu = function(parent)
Removes all submenus inside the given parent.
mxTooltipHandler.prototype.hideTooltip = function()
Hides the tooltip.
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.home = function()
Uses the root of the model as the root of the displayed cell hierarchy and selects the previous root.
mxCompactTreeLayout.prototype.horizontalLayout = function(node,
x0,
y0,
bounds)
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.
diff --git a/docs/js-api/index/Functions9.html b/docs/js-api/index/Functions9.html index e5f020618..38f56409e 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
 include, mxClient
 indexOf, mxUtils
 indexOfStylename, mxUtils
 info, mxLog
 init
 initBend, mxEdgeHandler
 initControl, mxCellRenderer
 initialCoords, mxCoordinateAssignment
 initializeLabel, mxCellRenderer
 initializeOverlay, mxCellRenderer
 initializeShape, mxCellRenderer
 initialRank
 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
 isAddEnabled, mxSwimlaneManager
 isAddPointEvent, mxEdgeHandler
 isAllowDanglingEdges, mxGraph
 isAllowEval, mxGraphView
 isAllowLoops, mxGraph
 isAllowOverlapParent, mxGraph
 isAltDown, mxEvent
 isAncestor
 isAncestorNode, mxUtils
 isAutoSizeCell, mxGraph
 isAutoSizeCells, mxGraph
 isBinary, mxXmlRequest
 isBooleanAttribute, mxObjectCodec
 isBrowserSupported, mxClient
 isBubbling, mxLayoutManager
 isBundleSupported, mxResources
 isCellBendable, mxGraph
 isCellCloneable, mxGraph
 isCellCodec
 isCellCollapsed, mxGraph
 isCellConnectable, mxGraph
 isCellDeletable, mxGraph
 isCellDisconnectable, mxGraph
 isCellEditable, mxGraph
 isCellFoldable, mxGraph
 isCellHorizontal, mxSwimlaneManager
 isCellIgnored, mxSpaceManager
 isCellLocked, mxGraph
 isCellMovable, mxGraph
 isCellResizable, mxGraph
 isCellRotatable, mxGraph
 isCellsBendable, mxGraph
 isCellsCloneable, mxGraph
 isCellsDeletable, mxGraph
 isCellsDisconnectable, mxGraph
 isCellsEditable, mxGraph
 isCellSelectable, mxGraph
 isCellSelected, mxGraph
 isCellShiftable, mxSpaceManager
 isCellsLocked, mxGraph
 isCellsMovable, mxGraph
 isCellsResizable, mxGraph
 isCellsSelectable, mxGraph
 isCellVisible, mxGraph
 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
 isDelayedSelection, mxGraphHandler
 isDisconnectOnMove, mxGraph
 isDropEnabled, mxGraph
 isEdge
 isEdgeIgnored, mxGraphLayout
 isEdgeLabelsMovable, mxGraph
 isEdgeValid, mxGraph
 isEditing, mxGraph
 isEmpty
 isEnabled
 isEnabledForEvent, mxGuide
 isEnterStopsCellEditing, mxGraph
 isEscapeEnabled, mxGraph
 isEventIgnored
 isEventsEnabled, mxEventSource
 isEventSource, mxCellEditor
 isEventSourceIgnored, mxGraph
 isExcluded
 isExtendParent, mxGraph
 isExtendParents
 isExtendParentsOnAdd, mxGraph
 isForcePanningEvent, mxPanningHandler
 isForceRubberbandEvent, mxRubberband
 isGraphEvent, mxKeyHandler
 isGridEnabled
 isGridEnabledEvent, mxGraph
 isGuidesEnabled, mxDragSource
 isHandleEnabled, mxEdgeHandler
 isHandleVisible, mxEdgeHandler
 isHideLabel, mxCellEditor
 isHideOnHover, mxTooltipHandler
 isHorizontal
 isHotspotEnabled, mxCellMarker
 isHtmlAllowed
 isHtmlLabel, mxGraph
 isHtmlLabels, mxGraph
 isImmediateConnectSource, mxConnectionHandler
 isInvokesStopCellEditing, mxGraph
 isLabelClipped, mxGraph
 isLabelEvent, mxCellRenderer
 isLabelMovable, mxGraph
 isLayer, mxGraphModel
 isLeftMouseButton, mxEvent
 isLivePreviewBorder, mxVertexHandler
 isLoop, mxGraph
 isMenuShowing, mxPopupMenu
 isMetaDown, mxEvent
 isMiddleMouseButton, mxEvent
 isModified
 isMouseEvent, mxEvent
 isMoveEnabled, mxGraphHandler
 isMoveIconToFrontForState, mxConnectionHandler
 isMultigraph, mxGraph
 isNaN, mxUtils
 isNode, mxUtils
 isNumeric, mxUtils
 isNumericAttribute, mxObjectCodec
 isOrthogonal, mxGraph
 isPaintBoundsInverted
 isPanningEnabled, mxPanningHandler
 isPanningTrigger, mxPanningHandler
 isParseVml
 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
 isRunning, mxAnimation
 isScrollEvent, mxGraphView
 isSelected, mxGraphSelectionModel
 isSelectEnabled, mxGraphHandler
 isSelectionDashed
 isSelectionEmpty, mxGraph
 isSelectOnPopup, mxPopupMenuHandler
 isShapeEvent, mxCellRenderer
 isShiftDown, mxEvent
 isShiftDownwards, mxSpaceManager
 isShiftRightwards, mxSpaceManager
 isSignificant, mxUndoableEdit
 isSingleSelection, mxGraphSelectionModel
 isSizerVisible, mxVertexHandler
 isSource, mxMouseEvent
 isSplitEnabled, mxGraph
 isSplitTarget, mxGraph
 isStartEvent, mxConnectionHandler
 isStateIgnored, mxConstraintHandler
 isStopEvent, mxConnectionHandler
 isSwimlane, mxGraph
 isSwimlaneIgnored, mxSwimlaneManager
 isSwimlaneNesting, mxGraph
 isSwimlaneSelectionEnabled, mxGraph
 isSyntheticEventIgnored, mxGraph
 isTerminalPointMovable, mxGraph
 isToggleEvent, mxGraph
 isTouchEvent, mxEvent
 isValidAncestor, mxGraph
 isValidConnection, mxGraph
 isValidDropTarget, mxGraph
 isValidResponse, mxSession
 isValidRoot, mxGraph
 isValidSource
 isValidState, mxCellMarker
 isValidTarget
 isVertex
 isVertexIgnored
 isVertexLabelsMovable, mxGraph
 isVertexMovable, mxGraphLayout
 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
 include, mxClient
 indexOf, mxUtils
 indexOfStylename, mxUtils
 info, mxLog
 init
 initBend, mxEdgeHandler
 initControl, mxCellRenderer
 initialCoords, mxCoordinateAssignment
 initializeLabel, mxCellRenderer
 initializeOverlay, mxCellRenderer
 initializeShape, mxCellRenderer
 initialRank
 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
 isAddEnabled, mxSwimlaneManager
 isAddPointEvent, mxEdgeHandler
 isAllowDanglingEdges, mxGraph
 isAllowEval, mxGraphView
 isAllowLoops, mxGraph
 isAllowOverlapParent, mxGraph
 isAltDown, mxEvent
 isAncestor
 isAncestorNode, mxUtils
 isAutoSizeCell, mxGraph
 isAutoSizeCells, mxGraph
 isBinary, mxXmlRequest
 isBooleanAttribute, mxObjectCodec
 isBrowserSupported, mxClient
 isBubbling, mxLayoutManager
 isBundleSupported, mxResources
 isCellBendable, mxGraph
 isCellCloneable, mxGraph
 isCellCodec
 isCellCollapsed, mxGraph
 isCellConnectable, mxGraph
 isCellDeletable, mxGraph
 isCellDisconnectable, mxGraph
 isCellEditable, mxGraph
 isCellFoldable, mxGraph
 isCellHorizontal, mxSwimlaneManager
 isCellIgnored, mxSpaceManager
 isCellLocked, mxGraph
 isCellMovable, mxGraph
 isCellResizable, mxGraph
 isCellRotatable, mxGraph
 isCellsBendable, mxGraph
 isCellsCloneable, mxGraph
 isCellsDeletable, mxGraph
 isCellsDisconnectable, mxGraph
 isCellsEditable, mxGraph
 isCellSelectable, mxGraph
 isCellSelected, mxGraph
 isCellShiftable, mxSpaceManager
 isCellsLocked, mxGraph
 isCellsMovable, mxGraph
 isCellsResizable, mxGraph
 isCellsSelectable, mxGraph
 isCellVisible, mxGraph
 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
 isDelayedSelection, mxGraphHandler
 isDisconnectOnMove, mxGraph
 isDropEnabled, mxGraph
 isEdge
 isEdgeIgnored, mxGraphLayout
 isEdgeLabelsMovable, mxGraph
 isEdgeValid, mxGraph
 isEditing, mxGraph
 isEmpty
 isEnabled
 isEnabledForEvent, mxGuide
 isEnterStopsCellEditing, mxGraph
 isEscapeEnabled, mxGraph
 isEventIgnored
 isEventsEnabled, mxEventSource
 isEventSource, mxCellEditor
 isEventSourceIgnored, mxGraph
 isExcluded
 isExtendParent, mxGraph
 isExtendParents
 isExtendParentsOnAdd, mxGraph
 isForcePanningEvent, mxPanningHandler
 isForceRubberbandEvent, mxRubberband
 isGraphEvent, mxKeyHandler
 isGridEnabled
 isGridEnabledEvent, mxGraph
 isGuidesEnabled, mxDragSource
 isHandleEnabled, mxEdgeHandler
 isHandleVisible, mxEdgeHandler
 isHideLabel, mxCellEditor
 isHideOnHover, mxTooltipHandler
 isHorizontal
 isHotspotEnabled, mxCellMarker
 isHtmlAllowed
 isHtmlLabel, mxGraph
 isHtmlLabels, mxGraph
 isImmediateConnectSource, mxConnectionHandler
 isInvokesStopCellEditing, mxGraph
 isLabelClipped, mxGraph
 isLabelEvent, mxCellRenderer
 isLabelMovable, mxGraph
 isLayer, mxGraphModel
 isLeftMouseButton, mxEvent
 isLivePreviewBorder, mxVertexHandler
 isLoop, mxGraph
 isMenuShowing, mxPopupMenu
 isMetaDown, mxEvent
 isMiddleMouseButton, mxEvent
 isModified
 isMouseEvent, mxEvent
 isMoveEnabled, mxGraphHandler
 isMoveIconToFrontForState, mxConnectionHandler
 isMultigraph, mxGraph
 isNaN, mxUtils
 isNode, mxUtils
 isNumeric, mxUtils
 isNumericAttribute, mxObjectCodec
 isOrthogonal, mxGraph
 isPaintBoundsInverted
 isPanningEnabled, mxPanningHandler
 isPanningTrigger, mxPanningHandler
 isParseVml
 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
 isRunning, mxAnimation
 isScrollEvent, mxGraphView
 isSelected, mxGraphSelectionModel
 isSelectEnabled, mxGraphHandler
 isSelectionDashed
 isSelectionEmpty, mxGraph
 isSelectOnPopup, mxPopupMenuHandler
 isSelectText, mxCellEditor
 isShapeEvent, mxCellRenderer
 isShiftDown, mxEvent
 isShiftDownwards, mxSpaceManager
 isShiftRightwards, mxSpaceManager
 isSignificant, mxUndoableEdit
 isSingleSelection, mxGraphSelectionModel
 isSizerVisible, mxVertexHandler
 isSource, mxMouseEvent
 isSplitEnabled, mxGraph
 isSplitTarget, mxGraph
 isStartEvent, mxConnectionHandler
 isStateIgnored, mxConstraintHandler
 isStopEvent, mxConnectionHandler
 isSwimlane, mxGraph
 isSwimlaneIgnored, mxSwimlaneManager
 isSwimlaneNesting, mxGraph
 isSwimlaneSelectionEnabled, mxGraph
 isSyntheticEventIgnored, mxGraph
 isTerminalPointMovable, mxGraph
 isToggleEvent, mxGraph
 isTouchEvent, mxEvent
 isValidAncestor, mxGraph
 isValidConnection, mxGraph
 isValidDropTarget, mxGraph
 isValidResponse, mxSession
 isValidRoot, mxGraph
 isValidSource
 isValidState, mxCellMarker
 isValidTarget
 isVertex
 isVertexIgnored
 isVertexLabelsMovable, mxGraph
 isVertexMovable, mxGraphLayout
 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)
Clones and inserts the given cells into the graph using the move method and returns the inserted cells.
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 contains 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.
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)
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)
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.
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.
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.
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.
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)
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.
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.
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.
Hook for subclassers to disable support for a given language.
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.
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.
mxSpaceManager.prototype.isCellIgnored = function(cell)
Sets the graph that the layouts operate on.
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.
mxSpaceManager.prototype.isCellShiftable = function(cell)
Sets the graph that the layouts operate on.
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.
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()
Returns createTarget.
mxGraphHandler.prototype.isDelayedSelection = function(cell)
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.
mxSpaceManager.prototype.isEnabled = function()
Returns true if events are handled.
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.
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.
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 given mouse down event should be ignored.
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.
mxSpaceManager.prototype.isExtendParents = function()
Returns true if events are handled.
mxGraph.prototype.isExtendParentsOnAdd = 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.
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.
mxConnectionHandler.prototype.isImmediateConnectSource = function(state)
Returns true if a tap on the given source state should immediately start connecting.
mxGraph.prototype.isInvokesStopCellEditing = function()
Returns invokesStopCellEditing.
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.
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.
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.
mxCellEditor.prototype.isModified = function()
Returns modified.
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.
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.
mxGraph.prototype.isOrthogonal = function(edge)
Returns true if perimeter points should be computed such that the resulting edge has only horizontal or vertical segments.
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.
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()
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.
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.
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.
mxSpaceManager.prototype.isShiftDownwards = function()
Returns true if events are handled.
mxSpaceManager.prototype.isShiftRightwards = function()
Returns true if events are handled.
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.
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.
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.
mxSession.prototype.isValidResponse = function(req)
Returns true if the response data in the given mxXmlRequest is valid.
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)
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.
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.
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)
Clones and inserts the given cells into the graph using the move method and returns the inserted cells.
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 contains 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.
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)
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)
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.
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.
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.
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)
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.
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.
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.
Hook for subclassers to disable support for a given language.
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.
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.
mxSpaceManager.prototype.isCellIgnored = function(cell)
Sets the graph that the layouts operate on.
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.
mxSpaceManager.prototype.isCellShiftable = function(cell)
Sets the graph that the layouts operate on.
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.
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()
Returns createTarget.
mxGraphHandler.prototype.isDelayedSelection = function(cell)
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.
mxSpaceManager.prototype.isEnabled = function()
Returns true if events are handled.
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.
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.
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 given mouse down event should be ignored.
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.
mxSpaceManager.prototype.isExtendParents = function()
Returns true if events are handled.
mxGraph.prototype.isExtendParentsOnAdd = 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.
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.
mxConnectionHandler.prototype.isImmediateConnectSource = function(state)
Returns true if a tap on the given source state should immediately start connecting.
mxGraph.prototype.isInvokesStopCellEditing = function()
Returns invokesStopCellEditing.
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.
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.
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.
mxCellEditor.prototype.isModified = function()
Returns modified.
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.
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.
mxGraph.prototype.isOrthogonal = function(edge)
Returns true if perimeter points should be computed such that the resulting edge has only horizontal or vertical segments.
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.
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()
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.
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.
mxSpaceManager.prototype.isShiftDownwards = function()
Returns true if events are handled.
mxSpaceManager.prototype.isShiftRightwards = function()
Returns true if events are handled.
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.
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.
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.
mxSession.prototype.isValidResponse = function(req)
Returns true if the response data in the given mxXmlRequest is valid.
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)
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.
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.
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/General.html b/docs/js-api/index/General.html index 4f0fc531c..b637cb8ac 100644 --- a/docs/js-api/index/General.html +++ b/docs/js-api/index/General.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
A
 ABSOLUTE_LINE_HEIGHT, mxConstants
 absoluteOffset, mxCellState
 absolutePoints, mxCellState
 actions, mxEditor
 Actions and Options, mxEditor
 activate, mxWindow
 ACTIVATE
 add
 ADD
 ADD_CELLS
 ADD_OVERLAY
 ADD_VERTEX
 addAction
 addActionCombo, mxDefaultToolbar
 addActionOption, mxDefaultToolbar
 addActions, mxEditor
 addAlias, mxCodecRegistry
 addAllEdges, mxGraph
 addBreak, mxToolbar
 addButton, mxLog
 addButtons, mxForm
 addCell
 addCellOverlay, mxGraph
 addCells
 addCheckbox, mxForm
 addCombo
 addEdge, mxGraph
 addEdges, mxCellStatePreview
 addEnabled
 addField, mxForm
 addGestureListeners, mxEvent
 addGraphFragment, mxPrintPreview
 addImageBundle, mxGraph
 addItem
 addItems, mxDefaultPopupMenu
 addLine, mxToolbar
 addListener
 addMarker, mxMarker
 addMode
 addMouseListener, mxGraph
 addNode
 addObjectValue, mxObjectCodec
 addOp, mxAbstractCanvas2D
 addOption
 addPoint, mxEdgeHandler
 addPointAt, mxEdgeHandler
 addPrototype, mxDefaultToolbar
 addSelectionCell, mxGraph
 addSelectionCells, mxGraph
 addSeparator
 addStencil, mxStencilRegistry
 addStylename, mxUtils
 addSwitchMode, mxToolbar
 addTemplate, mxEditor
 addText, mxForm
 addTextarea, mxForm
 addTextBackground, mxSvgCanvas2D
 addTransparentBackgroundFilter, mxUtils
 addTransparentBackgroundRectangle, mxShape
 addVertex, mxEditor
 addWaypoint, mxConnectionHandler
 adjustParents
 AFTER_ADD_VERTEX
 afterDecode
 afterEncode
 alert, mxUtils
 aliases, mxCodecRegistry
 align, mxCellOverlay
 ALIGN_BOTTOM, mxConstants
 ALIGN_CELLS
 ALIGN_CENTER, mxConstants
 ALIGN_LEFT, mxConstants
 ALIGN_MIDDLE, mxConstants
 ALIGN_RIGHT, mxConstants
 ALIGN_TOP, mxConstants
 alignCells, mxGraph
 alignRanks, mxCompactTreeLayout
 allowAutoPanning, mxGraph
 allowDanglingEdges, mxGraph
 allowedToRun, mxFastOrganicLayout
 allowEval, mxGraphView
 allowHandleBoundsCheck
 allowLoops, mxGraph
 allowNegativeCoordinates, mxGraph
 alreadyConnectedResource, mxGraph
 alt, mxImageBundle
 alternateBounds, mxGeometry
 alternateEdgeStyle, mxGraph
 animateCell, mxMorphing
 animateChanges
 API Specification
 apply
 arcTo, mxAbstractCanvas2D
 arcToCurves, mxUtils
 arrangeGroups, mxGraphLayout
 ARROW_BLOCK, mxConstants
 ARROW_CLASSIC, mxConstants
 ARROW_DIAMOND, mxConstants
 ARROW_OPEN, mxConstants
 ARROW_OVAL, mxConstants
 ARROW_SIZE, mxConstants
 ARROW_SPACING, mxConstants
 ARROW_WIDTH, mxConstants
 askZoomResource, mxEditor
 aspect, mxStencil
 async, mxXmlRequest
 attachParent, mxCompactTreeLayout
 attr, mxMultiplicity
 Attribute Cycling, mxEditor
 augmentBoundingBox
 autoExpand, mxPopupMenu
 autoExtend, mxGraph
 Autolayout, mxEditor
 autoOrigin, mxPrintPreview
 autoSaveDelay, mxAutoSaveManager
 autoSaveThreshold, mxAutoSaveManager
 autoSaveThrottle, mxAutoSaveManager
 autoscroll, mxDragSource
 autoScroll, mxGraph
 autoSize, mxCellEditor
 autoSizeCell, mxGraph
 autoSizeCells, mxGraph
 autoSizeCellsOnAdd, mxGraph
 avoid, mxEdgeLabelLayout
+
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
A
 ABSOLUTE_LINE_HEIGHT, mxConstants
 absoluteOffset, mxCellState
 absolutePoints, mxCellState
 actions, mxEditor
 Actions and Options, mxEditor
 activate, mxWindow
 ACTIVATE
 add
 ADD
 ADD_CELLS
 ADD_OVERLAY
 ADD_VERTEX
 addAction
 addActionCombo, mxDefaultToolbar
 addActionOption, mxDefaultToolbar
 addActions, mxEditor
 addAlias, mxCodecRegistry
 addAllEdges, mxGraph
 addBreak, mxToolbar
 addButton, mxLog
 addButtons, mxForm
 addCell
 addCellOverlay, mxGraph
 addCells
 addCheckbox, mxForm
 addCombo
 addEdge, mxGraph
 addEdges, mxCellStatePreview
 addEnabled
 addField, mxForm
 addGestureListeners, mxEvent
 addGraphFragment, mxPrintPreview
 addImageBundle, mxGraph
 addItem
 addItems, mxDefaultPopupMenu
 addLine, mxToolbar
 addListener
 addMarker, mxMarker
 addMode
 addMouseListener, mxGraph
 addNode
 addObjectValue, mxObjectCodec
 addOp, mxAbstractCanvas2D
 addOption
 addPoint, mxEdgeHandler
 addPointAt, mxEdgeHandler
 addPrototype, mxDefaultToolbar
 addSelectionCell, mxGraph
 addSelectionCells, mxGraph
 addSeparator
 addStencil, mxStencilRegistry
 addStylename, mxUtils
 addSwitchMode, mxToolbar
 addTemplate, mxEditor
 addText, mxForm
 addTextarea, mxForm
 addTextBackground, mxSvgCanvas2D
 addTransparentBackgroundFilter, mxUtils
 addVertex, mxEditor
 addWaypoint, mxConnectionHandler
 adjustParents
 AFTER_ADD_VERTEX
 afterDecode
 afterEncode
 alert, mxUtils
 aliases, mxCodecRegistry
 align, mxCellOverlay
 ALIGN_BOTTOM, mxConstants
 ALIGN_CELLS
 ALIGN_CENTER, mxConstants
 ALIGN_LEFT, mxConstants
 ALIGN_MIDDLE, mxConstants
 ALIGN_RIGHT, mxConstants
 ALIGN_TOP, mxConstants
 alignCells, mxGraph
 alignRanks, mxCompactTreeLayout
 allowAutoPanning, mxGraph
 allowDanglingEdges, mxGraph
 allowedToRun, mxFastOrganicLayout
 allowEval, mxGraphView
 allowHandleBoundsCheck
 allowLoops, mxGraph
 allowNegativeCoordinates, mxGraph
 alreadyConnectedResource, mxGraph
 alt, mxImageBundle
 alternateBounds, mxGeometry
 alternateEdgeStyle, mxGraph
 animateCell, mxMorphing
 animateChanges
 API Specification
 apply
 arcTo, mxAbstractCanvas2D
 arcToCurves, mxUtils
 arrangeGroups, mxGraphLayout
 ARROW_BLOCK, mxConstants
 ARROW_CLASSIC, mxConstants
 ARROW_DIAMOND, mxConstants
 ARROW_OPEN, mxConstants
 ARROW_OVAL, mxConstants
 ARROW_SIZE, mxConstants
 ARROW_SPACING, mxConstants
 ARROW_WIDTH, mxConstants
 askZoomResource, mxEditor
 aspect, mxStencil
 async, mxXmlRequest
 attachParent, mxCompactTreeLayout
 attr, mxMultiplicity
 Attribute Cycling, mxEditor
 augmentBoundingBox
 autoExpand, mxPopupMenu
 autoExtend, mxGraph
 Autolayout, mxEditor
 autoOrigin, mxPrintPreview
 autoSaveDelay, mxAutoSaveManager
 autoSaveThreshold, mxAutoSaveManager
 autoSaveThrottle, mxAutoSaveManager
 autoscroll, mxDragSource
 autoScroll, mxGraph
 autoSize, mxCellEditor
 autoSizeCell, mxGraph
 autoSizeCells, mxGraph
 autoSizeCellsOnAdd, mxGraph
 avoid, mxEdgeLabelLayout
-
Specifies if absolute line heights should be used (px) in CSS.
mxCellState.prototype.absoluteOffset
mxPoint that holds the absolute offset.
mxCellState.prototype.absolutePoints
Holds an array of mxPoints that represent the absolute points of an edge.
mxEditor.prototype.actions
Maps from actionnames to actions, which are functions taking the editor and the cell as arguments.
mxWindow.prototype.activate = function()
Puts the window on top of all other windows.
Specifies the event name for activate.
Fires after a window is activated.
mxGraphModel.prototype.add = function(parent,
child,
index)
Adds the specified child to the parent at the given index using mxChildChange and adds the change to the current transaction.
mxRectangle.prototype.add = function(rect)
Adds the given rectangle to this rectangle.
add: function(basename,
lan)
Adds the default and current language properties file for the specified basename.
mxUndoableEdit.prototype.add = function(change)
Adds the specified change to this edit.
Specifies the event name for add.
Fires if a cell has been added to the selection.
Fires after an undoable edit was added to the history.
Specifies the event name for addCells.
Fires between begin- and endUpdate in addCells.
Specifies the event name for addOverlay.
Fires after an overlay is added in addCellOverlay.
Fires between begin- and endUpdate in addVertex.
Specifies the event name for addVertex.
mxDefaultPopupMenu.prototype.addAction = function(menu,
editor,
lab,
icon,
funct,
action,
cell,
parent,
iconCls)
Helper method to bind an action to a new menu item.
mxEditor.prototype.addAction = function (actionname,
funct)
Binds the specified actionname to the specified function.
mxDefaultToolbar.prototype.addActionCombo = function(title)
Helper method to invoke mxToolbar.addActionCombo on toolbar using the given title and return the resulting DOM node.
mxDefaultToolbar.prototype.addActionOption = function(combo,
title,
action)
Binds the given action to a option with the specified label in the given combo.
mxEditor.prototype.addActions = function ()
Adds the built-in actions to the editor instance.
addAlias: function(classname,
codecname)
Adds an alias for mapping a classname to a codecname.
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.
mxToolbar.prototype.addBreak = function()
Adds a break to the container.
addButton: function(lab,
funct)
Adds a button to the console using the given label and function.
mxForm.prototype.addButtons = function(okFunct,
cancelFunct)
Helper method to add an OK and Cancel button using the respective functions.
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.
mxGraphSelectionModel.prototype.addCell = function(cell)
Adds the given mxCell to the selection and fires a select event.
mxGraph.prototype.addCellOverlay = function(cell,
overlay)
Adds an mxCellOverlay for the specified cell.
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.
mxGraphSelectionModel.prototype.addCells = function(cells)
Adds the given array of mxCells to the selection and fires a select event.
mxForm.prototype.addCheckbox = function(name,
value)
Adds a checkbox for the given name and value and returns the textfield.
mxDefaultToolbar.prototype.addCombo = function()
Helper method to invoke mxToolbar.addCombo on toolbar and return the resulting DOM node.
mxForm.prototype.addCombo = function(name,
isMultiSelect,
size)
Adds a combo for the given name and returns the combo.
mxToolbar.prototype.addCombo = function(style)
Adds and returns a new SELECT element using the given style.
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.
mxCellStatePreview.prototype.addEdges = function(state)
mxEdgeHandler.prototype.addEnabled
Specifies if adding bends by shift-click is enabled.
mxSwimlaneManager.prototype.addEnabled
Specifies if newly added cells should be resized to match the size of their existing siblings.
mxForm.prototype.addField = function(name,
input)
Adds a new row with the name and the input field in two columns and returns the given input.
addGestureListeners: function(node,
startListener,
moveListener,
endListener)
Adds the given listeners for touch, mouse and/or pointer events.
mxPrintPreview.prototype.addGraphFragment = function(dx,
dy,
scale,
pageNumber,
div)
Adds a graph fragment to the given div.
mxGraph.prototype.addImageBundle = function(bundle)
Adds the specified mxImageBundle.
mxDefaultToolbar.prototype.addItem = function(title,
icon,
action,
pressed)
Adds a new item that executes the given action in editor.
mxPopupMenu.prototype.addItem = function(title,
image,
funct,
parent,
iconCls,
enabled)
Adds the given item to the given parent item.
mxToolbar.prototype.addItem = function(title,
icon,
funct,
pressedIcon,
style,
factoryMethod)
Adds the given function as an image with the specified title and icon and returns the new image node.
mxDefaultPopupMenu.prototype.addItems = function(editor,
menu,
cell,
evt,
conditions,
item,
parent)
Recursively adds the given items and all of its children into the given menu.
mxToolbar.prototype.addLine = function()
Adds a horizontal line to the container.
addListener: function()
Binds the function to the specified event on the given element.
mxEventSource.prototype.addListener = function(name,
funct)
Binds the specified function to the given event name.
addMarker: function(type,
funct)
Adds a factory method that updates a given endpoint and returns a function to paint the marker onto the given canvas.
mxDefaultToolbar.prototype.addMode = function(title,
icon,
mode,
pressed,
funct)
Creates an item for selecting the given mode in the editor’s graph.
mxToolbar.prototype.addMode = function(title,
icon,
funct,
pressedIcon,
style,
toggle)
Adds a new item to the toolbar.
mxGraph.prototype.addMouseListener = function(listener)
Adds a listener to the graph event dispatch loop.
mxSvgCanvas2D.prototype.addNode = function(filled,
stroked)
Private helper function to create SVG elements
mxVmlCanvas2D.prototype.addNode = function(filled,
stroked)
Adds the current node to the root.
mxObjectCodec.prototype.addObjectValue = function(obj,
fieldname,
value,
template)
Sets the decoded child node as a value of the given object.
mxAbstractCanvas2D.prototype.addOp = function()
Adds the given operation to the path.
mxDefaultToolbar.prototype.addOption = function(combo,
title,
value)
Helper method to invoke mxToolbar.addOption on toolbar and return the resulting DOM node that represents the option.
mxForm.prototype.addOption = function(combo,
label,
value,
isSelected)
Adds an option for the given label to the specified combo.
mxToolbar.prototype.addOption = function(combo,
title,
value)
Adds and returns a new OPTION element inside the given SELECT element.
mxEdgeHandler.prototype.addPoint = function(state,
evt)
Adds a control point for the given state and event.
mxEdgeHandler.prototype.addPointAt = function(state,
x,
y)
Adds a control point at the given point.
mxDefaultToolbar.prototype.addPrototype = function(title,
icon,
ptype,
pressed,
insert,
toggle)
Creates an item for inserting a clone of the specified prototype cell into the editor’s graph.
mxGraph.prototype.addSelectionCell = function(cell)
Adds the given cell to the selection.
mxGraph.prototype.addSelectionCells = function(cells)
Adds the given cells to the selection.
mxDefaultToolbar.prototype.addSeparator = function(icon)
Adds a vertical separator using the optional icon.
mxPopupMenu.prototype.addSeparator = function(parent,
force)
Adds a horizontal separator in the given parent item or the top-level menu if no parent is specified.
mxToolbar.prototype.addSeparator = function(icon)
Adds the specifies image as a separator.
addStencil: function(name,
stencil)
Adds the given mxStencil.
addStylename: function(style,
stylename)
Adds the specified stylename to the given style if it does not already contain the stylename.
mxToolbar.prototype.addSwitchMode = function(title,
icon,
funct,
pressedIcon,
style)
Adds a new selectable item to the toolbar.
mxEditor.prototype.addTemplate = function (name,
template)
Adds the specified template under the given name in templates.
mxForm.prototype.addText = function(name,
value)
Adds a textfield for the given name and value and returns the textfield.
mxForm.prototype.addTextarea = function(name,
value,
rows)
Adds a textarea for the given name and value and returns the textarea.
mxSvgCanvas2D.prototype.addTextBackground = function(node,
str,
x,
y,
w,
h,
align,
valign,
overflow)
Background color and border
addTransparentBackgroundFilter: function(node)
Adds a transparent background to the filter of the given node.
mxShape.prototype.addTransparentBackgroundRectangle = function(node,
x,
y,
w,
h)
Adds a transparent rectangle that catches all events.
mxEditor.prototype.addVertex = function (parent,
vertex,
x,
y)
Adds the given vertex as a child of parent at the specified x and y coordinate and fires an addVertex event.
mxConnectionHandler.prototype.addWaypointForEvent = function(me)
Adds the waypoint for the given event to waypoints.
mxCompactTreeLayout.prototype.adjustParents = function()
Adjust parent cells whose child geometries have changed.
mxCoordinateAssignment.prototype.adjustParents = function(parentsChanged)
Adjust parent cells whose child geometries have changed.
Fires after a vertex was inserted and selected in addVertex.
Specifies the event name for afterAddVertex.
codec.afterDecode = function(dec,
node,
obj)
Restores object state in the child change.
codec.afterDecode = function(dec,
node,
obj)
Restores the state by assigning the previous value.
mxObjectCodec.prototype.afterDecode = function(dec,
node,
obj)
Hook for subclassers to post-process the object after decoding.
codec.afterDecode = function(dec,
node,
obj)
Restores the state by assigning the previous value.
codec.afterDecode = function(dec,
node,
obj)
Restores the state by assigning the previous value.
codec.afterEncode = function(enc,
obj,
node)
Encodes an mxCell and wraps the XML up inside the XML of the user object (inversion).
codec.afterEncode = function(enc,
obj,
node)
Encodes the child recusively and adds the result to the given node.
mxObjectCodec.prototype.afterEncode = function(enc,
obj,
node)
Hook for subclassers to post-process the node for the given object after encoding and return the post-processed node.
alert: function(message)
Displayss the given alert in a new dialog.
Maps from classnames to codecnames.
mxCellOverlay.prototype.align
Holds the horizontal alignment for the overlay.
Constant for bottom vertical alignment.
Specifies the event name for alignCells.
Fires between begin- and endUpdate in alignCells.
Constant for center horizontal alignment.
Constant for left horizontal alignment.
Constant for middle vertical alignment.
Constant for right horizontal alignment.
Constant for top vertical alignment.
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.
mxCompactTreeLayout.prototype.alignRanks
Whether or not the tops of cells in each rank should be aligned across the rank
mxGraph.prototype.allowAutoPanning
Specifies if panning via panGraph should be allowed to implement autoscroll if no scrollbars are available in scrollPointToVisible.
mxGraph.prototype.allowDanglingEdges
Specifies if edges with disconnected terminals are allowed in the graph.
mxFastOrganicLayout.prototype.allowedToRun
Boolean flag that specifies if the layout is allowed to run.
mxGraphView.prototype.allowEval
Specifies if string values in cell styles should be evaluated using mxUtils.eval.
mxEdgeHandler.prototype.allowHandleBoundsCheck
Specifies if the bounds of handles should be used for hit-detection in IE Default is true.
mxVertexHandler.prototype.allowHandleBoundsCheck
Specifies if the bounds of handles should be used for hit-detection in IE or if tolerance > 0.
mxGraph.prototype.allowLoops
Specifies if loops (aka self-references) are allowed.
mxGraph.prototype.allowNegativeCoordinates
Specifies if negative coordinates for vertices are allowed.
mxGraph.prototype.alreadyConnectedResource
Specifies the resource key for the error message to be displayed in non-multigraphs when two vertices are already connected.
Specifies if the fallback representation should be returned.
mxGeometry.prototype.alternateBounds
Stores alternate values for x, y, width and height in a rectangle.
mxGraph.prototype.alternateEdgeStyle
Specifies the alternate edge style to be used if the main control point on an edge is being doubleclicked.
mxMorphing.prototype.animateCell = function(cell,
move,
recurse)
Animates the given cell state using mxCellStatePreview.moveState.
animateChanges: function(graph,
changes,
done)
Asynchronous animated move operation.
animateChanges: function(graph,
changes)
See mxEffects.animateChanges.
This JavaScript library is divided into 8 packages.
mxCompactTreeLayout.prototype.apply = function(node,
bounds)
mxImageShape.prototype.apply = function(state)
Overrides mxShape.apply to replace the fill and stroke colors with the respective values from mxConstants.STYLE_IMAGE_BACKGROUND and mxConstants.STYLE_IMAGE_BORDER.
mxShape.prototype.apply = function(state)
Applies the style of the given mxCellState to the shape.
mxText.prototype.apply = function(state)
Extends mxShape to updat the text styles.
mxAbstractCanvas2D.prototype.arcTo = function(rx,
ry,
angle,
largeArcFlag,
sweepFlag,
x,
y)
Adds the given arc to the current path.
arcToCurves: function(x0,
y0,
r1,
r2,
angle,
largeArcFlag,
sweepFlag,
x,
y)
Converts the given arc to a series of curves.
mxGraphLayout.prototype.arrangeGroups = function(groups,
border)
Updates the bounds of the given groups to include all children.
Constant for block arrow markers.
Constant for classic arrow markers.
Constant for diamond arrow markers.
Constant for open arrow markers.
Constant for oval arrow markers.
Defines the size of the arrowhead in the arrow shape.
Defines the spacing between the arrow shape and its terminals.
Defines the width of the arrow shape.
mxEditor.prototype.askZoomResource
Specifies the resource key for the zoom dialog.
mxStencil.prototype.aspect
Holds the aspect of the shape.
mxXmlRequest.prototype.async
Boolean indicating if the request is asynchronous.
mxCompactTreeLayout.prototype.attachParent = function(node,
height)
mxMultiplicity.prototype.attr
Optional string that specifies the attributename to be passed to mxUtils.isNode to check if the rule applies to a cell.
mxConnector.prototype.augmentBoundingBox = function(bbox)
Augments the bounding box with the strokewidth and shadow offsets.
mxShape.prototype.augmentBoundingBox = function(bbox)
Augments the bounding box with the strokewidth and shadow offsets.
mxPopupMenu.prototype.autoExpand
Specifies if submenus should be expanded on mouseover.
mxGraph.prototype.autoExtend
Specifies if the size of the graph should be automatically extended if the mouse goes near the container edge while dragging.
mxPrintPreview.prototype.autoOrigin
Specifies if the origin should be automatically computed based on the top, left corner of the actual diagram contents.
mxAutoSaveManager.prototype.autoSaveDelay
Minimum amount of seconds between two consecutive autosaves.
mxAutoSaveManager.prototype.autoSaveThreshold
Minimum amount of ignored changes before an autosave.
mxAutoSaveManager.prototype.autoSaveThrottle
Minimum amount of seconds between two consecutive autosaves triggered by more than autoSaveThreshhold changes within a timespan of less than autoSaveDelay seconds.
mxDragSource.prototype.autoscroll
Specifies if the graph should scroll automatically.
mxGraph.prototype.autoScroll
Specifies if the graph should automatically scroll if the mouse goes near the container edge while dragging.
mxCellEditor.prototype.autoSize
Specifies if the textarea should be resized while the text is being edited.
mxGraph.prototype.autoSizeCell = function(cell,
recurse)
Removes the given cells from the graph including all connected edges if includeEdges is true.
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.
mxEdgeLabelLayout.prototype.avoid = function(edge,
vertex)
Places the labels of the given edges.
+
Specifies if absolute line heights should be used (px) in CSS.
mxCellState.prototype.absoluteOffset
mxPoint that holds the absolute offset.
mxCellState.prototype.absolutePoints
Holds an array of mxPoints that represent the absolute points of an edge.
mxEditor.prototype.actions
Maps from actionnames to actions, which are functions taking the editor and the cell as arguments.
mxWindow.prototype.activate = function()
Puts the window on top of all other windows.
Specifies the event name for activate.
Fires after a window is activated.
mxGraphModel.prototype.add = function(parent,
child,
index)
Adds the specified child to the parent at the given index using mxChildChange and adds the change to the current transaction.
mxRectangle.prototype.add = function(rect)
Adds the given rectangle to this rectangle.
add: function(basename,
lan)
Adds the default and current language properties file for the specified basename.
mxUndoableEdit.prototype.add = function(change)
Adds the specified change to this edit.
Specifies the event name for add.
Fires if a cell has been added to the selection.
Fires after an undoable edit was added to the history.
Specifies the event name for addCells.
Fires between begin- and endUpdate in addCells.
Specifies the event name for addOverlay.
Fires after an overlay is added in addCellOverlay.
Fires between begin- and endUpdate in addVertex.
Specifies the event name for addVertex.
mxDefaultPopupMenu.prototype.addAction = function(menu,
editor,
lab,
icon,
funct,
action,
cell,
parent,
iconCls)
Helper method to bind an action to a new menu item.
mxEditor.prototype.addAction = function (actionname,
funct)
Binds the specified actionname to the specified function.
mxDefaultToolbar.prototype.addActionCombo = function(title)
Helper method to invoke mxToolbar.addActionCombo on toolbar using the given title and return the resulting DOM node.
mxDefaultToolbar.prototype.addActionOption = function(combo,
title,
action)
Binds the given action to a option with the specified label in the given combo.
mxEditor.prototype.addActions = function ()
Adds the built-in actions to the editor instance.
addAlias: function(classname,
codecname)
Adds an alias for mapping a classname to a codecname.
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.
mxToolbar.prototype.addBreak = function()
Adds a break to the container.
addButton: function(lab,
funct)
Adds a button to the console using the given label and function.
mxForm.prototype.addButtons = function(okFunct,
cancelFunct)
Helper method to add an OK and Cancel button using the respective functions.
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.
mxGraphSelectionModel.prototype.addCell = function(cell)
Adds the given mxCell to the selection and fires a select event.
mxGraph.prototype.addCellOverlay = function(cell,
overlay)
Adds an mxCellOverlay for the specified cell.
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.
mxGraphSelectionModel.prototype.addCells = function(cells)
Adds the given array of mxCells to the selection and fires a select event.
mxForm.prototype.addCheckbox = function(name,
value)
Adds a checkbox for the given name and value and returns the textfield.
mxDefaultToolbar.prototype.addCombo = function()
Helper method to invoke mxToolbar.addCombo on toolbar and return the resulting DOM node.
mxForm.prototype.addCombo = function(name,
isMultiSelect,
size)
Adds a combo for the given name and returns the combo.
mxToolbar.prototype.addCombo = function(style)
Adds and returns a new SELECT element using the given style.
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.
mxCellStatePreview.prototype.addEdges = function(state)
mxEdgeHandler.prototype.addEnabled
Specifies if adding bends by shift-click is enabled.
mxSwimlaneManager.prototype.addEnabled
Specifies if newly added cells should be resized to match the size of their existing siblings.
mxForm.prototype.addField = function(name,
input)
Adds a new row with the name and the input field in two columns and returns the given input.
addGestureListeners: function(node,
startListener,
moveListener,
endListener)
Adds the given listeners for touch, mouse and/or pointer events.
mxPrintPreview.prototype.addGraphFragment = function(dx,
dy,
scale,
pageNumber,
div)
Adds a graph fragment to the given div.
mxGraph.prototype.addImageBundle = function(bundle)
Adds the specified mxImageBundle.
mxDefaultToolbar.prototype.addItem = function(title,
icon,
action,
pressed)
Adds a new item that executes the given action in editor.
mxPopupMenu.prototype.addItem = function(title,
image,
funct,
parent,
iconCls,
enabled)
Adds the given item to the given parent item.
mxToolbar.prototype.addItem = function(title,
icon,
funct,
pressedIcon,
style,
factoryMethod)
Adds the given function as an image with the specified title and icon and returns the new image node.
mxDefaultPopupMenu.prototype.addItems = function(editor,
menu,
cell,
evt,
conditions,
item,
parent)
Recursively adds the given items and all of its children into the given menu.
mxToolbar.prototype.addLine = function()
Adds a horizontal line to the container.
addListener: function()
Binds the function to the specified event on the given element.
mxEventSource.prototype.addListener = function(name,
funct)
Binds the specified function to the given event name.
addMarker: function(type,
funct)
Adds a factory method that updates a given endpoint and returns a function to paint the marker onto the given canvas.
mxDefaultToolbar.prototype.addMode = function(title,
icon,
mode,
pressed,
funct)
Creates an item for selecting the given mode in the editor’s graph.
mxToolbar.prototype.addMode = function(title,
icon,
funct,
pressedIcon,
style,
toggle)
Adds a new item to the toolbar.
mxGraph.prototype.addMouseListener = function(listener)
Adds a listener to the graph event dispatch loop.
mxSvgCanvas2D.prototype.addNode = function(filled,
stroked)
Private helper function to create SVG elements
mxVmlCanvas2D.prototype.addNode = function(filled,
stroked)
Adds the current node to the root.
mxObjectCodec.prototype.addObjectValue = function(obj,
fieldname,
value,
template)
Sets the decoded child node as a value of the given object.
mxAbstractCanvas2D.prototype.addOp = function()
Adds the given operation to the path.
mxDefaultToolbar.prototype.addOption = function(combo,
title,
value)
Helper method to invoke mxToolbar.addOption on toolbar and return the resulting DOM node that represents the option.
mxForm.prototype.addOption = function(combo,
label,
value,
isSelected)
Adds an option for the given label to the specified combo.
mxToolbar.prototype.addOption = function(combo,
title,
value)
Adds and returns a new OPTION element inside the given SELECT element.
mxEdgeHandler.prototype.addPoint = function(state,
evt)
Adds a control point for the given state and event.
mxEdgeHandler.prototype.addPointAt = function(state,
x,
y)
Adds a control point at the given point.
mxDefaultToolbar.prototype.addPrototype = function(title,
icon,
ptype,
pressed,
insert,
toggle)
Creates an item for inserting a clone of the specified prototype cell into the editor’s graph.
mxGraph.prototype.addSelectionCell = function(cell)
Adds the given cell to the selection.
mxGraph.prototype.addSelectionCells = function(cells)
Adds the given cells to the selection.
mxDefaultToolbar.prototype.addSeparator = function(icon)
Adds a vertical separator using the optional icon.
mxPopupMenu.prototype.addSeparator = function(parent,
force)
Adds a horizontal separator in the given parent item or the top-level menu if no parent is specified.
mxToolbar.prototype.addSeparator = function(icon)
Adds the specifies image as a separator.
addStencil: function(name,
stencil)
Adds the given mxStencil.
addStylename: function(style,
stylename)
Adds the specified stylename to the given style if it does not already contain the stylename.
mxToolbar.prototype.addSwitchMode = function(title,
icon,
funct,
pressedIcon,
style)
Adds a new selectable item to the toolbar.
mxEditor.prototype.addTemplate = function (name,
template)
Adds the specified template under the given name in templates.
mxForm.prototype.addText = function(name,
value)
Adds a textfield for the given name and value and returns the textfield.
mxForm.prototype.addTextarea = function(name,
value,
rows)
Adds a textarea for the given name and value and returns the textarea.
mxSvgCanvas2D.prototype.addTextBackground = function(node,
str,
x,
y,
w,
h,
align,
valign,
overflow)
Background color and border
addTransparentBackgroundFilter: function(node)
Adds a transparent background to the filter of the given node.
mxEditor.prototype.addVertex = function (parent,
vertex,
x,
y)
Adds the given vertex as a child of parent at the specified x and y coordinate and fires an addVertex event.
mxConnectionHandler.prototype.addWaypointForEvent = function(me)
Adds the waypoint for the given event to waypoints.
mxCompactTreeLayout.prototype.adjustParents = function()
Adjust parent cells whose child geometries have changed.
mxCoordinateAssignment.prototype.adjustParents = function(parentsChanged)
Adjust parent cells whose child geometries have changed.
Fires after a vertex was inserted and selected in addVertex.
Specifies the event name for afterAddVertex.
codec.afterDecode = function(dec,
node,
obj)
Restores object state in the child change.
codec.afterDecode = function(dec,
node,
obj)
Restores the state by assigning the previous value.
mxObjectCodec.prototype.afterDecode = function(dec,
node,
obj)
Hook for subclassers to post-process the object after decoding.
codec.afterDecode = function(dec,
node,
obj)
Restores the state by assigning the previous value.
codec.afterDecode = function(dec,
node,
obj)
Restores the state by assigning the previous value.
codec.afterEncode = function(enc,
obj,
node)
Encodes an mxCell and wraps the XML up inside the XML of the user object (inversion).
codec.afterEncode = function(enc,
obj,
node)
Encodes the child recusively and adds the result to the given node.
mxObjectCodec.prototype.afterEncode = function(enc,
obj,
node)
Hook for subclassers to post-process the node for the given object after encoding and return the post-processed node.
alert: function(message)
Displayss the given alert in a new dialog.
Maps from classnames to codecnames.
mxCellOverlay.prototype.align
Holds the horizontal alignment for the overlay.
Constant for bottom vertical alignment.
Specifies the event name for alignCells.
Fires between begin- and endUpdate in alignCells.
Constant for center horizontal alignment.
Constant for left horizontal alignment.
Constant for middle vertical alignment.
Constant for right horizontal alignment.
Constant for top vertical alignment.
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.
mxCompactTreeLayout.prototype.alignRanks
Whether or not the tops of cells in each rank should be aligned across the rank
mxGraph.prototype.allowAutoPanning
Specifies if panning via panGraph should be allowed to implement autoscroll if no scrollbars are available in scrollPointToVisible.
mxGraph.prototype.allowDanglingEdges
Specifies if edges with disconnected terminals are allowed in the graph.
mxFastOrganicLayout.prototype.allowedToRun
Boolean flag that specifies if the layout is allowed to run.
mxGraphView.prototype.allowEval
Specifies if string values in cell styles should be evaluated using mxUtils.eval.
mxEdgeHandler.prototype.allowHandleBoundsCheck
Specifies if the bounds of handles should be used for hit-detection in IE Default is true.
mxVertexHandler.prototype.allowHandleBoundsCheck
Specifies if the bounds of handles should be used for hit-detection in IE or if tolerance > 0.
mxGraph.prototype.allowLoops
Specifies if loops (aka self-references) are allowed.
mxGraph.prototype.allowNegativeCoordinates
Specifies if negative coordinates for vertices are allowed.
mxGraph.prototype.alreadyConnectedResource
Specifies the resource key for the error message to be displayed in non-multigraphs when two vertices are already connected.
Specifies if the fallback representation should be returned.
mxGeometry.prototype.alternateBounds
Stores alternate values for x, y, width and height in a rectangle.
mxGraph.prototype.alternateEdgeStyle
Specifies the alternate edge style to be used if the main control point on an edge is being doubleclicked.
mxMorphing.prototype.animateCell = function(cell,
move,
recurse)
Animates the given cell state using mxCellStatePreview.moveState.
animateChanges: function(graph,
changes,
done)
Asynchronous animated move operation.
animateChanges: function(graph,
changes)
See mxEffects.animateChanges.
This JavaScript library is divided into 8 packages.
mxCompactTreeLayout.prototype.apply = function(node,
bounds)
mxImageShape.prototype.apply = function(state)
Overrides mxShape.apply to replace the fill and stroke colors with the respective values from mxConstants.STYLE_IMAGE_BACKGROUND and mxConstants.STYLE_IMAGE_BORDER.
mxShape.prototype.apply = function(state)
Applies the style of the given mxCellState to the shape.
mxText.prototype.apply = function(state)
Extends mxShape to updat the text styles.
mxAbstractCanvas2D.prototype.arcTo = function(rx,
ry,
angle,
largeArcFlag,
sweepFlag,
x,
y)
Adds the given arc to the current path.
arcToCurves: function(x0,
y0,
r1,
r2,
angle,
largeArcFlag,
sweepFlag,
x,
y)
Converts the given arc to a series of curves.
mxGraphLayout.prototype.arrangeGroups = function(groups,
border)
Updates the bounds of the given groups to include all children.
Constant for block arrow markers.
Constant for classic arrow markers.
Constant for diamond arrow markers.
Constant for open arrow markers.
Constant for oval arrow markers.
Defines the size of the arrowhead in the arrow shape.
Defines the spacing between the arrow shape and its terminals.
Defines the width of the arrow shape.
mxEditor.prototype.askZoomResource
Specifies the resource key for the zoom dialog.
mxStencil.prototype.aspect
Holds the aspect of the shape.
mxXmlRequest.prototype.async
Boolean indicating if the request is asynchronous.
mxCompactTreeLayout.prototype.attachParent = function(node,
height)
mxMultiplicity.prototype.attr
Optional string that specifies the attributename to be passed to mxUtils.isNode to check if the rule applies to a cell.
mxConnector.prototype.augmentBoundingBox = function(bbox)
Augments the bounding box with the strokewidth and shadow offsets.
mxShape.prototype.augmentBoundingBox = function(bbox)
Augments the bounding box with the strokewidth and shadow offsets.
mxPopupMenu.prototype.autoExpand
Specifies if submenus should be expanded on mouseover.
mxGraph.prototype.autoExtend
Specifies if the size of the graph should be automatically extended if the mouse goes near the container edge while dragging.
mxPrintPreview.prototype.autoOrigin
Specifies if the origin should be automatically computed based on the top, left corner of the actual diagram contents.
mxAutoSaveManager.prototype.autoSaveDelay
Minimum amount of seconds between two consecutive autosaves.
mxAutoSaveManager.prototype.autoSaveThreshold
Minimum amount of ignored changes before an autosave.
mxAutoSaveManager.prototype.autoSaveThrottle
Minimum amount of seconds between two consecutive autosaves triggered by more than autoSaveThreshhold changes within a timespan of less than autoSaveDelay seconds.
mxDragSource.prototype.autoscroll
Specifies if the graph should scroll automatically.
mxGraph.prototype.autoScroll
Specifies if the graph should automatically scroll if the mouse goes near the container edge while dragging.
mxCellEditor.prototype.autoSize
Specifies if the textarea should be resized while the text is being edited.
mxGraph.prototype.autoSizeCell = function(cell,
recurse)
Removes the given cells from the graph including all connected edges if includeEdges is true.
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.
mxEdgeLabelLayout.prototype.avoid = function(edge,
vertex)
Places the labels of the given edges.
diff --git a/docs/js-api/index/General10.html b/docs/js-api/index/General10.html index 6b520f601..995688453 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
 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
 lastEdgeNode, mxGraphView
 lastHtmlNode, mxGraphView
 lastNode, mxGraphView
 lastSavedResource, mxEditor
 lastSnapshot, mxAutoSaveManager
 lastTouchTime, mxGraph
 lastTouchX, mxGraph
 lastX, mxAbstractCanvas2D
 lastY, mxAbstractCanvas2D
 layeringStage
 layout
 LAYOUT_CELLS
 layoutCells, mxLayoutManager
 layoutDiagram, mxEditor
 layoutLeaf, mxCompactTreeLayout
 layouts, mxCompositeLayout
 layoutSwimlanes, mxEditor
 leave, mxLog
 legacyControlPosition, mxCellRenderer
 length, mxCellState
 levelDistance, mxCompactTreeLayout
 limitX, mxCoordinateAssignment
 LINE_ARCSIZE, mxConstants
 LINE_HEIGHT, mxConstants
 linefeed, mxSession
 lineFeed, mxEditor
 lineHeightCorrection, mxSvgCanvas2D
 lineOp
 lineTo
 link
 linkAction, mxUtils
 linkInvoke, mxUtils
 livePreview, mxVertexHandler
 load, mxUtils
 loadDefaultBundle, mxResources
 loadInto, mxUtils
 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
 lastForegroundNode, mxGraphView
 lastHtmlNode, mxGraphView
 lastNode, mxGraphView
 lastSavedResource, mxEditor
 lastSnapshot, mxAutoSaveManager
 lastTouchTime, mxGraph
 lastTouchX, mxGraph
 lastX, mxAbstractCanvas2D
 lastY, mxAbstractCanvas2D
 layeringStage
 layout
 LAYOUT_CELLS
 layoutCells, mxLayoutManager
 layoutDiagram, mxEditor
 layoutLeaf, mxCompactTreeLayout
 layouts, mxCompositeLayout
 layoutSwimlanes, mxEditor
 leave, mxLog
 legacyControlPosition, mxCellRenderer
 length, mxCellState
 levelDistance, mxCompactTreeLayout
 limitX, mxCoordinateAssignment
 LINE_ARCSIZE, mxConstants
 LINE_HEIGHT, mxConstants
 linefeed, mxSession
 lineFeed, mxEditor
 lineHeightCorrection, mxSvgCanvas2D
 lineOp
 lineTo
 link
 linkAction, mxUtils
 linkInvoke, mxUtils
 livePreview, mxVertexHandler
 load, mxUtils
 loadDefaultBundle, mxResources
 loadInto, mxUtils
 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.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 mxGraph.isEnabled, isEnabled and isGraphEvent all return true for the given event and mxGraph.isEditing returns false.
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 mxGraph.isEnabled, isEnabled and isGraphEvent all return true for the given event and mxGraph.isEditing returns false.
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.lastEdgeNode
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.
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.
mxCellState.prototype.length
Caches the length of an edge.
mxCompactTreeLayout.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.
mxSession.prototype.linefeed
Used for encoding linefeeds.
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.
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.
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.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.
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.
mxCellState.prototype.length
Caches the length of an edge.
mxCompactTreeLayout.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.
mxSession.prototype.linefeed
Used for encoding linefeeds.
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.
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.
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 1ce7733cb..371ea07eb 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
 maintainSwimlanes, mxEditor
 makeDraggable, mxUtils
 manageSizers, mxVertexHandler
 map, mxDictionary
 mapping, mxObjectCodec
 marginBottom, mxStackLayout
 marginLeft, mxStackLayout
 marginRight, mxStackLayout
 marginTop, mxStackLayout
 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
 MedianCellSorter
 medianPos, mxCoordinateAssignment
 medianRank, mxMedianHybridCrossingReduction
 medianValue
 medianXValue, mxCoordinateAssignment
 merge, mxCompactTreeLayout
 mergeChildren, mxGraphModel
 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
 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
 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
 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
 mxRectangle
 mxRectangleShape
 mxResourceExtension, mxClient
 mxResources
 mxRhombus
 mxRootChange
 mxRootChangeCodec
 mxRubberband
 mxSelectionCellsHandler
 mxSelectionChange
 mxSession
 mxShape
 mxSpaceManager
 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
 maintainSwimlanes, mxEditor
 makeDraggable, mxUtils
 manageSizers, mxVertexHandler
 map, mxDictionary
 mapping, mxObjectCodec
 marginBottom, mxStackLayout
 marginLeft, mxStackLayout
 marginRight, mxStackLayout
 marginTop, mxStackLayout
 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
 MedianCellSorter
 medianPos, mxCoordinateAssignment
 medianRank, mxMedianHybridCrossingReduction
 medianValue
 medianXValue, mxCoordinateAssignment
 merge, mxCompactTreeLayout
 mergeChildren, mxGraphModel
 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
 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
 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
 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
 mxRectangle
 mxRectangleShape
 mxResourceExtension, mxClient
 mxResources
 mxRhombus
 mxRootChange
 mxRootChangeCodec
 mxRubberband
 mxSelectionCellsHandler
 mxSelectionChange
 mxSession
 mxShape
 mxSpaceManager
 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.
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.
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.
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.
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
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.
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.
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.
mxSession.prototype.model
Reference to the enclosing mxGraphModel.
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)
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.
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.
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.
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 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.
Session for sharing an mxGraphModel with other parties via a backend that acts as a multicaster for all changes.
function mxSession(model,
urlInit,
urlPoll,
urlNotify)
Constructs a new session using the given mxGraphModel and URLs to communicate with the backend.
Base class for all shapes.
function mxShape(stencil)
Constructs a new shape.
In charge of moving cells after a resize.
function mxSpaceManager(graph,
shiftRightwards,
shiftDownwards,
extendParents)
Constructs a new automatic layout for the given graph.
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)
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.
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.
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.
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.
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
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.
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.
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.
mxSession.prototype.model
Reference to the enclosing mxGraphModel.
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)
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.
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.
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.
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 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.
Session for sharing an mxGraphModel with other parties via a backend that acts as a multicaster for all changes.
function mxSession(model,
urlInit,
urlPoll,
urlNotify)
Constructs a new session using the given mxGraphModel and URLs to communicate with the backend.
Base class for all shapes.
function mxShape(stencil)
Constructs a new shape.
In charge of moving cells after a resize.
function mxSpaceManager(graph,
shiftRightwards,
shiftDownwards,
extendParents)
Constructs a new automatic layout for the given graph.
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)
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 c82abbc7e..dad0d11bd 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, mxShape
 nodeDistance, mxCompactTreeLayout
 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
 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_STROKEWIDTH, mxConstants
 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, mxShape
 nodeDistance, mxCompactTreeLayout
 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
 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_STROKEWIDTH, mxConstants
 outlineResource, mxEditor
 Overlays, mxGraph
-
mxEventObject.prototype.name
Holds the name.
Specifies if native double click events should be deteced.
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.
mxShape.prototype.node
Holds the outermost DOM node that represents this shape.
mxCompactTreeLayout.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.
mxSession.prototype.notify = function(xml,
onLoad,
onError)
Sends out the specified XML to urlNotify and fires a notify event.
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.
Fires after a notification was sent in notify.
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 deteced.
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.
mxShape.prototype.node
Holds the outermost DOM node that represents this shape.
mxCompactTreeLayout.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.
mxSession.prototype.notify = function(xml,
onLoad,
onError)
Sends out the specified XML to urlNotify and fires a notify event.
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.
Fires after a notification was sent in notify.
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)
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.
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.
Defines the strokewidth to be used for the outline rectangle stroke width.
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)
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.
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.
Defines the strokewidth to be used for the outline rectangle stroke width.
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 e6a641d90..543aaab4f 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
 paintRoundedSwimlane, mxSwimlane
 paintStencilShape, mxShape
 paintSwimlane, mxSwimlane
 paintVertexShape
 PAN
 PAN_END
 PAN_START
 panDx, mxGraph
 panDy, mxGraph
 panGraph
 panningEnabled, mxPanningHandler
 para, mxUtils
 parallelEdgeSpacing
 params, mxXmlRequest
 parent
 parentBorder
 parentForCellChanged, mxGraphModel
 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_RECTANGLE, mxConstants
 PERIMETER_RHOMBUS, mxConstants
 PERIMETER_TRIANGLE, mxConstants
 placeLabels, mxEdgeLabelLayout
 placementStage
 plainText, mxVmlCanvas2D
 point, mxConnectionConstraint
 pointerEvents
 pointImage, mxConstraintHandler
 points
 poll, mxSession
 polling, mxSession
 popup
 popupHandler, mxEditor
 portsEnabled, mxGraph
 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
 printOverlays, mxPrintPreview
 printScreen, mxUtils
 process, mxCellMarker
 processChange, mxGraph
 processDelta, mxSession
 processEdit, mxSession
 processInclude, mxObjectCodec
 processReversedEdge, mxCoordinateAssignment
 processState, mxSession
 prompt, mxUtils
 properties, mxEventObject
 propertiesHeight, mxEditor
 propertiesResource, mxEditor
 propertiesWidth, mxEditor
 ptSeqDistSq, 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
 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
 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_RECTANGLE, mxConstants
 PERIMETER_RHOMBUS, mxConstants
 PERIMETER_TRIANGLE, mxConstants
 placeLabels, mxEdgeLabelLayout
 placementStage
 plainText, mxVmlCanvas2D
 point, mxConnectionConstraint
 pointerEvents
 pointImage, mxConstraintHandler
 points
 poll, mxSession
 polling, mxSession
 popup
 popupHandler, mxEditor
 portsEnabled, mxGraph
 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
 printOverlays, mxPrintPreview
 printScreen, mxUtils
 process, mxCellMarker
 processChange, mxGraph
 processDelta, mxSession
 processEdit, mxSession
 processInclude, mxObjectCodec
 processReversedEdge, mxCoordinateAssignment
 processState, mxSession
 prompt, mxUtils
 properties, mxEventObject
 propertiesHeight, mxEditor
 propertiesResource, mxEditor
 propertiesWidth, mxEditor
 ptSeqDistSq, 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)
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.
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.
Paints the line shape.
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.
mxShape.prototype.paintStencilShape = function(c,
x,
y,
w,
h)
Paints the line 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.
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 rectangle perimeter.
Name of the rhombus perimeter.
PERIMETER_TRIANGLE: 'trianglePerimeter' }
Name of the triangle perimeter.
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)
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.
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.
mxSession.prototype.poll = function()
Sends an asynchronous GET request to urlPoll.
mxSession.prototype.polling
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.
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.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.
mxSession.prototype.processDelta = function(node)
Processes the given delta node which contains a sequence of edits which in turn map to one transaction on the remote model each.
mxSession.prototype.processEdit = function(node)
Processes the given edit by executing its changes and firing the required events via the model.
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
mxSession.prototype.processState = function(node)
Processes the given state node which contains the current state of the remote model.
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.
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)
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.
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.
Paints the line shape.
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.
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 rectangle perimeter.
Name of the rhombus perimeter.
PERIMETER_TRIANGLE: 'trianglePerimeter' }
Name of the triangle perimeter.
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)
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.
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.
mxSession.prototype.poll = function()
Sends an asynchronous GET request to urlPoll.
mxSession.prototype.polling
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.
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.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.
mxSession.prototype.processDelta = function(node)
Processes the given delta node which contains a sequence of edits which in turn map to one transaction on the remote model each.
mxSession.prototype.processEdit = function(node)
Processes the given edit by executing its changes and firing the required events via the model.
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
mxSession.prototype.processState = function(node)
Processes the given state node which contains the current state of the remote model.
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.
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 875191829..dda891c16 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 17ee3db78..b7a24b0cf 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, mxSession
 RECEIVE
 received, mxSession
 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
 redrawPath
 redrawShape, mxShape
 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
 removeCellsFromParent
 removeCursors, mxUtils
 removeEdge, mxCell
 removeEnabled, mxEdgeHandler
 removeFromParent, mxCell
 removeFromTerminal, mxCell
 removeGestureListeners, mxEvent
 removeImageBundle, mxGraph
 removeListener
 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
 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
 resizeHandler, mxSpaceManager
 resizeHeight, mxDivResizer
 resizeLast, mxStackLayout
 resizeParent
 resizeSwimlane, mxSwimlaneManager
 resizeVertices, mxPartitionLayout
 resizeWidth, mxDivResizer
 resolve, mxCellPath
 resolveColor, mxCellRenderer
 resources, mxResources
 resourcesEncoded, mxResources
 restore
 restoreClone, mxGraphModel
 resume, mxSession
 RESUME
 revalidate, mxGraphView
 revalidateState, mxCellStatePreview
 reverse, mxObjectCodec
 reversePortConstraints, mxUtils
 RhombusPerimeter, mxPerimeter
 root
 ROOT
 rootChanged, mxGraphModel
 roots
 rotate
 rotateCell, mxVertexHandler
 rotatedHtmlBackground, mxVmlCanvas2D
 rotateHtml, mxAbstractCanvas2D
 rotateLabelBounds, mxCellRenderer
 rotatePoint, mxAbstractCanvas2D
 ROTATION_HANDLE, mxEvent
 rotationEnabled
 rotationRaster, mxVertexHandler
 roundrect
 route, mxParallelEdgeLayout
 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, mxSession
 RECEIVE
 received, mxSession
 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
 redrawPath
 redrawShape, mxShape
 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
 removeCellsFromParent
 removeCursors, mxUtils
 removeEdge, mxCell
 removeEnabled, mxEdgeHandler
 removeFromParent, mxCell
 removeFromTerminal, mxCell
 removeGestureListeners, mxEvent
 removeImageBundle, mxGraph
 removeListener
 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
 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
 resizeHandler, mxSpaceManager
 resizeHeight, mxDivResizer
 resizeLast, mxStackLayout
 resizeParent
 resizeSwimlane, mxSwimlaneManager
 resizeVertices, mxPartitionLayout
 resizeWidth, mxDivResizer
 resolve, mxCellPath
 resolveColor, mxCellRenderer
 resources, mxResources
 resourcesEncoded, mxResources
 restore
 restoreClone, mxGraphModel
 resume, mxSession
 RESUME
 revalidate, mxGraphView
 revalidateState, mxCellStatePreview
 reverse, mxObjectCodec
 reversePortConstraints, mxUtils
 RhombusPerimeter, mxPerimeter
 root
 ROOT
 rootChanged, mxGraphModel
 roots
 rotate
 rotateCell, mxVertexHandler
 rotatedHtmlBackground, mxVmlCanvas2D
 rotateHtml, mxAbstractCanvas2D
 rotateLabelBounds, mxCellRenderer
 rotatePoint, mxAbstractCanvas2D
 ROTATION_HANDLE, mxEvent
 rotationEnabled
 rotationRaster, mxVertexHandler
 roundrect
 route, mxParallelEdgeLayout
 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.
mxSession.prototype.receive = function(node)
Processes the given node by applying the changes to the model.
Specifies the event name for receive.
Fires after an XML node was received in receive.
mxSession.prototype.received
Total number of received bytes.
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.
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.
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.
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.
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.
mxEdgeSegmentHandler.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.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.
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.
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.
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)
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.
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.
mxEdgeHandler.prototype.reset = function()
Resets the state of this handler.
mxGraphHandler.prototype.reset = function()
Resets the state of this handler.
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.
mxSpaceManager.prototype.resizeHandler
Holds the function that handles the move event.
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.
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.
mxSession.prototype.resume = function(type,
attr,
value)
Resumes the session if it has been suspended.
Specifies the event name for suspend.
Fires after the session was resumed in resume.
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.
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
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.
Rotates the given cell to the given rotation.
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.
Index for the rotation handle in an mxMouseEvent.
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.rotationRaster
Specifies if rotation steps should be “rasterized” depening on the distance to the handle.
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.
+
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.
mxSession.prototype.receive = function(node)
Processes the given node by applying the changes to the model.
Specifies the event name for receive.
Fires after an XML node was received in receive.
mxSession.prototype.received
Total number of received bytes.
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.
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.
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.
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.
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.
mxEdgeSegmentHandler.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.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.
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.
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.
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)
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.
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.
mxEdgeHandler.prototype.reset = function()
Resets the state of this handler.
mxGraphHandler.prototype.reset = function()
Resets the state of this handler.
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.
mxSpaceManager.prototype.resizeHandler
Holds the function that handles the move event.
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.
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.
mxSession.prototype.resume = function(type,
attr,
value)
Resumes the session if it has been suspended.
Specifies the event name for suspend.
Fires after the session was resumed in resume.
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.
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
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.
Rotates the given cell to the given rotation.
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.
Index for the rotation handle in an mxMouseEvent.
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.rotationRaster
Specifies if rotation steps should be “rasterized” depening on the distance to the handle.
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/General16.html b/docs/js-api/index/General16.html index 65183e7df..972f7c3e9 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
 scaleGraph, mxPanningHandler
 scaleGrid, mxGraphHandler
 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
 sent, mxSession
 session, mxEditor
 SESSION
 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
 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
 setFillColor
 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
 setInvokesStopCellEditing, mxGraph
 setLineCap
 setLineJoin
 setLocation, mxWindow
 setLocked, mxGraph
 setMaximizable, mxWindow
 setMinimizable, mxWindow
 setMiterLimit
 setMode, mxEditor
 setModified
 setMoveEnabled, mxGraphHandler
 setMultigraph, mxGraph
 setOpacity, mxUtils
 setOrthogonalEdge, mxGraphLayout
 setPanning, mxGraph
 setPanningEnabled, mxPanningHandler
 setParent, mxCell
 setPortsEnabled, mxGraph
 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
 setShiftDownwards, mxSpaceManager
 setShiftRightwards, mxSpaceManager
 setSingleSelection, mxGraphSelectionModel
 setSize, mxWindow
 setSplitEnabled, mxGraph
 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_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
 sharedDiv, mxRubberband
 shiftCell, mxSpaceManager
 shiftDownwards, mxSpaceManager
 shiftKeys, mxKeyHandler
 shiftRightwards, mxSpaceManager
 shouldRemoveCellsFromParent, mxGraphHandler
 show
 SHOW
 showHelp, mxEditor
 showMenu, mxPopupMenu
 showOutline, mxEditor
 showProperties, mxEditor
 showSubmenu, mxPopupMenu
 showTasks, mxEditor
 showViewport, mxOutline
 SideToSide, mxEdgeStyle
 significant, mxUndoableEdit
 significantRemoteChanges, mxSession
 simulate, mxXmlRequest
 singleSelection, mxGraphSelectionModel
 singleSizer, mxVertexHandler
 size, mxUndoManager
 SIZE
 sizeDidChange, mxGraph
 sizerImage, mxOutline
 smartSeparators, mxPopupMenu
 snap
 snapToTerminals, mxEdgeHandler
 sortCells, mxUtils
 sortEdges, mxCompactTreeLayout
 sortOutgoingEdges, mxCompactTreeLayout
 source
 sourcePoint, mxGeometry
 SOURCESCANSTARTRANK
 spacing
 SPLIT_EDGE
 splitEdge, mxGraph
 splitEnabled, mxGraph
 src, mxImage
 start
 START
 START_EDIT
 START_EDITING
 startAnimation, mxAnimation
 startDrag, mxDragSource
 startEditing
 startEditingAtCell, mxGraph
 state
 states
 stateValidated, mxGraphView
 status, mxEditor
 stencil, mxShape
 stencilPointerEvents, mxShape
 step, mxMorphing
 steps, mxMorphing
 STEPSIZE, mxClipboard
 stop, mxSession
 stopAnimation, mxAnimation
 stopDrag, mxDragSource
 stopEditing
 stopRecursion, mxMorphing
 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_LABEL_BACKGROUNDCOLOR, mxConstants
 STYLE_LABEL_BORDERCOLOR, mxConstants
 STYLE_LABEL_PADDING, mxConstants
 STYLE_LABEL_POSITION, mxConstants
 STYLE_LOOP, mxConstants
 STYLE_MARGIN, mxConstants
 STYLE_MOVABLE, mxConstants
 STYLE_NOEDGESTYLE, mxConstants
 STYLE_NOLABEL, mxConstants
 STYLE_OPACITY, mxConstants
 STYLE_ORTHOGONAL, mxConstants
 STYLE_OVERFLOW, mxConstants
 STYLE_PERIMETER, mxConstants
 STYLE_PERIMETER_SPACING, mxConstants
 STYLE_PORT_CONSTRAINT, mxConstants
 STYLE_PORT_CONSTRAINT_ROTATION, mxConstants
 STYLE_RESIZABLE, 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_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_LINE, mxConstants
 STYLE_TARGET_PERIMETER_SPACING, mxConstants
 STYLE_TARGET_PORT, 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, mxSession
 SUSPEND
 suspended, mxOutline
 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
 scaleGraph, mxPanningHandler
 scaleGrid, mxGraphHandler
 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
 sent, mxSession
 session, mxEditor
 SESSION
 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
 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
 setFillColor
 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
 setInvokesStopCellEditing, mxGraph
 setLineCap
 setLineJoin
 setLocation, mxWindow
 setLocked, mxGraph
 setMaximizable, mxWindow
 setMinimizable, mxWindow
 setMiterLimit
 setMode, mxEditor
 setModified
 setMoveEnabled, mxGraphHandler
 setMultigraph, mxGraph
 setOpacity, mxUtils
 setOrthogonalEdge, mxGraphLayout
 setPanning, mxGraph
 setPanningEnabled, mxPanningHandler
 setParent, mxCell
 setPortsEnabled, mxGraph
 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
 setShiftDownwards, mxSpaceManager
 setShiftRightwards, mxSpaceManager
 setSingleSelection, mxGraphSelectionModel
 setSize, mxWindow
 setSplitEnabled, mxGraph
 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_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
 shiftCell, mxSpaceManager
 shiftDownwards, mxSpaceManager
 shiftKeys, mxKeyHandler
 shiftRightwards, mxSpaceManager
 shouldRemoveCellsFromParent, mxGraphHandler
 show
 SHOW
 showHelp, mxEditor
 showMenu, mxPopupMenu
 showOutline, mxEditor
 showProperties, mxEditor
 showSubmenu, mxPopupMenu
 showTasks, mxEditor
 showViewport, mxOutline
 SideToSide, mxEdgeStyle
 significant, mxUndoableEdit
 significantRemoteChanges, mxSession
 simulate, mxXmlRequest
 singleSelection, mxGraphSelectionModel
 singleSizer, mxVertexHandler
 size, mxUndoManager
 SIZE
 sizeDidChange, mxGraph
 sizerImage, mxOutline
 smartSeparators, mxPopupMenu
 snap
 snapToTerminals, mxEdgeHandler
 sortCells, mxUtils
 sortEdges, mxCompactTreeLayout
 sortOutgoingEdges, mxCompactTreeLayout
 source
 sourcePoint, mxGeometry
 SOURCESCANSTARTRANK
 spacing
 SPLIT_EDGE
 splitEdge, mxGraph
 splitEnabled, mxGraph
 src, mxImage
 start
 START
 START_EDIT
 START_EDITING
 startAnimation, mxAnimation
 startDrag, mxDragSource
 startEditing
 startEditingAtCell, mxGraph
 state
 states
 stateValidated, mxGraphView
 status, mxEditor
 stencil, mxShape
 stencilPointerEvents, mxShape
 step, mxMorphing
 steps, mxMorphing
 STEPSIZE, mxClipboard
 stop, mxSession
 stopAnimation, mxAnimation
 stopDrag, mxDragSource
 stopEditing
 stopRecursion, mxMorphing
 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_LABEL_BACKGROUNDCOLOR, mxConstants
 STYLE_LABEL_BORDERCOLOR, mxConstants
 STYLE_LABEL_PADDING, mxConstants
 STYLE_LABEL_POSITION, mxConstants
 STYLE_LOOP, mxConstants
 STYLE_MARGIN, mxConstants
 STYLE_MOVABLE, mxConstants
 STYLE_NOEDGESTYLE, mxConstants
 STYLE_NOLABEL, mxConstants
 STYLE_OPACITY, mxConstants
 STYLE_ORTHOGONAL, mxConstants
 STYLE_OVERFLOW, mxConstants
 STYLE_PERIMETER, mxConstants
 STYLE_PERIMETER_SPACING, mxConstants
 STYLE_PORT_CONSTRAINT, mxConstants
 STYLE_PORT_CONSTRAINT_ROTATION, mxConstants
 STYLE_RESIZABLE, 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_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_LINE, mxConstants
 STYLE_TARGET_PERIMETER_SPACING, mxConstants
 STYLE_TARGET_PORT, 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, mxSession
 SUSPEND
 suspended, mxOutline
 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.
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.
mxPanningHandler.prototype.scaleGraph = function(scale,
preview)
Handles pinch events on touch devices.
mxGraphHandler.prototype.scaleGrid
Specifies if the grid should be scaled.
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)
Send the request to the target URL using the specified functions to process the response asychronously.
mxSession.prototype.sent
Total number of sent bytes.
mxEditor.prototype.session
Holds a mxSession instance associated with this editor.
Fires when anything in the session has changed.
Specifies the event name for session.
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.
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.
mxSpaceManager.prototype.setEnabled = function(value)
Enables or disables event handling.
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.
mxAbstractCanvas2D.prototype.setFillColor = function(value)
Sets the current fill color.
mxXmlCanvas2D.prototype.setFillColor = function(value)
Sets the current fill color.
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.
mxSpaceManager.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.
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.
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.
mxCellEditor.prototype.setModified = function(value)
Sets modified to the specified boolean value.
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.
mxGraph.prototype.setPortsEnabled = function(value)
Specifies if the ports should be enabled.
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.
mxSpaceManager.prototype.setShiftDownwards = function(value)
Enables or disables event handling.
mxSpaceManager.prototype.setShiftRightwards = function(value)
Enables or disables event handling.
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.
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.
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 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.
mxRubberband.prototype.sharedDiv
Holds the DIV element which is used to display the rubberband.
mxSpaceManager.prototype.shiftCell = function(cell,
dx,
dy,
Ox0,
y0,
right,
bottom,
fx,
fy,
extendParent)
Called from moveCellsIntoParent to invoke the move hook in the automatic layout of each modified cell’s parent.
mxSpaceManager.prototype.shiftDownwards
Specifies if event handling is enabled.
mxKeyHandler.prototype.shiftKeys
Maps from keycodes to functions for pressed shift keys.
mxSpaceManager.prototype.shiftRightwards
Specifies if event handling is enabled.
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.
mxSession.prototype.significantRemoteChanges
Whether remote changes should be significant in the local command history.
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.
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.
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.
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.
mxSession.prototype.start = function()
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.
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.
mxSession.prototype.stop = function(reason)
Stops the session and fires a disconnect event.
mxAnimation.prototype.stopAnimation = function()
Stops the animation by deleting the timer and fires an mxEvent.DONE.
mxDragSource.prototype.stopDrag = function(evt)
Removes and destroys the dragElement.
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.
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.
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 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 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 overflow style.
Defines the key for the perimeter style.
Defines the key for the perimeter spacing.
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 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 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 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 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.
mxSession.prototype.suspend = function()
Suspends the polling.
Specifies the event name for suspend.
Fires after suspend was called an the session was not already in suspended state.
mxOutline.prototype.suspended
Optional boolean flag to suspend updates.
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.
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.
mxPanningHandler.prototype.scaleGraph = function(scale,
preview)
Handles pinch events on touch devices.
mxGraphHandler.prototype.scaleGrid
Specifies if the grid should be scaled.
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)
Send the request to the target URL using the specified functions to process the response asychronously.
mxSession.prototype.sent
Total number of sent bytes.
mxEditor.prototype.session
Holds a mxSession instance associated with this editor.
Fires when anything in the session has changed.
Specifies the event name for session.
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.
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.
mxSpaceManager.prototype.setEnabled = function(value)
Enables or disables event handling.
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.
mxAbstractCanvas2D.prototype.setFillColor = function(value)
Sets the current fill color.
mxXmlCanvas2D.prototype.setFillColor = function(value)
Sets the current fill color.
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.
mxSpaceManager.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.
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.
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.
mxCellEditor.prototype.setModified = function(value)
Sets modified to the specified boolean value.
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.
mxGraph.prototype.setPortsEnabled = function(value)
Specifies if the ports should be enabled.
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.
mxSpaceManager.prototype.setShiftDownwards = function(value)
Enables or disables event handling.
mxSpaceManager.prototype.setShiftRightwards = function(value)
Enables or disables event handling.
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.
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.
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 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.
mxSpaceManager.prototype.shiftCell = function(cell,
dx,
dy,
Ox0,
y0,
right,
bottom,
fx,
fy,
extendParent)
Called from moveCellsIntoParent to invoke the move hook in the automatic layout of each modified cell’s parent.
mxSpaceManager.prototype.shiftDownwards
Specifies if event handling is enabled.
mxKeyHandler.prototype.shiftKeys
Maps from keycodes to functions for pressed shift keys.
mxSpaceManager.prototype.shiftRightwards
Specifies if event handling is enabled.
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.
mxSession.prototype.significantRemoteChanges
Whether remote changes should be significant in the local command history.
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.
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.
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.
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.
mxSession.prototype.start = function()
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.
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.
mxSession.prototype.stop = function(reason)
Stops the session and fires a disconnect event.
mxAnimation.prototype.stopAnimation = function()
Stops the animation by deleting the timer and fires an mxEvent.DONE.
mxDragSource.prototype.stopDrag = function(evt)
Removes and destroys the dragElement.
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.
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.
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 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 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 overflow style.
Defines the key for the perimeter style.
Defines the key for the perimeter spacing.
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 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 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 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 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.
mxSession.prototype.suspend = function()
Suspends the polling.
Specifies the event name for suspend.
Fires after suspend was called an the session was not already in suspended state.
mxOutline.prototype.suspended
Optional boolean flag to suspend updates.
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 56e92144b..48cca0092 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
 targetPoint, mxGeometry
 tasks, mxEditor
 tasksResource, mxEditor
 tasksTop, mxEditor
 tasksWindowImage, mxEditor
 temp, mxGraphAbstractHierarchyCell
 temperature, mxFastOrganicLayout
 template, mxObjectCodec
 templates, mxEditor
 Templates, mxEditor
 terminalDistance, mxCellState
 terminalForCellChanged, mxGraphModel
 text
 textarea, mxCellEditor
 textEnabled
 textNode, mxCellEditor
 thread, mxAnimation
 tightenToSource
 timerAutoScroll, mxGraph
 title
 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
 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
 targetPoint, mxGeometry
 tasks, mxEditor
 tasksResource, mxEditor
 tasksTop, mxEditor
 tasksWindowImage, mxEditor
 temp, mxGraphAbstractHierarchyCell
 temperature, mxFastOrganicLayout
 template, mxObjectCodec
 templates, mxEditor
 Templates, mxEditor
 terminalDistance, mxCellState
 terminalForCellChanged, mxGraphModel
 text
 textarea, mxCellEditor
 textEnabled
 textNode, mxCellEditor
 thread, mxAnimation
 tightenToSource
 timerAutoScroll, mxGraph
 title
 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
 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.
mxGeometry.prototype.targetPoint
Defines the target mxPoint of the edge.
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)
Paints the given text.
mxVmlCanvas2D.prototype.text = function(x,
y,
w,
h,
str,
align,
valign,
wrap,
format,
overflow,
clip,
rotation)
Paints the given text.
mxXmlCanvas2D.prototype.text = function(x,
y,
w,
h,
str,
align,
valign,
wrap,
format,
overflow,
clip,
rotation)
Paints the given text.
mxCellEditor.prototype.textarea
Holds the input textarea.
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.
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.
mxGraph.prototype.timerAutoScroll
Specifies if timer-based autoscrolling should be used via mxPanningManager.
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.
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.
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.
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)
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
X-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.
mxGeometry.prototype.targetPoint
Defines the target mxPoint of the edge.
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)
Paints the given text.
mxVmlCanvas2D.prototype.text = function(x,
y,
w,
h,
str,
align,
valign,
wrap,
format,
overflow,
clip,
rotation)
Paints the given text.
mxXmlCanvas2D.prototype.text = function(x,
y,
w,
h,
str,
align,
valign,
wrap,
format,
overflow,
clip,
rotation)
Paints the given text.
mxCellEditor.prototype.textarea
Holds the input textarea.
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.
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.
mxGraph.prototype.timerAutoScroll
Specifies if timer-based autoscrolling should be used via mxPanningManager.
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.
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.
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.
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)
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
X-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 1b699445a..536f1a29d 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
 UP
 update
 UPDATE_CELL_SIZE
 updateAlternateBounds, mxGraph
 updateAnimation
 updateBaseUrl, mxUrlConverter
 updateBoundingBox
 updateBoundsFromPoints, mxShape
 updateCellSize, mxGraph
 updateCellState, mxGraphView
 updateContainerStyle, mxGraphView
 updateCurrentState, mxConnectionHandler
 updateCursor, mxGraphHandler
 updateDefaultMode, mxToolbar
 updateEdgeBounds, mxGraphView
 updateEdgeLabelOffset, mxGraphView
 updateEdgeParent, mxGraphModel
 updateEdgeParents, mxGraphModel
 updateEdgeState, mxGraphView
 updateFill, mxSvgCanvas2D
 updateFixedTerminalPoint, mxGraphView
 updateFixedTerminalPoints, mxGraphView
 updateFloatingTerminalPoint, mxGraphView
 updateFloatingTerminalPoints, mxGraphView
 updateFont
 updateGroupBounds
 updateHandler, mxLayoutManager
 updateHtmlCanvasSize, mxGraphView
 updateHtmlFilter, mxText
 updateHtmlFilters, mxShape
 updateHtmlTransform, mxText
 updateIcons, mxConnectionHandler
 updateLevel, mxGraphModel
 updateMinBounds, mxVertexHandler
 updateMouseEvent, mxGraph
 updateOnPan, mxOutline
 updatePageBreaks, mxGraph
 updatePoints, mxGraphView
 updatePreviewShape, mxGraphHandler
 updatePreviewState, mxEdgeHandler
 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
 urlInit
 urlNotify
 urlPoll
 urlPost, mxEditor
 useBoundingBox, mxGraphLayout
 useGrid, mxPanningHandler
 useGuidesForEvent, mxGraphHandler
 useInputOrigin, mxFastOrganicLayout
 useLeftButtonForPanning, mxPanningHandler
 useLeftButtonForPopup, mxPopupMenu
 usePopupTrigger, mxPanningHandler
 username, mxXmlRequest
 useScrollbarsForPanning, 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
U
 undo
 UNDO
 undoableEditHappened, mxUndoManager
 undoManager, mxEditor
 undone, mxUndoableEdit
 UNGROUP_CELLS
 ungroupCells, mxGraph
 union, mxVertexHandler
 unmark, mxCellMarker
 UP
 update
 UPDATE_CELL_SIZE
 updateAlternateBounds, mxGraph
 updateAnimation
 updateBaseUrl, mxUrlConverter
 updateBoundingBox
 updateBoundsFromPoints, mxShape
 updateCellSize, mxGraph
 updateCellState, mxGraphView
 updateContainerStyle, mxGraphView
 updateCurrentState, mxConnectionHandler
 updateCursor, mxGraphHandler
 updateDefaultMode, mxToolbar
 updateEdgeBounds, mxGraphView
 updateEdgeLabelOffset, mxGraphView
 updateEdgeParent, mxGraphModel
 updateEdgeParents, mxGraphModel
 updateEdgeState, mxGraphView
 updateFill, mxSvgCanvas2D
 updateFixedTerminalPoint, mxGraphView
 updateFixedTerminalPoints, mxGraphView
 updateFloatingTerminalPoint, mxGraphView
 updateFloatingTerminalPoints, mxGraphView
 updateFont
 updateGroupBounds
 updateHandler, mxLayoutManager
 updateHtmlCanvasSize, mxGraphView
 updateHtmlFilter, mxText
 updateHtmlFilters, mxShape
 updateHtmlTransform, mxText
 updateIcons, mxConnectionHandler
 updateLevel, mxGraphModel
 updateMinBounds, mxVertexHandler
 updateMouseEvent, mxGraph
 updateOnPan, mxOutline
 updatePageBreaks, mxGraph
 updatePoints, mxGraphView
 updatePreviewShape, mxGraphHandler
 updatePreviewState, mxEdgeHandler
 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
 urlInit
 urlNotify
 urlPoll
 urlPost, mxEditor
 useBoundingBox, mxGraphLayout
 useGrid, mxPanningHandler
 useGuidesForEvent, mxGraphHandler
 useInputOrigin, mxFastOrganicLayout
 useLeftButtonForPanning, mxPanningHandler
 useLeftButtonForPopup, mxPopupMenu
 usePopupTrigger, mxPanningHandler
 username, mxXmlRequest
 useScrollbarsForPanning, mxGraph
-
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)
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.
Specifies the event name for up.
Fire if the current root is changed by executing an mxCurrentRootChange.
mxConstraintHandler.prototype.update = function(me,
source)
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.
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.
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)
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 ove 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.
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)
Updates the bounds of the given array of groups so that it includes all child vertices.
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.
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.updateMinBounds = function()
Initializes the shapes required for this vertex handler.
mxGraph.prototype.updateMouseEvent = function(me)
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.
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.
mxEdgeHandler.prototype.updatePreviewState = function(edge,
point,
terminalState)
Updates the given preview state taking into account the state of the constraint handler.
mxText.prototype.updateSize = function(node)
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.urlInit
Specifies the URL to be used for initializing the session.
mxSession.prototype.urlInit
URL to initialize the session.
mxEditor.prototype.urlNotify
Specifies the URL to be used for notifying the backend in the session.
mxSession.prototype.urlNotify
URL to send changes to the backend.
mxEditor.prototype.urlPoll
Specifies the URL to be used for polling in the session.
mxSession.prototype.urlPoll
URL for polling the backend.
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.
+
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)
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.
Specifies the event name for up.
Fire if the current root is changed by executing an mxCurrentRootChange.
mxConstraintHandler.prototype.update = function(me,
source)
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.
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.
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)
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 ove 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.
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)
Updates the bounds of the given array of groups so that it includes all child vertices.
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.
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.updateMinBounds = function()
Initializes the shapes required for this vertex handler.
mxGraph.prototype.updateMouseEvent = function(me)
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.
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.
mxEdgeHandler.prototype.updatePreviewState = function(edge,
point,
terminalState)
Updates the given preview state taking into account the state of the constraint handler.
mxText.prototype.updateSize = function(node)
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.urlInit
Specifies the URL to be used for initializing the session.
mxSession.prototype.urlInit
URL to initialize the session.
mxEditor.prototype.urlNotify
Specifies the URL to be used for notifying the backend in the session.
mxSession.prototype.urlNotify
URL to send changes to the backend.
mxEditor.prototype.urlPoll
Specifies the URL to be used for polling in the session.
mxSession.prototype.urlPoll
URL for polling the backend.
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.
diff --git a/docs/js-api/index/General19.html b/docs/js-api/index/General19.html index c1be102cb..e62550bd0 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
 validateCellStates, 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
MedianCellSortermxAbstractCanvas2DmxAnimationmxAutoSaveManagermxCellmxCellEditormxCellHighlightmxCellMarkermxCellOverlaymxCellPathmxCellRenderermxCellStatemxCellStatePreviewmxCircleLayoutmxClientmxClipboardmxCodecmxCodecRegistrymxCompactTreeLayoutmxCompositeLayoutmxConnectionConstraintmxConstantsmxConstraintHandlermxCoordinateAssignmentmxCylindermxDefaultKeyHandlermxDefaultPopupMenumxDefaultToolbarmxDoubleEllipsemxDragSourcemxEdgeHandlermxElbowEdgeHandlermxEventmxEventObjectmxEventSourcemxFastOrganicLayoutmxFormmxGeometrymxGraphmxGraphAbstractHierarchyCellmxGraphHandlermxGraphHierarchyEdgemxGraphHierarchyModelmxGraphHierarchyNodemxGraphLayoutmxGraphModelmxGraphSelectionModelmxGraphViewmxGuidemxHierarchicalLayoutmxImagemxImageBundlemxImageExportmxImageShapemxKeyHandlermxLabelmxLayoutManagermxLogmxMarkermxMedianHybridCrossingReductionmxMinimumCycleRemovermxMorphingmxMouseEventmxMultiplicitymxObjectCodecmxObjectIdentitymxOutlinemxPanningHandlermxPanningManagermxParallelEdgeLayoutmxPartitionLayoutmxPointmxPopupMenumxPopupMenuHandlermxPrintPreviewmxRectanglemxResourcesmxRubberbandmxSessionmxShapemxSpaceManagermxStackLayoutmxStencilmxStyleRegistrymxSvgCanvas2DmxSwimlanemxSwimlaneLayoutmxSwimlaneManagermxSwimlaneModelmxSwimlaneOrderingmxTemporaryCellStatesmxTextmxToolbarmxTooltipHandlermxUndoableEditmxUndoManagermxUrlConvertermxUtilsmxVertexHandlermxVmlCanvas2DmxWindowmxXmlCanvas2DmxXmlRequestWeightedCellSorter
 VERSION, mxClient
 vertex, mxCell
 VERTEX_SELECTION_COLOR, mxConstants
 VERTEX_SELECTION_STROKEWIDTH, mxConstants
 vertexArray, mxFastOrganicLayout
 vertexLabelsMovable, mxGraph
 vertexMapper
 vertical, mxGuide
 verticalAlign, mxCellOverlay
 verticalLayout, mxCompactTreeLayout
 verticalTextRotation, mxText
 view
 visible
 visibleSourceState, mxCellState
 visibleStateForCellChanged, mxGraphModel
 visibleTargetState, mxCellState
 visit
 visited, WeightedCellSorter
 VML_PREFIX, mxClient
 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
 validateCellStates, 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
MedianCellSortermxAbstractCanvas2DmxAnimationmxAutoSaveManagermxCellmxCellEditormxCellHighlightmxCellMarkermxCellOverlaymxCellPathmxCellRenderermxCellStatemxCellStatePreviewmxCircleLayoutmxClientmxClipboardmxCodecmxCodecRegistrymxCompactTreeLayoutmxCompositeLayoutmxConnectionConstraintmxConstantsmxConstraintHandlermxCoordinateAssignmentmxCylindermxDefaultKeyHandlermxDefaultPopupMenumxDefaultToolbarmxDoubleEllipsemxDragSourcemxEdgeHandlermxElbowEdgeHandlermxEventmxEventObjectmxEventSourcemxFastOrganicLayoutmxFormmxGeometrymxGraphmxGraphAbstractHierarchyCellmxGraphHandlermxGraphHierarchyEdgemxGraphHierarchyModelmxGraphHierarchyNodemxGraphLayoutmxGraphModelmxGraphSelectionModelmxGraphViewmxGuidemxHierarchicalLayoutmxImagemxImageBundlemxImageExportmxImageShapemxKeyHandlermxLabelmxLayoutManagermxLogmxMarkermxMedianHybridCrossingReductionmxMinimumCycleRemovermxMorphingmxMouseEventmxMultiplicitymxObjectCodecmxObjectIdentitymxOutlinemxPanningHandlermxPanningManagermxParallelEdgeLayoutmxPartitionLayoutmxPointmxPopupMenumxPopupMenuHandlermxPrintPreviewmxRectanglemxResourcesmxRubberbandmxSessionmxShapemxSpaceManagermxStackLayoutmxStencilmxStyleRegistrymxSvgCanvas2DmxSwimlanemxSwimlaneLayoutmxSwimlaneManagermxSwimlaneModelmxSwimlaneOrderingmxTemporaryCellStatesmxTextmxToolbarmxTooltipHandlermxUndoableEditmxUndoManagermxUrlConvertermxUtilsmxVertexHandlermxVmlCanvas2DmxWindowmxXmlCanvas2DmxXmlRequestWeightedCellSorter
 VERSION, mxClient
 vertex, mxCell
 VERTEX_SELECTION_COLOR, mxConstants
 VERTEX_SELECTION_STROKEWIDTH, mxConstants
 vertexArray, mxFastOrganicLayout
 vertexLabelsMovable, mxGraph
 vertexMapper
 vertical, mxGuide
 verticalAlign, mxCellOverlay
 verticalLayout, mxCompactTreeLayout
 verticalTextRotation, mxText
 view
 visible
 visibleSourceState, mxCellState
 visibleStateForCellChanged, mxGraphModel
 visibleTargetState, mxCellState
 visit
 visited, WeightedCellSorter
 VML_PREFIX, mxClient
 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.
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)
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.
mxCell.prototype.visible
Specifies whether the cell 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.
WeightedCellSorter.prototype.visited
Whether or not this cell has been visited in the current assignment.
Prefix for VML namespace in node names.
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.
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)
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.
mxCell.prototype.visible
Specifies whether the cell 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.
WeightedCellSorter.prototype.visited
Whether or not this cell has been visited in the current assignment.
Prefix for VML namespace in node names.
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/General2.html b/docs/js-api/index/General2.html index 0c5fd8f24..b9204d197 100644 --- a/docs/js-api/index/General2.html +++ b/docs/js-api/index/General2.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
B
 Backend Integration, mxEditor
 backgroundImage, mxGraph
 baseDomain, mxUrlConverter
 basePath, mxClient
 baseSpacingBottom, mxText
 baseSpacingLeft, mxText
 baseSpacingRight, mxText
 baseSpacingTop, mxText
 baseUrl, mxUrlConverter
 BEFORE_ADD_VERTEX
 BEFORE_UNDO
 beforeDecode
 beforeEncode, mxObjectCodec
 beforeUndo, mxLayoutManager
 begin
 BEGIN_UPDATE
 beginUpdate, mxGraphModel
 bends, mxEdgeHandler
 bgNodes, mxStencil
 binary, mxXmlRequest
 bind, mxUtils
 bindAction, mxDefaultKeyHandler
 bindControlKey, mxKeyHandler
 bindControlShiftKey, mxKeyHandler
 bindKey, mxKeyHandler
 bindShiftKey, mxKeyHandler
 blockImagePointerEvents, mxSvgCanvas2D
 body, mxForm
 border
 borderCollapse, mxStackLayout
 borderColor, mxPrintPreview
 boundingBox, mxShape
 bounds, mxShape
 br, mxUtils
 bridge, mxCompactTreeLayout
 bubbling, mxLayoutManager
 buffer, mxLog
 button, 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
B
 Backend Integration, mxEditor
 backgroundImage, mxGraph
 baseDomain, mxUrlConverter
 basePath, mxClient
 baseSpacingBottom, mxText
 baseSpacingLeft, mxText
 baseSpacingRight, mxText
 baseSpacingTop, mxText
 baseUrl, mxUrlConverter
 BEFORE_ADD_VERTEX
 BEFORE_UNDO
 beforeDecode
 beforeEncode, mxObjectCodec
 beforeUndo, mxLayoutManager
 begin
 BEGIN_UPDATE
 beginUpdate, mxGraphModel
 bends, mxEdgeHandler
 bgNodes, mxStencil
 binary, mxXmlRequest
 bind, mxUtils
 bindAction, mxDefaultKeyHandler
 bindControlKey, mxKeyHandler
 bindControlShiftKey, mxKeyHandler
 bindKey, mxKeyHandler
 bindShiftKey, mxKeyHandler
 blockImagePointerEvents, mxSvgCanvas2D
 body, mxForm
 border
 borderCollapse, mxStackLayout
 borderColor, mxPrintPreview
 boundingBox, mxShape
 bounds, mxShape
 br, mxUtils
 bridge, mxCompactTreeLayout
 bubbling, mxLayoutManager
 buffer, mxLog
 button, mxUtils
-
mxGraph.prototype.backgroundImage
Specifies the mxImage to be returned by getBackgroundImage.
mxUrlConverter.prototype.baseDomain
Specifies the base domain to be used as a prefix for absolute URLs.
Basepath for all URLs in the core without trailing slash.
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.baseSpacingTop
Specifies the spacing to be added to the top spacing.
mxUrlConverter.prototype.baseUrl
Specifies the base URL to be used as a prefix for relative URLs.
Fires before a vertex is added in addVertex.
Specifies the event name for beforeAddVertex.
Specifies the event name for beforeUndo.
Fires before the change is dispatched after the update level has reached 0 in endUpdate.
codec.beforeDecode = function(dec,
node,
obj)
Decodes an mxCell and uses the enclosing XML node as the user object for the cell (inversion).
codec.beforeDecode = function(dec,
node,
obj)
Decodes the any child nodes as using the respective codec from the registry.
Decodes the ui-part of the configuration node by reading a sequence of the following child nodes and attributes and passes the control to the default decoding mechanism:
mxObjectCodec.prototype.beforeDecode = function(dec,
node,
obj)
Hook for subclassers to pre-process the node for the specified object and return the node to be used for further processing by decode.
codec.beforeDecode = function(dec,
node,
obj)
Decodes the optional children as cells using the respective decoder.
mxObjectCodec.prototype.beforeEncode = function(enc,
obj,
node)
Hook for subclassers to pre-process the object before encoding.
mxLayoutManager.prototype.beforeUndo = function(undoableEdit)
Called from the undoHandler.
mxAbstractCanvas2D.prototype.begin = function()
Starts a new path.
mxSvgCanvas2D.prototype.begin = function()
Extends superclass to create path.
mxVmlCanvas2D.prototype.begin = function()
Extends superclass to create path.
mxXmlCanvas2D.prototype.begin = function()
Starts a new path and puts it into the drawing buffer.
Specifies the event name for beginUpdate.
Fires after the updateLevel was incremented in beginUpdate.
mxGraphModel.prototype.beginUpdate = function()
Increments the updateLevel by one.
mxEdgeHandler.prototype.bends
Holds the mxShapes that represent the points.
Holds the XML node with the stencil description.
mxXmlRequest.prototype.binary
Boolean indicating if the request is binary.
bind: function(scope,
funct)
Returns a wrapper function that locks the execution scope of the given function to the specified scope.
mxDefaultKeyHandler.prototype.bindAction = function (code,
action,
control)
Binds the specified keycode to the given action in editor.
mxKeyHandler.prototype.bindControlKey = function(code,
funct)
Binds the specified keycode to the given function.
mxKeyHandler.prototype.bindControlShiftKey = function(code,
funct)
Binds the specified keycode to the given function.
mxKeyHandler.prototype.bindKey = function(code,
funct)
Binds the specified keycode to the given function.
mxKeyHandler.prototype.bindShiftKey = function(code,
funct)
Binds the specified keycode to the given function.
mxSvgCanvas2D.prototype.blockImagePointerEvents
Specifies if a transparent rectangle should be added on top of images to absorb all pointer events.
mxForm.prototype.body
Holds the DOM node that represents the tbody (table body).
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.
mxOutline.prototype.border
Border to be added at the bottom and right.
mxPanningManager.prototype.border
Border to handle automatic panning inside the component.
mxPartitionLayout.prototype.border
Integer that specifies the absolute inset in pixels for the parent that contains the children.
mxPrintPreview.prototype.border
The border inset around each side of every page in the preview.
mxStackLayout.prototype.border
Border to be added if fill is true.
mxStackLayout.prototype.borderCollapse
If the strokeWidth should be ignored.
mxPrintPreview.prototype.borderColor
Holds the color value for the page border.
mxShape.prototype.boundingBox
Contains the bounding box of the shape, that is, the smallest rectangle that includes all pixels of the shape.
mxShape.prototype.bounds
Holds the mxRectangle that specifies the bounds of this shape.
br: function(parent,
count)
Appends a linebreak to the given parent and returns the linebreak.
mxCompactTreeLayout.prototype.bridge = function(line1,
x1,
y1,
line2,
x2,
y2)
mxLayoutManager.prototype.bubbling
Specifies if the layout should bubble along the cell hierarchy.
Buffer for pre-initialized content.
button: function(label,
funct,
doc)
Returns a new button with the given level and function as an onclick event handler.
+
mxGraph.prototype.backgroundImage
Specifies the mxImage to be returned by getBackgroundImage.
mxUrlConverter.prototype.baseDomain
Specifies the base domain to be used as a prefix for absolute URLs.
Basepath for all URLs in the core without trailing slash.
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.baseSpacingTop
Specifies the spacing to be added to the top spacing.
mxUrlConverter.prototype.baseUrl
Specifies the base URL to be used as a prefix for relative URLs.
Fires before a vertex is added in addVertex.
Specifies the event name for beforeAddVertex.
Specifies the event name for beforeUndo.
Fires before the change is dispatched after the update level has reached 0 in endUpdate.
codec.beforeDecode = function(dec,
node,
obj)
Decodes an mxCell and uses the enclosing XML node as the user object for the cell (inversion).
codec.beforeDecode = function(dec,
node,
obj)
Decodes the any child nodes as using the respective codec from the registry.
Decodes the ui-part of the configuration node by reading a sequence of the following child nodes and attributes and passes the control to the default decoding mechanism:
mxObjectCodec.prototype.beforeDecode = function(dec,
node,
obj)
Hook for subclassers to pre-process the node for the specified object and return the node to be used for further processing by decode.
codec.beforeDecode = function(dec,
node,
obj)
Decodes the optional children as cells using the respective decoder.
mxObjectCodec.prototype.beforeEncode = function(enc,
obj,
node)
Hook for subclassers to pre-process the object before encoding.
mxLayoutManager.prototype.beforeUndo = function(undoableEdit)
Called from the undoHandler.
mxAbstractCanvas2D.prototype.begin = function()
Starts a new path.
mxSvgCanvas2D.prototype.begin = function()
Extends superclass to create path.
mxVmlCanvas2D.prototype.begin = function()
Extends superclass to create path.
mxXmlCanvas2D.prototype.begin = function()
Starts a new path and puts it into the drawing buffer.
Specifies the event name for beginUpdate.
Fires after the updateLevel was incremented in beginUpdate.
mxGraphModel.prototype.beginUpdate = function()
Increments the updateLevel by one.
mxEdgeHandler.prototype.bends
Holds the mxShapes that represent the points.
Holds the XML node with the stencil description.
mxXmlRequest.prototype.binary
Boolean indicating if the request is binary.
bind: function(scope,
funct)
Returns a wrapper function that locks the execution scope of the given function to the specified scope.
mxDefaultKeyHandler.prototype.bindAction = function (code,
action,
control)
Binds the specified keycode to the given action in editor.
mxKeyHandler.prototype.bindControlKey = function(code,
funct)
Binds the specified keycode to the given function.
mxKeyHandler.prototype.bindControlShiftKey = function(code,
funct)
Binds the specified keycode to the given function.
mxKeyHandler.prototype.bindKey = function(code,
funct)
Binds the specified keycode to the given function.
mxKeyHandler.prototype.bindShiftKey = function(code,
funct)
Binds the specified keycode to the given function.
mxSvgCanvas2D.prototype.blockImagePointerEvents
Specifies if a transparent rectangle should be added on top of images to absorb all pointer events.
mxForm.prototype.body
Holds the DOM node that represents the tbody (table body).
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.
mxOutline.prototype.border
Border to be added at the bottom and right.
mxPanningManager.prototype.border
Border to handle automatic panning inside the component.
mxPartitionLayout.prototype.border
Integer that specifies the absolute inset in pixels for the parent that contains the children.
mxPrintPreview.prototype.border
The border inset around each side of every page in the preview.
mxStackLayout.prototype.border
Border to be added if fill is true.
mxStackLayout.prototype.borderCollapse
If the strokeWidth should be ignored.
mxPrintPreview.prototype.borderColor
Holds the color value for the page border.
mxShape.prototype.boundingBox
Contains the bounding box of the shape, that is, the smallest rectangle that includes all pixels of the shape.
mxShape.prototype.bounds
Holds the mxRectangle that specifies the bounds of this shape.
br: function(parent,
count)
Appends a linebreak to the given parent and returns the linebreak.
mxCompactTreeLayout.prototype.bridge = function(line1,
x1,
y1,
line2,
x2,
y2)
mxLayoutManager.prototype.bubbling
Specifies if the layout should bubble along the cell hierarchy.
Buffer for pre-initialized content.
button: function(label,
funct,
doc)
Returns a new button with the given level and function as an onclick event handler.
diff --git a/docs/js-api/index/General20.html b/docs/js-api/index/General20.html index a5f8a5f7f..dc5001778 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
 wrap, mxStackLayout
 write
 writeAttribute, mxObjectCodec
 writeComplexAttribute, mxObjectCodec
 writeDefaults, mxXmlCanvas2D
 writeGraphModel, mxEditor
 writeHead, mxPrintPreview
 writeln
 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
 wrap, mxStackLayout
 write
 writeAttribute, mxObjectCodec
 writeComplexAttribute, mxObjectCodec
 writeDefaults, mxXmlCanvas2D
 writeGraphModel, mxEditor
 writeHead, mxPrintPreview
 writeln
 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.
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.
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.
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.
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.
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.
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 8b7d4276b..70a1ddd3c 100644 --- a/docs/js-api/index/General3.html +++ b/docs/js-api/index/General3.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
C
 calcAttraction, mxFastOrganicLayout
 calcPositions, mxFastOrganicLayout
 calcRepulsion, mxFastOrganicLayout
 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
 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
 centerZoom, mxGraph
 CHANGE
 changeHandler
 changePoints
 changes, mxUndoableEdit
 changeSelection, mxGraphSelectionModel
 changeTerminalPoint, mxEdgeHandler
 channelBuffer
 check, mxMultiplicity
 checkBounds
 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
 codec, mxSession
 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
 connected, mxSession
 connectIconOffset, mxConnectionHandler
 connectImage, mxConnectionHandler
 connectOnDrop
 connectsAsSource, mxGraphHierarchyNode
 connectsAsTarget, mxGraphHierarchyNode
 consoleName, mxLog
 constrainChild, mxGraph
 constrainChildCells, mxGraph
 constrainChildren, mxGraph
 constrainChildrenOnResize, mxGraph
 constrainGroupByChildren, mxVertexHandler
 constraintHandler
 constraints, mxStencil
 consume
 consumeCycleAttribute, mxEditor
 consumed
 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
 convertPoint
 convertValueToString, mxGraph
 convertWaypoint, mxConnectionHandler
 copy, mxClipboard
 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
 createControl, mxCellRenderer
 createDashPattern, mxSvgCanvas2D
 createDefaultEdgeStyle, mxStylesheet
 createDefaultVertexStyle, mxStylesheet
 createDiagramLayout, mxEditor
 createDiv, mxSvgCanvas2D
 createDragElement, mxDragSource
 createEdge
 createEdgeState, mxConnectionHandler
 createElement
 createFill, mxVmlCanvas2D
 createGradientId, mxSvgCanvas2D
 createGraph, mxEditor
 createGraphView, mxGraph
 createGroup, mxEditor
 createGroupCell, mxGraph
 createGuideShape, mxGuide
 createHandler, mxGraph
 createHandlers, mxGraph
 createHandleShape, mxEdgeHandler
 createHtml
 createHtmlPane, mxGraphView
 createIcons, mxConnectionHandler
 createId, mxGraphModel
 createIds, mxGraphModel
 createImage, mxUtils
 createIndicatorShape, mxCellRenderer
 createInternalCells
 createLabel, mxCellRenderer
 createLayoutManager, mxEditor
 createLine, mxCompactTreeLayout
 createMarker
 createMenu, mxDefaultPopupMenu
 createNode, mxCompactTreeLayout
 createPageSelector, mxPrintPreview
 createPanningManager, mxGraph
 createPopupMenu, mxEditor
 createPreviewElement, mxDragSource
 createPreviewShape, mxGraphHandler
 createProperties, mxEditor
 createRect, mxVmlCanvas2D
 createRoot, mxGraphModel
 createSelectionModel, mxGraph
 createSelectionShape
 createSession, mxEditor
 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
 createTextDiv, mxCellEditor
 createTolerance, mxSvgCanvas2D
 createToolbar, mxEditor
 createTransparentFill, mxVmlCanvas2D
 createUndoableEdit
 createUrlConverter, mxAbstractCanvas2D
 createVertex, mxGraph
 createVirtualBend, mxElbowEdgeHandler
 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, mxCellOverlay
 CURSOR_BEND_HANDLE, mxConstants
 CURSOR_CONNECT, mxConstants
 CURSOR_LABEL_HANDLE, mxConstants
 CURSOR_MOVABLE_EDGE, mxConstants
 CURSOR_MOVABLE_VERTEX, mxConstants
 curveOp
 curveTo
 cut, mxClipboard
 cycleAttribute, mxEditor
 cycleAttributeIndex, mxEditor
 cycleAttributeName, mxEditor
 cycleAttributeValues, mxEditor
 cycleStage
+
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
 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
 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
 centerZoom, mxGraph
 CHANGE
 changeHandler
 changePoints
 changes, mxUndoableEdit
 changeSelection, mxGraphSelectionModel
 changeTerminalPoint, mxEdgeHandler
 channelBuffer
 check, mxMultiplicity
 checkBounds
 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
 codec, mxSession
 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
 connected, mxSession
 connectIconOffset, mxConnectionHandler
 connectImage, mxConnectionHandler
 connectOnDrop
 connectsAsSource, mxGraphHierarchyNode
 connectsAsTarget, mxGraphHierarchyNode
 consoleName, mxLog
 constrainChild, mxGraph
 constrainChildCells, mxGraph
 constrainChildren, mxGraph
 constrainChildrenOnResize, mxGraph
 constrainGroupByChildren, mxVertexHandler
 constraintHandler
 constraints, mxStencil
 consume
 consumeCycleAttribute, mxEditor
 consumed
 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
 convertPoint
 convertValueToString, mxGraph
 convertWaypoint, mxConnectionHandler
 copy, mxClipboard
 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
 createControl, mxCellRenderer
 createDashPattern, mxSvgCanvas2D
 createDefaultEdgeStyle, mxStylesheet
 createDefaultVertexStyle, mxStylesheet
 createDiagramLayout, mxEditor
 createDiv, mxSvgCanvas2D
 createDragElement, mxDragSource
 createEdge
 createEdgeState, mxConnectionHandler
 createElement
 createFill, mxVmlCanvas2D
 createGradientId, mxSvgCanvas2D
 createGraph
 createGraphView, mxGraph
 createGroup, mxEditor
 createGroupCell, mxGraph
 createGuideShape, mxGuide
 createHandler, mxGraph
 createHandlers, mxGraph
 createHandleShape, mxEdgeHandler
 createHtml
 createHtmlPane, mxGraphView
 createIcons, mxConnectionHandler
 createId, mxGraphModel
 createIds, mxGraphModel
 createImage, mxUtils
 createIndicatorShape, mxCellRenderer
 createInternalCells
 createLabel, mxCellRenderer
 createLayoutManager, mxEditor
 createLine, mxCompactTreeLayout
 createMarker
 createMenu, mxDefaultPopupMenu
 createNode, mxCompactTreeLayout
 createPageSelector, mxPrintPreview
 createPanningManager, mxGraph
 createPopupMenu, mxEditor
 createPreviewElement, mxDragSource
 createPreviewShape, mxGraphHandler
 createProperties, mxEditor
 createRect, mxVmlCanvas2D
 createRoot, mxGraphModel
 createSelectionModel, mxGraph
 createSelectionShape
 createSession, mxEditor
 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
 createTextDiv, mxCellEditor
 createTolerance, mxSvgCanvas2D
 createToolbar, mxEditor
 createTransparentFill, mxVmlCanvas2D
 createTransparentSvgRectangle, mxShape
 createUndoableEdit
 createUrlConverter, mxAbstractCanvas2D
 createVertex, mxGraph
 createVirtualBend, mxElbowEdgeHandler
 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, mxCellOverlay
 CURSOR_BEND_HANDLE, mxConstants
 CURSOR_CONNECT, mxConstants
 CURSOR_LABEL_HANDLE, mxConstants
 CURSOR_MOVABLE_EDGE, mxConstants
 CURSOR_MOVABLE_VERTEX, mxConstants
 curveOp
 curveTo
 cut, mxClipboard
 cycleAttribute, mxEditor
 cycleAttributeIndex, mxEditor
 cycleAttributeName, mxEditor
 cycleAttributeValues, 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
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.
mxSession.prototype.cellRemoved = function(cell,
codec)
Adds removed cells to the codec object lookup for references to the removed cells after this point in time.
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.
mxSpaceManager.prototype.cellResized = function(cell)
Called from moveCellsIntoParent to invoke the move hook in the automatic layout of each modified cell’s parent.
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.
mxSpaceManager.prototype.cellsResized = function(cells)
Called from moveCellsIntoParent to invoke the move hook in the automatic layout of each modified cell’s parent.
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.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.
mxEdgeSegmentHandler.prototype.changePoints = function(edge,
points)
Changes the points of the given edge to reflect the current state of the handler.
mxEdgeHandler.prototype.changePoints = function(edge,
points)
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)
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.
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)
Removes the object id from the given object.
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)
Returns the clones for the given cells.
mxGraphModel.prototype.cloneCells = function(cells,
includeChildren)
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.
mxSession.prototype.codec
Reference to the mxCodec used to encoding and decoding changes.
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.
mxEditor.prototype.connect = function (urlInit,
urlPoll,
urlNotify,
onChange)
Creates and returns a session for the specified parameters, installing the onChange function as a change listener for the session.
Fires between begin- and endUpdate in connect.
Specifies the event name for connect.
Fires after the session has been started, that is, after the response to the initial request was received and the session goes into polling mode.
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.
mxSession.prototype.connected
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.
mxVertexHandler.prototype.constrainGroupByChildren
Specifies if the size of groups should be constrained by the children.
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.
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.
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.Returns the original array of cells that has been cloned.
mxCellStatePreview.prototype.count
Contains the number of entries in the map.
Current counter for objects.
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.
mxEdgeSegmentHandler.prototype.createBends = function()
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.
mxCellRenderer.prototype.createControl = function(state)
Creates the control for the given cell state.
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.
mxConnectionHandler.prototype.createEdgeState = function(me)
Hook to return an mxCellState which may be used during the preview.
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.
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(container)
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.
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.
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.createPanningManager = function()
Creates and returns an mxPanningManager.
mxEditor.prototype.createPopupMenu = function (menu,
cell,
evt)
Uses popupHandler to create the menu in the graph’s panning handler.
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.createSelectionModel = function()
Creates a new mxGraphSelectionModel to be used in this graph.
mxEdgeHandler.prototype.createSelectionShape = function(points)
Creates the shape used to draw the selection border.
mxVertexHandler.prototype.createSelectionShape = function(bounds)
Creates the shape used to draw the selection border.
mxEditor.prototype.createSession = function ()
Creates and returns and mxSession using urlInit, urlPoll and urlNotify.
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 the shape for the given cell state.
mxConnectionHandler.prototype.createShape = function()
Creates the preview shape for new connections.
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.
mxCellEditor.prototype.createTextDiv = function()
Creates the textDiv used for measuring 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.
mxVmlCanvas2D.prototype.createTransparentFill = function()
Creates a transparent fill.
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.
mxSession.prototype.createUndoableEdit = function(changes)
Creates a new mxUndoableEdit that implements the notify function to fire a change and notify event via the model.
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.
mxElbowEdgeHandler.prototype.createVirtualBend = function()
Creates a virtual bend that supports double clicking and calls mxGraph.flipEdge.
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.
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.
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.
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.
+
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
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.
mxSession.prototype.cellRemoved = function(cell,
codec)
Adds removed cells to the codec object lookup for references to the removed cells after this point in time.
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.
mxSpaceManager.prototype.cellResized = function(cell)
Called from moveCellsIntoParent to invoke the move hook in the automatic layout of each modified cell’s parent.
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.
mxSpaceManager.prototype.cellsResized = function(cells)
Called from moveCellsIntoParent to invoke the move hook in the automatic layout of each modified cell’s parent.
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.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.
mxEdgeSegmentHandler.prototype.changePoints = function(edge,
points)
Changes the points of the given edge to reflect the current state of the handler.
mxEdgeHandler.prototype.changePoints = function(edge,
points)
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)
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.
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)
Removes the object id from the given object.
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)
Returns the clones for the given cells.
mxGraphModel.prototype.cloneCells = function(cells,
includeChildren)
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.
mxSession.prototype.codec
Reference to the mxCodec used to encoding and decoding changes.
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.
mxEditor.prototype.connect = function (urlInit,
urlPoll,
urlNotify,
onChange)
Creates and returns a session for the specified parameters, installing the onChange function as a change listener for the session.
Fires between begin- and endUpdate in connect.
Specifies the event name for connect.
Fires after the session has been started, that is, after the response to the initial request was received and the session goes into polling mode.
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.
mxSession.prototype.connected
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.
mxVertexHandler.prototype.constrainGroupByChildren
Specifies if the size of groups should be constrained by the children.
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.
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.
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.Returns the original array of cells that has been cloned.
mxCellStatePreview.prototype.count
Contains the number of entries in the map.
Current counter for objects.
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.
mxEdgeSegmentHandler.prototype.createBends = function()
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.
mxCellRenderer.prototype.createControl = function(state)
Creates the control for the given cell state.
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.
mxConnectionHandler.prototype.createEdgeState = function(me)
Hook to return an mxCellState which may be used during the preview.
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.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(container)
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.
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.
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.createPanningManager = function()
Creates and returns an mxPanningManager.
mxEditor.prototype.createPopupMenu = function (menu,
cell,
evt)
Uses popupHandler to create the menu in the graph’s panning handler.
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.createSelectionModel = function()
Creates a new mxGraphSelectionModel to be used in this graph.
mxEdgeHandler.prototype.createSelectionShape = function(points)
Creates the shape used to draw the selection border.
mxVertexHandler.prototype.createSelectionShape = function(bounds)
Creates the shape used to draw the selection border.
mxEditor.prototype.createSession = function ()
Creates and returns and mxSession using urlInit, urlPoll and urlNotify.
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 the shape for the given cell state.
mxConnectionHandler.prototype.createShape = function()
Creates the preview shape for new connections.
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.
mxCellEditor.prototype.createTextDiv = function()
Creates the textDiv used for measuring 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.
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.
mxSession.prototype.createUndoableEdit = function(changes)
Creates a new mxUndoableEdit that implements the notify function to fire a change and notify event via the model.
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.
mxElbowEdgeHandler.prototype.createVirtualBend = function()
Creates a virtual bend that supports double clicking and calls mxGraph.flipEdge.
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.
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.
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.
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/General4.html b/docs/js-api/index/General4.html index 7e08af846..03e933c55 100644 --- a/docs/js-api/index/General4.html +++ b/docs/js-api/index/General4.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
D
 damper, mxPanningManager
 dblClick, mxGraph
 dblClickAction, mxEditor
 debug
 DEBUG, mxLog
 decode
 decodeAttribute, mxObjectCodec
 decodeAttributes, mxObjectCodec
 decodeCell, mxCodec
 decodeChange, mxSession
 decodeChanges, mxSession
 decodeChild
 decodeChildren, mxObjectCodec
 decodeNode, mxObjectCodec
 decodeRoot, mxModelCodec
 decodeSimulateValues, mxXmlRequest
 decodeTemplates, mxEditorCodec
 DEFAULT_FONTFAMILY, mxConstants
 DEFAULT_FONTSIZE, mxConstants
 DEFAULT_FONTSTYLE, mxConstants
 DEFAULT_HOTSPOT, mxConstants
 DEFAULT_IMAGESIZE, mxConstants
 DEFAULT_INVALID_COLOR, mxConstants
 DEFAULT_MARKERSIZE, mxConstants
 DEFAULT_STARTSIZE, mxConstants
 DEFAULT_VALID_COLOR, mxConstants
 defaultEdge, mxEditor
 defaultEdgeShape, mxCellRenderer
 defaultEdgeStyle, mxEditor
 defaultGroup, mxEditor
 defaultLanguage, mxClient
 defaultLocalized, mxStencil
 defaultLoopStyle, mxGraph
 defaultOpacity, mxRubberband
 defaultOverlap
 defaultParent, mxGraph
 defaultShapes, mxCellRenderer
 defaultTextShape, mxCellRenderer
 defaultVertexShape, mxCellRenderer
 defs, mxSvgCanvas2D
 delay
 deltas, mxCellStatePreview
 desc, mxStencil
 destroy
 DESTROY
 destroyCanvas, mxShape
 destroyFocusHighlight, mxConstraintHandler
 destroyIcons
 destroyOnClose, mxWindow
 destroyShapes, mxGraphHandler
 dfs
 dfsCount
 dialect
 DIALECT_MIXEDHTML, mxConstants
 DIALECT_PREFERHTML, mxConstants
 DIALECT_STRICTHTML, mxConstants
 DIALECT_SVG, mxConstants
 DIALECT_VML, mxConstants
 die, mxUndoableEdit
 DIRECTION_EAST, mxConstants
 DIRECTION_MASK_ALL, mxConstants
 DIRECTION_MASK_EAST, mxConstants
 DIRECTION_MASK_NONE, mxConstants
 DIRECTION_MASK_NORTH, mxConstants
 DIRECTION_MASK_SOUTH, mxConstants
 DIRECTION_MASK_WEST, mxConstants
 DIRECTION_NORTH, mxConstants
 DIRECTION_SOUTH, mxConstants
 DIRECTION_WEST, mxConstants
 disableContextMenu
 disableEdgeStyle
 disconnect, mxChildChange
 DISCONNECT
 disconnectGraph, mxGraph
 disconnectOnMove, mxGraph
 dispose, mxClient
 dispX, mxFastOrganicLayout
 dispY, mxFastOrganicLayout
 div, mxRubberband
 document, mxCodec
 DONE, mxEvent
 doneResource
 doResizeContainer, mxGraph
 DOUBLE_CLICK
 doubleClickOrientationResource, mxElbowEdgeHandler
 doubleTapEnabled, mxGraph
 doubleTapTimeout, mxGraph
 doubleTapTolerance, mxGraph
 DOWN, mxEvent
 dragElement, mxDragSource
 dragElementOpacity, mxDragSource
 dragElementZIndex, mxDragSource
 dragEnter, mxDragSource
 dragExit, mxDragSource
 dragOffset, mxDragSource
 dragOver, mxDragSource
 drawHighlight, mxCellHighlight
 drawNode, mxStencil
 drawOverlays, mxImageExport
 drawPreview
 drawShape
 drawState, mxImageExport
 Drilldown, mxGraph
 drillHandler, mxConnectionHandler
 drop
 DROP_TARGET_COLOR, mxConstants
 dropEnabled, mxGraph
 dropHandler, mxDragSource
 dummyVertexWidth, mxSwimlaneLayout
 dummyVertices, mxSwimlaneLayout
+
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
D
 damper, mxPanningManager
 dblClick, mxGraph
 dblClickAction, mxEditor
 debug
 DEBUG, mxLog
 decode
 decodeAttribute, mxObjectCodec
 decodeAttributes, mxObjectCodec
 decodeCell, mxCodec
 decodeChange, mxSession
 decodeChanges, mxSession
 decodeChild
 decodeChildren, mxObjectCodec
 decodeNode, mxObjectCodec
 decodeRoot, mxModelCodec
 decodeSimulateValues, mxXmlRequest
 decodeTemplates, mxEditorCodec
 DEFAULT_FONTFAMILY, mxConstants
 DEFAULT_FONTSIZE, mxConstants
 DEFAULT_FONTSTYLE, mxConstants
 DEFAULT_HOTSPOT, mxConstants
 DEFAULT_IMAGESIZE, mxConstants
 DEFAULT_INVALID_COLOR, mxConstants
 DEFAULT_MARKERSIZE, mxConstants
 DEFAULT_STARTSIZE, mxConstants
 DEFAULT_VALID_COLOR, mxConstants
 defaultEdge, mxEditor
 defaultEdgeShape, mxCellRenderer
 defaultEdgeStyle, mxEditor
 defaultGroup, mxEditor
 defaultLanguage, mxClient
 defaultLocalized, mxStencil
 defaultLoopStyle, mxGraph
 defaultOpacity, mxRubberband
 defaultOverlap
 defaultParent, mxGraph
 defaultShapes, mxCellRenderer
 defaultTextShape, mxCellRenderer
 defaultVertexShape, mxCellRenderer
 defs, mxSvgCanvas2D
 delay
 deltas, mxCellStatePreview
 desc, mxStencil
 destroy
 DESTROY
 destroyCanvas, mxShape
 destroyFocusHighlight, mxConstraintHandler
 destroyIcons
 destroyOnClose, mxWindow
 destroyShapes, mxGraphHandler
 dfs
 dfsCount
 dialect
 DIALECT_MIXEDHTML, mxConstants
 DIALECT_PREFERHTML, mxConstants
 DIALECT_STRICTHTML, mxConstants
 DIALECT_SVG, mxConstants
 DIALECT_VML, mxConstants
 die, mxUndoableEdit
 DIRECTION_EAST, mxConstants
 DIRECTION_MASK_ALL, mxConstants
 DIRECTION_MASK_EAST, mxConstants
 DIRECTION_MASK_NONE, mxConstants
 DIRECTION_MASK_NORTH, mxConstants
 DIRECTION_MASK_SOUTH, mxConstants
 DIRECTION_MASK_WEST, mxConstants
 DIRECTION_NORTH, mxConstants
 DIRECTION_SOUTH, mxConstants
 DIRECTION_WEST, mxConstants
 disableContextMenu
 disableEdgeStyle
 disconnect, mxChildChange
 DISCONNECT
 disconnectGraph, mxGraph
 disconnectOnMove, mxGraph
 dispose, mxClient
 dispX, mxFastOrganicLayout
 dispY, mxFastOrganicLayout
 div, mxRubberband
 document, mxCodec
 DONE, mxEvent
 doneResource
 doResizeContainer, mxGraph
 DOUBLE_CLICK
 doubleClickOrientationResource, mxElbowEdgeHandler
 doubleTapEnabled, mxGraph
 doubleTapTimeout, mxGraph
 doubleTapTolerance, mxGraph
 DOWN, mxEvent
 dragElement, mxDragSource
 dragElementOpacity, mxDragSource
 dragElementZIndex, mxDragSource
 dragEnter, mxDragSource
 dragExit, mxDragSource
 dragOffset, mxDragSource
 dragOver, mxDragSource
 drawHighlight, mxCellHighlight
 drawNode, mxStencil
 drawOverlays, mxImageExport
 drawPreview
 drawShape
 drawState, mxImageExport
 Drilldown, mxGraph
 drillHandler, mxConnectionHandler
 drop
 DROP_TARGET_COLOR, mxConstants
 dropEnabled, mxGraph
 dropHandler, mxDragSource
 dummyVertexWidth, mxSwimlaneLayout
 dummyVertices, mxSwimlaneLayout
-
mxPanningManager.prototype.damper
Damper value for the panning.
mxGraph.prototype.dblClick = function(evt,
cell)
Processes a doubleclick on an optional cell and fires a dblclick event.
mxEditor.prototype.dblClickAction
Specifies the name of the action to be executed when a cell is double clicked.
debug: function()
Adds all arguments to the console if DEBUG is enabled.
mxSession.prototype.debug
Specifies if the session should run in debug mode.
Specifies if the output for debug should be visible in the console.
mxCodec.prototype.decode = function(node,
into)
Decodes the given XML node.
codec.decode = function(dec,
node,
into)
Reads a sequence of the following child nodes and attributes:
codec.decode = function(dec,
node,
into)
Uses the given node as the config for mxDefaultPopupMenu.
codec.decode = function(dec,
node,
into)
Reads a sequence of the following child nodes and attributes:
mxObjectCodec.prototype.decode = function(dec,
node,
into)
Parses the given node into the object or returns a new object representing the given node.
codec.decode = function(dec,
node,
into)
Reads a sequence of the following child nodes and attributes:
mxObjectCodec.prototype.decodeAttribute = function(dec,
attr,
obj)
Reads the given attribute into the specified object.
mxObjectCodec.prototype.decodeAttributes = function(dec,
node,
obj)
Decodes all attributes of the given node using decodeAttribute.
mxCodec.prototype.decodeCell = function(node,
restoreStructures)
Decodes cells that have been encoded using inversion, ie.
mxSession.prototype.decodeChange = function(node)
Decodes, executes and returns the change object represented by the given XML node.
mxSession.prototype.decodeChanges = function(node)
Decodes and executes the changes represented by the children in the given node.
codec.decodeChild = function(dec,
child,
obj)
Overrides decode child to handle special child nodes.
codec.decodeChild = function(dec,
child,
obj)
Overrides decode child to handle special child nodes.
mxObjectCodec.prototype.decodeChild = function(dec,
child,
obj)
Reads the specified child into the given object.
mxObjectCodec.prototype.decodeChildren = function(dec,
node,
obj)
Decodec all children of the given node using decodeChild.
mxObjectCodec.prototype.decodeNode = function(dec,
node,
obj)
Calls decodeAttributes and decodeChildren for the given node.
codec.decodeRoot = function(dec,
root,
model)
Reads the cells into the graph model.
mxXmlRequest.prototype.decodeSimulateValues
Specifies if request values should be decoded as URIs before setting the textarea value in simulate.
Decodes the cells from the given node as templates.
Defines the default family for all fonts in points.
Defines the default size for all fonts in points.
Defines the default style for all fonts.
Defines the portion of the cell which is to be used as a connectable region.
Defines the default width and height for images used in the label shape.
Specifies the default invalid color.
Defines the default size for all markers.
Defines the default start size for swimlanes.
Specifies the default valid colorr.
mxEditor.prototype.defaultEdge
Prototype edge cell that is used for creating new edges.
mxCellRenderer.prototype.defaultEdgeShape
Defines the default shape for edges.
mxEditor.prototype.defaultEdgeStyle
Specifies the edge style to be returned in getEdgeStyle.
mxEditor.prototype.defaultGroup
Prototype group cell that is used for creating new groups.
Defines the default language which is used in the common resource files.
mxStencil.defaultLocalized
Static global variable that specifies the default value for the localized attribute of the text element.
mxGraph.prototype.defaultLoopStyle
mxEdgeStyle to be used for loops.
mxRubberband.prototype.defaultOpacity
Specifies the default opacity to be used for the rubberband div.
mxCellOverlay.prototype.defaultOverlap
Defines the overlapping for the overlay, that is, the proportional distance from the origin to the point defined by the alignment.
mxGraph.prototype.defaultOverlap
Value returned by getOverlap if isAllowOverlapParent returns true for the given cell.
mxGraph.prototype.defaultParent
Specifies the default parent to be used to insert new cells.
mxCellRenderer.prototype.defaultShapes
Static array that contains the globally registered shapes which are known to all instances of this class.
mxCellRenderer.prototype.defaultTextShape
Defines the default shape for labels.
mxCellRenderer.prototype.defaultVertexShape
Defines the default shape for vertices.
this.defs
Reference to the defs section of the SVG document.
mxAnimation.prototype.delay
Specifies the delay between the animation steps.
mxPanningManager.prototype.delay
Delay in milliseconds for the panning.
mxTooltipHandler.prototype.delay
Delay to show the tooltip in milliseconds.
mxCellStatePreview.prototype.deltas
Reference to the enclosing mxGraph.
mxStencil.prototype.desc
Holds the XML node with the stencil description.
mxAutoSaveManager.prototype.destroy = function()
Removes all handlers from the graph and deletes the reference to it.
mxCellEditor.prototype.destroy = function ()
Destroys the editor and removes all associated resources.
mxCellHighlight.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxCellMarker.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxCellRenderer.prototype.destroy = function(state)
Destroys the shapes associated with the given cell state.
mxCellState.prototype.destroy = function ()
Destroys the state and all associated resources.
mxCellTracker.prototype.destroy = function()
Destroys the object and all its resources and DOM nodes.
mxConnectionHandler.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxConstraintHandler.prototype.destroy = function()
Destroy this handler.
mxDefaultKeyHandler.prototype.destroy = function ()
Destroys the handler associated with this object.
mxDefaultToolbar.prototype.destroy = function ()
Destroys the toolbar associated with this object and removes all installed listeners.
mxEdgeHandler.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxEditor.prototype.destroy = function ()
Removes the editor and all its associated resources.
mxGraph.prototype.destroy = function()
Destroys the graph and all its resources.
mxGraphHandler.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxGraphView.prototype.destroy = function()
Destroys the view and all its resources.
mxGuide.prototype.destroy = function()
Destroys all resources that this object uses.
mxKeyHandler.prototype.destroy = function()
Destroys the handler and all its references into the DOM.
mxLayoutManager.prototype.destroy = function()
Removes all handlers from the graph and deletes the reference to it.
mxOutline.prototype.destroy = function()
Destroy this outline and removes all listeners from source.
mxPanningHandler.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxPopupMenu.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxPopupMenuHandler.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxRubberband.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxSelectionCellsHandler.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
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.
mxSpaceManager.prototype.destroy = function()
Removes all handlers from the graph and deletes the reference to it.
mxSwimlaneManager.prototype.destroy = function()
Removes all handlers from the graph and deletes the reference to it.
mxTemporaryCellStates.prototype.destroy = function()
Returns the top, left corner as a new mxPoint.
mxToolbar.prototype.destroy = function ()
Removes the toolbar and all its associated resources.
mxTooltipHandler.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxVertexHandler.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxWindow.prototype.destroy = function()
Destroys the window and removes all associated resources.
Specifies the event name for destroy.
Fires before the window is destroyed.
mxShape.prototype.destroyCanvas = function(canvas)
Destroys the given canvas which was used for drawing.
mxConstraintHandler.prototype.destroyFocusHighlight = function()
Destroys the focusHighlight if one exists.
mxConnectionHandler.prototype.destroyIcons = function()
Destroys the connect icons and resets the respective state.
mxConstraintHandler.prototype.destroyIcons = function()
Destroys the focusIcons if they exist.
mxWindow.prototype.destroyOnClose
Specifies if the window should be destroyed when it is closed.
mxGraphHandler.prototype.destroyShapes = function()
Destroy the preview and highlight shapes.
mxCompactTreeLayout.prototype.dfs = function(cell,
parent,
visited)
Does a depth first search starting at the specified cell.
mxGraphHierarchyModel.prototype.dfs = function(parent,
root,
connectingEdge,
visitor,
seen,
layer)
Performs a depth first search on the internal hierarchy model
mxSwimlaneModel.prototype.dfs = function(parent,
root,
connectingEdge,
visitor,
seen,
layer)
Performs a depth first search on the internal hierarchy model
mxGraphHierarchyModel.prototype.dfsCount
Count of the number of times the ancestor dfs has been used.
mxSwimlaneModel.prototype.dfsCount
Count of the number of times the ancestor dfs has been used.
mxGraph.prototype.dialect
Dialect to be used for drawing the graph.
mxShape.prototype.dialect
Holds the dialect in which the shape is to be painted.
Defines the mixed HTML display dialect name.
Defines the preferred HTML display dialect name.
Defines the strict HTML display dialect.
Defines the SVG display dialect name.
Defines the VML display dialect name.
mxUndoableEdit.prototype.die = function()
Hook to free resources after the edit has been removed from the command history.
Constant for direction east.
Bitwise mask for all directions.
Bitwise mask for east direction.
Constant for no direction.
Bitwise mask for north direction.
Bitwise mask for south direction.
Bitwise mask for west direction.
Constant for direction north.
Constant for direction south.
Constant for direction west.
mxEditor.prototype.disableContextMenu
Specifies if the context menu should be disabled in the graph container.
disableContextMenu: function()
Disables the context menu for the given element.
mxCircleLayout.prototype.disableEdgeStyle
Specifies if the STYLE_NOEDGESTYLE flag should be set on edges that are modified by the result.
mxFastOrganicLayout.prototype.disableEdgeStyle
Specifies if the STYLE_NOEDGESTYLE flag should be set on edges that are modified by the result.
mxHierarchicalLayout.prototype.disableEdgeStyle
Specifies if the STYLE_NOEDGESTYLE flag should be set on edges that are modified by the result.
mxSwimlaneLayout.prototype.disableEdgeStyle
Specifies if the STYLE_NOEDGESTYLE flag should be set on edges that are modified by the result.
Disconnects the given cell recursively from its terminals and stores the previous terminal in the cell’s terminals.
Specifies the event name for disconnect.
Fires after the session was stopped in stop.
mxGraph.prototype.disconnectGraph = function(cells)
Disconnects the given edges from the terminals which are not in the given array.
mxGraph.prototype.disconnectOnMove
Specifies if edges should be disconnected from their terminals when they are moved.
dispose: function()
Frees up memory in IE by resolving cyclic dependencies between the DOM and the JavaScript objects.
mxFastOrganicLayout.prototype.dispX
An array of locally stored X co-ordinate displacements for the vertices.
mxFastOrganicLayout.prototype.dispY
An array of locally stored Y co-ordinate displacements for the vertices.
mxRubberband.prototype.div
Holds the DIV element which is currently visible.
mxCodec.prototype.document
The owner document of the codec.
Specifies the event name for done.
mxGraphSelectionModel.prototype.doneResource
Specifies the resource key for the status message after a long operation.
mxGraphView.prototype.doneResource
Specifies the resource key for the status message after a long operation.
mxGraph.prototype.doResizeContainer = function(width,
height)
Resizes the container for the given graph width and height.
Specifies the event name for doubleClick.
Fires in dblClick after a double click.
mxElbowEdgeHandler.prototype.doubleClickOrientationResource
Specifies the resource key for the tooltip to be displayed on the single control point for routed edges.
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.
Specifies the event name for down.
mxDragSource.prototype.dragElement
Holds the DOM node that is used to represent the drag preview.
mxDragSource.prototype.dragElementOpacity
Opacity of the drag element in %.
mxDragSource.prototype.dragElementZIndex
ZIndex for the drag element.
mxDragSource.prototype.dragEnter = function(graph,
evt)
Actives the given graph as a drop target.
mxDragSource.prototype.dragExit = function(graph,
evt)
Deactivates the given graph as a drop target.
mxDragSource.prototype.dragOffset
mxPoint that specifies the offset of the dragElement.
mxDragSource.prototype.dragOver = function(graph,
evt)
Implements autoscroll, updates the currentPoint, highlights any drop targets and updates the preview.
mxCellHighlight.prototype.drawHighlight = function()
Creates and returns the highlight shape for the given state.
mxStencil.prototype.drawNode = function(canvas,
shape,
node,
aspect,
disableShadow)
Draws this stencil inside the given bounds.
mxImageExport.prototype.drawOverlays = function(state,
canvas)
Draws the overlays for the given state.
mxConnectionHandler.prototype.drawPreview = function()
Redraws the preview edge using the color and width returned by getEdgeColor and getEdgeWidth.
mxEdgeHandler.prototype.drawPreview = function()
Redraws the preview.
mxVertexHandler.prototype.drawPreview = function()
Redraws the preview.
Draws the given state to the given canvas.
mxStencil.prototype.drawShape = function(canvas,
shape,
x,
y,
w,
h)
Draws this stencil inside the given bounds.
mxImageExport.prototype.drawState = function(state,
canvas)
Draws the given state and all its descendants to the given canvas.
mxConnectionHandler.prototype.drillHandler
Holds the drill event listener for later removal.
mxDefaultToolbar.prototype.drop = function(vertex,
evt,
target)
Handles a drop from a toolbar item to the graph.
mxDragSource.prototype.drop = function(graph,
evt,
dropTarget,
x,
y)
Returns the drop target for the given graph and coordinates.
Defines the color to be used for the highlighting target parent cells (for drag and drop).
mxGraph.prototype.dropEnabled
Specifies the return value for isDropEnabled.
mxDragSource.prototype.dropHandler
Holds the DOM node that is used to represent the drag preview.
mxSwimlaneLayout.prototype.dummyVertexWidth
The cell width of any dummy vertices inserted
mxSwimlaneLayout.prototype.dummyVertices
Holds an array of mxCell of dummy vertices inserted during the layout to pad out empty swimlanes
+
mxPanningManager.prototype.damper
Damper value for the panning.
mxGraph.prototype.dblClick = function(evt,
cell)
Processes a doubleclick on an optional cell and fires a dblclick event.
mxEditor.prototype.dblClickAction
Specifies the name of the action to be executed when a cell is double clicked.
debug: function()
Adds all arguments to the console if DEBUG is enabled.
mxSession.prototype.debug
Specifies if the session should run in debug mode.
Specifies if the output for debug should be visible in the console.
mxCodec.prototype.decode = function(node,
into)
Decodes the given XML node.
codec.decode = function(dec,
node,
into)
Reads a sequence of the following child nodes and attributes:
codec.decode = function(dec,
node,
into)
Uses the given node as the config for mxDefaultPopupMenu.
codec.decode = function(dec,
node,
into)
Reads a sequence of the following child nodes and attributes:
mxObjectCodec.prototype.decode = function(dec,
node,
into)
Parses the given node into the object or returns a new object representing the given node.
codec.decode = function(dec,
node,
into)
Reads a sequence of the following child nodes and attributes:
mxObjectCodec.prototype.decodeAttribute = function(dec,
attr,
obj)
Reads the given attribute into the specified object.
mxObjectCodec.prototype.decodeAttributes = function(dec,
node,
obj)
Decodes all attributes of the given node using decodeAttribute.
mxCodec.prototype.decodeCell = function(node,
restoreStructures)
Decodes cells that have been encoded using inversion, ie.
mxSession.prototype.decodeChange = function(node)
Decodes, executes and returns the change object represented by the given XML node.
mxSession.prototype.decodeChanges = function(node)
Decodes and executes the changes represented by the children in the given node.
codec.decodeChild = function(dec,
child,
obj)
Overrides decode child to handle special child nodes.
codec.decodeChild = function(dec,
child,
obj)
Overrides decode child to handle special child nodes.
mxObjectCodec.prototype.decodeChild = function(dec,
child,
obj)
Reads the specified child into the given object.
mxObjectCodec.prototype.decodeChildren = function(dec,
node,
obj)
Decodec all children of the given node using decodeChild.
mxObjectCodec.prototype.decodeNode = function(dec,
node,
obj)
Calls decodeAttributes and decodeChildren for the given node.
codec.decodeRoot = function(dec,
root,
model)
Reads the cells into the graph model.
mxXmlRequest.prototype.decodeSimulateValues
Specifies if request values should be decoded as URIs before setting the textarea value in simulate.
Decodes the cells from the given node as templates.
Defines the default family for all fonts in points.
Defines the default size for all fonts in points.
Defines the default style for all fonts.
Defines the portion of the cell which is to be used as a connectable region.
Defines the default width and height for images used in the label shape.
Specifies the default invalid color.
Defines the default size for all markers.
Defines the default start size for swimlanes.
Specifies the default valid colorr.
mxEditor.prototype.defaultEdge
Prototype edge cell that is used for creating new edges.
mxCellRenderer.prototype.defaultEdgeShape
Defines the default shape for edges.
mxEditor.prototype.defaultEdgeStyle
Specifies the edge style to be returned in getEdgeStyle.
mxEditor.prototype.defaultGroup
Prototype group cell that is used for creating new groups.
Defines the default language which is used in the common resource files.
mxStencil.defaultLocalized
Static global variable that specifies the default value for the localized attribute of the text element.
mxGraph.prototype.defaultLoopStyle
mxEdgeStyle to be used for loops.
mxRubberband.prototype.defaultOpacity
Specifies the default opacity to be used for the rubberband div.
mxCellOverlay.prototype.defaultOverlap
Defines the overlapping for the overlay, that is, the proportional distance from the origin to the point defined by the alignment.
mxGraph.prototype.defaultOverlap
Value returned by getOverlap if isAllowOverlapParent returns true for the given cell.
mxGraph.prototype.defaultParent
Specifies the default parent to be used to insert new cells.
mxCellRenderer.prototype.defaultShapes
Static array that contains the globally registered shapes which are known to all instances of this class.
mxCellRenderer.prototype.defaultTextShape
Defines the default shape for labels.
mxCellRenderer.prototype.defaultVertexShape
Defines the default shape for vertices.
this.defs
Reference to the defs section of the SVG document.
mxAnimation.prototype.delay
Specifies the delay between the animation steps.
mxPanningManager.prototype.delay
Delay in milliseconds for the panning.
mxTooltipHandler.prototype.delay
Delay to show the tooltip in milliseconds.
mxCellStatePreview.prototype.deltas
Reference to the enclosing mxGraph.
mxStencil.prototype.desc
Holds the XML node with the stencil description.
mxAutoSaveManager.prototype.destroy = function()
Removes all handlers from the graph and deletes the reference to it.
mxCellEditor.prototype.destroy = function ()
Destroys the editor and removes all associated resources.
mxCellHighlight.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxCellMarker.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxCellRenderer.prototype.destroy = function(state)
Destroys the shapes associated with the given cell state.
mxCellState.prototype.destroy = function ()
Destroys the state and all associated resources.
mxCellTracker.prototype.destroy = function()
Destroys the object and all its resources and DOM nodes.
mxConnectionHandler.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxConstraintHandler.prototype.destroy = function()
Destroy this handler.
mxDefaultKeyHandler.prototype.destroy = function ()
Destroys the handler associated with this object.
mxDefaultToolbar.prototype.destroy = function ()
Destroys the toolbar associated with this object and removes all installed listeners.
mxEdgeHandler.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxEditor.prototype.destroy = function ()
Removes the editor and all its associated resources.
mxGraph.prototype.destroy = function()
Destroys the graph and all its resources.
mxGraphHandler.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxGraphView.prototype.destroy = function()
Destroys the view and all its resources.
mxGuide.prototype.destroy = function()
Destroys all resources that this object uses.
mxKeyHandler.prototype.destroy = function()
Destroys the handler and all its references into the DOM.
mxLayoutManager.prototype.destroy = function()
Removes all handlers from the graph and deletes the reference to it.
mxOutline.prototype.destroy = function()
Destroy this outline and removes all listeners from source.
mxPanningHandler.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxPopupMenu.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxPopupMenuHandler.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxRubberband.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxSelectionCellsHandler.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
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.
mxSpaceManager.prototype.destroy = function()
Removes all handlers from the graph and deletes the reference to it.
mxSwimlaneManager.prototype.destroy = function()
Removes all handlers from the graph and deletes the reference to it.
mxTemporaryCellStates.prototype.destroy = function()
Returns the top, left corner as a new mxPoint.
mxToolbar.prototype.destroy = function ()
Removes the toolbar and all its associated resources.
mxTooltipHandler.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxVertexHandler.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxWindow.prototype.destroy = function()
Destroys the window and removes all associated resources.
Specifies the event name for destroy.
Fires before the window is destroyed.
mxShape.prototype.destroyCanvas = function(canvas)
Destroys the given canvas which was used for drawing.
mxConstraintHandler.prototype.destroyFocusHighlight = function()
Destroys the focusHighlight if one exists.
mxConnectionHandler.prototype.destroyIcons = function()
Destroys the connect icons and resets the respective state.
mxConstraintHandler.prototype.destroyIcons = function()
Destroys the focusIcons if they exist.
mxWindow.prototype.destroyOnClose
Specifies if the window should be destroyed when it is closed.
mxGraphHandler.prototype.destroyShapes = function()
Destroy the preview and highlight shapes.
mxCompactTreeLayout.prototype.dfs = function(cell,
parent,
visited)
Does a depth first search starting at the specified cell.
mxGraphHierarchyModel.prototype.dfs = function(parent,
root,
connectingEdge,
visitor,
seen,
layer)
Performs a depth first search on the internal hierarchy model
mxSwimlaneModel.prototype.dfs = function(parent,
root,
connectingEdge,
visitor,
seen,
layer)
Performs a depth first search on the internal hierarchy model
mxGraphHierarchyModel.prototype.dfsCount
Count of the number of times the ancestor dfs has been used.
mxSwimlaneModel.prototype.dfsCount
Count of the number of times the ancestor dfs has been used.
mxGraph.prototype.dialect
Dialect to be used for drawing the graph.
mxShape.prototype.dialect
Holds the dialect in which the shape is to be painted.
Defines the mixed HTML display dialect name.
Defines the preferred HTML display dialect name.
Defines the strict HTML display dialect.
Defines the SVG display dialect name.
Defines the VML display dialect name.
mxUndoableEdit.prototype.die = function()
Hook to free resources after the edit has been removed from the command history.
Constant for direction east.
Bitwise mask for all directions.
Bitwise mask for east direction.
Constant for no direction.
Bitwise mask for north direction.
Bitwise mask for south direction.
Bitwise mask for west direction.
Constant for direction north.
Constant for direction south.
Constant for direction west.
mxEditor.prototype.disableContextMenu
Specifies if the context menu should be disabled in the graph container.
disableContextMenu: function()
Disables the context menu for the given element.
mxCircleLayout.prototype.disableEdgeStyle
Specifies if the STYLE_NOEDGESTYLE flag should be set on edges that are modified by the result.
mxFastOrganicLayout.prototype.disableEdgeStyle
Specifies if the STYLE_NOEDGESTYLE flag should be set on edges that are modified by the result.
mxHierarchicalLayout.prototype.disableEdgeStyle
Specifies if the STYLE_NOEDGESTYLE flag should be set on edges that are modified by the result.
mxSwimlaneLayout.prototype.disableEdgeStyle
Specifies if the STYLE_NOEDGESTYLE flag should be set on edges that are modified by the result.
Disconnects the given cell recursively from its terminals and stores the previous terminal in the cell’s terminals.
Specifies the event name for disconnect.
Fires after the session was stopped in stop.
mxGraph.prototype.disconnectGraph = function(cells)
Disconnects the given edges from the terminals which are not in the given array.
mxGraph.prototype.disconnectOnMove
Specifies if edges should be disconnected from their terminals when they are moved.
dispose: function()
Frees up memory in IE by resolving cyclic dependencies between the DOM and the JavaScript objects.
mxFastOrganicLayout.prototype.dispX
An array of locally stored X co-ordinate displacements for the vertices.
mxFastOrganicLayout.prototype.dispY
An array of locally stored Y co-ordinate displacements for the vertices.
mxRubberband.prototype.div
Holds the DIV element which is currently visible.
mxCodec.prototype.document
The owner document of the codec.
Specifies the event name for done.
mxGraphSelectionModel.prototype.doneResource
Specifies the resource key for the status message after a long operation.
mxGraphView.prototype.doneResource
Specifies the resource key for the status message after a long operation.
mxGraph.prototype.doResizeContainer = function(width,
height)
Resizes the container for the given graph width and height.
Specifies the event name for doubleClick.
Fires in dblClick after a double click.
mxElbowEdgeHandler.prototype.doubleClickOrientationResource
Specifies the resource key for the tooltip to be displayed on the single control point for routed edges.
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.
Specifies the event name for down.
mxDragSource.prototype.dragElement
Holds the DOM node that is used to represent the drag preview.
mxDragSource.prototype.dragElementOpacity
Opacity of the drag element in %.
mxDragSource.prototype.dragElementZIndex
ZIndex for the drag element.
mxDragSource.prototype.dragEnter = function(graph,
evt)
Actives the given graph as a drop target.
mxDragSource.prototype.dragExit = function(graph,
evt)
Deactivates the given graph as a drop target.
mxDragSource.prototype.dragOffset
mxPoint that specifies the offset of the dragElement.
mxDragSource.prototype.dragOver = function(graph,
evt)
Implements autoscroll, updates the currentPoint, highlights any drop targets and updates the preview.
mxCellHighlight.prototype.drawHighlight = function()
Creates and returns the highlight shape for the given state.
mxStencil.prototype.drawNode = function(canvas,
shape,
node,
aspect,
disableShadow)
Draws this stencil inside the given bounds.
mxImageExport.prototype.drawOverlays = function(state,
canvas)
Draws the overlays for the given state.
mxConnectionHandler.prototype.drawPreview = function()
Redraws the preview edge using the color and width returned by getEdgeColor and getEdgeWidth.
mxEdgeHandler.prototype.drawPreview = function()
Redraws the preview.
mxVertexHandler.prototype.drawPreview = function()
Redraws the preview.
Draws the given state to the given canvas.
mxStencil.prototype.drawShape = function(canvas,
shape,
x,
y,
w,
h)
Draws this stencil inside the given bounds.
mxImageExport.prototype.drawState = function(state,
canvas)
Draws the given state and all its descendants to the given canvas.
mxConnectionHandler.prototype.drillHandler
Holds the drill event listener for later removal.
mxDefaultToolbar.prototype.drop = function(vertex,
evt,
target)
Handles a drop from a toolbar item to the graph.
mxDragSource.prototype.drop = function(graph,
evt,
dropTarget,
x,
y)
Returns the drop target for the given graph and coordinates.
Defines the color to be used for the highlighting target parent cells (for drag and drop).
mxGraph.prototype.dropEnabled
Specifies the return value for isDropEnabled.
mxDragSource.prototype.dropHandler
Holds the DOM node that is used to represent the drag preview.
mxSwimlaneLayout.prototype.dummyVertexWidth
The cell width of any dummy vertices inserted
mxSwimlaneLayout.prototype.dummyVertices
Holds an array of mxCell of dummy vertices inserted during the layout to pad out empty swimlanes
diff --git a/docs/js-api/index/General5.html b/docs/js-api/index/General5.html index 2610541e3..2e5a90208 100644 --- a/docs/js-api/index/General5.html +++ b/docs/js-api/index/General5.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
E
 ease, mxMorphing
 edge, mxCell
 EDGE_SELECTION_COLOR, mxConstants
 EDGE_SELECTION_STROKEWIDTH, mxConstants
 edgeLabelsMovable, mxGraph
 edgeMapper
 edgeRouting, mxCompactTreeLayout
 edges
 edgesSet
 edgeState, mxConnectionHandler
 edgeStyle, mxCoordinateAssignment
 EDGESTYLE_ELBOW, mxConstants
 EDGESTYLE_ENTITY_RELATION, mxConstants
 EDGESTYLE_LOOP, mxConstants
 EDGESTYLE_ORTHOGONAL, mxConstants
 EDGESTYLE_SEGMENT, mxConstants
 EDGESTYLE_SIDETOSIDE, mxConstants
 EDGESTYLE_TOPTOBOTTOM, mxConstants
 editingCell, mxCellEditor
 editor
 ELBOW_HORIZONTAL, mxConstants
 ELBOW_VERTICAL, mxConstants
 ElbowConnector, mxEdgeStyle
 element, mxDragSource
 ellipse
 EllipsePerimeter, mxPerimeter
 EMPTY_ARRAY, mxGraph
 emptyLabelText, mxCellEditor
 enabled
 encode
 encodeCell
 encodeChanges, mxSession
 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
 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
 extendParentsOnAdd, mxGraph
 extension, mxResources
+
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, mxCoordinateAssignment
 EDGESTYLE_ELBOW, mxConstants
 EDGESTYLE_ENTITY_RELATION, mxConstants
 EDGESTYLE_LOOP, mxConstants
 EDGESTYLE_ORTHOGONAL, mxConstants
 EDGESTYLE_SEGMENT, mxConstants
 EDGESTYLE_SIDETOSIDE, mxConstants
 EDGESTYLE_TOPTOBOTTOM, mxConstants
 editingCell, mxCellEditor
 editor
 ELBOW_HORIZONTAL, mxConstants
 ELBOW_VERTICAL, mxConstants
 ElbowConnector, mxEdgeStyle
 element, mxDragSource
 ellipse
 EllipsePerimeter, mxPerimeter
 EMPTY_ARRAY, mxGraph
 emptyLabelText, mxCellEditor
 enabled
 encode
 encodeCell
 encodeChanges, mxSession
 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
 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
 extendParentsOnAdd, mxGraph
 extension, mxResources
-
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.
mxCoordinateAssignment.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.
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.
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.
mxSpaceManager.prototype.enabled
Specifies if event handling is enabled.
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.
mxSession.prototype.encodeChanges = function(changes,
invert)
Returns the XML representation for the given array of changes.
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.
mxSession.prototype.escapePostData
Specifies if the data in the post request sent in notify 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.
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.
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.executeLayout = function(layout,
parent)
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.
mxSpaceManager.prototype.extendParents
Specifies if event handling is enabled.
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.
+
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.
mxCoordinateAssignment.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.
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.
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.
mxSpaceManager.prototype.enabled
Specifies if event handling is enabled.
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.
mxSession.prototype.encodeChanges = function(changes,
invert)
Returns the XML representation for the given array of changes.
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.
mxSession.prototype.escapePostData
Specifies if the data in the post request sent in notify 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.
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.
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.executeLayout = function(layout,
parent)
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.
mxSpaceManager.prototype.extendParents
Specifies if event handling is enabled.
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.
diff --git a/docs/js-api/index/General6.html b/docs/js-api/index/General6.html index 7a8e6a829..68079d7ad 100644 --- a/docs/js-api/index/General6.html +++ b/docs/js-api/index/General6.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
F
 factoryMethod
 fadeOut
 fgNodes, mxStencil
 FIELD_NAME, mxObjectIdentity
 filename, mxEditor
 fill
 fillAndStroke
 filterCells, mxGraphModel
 filterDescendants
 findNearestSegment, mxUtils
 findNode, mxUtils
 findNodeByAttribute, mxUtils
 findParallels, mxParallelEdgeLayout
 findRankHeights, mxCompactTreeLayout
 findRoots
 findTreeRoots, mxGraph
 fineTuning
 FIRE_MOUSE_EVENT
 FIRED
 fireEvent, mxEventSource
 fireGestureEvent, mxGraph
 fireMouseEvent, mxGraph
 first, mxConnectionHandler
 fit
 fixRanks
 FLIP_EDGE
 flipEdge, mxGraph
 foAltText, mxSvgCanvas2D
 focusLost, mxCellEditor
 foEnabled, mxSvgCanvas2D
 FOLD_CELLS
 foldCells, mxGraph
 foldHandler, mxSpaceManager
 Folding, mxGraph
 foldingEnabled, mxGraph
 FONT_BOLD, mxConstants
 FONT_ITALIC, mxConstants
 FONT_SHADOW, mxConstants
 FONT_UNDERLINE, mxConstants
 forceConstant, mxFastOrganicLayout
 forceConstantSquared, mxFastOrganicLayout
 forcedInserting, mxEditor
 forceVmlHandles, mxOutline
 format
 Functions
GlobalMedianCellSortermxAbstractCanvas2DmxActormxAnimationmxArrowmxAutoSaveManagermxCellmxCellAttributeChangemxCellCodecmxCellEditormxCellHighlightmxCellMarkermxCellOverlaymxCellPathmxCellRenderermxCellStatemxCellStatePreviewmxCellTrackermxChildChangemxChildChangeCodecmxCircleLayoutmxClientmxClipboardmxCloudmxCodecmxCodecRegistrymxCollapseChangemxCompactTreeLayoutmxCompositeLayoutmxConnectionConstraintmxConnectormxConstraintHandlermxCoordinateAssignmentmxCurrentRootChangemxCylindermxDefaultKeyHandlermxDefaultKeyHandlerCodecmxDefaultPopupMenumxDefaultPopupMenuCodecmxDefaultToolbarmxDefaultToolbarCodecmxDictionarymxDivResizermxDoubleEllipsemxDragSourcemxEdgeHandlermxEdgeLabelLayoutmxEdgeStylemxEditorCodecmxEffectsmxElbowEdgeHandlermxEllipsemxEventmxEventObjectmxEventSourcemxFastOrganicLayoutmxFormmxGenericChangeCodecmxGeometrymxGeometryChangemxGraphAbstractHierarchyCellmxGraphHandlermxGraphHierarchyEdgemxGraphHierarchyModelmxGraphHierarchyNodemxGraphLayoutmxGraphModelmxGraphSelectionModelmxGraphViewmxGraphViewCodecmxGuidemxHexagonmxHierarchicalLayoutmxHierarchicalLayoutStagemxImagemxImageBundlemxImageExportmxImageShapemxKeyHandlermxLabelmxLayoutManagermxLinemxLogmxMarkermxMedianHybridCrossingReductionmxMinimumCycleRemovermxModelCodecmxMorphingmxMouseEventmxMultiplicitymxObjectCodecmxObjectIdentitymxOutlinemxPanningHandlermxParallelEdgeLayoutmxPartitionLayoutmxPerimetermxPointmxPolylinemxPopupMenumxPopupMenuHandlermxPrintPreviewmxRectanglemxRectangleShapemxResourcesmxRhombusmxRootChangemxRootChangeCodecmxRubberbandmxSelectionChangemxSessionmxShapemxSpaceManagermxStackLayoutmxStencilmxStencilRegistrymxStyleChangemxStyleRegistrymxStylesheetmxStylesheetCodecmxSvgCanvas2DmxSwimlanemxSwimlaneLayoutmxSwimlaneManagermxSwimlaneModelmxSwimlaneOrderingmxTemporaryCellStatesmxTerminalChangemxTerminalChangeCodecmxTextmxToolbarmxTooltipHandlermxTrianglemxUndoableEditmxUndoManagermxUrlConvertermxUtilsmxValueChangemxVertexHandlermxVisibleChangemxVmlCanvas2DmxWindowmxXmlCanvas2DmxXmlRequestWeightedCellSorter
+
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
F
 factoryMethod
 fadeOut
 fgNodes, mxStencil
 FIELD_NAME, mxObjectIdentity
 filename, mxEditor
 fill
 fillAndStroke
 filterCells, mxGraphModel
 filterDescendants
 findNearestSegment, mxUtils
 findNode, mxUtils
 findNodeByAttribute, mxUtils
 findParallels, mxParallelEdgeLayout
 findRankHeights, mxCompactTreeLayout
 findRoots
 findTreeRoots, mxGraph
 fineTuning
 FIRE_MOUSE_EVENT
 FIRED
 fireEvent, mxEventSource
 fireGestureEvent, mxGraph
 fireMouseEvent, mxGraph
 first, mxConnectionHandler
 fit
 fixRanks
 FLIP_EDGE
 flipEdge, mxGraph
 foAltText, mxSvgCanvas2D
 focusLost, mxCellEditor
 foEnabled, mxSvgCanvas2D
 FOLD_CELLS
 foldCells, mxGraph
 foldHandler, mxSpaceManager
 Folding, mxGraph
 foldingEnabled, mxGraph
 FONT_BOLD, mxConstants
 FONT_ITALIC, mxConstants
 FONT_SHADOW, mxConstants
 FONT_UNDERLINE, mxConstants
 forceConstant, mxFastOrganicLayout
 forceConstantSquared, mxFastOrganicLayout
 forcedInserting, mxEditor
 forceVmlHandles, mxOutline
 format
 Functions
GlobalMedianCellSortermxAbstractCanvas2DmxActormxAnimationmxArrowmxAutoSaveManagermxCellmxCellAttributeChangemxCellCodecmxCellEditormxCellHighlightmxCellMarkermxCellOverlaymxCellPathmxCellRenderermxCellStatemxCellStatePreviewmxCellTrackermxChildChangemxChildChangeCodecmxCircleLayoutmxClientmxClipboardmxCloudmxCodecmxCodecRegistrymxCollapseChangemxCompactTreeLayoutmxCompositeLayoutmxConnectionConstraintmxConnectormxConstraintHandlermxCoordinateAssignmentmxCurrentRootChangemxCylindermxDefaultKeyHandlermxDefaultKeyHandlerCodecmxDefaultPopupMenumxDefaultPopupMenuCodecmxDefaultToolbarmxDefaultToolbarCodecmxDictionarymxDivResizermxDoubleEllipsemxDragSourcemxEdgeHandlermxEdgeLabelLayoutmxEdgeStylemxEditorCodecmxEffectsmxElbowEdgeHandlermxEllipsemxEventmxEventObjectmxEventSourcemxFastOrganicLayoutmxFormmxGenericChangeCodecmxGeometrymxGeometryChangemxGraphAbstractHierarchyCellmxGraphHandlermxGraphHierarchyEdgemxGraphHierarchyModelmxGraphHierarchyNodemxGraphLayoutmxGraphModelmxGraphSelectionModelmxGraphViewmxGraphViewCodecmxGuidemxHexagonmxHierarchicalLayoutmxHierarchicalLayoutStagemxImagemxImageBundlemxImageExportmxImageShapemxKeyHandlermxLabelmxLayoutManagermxLinemxLogmxMarkermxMedianHybridCrossingReductionmxMinimumCycleRemovermxModelCodecmxMorphingmxMouseEventmxMultiplicitymxObjectCodecmxObjectIdentitymxOutlinemxPanningHandlermxParallelEdgeLayoutmxPartitionLayoutmxPerimetermxPointmxPolylinemxPopupMenumxPopupMenuHandlermxPrintPreviewmxRectanglemxRectangleShapemxResourcesmxRhombusmxRootChangemxRootChangeCodecmxRubberbandmxSelectionChangemxSessionmxShapemxSpaceManagermxStackLayoutmxStencilmxStencilRegistrymxStyleChangemxStyleRegistrymxStylesheetmxStylesheetCodecmxSvgCanvas2DmxSwimlanemxSwimlaneLayoutmxSwimlaneManagermxSwimlaneModelmxSwimlaneOrderingmxTemporaryCellStatesmxTerminalChangemxTerminalChangeCodecmxTextmxToolbarmxTooltipHandlermxTrianglemxUndoableEditmxUndoManagermxUrlConvertermxUtilsmxValueChangemxVertexHandlermxVisibleChangemxVmlCanvas2DmxWindowmxXmlCanvas2DmxXmlRequestWeightedCellSorter
-
mxConnectionHandler.prototype.factoryMethod
Function that is used for creating new edges.
mxPopupMenu.prototype.factoryMethod
Function that is used to create the popup menu.
fadeOut: function(node,
from,
remove,
step,
delay,
isEnabled)
Asynchronous fade-out operation.
fadeOut: function(node,
from,
remove,
step,
delay,
isEnabled)
See mxEffects.fadeOut.
Holds the XML node with the stencil description.
Name of the field to be used to store the object ID.
mxEditor.prototype.filename
Contains the URL of the last opened file as a string.
mxStackLayout.prototype.fill
Boolean indicating if dimension should be changed to fill out the parent cell.
mxSvgCanvas2D.prototype.fill = function()
Fills the current path.
mxVmlCanvas2D.prototype.fill = function()
Fills the current path.
mxXmlCanvas2D.prototype.fill = function()
Fills the current drawing buffer.
mxSvgCanvas2D.prototype.fillAndStroke = function()
Fills and paints the outline of the current path.
mxVmlCanvas2D.prototype.fillAndStroke = function()
Fills and paints the outline of the current path.
mxXmlCanvas2D.prototype.fillAndStroke = function()
Fills the current drawing buffer and its outline.
mxGraphModel.prototype.filterCells = function(cells,
filter)
Returns the cells from the given array where the fiven filter function returns true.
mxGraphModel.prototype.filterDescendants = function(filter,
parent)
Visits all cells recursively and applies the specified filter function to each cell.
mxHierarchicalLayout.prototype.filterDescendants = function(cell,
result)
Creates an array of descendant cells
mxSwimlaneLayout.prototype.filterDescendants = function(cell,
result)
Creates an array of descendant cells
findNearestSegment: function(state,
x,
y)
Finds the index of the nearest segment on the given cell state for the specified coordinate pair.
findNode: function(node,
attr,
value)
Returns the first node where attr equals value.
findNodeByAttribute: function()
Returns the first node where the given attribute matches the given value.
mxParallelEdgeLayout.prototype.findParallels = function(parent)
Finds the parallel edges in the given parent.
mxCompactTreeLayout.prototype.findRankHeights = function(node,
rank)
Stores the maximum height (relative to the layout direction) of cells in each rank
mxHierarchicalLayout.prototype.findRoots = function(parent,
vertices)
Returns all visible children in the given parent which do not have incoming edges.
mxSwimlaneLayout.prototype.findRoots = function(parent,
vertices)
Returns all visible children in the given parent which do not have incoming edges.
mxGraph.prototype.findTreeRoots = function(parent,
isolate,
invert)
Returns all children in the given parent which do not have incoming edges.
mxCoordinateAssignment.prototype.fineTuning
Whether or not to perform local optimisations and iterate multiple times through the algorithm.
mxHierarchicalLayout.prototype.fineTuning
Whether or not to perform local optimisations and iterate multiple times through the algorithm.
mxSwimlaneLayout.prototype.fineTuning
Whether or not to perform local optimisations and iterate multiple times through the algorithm.
Specifies the event name for fireMouseEvent.
Fires in fireMouseEvent before the mouse listeners are invoked.
Specifies the event name for fired.
Fires after an array of edits has been executed on the model.
mxEventSource.prototype.fireEvent = function(evt,
sender)
Dispatches the given event to the listeners which are registered for the event.
mxGraph.prototype.fireGestureEvent = function(evt,
cell)
Dispatches a mxEvent.GESTURE event.
mxGraph.prototype.fireMouseEvent = function(evtName,
me,
sender)
Dispatches the given event in the graph event dispatch loop.
mxConnectionHandler.prototype.first
Holds the mxPoint where the mouseDown took place while the handler is active.
mxGraph.prototype.fit = function(border,
keepOrigin)
Scales the graph such that the complete diagram fits into container and returns the current scale in the view.
fit: function(node)
Makes sure the given node is inside the visible area of the window.
mxWindow.prototype.fit = function()
Makes sure the window is inside the client area of the window.
mxGraphHierarchyModel.prototype.fixRanks = function()
Fixes the layer assignments to the values stored in the nodes.
mxSwimlaneModel.prototype.fixRanks = function()
Fixes the layer assignments to the values stored in the nodes.
Specifies the event name for flipEdge.
Fires between begin- and endUpdate in flipEdge.
mxGraph.prototype.flipEdge = function(edge)
Toggles the style of the given edge between null (or empty) and alternateEdgeStyle.
mxSvgCanvas2D.prototype.foAltText
Specifies the fallback text for unsupported foreignObjects in exported documents.
mxCellEditor.prototype.focusLost = function()
Called if the textarea has lost focus.
mxSvgCanvas2D.prototype.foEnabled
Specifies if use of foreignObject for HTML markup is allowed.
Specifies the event name for foldCells.
Fires between begin- and endUpdate in foldCells.
mxGraph.prototype.foldCells = function(collapse,
recurse,
cells,
checkFoldable)
Sets the collapsed state of the specified cells and all descendants if recurse is true.
mxSpaceManager.prototype.foldHandler
Holds the function that handles the fold event.
mxGraph.prototype.foldingEnabled
Specifies if folding (collapse and expand via an image icon in the graph should be enabled).
Constant for bold fonts.
Constant for italic fonts.
Constant for fonts with a shadow.
Constant for underlined fonts.
mxFastOrganicLayout.prototype.forceConstant
The force constant by which the attractive forces are divided and the replusive forces are multiple by the square of.
mxFastOrganicLayout.prototype.forceConstantSquared
Cache of <forceConstant>^2 for performance.
mxEditor.prototype.forcedInserting
Specifies if a new cell should be inserted on a single click even using insertFunction if there is a cell under the mousepointer, otherwise the cell under the mousepointer is selected.
mxOutline.prototype.forceVmlHandles
Specifies if VML should be used to render the handles in this control.
mxAbstractCanvas2D.prototype.format = function(value)
Rounds all numbers to integers.
mxXmlCanvas2D.prototype.format = function(value)
Returns a formatted number with 2 decimal places.
+
mxConnectionHandler.prototype.factoryMethod
Function that is used for creating new edges.
mxPopupMenu.prototype.factoryMethod
Function that is used to create the popup menu.
fadeOut: function(node,
from,
remove,
step,
delay,
isEnabled)
Asynchronous fade-out operation.
fadeOut: function(node,
from,
remove,
step,
delay,
isEnabled)
See mxEffects.fadeOut.
Holds the XML node with the stencil description.
Name of the field to be used to store the object ID.
mxEditor.prototype.filename
Contains the URL of the last opened file as a string.
mxStackLayout.prototype.fill
Boolean indicating if dimension should be changed to fill out the parent cell.
mxSvgCanvas2D.prototype.fill = function()
Fills the current path.
mxVmlCanvas2D.prototype.fill = function()
Fills the current path.
mxXmlCanvas2D.prototype.fill = function()
Fills the current drawing buffer.
mxSvgCanvas2D.prototype.fillAndStroke = function()
Fills and paints the outline of the current path.
mxVmlCanvas2D.prototype.fillAndStroke = function()
Fills and paints the outline of the current path.
mxXmlCanvas2D.prototype.fillAndStroke = function()
Fills the current drawing buffer and its outline.
mxGraphModel.prototype.filterCells = function(cells,
filter)
Returns the cells from the given array where the fiven filter function returns true.
mxGraphModel.prototype.filterDescendants = function(filter,
parent)
Visits all cells recursively and applies the specified filter function to each cell.
mxHierarchicalLayout.prototype.filterDescendants = function(cell,
result)
Creates an array of descendant cells
mxSwimlaneLayout.prototype.filterDescendants = function(cell,
result)
Creates an array of descendant cells
findNearestSegment: function(state,
x,
y)
Finds the index of the nearest segment on the given cell state for the specified coordinate pair.
findNode: function(node,
attr,
value)
Returns the first node where attr equals value.
findNodeByAttribute: function()
Returns the first node where the given attribute matches the given value.
mxParallelEdgeLayout.prototype.findParallels = function(parent)
Finds the parallel edges in the given parent.
mxCompactTreeLayout.prototype.findRankHeights = function(node,
rank)
Stores the maximum height (relative to the layout direction) of cells in each rank
mxHierarchicalLayout.prototype.findRoots = function(parent,
vertices)
Returns all visible children in the given parent which do not have incoming edges.
mxSwimlaneLayout.prototype.findRoots = function(parent,
vertices)
Returns all visible children in the given parent which do not have incoming edges.
mxGraph.prototype.findTreeRoots = function(parent,
isolate,
invert)
Returns all children in the given parent which do not have incoming edges.
mxCoordinateAssignment.prototype.fineTuning
Whether or not to perform local optimisations and iterate multiple times through the algorithm.
mxHierarchicalLayout.prototype.fineTuning
Whether or not to perform local optimisations and iterate multiple times through the algorithm.
mxSwimlaneLayout.prototype.fineTuning
Whether or not to perform local optimisations and iterate multiple times through the algorithm.
Specifies the event name for fireMouseEvent.
Fires in fireMouseEvent before the mouse listeners are invoked.
Specifies the event name for fired.
Fires after an array of edits has been executed on the model.
mxEventSource.prototype.fireEvent = function(evt,
sender)
Dispatches the given event to the listeners which are registered for the event.
mxGraph.prototype.fireGestureEvent = function(evt,
cell)
Dispatches a mxEvent.GESTURE event.
mxGraph.prototype.fireMouseEvent = function(evtName,
me,
sender)
Dispatches the given event in the graph event dispatch loop.
mxConnectionHandler.prototype.first
Holds the mxPoint where the mouseDown took place while the handler is active.
mxGraph.prototype.fit = function(border,
keepOrigin)
Scales the graph such that the complete diagram fits into container and returns the current scale in the view.
fit: function(node)
Makes sure the given node is inside the visible area of the window.
mxWindow.prototype.fit = function()
Makes sure the window is inside the client area of the window.
mxGraphHierarchyModel.prototype.fixRanks = function()
Fixes the layer assignments to the values stored in the nodes.
mxSwimlaneModel.prototype.fixRanks = function()
Fixes the layer assignments to the values stored in the nodes.
Specifies the event name for flipEdge.
Fires between begin- and endUpdate in flipEdge.
mxGraph.prototype.flipEdge = function(edge)
Toggles the style of the given edge between null (or empty) and alternateEdgeStyle.
mxSvgCanvas2D.prototype.foAltText
Specifies the fallback text for unsupported foreignObjects in exported documents.
mxCellEditor.prototype.focusLost = function()
Called if the textarea has lost focus.
mxSvgCanvas2D.prototype.foEnabled
Specifies if use of foreignObject for HTML markup is allowed.
Specifies the event name for foldCells.
Fires between begin- and endUpdate in foldCells.
mxGraph.prototype.foldCells = function(collapse,
recurse,
cells,
checkFoldable)
Sets the collapsed state of the specified cells and all descendants if recurse is true.
mxSpaceManager.prototype.foldHandler
Holds the function that handles the fold event.
mxGraph.prototype.foldingEnabled
Specifies if folding (collapse and expand via an image icon in the graph should be enabled).
Constant for bold fonts.
Constant for italic fonts.
Constant for fonts with a shadow.
Constant for underlined fonts.
mxFastOrganicLayout.prototype.forceConstant
The force constant by which the attractive forces are divided and the replusive forces are multiple by the square of.
mxFastOrganicLayout.prototype.forceConstantSquared
Cache of <forceConstant>^2 for performance.
mxEditor.prototype.forcedInserting
Specifies if a new cell should be inserted on a single click even using insertFunction if there is a cell under the mousepointer, otherwise the cell under the mousepointer is selected.
mxOutline.prototype.forceVmlHandles
Specifies if VML should be used to render the handles in this control.
mxAbstractCanvas2D.prototype.format = function(value)
Rounds all numbers to integers.
mxXmlCanvas2D.prototype.format = function(value)
Returns a formatted number with 2 decimal places.
diff --git a/docs/js-api/index/General7.html b/docs/js-api/index/General7.html index e220a8009..6f5551606 100644 --- a/docs/js-api/index/General7.html +++ b/docs/js-api/index/General7.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
G
 geometry, mxCell
 geometryForCellChanged, mxGraphModel
 GESTURE
 get
 GET
 getAlignmentAsPoint, mxUtils
 getAlignmentTolerance, mxConnectionHandler
 getAllConnectionConstraints, mxGraph
 getAllEdges, mxGraph
 getAlternateContent, mxSvgCanvas2D
 getAppendices, mxPrintPreview
 getArcSize
 getAttribute, mxCell
 getAttributeName, mxObjectCodec
 getBackgroundImage, mxGraph
 getBackgroundPageBounds, mxGraphView
 getBackgroundPane, mxGraphView
 getBaseDomain, mxUrlConverter
 getBaseUrl, mxUrlConverter
 getBorder, mxGraph
 getBorderSizes, mxGraph
 getBoundingBox
 getBoundingBoxFromGeometry, mxGraph
 getBounds
 getBoundsForGroup, mxGraph
 getCanvas, mxGraphView
 getCell
 getCellAt, mxGraph
 getCellBounds, mxGraph
 getCellContainmentArea, mxGraph
 getCellForPopupEvent, mxPopupMenuHandler
 getCellGeometry, mxGraph
 getCellOverlays, mxGraph
 getCells
 getCellsBeyond, mxGraph
 getCellsForChange, mxLayoutManager
 getCellsForEdit, mxLayoutManager
 getCellsForGroup, mxGraph
 getCellStates, mxGraphView
 getCellsToShift, mxSpaceManager
 getCellStyle
 getCellValidationError, mxGraph
 getCenterX, mxRectangle
 getCenterY, mxRectangle
 getChildAt
 getChildCells
 getChildCount
 getChildEdges
 getChildNodes, mxUtils
 getChildOffsetForCell, mxGraph
 getChildren, mxGraphModel
 getChildVertices
 getClientX, mxEvent
 getClientY, mxEvent
 getCloneableCells, mxGraph
 getCodec, mxCodecRegistry
 getColor, mxUtils
 getConnectImage, mxConnectionHandler
 getConnectionConstraint, mxGraph
 getConnectionPoint, mxGraph
 getConnections
 getConstraint, mxGraphLayout
 getControlBounds, mxCellRenderer
 getCoreCell
 getCoverPages, mxPrintPreview
 getCurrentRoot, mxGraph
 getCurrentStyle, mxUtils
 getCurrentValue, mxCellEditor
 getCursor, mxShape
 getCursorForBend, mxElbowEdgeHandler
 getCursorForCell, mxGraph
 getCursorForMouseEvent, mxGraph
 getDefaultBundle, mxResources
 getDefaultEdgeStyle, mxStylesheet
 getDefaultParent, mxGraph
 getDefaultVertexStyle, mxStylesheet
 getDeletableCells, mxGraph
 getDelta
 getDescendants, mxGraphModel
 getDirectedEdgeCount, mxGraphModel
 getDocType, mxPrintPreview
 getDocumentElement, mxXmlRequest
 getDocumentHeight, mxDivResizer
 getDocumentScrollOrigin, mxUtils
 getDocumentWidth, mxDivResizer
 getDrawPane, mxGraphView
 getDropTarget
 getEdgeAt
 getEdgeColor, mxConnectionHandler
 getEdgeCount
 getEdgeId, mxParallelEdgeLayout
 getEdgeIndex, mxCell
 getEdges
 getEdgesBetween
 getEdgeStyle
 getEdgeValidationError, mxGraph
 getEdgeWidth, mxConnectionHandler
 getEditingCell, mxCellEditor
 getEditingValue, mxGraph
 getEditorBounds, mxCellEditor
 getElement, mxWindow
 getElementById, mxCodec
 getEmptyLabelText, mxCellEditor
 getEvent, mxMouseEvent
 getEventSource, mxEventSource
 getExportableCells, mxGraph
 getFieldName, mxObjectCodec
 getFieldTemplate, mxObjectCodec
 getFirstSelectableCell, mxGraphSelectionModel
 getFoldableCells, mxGraph
 getFoldingImage, mxGraph
 getFunction, mxKeyHandler
 getFunctionName, mxUtils
 getGeneralPurposeVariable
 getGeometry
 getGradientBounds
 getGraph
 getGraphBounds
 getGraphForEvent, mxDragSource
 getGraphX, mxMouseEvent
 getGraphY, mxMouseEvent
 getGridSize, mxGraph
 getGuideStates, mxGraphHandler
 getGuideTolerance, mxGuide
 getHandleFillColor, mxEdgeHandler
 getHandleForEvent
 getHandler, mxSelectionCellsHandler
 getHotspot, mxCellMarker
 getId
 getImage
 getImageBounds
 getImageForConstraint, mxConstraintHandler
 getImageFromBundles, mxGraph
 getImportableCells, mxGraph
 getIncomingEdges
 getIndex, mxCell
 getIndicatorBounds, mxLabel
 getIndicatorColor, mxGraph
 getIndicatorGradientColor, mxGraph
 getIndicatorImage, mxGraph
 getIndicatorShape, mxGraph
 getInitialCellForEvent, mxGraphHandler
 getInitialValue, mxCellEditor
 getInnerHtml, mxUtils
 getKeys, mxDictionary
 getLabel, mxGraph
 getLabelBounds
 getLabelValue, mxCellRenderer
 getLayout, mxLayoutManager
 getMainEvent, mxEvent
 getMargin, mxText
 getMarkedState, mxCellMarker
 getMarkerColor, mxCellMarker
 getMaximumGraphBounds, mxGraph
 getMinimumSize
 getModel
 getMovableCells, mxGraph
 getName
 getNearestCommonAncestor, mxGraphModel
 getNextLayerConnectedCells
 getNextPoint, mxGraphView
 getNumber, mxUtils
 getObject, mxCodec
 getOffset, mxUtils
 getOpposites
 getOrigin, mxGraphModel
 getOriginForCell, mxMorphing
 getOuterHtml, mxUtils
 getOutgoingEdges
 getOutlineOffset, mxOutline
 getOverlap, mxGraph
 getOverlayPane, mxGraphView
 getParent
 getParentOffset, mxGraphLayout
 getParentPath, mxCellPath
 getParents, mxGraphModel
 getParentSize, mxStackLayout
 getPerimeterBounds
 getPerimeterFunction, mxGraphView
 getPerimeterPoint, mxGraphView
 getPoint
 getPointForEvent
 getPreferredPageSize, mxGraph
 getPreferredSizeForCell, mxGraph
 getPrettyXML, mxUtils
 getPreviewBounds, mxGraphHandler
 getPreviewPoints
 getPreviewTerminalState, mxEdgeHandler
 getPreviousLayerConnectedCells
 getProperties, mxEventObject
 getProperty, mxEventObject
 getRadius, mxCircleLayout
 getRankValue, mxGraphHierarchyNode
 getRelativePoint, mxGraphView
 getRemovedCellsForChanges, mxGraph
 getRoot
 getRootTitle, mxEditor
 getRotatedPoint, mxUtils
 getRotation
 getRoutingCenterX, mxGraphView
 getRoutingCenterY, mxGraphView
 getScale, mxGraphView
 getScaleForPageCount, mxUtils
 getScrollOrigin, mxUtils
 getSelectionBounds, mxVertexHandler
 getSelectionCell, mxGraph
 getSelectionCells, mxGraph
 getSelectionCellsForChanges, mxGraph
 getSelectionColor
 getSelectionCount, mxGraph
 getSelectionModel, mxGraph
 getSelectionPoints, mxEdgeHandler
 getSelectionStrokeWidth
 getShape, mxCellRenderer
 getShapeConstructor, mxCellRenderer
 getShapeRotation
 getShapesForState, mxCellRenderer
 getSizeForString, mxUtils
 getSnapToTerminalTolerance, mxEdgeHandler
 getSource
 getSourceContainerSize, mxOutline
 getSourcePerimeterPoint, mxConnectionHandler
 getSpacing, mxText
 getSpecialBundle, mxResources
 getStartSize, mxGraph
 getState
 getStateForEvent, mxGraph
 getStates, mxGraphView
 getStateToMark, mxCellMarker
 getStatus, mxXmlRequest
 getStencil, mxStencilRegistry
 getStringValue, mxStylesheetCodec
 getStyle
 getStylename, mxUtils
 getStylenames, mxUtils
 getStylesheet, mxGraph
 getSvgGradient, mxSvgCanvas2D
 getSvgScreenOffset
 getSwimlane, mxGraph
 getSwimlaneAt, mxGraph
 getTable, mxForm
 getTargetPerimeterPoint, mxConnectionHandler
 getTemplate, mxEditor
 getTerminal
 getTerminalForPort, mxGraph
 getTerminalPoint, mxGeometry
 getTerminalPort, mxGraphView
 getText, mxXmlRequest
 getTextContent, mxUtils
 getTextRotation
 getTextScale, mxCellRenderer
 getTitle, mxEditor
 getTolerance
 getTooltip, mxGraph
 getTooltipForCell, mxGraph
 getTooltipForNode, mxElbowEdgeHandler
 getTopmostCells, mxGraphModel
 getTranslate, mxGraphView
 getTranslateForEvent, mxOutline
 getTranslateForRoot, mxGraph
 getUrlImage, mxEditor
 getUrlPost, mxEditor
 getValidState, mxCellMarker
 getValue
 getValues, mxDictionary
 getVertexBounds, mxGraphLayout
 getVerticalAlign, mxGraph
 getView, mxGraph
 getViewXml, mxUtils
 getVisibleTerminal
 getVisibleTerminalState, mxCellState
 getVmlDashPattern, mxVmlCanvas2D
 getWindow, mxPrintPreview
 getX
 getXml
 getY
 gradients, mxSvgCanvas2D
 graph
 Graph appearance, mxGraph
 Graph behaviour, mxGraph
 Graph display, mxGraph
 Graph events, mxGraph
 graphBounds, mxGraphView
 graphContainsEvent, mxDragSource
 graphModelChanged
 graphRenderHint
 graphX, mxMouseEvent
 graphY, mxMouseEvent
 gridEnabled
 gridSize, mxGraph
 GROUP_CELLS
 groupCells
 Grouping, mxGraph
 groupPadding
 grow, mxRectangle
 guide, mxGraphHandler
 GUIDE_COLOR, mxConstants
 GUIDE_STROKEWIDTH, mxConstants
 guidesEnabled
+
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
G
 geometry, mxCell
 geometryForCellChanged, mxGraphModel
 GESTURE
 get
 GET
 getAlignmentAsPoint, mxUtils
 getAlignmentTolerance, mxConnectionHandler
 getAllConnectionConstraints, mxGraph
 getAllEdges, mxGraph
 getAlternateContent, mxSvgCanvas2D
 getAppendices, mxPrintPreview
 getArcSize
 getAttribute, mxCell
 getAttributeName, mxObjectCodec
 getBackgroundImage, mxGraph
 getBackgroundPageBounds, mxGraphView
 getBackgroundPane, mxGraphView
 getBaseDomain, mxUrlConverter
 getBaseUrl, mxUrlConverter
 getBorder, mxGraph
 getBorderSizes, mxGraph
 getBoundingBox
 getBoundingBoxFromGeometry, mxGraph
 getBounds
 getBoundsForGroup, mxGraph
 getCanvas, mxGraphView
 getCell
 getCellAt, mxGraph
 getCellBounds, mxGraph
 getCellContainmentArea, mxGraph
 getCellForPopupEvent, mxPopupMenuHandler
 getCellGeometry, mxGraph
 getCellOverlays, mxGraph
 getCells
 getCellsBeyond, mxGraph
 getCellsForChange, mxLayoutManager
 getCellsForEdit, mxLayoutManager
 getCellsForGroup, mxGraph
 getCellStates, mxGraphView
 getCellsToShift, mxSpaceManager
 getCellStyle
 getCellValidationError, mxGraph
 getCenterX, mxRectangle
 getCenterY, mxRectangle
 getChildAt
 getChildCells
 getChildCount
 getChildEdges
 getChildNodes, mxUtils
 getChildOffsetForCell, mxGraph
 getChildren, mxGraphModel
 getChildVertices
 getClientX, mxEvent
 getClientY, mxEvent
 getCloneableCells, mxGraph
 getCodec, mxCodecRegistry
 getColor, mxUtils
 getConnectImage, mxConnectionHandler
 getConnectionConstraint, mxGraph
 getConnectionPoint, mxGraph
 getConnections
 getConstraint, mxGraphLayout
 getControlBounds, mxCellRenderer
 getCoreCell
 getCoverPages, mxPrintPreview
 getCurrentRoot, mxGraph
 getCurrentStyle, mxUtils
 getCurrentValue, mxCellEditor
 getCursor, mxShape
 getCursorForBend, mxElbowEdgeHandler
 getCursorForCell, mxGraph
 getCursorForMouseEvent, mxGraph
 getDefaultBundle, mxResources
 getDefaultEdgeStyle, mxStylesheet
 getDefaultParent, mxGraph
 getDefaultVertexStyle, mxStylesheet
 getDeletableCells, mxGraph
 getDelta
 getDescendants, mxGraphModel
 getDirectedEdgeCount, mxGraphModel
 getDocType, mxPrintPreview
 getDocumentElement, mxXmlRequest
 getDocumentHeight, mxDivResizer
 getDocumentScrollOrigin, mxUtils
 getDocumentWidth, mxDivResizer
 getDrawPane, mxGraphView
 getDropTarget
 getEdgeAt
 getEdgeColor, mxConnectionHandler
 getEdgeCount
 getEdgeId, mxParallelEdgeLayout
 getEdgeIndex, mxCell
 getEdges
 getEdgesBetween
 getEdgeStyle
 getEdgeValidationError, mxGraph
 getEdgeWidth, mxConnectionHandler
 getEditingCell, mxCellEditor
 getEditingValue, mxGraph
 getEditorBounds, mxCellEditor
 getElement, mxWindow
 getElementById, mxCodec
 getEmptyLabelText, mxCellEditor
 getEvent, mxMouseEvent
 getEventSource, mxEventSource
 getExportableCells, mxGraph
 getFieldName, mxObjectCodec
 getFieldTemplate, mxObjectCodec
 getFirstSelectableCell, mxGraphSelectionModel
 getFoldableCells, mxGraph
 getFoldingImage, mxGraph
 getFunction, mxKeyHandler
 getFunctionName, mxUtils
 getGeneralPurposeVariable
 getGeometry
 getGradientBounds
 getGraph
 getGraphBounds
 getGraphForEvent, mxDragSource
 getGraphX, mxMouseEvent
 getGraphY, mxMouseEvent
 getGridSize, mxGraph
 getGuideStates, mxGraphHandler
 getGuideTolerance, mxGuide
 getHandleFillColor, mxEdgeHandler
 getHandleForEvent
 getHandler, mxSelectionCellsHandler
 getHotspot, mxCellMarker
 getId
 getImage
 getImageBounds
 getImageForConstraint, mxConstraintHandler
 getImageFromBundles, mxGraph
 getImportableCells, mxGraph
 getIncomingEdges
 getIndex, mxCell
 getIndicatorBounds, mxLabel
 getIndicatorColor, mxGraph
 getIndicatorGradientColor, mxGraph
 getIndicatorImage, mxGraph
 getIndicatorShape, mxGraph
 getInitialCellForEvent, mxGraphHandler
 getInitialValue, mxCellEditor
 getInnerHtml, mxUtils
 getKeys, mxDictionary
 getLabel, mxGraph
 getLabelBounds
 getLabelValue, mxCellRenderer
 getLayout, mxLayoutManager
 getMainEvent, mxEvent
 getMargin, mxText
 getMarkedState, mxCellMarker
 getMarkerColor, mxCellMarker
 getMaximumGraphBounds, mxGraph
 getMinimumSize
 getModel
 getMovableCells, mxGraph
 getName
 getNearestCommonAncestor, mxGraphModel
 getNextLayerConnectedCells
 getNextPoint, mxGraphView
 getNumber, mxUtils
 getObject, mxCodec
 getOffset, mxUtils
 getOpposites
 getOrigin, mxGraphModel
 getOriginForCell, mxMorphing
 getOuterHtml, mxUtils
 getOutgoingEdges
 getOutlineOffset, mxOutline
 getOverlap, mxGraph
 getOverlayPane, mxGraphView
 getParent
 getParentOffset, mxGraphLayout
 getParentPath, mxCellPath
 getParents, mxGraphModel
 getParentSize, mxStackLayout
 getPerimeterBounds
 getPerimeterFunction, mxGraphView
 getPerimeterPoint, mxGraphView
 getPoint
 getPointForEvent
 getPreferredPageSize, mxGraph
 getPreferredSizeForCell, mxGraph
 getPrettyXML, mxUtils
 getPreviewBounds, mxGraphHandler
 getPreviewPoints
 getPreviewTerminalState, mxEdgeHandler
 getPreviousLayerConnectedCells
 getProperties, mxEventObject
 getProperty, mxEventObject
 getRadius, mxCircleLayout
 getRankValue, mxGraphHierarchyNode
 getRelativePoint, mxGraphView
 getRemovedCellsForChanges, mxGraph
 getRoot
 getRootTitle, mxEditor
 getRotatedPoint, mxUtils
 getRotation
 getRoutingCenterX, mxGraphView
 getRoutingCenterY, mxGraphView
 getScale, mxGraphView
 getScaleForPageCount, mxUtils
 getScrollOrigin, mxUtils
 getSelectionBounds, mxVertexHandler
 getSelectionCell, mxGraph
 getSelectionCells, mxGraph
 getSelectionCellsForChanges, mxGraph
 getSelectionColor
 getSelectionCount, mxGraph
 getSelectionModel, mxGraph
 getSelectionPoints, mxEdgeHandler
 getSelectionStrokeWidth
 getShape, mxCellRenderer
 getShapeConstructor, mxCellRenderer
 getShapeRotation
 getShapesForState, mxCellRenderer
 getSizeForString, mxUtils
 getSnapToTerminalTolerance, mxEdgeHandler
 getSource
 getSourceContainerSize, mxOutline
 getSourcePerimeterPoint, mxConnectionHandler
 getSpacing, mxText
 getSpecialBundle, mxResources
 getStartSize, mxGraph
 getState
 getStateForEvent, mxGraph
 getStates, mxGraphView
 getStateToMark, mxCellMarker
 getStatus, mxXmlRequest
 getStencil, mxStencilRegistry
 getStringValue, mxStylesheetCodec
 getStyle
 getStylename, mxUtils
 getStylenames, mxUtils
 getStylesheet, mxGraph
 getSvgGradient, mxSvgCanvas2D
 getSvgScreenOffset
 getSwimlane, mxGraph
 getSwimlaneAt, mxGraph
 getTable, mxForm
 getTargetPerimeterPoint, mxConnectionHandler
 getTemplate, mxEditor
 getTerminal
 getTerminalForPort, mxGraph
 getTerminalPoint, mxGeometry
 getTerminalPort, mxGraphView
 getText, mxXmlRequest
 getTextContent, mxUtils
 getTextRotation
 getTextScale, mxCellRenderer
 getTitle, mxEditor
 getTolerance
 getTooltip, mxGraph
 getTooltipForCell, mxGraph
 getTooltipForNode, mxElbowEdgeHandler
 getTopmostCells, mxGraphModel
 getTranslate, mxGraphView
 getTranslateForEvent, mxOutline
 getTranslateForRoot, mxGraph
 getUrlImage, mxEditor
 getUrlPost, mxEditor
 getValidState, mxCellMarker
 getValue
 getValues, mxDictionary
 getVertexBounds, mxGraphLayout
 getVerticalAlign, mxGraph
 getView, mxGraph
 getViewXml, mxUtils
 getVisibleTerminal
 getVisibleTerminalState, mxCellState
 getVmlDashPattern, mxVmlCanvas2D
 getWindow, mxPrintPreview
 getX
 getXml
 getY
 gradients, mxSvgCanvas2D
 graph
 Graph appearance, mxGraph
 Graph behaviour, mxGraph
 Graph display, mxGraph
 Graph events, mxGraph
 graphBounds, mxGraphView
 graphContainsEvent, mxDragSource
 graphModelChanged
 graphRenderHint
 graphX, mxMouseEvent
 graphY, mxMouseEvent
 gridEnabled
 gridSize, mxGraph
 GROUP_CELLS
 groupCells
 Grouping, mxGraph
 groupPadding
 grow, mxRectangle
 guide, mxGraphHandler
 GUIDE_COLOR, mxConstants
 GUIDE_STROKEWIDTH, mxConstants
 guidesEnabled
-
mxCell.prototype.geometry
Holds the mxGeometry.
mxGraphModel.prototype.geometryForCellChanged = function(cell,
geometry)
Inner callback to update the mxGeometry of the given mxCell using mxCell.setGeometry and return the previous mxGeometry.
Specifies the event name for gesture.
Fires in fireGestureEvent after a touch gesture.
mxDictionary.prototype.get = function(key)
Returns the value for the given key.
get: function(obj)
Returns the object id for the given object.
get: function(key,
params,
defaultValue)
Returns the value for the specified resource key.
mxSession.prototype.get = function(url,
onLoad,
onError)
Sends an asynchronous get request to the given URL, fires a get event and invokes the given onLoad function when a response is received.
get: function(url,
onload,
onerror)
Loads the specified URL asynchronously and invokes the given functions depending on the request status.
Specifies the event name for get.
Fires after a response was received in get.
getAlignmentAsPoint: function(align,
valign)
Returns an mxPoint that represents the horizontal and vertical alignment for numeric computations.
mxConnectionHandler.prototype.getAlignmentTolerance = function()
Returns the tolerance for aligning new targets to sources.
mxGraph.prototype.getAllConnectionConstraints = function(terminal,
source)
Returns an array of all mxConnectionConstraints for the given terminal.
mxGraph.prototype.getAllEdges = function(cells)
Returns all edges connected to the given cells or its descendants.
Returns the alternate content for the given foreignObject.
mxPrintPreview.prototype.getAppendices = function()
Returns the pages to be added after the print output.
mxShape.prototype.getArcSize = function(w,
h)
Returns the arc size for the given dimension.
mxSwimlane.prototype.getArcSize = function(w,
h,
start)
Returns the arcsize for the swimlane.
mxCell.prototype.getAttribute = function(name,
defaultValue)
Returns the specified attribute from the user object if it is an XML node.
mxObjectCodec.prototype.getAttributeName = function(fieldname)
Returns the attributename for the given fieldname.
mxGraph.prototype.getBackgroundImage = function()
Returns the backgroundImage as an mxImage.
mxGraphView.prototype.getBackgroundPageBounds = function()
Returns the bounds for the background page.
mxGraphView.prototype.getBackgroundPane = function()
Returns the DOM node that represents the background layer.
mxUrlConverter.prototype.getBaseDomain = function()
Returns baseDomain.
mxUrlConverter.prototype.getBaseUrl = function()
Returns baseUrl.
mxGraph.prototype.getBorder = function()
Returns the value of border.
mxGraph.prototype.getBorderSizes = function()
Returns the size of the border and padding on all four sides of the container.
mxGraphHandler.prototype.getBoundingBox = function(cells)
Returns the mxRectangle that represents the bounding box for the given cells.
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.
getBoundingBox: function(rect,
rotation)
Returns the bounding box for the rotated rectangle.
mxGraph.prototype.getBoundingBoxFromGeometry = function(cells,
includeEdges)
Returns the bounding box for the geometries of the vertices in the given array of cells.
mxCellOverlay.prototype.getBounds = function(state)
Returns the bounds of the overlay for the given mxCellState as an mxRectangle.
mxGraphView.prototype.getBounds = function(cells)
Returns the bounds (on the screen) for the given array of mxCells.
mxGraph.prototype.getBoundsForGroup = function(group,
children,
border)
Returns the bounds to be used for the given group and children.
mxGraphView.prototype.getCanvas = function()
Returns the DOM node that contains the background-, draw- and overlaypane.
mxCellMarker.prototype.getCell = function(me)
Returns the mxCell for the given event and cell.
mxGraphModel.prototype.getCell = function(id)
Returns the mxCell for the specified Id or null if no cell can be found for the given Id.
mxMouseEvent.prototype.getCell = function()
Returns the mxCell in state is not null.
mxGraph.prototype.getCellAt = function(x,
y,
parent,
vertices,
edges)
Returns the bottom-most cell that intersects the given point (x, y) in the cell hierarchy starting at the given parent.
mxGraph.prototype.getCellBounds = function(cell,
includeEdges,
includeDescendants)
Returns the scaled, translated bounds for the given cell.
mxGraph.prototype.getCellContainmentArea = function(cell)
Returns the mxRectangle inside which a cell is to be kept.
mxPopupMenuHandler.prototype.getCellForPopupEvent = function(me)
Hook to return the cell for the mouse up popup trigger handling.
mxGraph.prototype.getCellGeometry = function(cell)
Returns the mxGeometry for the given cell.
mxGraph.prototype.getCellOverlays = function(cell)
Returns the array of mxCellOverlays for the given cell or null, if no overlays are defined.
getCells: function()
Returns the cells in the clipboard.
mxGraph.prototype.getCells = function(x,
y,
width,
height,
parent,
result)
Returns the children of the given parent that are contained in the given rectangle (x, y, width, height).
mxGraphHandler.prototype.getCells = function(initialCell)
Returns the cells to be modified by this handler.
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 and/or downwards depending on rightHalfpane and bottomHalfpane.
mxLayoutManager.prototype.getCellsForChange = function(change)
Executes all layouts which have been scheduled during the changes.
Returns the cells to be layouted for the given sequence of changes.
mxGraph.prototype.getCellsForGroup = function(cells)
Returns the cells with the same parent as the first cell in the given array.
mxGraphView.prototype.getCellStates = function(cells)
Returns the mxCellStates for the given array of mxCells.
mxSpaceManager.prototype.getCellsToShift = function(state)
Returns the cells to shift after a resize of the specified mxCellState.
mxGraph.prototype.getCellStyle = function(cell)
Returns an array of key, value pairs representing the cell style for the given cell.
mxStylesheet.prototype.getCellStyle = function(name,
defaultStyle)
Returns the cell style for the specified stylename or the given defaultStyle if no style can be found for the given stylename.
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.
mxRectangle.prototype.getCenterX = function ()
Returns the x-coordinate of the center point.
mxRectangle.prototype.getCenterY = function ()
Returns the y-coordinate of the center point.
mxCell.prototype.getChildAt = function(index)
Returns the child at the specified index.
mxGraphModel.prototype.getChildAt = function(cell,
index)
Returns the child of the given mxCell at the given index.
mxGraph.prototype.getChildCells = function(parent,
vertices,
edges)
Returns the visible child vertices or edges in the given parent.
mxGraphModel.prototype.getChildCells = function(parent,
vertices,
edges)
Returns the children of the given cell that are vertices and/or edges depending on the arguments.
mxCell.prototype.getChildCount = function()
Returns the number of child cells.
mxGraphModel.prototype.getChildCount = function(cell)
Returns the number of children in the given cell.
mxGraph.prototype.getChildEdges = function(parent)
Returns the visible child edges of the given parent.
mxGraphModel.prototype.getChildEdges = function(parent)
Returns the child edges of the given parent.
getChildNodes: function(node,
nodeType)
Returns an array of child nodes that are of the given node type.
mxGraph.prototype.getChildOffsetForCell = function(cell)
Returns the offset to be used for the cells inside the given cell.
mxGraphModel.prototype.getChildren = function(cell)
Returns all children of the given mxCell as an array of mxCells.
mxGraph.prototype.getChildVertices = function(parent)
Returns the visible child vertices of the given parent.
mxGraphModel.prototype.getChildVertices = function(parent)
Returns the child vertices of the given parent.
getClientX: function(e)
Returns true if the meta key is pressed for the given event.
getClientY: function(e)
Returns true if the meta key is pressed for the given event.
mxGraph.prototype.getCloneableCells = function(cells)
Returns the cells which may be exported in the given array of cells.
getCodec: function(ctor)
Returns a codec that handles objects that are constructed using the given constructor.
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.
mxConnectionHandler.prototype.getConnectImage = function(state)
Hook to return the mxImage used for the connection icon of the given mxCellState.
mxGraph.prototype.getConnectionConstraint = function(edge,
terminal,
source)
Returns an 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.
mxGraph.prototype.getConnections = function(cell,
parent)
Returns all visible edges connected to the given cell without loops.
mxGraphModel.prototype.getConnections = function(cell)
Returns all edges of the given cell without loops.
mxGraphLayout.prototype.getConstraint = function(key,
cell,
edge,
source)
Returns the constraint for the given key and cell.
mxCellRenderer.prototype.getControlBounds = function(state,
w,
h)
Returns the bounds to be used to draw the control (folding icon) of the given state.
mxGraphHierarchyEdge.prototype.getCoreCell = function()
Gets the first core edge associated with this wrapper
mxGraphHierarchyNode.prototype.getCoreCell = function()
Gets the core vertex associated with this wrapper
mxPrintPreview.prototype.getCoverPages = function()
Returns the pages to be added before the print output.
mxGraph.prototype.getCurrentRoot = function()
Returns the current root of the displayed cell hierarchy.
getCurrentStyle: function()
Returns the current style of the specified element.
mxCellEditor.prototype.getCurrentValue = function()
Returns the current editing value.
mxShape.prototype.getCursor = function()
Returns the current cursor.
mxElbowEdgeHandler.prototype.getCursorForBend = function()
Returns the cursor to be used for the bend.
mxGraph.prototype.getCursorForCell = function(cell)
Returns the cursor value to be used for the CSS of the shape 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.
getDefaultBundle: function(basename,
lan)
Hook for subclassers to return the URL for the special bundle.
mxStylesheet.prototype.getDefaultEdgeStyle = function()
Sets the default style for edges.
mxGraph.prototype.getDefaultParent = function()
Returns defaultParent or mxGraphView.currentRoot or the first child child of mxGraphModel.root if both are null.
mxStylesheet.prototype.getDefaultVertexStyle = function()
Returns the default style for vertices.
mxGraph.prototype.getDeletableCells = function(cells)
Returns the cells which may be exported in the given array of cells.
mxGraphHandler.prototype.getDelta = function(me)
Returns an mxPoint that represents the vector for moving the cells for the given mxMouseEvent.
mxMorphing.prototype.getDelta = function(state)
Returns the vector between the current rendered state and the future location of the state after the display will be updated.
mxGraphModel.prototype.getDescendants = function(parent)
Returns all descendants of the given cell and the cell itself in an array.
mxGraphModel.prototype.getDirectedEdgeCount = function(cell,
outgoing,
ignoredEdge)
Returns the number of incoming or outgoing edges, ignoring the given edge.
Returns the string that should go before the HTML tag in the print preview page.
mxXmlRequest.prototype.getDocumentElement = function()
Returns the document element of the response XML document.
mxDivResizer.prototype.getDocumentHeight = function()
Hook for subclassers to return the height of the document (without scrollbars).
getDocumentScrollOrigin: function(doc)
Returns the scroll origin of the given document or the current document if no document is given.
mxDivResizer.prototype.getDocumentWidth = function()
Hook for subclassers to return the width of the document (without scrollbars).
mxGraphView.prototype.getDrawPane = function()
Returns the DOM node that represents the main drawing layer.
mxDragSource.prototype.getDropTarget = function(graph,
x,
y)
Returns the drop target for the given graph and coordinates.
mxGraph.prototype.getDropTarget = function(cells,
evt,
cell)
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.
mxCell.prototype.getEdgeAt = function(index)
Returns the edge at the specified index in edges.
mxGraphModel.prototype.getEdgeAt = function(cell,
index)
Returns the edge of cell at the given index.
mxConnectionHandler.prototype.getEdgeColor = function(valid)
Returns the color used to draw the preview edge.
mxCell.prototype.getEdgeCount = function()
Returns the number of edges in the edge array.
mxGraphModel.prototype.getEdgeCount = function(cell)
Returns the number of distinct edges connected to the given cell.
mxParallelEdgeLayout.prototype.getEdgeId = function(edge)
Returns a unique ID for the given edge.
mxCell.prototype.getEdgeIndex = function(edge)
Returns the index of the specified edge in edges.
mxGraph.prototype.getEdges = function(cell,
parent,
incoming,
outgoing,
includeLoops,
recurse)
Returns the incoming and/or outgoing edges for the given cell.
mxGraphModel.prototype.getEdges = function(cell,
incoming,
outgoing,
includeLoops)
Returns all distinct edges connected to this cell as a new array of mxCells.
mxHierarchicalLayout.prototype.getEdges = function(cell)
Returns the connected edges for the given cell.
mxSwimlaneLayout.prototype.getEdges = function(cell)
Returns the connected edges for the given cell.
mxGraph.prototype.getEdgesBetween = function(source,
target,
directed)
Returns the edges between the given source and target.
mxGraphModel.prototype.getEdgesBetween = function(source,
target,
directed)
Returns all edges between the given source and target pair.
mxHierarchicalLayout.prototype.getEdgesBetween = function(source,
target,
directed)
Returns the edges between the given source and target.
mxSwimlaneLayout.prototype.getEdgesBetween = function(source,
target,
directed)
Returns the edges between the given source and target.
mxEditor.prototype.getEdgeStyle = function ()
Returns a string identifying the style of new edges.
mxGraphView.prototype.getEdgeStyle = function(edge,
points,
source,
target)
Returns the edge style function to be used to render the given edge state.
mxGraph.prototype.getEdgeValidationError = function(edge,
source,
target)
Returns the validation error message to be displayed when inserting or changing an edges’ connectivity.
mxConnectionHandler.prototype.getEdgeWidth = function(valid)
Returns the width used to draw the preview edge.
mxCellEditor.prototype.getEditingCell = function ()
Returns the cell that is currently being edited or null if no cell is being edited.
mxGraph.prototype.getEditingValue = function(cell,
evt)
Returns the initial value for in-place editing.
mxCellEditor.prototype.getEditorBounds = function(state)
Returns the mxRectangle that defines the bounds of the editor.
mxWindow.prototype.getElement = function()
Returuns the outermost DOM node that makes up the window.
mxCodec.prototype.getElementById = function(id,
attr)
Returns the element with the given ID from document.
mxCellEditor.prototype.getEmptyLabelText = function (cell)
Returns the initial label value to be used of the label of the given cell is empty.
mxMouseEvent.prototype.getEvent = function()
Returns evt.
mxEventSource.prototype.getEventSource = function()
Returns eventSource.
mxGraph.prototype.getExportableCells = function(cells)
Returns the cells which may be exported in the given array of cells.
mxObjectCodec.prototype.getFieldName = function(attributename)
Returns the fieldname for the given attributename.
mxObjectCodec.prototype.getFieldTemplate = function(obj,
fieldname,
child)
Returns the template instance for the given field.
mxGraphSelectionModel.prototype.getFirstSelectableCell = function(cells)
Returns the first selectable cell in the given array of cells.
mxGraph.prototype.getFoldableCells = function(cells,
collapse)
Returns the cells which are movable in the given array of cells.
mxGraph.prototype.getFoldingImage = function(state)
Returns the mxImage used to display the collapsed state of the specified cell state.
mxKeyHandler.prototype.getFunction = function(evt)
Returns the function associated with the given key event or null if no function is associated with the given event.
getFunctionName: function(f)
Returns the name for the given function.
mxGraphAbstractHierarchyCell.prototype.getGeneralPurposeVariable = function(
   layer
)
Gets the value of temp for the specified layer
mxGraphHierarchyEdge.prototype.getGeneralPurposeVariable = function(layer)
Gets the value of temp for the specified layer
mxGraphHierarchyNode.prototype.getGeneralPurposeVariable = function(layer)
Gets the value of temp for the specified layer
mxCell.prototype.getGeometry = function()
Returns the mxGeometry that describes the geometry.
mxGraphModel.prototype.getGeometry = function(cell)
Returns the mxGeometry of the given mxCell.
mxShape.prototype.getGradientBounds = function(c,
x,
y,
w,
h)
Returns the bounding box for the gradient box for this shape.
Returns the bounding box for the gradient box for this shape.
mxGraphLayout.prototype.getGraph = function()
Returns the graph that this layout operates on.
mxLayoutManager.prototype.getGraph = function()
Returns the graph that this layout operates on.
mxSpaceManager.prototype.getGraph = function()
Returns the graph that this layout operates on.
mxSwimlaneManager.prototype.getGraph = function()
Returns the graph that this manager operates on.
mxGraph.prototype.getGraphBounds = function()
Returns the bounds of the visible graph.
mxGraphView.prototype.getGraphBounds = function()
Returns graphBounds.
mxDragSource.prototype.getGraphForEvent = function(evt)
Returns the graph for the given mouse event.
mxMouseEvent.prototype.getGraphX = function()
Returns graphX.
mxMouseEvent.prototype.getGraphY = function()
Returns graphY.
mxGraph.prototype.getGridSize = function()
Returns gridSize.
mxGraphHandler.prototype.getGuideStates = function()
Creates an array of cell states which should be used as guides.
mxGuide.prototype.getGuideTolerance = function()
Returns the tolerance for the guides.
mxEdgeHandler.prototype.getHandleFillColor = function(index)
Returns the fillcolor for the handle at the given index.
mxEdgeHandler.prototype.getHandleForEvent = function(me)
Returns the index of the handle for the given event.
mxVertexHandler.prototype.getHandleForEvent = function(me)
Returns the index of the handle for the given event.
mxSelectionCellsHandler.prototype.getHandler = function(cell)
Returns the handler for the given cell.
mxCellMarker.prototype.getHotspot = function()
Returns the hotspot.
mxCell.prototype.getId = function()
Returns the Id of the cell as a string.
mxCodec.prototype.getId = function(obj)
Returns the ID of the specified object.
mxGraph.prototype.getImage = function(state)
Returns the image URL for the given cell state.
mxImageBundle.prototype.getImage = function(key)
Returns the value for the given key.
mxLabel.prototype.getImageBounds = function(x,
y,
w,
h)
Generic background painting implementation.
mxSwimlane.prototype.getImageBounds = function(x,
y,
w,
h)
Paints the swimlane vertex shape.
mxConstraintHandler.prototype.getImageForConstraint = function(state,
constraint,
point)
Returns the tolerance to be used for intersecting connection points.
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.getImportableCells = function(cells)
Returns the cells which may be imported in the given array of cells.
mxGraph.prototype.getIncomingEdges = function(cell,
parent)
Returns the visible incoming edges for the given cell.
mxGraphModel.prototype.getIncomingEdges = function(cell)
Returns the incoming edges of the given cell without loops.
mxCell.prototype.getIndex = function(child)
Returns the index of the specified child in the child array.
mxLabel.prototype.getIndicatorBounds = function(x,
y,
w,
h)
Generic background painting implementation.
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.getIndicatorImage = function(state)
Returns the indicator image for the given cell state.
mxGraph.prototype.getIndicatorShape = function(state)
Returns the indicator shape for the given cell state.
mxGraphHandler.prototype.getInitialCellForEvent = function(me)
Hook to return initial cell for the given event.
mxCellEditor.prototype.getInitialValue = function(state,
trigger)
Gets the initial editing value for the given cell.
getInnerHtml: function()
Returns the inner HTML for the given node as a string or an empty string if no node was specified.
mxDictionary.prototype.getKeys = function()
Returns all keys as an array.
mxGraph.prototype.getLabel = function(cell)
Returns a string or DOM node that represents the label for the given cell.
mxCellRenderer.prototype.getLabelBounds = function(state)
Returns the bounds to be used to draw the label of the given state.
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.
mxCellRenderer.prototype.getLabelValue = function(state)
Returns the value to be used for the label.
mxLayoutManager.prototype.getLayout = function(parent)
Returns the layout to be executed for the given graph and parent.
getMainEvent: function(e)
Returns the touch or mouse event that contains the mouse coordinates.
Returns the spacing as an mxPoint.
mxCellMarker.prototype.getMarkedState = function()
Returns the markedState.
mxCellMarker.prototype.getMarkerColor = function(evt,
state,
isValid)
Returns the valid- or invalidColor depending on the value of isValid.
mxGraph.prototype.getMaximumGraphBounds = function()
Returns the bounds inside which the diagram should be kept as an mxRectangle.
mxCellEditor.prototype.getMinimumSize = function(state)
Returns the minimum width and height for editing the given state.
mxWindow.prototype.getMinimumSize = function()
Returns an mxRectangle that specifies the size for the minimized window.
mxGraph.prototype.getModel = function()
Returns the mxGraphModel that contains the cells.
mxHierarchicalLayout.prototype.getModel = function()
Returns the internal mxGraphHierarchyModel for this layout algorithm.
mxSwimlaneLayout.prototype.getModel = function()
Returns the internal mxSwimlaneModel for this layout algorithm.
mxGraph.prototype.getMovableCells = function(cells)
Returns the cells which are movable in the given array of cells.
mxEventObject.prototype.getName = function()
Returns name.
mxObjectCodec.prototype.getName = function()
Returns the name used for the nodenames and lookup of the codec when classes are encoded and nodes are decoded.
getName: function(value)
Returns the name for the given value.
mxGraphModel.prototype.getNearestCommonAncestor = function(cell1,
cell2)
Returns the nearest common ancestor for the specified cells.
mxGraphAbstractHierarchyCell.prototype.getNextLayerConnectedCells = function(
   layer
)
Returns the cells this cell connects to on the next layer up
mxGraphHierarchyEdge.prototype.getNextLayerConnectedCells = function(layer)
Returns the cells this cell connects to on the next layer up
mxGraphHierarchyNode.prototype.getNextLayerConnectedCells = function(layer)
Returns the cells this cell connects to on the next layer up
mxGraphView.prototype.getNextPoint = function(edge,
opposite,
source)
Returns the nearest point in the list of absolute points or the center of the opposite terminal.
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.
mxCodec.prototype.getObject = function(id)
Returns the decoded object for the element with the specified ID in document.
getOffset: function(container,
scrollOffset)
Returns the offset for the specified container as an mxPoint.
mxGraph.prototype.getOpposites = function(edges,
terminal,
sources,
targets)
Returns all distinct visible opposite cells for the specified terminal on the given edges.
mxGraphModel.prototype.getOpposites = function(edges,
terminal,
sources,
targets)
Returns all opposite vertices wrt terminal for the given edges, only returning sources and/or targets as specified.
mxGraphModel.prototype.getOrigin = function(cell)
Returns the absolute, accumulated origin for the children inside the given parent as an mxPoint.
mxMorphing.prototype.getOriginForCell = function(cell)
Returns the top, left corner of the given cell.
getOuterHtml: function()
Returns the outer HTML for the given node as a string or an empty string if no node was specified.
mxGraph.prototype.getOutgoingEdges = function(cell,
parent)
Returns the visible outgoing edges for the given cell.
mxGraphModel.prototype.getOutgoingEdges = function(cell)
Returns the outgoing edges of the given cell without loops.
mxOutline.prototype.getOutlineOffset = function(scale)
Returns the offset for drawing the outline graph.
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.
mxGraphView.prototype.getOverlayPane = function()
Returns the DOM node that represents the topmost drawing layer.
mxCell.prototype.getParent = function()
Returns the cell’s parent.
mxGraphModel.prototype.getParent = function(cell)
Returns the parent of the given cell.
mxGraphLayout.prototype.getParentOffset = function(parent)
Determines the offset of the given parent to the parent of the layout
getParentPath: function(path)
Returns the path for the parent of the cell represented by the given path.
mxGraphModel.prototype.getParents = function(cells)
Returns an array that represents the set (no duplicates) of all parents for the given array of cells.
mxStackLayout.prototype.getParentSize = function(parent)
Returns the size for the parent container or the size of the graph container if the parent is a layer or the root of the model.
mxCellState.prototype.getPerimeterBounds = function (border,
bounds)
Returns the mxRectangle that should be used as the perimeter of the cell.
mxGraphView.prototype.getPerimeterBounds = function(terminal,
border)
Returns the perimeter bounds for the given terminal, edge pair as an mxRectangle.
mxGraphView.prototype.getPerimeterFunction = function(state)
Returns the perimeter function for the given state.
mxGraphView.prototype.getPerimeterPoint = function(terminal,
next,
orthogonal,
border)
Returns an mxPoint that defines the location of the intersection point between the perimeter and the line between the center of the shape and the given point.
mxGraphView.prototype.getPoint = function(state,
geometry)
Returns the absolute point on the edge for the given relative mxGeometry as an mxPoint.
mxRectangle.prototype.getPoint = function()
Returns the top, left corner as a new mxPoint.
mxEdgeHandler.prototype.getPointForEvent = function(me)
Returns the point for the given event.
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.getPreferredPageSize = function(bounds,
width,
height)
Returns the preferred size of the background page if preferPageSize is true.
mxGraph.prototype.getPreferredSizeForCell = function(cell)
Returns the preferred width and height of the given mxCell as an mxRectangle.
Returns a pretty printed string that represents the XML tree for the given node.
mxGraphHandler.prototype.getPreviewBounds = function(cells)
Returns the mxRectangle used as the preview bounds for moving the given cells.
mxEdgeSegmentHandler.prototype.getPreviewPoints = function(point)
Updates the given preview state taking into account the state of the constraint handler.
mxEdgeHandler.prototype.getPreviewPoints = function(point)
Updates the given preview state taking into account the state of the constraint handler.
mxEdgeHandler.prototype.getPreviewTerminalState = function(me)
Updates the given preview state taking into account the state of the constraint handler.
mxGraphAbstractHierarchyCell.prototype.getPreviousLayerConnectedCells = function(
   layer
)
Returns the cells this cell connects to on the next layer down
mxGraphHierarchyEdge.prototype.getPreviousLayerConnectedCells = function(layer)
Returns the cells this cell connects to on the next layer down
mxGraphHierarchyNode.prototype.getPreviousLayerConnectedCells = function(layer)
Returns the cells this cell connects to on the next layer down
mxEventObject.prototype.getProperties = function()
Returns properties.
mxEventObject.prototype.getProperty = function(key)
Returns the property for the given key.
mxCircleLayout.prototype.getRadius = function(count,
max)
Returns the radius to be used for the given vertex count.
mxGraphHierarchyNode.prototype.getRankValue = function(layer)
Returns the integer value of the layer that this node resides in
mxGraphView.prototype.getRelativePoint = function(edgeState,
x,
y)
Gets the relative point that describes the given, absolute label position for the given edge state.
mxGraph.prototype.getRemovedCellsForChanges = function(changes)
Returns the cells that have been removed from the model.
mxGraphModel.prototype.getRoot = function(cell)
Returns the root of the model or the topmost parent of the given cell.
mxPrintPreview.prototype.getRoot = function()
Returns the root cell for painting the graph.
mxEditor.prototype.getRootTitle = function ()
Returns the string value of the root cell in mxGraph.model.
getRotatedPoint: function(pt,
cos,
sin,
c)
Rotates the given point by the given cos and sin.
mxPolyline.prototype.getRotation = function()
Returns 0.
mxShape.prototype.getRotation = function()
Returns the rotation from the style.
mxGraphView.prototype.getRoutingCenterX = function (state)
Returns the x-coordinate of the center point for automatic routing.
mxGraphView.prototype.getRoutingCenterY = function (state)
Returns the y-coordinate of the center point for automatic routing.
mxGraphView.prototype.getScale = function()
Returns the scale.
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.
getScrollOrigin: function(node)
Returns the top, left corner of the viewrect as an mxPoint.
mxVertexHandler.prototype.getSelectionBounds = function(state)
Returns the mxRectangle that defines the bounds of the selection border.
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.getSelectionCellsForChanges = function(changes)
Returns the cells to be selected for the given array of changes.
mxEdgeHandler.prototype.getSelectionColor = function()
Returns mxConstants.EDGE_SELECTION_COLOR.
mxVertexHandler.prototype.getSelectionColor = function()
Returns mxConstants.VERTEX_SELECTION_COLOR.
mxGraph.prototype.getSelectionCount = function()
Returns the number of selected cells.
mxGraph.prototype.getSelectionModel = function()
Returns the mxGraphSelectionModel that contains the selection.
mxEdgeHandler.prototype.getSelectionPoints = function(state)
Returns the list of points that defines the selection stroke.
mxEdgeHandler.prototype.getSelectionStrokeWidth = function()
Returns mxConstants.EDGE_SELECTION_STROKEWIDTH.
mxVertexHandler.prototype.getSelectionStrokeWidth = function()
Returns mxConstants.VERTEX_SELECTION_STROKEWIDTH.
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.
mxPolyline.prototype.getShapeRotation = function()
Returns 0.
mxShape.prototype.getShapeRotation = function()
Returns the actual rotation of the shape.
mxText.prototype.getShapeRotation = function()
Returns 0 to avoid using rotation in the canvas via updateTransform.
mxCellRenderer.prototype.getShapesForState = function(state)
Returns the mxShapes for the given cell state in the order in which they should appear in the DOM.
getSizeForString: function(text,
fontSize,
fontFamily,
textWidth)
Returns an mxRectangle with the size (width and height in pixels) of the given string.
mxEdgeHandler.prototype.getSnapToTerminalTolerance = function()
Returns the tolerance for the guides.
getSource: function(evt)
Returns the event’s target or srcElement depending on the browser.
mxMouseEvent.prototype.getSource = function()
Returns the target DOM element using mxEvent.getSource for evt.
mxOutline.prototype.getSourceContainerSize = function()
Returns the size of the source container.
mxConnectionHandler.prototype.getSourcePerimeterPoint = function(state,
next,
me)
Hook to update the icon position(s) based on a mouseOver event.
mxText.prototype.getSpacing = function()
Returns the spacing as an mxPoint.
getSpecialBundle: function(basename,
lan)
Hook for subclassers to return the URL for the special bundle.
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.
mxCellMarker.prototype.getState = function(me)
Uses getCell, getStateToMark and intersects to return the mxCellState for the given mxMouseEvent.
mxGraphView.prototype.getState = function(cell,
create)
Returns the mxCellState for the given cell.
mxMouseEvent.prototype.getState = function()
Returns state.
Returns the state for the given touch event.
mxGraphView.prototype.getStates = function()
Returns states.
mxCellMarker.prototype.getStateToMark = function(state)
Returns the mxCellState to be marked for the given mxCellState under the mouse.
mxXmlRequest.prototype.getStatus = function()
Returns the status as a number, eg.
getStencil: function(name)
Returns the mxStencil for the given name.
codec.getStringValue = function(key,
value)
Returns the string for encoding the given value.
mxCell.prototype.getStyle = function()
Returns a string that describes the style.
mxGraphModel.prototype.getStyle = function(cell)
Returns the style of the given mxCell.
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.
mxGraph.prototype.getStylesheet = function()
Returns the mxStylesheet that defines the style.
mxSvgCanvas2D.prototype.getSvgGradient = function(start,
end,
alpha1,
alpha2,
direction)
Private helper function to create SVG elements
mxImageShape.prototype.getSvgScreenOffset = function()
Disables offset in IE9 for crisper image output.
mxShape.prototype.getSvgScreenOffset = function()
Returns 0, or 0.5 if strokewidth % 2 == 1.
mxText.prototype.getSvgScreenOffset = function()
Disables offset in IE9 for crisper image output.
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.
mxForm.prototype.getTable = function()
Returns the table that contains this form.
mxConnectionHandler.prototype.getTargetPerimeterPoint = function(state,
me)
Returns the perimeter point for the given target state.
mxEditor.prototype.getTemplate = function (name)
Returns the template for the given name.
mxCell.prototype.getTerminal = function(source)
Returns the source or target terminal.
mxGraphModel.prototype.getTerminal = function(edge,
isSource)
Returns the source or target mxCell of the given edge depending on the value of the boolean parameter.
mxGraph.prototype.getTerminalForPort = function(cell,
source)
Returns the terminal to be used for a given port.
mxGeometry.prototype.getTerminalPoint = function(isSource)
Returns the mxPoint representing the source or target point of this edge.
mxGraphView.prototype.getTerminalPort = function(state,
terminal,
source)
Returns an mxCellState that represents the source or target terminal or port for the given edge.
mxXmlRequest.prototype.getText = function()
Returns the response as a string.
getTextContent: function(node)
Returns the text content of the specified node.
mxShape.prototype.getTextRotation = function()
Returns the rotation for the text label.
mxText.prototype.getTextRotation = function()
Returns the rotation for the text label of the corresponding shape.
mxCellRenderer.prototype.getTextScale = function(state)
Returns the scaling used for the label of the given state
mxEditor.prototype.getTitle = function ()
Returns the string value for the current root of the diagram.
mxConstraintHandler.prototype.getTolerance = function()
Returns the tolerance to be used for intersecting connection points.
mxGraph.prototype.getTolerance = function()
Returns tolerance.
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.
mxElbowEdgeHandler.prototype.getTooltipForNode = function(node)
Returns the tooltip for the given node.
mxGraphModel.prototype.getTopmostCells = function(cells)
Returns the topmost cells of the hierarchy in an array that contains no descendants for each mxCell that it contains.
mxGraphView.prototype.getTranslate = function()
Returns the translate.
mxOutline.prototype.getTranslateForEvent = function(me)
Gets the translate for the given mouse event.
mxGraph.prototype.getTranslateForRoot = function(cell)
Returns the translation to be used if the given cell is the root cell as an mxPoint.
mxEditor.prototype.getUrlImage = function ()
Returns the URL to create the image with.
mxEditor.prototype.getUrlPost = function ()
Returns the URL to post the diagram to.
mxCellMarker.prototype.getValidState = function()
Returns the validState.
mxCell.prototype.getValue = function()
Returns the user object of the cell.
mxGraphModel.prototype.getValue = function(cell)
Returns the user object of the given mxCell using mxCell.getValue.
getValue: function(name)
Returns the value associated with the given name.
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.
mxDictionary.prototype.getValues = function()
Returns all values as an array.
mxGraphLayout.prototype.getVertexBounds = function(cell)
Returns an mxRectangle that defines the bounds of the given cell or the bounding box if useBoundingBox is true.
mxGraph.prototype.getVerticalAlign = function(state)
Returns the vertical alignment for the given cell state.
mxGraph.prototype.getView = function()
Returns the mxGraphView that contains the mxCellStates.
getViewXml: function(graph,
scale,
cells,
x0,
y0)
mxCellState.prototype.getVisibleTerminal = function (source)
Returns the visible source or target terminal cell.
mxGraphView.prototype.getVisibleTerminal = function(edge,
source)
Returns the nearest ancestor terminal that is visible.
mxHierarchicalLayout.prototype.getVisibleTerminal = function(edge,
source)
Helper function to return visible terminal for edge allowing for ports
mxSwimlaneLayout.prototype.getVisibleTerminal = function(edge,
source)
Helper function to return visible terminal for edge allowing for ports
mxCellState.prototype.getVisibleTerminalState = function (source)
Returns the visible source or target terminal state.
Returns a VML dash pattern for the current dashPattern.
mxPrintPreview.prototype.getWindow = function()
Returns wnd.
mxGraphAbstractHierarchyCell.prototype.getX = function(layer)
Gets the value of x on the specified layer
mxMouseEvent.prototype.getX = function()
Returns evt.clientX.
mxWindow.prototype.getX = function()
Returns the current position on the x-axis.
getXml: function(node,
linefeed)
Returns the XML content of the specified node.
mxXmlRequest.prototype.getXml = function()
Returns the response as an XML document.
mxMouseEvent.prototype.getY = function()
Returns evt.clientY.
mxWindow.prototype.getY = function()
Returns the current position on the y-axis.
this.gradients
Local cache of gradients for quick lookups.
mxAutoSaveManager.prototype.graph
Reference to the enclosing mxGraph.
mxCellEditor.prototype.graph
Reference to the enclosing mxGraph.
mxCellHighlight.prototype.graph
Reference to the enclosing mxGraph.
mxCellMarker.prototype.graph
Reference to the enclosing mxGraph.
mxCellStatePreview.prototype.graph
Reference to the enclosing mxGraph.
mxConnectionHandler.prototype.graph
Reference to the enclosing mxGraph.
mxConstraintHandler.prototype.graph
Reference to the enclosing mxGraph.
mxEdgeHandler.prototype.graph
Reference to the enclosing mxGraph.
mxEditor.prototype.graph
Holds a mxGraph for displaying the diagram.
mxGraphHandler.prototype.graph
Reference to the enclosing mxGraph.
mxGraphLayout.prototype.graph
Reference to the enclosing mxGraph.
mxGraphSelectionModel.prototype.graph
Reference to the enclosing mxGraph.
mxGraphView.prototype.graph
Reference to the enclosing mxGraph.
mxGuide.prototype.graph
Reference to the enclosing mxGraph instance.
mxKeyHandler.prototype.graph
Reference to the mxGraph associated with this handler.
mxLayoutManager.prototype.graph
Reference to the enclosing mxGraph.
mxMorphing.prototype.graph
Specifies the delay between the animation steps.
mxPanningHandler.prototype.graph
Reference to the enclosing mxGraph.
mxPopupMenuHandler.prototype.graph
Reference to the enclosing mxGraph.
mxPrintPreview.prototype.graph
Reference to the mxGraph that should be previewed.
mxSelectionCellsHandler.prototype.graph
Reference to the enclosing mxGraph.
mxSpaceManager.prototype.graph
Reference to the enclosing mxGraph.
mxSwimlaneManager.prototype.graph
Reference to the enclosing mxGraph.
mxTooltipHandler.prototype.graph
Reference to the enclosing mxGraph.
mxVertexHandler.prototype.graph
Reference to the enclosing mxGraph.
mxGraphView.prototype.graphBounds
mxRectangle that caches the scales, translated bounds of the current view.
mxDragSource.prototype.graphContainsEvent = function(graph,
evt)
Returns true if the given graph contains the given event.
mxAutoSaveManager.prototype.graphModelChanged = function(changes)
Invoked when the graph model has changed.
mxGraph.prototype.graphModelChanged = function(changes)
Called when the graph model changes.
mxEditor.prototype.graphRenderHint
Holds the render hint used for creating the graph in setGraphContainer.
Renderhint to be used for the outline graph.
mxMouseEvent.prototype.graphX
Holds the x-coordinate of the event in the graph.
mxMouseEvent.prototype.graphY
Holds the y-coordinate of the event in the graph.
mxDragSource.prototype.gridEnabled
Specifies if the grid should be allowed.
mxGraph.prototype.gridEnabled
Specifies if the grid is enabled.
mxGraph.prototype.gridSize
Specifies the grid size.
Specifies the event name for groupCells.
Fires between begin- and endUpdate in groupCells.
mxEditor.prototype.groupCells = function ()
Invokes createGroup to create a new group cell and the invokes mxGraph.groupCells, using the grid size of the graph as the spacing in the group’s content area.
mxGraph.prototype.groupCells = function(group,
border,
cells)
Adds the cells into the given group.
mxCompactTreeLayout.prototype.groupPadding
Padding added to resized parents.
mxCoordinateAssignment.prototype.groupPadding
Padding added to resized parents
mxRectangle.prototype.grow = function(amount)
Grows the rectangle by the given amount, that is, this method subtracts the given amount from the x- and y-coordinates and adds twice the amount to the width and height.
mxGraphHandler.prototype.guide
Holds the mxGuide instance that is used for alignment.
Defines the color to be used for the guidelines in mxGraphHandler.
Defines the strokewidth to be used for the guidelines in mxGraphHandler.
mxDragSource.prototype.guidesEnabled
Specifies if mxGuide should be enabled.
mxGraphHandler.prototype.guidesEnabled
Specifies if other cells should be used for snapping the right, center or left side of the current selection.
+
mxCell.prototype.geometry
Holds the mxGeometry.
mxGraphModel.prototype.geometryForCellChanged = function(cell,
geometry)
Inner callback to update the mxGeometry of the given mxCell using mxCell.setGeometry and return the previous mxGeometry.
Specifies the event name for gesture.
Fires in fireGestureEvent after a touch gesture.
mxDictionary.prototype.get = function(key)
Returns the value for the given key.
get: function(obj)
Returns the object id for the given object.
get: function(key,
params,
defaultValue)
Returns the value for the specified resource key.
mxSession.prototype.get = function(url,
onLoad,
onError)
Sends an asynchronous get request to the given URL, fires a get event and invokes the given onLoad function when a response is received.
get: function(url,
onload,
onerror)
Loads the specified URL asynchronously and invokes the given functions depending on the request status.
Specifies the event name for get.
Fires after a response was received in get.
getAlignmentAsPoint: function(align,
valign)
Returns an mxPoint that represents the horizontal and vertical alignment for numeric computations.
mxConnectionHandler.prototype.getAlignmentTolerance = function()
Returns the tolerance for aligning new targets to sources.
mxGraph.prototype.getAllConnectionConstraints = function(terminal,
source)
Returns an array of all mxConnectionConstraints for the given terminal.
mxGraph.prototype.getAllEdges = function(cells)
Returns all edges connected to the given cells or its descendants.
Returns the alternate content for the given foreignObject.
mxPrintPreview.prototype.getAppendices = function()
Returns the pages to be added after the print output.
mxShape.prototype.getArcSize = function(w,
h)
Returns the arc size for the given dimension.
mxSwimlane.prototype.getArcSize = function(w,
h,
start)
Returns the arcsize for the swimlane.
mxCell.prototype.getAttribute = function(name,
defaultValue)
Returns the specified attribute from the user object if it is an XML node.
mxObjectCodec.prototype.getAttributeName = function(fieldname)
Returns the attributename for the given fieldname.
mxGraph.prototype.getBackgroundImage = function()
Returns the backgroundImage as an mxImage.
mxGraphView.prototype.getBackgroundPageBounds = function()
Returns the bounds for the background page.
mxGraphView.prototype.getBackgroundPane = function()
Returns the DOM node that represents the background layer.
mxUrlConverter.prototype.getBaseDomain = function()
Returns baseDomain.
mxUrlConverter.prototype.getBaseUrl = function()
Returns baseUrl.
mxGraph.prototype.getBorder = function()
Returns the value of border.
mxGraph.prototype.getBorderSizes = function()
Returns the size of the border and padding on all four sides of the container.
mxGraphHandler.prototype.getBoundingBox = function(cells)
Returns the mxRectangle that represents the bounding box for the given cells.
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.
getBoundingBox: function(rect,
rotation)
Returns the bounding box for the rotated rectangle.
mxGraph.prototype.getBoundingBoxFromGeometry = function(cells,
includeEdges)
Returns the bounding box for the geometries of the vertices in the given array of cells.
mxCellOverlay.prototype.getBounds = function(state)
Returns the bounds of the overlay for the given mxCellState as an mxRectangle.
mxGraphView.prototype.getBounds = function(cells)
Returns the bounds (on the screen) for the given array of mxCells.
mxGraph.prototype.getBoundsForGroup = function(group,
children,
border)
Returns the bounds to be used for the given group and children.
mxGraphView.prototype.getCanvas = function()
Returns the DOM node that contains the background-, draw- and overlaypane.
mxCellMarker.prototype.getCell = function(me)
Returns the mxCell for the given event and cell.
mxGraphModel.prototype.getCell = function(id)
Returns the mxCell for the specified Id or null if no cell can be found for the given Id.
mxMouseEvent.prototype.getCell = function()
Returns the mxCell in state is not null.
mxGraph.prototype.getCellAt = function(x,
y,
parent,
vertices,
edges)
Returns the bottom-most cell that intersects the given point (x, y) in the cell hierarchy starting at the given parent.
mxGraph.prototype.getCellBounds = function(cell,
includeEdges,
includeDescendants)
Returns the scaled, translated bounds for the given cell.
mxGraph.prototype.getCellContainmentArea = function(cell)
Returns the mxRectangle inside which a cell is to be kept.
mxPopupMenuHandler.prototype.getCellForPopupEvent = function(me)
Hook to return the cell for the mouse up popup trigger handling.
mxGraph.prototype.getCellGeometry = function(cell)
Returns the mxGeometry for the given cell.
mxGraph.prototype.getCellOverlays = function(cell)
Returns the array of mxCellOverlays for the given cell or null, if no overlays are defined.
getCells: function()
Returns the cells in the clipboard.
mxGraph.prototype.getCells = function(x,
y,
width,
height,
parent,
result)
Returns the children of the given parent that are contained in the given rectangle (x, y, width, height).
mxGraphHandler.prototype.getCells = function(initialCell)
Returns the cells to be modified by this handler.
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 and/or downwards depending on rightHalfpane and bottomHalfpane.
mxLayoutManager.prototype.getCellsForChange = function(change)
Executes all layouts which have been scheduled during the changes.
Returns the cells to be layouted for the given sequence of changes.
mxGraph.prototype.getCellsForGroup = function(cells)
Returns the cells with the same parent as the first cell in the given array.
mxGraphView.prototype.getCellStates = function(cells)
Returns the mxCellStates for the given array of mxCells.
mxSpaceManager.prototype.getCellsToShift = function(state)
Returns the cells to shift after a resize of the specified mxCellState.
mxGraph.prototype.getCellStyle = function(cell)
Returns an array of key, value pairs representing the cell style for the given cell.
mxStylesheet.prototype.getCellStyle = function(name,
defaultStyle)
Returns the cell style for the specified stylename or the given defaultStyle if no style can be found for the given stylename.
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.
mxRectangle.prototype.getCenterX = function ()
Returns the x-coordinate of the center point.
mxRectangle.prototype.getCenterY = function ()
Returns the y-coordinate of the center point.
mxCell.prototype.getChildAt = function(index)
Returns the child at the specified index.
mxGraphModel.prototype.getChildAt = function(cell,
index)
Returns the child of the given mxCell at the given index.
mxGraph.prototype.getChildCells = function(parent,
vertices,
edges)
Returns the visible child vertices or edges in the given parent.
mxGraphModel.prototype.getChildCells = function(parent,
vertices,
edges)
Returns the children of the given cell that are vertices and/or edges depending on the arguments.
mxCell.prototype.getChildCount = function()
Returns the number of child cells.
mxGraphModel.prototype.getChildCount = function(cell)
Returns the number of children in the given cell.
mxGraph.prototype.getChildEdges = function(parent)
Returns the visible child edges of the given parent.
mxGraphModel.prototype.getChildEdges = function(parent)
Returns the child edges of the given parent.
getChildNodes: function(node,
nodeType)
Returns an array of child nodes that are of the given node type.
mxGraph.prototype.getChildOffsetForCell = function(cell)
Returns the offset to be used for the cells inside the given cell.
mxGraphModel.prototype.getChildren = function(cell)
Returns all children of the given mxCell as an array of mxCells.
mxGraph.prototype.getChildVertices = function(parent)
Returns the visible child vertices of the given parent.
mxGraphModel.prototype.getChildVertices = function(parent)
Returns the child vertices of the given parent.
getClientX: function(e)
Returns true if the meta key is pressed for the given event.
getClientY: function(e)
Returns true if the meta key is pressed for the given event.
mxGraph.prototype.getCloneableCells = function(cells)
Returns the cells which may be exported in the given array of cells.
getCodec: function(ctor)
Returns a codec that handles objects that are constructed using the given constructor.
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.
mxConnectionHandler.prototype.getConnectImage = function(state)
Hook to return the mxImage used for the connection icon of the given mxCellState.
mxGraph.prototype.getConnectionConstraint = function(edge,
terminal,
source)
Returns an 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.
mxGraph.prototype.getConnections = function(cell,
parent)
Returns all visible edges connected to the given cell without loops.
mxGraphModel.prototype.getConnections = function(cell)
Returns all edges of the given cell without loops.
mxGraphLayout.prototype.getConstraint = function(key,
cell,
edge,
source)
Returns the constraint for the given key and cell.
mxCellRenderer.prototype.getControlBounds = function(state,
w,
h)
Returns the bounds to be used to draw the control (folding icon) of the given state.
mxGraphHierarchyEdge.prototype.getCoreCell = function()
Gets the first core edge associated with this wrapper
mxGraphHierarchyNode.prototype.getCoreCell = function()
Gets the core vertex associated with this wrapper
mxPrintPreview.prototype.getCoverPages = function()
Returns the pages to be added before the print output.
mxGraph.prototype.getCurrentRoot = function()
Returns the current root of the displayed cell hierarchy.
getCurrentStyle: function()
Returns the current style of the specified element.
mxCellEditor.prototype.getCurrentValue = function()
Returns the current editing value.
mxShape.prototype.getCursor = function()
Returns the current cursor.
mxElbowEdgeHandler.prototype.getCursorForBend = function()
Returns the cursor to be used for the bend.
mxGraph.prototype.getCursorForCell = function(cell)
Returns the cursor value to be used for the CSS of the shape 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.
getDefaultBundle: function(basename,
lan)
Hook for subclassers to return the URL for the special bundle.
mxStylesheet.prototype.getDefaultEdgeStyle = function()
Sets the default style for edges.
mxGraph.prototype.getDefaultParent = function()
Returns defaultParent or mxGraphView.currentRoot or the first child child of mxGraphModel.root if both are null.
mxStylesheet.prototype.getDefaultVertexStyle = function()
Returns the default style for vertices.
mxGraph.prototype.getDeletableCells = function(cells)
Returns the cells which may be exported in the given array of cells.
mxGraphHandler.prototype.getDelta = function(me)
Returns an mxPoint that represents the vector for moving the cells for the given mxMouseEvent.
mxMorphing.prototype.getDelta = function(state)
Returns the vector between the current rendered state and the future location of the state after the display will be updated.
mxGraphModel.prototype.getDescendants = function(parent)
Returns all descendants of the given cell and the cell itself in an array.
mxGraphModel.prototype.getDirectedEdgeCount = function(cell,
outgoing,
ignoredEdge)
Returns the number of incoming or outgoing edges, ignoring the given edge.
Returns the string that should go before the HTML tag in the print preview page.
mxXmlRequest.prototype.getDocumentElement = function()
Returns the document element of the response XML document.
mxDivResizer.prototype.getDocumentHeight = function()
Hook for subclassers to return the height of the document (without scrollbars).
getDocumentScrollOrigin: function(doc)
Returns the scroll origin of the given document or the current document if no document is given.
mxDivResizer.prototype.getDocumentWidth = function()
Hook for subclassers to return the width of the document (without scrollbars).
mxGraphView.prototype.getDrawPane = function()
Returns the DOM node that represents the main drawing layer.
mxDragSource.prototype.getDropTarget = function(graph,
x,
y)
Returns the drop target for the given graph and coordinates.
mxGraph.prototype.getDropTarget = function(cells,
evt,
cell)
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.
mxCell.prototype.getEdgeAt = function(index)
Returns the edge at the specified index in edges.
mxGraphModel.prototype.getEdgeAt = function(cell,
index)
Returns the edge of cell at the given index.
mxConnectionHandler.prototype.getEdgeColor = function(valid)
Returns the color used to draw the preview edge.
mxCell.prototype.getEdgeCount = function()
Returns the number of edges in the edge array.
mxGraphModel.prototype.getEdgeCount = function(cell)
Returns the number of distinct edges connected to the given cell.
mxParallelEdgeLayout.prototype.getEdgeId = function(edge)
Returns a unique ID for the given edge.
mxCell.prototype.getEdgeIndex = function(edge)
Returns the index of the specified edge in edges.
mxGraph.prototype.getEdges = function(cell,
parent,
incoming,
outgoing,
includeLoops,
recurse)
Returns the incoming and/or outgoing edges for the given cell.
mxGraphModel.prototype.getEdges = function(cell,
incoming,
outgoing,
includeLoops)
Returns all distinct edges connected to this cell as a new array of mxCells.
mxHierarchicalLayout.prototype.getEdges = function(cell)
Returns the connected edges for the given cell.
mxSwimlaneLayout.prototype.getEdges = function(cell)
Returns the connected edges for the given cell.
mxGraph.prototype.getEdgesBetween = function(source,
target,
directed)
Returns the edges between the given source and target.
mxGraphModel.prototype.getEdgesBetween = function(source,
target,
directed)
Returns all edges between the given source and target pair.
mxHierarchicalLayout.prototype.getEdgesBetween = function(source,
target,
directed)
Returns the edges between the given source and target.
mxSwimlaneLayout.prototype.getEdgesBetween = function(source,
target,
directed)
Returns the edges between the given source and target.
mxEditor.prototype.getEdgeStyle = function ()
Returns a string identifying the style of new edges.
mxGraphView.prototype.getEdgeStyle = function(edge,
points,
source,
target)
Returns the edge style function to be used to render the given edge state.
mxGraph.prototype.getEdgeValidationError = function(edge,
source,
target)
Returns the validation error message to be displayed when inserting or changing an edges’ connectivity.
mxConnectionHandler.prototype.getEdgeWidth = function(valid)
Returns the width used to draw the preview edge.
mxCellEditor.prototype.getEditingCell = function ()
Returns the cell that is currently being edited or null if no cell is being edited.
mxGraph.prototype.getEditingValue = function(cell,
evt)
Returns the initial value for in-place editing.
mxCellEditor.prototype.getEditorBounds = function(state)
Returns the mxRectangle that defines the bounds of the editor.
mxWindow.prototype.getElement = function()
Returuns the outermost DOM node that makes up the window.
mxCodec.prototype.getElementById = function(id,
attr)
Returns the element with the given ID from document.
mxCellEditor.prototype.getEmptyLabelText = function (cell)
Returns the initial label value to be used of the label of the given cell is empty.
mxMouseEvent.prototype.getEvent = function()
Returns evt.
mxEventSource.prototype.getEventSource = function()
Returns eventSource.
mxGraph.prototype.getExportableCells = function(cells)
Returns the cells which may be exported in the given array of cells.
mxObjectCodec.prototype.getFieldName = function(attributename)
Returns the fieldname for the given attributename.
mxObjectCodec.prototype.getFieldTemplate = function(obj,
fieldname,
child)
Returns the template instance for the given field.
mxGraphSelectionModel.prototype.getFirstSelectableCell = function(cells)
Returns the first selectable cell in the given array of cells.
mxGraph.prototype.getFoldableCells = function(cells,
collapse)
Returns the cells which are movable in the given array of cells.
mxGraph.prototype.getFoldingImage = function(state)
Returns the mxImage used to display the collapsed state of the specified cell state.
mxKeyHandler.prototype.getFunction = function(evt)
Returns the function associated with the given key event or null if no function is associated with the given event.
getFunctionName: function(f)
Returns the name for the given function.
mxGraphAbstractHierarchyCell.prototype.getGeneralPurposeVariable = function(
   layer
)
Gets the value of temp for the specified layer
mxGraphHierarchyEdge.prototype.getGeneralPurposeVariable = function(layer)
Gets the value of temp for the specified layer
mxGraphHierarchyNode.prototype.getGeneralPurposeVariable = function(layer)
Gets the value of temp for the specified layer
mxCell.prototype.getGeometry = function()
Returns the mxGeometry that describes the geometry.
mxGraphModel.prototype.getGeometry = function(cell)
Returns the mxGeometry of the given mxCell.
mxShape.prototype.getGradientBounds = function(c,
x,
y,
w,
h)
Returns the bounding box for the gradient box for this shape.
Returns the bounding box for the gradient box for this shape.
mxGraphLayout.prototype.getGraph = function()
Returns the graph that this layout operates on.
mxLayoutManager.prototype.getGraph = function()
Returns the graph that this layout operates on.
mxSpaceManager.prototype.getGraph = function()
Returns the graph that this layout operates on.
mxSwimlaneManager.prototype.getGraph = function()
Returns the graph that this manager operates on.
mxGraph.prototype.getGraphBounds = function()
Returns the bounds of the visible graph.
mxGraphView.prototype.getGraphBounds = function()
Returns graphBounds.
mxDragSource.prototype.getGraphForEvent = function(evt)
Returns the graph for the given mouse event.
mxMouseEvent.prototype.getGraphX = function()
Returns graphX.
mxMouseEvent.prototype.getGraphY = function()
Returns graphY.
mxGraph.prototype.getGridSize = function()
Returns gridSize.
mxGraphHandler.prototype.getGuideStates = function()
Creates an array of cell states which should be used as guides.
mxGuide.prototype.getGuideTolerance = function()
Returns the tolerance for the guides.
mxEdgeHandler.prototype.getHandleFillColor = function(index)
Returns the fillcolor for the handle at the given index.
mxEdgeHandler.prototype.getHandleForEvent = function(me)
Returns the index of the handle for the given event.
mxVertexHandler.prototype.getHandleForEvent = function(me)
Returns the index of the handle for the given event.
mxSelectionCellsHandler.prototype.getHandler = function(cell)
Returns the handler for the given cell.
mxCellMarker.prototype.getHotspot = function()
Returns the hotspot.
mxCell.prototype.getId = function()
Returns the Id of the cell as a string.
mxCodec.prototype.getId = function(obj)
Returns the ID of the specified object.
mxGraph.prototype.getImage = function(state)
Returns the image URL for the given cell state.
mxImageBundle.prototype.getImage = function(key)
Returns the value for the given key.
mxLabel.prototype.getImageBounds = function(x,
y,
w,
h)
Generic background painting implementation.
mxSwimlane.prototype.getImageBounds = function(x,
y,
w,
h)
Paints the swimlane vertex shape.
mxConstraintHandler.prototype.getImageForConstraint = function(state,
constraint,
point)
Returns the tolerance to be used for intersecting connection points.
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.getImportableCells = function(cells)
Returns the cells which may be imported in the given array of cells.
mxGraph.prototype.getIncomingEdges = function(cell,
parent)
Returns the visible incoming edges for the given cell.
mxGraphModel.prototype.getIncomingEdges = function(cell)
Returns the incoming edges of the given cell without loops.
mxCell.prototype.getIndex = function(child)
Returns the index of the specified child in the child array.
mxLabel.prototype.getIndicatorBounds = function(x,
y,
w,
h)
Generic background painting implementation.
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.getIndicatorImage = function(state)
Returns the indicator image for the given cell state.
mxGraph.prototype.getIndicatorShape = function(state)
Returns the indicator shape for the given cell state.
mxGraphHandler.prototype.getInitialCellForEvent = function(me)
Hook to return initial cell for the given event.
mxCellEditor.prototype.getInitialValue = function(state,
trigger)
Gets the initial editing value for the given cell.
getInnerHtml: function()
Returns the inner HTML for the given node as a string or an empty string if no node was specified.
mxDictionary.prototype.getKeys = function()
Returns all keys as an array.
mxGraph.prototype.getLabel = function(cell)
Returns a string or DOM node that represents the label for the given cell.
mxCellRenderer.prototype.getLabelBounds = function(state)
Returns the bounds to be used to draw the label of the given state.
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.
mxCellRenderer.prototype.getLabelValue = function(state)
Returns the value to be used for the label.
mxLayoutManager.prototype.getLayout = function(parent)
Returns the layout to be executed for the given graph and parent.
getMainEvent: function(e)
Returns the touch or mouse event that contains the mouse coordinates.
Returns the spacing as an mxPoint.
mxCellMarker.prototype.getMarkedState = function()
Returns the markedState.
mxCellMarker.prototype.getMarkerColor = function(evt,
state,
isValid)
Returns the valid- or invalidColor depending on the value of isValid.
mxGraph.prototype.getMaximumGraphBounds = function()
Returns the bounds inside which the diagram should be kept as an mxRectangle.
mxCellEditor.prototype.getMinimumSize = function(state)
Returns the minimum width and height for editing the given state.
mxWindow.prototype.getMinimumSize = function()
Returns an mxRectangle that specifies the size for the minimized window.
mxGraph.prototype.getModel = function()
Returns the mxGraphModel that contains the cells.
mxHierarchicalLayout.prototype.getModel = function()
Returns the internal mxGraphHierarchyModel for this layout algorithm.
mxSwimlaneLayout.prototype.getModel = function()
Returns the internal mxSwimlaneModel for this layout algorithm.
mxGraph.prototype.getMovableCells = function(cells)
Returns the cells which are movable in the given array of cells.
mxEventObject.prototype.getName = function()
Returns name.
mxObjectCodec.prototype.getName = function()
Returns the name used for the nodenames and lookup of the codec when classes are encoded and nodes are decoded.
getName: function(value)
Returns the name for the given value.
mxGraphModel.prototype.getNearestCommonAncestor = function(cell1,
cell2)
Returns the nearest common ancestor for the specified cells.
mxGraphAbstractHierarchyCell.prototype.getNextLayerConnectedCells = function(
   layer
)
Returns the cells this cell connects to on the next layer up
mxGraphHierarchyEdge.prototype.getNextLayerConnectedCells = function(layer)
Returns the cells this cell connects to on the next layer up
mxGraphHierarchyNode.prototype.getNextLayerConnectedCells = function(layer)
Returns the cells this cell connects to on the next layer up
mxGraphView.prototype.getNextPoint = function(edge,
opposite,
source)
Returns the nearest point in the list of absolute points or the center of the opposite terminal.
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.
mxCodec.prototype.getObject = function(id)
Returns the decoded object for the element with the specified ID in document.
getOffset: function(container,
scrollOffset)
Returns the offset for the specified container as an mxPoint.
mxGraph.prototype.getOpposites = function(edges,
terminal,
sources,
targets)
Returns all distinct visible opposite cells for the specified terminal on the given edges.
mxGraphModel.prototype.getOpposites = function(edges,
terminal,
sources,
targets)
Returns all opposite vertices wrt terminal for the given edges, only returning sources and/or targets as specified.
mxGraphModel.prototype.getOrigin = function(cell)
Returns the absolute, accumulated origin for the children inside the given parent as an mxPoint.
mxMorphing.prototype.getOriginForCell = function(cell)
Returns the top, left corner of the given cell.
getOuterHtml: function()
Returns the outer HTML for the given node as a string or an empty string if no node was specified.
mxGraph.prototype.getOutgoingEdges = function(cell,
parent)
Returns the visible outgoing edges for the given cell.
mxGraphModel.prototype.getOutgoingEdges = function(cell)
Returns the outgoing edges of the given cell without loops.
mxOutline.prototype.getOutlineOffset = function(scale)
Returns the offset for drawing the outline graph.
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.
mxGraphView.prototype.getOverlayPane = function()
Returns the DOM node that represents the topmost drawing layer.
mxCell.prototype.getParent = function()
Returns the cell’s parent.
mxGraphModel.prototype.getParent = function(cell)
Returns the parent of the given cell.
mxGraphLayout.prototype.getParentOffset = function(parent)
Determines the offset of the given parent to the parent of the layout
getParentPath: function(path)
Returns the path for the parent of the cell represented by the given path.
mxGraphModel.prototype.getParents = function(cells)
Returns an array that represents the set (no duplicates) of all parents for the given array of cells.
mxStackLayout.prototype.getParentSize = function(parent)
Returns the size for the parent container or the size of the graph container if the parent is a layer or the root of the model.
mxCellState.prototype.getPerimeterBounds = function (border,
bounds)
Returns the mxRectangle that should be used as the perimeter of the cell.
mxGraphView.prototype.getPerimeterBounds = function(terminal,
border)
Returns the perimeter bounds for the given terminal, edge pair as an mxRectangle.
mxGraphView.prototype.getPerimeterFunction = function(state)
Returns the perimeter function for the given state.
mxGraphView.prototype.getPerimeterPoint = function(terminal,
next,
orthogonal,
border)
Returns an mxPoint that defines the location of the intersection point between the perimeter and the line between the center of the shape and the given point.
mxGraphView.prototype.getPoint = function(state,
geometry)
Returns the absolute point on the edge for the given relative mxGeometry as an mxPoint.
mxRectangle.prototype.getPoint = function()
Returns the top, left corner as a new mxPoint.
mxEdgeHandler.prototype.getPointForEvent = function(me)
Returns the point for the given event.
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.getPreferredPageSize = function(bounds,
width,
height)
Returns the preferred size of the background page if preferPageSize is true.
mxGraph.prototype.getPreferredSizeForCell = function(cell)
Returns the preferred width and height of the given mxCell as an mxRectangle.
Returns a pretty printed string that represents the XML tree for the given node.
mxGraphHandler.prototype.getPreviewBounds = function(cells)
Returns the mxRectangle used as the preview bounds for moving the given cells.
mxEdgeSegmentHandler.prototype.getPreviewPoints = function(point)
Updates the given preview state taking into account the state of the constraint handler.
mxEdgeHandler.prototype.getPreviewPoints = function(point)
Updates the given preview state taking into account the state of the constraint handler.
mxEdgeHandler.prototype.getPreviewTerminalState = function(me)
Updates the given preview state taking into account the state of the constraint handler.
mxGraphAbstractHierarchyCell.prototype.getPreviousLayerConnectedCells = function(
   layer
)
Returns the cells this cell connects to on the next layer down
mxGraphHierarchyEdge.prototype.getPreviousLayerConnectedCells = function(layer)
Returns the cells this cell connects to on the next layer down
mxGraphHierarchyNode.prototype.getPreviousLayerConnectedCells = function(layer)
Returns the cells this cell connects to on the next layer down
mxEventObject.prototype.getProperties = function()
Returns properties.
mxEventObject.prototype.getProperty = function(key)
Returns the property for the given key.
mxCircleLayout.prototype.getRadius = function(count,
max)
Returns the radius to be used for the given vertex count.
mxGraphHierarchyNode.prototype.getRankValue = function(layer)
Returns the integer value of the layer that this node resides in
mxGraphView.prototype.getRelativePoint = function(edgeState,
x,
y)
Gets the relative point that describes the given, absolute label position for the given edge state.
mxGraph.prototype.getRemovedCellsForChanges = function(changes)
Returns the cells that have been removed from the model.
mxGraphModel.prototype.getRoot = function(cell)
Returns the root of the model or the topmost parent of the given cell.
mxPrintPreview.prototype.getRoot = function()
Returns the root cell for painting the graph.
mxEditor.prototype.getRootTitle = function ()
Returns the string value of the root cell in mxGraph.model.
getRotatedPoint: function(pt,
cos,
sin,
c)
Rotates the given point by the given cos and sin.
mxPolyline.prototype.getRotation = function()
Returns 0.
mxShape.prototype.getRotation = function()
Returns the rotation from the style.
mxGraphView.prototype.getRoutingCenterX = function (state)
Returns the x-coordinate of the center point for automatic routing.
mxGraphView.prototype.getRoutingCenterY = function (state)
Returns the y-coordinate of the center point for automatic routing.
mxGraphView.prototype.getScale = function()
Returns the scale.
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.
getScrollOrigin: function(node)
Returns the top, left corner of the viewrect as an mxPoint.
mxVertexHandler.prototype.getSelectionBounds = function(state)
Returns the mxRectangle that defines the bounds of the selection border.
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.getSelectionCellsForChanges = function(changes)
Returns the cells to be selected for the given array of changes.
mxEdgeHandler.prototype.getSelectionColor = function()
Returns mxConstants.EDGE_SELECTION_COLOR.
mxVertexHandler.prototype.getSelectionColor = function()
Returns mxConstants.VERTEX_SELECTION_COLOR.
mxGraph.prototype.getSelectionCount = function()
Returns the number of selected cells.
mxGraph.prototype.getSelectionModel = function()
Returns the mxGraphSelectionModel that contains the selection.
mxEdgeHandler.prototype.getSelectionPoints = function(state)
Returns the list of points that defines the selection stroke.
mxEdgeHandler.prototype.getSelectionStrokeWidth = function()
Returns mxConstants.EDGE_SELECTION_STROKEWIDTH.
mxVertexHandler.prototype.getSelectionStrokeWidth = function()
Returns mxConstants.VERTEX_SELECTION_STROKEWIDTH.
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.
mxPolyline.prototype.getShapeRotation = function()
Returns 0.
mxShape.prototype.getShapeRotation = function()
Returns the actual rotation of the shape.
mxText.prototype.getShapeRotation = function()
Returns 0 to avoid using rotation in the canvas via updateTransform.
mxCellRenderer.prototype.getShapesForState = function(state)
Returns the mxShapes for the given cell state in the order in which they should appear in the DOM.
getSizeForString: function(text,
fontSize,
fontFamily,
textWidth)
Returns an mxRectangle with the size (width and height in pixels) of the given string.
mxEdgeHandler.prototype.getSnapToTerminalTolerance = function()
Returns the tolerance for the guides.
getSource: function(evt)
Returns the event’s target or srcElement depending on the browser.
mxMouseEvent.prototype.getSource = function()
Returns the target DOM element using mxEvent.getSource for evt.
mxOutline.prototype.getSourceContainerSize = function()
Returns the size of the source container.
mxConnectionHandler.prototype.getSourcePerimeterPoint = function(state,
next,
me)
Hook to update the icon position(s) based on a mouseOver event.
mxText.prototype.getSpacing = function()
Returns the spacing as an mxPoint.
getSpecialBundle: function(basename,
lan)
Hook for subclassers to return the URL for the special bundle.
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.
mxCellMarker.prototype.getState = function(me)
Uses getCell, getStateToMark and intersects to return the mxCellState for the given mxMouseEvent.
mxGraphView.prototype.getState = function(cell,
create)
Returns the mxCellState for the given cell.
mxMouseEvent.prototype.getState = function()
Returns state.
Returns the state for the given touch event.
mxGraphView.prototype.getStates = function()
Returns states.
mxCellMarker.prototype.getStateToMark = function(state)
Returns the mxCellState to be marked for the given mxCellState under the mouse.
mxXmlRequest.prototype.getStatus = function()
Returns the status as a number, eg.
getStencil: function(name)
Returns the mxStencil for the given name.
codec.getStringValue = function(key,
value)
Returns the string for encoding the given value.
mxCell.prototype.getStyle = function()
Returns a string that describes the style.
mxGraphModel.prototype.getStyle = function(cell)
Returns the style of the given mxCell.
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.
mxGraph.prototype.getStylesheet = function()
Returns the mxStylesheet that defines the style.
mxSvgCanvas2D.prototype.getSvgGradient = function(start,
end,
alpha1,
alpha2,
direction)
Private helper function to create SVG elements
mxImageShape.prototype.getSvgScreenOffset = function()
Disables offset in IE9 for crisper image output.
mxShape.prototype.getSvgScreenOffset = function()
Returns 0, or 0.5 if strokewidth % 2 == 1.
mxText.prototype.getSvgScreenOffset = function()
Disables offset in IE9 for crisper image output.
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.
mxForm.prototype.getTable = function()
Returns the table that contains this form.
mxConnectionHandler.prototype.getTargetPerimeterPoint = function(state,
me)
Returns the perimeter point for the given target state.
mxEditor.prototype.getTemplate = function (name)
Returns the template for the given name.
mxCell.prototype.getTerminal = function(source)
Returns the source or target terminal.
mxGraphModel.prototype.getTerminal = function(edge,
isSource)
Returns the source or target mxCell of the given edge depending on the value of the boolean parameter.
mxGraph.prototype.getTerminalForPort = function(cell,
source)
Returns the terminal to be used for a given port.
mxGeometry.prototype.getTerminalPoint = function(isSource)
Returns the mxPoint representing the source or target point of this edge.
mxGraphView.prototype.getTerminalPort = function(state,
terminal,
source)
Returns an mxCellState that represents the source or target terminal or port for the given edge.
mxXmlRequest.prototype.getText = function()
Returns the response as a string.
getTextContent: function(node)
Returns the text content of the specified node.
mxShape.prototype.getTextRotation = function()
Returns the rotation for the text label.
mxText.prototype.getTextRotation = function()
Returns the rotation for the text label of the corresponding shape.
mxCellRenderer.prototype.getTextScale = function(state)
Returns the scaling used for the label of the given state
mxEditor.prototype.getTitle = function ()
Returns the string value for the current root of the diagram.
mxConstraintHandler.prototype.getTolerance = function()
Returns the tolerance to be used for intersecting connection points.
mxGraph.prototype.getTolerance = function()
Returns tolerance.
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.
mxElbowEdgeHandler.prototype.getTooltipForNode = function(node)
Returns the tooltip for the given node.
mxGraphModel.prototype.getTopmostCells = function(cells)
Returns the topmost cells of the hierarchy in an array that contains no descendants for each mxCell that it contains.
mxGraphView.prototype.getTranslate = function()
Returns the translate.
mxOutline.prototype.getTranslateForEvent = function(me)
Gets the translate for the given mouse event.
mxGraph.prototype.getTranslateForRoot = function(cell)
Returns the translation to be used if the given cell is the root cell as an mxPoint.
mxEditor.prototype.getUrlImage = function ()
Returns the URL to create the image with.
mxEditor.prototype.getUrlPost = function ()
Returns the URL to post the diagram to.
mxCellMarker.prototype.getValidState = function()
Returns the validState.
mxCell.prototype.getValue = function()
Returns the user object of the cell.
mxGraphModel.prototype.getValue = function(cell)
Returns the user object of the given mxCell using mxCell.getValue.
getValue: function(name)
Returns the value associated with the given name.
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.
mxDictionary.prototype.getValues = function()
Returns all values as an array.
mxGraphLayout.prototype.getVertexBounds = function(cell)
Returns an mxRectangle that defines the bounds of the given cell or the bounding box if useBoundingBox is true.
mxGraph.prototype.getVerticalAlign = function(state)
Returns the vertical alignment for the given cell state.
mxGraph.prototype.getView = function()
Returns the mxGraphView that contains the mxCellStates.
getViewXml: function(graph,
scale,
cells,
x0,
y0)
mxCellState.prototype.getVisibleTerminal = function (source)
Returns the visible source or target terminal cell.
mxGraphView.prototype.getVisibleTerminal = function(edge,
source)
Returns the nearest ancestor terminal that is visible.
mxHierarchicalLayout.prototype.getVisibleTerminal = function(edge,
source)
Helper function to return visible terminal for edge allowing for ports
mxSwimlaneLayout.prototype.getVisibleTerminal = function(edge,
source)
Helper function to return visible terminal for edge allowing for ports
mxCellState.prototype.getVisibleTerminalState = function (source)
Returns the visible source or target terminal state.
Returns a VML dash pattern for the current dashPattern.
mxPrintPreview.prototype.getWindow = function()
Returns wnd.
mxGraphAbstractHierarchyCell.prototype.getX = function(layer)
Gets the value of x on the specified layer
mxMouseEvent.prototype.getX = function()
Returns evt.clientX.
mxWindow.prototype.getX = function()
Returns the current position on the x-axis.
getXml: function(node,
linefeed)
Returns the XML content of the specified node.
mxXmlRequest.prototype.getXml = function()
Returns the response as an XML document.
mxMouseEvent.prototype.getY = function()
Returns evt.clientY.
mxWindow.prototype.getY = function()
Returns the current position on the y-axis.
this.gradients
Local cache of gradients for quick lookups.
mxAutoSaveManager.prototype.graph
Reference to the enclosing mxGraph.
mxCellEditor.prototype.graph
Reference to the enclosing mxGraph.
mxCellHighlight.prototype.graph
Reference to the enclosing mxGraph.
mxCellMarker.prototype.graph
Reference to the enclosing mxGraph.
mxCellStatePreview.prototype.graph
Reference to the enclosing mxGraph.
mxConnectionHandler.prototype.graph
Reference to the enclosing mxGraph.
mxConstraintHandler.prototype.graph
Reference to the enclosing mxGraph.
mxEdgeHandler.prototype.graph
Reference to the enclosing mxGraph.
mxEditor.prototype.graph
Holds a mxGraph for displaying the diagram.
mxGraphHandler.prototype.graph
Reference to the enclosing mxGraph.
mxGraphLayout.prototype.graph
Reference to the enclosing mxGraph.
mxGraphSelectionModel.prototype.graph
Reference to the enclosing mxGraph.
mxGraphView.prototype.graph
Reference to the enclosing mxGraph.
mxGuide.prototype.graph
Reference to the enclosing mxGraph instance.
mxKeyHandler.prototype.graph
Reference to the mxGraph associated with this handler.
mxLayoutManager.prototype.graph
Reference to the enclosing mxGraph.
mxMorphing.prototype.graph
Specifies the delay between the animation steps.
mxPanningHandler.prototype.graph
Reference to the enclosing mxGraph.
mxPopupMenuHandler.prototype.graph
Reference to the enclosing mxGraph.
mxPrintPreview.prototype.graph
Reference to the mxGraph that should be previewed.
mxSelectionCellsHandler.prototype.graph
Reference to the enclosing mxGraph.
mxSpaceManager.prototype.graph
Reference to the enclosing mxGraph.
mxSwimlaneManager.prototype.graph
Reference to the enclosing mxGraph.
mxTooltipHandler.prototype.graph
Reference to the enclosing mxGraph.
mxVertexHandler.prototype.graph
Reference to the enclosing mxGraph.
mxGraphView.prototype.graphBounds
mxRectangle that caches the scales, translated bounds of the current view.
mxDragSource.prototype.graphContainsEvent = function(graph,
evt)
Returns true if the given graph contains the given event.
mxAutoSaveManager.prototype.graphModelChanged = function(changes)
Invoked when the graph model has changed.
mxGraph.prototype.graphModelChanged = function(changes)
Called when the graph model changes.
mxEditor.prototype.graphRenderHint
Holds the render hint used for creating the graph in setGraphContainer.
Renderhint to be used for the outline graph.
mxMouseEvent.prototype.graphX
Holds the x-coordinate of the event in the graph.
mxMouseEvent.prototype.graphY
Holds the y-coordinate of the event in the graph.
mxDragSource.prototype.gridEnabled
Specifies if the grid should be allowed.
mxGraph.prototype.gridEnabled
Specifies if the grid is enabled.
mxGraph.prototype.gridSize
Specifies the grid size.
Specifies the event name for groupCells.
Fires between begin- and endUpdate in groupCells.
mxEditor.prototype.groupCells = function ()
Invokes createGroup to create a new group cell and the invokes mxGraph.groupCells, using the grid size of the graph as the spacing in the group’s content area.
mxGraph.prototype.groupCells = function(group,
border,
cells)
Adds the cells into the given group.
mxCompactTreeLayout.prototype.groupPadding
Padding added to resized parents.
mxCoordinateAssignment.prototype.groupPadding
Padding added to resized parents
mxRectangle.prototype.grow = function(amount)
Grows the rectangle by the given amount, that is, this method subtracts the given amount from the x- and y-coordinates and adds twice the amount to the width and height.
mxGraphHandler.prototype.guide
Holds the mxGuide instance that is used for alignment.
Defines the color to be used for the guidelines in mxGraphHandler.
Defines the strokewidth to be used for the guidelines in mxGraphHandler.
mxDragSource.prototype.guidesEnabled
Specifies if mxGuide should be enabled.
mxGraphHandler.prototype.guidesEnabled
Specifies if other cells should be used for snapping the right, center or left side of the current selection.
diff --git a/docs/js-api/index/General8.html b/docs/js-api/index/General8.html index 10103eef5..c88c6190b 100644 --- a/docs/js-api/index/General8.html +++ b/docs/js-api/index/General8.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
H
 h0, mxStencil
 HANDLE_FILLCOLOR, mxConstants
 HANDLE_SIZE, mxConstants
 HANDLE_STROKECOLOR, mxConstants
 handleImage
 handleMouseOut, mxPanningManager
 handler, mxDefaultKeyHandler
 handlers, mxSelectionCellsHandler
 handlingResize, mxDivResizer
 hashCode, mxGraphHierarchyNode
 hasScrollbars, mxUtils
 hasValidState, mxCellMarker
 height
 help, mxEditor
 helpResource, mxEditor
 helpWidth, mxEditor
 helpWindowImage, mxEditor
 hide
 HIDE
 hideMenu, mxPopupMenu
 hideOnHover, mxTooltipHandler
 hideProperties, mxEditor
 hideSizers, mxVertexHandler
 hideSubmenu, mxPopupMenu
 hideTooltip, mxTooltipHandler
 HIGHLIGHT_COLOR, mxConstants
 HIGHLIGHT_STROKEWIDTH, mxConstants
 highlightColor, mxConstraintHandler
 highlightDropTargets, mxDragSource
 highlightEnabled, mxGraphHandler
 history, mxUndoManager
 hitsSwimlaneContent, mxGraph
 home, mxGraph
 horizontal
 horizontalFlow, mxEditor
 horizontalLayout, mxCompactTreeLayout
 hotspot, mxCellMarker
 hotspotEnabled, mxCellMarker
 htmlEntities, mxUtils
 htmlLabels, mxGraph
 htmlPreview, mxGraphHandler
+
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
H
 h0, mxStencil
 HANDLE_FILLCOLOR, mxConstants
 HANDLE_SIZE, mxConstants
 HANDLE_STROKECOLOR, mxConstants
 handleImage
 handleMouseOut, mxPanningManager
 handler, mxDefaultKeyHandler
 handlers, mxSelectionCellsHandler
 handlingResize, mxDivResizer
 hashCode, mxGraphHierarchyNode
 hasScrollbars, mxUtils
 hasValidState, mxCellMarker
 height
 help, mxEditor
 helpResource, mxEditor
 helpWidth, mxEditor
 helpWindowImage, mxEditor
 hide
 HIDE
 hideMenu, mxPopupMenu
 hideOnHover, mxTooltipHandler
 hideProperties, mxEditor
 hideSizers, mxVertexHandler
 hideSubmenu, mxPopupMenu
 hideTooltip, mxTooltipHandler
 HIGHLIGHT_COLOR, mxConstants
 HIGHLIGHT_STROKEWIDTH, mxConstants
 highlightColor, mxConstraintHandler
 highlightDropTargets, mxDragSource
 highlightEnabled, mxGraphHandler
 history, mxUndoManager
 hitsSwimlaneContent, mxGraph
 home, mxGraph
 horizontal
 horizontalFlow, mxEditor
 horizontalLayout, mxCompactTreeLayout
 hotspot, mxCellMarker
 hotspotEnabled, mxCellMarker
 htmlEntities, mxUtils
 htmlLabels, mxGraph
 htmlPreview, mxGraphHandler
-
mxStencil.prototype.h0
Holds the height of the shape.
Defines the color to be used for the handle fill color.
Defines the default size for handles.
Defines the color to be used for the handle stroke color.
mxEdgeHandler.prototype.handleImage
Optional mxImage to be used as handles.
mxVertexHandler.prototype.handleImage
Optional mxImage to be used as handles.
mxPanningManager.prototype.handleMouseOut
Specifies if mouse events outside of the component should be handled.
mxDefaultKeyHandler.prototype.handler
Holds the mxKeyHandler for key event handling.
mxSelectionCellsHandler.prototype.handlers
mxDictionary that maps from cells to handlers.
Boolean specifying if the width should be updated.
mxGraphHierarchyNode.prototype.hashCode
Assigns a unique hashcode for each node.
hasScrollbars: function(node)
Returns true if the overflow CSS property of the given node is either scroll or auto.
mxCellMarker.prototype.hasValidState = function()
Returns true if validState is not null.
mxGraphAbstractHierarchyCell.prototype.height
The height of this cell
mxImage.prototype.height
Integer that specifies the height of the image.
mxRectangle.prototype.height
Holds the height of the rectangle.
mxEditor.prototype.help
Holds the mxWindow created in showHelp.
mxEditor.prototype.helpResource
Specifies the resource key for the help window title.
mxEditor.prototype.helpWidth
Specifies the width of the help window in pixels.
mxEditor.prototype.helpWindowImage
Icon for the help window.
mxCellHighlight.prototype.hide = function()
Resets the state of the cell marker.
mxGuide.prototype.hide = function()
Hides all current guides.
mxTooltipHandler.prototype.hide = function()
Hides the tooltip and resets the timer.
mxWindow.prototype.hide = function()
Hides the window.
Specifies the event name for hide.
Fires after the window is hidden.
mxPopupMenu.prototype.hideMenu = function()
Removes the menu and all submenus.
mxTooltipHandler.prototype.hideOnHover
Specifies if the tooltip should be hidden if the mouse is moved over the current cell.
mxEditor.prototype.hideProperties = function ()
Hides the properties dialog.
mxVertexHandler.prototype.hideSizers = function()
Hides all sizers except.
mxPopupMenu.prototype.hideSubmenu = function(parent)
Removes all submenus inside the given parent.
mxTooltipHandler.prototype.hideTooltip = function()
Hides the tooltip.
Defines the color to be used for the cell highlighting.
Defines the strokewidth to be used for the highlights.
mxConstraintHandler.prototype.highlightColor
Specifies the color for the highlight.
mxDragSource.prototype.highlightDropTargets
Specifies if drop targets should be highlighted.
mxGraphHandler.prototype.highlightEnabled
Specifies if drop targets under the mouse should be enabled.
mxUndoManager.prototype.history
Array that contains the steps of the command history.
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.home = function()
Uses the root of the model as the root of the displayed cell hierarchy and selects the previous root.
mxCompactTreeLayout.prototype.horizontal
Specifies the orientation of the layout.
mxGuide.prototype.horizontal
Specifies if horizontal guides are enabled.
mxPartitionLayout.prototype.horizontal
Boolean indicating the direction in which the space is partitioned.
mxStackLayout.prototype.horizontal
Specifies the orientation of the layout.
mxSwimlaneManager.prototype.horizontal
Specifies the orientation of the swimlanes.
mxEditor.prototype.horizontalFlow
Specifies the direction of the flow in the diagram.
mxCompactTreeLayout.prototype.horizontalLayout = function(node,
x0,
y0,
bounds)
mxCellMarker.prototype.hotspot
Specifies the portion of the width and height that should trigger a highlight.
mxCellMarker.prototype.hotspotEnabled
Specifies if the hotspot is enabled.
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.
mxGraph.prototype.htmlLabels
Specifies the return value for isHtmlLabel.
mxGraphHandler.prototype.htmlPreview
Specifies if the graph container should be used for preview.
+
mxStencil.prototype.h0
Holds the height of the shape.
Defines the color to be used for the handle fill color.
Defines the default size for handles.
Defines the color to be used for the handle stroke color.
mxEdgeHandler.prototype.handleImage
Optional mxImage to be used as handles.
mxVertexHandler.prototype.handleImage
Optional mxImage to be used as handles.
mxPanningManager.prototype.handleMouseOut
Specifies if mouse events outside of the component should be handled.
mxDefaultKeyHandler.prototype.handler
Holds the mxKeyHandler for key event handling.
mxSelectionCellsHandler.prototype.handlers
mxDictionary that maps from cells to handlers.
Boolean specifying if the width should be updated.
mxGraphHierarchyNode.prototype.hashCode
Assigns a unique hashcode for each node.
hasScrollbars: function(node)
Returns true if the overflow CSS property of the given node is either scroll or auto.
mxCellMarker.prototype.hasValidState = function()
Returns true if validState is not null.
mxGraphAbstractHierarchyCell.prototype.height
The height of this cell
mxImage.prototype.height
Integer that specifies the height of the image.
mxRectangle.prototype.height
Holds the height of the rectangle.
mxEditor.prototype.help
Holds the mxWindow created in showHelp.
mxEditor.prototype.helpResource
Specifies the resource key for the help window title.
mxEditor.prototype.helpWidth
Specifies the width of the help window in pixels.
mxEditor.prototype.helpWindowImage
Icon for the help window.
mxCellHighlight.prototype.hide = function()
Resets the state of the cell marker.
mxGuide.prototype.hide = function()
Hides all current guides.
mxTooltipHandler.prototype.hide = function()
Hides the tooltip and resets the timer.
mxWindow.prototype.hide = function()
Hides the window.
Specifies the event name for hide.
Fires after the window is hidden.
mxPopupMenu.prototype.hideMenu = function()
Removes the menu and all submenus.
mxTooltipHandler.prototype.hideOnHover
Specifies if the tooltip should be hidden if the mouse is moved over the current cell.
mxEditor.prototype.hideProperties = function ()
Hides the properties dialog.
mxVertexHandler.prototype.hideSizers = function()
Hides all sizers except.
mxPopupMenu.prototype.hideSubmenu = function(parent)
Removes all submenus inside the given parent.
mxTooltipHandler.prototype.hideTooltip = function()
Hides the tooltip.
Defines the color to be used for the cell highlighting.
Defines the strokewidth to be used for the highlights.
mxConstraintHandler.prototype.highlightColor
Specifies the color for the highlight.
mxDragSource.prototype.highlightDropTargets
Specifies if drop targets should be highlighted.
mxGraphHandler.prototype.highlightEnabled
Specifies if drop targets under the mouse should be enabled.
mxUndoManager.prototype.history
Array that contains the steps of the command history.
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.home = function()
Uses the root of the model as the root of the displayed cell hierarchy and selects the previous root.
mxCompactTreeLayout.prototype.horizontal
Specifies the orientation of the layout.
mxGuide.prototype.horizontal
Specifies if horizontal guides are enabled.
mxPartitionLayout.prototype.horizontal
Boolean indicating the direction in which the space is partitioned.
mxStackLayout.prototype.horizontal
Specifies the orientation of the layout.
mxSwimlaneManager.prototype.horizontal
Specifies the orientation of the swimlanes.
mxEditor.prototype.horizontalFlow
Specifies the direction of the flow in the diagram.
mxCompactTreeLayout.prototype.horizontalLayout = function(node,
x0,
y0,
bounds)
mxCellMarker.prototype.hotspot
Specifies the portion of the width and height that should trigger a highlight.
mxCellMarker.prototype.hotspotEnabled
Specifies if the hotspot is enabled.
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.
mxGraph.prototype.htmlLabels
Specifies the return value for isHtmlLabel.
mxGraphHandler.prototype.htmlPreview
Specifies if the graph container should be used for preview.
diff --git a/docs/js-api/index/General9.html b/docs/js-api/index/General9.html index 19ca997b6..1a58bb51b 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
 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
 initialX, mxCoordinateAssignment
 insert
 insertBackgroundImage, mxPrintPreview
 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_FF, mxClient
 IS_GC, mxClient
 IS_IE, 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
 isAddEnabled, mxSwimlaneManager
 isAddPointEvent, mxEdgeHandler
 isAllowDanglingEdges, mxGraph
 isAllowEval, mxGraphView
 isAllowLoops, mxGraph
 isAllowOverlapParent, mxGraph
 isAltDown, mxEvent
 isAncestor
 isAncestorNode, mxUtils
 isAutoSizeCell, mxGraph
 isAutoSizeCells, mxGraph
 isBinary, mxXmlRequest
 isBooleanAttribute, mxObjectCodec
 isBrowserSupported, mxClient
 isBubbling, mxLayoutManager
 isBundleSupported, mxResources
 isCellBendable, mxGraph
 isCellCloneable, mxGraph
 isCellCodec
 isCellCollapsed, mxGraph
 isCellConnectable, mxGraph
 isCellDeletable, mxGraph
 isCellDisconnectable, mxGraph
 isCellEditable, mxGraph
 isCellFoldable, mxGraph
 isCellHorizontal, mxSwimlaneManager
 isCellIgnored, mxSpaceManager
 isCellLocked, mxGraph
 isCellMovable, mxGraph
 isCellResizable, mxGraph
 isCellRotatable, mxGraph
 isCellsBendable, mxGraph
 isCellsCloneable, mxGraph
 isCellsDeletable, mxGraph
 isCellsDisconnectable, mxGraph
 isCellsEditable, mxGraph
 isCellSelectable, mxGraph
 isCellSelected, mxGraph
 isCellShiftable, mxSpaceManager
 isCellsLocked, mxGraph
 isCellsMovable, mxGraph
 isCellsResizable, mxGraph
 isCellsSelectable, mxGraph
 isCellVisible, mxGraph
 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
 isDelayedSelection, mxGraphHandler
 isDisconnectOnMove, mxGraph
 isDropEnabled, mxGraph
 isEdge
 isEdgeIgnored, mxGraphLayout
 isEdgeLabelsMovable, mxGraph
 isEdgeValid, mxGraph
 isEditing, mxGraph
 isEmpty
 isEnabled
 isEnabledForEvent, mxGuide
 isEnterStopsCellEditing, mxGraph
 isEscapeEnabled, mxGraph
 isEventIgnored
 isEventsEnabled, mxEventSource
 isEventSource, mxCellEditor
 isEventSourceIgnored, mxGraph
 isExcluded
 isExtendParent, mxGraph
 isExtendParents
 isExtendParentsOnAdd, mxGraph
 isForcePanningEvent, mxPanningHandler
 isForceRubberbandEvent, mxRubberband
 isGraphEvent, mxKeyHandler
 isGridEnabled
 isGridEnabledEvent, mxGraph
 isGuidesEnabled, mxDragSource
 isHandleEnabled, mxEdgeHandler
 isHandleVisible, mxEdgeHandler
 isHideLabel, mxCellEditor
 isHideOnHover, mxTooltipHandler
 isHorizontal
 isHotspotEnabled, mxCellMarker
 isHtmlAllowed
 isHtmlLabel, mxGraph
 isHtmlLabels, mxGraph
 isImmediateConnectSource, mxConnectionHandler
 isInvokesStopCellEditing, mxGraph
 isLabelClipped, mxGraph
 isLabelEvent, mxCellRenderer
 isLabelMovable, mxGraph
 isLayer, mxGraphModel
 isLeftMouseButton, mxEvent
 isLivePreviewBorder, mxVertexHandler
 isLoop, mxGraph
 isMenuShowing, mxPopupMenu
 isMetaDown, mxEvent
 isMiddleMouseButton, mxEvent
 isModified
 isMouseDown, mxGraph
 isMouseEvent, mxEvent
 isMoveable, mxFastOrganicLayout
 isMoveEnabled, mxGraphHandler
 isMoveIconToFrontForState, mxConnectionHandler
 isMultigraph, mxGraph
 isNaN, mxUtils
 isNode, mxUtils
 isNumeric, mxUtils
 isNumericAttribute, mxObjectCodec
 isOrthogonal, mxGraph
 isPaintBoundsInverted
 isPanningEnabled, mxPanningHandler
 isPanningTrigger, mxPanningHandler
 isParseVml
 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
 isRunning, mxAnimation
 isScrollEvent, mxGraphView
 isSelected, mxGraphSelectionModel
 isSelectEnabled, mxGraphHandler
 isSelectionDashed
 isSelectionEmpty, mxGraph
 isSelectOnPopup, mxPopupMenuHandler
 isShapeEvent, mxCellRenderer
 isShiftDown, mxEvent
 isShiftDownwards, mxSpaceManager
 isShiftRightwards, mxSpaceManager
 isSignificant, mxUndoableEdit
 isSingleSelection, mxGraphSelectionModel
 isSizerVisible, mxVertexHandler
 isSource, mxMouseEvent
 isSplitEnabled, mxGraph
 isSplitTarget, mxGraph
 isStartEvent, mxConnectionHandler
 isStateIgnored, mxConstraintHandler
 isStopEvent, mxConnectionHandler
 isSwimlane, mxGraph
 isSwimlaneIgnored, mxSwimlaneManager
 isSwimlaneNesting, mxGraph
 isSwimlaneSelectionEnabled, mxGraph
 isSyntheticEventIgnored, mxGraph
 isTerminalPointMovable, mxGraph
 isToggleEvent, mxGraph
 isTouchEvent, mxEvent
 isValidAncestor, mxGraph
 isValidConnection, mxGraph
 isValidDropTarget, mxGraph
 isValidResponse, mxSession
 isValidRoot, mxGraph
 isValidSource
 isValidState, mxCellMarker
 isValidTarget
 isVertex
 isVertexIgnored
 isVertexLabelsMovable, mxGraph
 isVertexMovable, mxGraphLayout
 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
 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
 initialX, mxCoordinateAssignment
 insert
 insertBackgroundImage, mxPrintPreview
 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_FF, mxClient
 IS_GC, mxClient
 IS_IE, 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
 isAddEnabled, mxSwimlaneManager
 isAddPointEvent, mxEdgeHandler
 isAllowDanglingEdges, mxGraph
 isAllowEval, mxGraphView
 isAllowLoops, mxGraph
 isAllowOverlapParent, mxGraph
 isAltDown, mxEvent
 isAncestor
 isAncestorNode, mxUtils
 isAutoSizeCell, mxGraph
 isAutoSizeCells, mxGraph
 isBinary, mxXmlRequest
 isBooleanAttribute, mxObjectCodec
 isBrowserSupported, mxClient
 isBubbling, mxLayoutManager
 isBundleSupported, mxResources
 isCellBendable, mxGraph
 isCellCloneable, mxGraph
 isCellCodec
 isCellCollapsed, mxGraph
 isCellConnectable, mxGraph
 isCellDeletable, mxGraph
 isCellDisconnectable, mxGraph
 isCellEditable, mxGraph
 isCellFoldable, mxGraph
 isCellHorizontal, mxSwimlaneManager
 isCellIgnored, mxSpaceManager
 isCellLocked, mxGraph
 isCellMovable, mxGraph
 isCellResizable, mxGraph
 isCellRotatable, mxGraph
 isCellsBendable, mxGraph
 isCellsCloneable, mxGraph
 isCellsDeletable, mxGraph
 isCellsDisconnectable, mxGraph
 isCellsEditable, mxGraph
 isCellSelectable, mxGraph
 isCellSelected, mxGraph
 isCellShiftable, mxSpaceManager
 isCellsLocked, mxGraph
 isCellsMovable, mxGraph
 isCellsResizable, mxGraph
 isCellsSelectable, mxGraph
 isCellVisible, mxGraph
 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
 isDelayedSelection, mxGraphHandler
 isDisconnectOnMove, mxGraph
 isDropEnabled, mxGraph
 isEdge
 isEdgeIgnored, mxGraphLayout
 isEdgeLabelsMovable, mxGraph
 isEdgeValid, mxGraph
 isEditing, mxGraph
 isEmpty
 isEnabled
 isEnabledForEvent, mxGuide
 isEnterStopsCellEditing, mxGraph
 isEscapeEnabled, mxGraph
 isEventIgnored
 isEventsEnabled, mxEventSource
 isEventSource, mxCellEditor
 isEventSourceIgnored, mxGraph
 isExcluded
 isExtendParent, mxGraph
 isExtendParents
 isExtendParentsOnAdd, mxGraph
 isForcePanningEvent, mxPanningHandler
 isForceRubberbandEvent, mxRubberband
 isGraphEvent, mxKeyHandler
 isGridEnabled
 isGridEnabledEvent, mxGraph
 isGuidesEnabled, mxDragSource
 isHandleEnabled, mxEdgeHandler
 isHandleVisible, mxEdgeHandler
 isHideLabel, mxCellEditor
 isHideOnHover, mxTooltipHandler
 isHorizontal
 isHotspotEnabled, mxCellMarker
 isHtmlAllowed
 isHtmlLabel, mxGraph
 isHtmlLabels, mxGraph
 isImmediateConnectSource, mxConnectionHandler
 isInvokesStopCellEditing, mxGraph
 isLabelClipped, mxGraph
 isLabelEvent, mxCellRenderer
 isLabelMovable, mxGraph
 isLayer, mxGraphModel
 isLeftMouseButton, mxEvent
 isLivePreviewBorder, mxVertexHandler
 isLoop, mxGraph
 isMenuShowing, mxPopupMenu
 isMetaDown, mxEvent
 isMiddleMouseButton, mxEvent
 isModified
 isMouseDown, mxGraph
 isMouseEvent, mxEvent
 isMoveable, mxFastOrganicLayout
 isMoveEnabled, mxGraphHandler
 isMoveIconToFrontForState, mxConnectionHandler
 isMultigraph, mxGraph
 isNaN, mxUtils
 isNode, mxUtils
 isNumeric, mxUtils
 isNumericAttribute, mxObjectCodec
 isOrthogonal, mxGraph
 isPaintBoundsInverted
 isPanningEnabled, mxPanningHandler
 isPanningTrigger, mxPanningHandler
 isParseVml
 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
 isRunning, mxAnimation
 isScrollEvent, mxGraphView
 isSelected, mxGraphSelectionModel
 isSelectEnabled, mxGraphHandler
 isSelectionDashed
 isSelectionEmpty, mxGraph
 isSelectOnPopup, mxPopupMenuHandler
 isSelectText, mxCellEditor
 isShapeEvent, mxCellRenderer
 isShiftDown, mxEvent
 isShiftDownwards, mxSpaceManager
 isShiftRightwards, mxSpaceManager
 isSignificant, mxUndoableEdit
 isSingleSelection, mxGraphSelectionModel
 isSizerVisible, mxVertexHandler
 isSource, mxMouseEvent
 isSplitEnabled, mxGraph
 isSplitTarget, mxGraph
 isStartEvent, mxConnectionHandler
 isStateIgnored, mxConstraintHandler
 isStopEvent, mxConnectionHandler
 isSwimlane, mxGraph
 isSwimlaneIgnored, mxSwimlaneManager
 isSwimlaneNesting, mxGraph
 isSwimlaneSelectionEnabled, mxGraph
 isSyntheticEventIgnored, mxGraph
 isTerminalPointMovable, mxGraph
 isToggleEvent, mxGraph
 isTouchEvent, mxEvent
 isValidAncestor, mxGraph
 isValidConnection, mxGraph
 isValidDropTarget, mxGraph
 isValidResponse, mxSession
 isValidRoot, mxGraph
 isValidSource
 isValidState, mxCellMarker
 isValidTarget
 isVertex
 isVertexIgnored
 isVertexLabelsMovable, mxGraph
 isVertexMovable, mxGraphLayout
 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 actual string size should be measured if a label is clipped.
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.
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)
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.
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 contains 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.
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)
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)
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.
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.
mxCoordinateAssignment.prototype.initialX
The minimum x position node placement starts at
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.
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.
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.
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_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.
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.
True if -o-transform is available as a CSS style.
True if this device supports MS 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.
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.
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.
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.
Hook for subclassers to disable support for a given language.
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.
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.
mxSpaceManager.prototype.isCellIgnored = function(cell)
Sets the graph that the layouts operate on.
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.
mxSpaceManager.prototype.isCellShiftable = function(cell)
Sets the graph that the layouts operate on.
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.
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()
Returns createTarget.
mxGraphHandler.prototype.isDelayedSelection = function(cell)
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.
mxSpaceManager.prototype.isEnabled = function()
Returns true if events are handled.
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.
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.
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 given mouse down event should be ignored.
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.
mxSpaceManager.prototype.isExtendParents = function()
Returns true if events are handled.
mxGraph.prototype.isExtendParentsOnAdd = 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.
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.
mxConnectionHandler.prototype.isImmediateConnectSource = function(state)
Returns true if a tap on the given source state should immediately start connecting.
mxGraph.prototype.isInvokesStopCellEditing = function()
Returns invokesStopCellEditing.
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.
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.
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.
mxCellEditor.prototype.isModified = function()
Returns modified.
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.
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.
mxGraph.prototype.isOrthogonal = function(edge)
Returns true if perimeter points should be computed such that the resulting edge has only horizontal or vertical segments.
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.
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()
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.
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.
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.
mxSpaceManager.prototype.isShiftDownwards = function()
Returns true if events are handled.
mxSpaceManager.prototype.isShiftRightwards = function()
Returns true if events are handled.
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.
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.
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.
mxSession.prototype.isValidResponse = function(req)
Returns true if the response data in the given mxXmlRequest is valid.
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)
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.
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.
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 actual string size should be measured if a label is clipped.
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.
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)
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.
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 contains 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.
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)
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)
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.
mxCoordinateAssignment.prototype.initialX
The minimum x position node placement starts at
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.
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.
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.
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_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.
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.
True if -o-transform is available as a CSS style.
True if this device supports MS 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.
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.
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.
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.
Hook for subclassers to disable support for a given language.
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.
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.
mxSpaceManager.prototype.isCellIgnored = function(cell)
Sets the graph that the layouts operate on.
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.
mxSpaceManager.prototype.isCellShiftable = function(cell)
Sets the graph that the layouts operate on.
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.
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()
Returns createTarget.
mxGraphHandler.prototype.isDelayedSelection = function(cell)
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.
mxSpaceManager.prototype.isEnabled = function()
Returns true if events are handled.
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.
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.
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 given mouse down event should be ignored.
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.
mxSpaceManager.prototype.isExtendParents = function()
Returns true if events are handled.
mxGraph.prototype.isExtendParentsOnAdd = 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.
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.
mxConnectionHandler.prototype.isImmediateConnectSource = function(state)
Returns true if a tap on the given source state should immediately start connecting.
mxGraph.prototype.isInvokesStopCellEditing = function()
Returns invokesStopCellEditing.
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.
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.
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.
mxCellEditor.prototype.isModified = function()
Returns modified.
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.
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.
mxGraph.prototype.isOrthogonal = function(edge)
Returns true if perimeter points should be computed such that the resulting edge has only horizontal or vertical segments.
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.
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()
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.
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.
mxSpaceManager.prototype.isShiftDownwards = function()
Returns true if events are handled.
mxSpaceManager.prototype.isShiftRightwards = function()
Returns true if events are handled.
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.
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.
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.
mxSession.prototype.isValidResponse = function(req)
Returns true if the response data in the given mxXmlRequest is valid.
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)
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.
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.
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/Variables10.html b/docs/js-api/index/Variables10.html index b0d6e8996..28e3afa4d 100644 --- a/docs/js-api/index/Variables10.html +++ b/docs/js-api/index/Variables10.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
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
 PAN, mxEvent
 PAN_END, mxEvent
 PAN_START, mxEvent
 panDx, mxGraph
 panDy, mxGraph
 panningEnabled, mxPanningHandler
 parallelEdgeSpacing
 params, mxXmlRequest
 parent
 parentBorder
 parentsChanged, mxCompactTreeLayout
 password, mxXmlRequest
 path
 PATH_SEPARATOR, mxCellPath
 perimeter, mxConnectionConstraint
 PERIMETER_ELLIPSE, mxConstants
 PERIMETER_RECTANGLE, mxConstants
 PERIMETER_RHOMBUS, mxConstants
 PERIMETER_TRIANGLE, mxConstants
 point, mxConnectionConstraint
 pointerEvents
 pointImage, mxConstraintHandler
 points
 polling, mxSession
 popupHandler, mxEditor
 portsEnabled, mxGraph
 POST, mxEvent
 postfix, mxGraphModel
 postParameterName, mxEditor
 preferHtml, mxEdgeHandler
 preferPageSize, mxGraph
 prefHozEdgeSep
 prefix, mxGraphModel
 prefVertEdgeOff
 preserveImageAspect, mxImageShape
 previewColor, mxGraphHandler
 previewElement, mxDragSource
 previewEnabled, mxPanningHandler
 previousLayerConnectedCache, mxCoordinateAssignment
 previousLayerConnectedCells, mxGraphAbstractHierarchyCell
 printBackgroundImage, mxPrintPreview
 printOverlays, mxPrintPreview
 properties, mxEventObject
 propertiesHeight, mxEditor
 propertiesResource, mxEditor
 propertiesWidth, mxEditor
Q
 quadOp, mxAbstractCanvas2D
+
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
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
 PAN, mxEvent
 PAN_END, mxEvent
 PAN_START, mxEvent
 panDx, mxGraph
 panDy, mxGraph
 panningEnabled, mxPanningHandler
 parallelEdgeSpacing
 params, mxXmlRequest
 parent
 parentBorder
 parentsChanged, mxCompactTreeLayout
 password, mxXmlRequest
 path
 PATH_SEPARATOR, mxCellPath
 perimeter, mxConnectionConstraint
 PERIMETER_ELLIPSE, mxConstants
 PERIMETER_RECTANGLE, mxConstants
 PERIMETER_RHOMBUS, mxConstants
 PERIMETER_TRIANGLE, mxConstants
 point, mxConnectionConstraint
 pointerEvents
 pointImage, mxConstraintHandler
 points
 polling, mxSession
 popupHandler, mxEditor
 portsEnabled, mxGraph
 POST, mxEvent
 postfix, mxGraphModel
 postParameterName, mxEditor
 preferHtml, mxEdgeHandler
 preferPageSize, mxGraph
 prefHozEdgeSep
 prefix, mxGraphModel
 prefVertEdgeOff
 preserveImageAspect, mxImageShape
 previewColor, mxGraphHandler
 previewElement, mxDragSource
 previewEnabled, mxPanningHandler
 previousLayerConnectedCache, mxCoordinateAssignment
 previousLayerConnectedCells, mxGraphAbstractHierarchyCell
 printBackgroundImage, mxPrintPreview
 printOverlays, mxPrintPreview
 properties, mxEventObject
 propertiesHeight, mxEditor
 propertiesResource, mxEditor
 propertiesWidth, mxEditor
Q
 quadOp, mxAbstractCanvas2D
-
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.
Specifies the event name for pan.
Specifies the event name for panEnd.
Specifies the event name for panStart.
mxGraph.prototype.panDx
Current horizontal panning value.
mxGraph.prototype.panDy
Current vertical panning value.
mxPanningHandler.prototype.panningEnabled
Specifies if panning should be enabled.
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.
mxCompactTreeLayout.prototype.parentsChanged
A set of the parents that need updating based on children process as part of the layout.
mxXmlRequest.prototype.password
Specifies the password to be used for authentication.
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 rectangle perimeter.
Name of the rhombus perimeter.
PERIMETER_TRIANGLE: 'trianglePerimeter' }
Name of the triangle perimeter.
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.
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.
mxSession.prototype.polling
mxEditor.prototype.popupHandler
Holds a mxDefaultPopupMenu for displaying popupmenus.
mxGraph.prototype.portsEnabled
Specifies if ports are enabled.
Specifies the event name for post.
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.
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.printBackgroundImage
Specifies if the background image should be printed.
mxPrintPreview.prototype.printOverlays
Specifies if overlays should be printed.
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.
+
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.
Specifies the event name for pan.
Specifies the event name for panEnd.
Specifies the event name for panStart.
mxGraph.prototype.panDx
Current horizontal panning value.
mxGraph.prototype.panDy
Current vertical panning value.
mxPanningHandler.prototype.panningEnabled
Specifies if panning should be enabled.
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.
mxCompactTreeLayout.prototype.parentsChanged
A set of the parents that need updating based on children process as part of the layout.
mxXmlRequest.prototype.password
Specifies the password to be used for authentication.
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 rectangle perimeter.
Name of the rhombus perimeter.
PERIMETER_TRIANGLE: 'trianglePerimeter' }
Name of the triangle perimeter.
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.
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.
mxSession.prototype.polling
mxEditor.prototype.popupHandler
Holds a mxDefaultPopupMenu for displaying popupmenus.
mxGraph.prototype.portsEnabled
Specifies if ports are enabled.
Specifies the event name for post.
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.
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.printBackgroundImage
Specifies if the background image should be printed.
mxPrintPreview.prototype.printOverlays
Specifies if overlays should be printed.
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.
-
mxAbstractCanvas2D.prototype.quadOp
Contains the string used for quadratic paths.
+
mxAbstractCanvas2D.prototype.quadOp
Contains the string used for quadratic paths.
diff --git a/docs/js-api/index/Variables11.html b/docs/js-api/index/Variables11.html index 5c2903ad2..9449c2202 100644 --- a/docs/js-api/index/Variables11.html +++ b/docs/js-api/index/Variables11.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
 received, mxSession
 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
 resizeHandler, mxSpaceManager
 resizeLast, mxStackLayout
 resizeParent
 resizeVertices, mxPartitionLayout
 resources, mxResources
 resourcesEncoded, mxResources
 RESUME, mxEvent
 reverse, mxObjectCodec
 root
 ROOT, mxEvent
 roots
 rotatedHtmlBackground, mxVmlCanvas2D
 rotateHtml, mxAbstractCanvas2D
 ROTATION_HANDLE, mxEvent
 rotationEnabled
 rotationRaster, mxVertexHandler
+
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
 received, mxSession
 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
 resizeHandler, mxSpaceManager
 resizeLast, mxStackLayout
 resizeParent
 resizeVertices, mxPartitionLayout
 resources, mxResources
 resourcesEncoded, mxResources
 RESUME, mxEvent
 reverse, mxObjectCodec
 root
 ROOT, mxEvent
 roots
 rotatedHtmlBackground, mxVmlCanvas2D
 rotateHtml, mxAbstractCanvas2D
 ROTATION_HANDLE, mxEvent
 rotationEnabled
 rotationRaster, mxVertexHandler
-
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.
mxSession.prototype.received
Total number of received bytes.
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.
mxSpaceManager.prototype.resizeHandler
Holds the function that handles the move event.
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.
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.
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
mxVmlCanvas2D.prototype.rotatedHtmlBackground
Background color for rotated HTML.
mxAbstractCanvas2D.prototype.rotateHtml
Switch for rotation of HTML.
Index for the rotation handle in an mxMouseEvent.
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.rotationRaster
Specifies if rotation steps should be “rasterized” depening on the distance to the handle.
+
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.
mxSession.prototype.received
Total number of received bytes.
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.
mxSpaceManager.prototype.resizeHandler
Holds the function that handles the move event.
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.
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.
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
mxVmlCanvas2D.prototype.rotatedHtmlBackground
Background color for rotated HTML.
mxAbstractCanvas2D.prototype.rotateHtml
Switch for rotation of HTML.
Index for the rotation handle in an mxMouseEvent.
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.rotationRaster
Specifies if rotation steps should be “rasterized” depening on the distance to the handle.
diff --git a/docs/js-api/index/Variables12.html b/docs/js-api/index/Variables12.html index 3a2f954eb..9b144838f 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
S
 SAVE, mxEvent
 scale
 SCALE, mxEvent
 SCALE_AND_TRANSLATE, mxEvent
 scaleGrid, mxGraphHandler
 scrollOnMove, mxGraphHandler
 segments, mxCellState
 select, mxConnectionHandler
 SELECT, mxEvent
 selectEnabled, mxGraphHandler
 SELECTION_DASHED, mxConstants
 selectionModel, mxGraph
 selectOnPopup, mxPopupMenuHandler
 selectText, mxCellEditor
 send, mxSession
 sent, mxSession
 session, mxEditor
 SESSION, mxEvent
 SHADOW_OFFSET_X, mxConstants
 SHADOW_OFFSET_Y, mxConstants
 SHADOW_OPACITY, mxConstants
 SHADOWCOLOR, mxConstants
 shape
 SHAPE_ACTOR, mxConstants
 SHAPE_ARROW, 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
 sharedDiv, mxRubberband
 shiftDownwards, mxSpaceManager
 shiftKeys, mxKeyHandler
 shiftRightwards, mxSpaceManager
 SHOW, mxEvent
 showViewport, mxOutline
 significant, mxUndoableEdit
 significantRemoteChanges, mxSession
 singleSelection, mxGraphSelectionModel
 singleSizer, mxVertexHandler
 size, mxUndoManager
 SIZE, mxEvent
 sizerImage, mxOutline
 smartSeparators, mxPopupMenu
 snapToTerminals, mxEdgeHandler
 sortEdges, mxCompactTreeLayout
 source
 sourcePoint, mxGeometry
 SOURCESCANSTARTRANK
 spacing
 SPLIT_EDGE, mxEvent
 splitEnabled, mxGraph
 src, mxImage
 START, mxEvent
 START_EDIT, mxEvent
 START_EDITING, mxEvent
 state
 states
 status, mxEditor
 stencil, mxShape
 stencilPointerEvents, mxShape
 step, mxMorphing
 steps, mxMorphing
 STEPSIZE, mxClipboard
 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_LABEL_BACKGROUNDCOLOR, mxConstants
 STYLE_LABEL_BORDERCOLOR, mxConstants
 STYLE_LABEL_PADDING, mxConstants
 STYLE_LABEL_POSITION, mxConstants
 STYLE_LOOP, mxConstants
 STYLE_MARGIN, mxConstants
 STYLE_MOVABLE, mxConstants
 STYLE_NOEDGESTYLE, mxConstants
 STYLE_NOLABEL, mxConstants
 STYLE_OPACITY, mxConstants
 STYLE_ORTHOGONAL, mxConstants
 STYLE_OVERFLOW, mxConstants
 STYLE_PERIMETER, mxConstants
 STYLE_PERIMETER_SPACING, mxConstants
 STYLE_PORT_CONSTRAINT, mxConstants
 STYLE_PORT_CONSTRAINT_ROTATION, mxConstants
 STYLE_RESIZABLE, 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_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_LINE, mxConstants
 STYLE_TARGET_PERIMETER_SPACING, mxConstants
 STYLE_TARGET_PORT, 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
 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
 scrollOnMove, mxGraphHandler
 segments, mxCellState
 select, mxConnectionHandler
 SELECT, mxEvent
 selectEnabled, mxGraphHandler
 SELECTION_DASHED, mxConstants
 selectionModel, mxGraph
 selectOnPopup, mxPopupMenuHandler
 selectText, mxCellEditor
 send, mxSession
 sent, mxSession
 session, mxEditor
 SESSION, mxEvent
 SHADOW_OFFSET_X, mxConstants
 SHADOW_OFFSET_Y, mxConstants
 SHADOW_OPACITY, mxConstants
 SHADOWCOLOR, mxConstants
 shape
 SHAPE_ACTOR, mxConstants
 SHAPE_ARROW, 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
 shiftDownwards, mxSpaceManager
 shiftKeys, mxKeyHandler
 shiftRightwards, mxSpaceManager
 SHOW, mxEvent
 showViewport, mxOutline
 significant, mxUndoableEdit
 significantRemoteChanges, mxSession
 singleSelection, mxGraphSelectionModel
 singleSizer, mxVertexHandler
 size, mxUndoManager
 SIZE, mxEvent
 sizerImage, mxOutline
 smartSeparators, mxPopupMenu
 snapToTerminals, mxEdgeHandler
 sortEdges, mxCompactTreeLayout
 source
 sourcePoint, mxGeometry
 SOURCESCANSTARTRANK
 spacing
 SPLIT_EDGE, mxEvent
 splitEnabled, mxGraph
 src, mxImage
 START, mxEvent
 START_EDIT, mxEvent
 START_EDITING, mxEvent
 state
 states
 status, mxEditor
 stencil, mxShape
 stencilPointerEvents, mxShape
 step, mxMorphing
 steps, mxMorphing
 STEPSIZE, mxClipboard
 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_LABEL_BACKGROUNDCOLOR, mxConstants
 STYLE_LABEL_BORDERCOLOR, mxConstants
 STYLE_LABEL_PADDING, mxConstants
 STYLE_LABEL_POSITION, mxConstants
 STYLE_LOOP, mxConstants
 STYLE_MARGIN, mxConstants
 STYLE_MOVABLE, mxConstants
 STYLE_NOEDGESTYLE, mxConstants
 STYLE_NOLABEL, mxConstants
 STYLE_OPACITY, mxConstants
 STYLE_ORTHOGONAL, mxConstants
 STYLE_OVERFLOW, mxConstants
 STYLE_PERIMETER, mxConstants
 STYLE_PERIMETER_SPACING, mxConstants
 STYLE_PORT_CONSTRAINT, mxConstants
 STYLE_PORT_CONSTRAINT_ROTATION, mxConstants
 STYLE_RESIZABLE, 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_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_LINE, mxConstants
 STYLE_TARGET_PERIMETER_SPACING, mxConstants
 STYLE_TARGET_PORT, 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
 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.
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.
mxSession.prototype.sent
Total number of sent bytes.
mxEditor.prototype.session
Holds a mxSession instance associated with this editor.
Specifies the event name for session.
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 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.
mxRubberband.prototype.sharedDiv
Holds the DIV element which is used to display the rubberband.
mxSpaceManager.prototype.shiftDownwards
Specifies if event handling is enabled.
mxKeyHandler.prototype.shiftKeys
Maps from keycodes to functions for pressed shift keys.
mxSpaceManager.prototype.shiftRightwards
Specifies if event handling is enabled.
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.
mxSession.prototype.significantRemoteChanges
Whether remote changes should be significant in the local command history.
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.
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.
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.
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.
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 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 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 overflow style.
Defines the key for the perimeter style.
Defines the key for the perimeter spacing.
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 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 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 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 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.
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.
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.
mxSession.prototype.sent
Total number of sent bytes.
mxEditor.prototype.session
Holds a mxSession instance associated with this editor.
Specifies the event name for session.
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 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.
mxSpaceManager.prototype.shiftDownwards
Specifies if event handling is enabled.
mxKeyHandler.prototype.shiftKeys
Maps from keycodes to functions for pressed shift keys.
mxSpaceManager.prototype.shiftRightwards
Specifies if event handling is enabled.
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.
mxSession.prototype.significantRemoteChanges
Whether remote changes should be significant in the local command history.
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.
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.
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.
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.
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 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 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 overflow style.
Defines the key for the perimeter style.
Defines the key for the perimeter spacing.
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 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 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 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 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.
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/Variables13.html b/docs/js-api/index/Variables13.html index 489d19544..d7bf803c2 100644 --- a/docs/js-api/index/Variables13.html +++ b/docs/js-api/index/Variables13.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
T
 table, mxForm
 TAP_AND_HOLD, mxEvent
 tapAndHoldDelay, mxGraph
 tapAndHoldEnabled, mxGraph
 tapAndHoldInProgress, mxGraph
 tapAndHoldValid, mxGraph
 target
 TARGET_HIGHLIGHT_COLOR, mxConstants
 targetConnectImage, mxConnectionHandler
 targetPoint, mxGeometry
 tasks, mxEditor
 tasksResource, mxEditor
 tasksTop, mxEditor
 tasksWindowImage, mxEditor
 temp, mxGraphAbstractHierarchyCell
 temperature, mxFastOrganicLayout
 template, mxObjectCodec
 templates, mxEditor
 terminalDistance, mxCellState
 text, mxCellState
 textarea, mxCellEditor
 textEnabled
 textNode, mxCellEditor
 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
 traverseAncestors
 trigger, mxCellEditor
 triggerX, mxPopupMenuHandler
 triggerY, mxPopupMenuHandler
 type, mxMultiplicity
 typeError, mxMultiplicity
U
 UNDO, mxEvent
 undoManager, mxEditor
 undone, mxUndoableEdit
 UNGROUP_CELLS, mxEvent
 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
 urlInit
 urlNotify
 urlPoll
 urlPost, mxEditor
 useBoundingBox, mxGraphLayout
 useGrid, mxPanningHandler
 useInputOrigin, mxFastOrganicLayout
 useLeftButtonForPanning, mxPanningHandler
 useLeftButtonForPopup, mxPopupMenu
 usePopupTrigger, mxPanningHandler
 username, mxXmlRequest
 useScrollbarsForPanning, 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
T
 table, mxForm
 TAP_AND_HOLD, mxEvent
 tapAndHoldDelay, mxGraph
 tapAndHoldEnabled, mxGraph
 tapAndHoldInProgress, mxGraph
 tapAndHoldValid, mxGraph
 target
 TARGET_HIGHLIGHT_COLOR, mxConstants
 targetConnectImage, mxConnectionHandler
 targetPoint, mxGeometry
 tasks, mxEditor
 tasksResource, mxEditor
 tasksTop, mxEditor
 tasksWindowImage, mxEditor
 temp, mxGraphAbstractHierarchyCell
 temperature, mxFastOrganicLayout
 template, mxObjectCodec
 templates, mxEditor
 terminalDistance, mxCellState
 text, mxCellState
 textarea, mxCellEditor
 textEnabled
 textNode, mxCellEditor
 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
 traverseAncestors
 trigger, mxCellEditor
 triggerX, mxPopupMenuHandler
 triggerY, mxPopupMenuHandler
 type, mxMultiplicity
 typeError, mxMultiplicity
U
 UNDO, mxEvent
 undoManager, mxEditor
 undone, mxUndoableEdit
 UNGROUP_CELLS, mxEvent
 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
 urlInit
 urlNotify
 urlPoll
 urlPost, mxEditor
 useBoundingBox, mxGraphLayout
 useGrid, mxPanningHandler
 useInputOrigin, mxFastOrganicLayout
 useLeftButtonForPanning, mxPanningHandler
 useLeftButtonForPopup, mxPopupMenu
 usePopupTrigger, mxPanningHandler
 username, mxXmlRequest
 useScrollbarsForPanning, mxGraph
-
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.
mxGeometry.prototype.targetPoint
Defines the target mxPoint of the edge.
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.
mxCellEditor.prototype.textarea
Holds the input textarea.
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.
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.
mxGraph.prototype.timerAutoScroll
Specifies if timer-based autoscrolling should be used via mxPanningManager.
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.
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
X-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.
mxGeometry.prototype.targetPoint
Defines the target mxPoint of the edge.
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.
mxCellEditor.prototype.textarea
Holds the input textarea.
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.
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.
mxGraph.prototype.timerAutoScroll
Specifies if timer-based autoscrolling should be used via mxPanningManager.
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.
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
X-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.
-
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.
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 ove 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.urlInit
Specifies the URL to be used for initializing the session.
mxSession.prototype.urlInit
URL to initialize the session.
mxEditor.prototype.urlNotify
Specifies the URL to be used for notifying the backend in the session.
mxSession.prototype.urlNotify
URL to send changes to the backend.
mxEditor.prototype.urlPoll
Specifies the URL to be used for polling in the session.
mxSession.prototype.urlPoll
URL for polling the backend.
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.
+
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.
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 ove 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.urlInit
Specifies the URL to be used for initializing the session.
mxSession.prototype.urlInit
URL to initialize the session.
mxEditor.prototype.urlNotify
Specifies the URL to be used for notifying the backend in the session.
mxSession.prototype.urlNotify
URL to send changes to the backend.
mxEditor.prototype.urlPoll
Specifies the URL to be used for polling in the session.
mxSession.prototype.urlPoll
URL for polling the backend.
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.
diff --git a/docs/js-api/index/Variables14.html b/docs/js-api/index/Variables14.html index 3808a56fc..1fd3311da 100644 --- a/docs/js-api/index/Variables14.html +++ b/docs/js-api/index/Variables14.html @@ -11,25 +11,25 @@ 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
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
 verticalTextRotation, mxText
 view
 visible
 visibleSourceState, mxCellState
 visibleTargetState, mxCellState
 visited, WeightedCellSorter
 VML_PREFIX, mxClient
 vmlScale
W
 w0, mxStencil
 WARN, mxLog
 warningImage, mxGraph
 waypointsEnabled, mxConnectionHandler
 weightedValue, WeightedCellSorter
 widestRank, mxCoordinateAssignment
 widestRankValue, mxCoordinateAssignment
 width
 withCredentials, mxXmlRequest
 wnd, mxPrintPreview
 wrap, mxStackLayout
X
 x
 x0
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
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
 verticalTextRotation, mxText
 view
 visible
 visibleSourceState, mxCellState
 visibleTargetState, mxCellState
 visited, WeightedCellSorter
 VML_PREFIX, mxClient
 vmlScale
W
 w0, mxStencil
 WARN, mxLog
 warningImage, mxGraph
 waypointsEnabled, mxConnectionHandler
 weightedValue, WeightedCellSorter
 widestRank, mxCoordinateAssignment
 widestRankValue, mxCoordinateAssignment
 width
 withCredentials, mxXmlRequest
 wnd, mxPrintPreview
 wrap, mxStackLayout
X
 x
 x0
Y
 y
 y0
Z
 zIndex
 zoomFactor, mxGraph
-
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.
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.
mxCell.prototype.visible
Specifies whether the cell 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.
WeightedCellSorter.prototype.visited
Whether or not this cell has been visited in the current assignment.
Prefix for VML namespace in node names.
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.
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.
mxCell.prototype.visible
Specifies whether the cell 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.
WeightedCellSorter.prototype.visited
Whether or not this cell has been visited in the current assignment.
Prefix for VML namespace in node names.
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.
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.
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.
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.
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.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/index/Variables6.html b/docs/js-api/index/Variables6.html index cc3f42b5a..470bac4c1 100644 --- a/docs/js-api/index/Variables6.html +++ b/docs/js-api/index/Variables6.html @@ -11,17 +11,17 @@ 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
I
 id
 idrefs, mxObjectCodec
 ids, mxGraphHierarchyEdge
 ignoreCell, mxPanningHandler
 ignoreClippedStringSize, mxText
 ignoredChanges, mxAutoSaveManager
 ignoreMouseDown, mxConnectionHandler
 ignoreScrollbars, mxGraph
 ignoreStringSize, mxText
 ignoreTouchEvents, mxTooltipHandler
 image, mxCellOverlay
 imageBasePath
 imageBundles, mxGraph
 images, mxImageBundle
 imageSize
 importEnabled, mxGraph
 includeOverlays, mxImageExport
 index, mxVertexHandler
 indexOfNextAdd, mxUndoManager
 indicatorSize, mxLabel
 indicatorSpacing, mxLabel
 indices, mxFastOrganicLayout
 init, mxDefaultToolbar
 initialTemp, mxFastOrganicLayout
 initialTouchX, mxGraph
 initialTouchY, mxGraph
 initialX, mxCoordinateAssignment
 insertCount, mxClipboard
 insertFunction, mxEditor
 interHierarchySpacing
 interRankCellSpacing
 intraCellSpacing
 invalid, mxCellState
 INVALID_COLOR, mxConstants
 INVALID_CONNECT_TARGET_COLOR, mxConstants
 invalidColor, mxCellMarker
 invert, mxCompactTreeLayout
 invokesStopCellEditing, mxGraph
 IS_FF, mxClient
 IS_GC, mxClient
 IS_IE, 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
 isMouseDown, mxGraph
 isMoveable, mxFastOrganicLayout
 isReversed, mxGraphHierarchyEdge
 itemCount, mxPopupMenu
 iteration, mxFastOrganicLayout
 iterationsWithoutImprovement, mxMedianHybridCrossingReduction
J
 jettyPositions, mxCoordinateAssignment
K
 keepEdgesInForeground, mxGraph
 keepFirstLocation, mxStackLayout
 keepOnTop, mxCellHighlight
 keepSelectionVisibleOnZoom, mxGraph
 keyHandler, 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
I
 id
 idrefs, mxObjectCodec
 ids, mxGraphHierarchyEdge
 ignoreCell, mxPanningHandler
 ignoreClippedStringSize, mxText
 ignoredChanges, mxAutoSaveManager
 ignoreMouseDown, mxConnectionHandler
 ignoreScrollbars, mxGraph
 ignoreStringSize, mxText
 ignoreTouchEvents, mxTooltipHandler
 image, mxCellOverlay
 imageBasePath
 imageBundles, mxGraph
 images, mxImageBundle
 imageSize
 importEnabled, mxGraph
 includeOverlays, mxImageExport
 index, mxVertexHandler
 indexOfNextAdd, mxUndoManager
 indicatorSize, mxLabel
 indicatorSpacing, mxLabel
 indices, mxFastOrganicLayout
 init, mxDefaultToolbar
 initialTemp, mxFastOrganicLayout
 initialTouchX, mxGraph
 initialTouchY, mxGraph
 initialX, mxCoordinateAssignment
 insertCount, mxClipboard
 insertFunction, mxEditor
 interHierarchySpacing
 interRankCellSpacing
 intraCellSpacing
 invalid, mxCellState
 INVALID_COLOR, mxConstants
 INVALID_CONNECT_TARGET_COLOR, mxConstants
 invalidColor, mxCellMarker
 invert, mxCompactTreeLayout
 invokesStopCellEditing, mxGraph
 IS_FF, mxClient
 IS_GC, mxClient
 IS_IE, 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
 isMouseDown, mxGraph
 isMoveable, mxFastOrganicLayout
 isReversed, mxGraphHierarchyEdge
 itemCount, mxPopupMenu
 iteration, mxFastOrganicLayout
 iterationsWithoutImprovement, mxMedianHybridCrossingReduction
J
 jettyPositions, mxCoordinateAssignment
K
 keepEdgesInBackground, mxGraph
 keepEdgesInForeground, mxGraph
 keepFirstLocation, mxStackLayout
 keepOnTop, mxCellHighlight
 keepSelectionVisibleOnZoom, mxGraph
 keyHandler, mxEditor
-
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 actual string size should be measured if a label is clipped.
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.
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.importEnabled
Specifies the return value for canImportCell.
mxImageExport.prototype.includeOverlays
Specifies if overlays should be included in the export.
mxVertexHandler.prototype.index
Holds the index of the current handle.
mxUndoManager.prototype.indexOfNextAdd
Index of the element to be added next.
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.
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.
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.
mxCoordinateAssignment.prototype.initialX
The minimum x position node placement starts at
Counts the number of times the clipboard data has been inserted.
mxEditor.prototype.insertFunction
Specifies the function to be used for inserting new cells into the graph.
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.
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.
mxCellMarker.prototype.invalidColor
Holds the invalid marker color.
mxCompactTreeLayout.prototype.invert
Specifies if edge directions should be inverted.
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_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.
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.
True if -o-transform is available as a CSS style.
True if this device supports MS 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.
mxGraph.prototype.isMouseDown
Holds the state of the mouse button.
mxFastOrganicLayout.prototype.isMoveable
Array of booleans representing the movable states of the vertices.
mxGraphHierarchyEdge.prototype.isReversed
Whether or not the direction of this edge has been reversed internally to create a DAG for the hierarchical layout
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 actual string size should be measured if a label is clipped.
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.
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.importEnabled
Specifies the return value for canImportCell.
mxImageExport.prototype.includeOverlays
Specifies if overlays should be included in the export.
mxVertexHandler.prototype.index
Holds the index of the current handle.
mxUndoManager.prototype.indexOfNextAdd
Index of the element to be added next.
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.
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.
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.
mxCoordinateAssignment.prototype.initialX
The minimum x position node placement starts at
Counts the number of times the clipboard data has been inserted.
mxEditor.prototype.insertFunction
Specifies the function to be used for inserting new cells into the graph.
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.
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.
mxCellMarker.prototype.invalidColor
Holds the invalid marker color.
mxCompactTreeLayout.prototype.invert
Specifies if edge directions should be inverted.
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_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.
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.
True if -o-transform is available as a CSS style.
True if this device supports MS 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.
mxGraph.prototype.isMouseDown
Holds the state of the mouse button.
mxFastOrganicLayout.prototype.isMoveable
Array of booleans representing the movable states of the vertices.
mxGraphHierarchyEdge.prototype.isReversed
Whether or not the direction of this edge has been reversed internally to create a DAG for the hierarchical layout
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
-
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.
+
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.
-
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.
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.
mxEditor.prototype.keyHandler
Holds a mxDefaultKeyHandler for handling keyboard events.
diff --git a/docs/js-api/index/Variables7.html b/docs/js-api/index/Variables7.html index 31ebe101b..5ce3d4fb1 100644 --- a/docs/js-api/index/Variables7.html +++ b/docs/js-api/index/Variables7.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
L
 LABEL_CHANGED, mxEvent
 LABEL_HANDLE, mxEvent
 LABEL_HANDLE_FILLCOLOR, mxConstants
 LABEL_HANDLE_SIZE, mxConstants
 labels, mxPopupMenu
 labelShape, mxEdgeHandler
 labelsVisible
 language, mxClient
 languages, mxClient
 lastEdgeNode, mxGraphView
 lastHtmlNode, mxGraphView
 lastNode, mxGraphView
 lastSavedResource, mxEditor
 lastSnapshot, mxAutoSaveManager
 lastTouchTime, mxGraph
 lastTouchX, mxGraph
 lastX, mxAbstractCanvas2D
 lastY, mxAbstractCanvas2D
 layout
 LAYOUT_CELLS, mxEvent
 layoutDiagram, mxEditor
 layouts, mxCompositeLayout
 layoutSwimlanes, mxEditor
 legacyControlPosition, mxCellRenderer
 length, mxCellState
 levelDistance, mxCompactTreeLayout
 limitX, mxCoordinateAssignment
 LINE_ARCSIZE, mxConstants
 LINE_HEIGHT, mxConstants
 linefeed, mxSession
 lineFeed, mxEditor
 lineHeightCorrection, mxSvgCanvas2D
 lineOp
 livePreview, mxVertexHandler
 loadDefaultBundle, mxResources
 LOCKED_HANDLE_FILLCOLOR, mxConstants
+
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
L
 LABEL_CHANGED, mxEvent
 LABEL_HANDLE, mxEvent
 LABEL_HANDLE_FILLCOLOR, mxConstants
 LABEL_HANDLE_SIZE, mxConstants
 labels, mxPopupMenu
 labelShape, mxEdgeHandler
 labelsVisible
 language, mxClient
 languages, mxClient
 lastForegroundNode, mxGraphView
 lastHtmlNode, mxGraphView
 lastNode, mxGraphView
 lastSavedResource, mxEditor
 lastSnapshot, mxAutoSaveManager
 lastTouchTime, mxGraph
 lastTouchX, mxGraph
 lastX, mxAbstractCanvas2D
 lastY, mxAbstractCanvas2D
 layout
 LAYOUT_CELLS, mxEvent
 layoutDiagram, mxEditor
 layouts, mxCompositeLayout
 layoutSwimlanes, mxEditor
 legacyControlPosition, mxCellRenderer
 length, mxCellState
 levelDistance, mxCompactTreeLayout
 limitX, mxCoordinateAssignment
 LINE_ARCSIZE, mxConstants
 LINE_HEIGHT, mxConstants
 linefeed, mxSession
 lineFeed, mxEditor
 lineHeightCorrection, mxSvgCanvas2D
 lineOp
 livePreview, mxVertexHandler
 loadDefaultBundle, mxResources
 LOCKED_HANDLE_FILLCOLOR, mxConstants
-
Specifies the event name for labelChanged.
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.
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.lastEdgeNode
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.
mxAbstractCanvas2D.prototype.lastX
Holds the last x coordinate.
mxAbstractCanvas2D.prototype.lastY
Holds the last y coordinate.
mxCoordinateAssignment.prototype.layout
Reference to the enclosing mxHierarchicalLayout.
mxMedianHybridCrossingReduction.prototype.layout
Reference to the enclosing mxHierarchicalLayout.
mxMinimumCycleRemover.prototype.layout
Reference to the enclosing mxHierarchicalLayout.
mxSwimlaneOrdering.prototype.layout
Reference to the enclosing mxHierarchicalLayout.
Specifies the event name for layoutCells.
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.
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.
mxCellRenderer.prototype.legacyControlPosition
Specifies if the folding icon should ignore the horizontal orientation of a swimlane.
mxCellState.prototype.length
Caches the length of an edge.
mxCompactTreeLayout.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.
mxSession.prototype.linefeed
Used for encoding linefeeds.
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.
mxVertexHandler.prototype.livePreview
Specifies if resize should change the cell in-place.
Specifies if the default file for a given basename should be loaded.
Defines the color to be used for the locked handle fill color.
+
Specifies the event name for labelChanged.
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.
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.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.
mxAbstractCanvas2D.prototype.lastX
Holds the last x coordinate.
mxAbstractCanvas2D.prototype.lastY
Holds the last y coordinate.
mxCoordinateAssignment.prototype.layout
Reference to the enclosing mxHierarchicalLayout.
mxMedianHybridCrossingReduction.prototype.layout
Reference to the enclosing mxHierarchicalLayout.
mxMinimumCycleRemover.prototype.layout
Reference to the enclosing mxHierarchicalLayout.
mxSwimlaneOrdering.prototype.layout
Reference to the enclosing mxHierarchicalLayout.
Specifies the event name for layoutCells.
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.
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.
mxCellRenderer.prototype.legacyControlPosition
Specifies if the folding icon should ignore the horizontal orientation of a swimlane.
mxCellState.prototype.length
Caches the length of an edge.
mxCompactTreeLayout.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.
mxSession.prototype.linefeed
Used for encoding linefeeds.
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.
mxVertexHandler.prototype.livePreview
Specifies if resize should change the cell in-place.
Specifies if the default file for a given basename should be loaded.
Defines the color to be used for the locked handle fill color.
diff --git a/docs/js-api/index/Variables8.html b/docs/js-api/index/Variables8.html index 5aefd008a..6a21f9799 100644 --- a/docs/js-api/index/Variables8.html +++ b/docs/js-api/index/Variables8.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
M
 maintainEdgeParent, mxGraphModel
 maintainSwimlanes, mxEditor
 manageSizers, mxVertexHandler
 mapping, mxObjectCodec
 marginBottom, mxStackLayout
 marginLeft, mxStackLayout
 marginRight, mxStackLayout
 marginTop, mxStackLayout
 MARK, mxEvent
 markedState, mxCellMarker
 marker
 markers, mxMarker
 matchHtmlAlignment, mxSvgCanvas2D
 max, mxMultiplicity
 MAX_HOTSPOT_SIZE, mxConstants
 maxCells, mxGraphHandler
 maxFitScale, mxGraph
 maxHandlers, mxSelectionCellsHandler
 maxHeight, mxCylinder
 MAXIMIZE, mxEvent
 maximizeImage, mxWindow
 maximumContainerSize, mxGraph
 maximumGraphBounds, mxGraph
 maxIterations
 maxNoImprovementIterations, mxMedianHybridCrossingReduction
 maxRank
 maxRankHeight, mxCompactTreeLayout
 medianValue, MedianCellSorter
 method, mxXmlRequest
 min, mxMultiplicity
 MIN_HOTSPOT_SIZE, mxConstants
 minDistanceLimit, mxFastOrganicLayout
 minDistanceLimitSquared, mxFastOrganicLayout
 minEdgeJetty
 minFitScale, mxGraph
 MINIMIZE, mxEvent
 minimizeImage, mxWindow
 minimumContainerSize, mxGraph
 minimumGraphSize, mxGraph
 minimumSize
 minPageBreakDist, mxGraph
 minRank, mxGraphAbstractHierarchyCell
 model
 modified
 MOUSE_DOWN, mxEvent
 MOUSE_MOVE, mxEvent
 MOUSE_UP, mxEvent
 mouseDownCounter, mxConnectionHandler
 mouseListeners, mxGraph
 MOVE, mxEvent
 MOVE_CELLS, mxEvent
 MOVE_END, mxEvent
 MOVE_START, mxEvent
 moveCircle, mxCircleLayout
 moveEnabled, mxGraphHandler
 moveHandler
 moveIconBack, mxConnectionHandler
 moveIconFront, mxConnectionHandler
 moveOp
 moveParent
 movePreviewAway, mxConnectionHandler
 movePropertiesDialog, mxEditor
 moveTree, mxCompactTreeLayout
 multigraph, mxGraph
 multiplicities, mxGraph
 mxLoadResources, mxClient
 mxLoadStylesheets, mxClient
 mxResourceExtension, mxClient
 mxTransient, mxCell
+
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
M
 maintainEdgeParent, mxGraphModel
 maintainSwimlanes, mxEditor
 manageSizers, mxVertexHandler
 mapping, mxObjectCodec
 marginBottom, mxStackLayout
 marginLeft, mxStackLayout
 marginRight, mxStackLayout
 marginTop, mxStackLayout
 MARK, mxEvent
 markedState, mxCellMarker
 marker
 markers, mxMarker
 matchHtmlAlignment, mxSvgCanvas2D
 max, mxMultiplicity
 MAX_HOTSPOT_SIZE, mxConstants
 maxCells, mxGraphHandler
 maxFitScale, mxGraph
 maxHandlers, mxSelectionCellsHandler
 maxHeight, mxCylinder
 MAXIMIZE, mxEvent
 maximizeImage, mxWindow
 maximumContainerSize, mxGraph
 maximumGraphBounds, mxGraph
 maxIterations
 maxNoImprovementIterations, mxMedianHybridCrossingReduction
 maxRank
 maxRankHeight, mxCompactTreeLayout
 medianValue, MedianCellSorter
 method, mxXmlRequest
 min, mxMultiplicity
 MIN_HOTSPOT_SIZE, mxConstants
 minDistanceLimit, mxFastOrganicLayout
 minDistanceLimitSquared, mxFastOrganicLayout
 minEdgeJetty
 minFitScale, mxGraph
 MINIMIZE, mxEvent
 minimizeImage, mxWindow
 minimumContainerSize, mxGraph
 minimumGraphSize, mxGraph
 minimumSize
 minPageBreakDist, mxGraph
 minRank, mxGraphAbstractHierarchyCell
 model
 modified
 MOUSE_DOWN, mxEvent
 MOUSE_MOVE, mxEvent
 MOUSE_UP, mxEvent
 mouseDownCounter, mxConnectionHandler
 mouseListeners, mxGraph
 MOVE, mxEvent
 MOVE_CELLS, mxEvent
 MOVE_END, mxEvent
 MOVE_START, mxEvent
 moveCircle, mxCircleLayout
 moveEnabled, mxGraphHandler
 moveHandler
 moveIconBack, mxConnectionHandler
 moveIconFront, mxConnectionHandler
 moveOp
 moveParent
 movePreviewAway, mxConnectionHandler
 movePropertiesDialog, mxEditor
 moveTree, mxCompactTreeLayout
 multigraph, mxGraph
 multiplicities, mxGraph
 mxLoadResources, mxClient
 mxLoadStylesheets, mxClient
 mxResourceExtension, mxClient
 mxTransient, mxCell
-
mxGraphModel.prototype.maintainEdgeParent
Specifies if edges should automatically be moved into the nearest common ancestor of their terminals.
mxEditor.prototype.maintainSwimlanes
Specifies if the swimlanes should be kept at the same width or height depending on the setting of horizontalFlow.
mxVertexHandler.prototype.manageSizers
Specifies if sizers should be hidden and spaced if the vertex is small.
mxObjectCodec.prototype.mapping
Maps from from fieldnames to XML attribute names.
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.
mxStackLayout.prototype.marginTop
Top margin for the child area.
Specifies the event name for mark.
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.
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.
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
MedianCellSorter.prototype.medianValue
The weighted value of the cell stored.
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.
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.
mxGraph.prototype.minPageBreakDist
Specifies the minimum distance for page breaks to be visible.
mxGraphAbstractHierarchyCell.prototype.minRank
The minimum rank this cell occupies.
mxGraph.prototype.model
Holds the mxGraphModel that contains the cells to be displayed.
mxHierarchicalLayout.prototype.model
The internal mxGraphHierarchyModel formed of the layout.
mxSession.prototype.model
Reference to the enclosing mxGraphModel.
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.
mxConnectionHandler.prototype.mouseDownCounter
Counts the number of mouseDown events since the start.
mxGraph.prototype.mouseListeners
Holds the mouse event listeners.
Specifies the event name for move.
Specifies the event name for moveCells.
Specifies the event name for moveEnd.
Specifies the event name for moveStart.
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.
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.
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.
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.
Optional global config variable to specify the extension of resource files.
mxCell.prototype.mxTransient
List of members that should not be cloned inside clone.
+
mxGraphModel.prototype.maintainEdgeParent
Specifies if edges should automatically be moved into the nearest common ancestor of their terminals.
mxEditor.prototype.maintainSwimlanes
Specifies if the swimlanes should be kept at the same width or height depending on the setting of horizontalFlow.
mxVertexHandler.prototype.manageSizers
Specifies if sizers should be hidden and spaced if the vertex is small.
mxObjectCodec.prototype.mapping
Maps from from fieldnames to XML attribute names.
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.
mxStackLayout.prototype.marginTop
Top margin for the child area.
Specifies the event name for mark.
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.
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.
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
MedianCellSorter.prototype.medianValue
The weighted value of the cell stored.
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.
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.
mxGraph.prototype.minPageBreakDist
Specifies the minimum distance for page breaks to be visible.
mxGraphAbstractHierarchyCell.prototype.minRank
The minimum rank this cell occupies.
mxGraph.prototype.model
Holds the mxGraphModel that contains the cells to be displayed.
mxHierarchicalLayout.prototype.model
The internal mxGraphHierarchyModel formed of the layout.
mxSession.prototype.model
Reference to the enclosing mxGraphModel.
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.
mxConnectionHandler.prototype.mouseDownCounter
Counts the number of mouseDown events since the start.
mxGraph.prototype.mouseListeners
Holds the mouse event listeners.
Specifies the event name for move.
Specifies the event name for moveCells.
Specifies the event name for moveEnd.
Specifies the event name for moveStart.
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.
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.
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.
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.
Optional global config variable to specify the extension of resource files.
mxCell.prototype.mxTransient
List of members that should not be cloned inside clone.
diff --git a/docs/js-api/index/Variables9.html b/docs/js-api/index/Variables9.html index 8c60cd451..93a5db078 100644 --- a/docs/js-api/index/Variables9.html +++ b/docs/js-api/index/Variables9.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
N
 name, mxEventObject
 nativeDoubleClickEnabled, mxGraph
 neighbours, mxFastOrganicLayout
 nestedBestRanks, mxMedianHybridCrossingReduction
 nextId, mxGraphModel
 nextLayerConnectedCache, mxCoordinateAssignment
 nextLayerConnectedCells, mxGraphAbstractHierarchyCell
 NO_FO, mxClient
 node, mxShape
 nodeDistance, mxCompactTreeLayout
 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, mxEvent
 normalizeImage, mxWindow
 normalKeys, mxKeyHandler
 NOTIFY, mxEvent
 NS_SVG, mxConstants
 NS_XHTML, mxConstants
 NS_XLINK, mxConstants
 nudge, WeightedCellSorter
O
 objects
 OFFICE_PREFIX, mxClient
 offset
 oldBounds, mxTemporaryCellStates
 oldScale, mxTemporaryCellStates
 oldStates, mxTemporaryCellStates
 OPEN, mxEvent
 optimizeVmlReflows, mxGraphView
 ORDER_CELLS, mxEvent
 orientation
 origin, mxCellState
 outline, mxEditor
 OUTLINE_COLOR, mxConstants
 OUTLINE_HANDLE_FILLCOLOR, mxConstants
 OUTLINE_HANDLE_STROKECOLOR, mxConstants
 OUTLINE_STROKEWIDTH, mxConstants
 outlineResource, 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
N
 name, mxEventObject
 nativeDoubleClickEnabled, mxGraph
 neighbours, mxFastOrganicLayout
 nestedBestRanks, mxMedianHybridCrossingReduction
 nextId, mxGraphModel
 nextLayerConnectedCache, mxCoordinateAssignment
 nextLayerConnectedCells, mxGraphAbstractHierarchyCell
 NO_FO, mxClient
 node, mxShape
 nodeDistance, mxCompactTreeLayout
 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, mxEvent
 normalizeImage, mxWindow
 normalKeys, mxKeyHandler
 NOTIFY, mxEvent
 NS_SVG, mxConstants
 NS_XHTML, mxConstants
 NS_XLINK, mxConstants
 nudge, WeightedCellSorter
O
 objects
 OFFICE_PREFIX, mxClient
 offset
 oldBounds, mxTemporaryCellStates
 oldScale, mxTemporaryCellStates
 oldStates, mxTemporaryCellStates
 OPEN, mxEvent
 optimizeVmlReflows, mxGraphView
 ORDER_CELLS, mxEvent
 orientation
 origin, mxCellState
 outline, mxEditor
 OUTLINE_COLOR, mxConstants
 OUTLINE_HANDLE_FILLCOLOR, mxConstants
 OUTLINE_HANDLE_STROKECOLOR, mxConstants
 OUTLINE_STROKEWIDTH, mxConstants
 outlineResource, mxEditor
-
mxEventObject.prototype.name
Holds the name.
Specifies if native double click events should be deteced.
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.
mxShape.prototype.node
Holds the outermost DOM node that represents this shape.
mxCompactTreeLayout.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.
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.
Specifies the event name for notify.
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 deteced.
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.
mxShape.prototype.node
Holds the outermost DOM node that represents this shape.
mxCompactTreeLayout.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.
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.
Specifies the event name for notify.
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.
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.
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.
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.
mxEditor.prototype.outline
Reference to the mxWindow that contains the 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.
Defines the strokewidth to be used for the outline rectangle stroke width.
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.
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.
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.
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.
mxEditor.prototype.outline
Reference to the mxWindow that contains the 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.
Defines the strokewidth to be used for the outline rectangle stroke width.
mxEditor.prototype.outlineResource
Specifies the resource key for the outline window title.
diff --git a/docs/js-api/search/FunctionsA.html b/docs/js-api/search/FunctionsA.html index 3bea4a6f6..ec275d4ee 100644 --- a/docs/js-api/search/FunctionsA.html +++ b/docs/js-api/search/FunctionsA.html @@ -11,7 +11,7 @@ if (browserType) {document.write("
");if (browserV -
Loading...
activate, mxWindow
addActionCombo, mxDefaultToolbar
addActionOption, mxDefaultToolbar
addActions, mxEditor
addAlias, mxCodecRegistry
addAllEdges, mxGraph
addBreak, mxToolbar
addButton, mxLog
addButtons, mxForm
addCheckbox, mxForm
addEdge, mxGraph
addEdges, mxCellStatePreview
addField, mxForm
addGraphFragment, mxPrintPreview
addItems, mxDefaultPopupMenu
addLine, mxToolbar
addMarker, mxMarker
addObjectValue, mxObjectCodec
addOp, mxAbstractCanvas2D
addPoint, mxEdgeHandler
addPointAt, mxEdgeHandler
addPrototype, mxDefaultToolbar
addStencil, mxStencilRegistry
addStylename, mxUtils
addSwitchMode, mxToolbar
addTemplate, mxEditor
addText, mxForm
addTextarea, mxForm
addTextBackground, mxSvgCanvas2D
addVertex, mxEditor
addWaypoint, mxConnectionHandler
alert, mxUtils
alignCells, mxGraph
animateCell, mxMorphing
arcTo, mxAbstractCanvas2D
arcToCurves, mxUtils
arrangeGroups, mxGraphLayout
attachParent, mxCompactTreeLayout
autoSizeCell, mxGraph
avoid, mxEdgeLabelLayout
Searching...
No Matches
+ + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+
+
com.mxgraph.mxBasicCanvas Member List
+
+ + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxBasicCanvas.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxBasicCanvas.html new file mode 100644 index 000000000..a330cce5f --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxBasicCanvas.html @@ -0,0 +1,457 @@ + + + + + + +mxGraph: com.mxgraph.mxBasicCanvas Class Reference + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+ +
+ +

Basic implementation of a canvas that draws a graph. + More...

+
+Inheritance diagram for com.mxgraph.mxBasicCanvas:
+
+
+ + +com.mxgraph.mxICanvas +com.mxgraph.mxGdiCanvas + +
+ + + + + + + + +

+Public Member Functions

abstract Object DrawCell (mxCellState state)
 see com.mxgraph.mxICanvas.DrawCell() More...
 
abstract Object DrawLabel (string text, mxCellState state, bool html)
 see com.mxgraph.mxICanvas.DrawLabel() More...
 
+ + + + +

+Static Public Attributes

static string DEFAULT_IMAGEBASEPATH = ""
 Defines the default value for the imageBasePath in all GDI canvases. Default is an empty string. More...
 
+ + + + +

+Protected Member Functions

string GetImageForStyle (Dictionary< string, Object > style)
 Gets the image path from the given style. If the path is relative (does not start with a slash) then it is appended to the imageBasePath. More...
 
+ + + + + + + + + + + + + +

+Protected Attributes

string imageBasePath = DEFAULT_IMAGEBASEPATH
 Defines the base path for images with relative paths. Trailing slash is required. Default value is DEFAULT_IMAGEBASEPATH. More...
 
Point translate = new Point(0, 0)
 Specifies the current translation. Default is (0,0). More...
 
double scale
 Specifies the current scale. Default is 1. More...
 
bool drawLabels = true
 Specifies whether labels should be painted. Default is true. More...
 
+ + + + + + + + + + + + + + + + + + + + +

+Properties

Point Translate [get, set]
 see com.mxgraph.mxICanvas.Translate More...
 
double Scale [get, set]
 see com.mxgraph.mxICanvas.Scale More...
 
bool DrawLabels [get, set]
 Sets if labels should be visible. More...
 
string ImageBasePath [get, set]
 Sets or gets the image base path. More...
 
- Properties inherited from com.mxgraph.mxICanvas
Point Translate [get, set]
 Sets or returns the user object of the cell. More...
 
double Scale [get, set]
 Sets or returns the user object of the cell. More...
 
+

Detailed Description

+

Basic implementation of a canvas that draws a graph.

+

Member Function Documentation

+ +
+
+ + + + + +
+ + + + + + + + +
abstract Object com.mxgraph.mxBasicCanvas.DrawCell (mxCellState state)
+
+pure virtual
+
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
abstract Object com.mxgraph.mxBasicCanvas.DrawLabel (string text,
mxCellState state,
bool html 
)
+
+pure virtual
+
+
+ +
+
+ + + + + +
+ + + + + + + + +
string com.mxgraph.mxBasicCanvas.GetImageForStyle (Dictionary< string, Object > style)
+
+inlineprotected
+
+ +

Gets the image path from the given style. If the path is relative (does not start with a slash) then it is appended to the imageBasePath.

+
Parameters
+ + +
style
+
+
+
Returns
+ +

References com.mxgraph.mxUtils.GetString(), and com.mxgraph.mxConstants.STYLE_IMAGE.

+ +
+
+

Member Data Documentation

+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxBasicCanvas.DEFAULT_IMAGEBASEPATH = ""
+
+static
+
+ +

Defines the default value for the imageBasePath in all GDI canvases. Default is an empty string.

+ +
+
+ +
+
+ + + + + +
+ + + + +
bool com.mxgraph.mxBasicCanvas.drawLabels = true
+
+protected
+
+ +

Specifies whether labels should be painted. Default is true.

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxBasicCanvas.imageBasePath = DEFAULT_IMAGEBASEPATH
+
+protected
+
+ +

Defines the base path for images with relative paths. Trailing slash is required. Default value is DEFAULT_IMAGEBASEPATH.

+ +
+
+ +
+
+ + + + + +
+ + + + +
double com.mxgraph.mxBasicCanvas.scale
+
+protected
+
+ +

Specifies the current scale. Default is 1.

+ +
+
+ +
+
+ + + + + +
+ + + + +
Point com.mxgraph.mxBasicCanvas.translate = new Point(0, 0)
+
+protected
+
+ +

Specifies the current translation. Default is (0,0).

+ +
+
+

Property Documentation

+ +
+
+ + + + + +
+ + + + +
bool com.mxgraph.mxBasicCanvas.DrawLabels
+
+getset
+
+ +

Sets if labels should be visible.

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxBasicCanvas.ImageBasePath
+
+getset
+
+ +

Sets or gets the image base path.

+ +
+
+ +
+
+ + + + + +
+ + + + +
double com.mxgraph.mxBasicCanvas.Scale
+
+getset
+
+
+ +
+
+ + + + + +
+ + + + +
Point com.mxgraph.mxBasicCanvas.Translate
+
+getset
+
+
+
The documentation for this class was generated from the following file:
    +
  • src/canvas/mxBasicCanvas.cs
  • +
+
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxBasicCanvas.png b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxBasicCanvas.png new file mode 100644 index 0000000000000000000000000000000000000000..30c0447c528dfb6c6abf2931b30783ca43870932 GIT binary patch literal 1042 zcmeAS@N?(olHy`uVBq!ia0vp^TY$KOgBeIxt~R^|q$C1-LR|m<{|{uoc=NTi|Ih>= z3ycpOIKbL@M;^%KC<*clW&kPzfvcxNj2IZ07kaulhEy=Vo%^uwvlb7lI{V7^|4(c; z=RByUa{Jrus@5mdHs>5LV>Wyj@1>b)7O0Y`r@BSORb!#5rc-=NoJ!`3(zMDtm6yza zCBLxgdA@(mRb}6{Hu_(GocId<(yPl|H?MrQO!~)+4E6c3rInsmFPW;!*WHyW;xDk- zvQ0PntZ(_l%j>VS#hNeK*I4$3Z9!{k`emEHr;_E_iytd{s{hsdQnvG6bD3TAJDKfY z{(kwvd24ULYUvlRzZ6_J`}OXZ7sacY4W_SZ|8`sQ*Oux#Z$JF_T<7=wYVwBW;IB8% zUVs1dP4$b#e&O=rtlJNoUv{1p7cTzm@_io9D$oBsx!T7~E|^Yy)--KN0^CpjFM_;g z`Y^;_VooqS%kj6u$HP|n%j8PCSDFhqS1}yXSjea}4aOGbWZ0aG0yOYD!H)UDZc&IJDY^rvJz*Rc|=)j?f*WuNr-B`w|!UX z>ko#T?XR4uo_nWl_0E@UcI;O+c2(!?h~2Y!a`QdjtnIt5uKac3me{FTv-93OK6JaV z*rs+*<7LiU8>43*zWR2*?vus+H9qI$8t-!Hg|2(l>-UTK1@E);jLC9kA6VW#lC4ag zbFZyT|LiNasu^<6zu#Tj-dyHaZfV<;H+_|T;r!<0`Mc-HotfQKH1~4tR|%cMRdTz3 z{<59Fw|SlA-kaaAF24Fw>U^l<>o5GJyNbE~h5lu@C4S9wL4UZFsL6r(TF_v*_4*&s z%PvemCdn~u&UAZmJlW}$a1qF5fUq7yc`f9Da1-l_>VT(%18N1N)cQZQ0hk6__%AZ@FT@UwU|5@fGHb<9Q5G z66IocuF>UBlgn=&ymMs2m0Rx}@~6L4eQ{d2#4t)gq6 z;?BMlEZH6MxAS+6%nzCLJfr)*KNp4h}Nu literal 0 HcmV?d00001 diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCell-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCell-members.html new file mode 100644 index 000000000..263b0b923 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCell-members.html @@ -0,0 +1,113 @@ + + + + + + +mxGraph: Member List + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+
+
com.mxgraph.mxCell Member List
+
+
+ +

This is the complete list of members for com.mxgraph.mxCell, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ChildCount()com.mxgraph.mxCellinline
childrencom.mxgraph.mxCellprotected
Clone()com.mxgraph.mxCellinline
Collapsed (defined in com.mxgraph.mxCell)com.mxgraph.mxCell
collapsedcom.mxgraph.mxCellprotected
connectablecom.mxgraph.mxCellprotected
Connectable (defined in com.mxgraph.mxCell)com.mxgraph.mxCell
Edge (defined in com.mxgraph.mxCell)com.mxgraph.mxCell
edgecom.mxgraph.mxCellprotected
EdgeCount()com.mxgraph.mxCellinline
edgescom.mxgraph.mxCellprotected
Geometry (defined in com.mxgraph.mxCell)com.mxgraph.mxCell
geometrycom.mxgraph.mxCellprotected
GetAttribute(String name)com.mxgraph.mxCellinline
GetAttribute(String name, String defaultValue)com.mxgraph.mxCellinline
GetChildAt(int index)com.mxgraph.mxCellinline
GetEdgeAt(int index)com.mxgraph.mxCellinline
GetEdgeIndex(mxICell edge)com.mxgraph.mxCellinline
GetIndex(mxICell child)com.mxgraph.mxCellinline
GetTerminal(bool source)com.mxgraph.mxCellinline
idcom.mxgraph.mxCellprotected
Id (defined in com.mxgraph.mxCell)com.mxgraph.mxCell
Insert(mxICell child)com.mxgraph.mxCellinline
Insert(mxICell child, int index)com.mxgraph.mxCellinline
InsertEdge(mxICell edge, bool isOutgoing)com.mxgraph.mxCellinline
mxCell()com.mxgraph.mxCellinline
mxCell(Object value)com.mxgraph.mxCellinline
mxCell(Object value, mxGeometry geometry, string style)com.mxgraph.mxCellinline
parentcom.mxgraph.mxCellprotected
Parent (defined in com.mxgraph.mxCell)com.mxgraph.mxCell
Remove(int index)com.mxgraph.mxCellinline
Remove(mxICell child)com.mxgraph.mxCellinline
RemoveEdge(mxICell edge, bool isOutgoing)com.mxgraph.mxCellinline
RemoveFromParent()com.mxgraph.mxCellinline
RemoveFromTerminal(bool isSource)com.mxgraph.mxCellinline
SetAttribute(String name, String value)com.mxgraph.mxCellinline
SetTerminal(mxICell terminal, bool isSource)com.mxgraph.mxCellinline
sourcecom.mxgraph.mxCellprotected
Sourcecom.mxgraph.mxCell
stylecom.mxgraph.mxCellprotected
Style (defined in com.mxgraph.mxCell)com.mxgraph.mxCell
targetcom.mxgraph.mxCellprotected
Targetcom.mxgraph.mxCell
valuecom.mxgraph.mxCellprotected
Value (defined in com.mxgraph.mxCell)com.mxgraph.mxCell
vertexcom.mxgraph.mxCellprotected
Vertex (defined in com.mxgraph.mxCell)com.mxgraph.mxCell
visiblecom.mxgraph.mxCellprotected
Visible (defined in com.mxgraph.mxCell)com.mxgraph.mxCell
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCell.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCell.html new file mode 100644 index 000000000..7c772cbaf --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCell.html @@ -0,0 +1,1481 @@ + + + + + + +mxGraph: com.mxgraph.mxCell Class Reference + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+ +
+
com.mxgraph.mxCell Class Reference
+
+
+ +

Cells are the elements of the graph model. They represent the state of the groups, vertices and edges in a graph. + More...

+
+Inheritance diagram for com.mxgraph.mxCell:
+
+
+ + +com.mxgraph.mxICell + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 mxCell ()
 Constructs a new empty cell. More...
 
 mxCell (Object value)
 Constructs a new cell for the given value. More...
 
 mxCell (Object value, mxGeometry geometry, string style)
 Constructs a new cell for the given value, geometry and style. More...
 
mxICell GetTerminal (bool source)
 Returns the source or target terminal of the cell. More...
 
mxICell SetTerminal (mxICell terminal, bool isSource)
 Sets the source or target terminal. More...
 
int ChildCount ()
 Returns the number of child cells. More...
 
int GetIndex (mxICell child)
 Returns the index of the specified child in the child array. More...
 
mxICell GetChildAt (int index)
 Returns the child at the specified index. More...
 
mxICell Insert (mxICell child)
 Appends the specified child into the child array and updates the parent reference of the child. More...
 
mxICell Insert (mxICell child, int index)
 Inserts the specified child into the child array at the specified index and updates the parent reference of the child. More...
 
mxICell Remove (int index)
 Removes the child at the specified index from the child array and returns the child that was removed. Will remove the parent reference of the child. More...
 
mxICell Remove (mxICell child)
 Removes the given child from the child array. Will remove the parent reference of the child. More...
 
void RemoveFromParent ()
 Removes the cell from its parent. More...
 
int EdgeCount ()
 Returns the number of edges in the edge array. More...
 
int GetEdgeIndex (mxICell edge)
 Returns the index of the specified edge in the edge array. More...
 
mxICell GetEdgeAt (int index)
 Returns the edge at the specified index in the edge array. More...
 
mxICell InsertEdge (mxICell edge, bool isOutgoing)
 Inserts the specified edge into the edge array and returns the edge. Will update the respective terminal reference of the edge. More...
 
mxICell RemoveEdge (mxICell edge, bool isOutgoing)
 Removes the specified edge from the edge array and returns the edge. Will remove the respective terminal reference from the edge. More...
 
void RemoveFromTerminal (bool isSource)
 Removes the edge from its source or target terminal. More...
 
String GetAttribute (String name)
 Returns the specified attribute from the user object if it is an XML More...
 
String GetAttribute (String name, String defaultValue)
 Returns the specified attribute from the user object if it is an XML More...
 
void SetAttribute (String name, String value)
 
Object Clone ()
 Returns a clone of this cell. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

string id
 Holds the Id. Default is null. More...
 
Object value
 Holds the user object. Default is null. More...
 
mxGeometry geometry
 Holds the geometry. Default is null. More...
 
string style
 Holds the geometry. Default is null. More...
 
bool vertex = false
 Specifies whether the cell is a vertex. Default value is false. More...
 
bool edge = false
 Specifies whether the cell is an edge. Default value is false. More...
 
bool connectable = true
 Specifies whether the cell connectable. Default value is true. More...
 
bool visible = true
 Specifies whether the cell is visible. Default value is true. More...
 
bool collapsed = false
 Specifies whether the cell is collapsed. Default value is false. More...
 
mxICell parent
 Reference to the parent cell. More...
 
mxICell source
 Reference to the source terminal of an edge. More...
 
mxICell target
 Reference to the target terminal of an edge. More...
 
List< mxICellchildren
 Holds the child cells. More...
 
List< mxICelledges
 Holds the connected edges. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Properties

+string Id [get, set]
 
+Object Value [get, set]
 
+mxGeometry Geometry [get, set]
 
+string Style [get, set]
 
+bool Vertex [get, set]
 
+bool Edge [get, set]
 
+bool Connectable [get, set]
 
+bool Visible [get, set]
 
+bool Collapsed [get, set]
 
+mxICell Parent [get, set]
 
mxICell Source [get, set]
 Sets or returns the source terminal of the cell. More...
 
mxICell Target [get, set]
 Sets or returns the target terminal of the cell. More...
 
- Properties inherited from com.mxgraph.mxICell
string Id [get, set]
 Sets or returns the Id of the cell. More...
 
Object Value [get, set]
 Sets or returns the user object of the cell. More...
 
mxGeometry Geometry [get, set]
 Sets or returns the geometry of the cell. More...
 
string Style [get, set]
 Sets or returns the string that describes the style. More...
 
bool Vertex [get]
 Returns true if the cell is a vertex. More...
 
bool Edge [get]
 Returns true if the cell is an edge. More...
 
bool Connectable [get]
 Returns true if the cell is connectable. More...
 
bool Visible [get, set]
 Sets or returns the visible state of the cell. More...
 
bool Collapsed [get, set]
 Sets or returns the collapsed state of the cell. More...
 
mxICell Parent [get, set]
 Sets or returns the parent of the cell. More...
 
+

Detailed Description

+

Cells are the elements of the graph model. They represent the state of the groups, vertices and edges in a graph.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + +
+ + + + + + + +
com.mxgraph.mxCell.mxCell ()
+
+inline
+
+ +

Constructs a new empty cell.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
com.mxgraph.mxCell.mxCell (Object value)
+
+inline
+
+ +

Constructs a new cell for the given value.

+
Parameters
+ + +
valueValue that represents the user object.
+
+
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
com.mxgraph.mxCell.mxCell (Object value,
mxGeometry geometry,
string style 
)
+
+inline
+
+ +

Constructs a new cell for the given value, geometry and style.

+
Parameters
+ + + + +
valueValue that represents the user object.
geometryGeometry of the cell to be created.
styleStyle of the cell to be created.
+
+
+ +
+
+

Member Function Documentation

+ +
+
+ + + + + +
+ + + + + + + +
int com.mxgraph.mxCell.ChildCount ()
+
+inline
+
+ +

Returns the number of child cells.

+
Returns
Returns the number of child cells.
+ +

Implements com.mxgraph.mxICell.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
Object com.mxgraph.mxCell.Clone ()
+
+inline
+
+ +

Returns a clone of this cell.

+
Returns
Returns a clone of this cell.
+ +

Implements com.mxgraph.mxICell.

+ +

References com.mxgraph.mxGeometry.Clone().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
int com.mxgraph.mxCell.EdgeCount ()
+
+inline
+
+ +

Returns the number of edges in the edge array.

+
Returns
Returns the number of edges.
+ +

Implements com.mxgraph.mxICell.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
String com.mxgraph.mxCell.GetAttribute (String name)
+
+inline
+
+ +

Returns the specified attribute from the user object if it is an XML

+

node.

+
Parameters
+ + +
nameName of the attribute whose value should be returned.
+
+
+
Returns
Returns the value of the given attribute or null.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
String com.mxgraph.mxCell.GetAttribute (String name,
String defaultValue 
)
+
+inline
+
+ +

Returns the specified attribute from the user object if it is an XML

+

node.

+
Parameters
+ + + +
nameName of the attribute whose value should be returned.
defaultValueDefault value to use if the attribute has no value.
+
+
+
Returns
Returns the value of the given attribute or defaultValue.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
mxICell com.mxgraph.mxCell.GetChildAt (int index)
+
+inline
+
+ +

Returns the child at the specified index.

+
Parameters
+ + +
indexInteger that specifies the child to be returned.
+
+
+
Returns
Returns the child at the specified index.
+ +

Implements com.mxgraph.mxICell.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
mxICell com.mxgraph.mxCell.GetEdgeAt (int index)
+
+inline
+
+ +

Returns the edge at the specified index in the edge array.

+
Parameters
+ + +
indexInteger that specifies the index of the edge to be returned.
+
+
+
Returns
Returns the edge at the specified index.
+ +

Implements com.mxgraph.mxICell.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
int com.mxgraph.mxCell.GetEdgeIndex (mxICell edge)
+
+inline
+
+ +

Returns the index of the specified edge in the edge array.

+
Parameters
+ + +
edgeCell whose index should be returned.
+
+
+
Returns
Returns the index of the given edge.
+ +

Implements com.mxgraph.mxICell.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
int com.mxgraph.mxCell.GetIndex (mxICell child)
+
+inline
+
+ +

Returns the index of the specified child in the child array.

+
Parameters
+ + +
childChild whose index should be returned.
+
+
+
Returns
Returns the index of the specified child.
+ +

Implements com.mxgraph.mxICell.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
mxICell com.mxgraph.mxCell.GetTerminal (bool source)
+
+inline
+
+ +

Returns the source or target terminal of the cell.

+
Parameters
+ + +
sourceBoolean that specifies if the source terminal should be returned.
+
+
+
Returns
Returns the source or target terminal.
+ +

Implements com.mxgraph.mxICell.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
mxICell com.mxgraph.mxCell.Insert (mxICell child)
+
+inline
+
+ +

Appends the specified child into the child array and updates the parent reference of the child.

+
Parameters
+ + +
childCell to be appended to the child array.
+
+
+
Returns
Returns the appended child.
+ +

Implements com.mxgraph.mxICell.

+ +

References com.mxgraph.mxICell.Parent.

+ +

Referenced by com.mxgraph.mxGraphModel.CreateRoot().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
mxICell com.mxgraph.mxCell.Insert (mxICell child,
int index 
)
+
+inline
+
+ +

Inserts the specified child into the child array at the specified index and updates the parent reference of the child.

+
Parameters
+ + + +
childCell to be inserted into the child array.
indexInteger that specifies the index at which the child should be inserted into the child array.
+
+
+
Returns
Returns the inserted child.
+ +

Implements com.mxgraph.mxICell.

+ +

References com.mxgraph.mxICell.Insert(), com.mxgraph.mxICell.Parent, and com.mxgraph.mxICell.RemoveFromParent().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
mxICell com.mxgraph.mxCell.InsertEdge (mxICell edge,
bool isOutgoing 
)
+
+inline
+
+ +

Inserts the specified edge into the edge array and returns the edge. Will update the respective terminal reference of the edge.

+
Parameters
+ + + +
edgeCell to be inserted into the edge array.
isOutgoingBoolean that specifies if the edge is outgoing.
+
+
+
Returns
Returns the inserted edge.
+ +

Implements com.mxgraph.mxICell.

+ +

References com.mxgraph.mxICell.GetTerminal(), com.mxgraph.mxICell.RemoveFromTerminal(), and com.mxgraph.mxICell.SetTerminal().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
mxICell com.mxgraph.mxCell.Remove (int index)
+
+inline
+
+ +

Removes the child at the specified index from the child array and returns the child that was removed. Will remove the parent reference of the child.

+
Parameters
+ + +
indexInteger that specifies the index of the child to be removed.
+
+
+
Returns
Returns the child that was removed.
+ +

Implements com.mxgraph.mxICell.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
mxICell com.mxgraph.mxCell.Remove (mxICell child)
+
+inline
+
+ +

Removes the given child from the child array. Will remove the parent reference of the child.

+
Parameters
+ + +
child
+
+
+
Returns
Returns the child that was removed.
+ +

Implements com.mxgraph.mxICell.

+ +

References com.mxgraph.mxICell.Parent, and com.mxgraph.mxICell.Remove().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
mxICell com.mxgraph.mxCell.RemoveEdge (mxICell edge,
bool isOutgoing 
)
+
+inline
+
+ +

Removes the specified edge from the edge array and returns the edge. Will remove the respective terminal reference from the edge.

+
Parameters
+ + + +
edgeCell to be removed from the edge array.
isOutgoingBoolean that specifies if the edge is outgoing.
+
+
+
Returns
Returns the edge that was removed.
+ +

Implements com.mxgraph.mxICell.

+ +

References com.mxgraph.mxICell.GetTerminal(), com.mxgraph.mxICell.Remove(), and com.mxgraph.mxICell.SetTerminal().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
void com.mxgraph.mxCell.RemoveFromParent ()
+
+inline
+
+ +

Removes the cell from its parent.

+ +

Implements com.mxgraph.mxICell.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
void com.mxgraph.mxCell.RemoveFromTerminal (bool isSource)
+
+inline
+
+ +

Removes the edge from its source or target terminal.

+
Parameters
+ + +
isSourceBoolean that specifies if the edge should be removed from its source or target terminal.
+
+
+ +

Implements com.mxgraph.mxICell.

+ +

References com.mxgraph.mxICell.RemoveEdge().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxCell.SetAttribute (String name,
String value 
)
+
+inline
+
+ +

+

Sets the specified attribute on the user object if it is an XML node.

+
Parameters
+ + + +
nameName of the attribute whose value should be set.
valueNew value of the attribute.
+
+
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
mxICell com.mxgraph.mxCell.SetTerminal (mxICell terminal,
bool source 
)
+
+inline
+
+ +

Sets the source or target terminal.

+
Parameters
+ + + +
terminalCell that represents the new source or target terminal.
sourceBoolean that specifies if the source or target terminal should be set.
+
+
+
Returns
Returns the new terminal.
+ +

Implements com.mxgraph.mxICell.

+ +
+
+

Member Data Documentation

+ +
+
+ + + + + +
+ + + + +
List<mxICell> com.mxgraph.mxCell.children
+
+protected
+
+ +

Holds the child cells.

+ +
+
+ +
+
+ + + + + +
+ + + + +
bool com.mxgraph.mxCell.collapsed = false
+
+protected
+
+ +

Specifies whether the cell is collapsed. Default value is false.

+ +
+
+ +
+
+ + + + + +
+ + + + +
bool com.mxgraph.mxCell.connectable = true
+
+protected
+
+ +

Specifies whether the cell connectable. Default value is true.

+ +
+
+ +
+
+ + + + + +
+ + + + +
bool com.mxgraph.mxCell.edge = false
+
+protected
+
+ +

Specifies whether the cell is an edge. Default value is false.

+ +
+
+ +
+
+ + + + + +
+ + + + +
List<mxICell> com.mxgraph.mxCell.edges
+
+protected
+
+ +

Holds the connected edges.

+ +
+
+ +
+
+ + + + + +
+ + + + +
mxGeometry com.mxgraph.mxCell.geometry
+
+protected
+
+ +

Holds the geometry. Default is null.

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxCell.id
+
+protected
+
+ +

Holds the Id. Default is null.

+ +
+
+ +
+
+ + + + + +
+ + + + +
mxICell com.mxgraph.mxCell.parent
+
+protected
+
+ +

Reference to the parent cell.

+ +
+
+ +
+
+ + + + + +
+ + + + +
mxICell com.mxgraph.mxCell.source
+
+protected
+
+ +

Reference to the source terminal of an edge.

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxCell.style
+
+protected
+
+ +

Holds the geometry. Default is null.

+ +
+
+ +
+
+ + + + + +
+ + + + +
mxICell com.mxgraph.mxCell.target
+
+protected
+
+ +

Reference to the target terminal of an edge.

+ +
+
+ +
+
+ + + + + +
+ + + + +
Object com.mxgraph.mxCell.value
+
+protected
+
+ +

Holds the user object. Default is null.

+ +
+
+ +
+
+ + + + + +
+ + + + +
bool com.mxgraph.mxCell.vertex = false
+
+protected
+
+ +

Specifies whether the cell is a vertex. Default value is false.

+ +
+
+ +
+
+ + + + + +
+ + + + +
bool com.mxgraph.mxCell.visible = true
+
+protected
+
+ +

Specifies whether the cell is visible. Default value is true.

+ +
+
+

Property Documentation

+ +
+
+ + + + + +
+ + + + +
mxICell com.mxgraph.mxCell.Source
+
+getset
+
+ +

Sets or returns the source terminal of the cell.

+ +
+
+ +
+
+ + + + + +
+ + + + +
mxICell com.mxgraph.mxCell.Target
+
+getset
+
+ +

Sets or returns the target terminal of the cell.

+ +
+
+
The documentation for this class was generated from the following file:
    +
  • src/model/mxCell.cs
  • +
+
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCell.png b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCell.png new file mode 100644 index 0000000000000000000000000000000000000000..874780861e08f7c683fd9c92504d020f4e4eb603 GIT binary patch literal 543 zcmeAS@N?(olHy`uVBq!ia0vp^%|IN$!3+|4X?7JzNd)+Wxc>kDAIN<1=4)yHp$R}1 z7#}!rfVK0EJdn##666=m08|75S5Ji)F)%Q$^K@|xsbG9NH@ok(0Y_{9#wmaGf4bE% z9o(6DYf9D;6ZaElH|{5V$bT|t^X3Vi9WkOj2R}$SD=8U;hF$unzU^#R#24SP{+E~U&NNKAk!Squz=37A4ZkiCy3F=jJMYlknXWyjPBuAOpV?U#bN=Ot zwJPGjSIl@Wku`VkF@vOc1{->p`boUmy(5HQjCr;GS%sHpW<*{(z57CKB7^L&MLVb8 zH#DA=xQGArJ_V&+dS8Xs$g?Re`u~!R`8}t8TV3`#9v7GSAqFhXNhd7R;~5WB-(olr zX@6it?mqz_sl3Da50mp3R|AHGcmoz^1BM2mQWWZsX4{mYA~7L`9a<7i4=vj^@AYCX zIB)n%$~kh@YwosVk-jtEd)Hq0o+%r{cXjupONc + + + + + +mxGraph: Member List + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+
+
com.mxgraph.mxCellCodec Member List
+
+
+ +

This is the complete list of members for com.mxgraph.mxCellCodec, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AddObjectValue(Object obj, String fieldname, Object value, Object template)com.mxgraph.mxObjectCodecinlineprotected
AfterDecode(mxCodec dec, XmlNode node, Object obj)com.mxgraph.mxObjectCodecinlinevirtual
AfterEncode(mxCodec enc, Object obj, XmlNode node)com.mxgraph.mxObjectCodecinlinevirtual
BeforeDecode(mxCodec dec, XmlNode node, Object obj)com.mxgraph.mxObjectCodecinlinevirtual
BeforeEncode(mxCodec enc, Object obj, XmlNode node)com.mxgraph.mxObjectCodecinlinevirtual
CloneTemplate(XmlNode node)com.mxgraph.mxObjectCodecinlineprotectedvirtual
ConvertValueFromXml(Type type, Object value)com.mxgraph.mxObjectCodecinlineprotectedvirtual
ConvertValueToXml(Object value)com.mxgraph.mxObjectCodecinlineprotectedvirtual
Decode(mxCodec dec, XmlNode node)com.mxgraph.mxObjectCodecinlinevirtual
Decode(mxCodec dec, XmlNode node, Object into)com.mxgraph.mxObjectCodecinlinevirtual
DecodeAttribute(mxCodec dec, XmlNode attr, Object obj)com.mxgraph.mxObjectCodecinlineprotected
DecodeAttributes(mxCodec dec, XmlNode node, Object obj)com.mxgraph.mxObjectCodecinlineprotected
DecodeChild(mxCodec dec, XmlNode child, Object obj)com.mxgraph.mxObjectCodecinlineprotected
DecodeChildren(mxCodec dec, XmlNode node, Object obj)com.mxgraph.mxObjectCodecinlineprotected
DecodeNode(mxCodec dec, XmlNode node, Object obj)com.mxgraph.mxObjectCodecinlineprotected
Encode(mxCodec enc, Object obj)com.mxgraph.mxObjectCodecinlinevirtual
EncodeElements(mxCodec enc, Object obj, XmlNode node)com.mxgraph.mxObjectCodecinlineprotected
EncodeFields(mxCodec enc, Object obj, XmlNode node)com.mxgraph.mxObjectCodecinlineprotected
EncodeObject(mxCodec enc, Object obj, XmlNode node)com.mxgraph.mxObjectCodecinlineprotectedvirtual
EncodeValue(mxCodec enc, Object obj, string fieldname, Object value, XmlNode node)com.mxgraph.mxObjectCodecinlineprotected
excludecom.mxgraph.mxObjectCodecprotected
GetAttributeName(string fieldname)com.mxgraph.mxObjectCodecinlineprotected
GetFieldName(string attributename)com.mxgraph.mxObjectCodecinlineprotected
GetFieldTemplate(Object obj, String fieldname, XmlNode child)com.mxgraph.mxObjectCodecinlineprotected
GetFieldValue(Object obj, string name)com.mxgraph.mxObjectCodecinlineprotected
GetName()com.mxgraph.mxObjectCodecinline
idrefscom.mxgraph.mxObjectCodecprotected
IsExcluded(Object obj, string attr, Object value, bool write)com.mxgraph.mxObjectCodecinlinevirtual
IsPrimitiveValue(Object value)com.mxgraph.mxObjectCodecinlineprotected
IsReference(Object obj, string attr, Object value, bool write)com.mxgraph.mxObjectCodecinlinevirtual
mappingcom.mxgraph.mxObjectCodecprotected
mxCellCodec()com.mxgraph.mxCellCodecinline
mxObjectCodec(Object template)com.mxgraph.mxObjectCodecinline
mxObjectCodec(Object template, string[] exclude, string[] idrefs, Dictionary< string, string > mapping)com.mxgraph.mxObjectCodecinline
ProcessInclude(mxCodec dec, XmlNode node, Object into)com.mxgraph.mxObjectCodecinline
reversecom.mxgraph.mxObjectCodecprotected
SetFieldValue(Object obj, string name, Object value)com.mxgraph.mxObjectCodecinlineprotected
Templatecom.mxgraph.mxObjectCodec
templatecom.mxgraph.mxObjectCodecprotected
WriteAttribute(mxCodec enc, Object obj, string attr, Object value, XmlNode node)com.mxgraph.mxObjectCodecinlineprotected
WriteComplexAttribute(mxCodec enc, Object obj, string attr, Object value, XmlNode node)com.mxgraph.mxObjectCodecinlineprotected
WritePrimitiveAttribute(mxCodec enc, Object obj, string attr, Object value, XmlNode node)com.mxgraph.mxObjectCodecinlineprotected
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellCodec.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellCodec.html new file mode 100644 index 000000000..cfc22f8c6 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellCodec.html @@ -0,0 +1,244 @@ + + + + + + +mxGraph: com.mxgraph.mxCellCodec Class Reference + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+ +
+
com.mxgraph.mxCellCodec Class Reference
+
+
+ +

Codec for mxCells. This class is created and registered dynamically at load time and used implicitely via mxCodec and the mxCodecRegistry. + More...

+
+Inheritance diagram for com.mxgraph.mxCellCodec:
+
+
+ + +com.mxgraph.mxObjectCodec + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 mxCellCodec ()
 Constructs a new cell codec. More...
 
- Public Member Functions inherited from com.mxgraph.mxObjectCodec
 mxObjectCodec (Object template)
 Constructs a new codec for the specified template object. More...
 
 mxObjectCodec (Object template, string[] exclude, string[] idrefs, Dictionary< string, string > mapping)
 Constructs a new codec for the specified template object. The variables in the optional exclude array are ignored by the codec. Variables in the optional idrefs array are turned into references in the XML. The optional mapping may be used to map from variable names to XML attributes. More...
 
string GetName ()
 Returns the name used for the nodenames and lookup of the codec when classes are encoded and nodes are decoded. For classes to work with this the codec registry automatically adds an alias for the classname if that is different than what this returns. The default implementation returns the classname of the template class. More...
 
virtual bool IsExcluded (Object obj, string attr, Object value, bool write)
 Returns true if the given attribute is to be ignored by the codec. This implementation returns true if the given fieldname is in exclude. More...
 
virtual bool IsReference (Object obj, string attr, Object value, bool write)
 Returns true if the given fieldname is to be treated as a textual reference (ID). This implementation returns true if the given fieldname is in idrefs. More...
 
virtual XmlNode Encode (mxCodec enc, Object obj)
 Encodes the specified object and returns a node representing then given object. Calls beforeEncode after creating the node and afterEncode with the resulting node after processing. Enc is a reference to the calling encoder. It is used to encode complex objects and create references. More...
 
virtual Object BeforeEncode (mxCodec enc, Object obj, XmlNode node)
 Hook for subclassers to pre-process the object before encoding. This returns the input object. The return value of this function is used in encode to perform the default encoding into the given node. More...
 
virtual XmlNode AfterEncode (mxCodec enc, Object obj, XmlNode node)
 Hook for subclassers to Receive-process the node for the given object after encoding and return the Receive-processed node. This implementation returns the input node. The return value of this method is returned to the encoder from encode. More...
 
virtual Object Decode (mxCodec dec, XmlNode node)
 Parses the given node into the object or returns a new object representing the given node. More...
 
virtual Object Decode (mxCodec dec, XmlNode node, Object into)
 Parses the given node into the object or returns a new object representing the given node. Dec is a reference to the calling decoder. It is used to decode complex objects and resolve references. If a node has an id attribute then the object cache is checked for the object. If the object is not yet in the cache then it is constructed using the constructor of template and cached in mxCodec.objects. This implementation decodes all attributes and childs of a node according to the following rules: More...
 
bool ProcessInclude (mxCodec dec, XmlNode node, Object into)
 
virtual XmlNode BeforeDecode (mxCodec dec, XmlNode node, Object obj)
 Hook for subclassers to pre-process the node for the specified object and return the node to be used for further processing by decode. The object is created based on the template in the calling method and is never null. This implementation returns the input node. The return value of this function is used in decode to perform the default decoding into the given object. More...
 
virtual Object AfterDecode (mxCodec dec, XmlNode node, Object obj)
 Hook for subclassers to Receive-process the object after decoding. This implementation returns the given object without any changes. The return value of this method is returned to the decoder from decode. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Protected Member Functions inherited from com.mxgraph.mxObjectCodec
virtual Object CloneTemplate (XmlNode node)
 Returns a new instance of the template object for representing the given node. More...
 
virtual void EncodeObject (mxCodec enc, Object obj, XmlNode node)
 Encodes the value of each member in then given obj into the given node using encodeFields and encodeElements. More...
 
void EncodeFields (mxCodec enc, Object obj, XmlNode node)
 Encodes the members of the given object into the given node. More...
 
void EncodeElements (mxCodec enc, Object obj, XmlNode node)
 Encodes the child objects of arrays, dictionaries and enumerables. More...
 
void EncodeValue (mxCodec enc, Object obj, string fieldname, Object value, XmlNode 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. More...
 
bool IsPrimitiveValue (Object value)
 Returns true if the given object is a primitive value. More...
 
+void WriteAttribute (mxCodec enc, Object obj, string attr, Object value, XmlNode node)
 Writes the given value into node using writePrimitiveAttribute or writeComplexAttribute depending on the type of the value.
 
void WritePrimitiveAttribute (mxCodec enc, Object obj, string attr, Object value, XmlNode node)
 Writes the given value as an attribute of the given node. More...
 
void WriteComplexAttribute (mxCodec enc, Object obj, string attr, Object value, XmlNode node)
 Writes the given value as a child node of the given node. More...
 
virtual Object ConvertValueToXml (Object value)
 Converts true to "1" and false to "0". All other values are ignored. More...
 
virtual Object ConvertValueFromXml (Type type, Object value)
 Converts XML attribute values to object of the given type. More...
 
string GetAttributeName (string fieldname)
 Returns the XML node attribute name for the given C# field name. That is, it returns the mapping of the field name. More...
 
string GetFieldName (string attributename)
 Returns the C# field name for the given XML attribute name. That is, it returns the reverse mapping of the attribute name. More...
 
Object GetFieldValue (Object obj, string name)
 Returns the value of the field with the specified name in the specified object instance. More...
 
void SetFieldValue (Object obj, string name, Object value)
 Sets the value of the field with the specified name in the specified object instance. More...
 
void DecodeNode (mxCodec dec, XmlNode node, Object obj)
 Calls decodeAttributes and decodeChildren for the given node. More...
 
void DecodeAttributes (mxCodec dec, XmlNode node, Object obj)
 Decodes all attributes of the given node using decodeAttribute. More...
 
void DecodeAttribute (mxCodec dec, XmlNode attr, Object obj)
 Reads the given attribute into the specified object. More...
 
void DecodeChildren (mxCodec dec, XmlNode node, Object obj)
 Reads the given attribute into the specified object. More...
 
void DecodeChild (mxCodec dec, XmlNode child, Object obj)
 Reads the specified child into the given object. More...
 
Object GetFieldTemplate (Object obj, String fieldname, XmlNode child)
 Returns the template instance for the given field. This returns the value of the field, null if the value is an array or an empty collection if the value is a collection. The value is then used to populate the field for a new instance. For strongly typed languages it may be required to override this to return the correct collection instance based on the encoded child. More...
 
void AddObjectValue (Object obj, String fieldname, Object value, Object template)
 Sets the decoded child node as a value of the given object. If the object is a map, then the value is added with the given fieldname as a key. If the fieldname is not empty, then setFieldValue is called or else, if the object is a collection, the value is added to the collection. For strongly typed languages it may be required to override this with the correct code to add an entry to an object. More...
 
- Protected Attributes inherited from com.mxgraph.mxObjectCodec
Object template
 Holds the template object associated with this codec. More...
 
List< string > exclude
 Array containing the variable names that should be ignored by the codec. More...
 
List< string > idrefs
 Array containing the variable names that should be turned into or converted from references. See mxCodec.getId and mxCodec.getObject. More...
 
Dictionary< string, string > mapping
 Maps from from fieldnames to XML attribute names. More...
 
Dictionary< string, string > reverse
 Maps from from XML attribute names to fieldnames. More...
 
- Properties inherited from com.mxgraph.mxObjectCodec
Object Template [get]
 Returns the template object associated with this codec. More...
 
+

Detailed Description

+

Codec for mxCells. This class is created and registered dynamically at load time and used implicitely via mxCodec and the mxCodecRegistry.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + +
+ + + + + + + +
com.mxgraph.mxCellCodec.mxCellCodec ()
+
+inline
+
+ +

Constructs a new cell codec.

+ +
+
+
The documentation for this class was generated from the following file:
    +
  • src/io/mxCellCodec.cs
  • +
+
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellCodec.png b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellCodec.png new file mode 100644 index 0000000000000000000000000000000000000000..c11c97703b616c6e867423d9d65a50d96c9c9d51 GIT binary patch literal 711 zcmeAS@N?(olHy`uVBq!ia0vp^TYxx#gBeJ+A6q{KNJ#|vgt-3y{~ySF@#br3|Dg#$ z78oBmaDcV*jy#adQ4-`A%m7pb0#{Fk7%?y~g?YL-hEy=VoqKUovjUGRf8nzK|4-gt z<*Apc(xtIm!$8n*wZEZ?jr z9)5ZDl(-AhALga+4wJs;@Z9T+bJfmb2fLG&^ZOp1EHjlbT)J=e*0_&f*E8gWTgCJ4 zO*?gXjETq-lYVfeJ~YK&>lg{)PdOD}BQAEkBO&Gtl4i1K>DWW#OUGgx!h z)$#AGv6}BV{YLVOQ{|GoR!z9ZxMkwX+12qce@(tqyeqWMm z_tkIv-NQSY*Hy3i_VfDneO-aIx8BJ8yuD89=V#l$SXG7*72Wz z?Yzs!IpPifmr08YehhHv?x@gM;Ob)YrDfi-Oer4*^OuYUv)o$hY}l5_3H~~1BlmT} zg^RWfH6j-nfC0k5&uY@p&LnlfnUVLw!Unbv0S?SS{fsuK(gE&Xn!Rd52O?lP-Zj{r zvZ()k%X0qJ&F_mUob@|&ON^^!tM)!mov}X6+3uwGnzuzW&w&DvtGx6T>y<~|X}v`( zu|cWp&TgDLCE0WB+pG=Aw^GZ}LND!mC-%kfQqiQ+ z@vQmvwQpC?SgZW{&)YXo-!T@%g_p53$iFPk_`H$v&U$^VTwAk--=)XR_zG6T{C&M{ eLXcPTOa8AFs>fzuy&MWmbqt=aelF{r5}E)lFheo` literal 0 HcmV?d00001 diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellPath-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellPath-members.html new file mode 100644 index 000000000..16a141cd4 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellPath-members.html @@ -0,0 +1,68 @@ + + + + + + +mxGraph: Member List + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+
+
com.mxgraph.mxCellPath Member List
+
+
+ +

This is the complete list of members for com.mxgraph.mxCellPath, including all inherited members.

+ + + + + +
Create(mxICell cell)com.mxgraph.mxCellPathinlinestatic
GetParentPath(string path)com.mxgraph.mxCellPathinlinestatic
PATH_SEPARATORcom.mxgraph.mxCellPathstatic
Resolve(mxICell root, string path)com.mxgraph.mxCellPathinlinestatic
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellPath.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellPath.html new file mode 100644 index 000000000..43d51489a --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellPath.html @@ -0,0 +1,237 @@ + + + + + + +mxGraph: com.mxgraph.mxCellPath Class Reference + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+ +
+
com.mxgraph.mxCellPath Class Reference
+
+
+ +

Implements a mechanism for temporary cell Ids. + More...

+ + + + + + + + + + + +

+Static Public Member Functions

static string Create (mxICell cell)
 Creates the cell path for the given cell. The cell path is a concatenation of the indices of all cells on the (finite) path to the root, eg. "0.0.0.1". More...
 
static string GetParentPath (string path)
 Returns the path for the parent of the cell represented by the given path. Returns null if the given path has no parent. More...
 
static mxICell Resolve (mxICell root, string path)
 Returns the cell for the specified cell path using the given root as the root of the path. More...
 
+ + + + +

+Static Public Attributes

static char PATH_SEPARATOR = '.'
 Defines the separator between the path components. Default is ".". More...
 
+

Detailed Description

+

Implements a mechanism for temporary cell Ids.

+

Member Function Documentation

+ +
+
+ + + + + +
+ + + + + + + + +
static string com.mxgraph.mxCellPath.Create (mxICell cell)
+
+inlinestatic
+
+ +

Creates the cell path for the given cell. The cell path is a concatenation of the indices of all cells on the (finite) path to the root, eg. "0.0.0.1".

+
Parameters
+ + +
cellCell whose path should be returned.
+
+
+
Returns
Returns the string that represents the path.
+ +

References com.mxgraph.mxICell.GetIndex(), com.mxgraph.mxICell.Parent, and com.mxgraph.mxCellPath.PATH_SEPARATOR.

+ +

Referenced by com.mxgraph.mxCodec.GetId(), and com.mxgraph.mxGraphModel.GetNearestCommonAncestor().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
static string com.mxgraph.mxCellPath.GetParentPath (string path)
+
+inlinestatic
+
+ +

Returns the path for the parent of the cell represented by the given path. Returns null if the given path has no parent.

+
Parameters
+ + +
pathPath whose parent path should be returned.
+
+
+ +

References com.mxgraph.mxCellPath.PATH_SEPARATOR.

+ +

Referenced by com.mxgraph.mxGraphModel.GetNearestCommonAncestor().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
static mxICell com.mxgraph.mxCellPath.Resolve (mxICell root,
string path 
)
+
+inlinestatic
+
+ +

Returns the cell for the specified cell path using the given root as the root of the path.

+
Parameters
+ + + +
rootRoot cell of the path to be resolved.
pathString that defines the path.
+
+
+
Returns
Returns the cell that is defined by the path.
+ +

References com.mxgraph.mxICell.GetChildAt().

+ +
+
+

Member Data Documentation

+ +
+
+ + + + + +
+ + + + +
char com.mxgraph.mxCellPath.PATH_SEPARATOR = '.'
+
+static
+
+ +

Defines the separator between the path components. Default is ".".

+ +

Referenced by com.mxgraph.mxCellPath.Create(), com.mxgraph.mxGraphModel.GetNearestCommonAncestor(), and com.mxgraph.mxCellPath.GetParentPath().

+ +
+
+
The documentation for this class was generated from the following file:
    +
  • src/model/mxCellPath.cs
  • +
+
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer-members.html new file mode 100644 index 000000000..e030f15e2 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer-members.html @@ -0,0 +1,67 @@ + + + + + + +mxGraph: Member List + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+
+
com.mxgraph.mxCellRenderer Member List
+
+
+ +

This is the complete list of members for com.mxgraph.mxCellRenderer, including all inherited members.

+ + + + +
CreateImage(mxGraph graph, Object[] cells, double scale, Color?background, bool antiAlias, mxRectangle clip)com.mxgraph.mxCellRendererinlinestatic
CreateImage(mxGraph graph, Object[] cells, double scale, Color?background, bool antiAlias, mxRectangle clip, mxGdiCanvas graphicsCanvas)com.mxgraph.mxCellRendererinlinestatic
DrawCells(mxGraph graph, Object[] cells, double scale, mxRectangle clip, CanvasFactory factory)com.mxgraph.mxCellRendererinlinestatic
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer.html new file mode 100644 index 000000000..74ac0f2de --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer.html @@ -0,0 +1,280 @@ + + + + + + +mxGraph: com.mxgraph.mxCellRenderer Class Reference + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+ +
+
com.mxgraph.mxCellRenderer Class Reference
+
+
+ +

Class that can draw an independent array of cells. + More...

+ + + + + + + + +

+Classes

class  CanvasFactory
 Defines the requirements for a class that can create canvases. More...
 
class  ImageCanvasFactory
 FIXME: Use anonymous class in CreateImage with invocation parameters in factory method code. More...
 
+ + + + + + + + + + +

+Static Public Member Functions

static mxICanvas DrawCells (mxGraph graph, Object[] cells, double scale, mxRectangle clip, CanvasFactory factory)
 Draws the given cells using a Graphics2D canvas and returns the buffered image that represents the cells. More...
 
static Image CreateImage (mxGraph graph, Object[] cells, double scale, Color?background, bool antiAlias, mxRectangle clip)
 Creates an image for the given arguments. More...
 
static Image CreateImage (mxGraph graph, Object[] cells, double scale, Color?background, bool antiAlias, mxRectangle clip, mxGdiCanvas graphicsCanvas)
 Creates an image for the given arguments. More...
 
+

Detailed Description

+

Class that can draw an independent array of cells.

+

Member Function Documentation

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
static Image com.mxgraph.mxCellRenderer.CreateImage (mxGraph graph,
Object[] cells,
double scale,
Color? background,
bool antiAlias,
mxRectangle clip 
)
+
+inlinestatic
+
+ +

Creates an image for the given arguments.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
static Image com.mxgraph.mxCellRenderer.CreateImage (mxGraph graph,
Object[] cells,
double scale,
Color? background,
bool antiAlias,
mxRectangle clip,
mxGdiCanvas graphicsCanvas 
)
+
+inlinestatic
+
+ +

Creates an image for the given arguments.

+ +

References com.mxgraph.mxImageCanvas.Destroy().

+ +
+
+ + +
The documentation for this class was generated from the following file:
    +
  • src/utils/mxCellRenderer.cs
  • +
+
+ + + + 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 new file mode 100644 index 000000000..0d7e440e4 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer_1_1CanvasFactory-members.html @@ -0,0 +1,65 @@ + + + + + + +mxGraph: Member List + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+
+
com.mxgraph.mxCellRenderer.CanvasFactory Member List
+
+
+ +

This is the complete list of members for com.mxgraph.mxCellRenderer.CanvasFactory, including all inherited members.

+ + +
CreateCanvas(int width, int height)com.mxgraph.mxCellRenderer.CanvasFactorypure virtual
+ + + + 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 new file mode 100644 index 000000000..1f4e75b4c --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer_1_1CanvasFactory.html @@ -0,0 +1,129 @@ + + + + + + +mxGraph: com.mxgraph.mxCellRenderer.CanvasFactory Class Reference + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+ +
+
com.mxgraph.mxCellRenderer.CanvasFactory Class Referenceabstract
+
+
+ +

Defines the requirements for a class that can create canvases. + More...

+
+Inheritance diagram for com.mxgraph.mxCellRenderer.CanvasFactory:
+
+
+ + +com.mxgraph.mxCellRenderer.ImageCanvasFactory + +
+ + + + + +

+Public Member Functions

abstract mxICanvas CreateCanvas (int width, int height)
 Returns a new canvas for the given dimension. More...
 
+

Detailed Description

+

Defines the requirements for a class that can create canvases.

+

Member Function Documentation

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
abstract mxICanvas com.mxgraph.mxCellRenderer.CanvasFactory.CreateCanvas (int width,
int height 
)
+
+pure virtual
+
+ +

Returns a new canvas for the given dimension.

+ +

Implemented in com.mxgraph.mxCellRenderer.ImageCanvasFactory.

+ +

Referenced by com.mxgraph.mxCellRenderer.DrawCells().

+ +
+
+
The documentation for this class was generated from the following file:
    +
  • src/utils/mxCellRenderer.cs
  • +
+
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer_1_1CanvasFactory.png b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer_1_1CanvasFactory.png new file mode 100644 index 0000000000000000000000000000000000000000..2d0a2b2f0d37ce34fd64f8e139a18f225e23c156 GIT binary patch literal 1140 zcmeAS@N?(olHy`uVBq!ia0y~yU^E1>12~w0q+7}+K_Dd&;1lBd|Nnm=^TnI5rTvE{ z09jys;J^Xa&O7ozE=Ng_UoZnu5eQs86=KA|z{2e5;uuoF_;&8ive#xjuIByMKK-vR zs?F_WvCwFGY?7xhB%6Kch_7JH(kVefOQ#eCiZqBEP*pW-=$Ito;Nr=nut3AEJ-Qt-tkq?u|Dw{&IWu>$vy=aqN(A7|U2pK(rL!|_QG z(#IK>&bl_c%;xo`XU|N&zr1`y^Fv_Fi-)%arEUJ6^!@!KuY>=>>nS%%T=be}du~6J zBUn7&^UvO+Jc|pJXDxqI{mA71#p8RPTG=_QFBh)9Cae%9d&k6ok;R;6RS{G3zARhe z`Aj(J^to@kNp~&6J?+0+*CdB*xv6K~vXtJvCqw&SMT9l_5! z?(-L>>dKw_btC8L8QZsUMSJ`Adab#yt$tYg+o`*MKHArno_ijl`Mf$c_ITdC^S|Zk%Me_px{D+h6~k z-mLj&zSgT@KP;RBg_t`uIvHI`)Wf_qR|a|QRBPzJ!mGeq5D1Kj1-Er4GRA}pF>}1& z(*d%=fQmIM8C|9vVNmi)Vh}`&GniSFNq^aSWLxfSyTI+ax3~F=%vM>d@^aFo87i(* zj;LrZQc?2++UnW$V(pPG72S|`_2)jFe<&Z<^X2Pn!}%(@Uo?^oVt@Zbq>$T3t}RsE zscemAH&Ta(?;d40xuyKM{S zu4KJXH*aQ7qUyC{g$^qpuQ7jHv1}`967h*%YF5GfGs@|G(*Ev`cLN;!bF7ra5BN@r zPBc4yCtaxiy@K<`bq`Wc?K|}D%GQR=MtAwo(_S;(b9ggT&tZ+#j>tJKg%)SOI-IfI zZoQj%%PilklP~#o$d)Ohru61}`O5J(R>W#h4m z`+mgjUi+8Q(yJ#eF+bT-R~YJbDSj0!Dl|GhgIqj)CMoR_zP&Bi8yIV`m+iF{*!_ur TzWxQUh+yz^^>bP0l+XkKO3)$g literal 0 HcmV?d00001 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 new file mode 100644 index 000000000..a14ffdd37 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer_1_1ImageCanvasFactory-members.html @@ -0,0 +1,69 @@ + + + + + + +mxGraph: Member List + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+
+
com.mxgraph.mxCellRenderer.ImageCanvasFactory Member List
+
+
+ +

This is the complete list of members for com.mxgraph.mxCellRenderer.ImageCanvasFactory, including all inherited members.

+ + + + + + +
antiAliascom.mxgraph.mxCellRenderer.ImageCanvasFactoryprotected
backgroundcom.mxgraph.mxCellRenderer.ImageCanvasFactoryprotected
CreateCanvas(int width, int height)com.mxgraph.mxCellRenderer.ImageCanvasFactoryinlinevirtual
graphicsCanvascom.mxgraph.mxCellRenderer.ImageCanvasFactoryprotected
ImageCanvasFactory(mxGdiCanvas graphicsCanvas, Color?background, bool antiAlias)com.mxgraph.mxCellRenderer.ImageCanvasFactoryinline
+ + + + 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 new file mode 100644 index 000000000..f2be4b27f --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer_1_1ImageCanvasFactory.html @@ -0,0 +1,261 @@ + + + + + + +mxGraph: com.mxgraph.mxCellRenderer.ImageCanvasFactory Class Reference + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+ +
+
com.mxgraph.mxCellRenderer.ImageCanvasFactory Class Reference
+
+
+ +

FIXME: Use anonymous class in CreateImage with invocation parameters in factory method code. + More...

+
+Inheritance diagram for com.mxgraph.mxCellRenderer.ImageCanvasFactory:
+
+
+ + +com.mxgraph.mxCellRenderer.CanvasFactory + +
+ + + + + + + + +

+Public Member Functions

 ImageCanvasFactory (mxGdiCanvas graphicsCanvas, Color?background, bool antiAlias)
 Constructs a new image canvas factors. More...
 
override mxICanvas CreateCanvas (int width, int height)
 Returns a new canvas for the given dimension. More...
 
+ + + + + + + + + + +

+Protected Attributes

mxGdiCanvas graphicsCanvas
 Holds the graphics canvas to be used for painting. More...
 
Color background
 Specifies the background color. More...
 
bool antiAlias
 Specifies if antialiasing should be enabled. More...
 
+

Detailed Description

+

FIXME: Use anonymous class in CreateImage with invocation parameters in factory method code.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
com.mxgraph.mxCellRenderer.ImageCanvasFactory.ImageCanvasFactory (mxGdiCanvas graphicsCanvas,
Color? background,
bool antiAlias 
)
+
+inline
+
+ +

Constructs a new image canvas factors.

+
Parameters
+ + + + +
graphicsCanvasSpecifies the graphics canvas for painting.
backgroundSpecifies the background color of the image.
antiAliasSpecifies if antialiasing should be enabled.
+
+
+ +
+
+

Member Function Documentation

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
override mxICanvas com.mxgraph.mxCellRenderer.ImageCanvasFactory.CreateCanvas (int width,
int height 
)
+
+inlinevirtual
+
+ +

Returns a new canvas for the given dimension.

+ +

Implements com.mxgraph.mxCellRenderer.CanvasFactory.

+ +
+
+

Member Data Documentation

+ +
+
+ + + + + +
+ + + + +
bool com.mxgraph.mxCellRenderer.ImageCanvasFactory.antiAlias
+
+protected
+
+ +

Specifies if antialiasing should be enabled.

+ +
+
+ +
+
+ + + + + +
+ + + + +
Color com.mxgraph.mxCellRenderer.ImageCanvasFactory.background
+
+protected
+
+ +

Specifies the background color.

+ +
+
+ +
+
+ + + + + +
+ + + + +
mxGdiCanvas com.mxgraph.mxCellRenderer.ImageCanvasFactory.graphicsCanvas
+
+protected
+
+ +

Holds the graphics canvas to be used for painting.

+ +
+
+
The documentation for this class was generated from the following file:
    +
  • src/utils/mxCellRenderer.cs
  • +
+
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer_1_1ImageCanvasFactory.png b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer_1_1ImageCanvasFactory.png new file mode 100644 index 0000000000000000000000000000000000000000..d5aa40c65d9c6469dadf63d124dc151b6c5ca04b GIT binary patch literal 1141 zcmeAS@N?(olHy`uVBq!ia0y~yU^E1>12~w0q+7}+K_Dd&;1lBd|Nnm=^TnI5rTvE{ z09jys;J^Xa&O7ozE=Ng_UoZnu5eQs86=KA|z{29`;uuoF_;&8=vd20+uI9(Hzy6i4 zH0tCPnl7^RrTN_aD@94ti@Bwh{}ss`pJ>(h_=ZTk%2Jg~Z%>~|N?u8mL;{5-FX@;x zL&f#W+9O>mx*>V>c~9Oyvo^Q&z2kYw>AS??3%0lIz25v=wb#B=x7Tj=#als>vh~-U z;M-WNDmOhyJwWwDjSAps@~ideLU?* zj^ewH%4v(w25b_WyV=U@wq>z*^|UwFH->k9O@EqFbvUw;Z~y=P__>>RmYw>%dDFY( z^005;(;i>_@$K$SOH1wB5A)8ST4>~zmFw#>Y1>uSh~tx&?03BHl~c6g&(|aKd>+W& zkFZ|%U;oIwr~jA5YI^<$hxC*qDw>N_)I0@M4L!SFxV^FHQ!bS`zEQnFekFf{$bn^( zBpe*%S@Am@*tYd; zy(=t*?DNTaD^;MoE2Z}a=dZ$@<=4&cvfxM`cXL-acV3lPUlx5mZw2dxI=P8w4p_}J z>*w~WF16kAjU&5#_USvz_>-p}s4iUBUcEVI>a7IRBiW35JOAn(D|cqH-T1O+4)gYa zy!M+C#j`vAZ*Jl_xvOQm;%}ba-r-EkIO9MGMg0R?Qhxzs($xcNA06pFocWGD>D~_8 zo5Bm8=4_g`YGv94yWz!)9pY{E@p?|$tA$YI{3w!7@OJo zb63Y!+>boHmosaBRJaOb*%isXPnaL<{dLY{pVJxLGyRHYC%GQP8o8h3PP~=*XY#&{ yhT0A0CwJ5phBN(Hj2`9E8-u(&rv{yxSI79|iTy^4vO}OUg2B_(&t;ucLK6T;=MIbj literal 0 HcmV?d00001 diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellState-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellState-members.html new file mode 100644 index 000000000..190377a03 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellState-members.html @@ -0,0 +1,120 @@ + + + + + + +mxGraph: Member List + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+
+
com.mxgraph.mxCellState Member List
+
+
+ +

This is the complete list of members for com.mxgraph.mxCellState, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
absoluteOffsetcom.mxgraph.mxCellStateprotected
AbsoluteOffsetcom.mxgraph.mxCellState
AbsolutePointCount()com.mxgraph.mxCellStateinline
AbsolutePointscom.mxgraph.mxCellState
absolutePointscom.mxgraph.mxCellStateprotected
Add(mxRectangle rect)com.mxgraph.mxRectangleinline
BoundingBoxcom.mxgraph.mxCellState
boundingBoxcom.mxgraph.mxCellStateprotected
cellcom.mxgraph.mxCellStateprotected
Cellcom.mxgraph.mxCellState
Clone()com.mxgraph.mxCellStateinline
Contains(double x, double y)com.mxgraph.mxRectangleinline
Equals(Object obj)com.mxgraph.mxRectangleinline
GetCenterX()com.mxgraph.mxRectangleinline
GetCenterY()com.mxgraph.mxRectangleinline
GetPerimeterBounds()com.mxgraph.mxCellStateinline
GetPerimeterBounds(double border)com.mxgraph.mxCellStateinline
GetPoint()com.mxgraph.mxPointinline
GetRectangle()com.mxgraph.mxRectangleinline
Grow(double amount)com.mxgraph.mxRectangleinline
Heightcom.mxgraph.mxRectangle
heightcom.mxgraph.mxRectangleprotected
invalidcom.mxgraph.mxCellStateprotected
Invalidcom.mxgraph.mxCellState
labelBoundscom.mxgraph.mxCellStateprotected
LabelBoundscom.mxgraph.mxCellState
lengthcom.mxgraph.mxCellStateprotected
Lengthcom.mxgraph.mxCellState
mxCellState()com.mxgraph.mxCellStateinline
mxCellState(mxGraphView view, Object cell, Dictionary< string, Object > style)com.mxgraph.mxCellStateinline
mxPoint()com.mxgraph.mxPointinline
mxPoint(Point point)com.mxgraph.mxPointinline
mxPoint(mxPoint point)com.mxgraph.mxPointinline
mxPoint(double x, double y)com.mxgraph.mxPointinline
mxRectangle()com.mxgraph.mxRectangleinline
mxRectangle(mxRectangle rect)com.mxgraph.mxRectangleinline
mxRectangle(Rectangle rect)com.mxgraph.mxRectangleinline
mxRectangle(double x, double y, double width, double height)com.mxgraph.mxRectangleinline
origincom.mxgraph.mxCellStateprotected
Origincom.mxgraph.mxCellState
segmentscom.mxgraph.mxCellStateprotected
Segmentscom.mxgraph.mxCellState
SetAbsoluteTerminalPoint(mxPoint point, bool source)com.mxgraph.mxCellStateinline
setRect(double x, double y, double w, double h)com.mxgraph.mxRectangleinline
stylecom.mxgraph.mxCellStateprotected
Stylecom.mxgraph.mxCellState
TerminalDistancecom.mxgraph.mxCellState
terminalDistancecom.mxgraph.mxCellStateprotected
viewcom.mxgraph.mxCellStateprotected
Viewcom.mxgraph.mxCellState
Widthcom.mxgraph.mxRectangle
widthcom.mxgraph.mxRectangleprotected
xcom.mxgraph.mxPointprotected
Xcom.mxgraph.mxPoint
ycom.mxgraph.mxPointprotected
Ycom.mxgraph.mxPoint
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellState.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellState.html new file mode 100644 index 000000000..a94360535 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellState.html @@ -0,0 +1,1088 @@ + + + + + + +mxGraph: com.mxgraph.mxCellState Class Reference + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+ +
+
com.mxgraph.mxCellState Class Reference
+
+
+ +

Represents the current state of a cell in a given graph view. + More...

+
+Inheritance diagram for com.mxgraph.mxCellState:
+
+
+ + +com.mxgraph.mxRectangle +com.mxgraph.mxPoint + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 mxCellState ()
 Constructs an empty cell state. More...
 
 mxCellState (mxGraphView view, Object cell, Dictionary< string, Object > style)
 Constructs a new object that represents the current state of the given cell in the specified view. More...
 
int AbsolutePointCount ()
 Returns the number of absolute points. More...
 
mxRectangle GetPerimeterBounds ()
 Returns the rectangle that should be used as the perimeter of the cell. This implementation adds the perimeter spacing to the rectangle defined by this cell state. More...
 
mxRectangle GetPerimeterBounds (double border)
 Returns the rectangle that should be used as the perimeter of the cell. More...
 
void SetAbsoluteTerminalPoint (mxPoint point, bool source)
 Sets the first or last point in the list of points depending on source. More...
 
new mxCellState Clone ()
 Returns a clone of this state where all members are deeply cloned except the view and cell references, which are copied with no cloning to the new instance. More...
 
- Public Member Functions inherited from com.mxgraph.mxRectangle
 mxRectangle ()
 Constructs a new rectangle at (0, 0) with the width and height set to 0. More...
 
 mxRectangle (mxRectangle rect)
 Constructs a copy of the given rectangle. More...
 
 mxRectangle (Rectangle rect)
 Constructs a copy of the given rectangle. More...
 
 mxRectangle (double x, double y, double width, double height)
 Constructs a rectangle using the given parameters. More...
 
void setRect (double x, double y, double w, double h)
 Sets this rectangle to the specified values More...
 
double GetCenterX ()
 Returns the x-coordinate of the center. More...
 
double GetCenterY ()
 Returns the y-coordinate of the center. More...
 
void Add (mxRectangle rect)
 Adds the given rectangle to this rectangle. More...
 
void Grow (double amount)
 Grows the rectangle by the given amount, that is, this method subtracts the given amount from the x- and y-coordinates and adds twice the amount to the width and height. More...
 
bool Contains (double x, double y)
 Returns true if this rectangle contains the given point (x, y). More...
 
Rectangle GetRectangle ()
 Returns the bounds as a new rectangle. More...
 
new Boolean Equals (Object obj)
 Returns true if the given object equals this rectangle. More...
 
new mxRectangle Clone ()
 Returns a new instance of the same rectangle. More...
 
- Public Member Functions inherited from com.mxgraph.mxPoint
 mxPoint ()
 Constructs a new point at (0, 0). More...
 
 mxPoint (Point point)
 Constructs a new point at the location of the given point. More...
 
 mxPoint (mxPoint point)
 Constructs a new point at the location of the given point. More...
 
 mxPoint (double x, double y)
 Constructs a new point at (x, y). More...
 
Point GetPoint ()
 Returns the coordinates as a new point. More...
 
new Boolean Equals (Object obj)
 Returns true if the given object equals this point. More...
 
mxPoint Clone ()
 Returns a new instance of the same point. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

mxGraphView view
 Reference to the enclosing graph view. More...
 
Object cell
 Reference to the cell that is represented by this state. More...
 
Dictionary< string, Object > style
 Contains an array of key, value pairs that represent the style of the cell. More...
 
Boolean invalid = true
 Specifies if the state is invalid. Default is true. More...
 
mxPoint origin = new mxPoint()
 Holds the origin for all child cells. More...
 
List< mxPointabsolutePoints
 List of mxPoints that represent the absolute points of an edge. More...
 
mxPoint absoluteOffset = new mxPoint()
 Holds the absolute offset. For edges, this is the absolute coordinates of the label position. For vertices, this is the offset of the label relative to the top, left corner of the vertex. More...
 
double terminalDistance
 Caches the distance between the end points of an edge. More...
 
double length
 Caches the length of an edge. More...
 
double[] segments
 Array of numbers that represent the cached length of each segment of the edge. More...
 
mxRectangle labelBounds
 Holds the rectangle which contains the label. More...
 
mxRectangle boundingBox
 Holds the largest rectangle which contains all rendering for this cell. More...
 
- Protected Attributes inherited from com.mxgraph.mxRectangle
double width
 Holds the width. Default is 0. More...
 
double height
 Holds the height. Default is 0. More...
 
- Protected Attributes inherited from com.mxgraph.mxPoint
double x
 Holds the x-coordinate of the point. Default is 0. More...
 
double y
 Holds the y-coordinate of the point. Default is 0. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Properties

mxGraphView View [get, set]
 Sets or returns the enclosing graph view. More...
 
Object Cell [get, set]
 Sets or returns the cell that is represented by this state. More...
 
Dictionary< string, Object > Style [get, set]
 Sets or returns the cell style as a map of key, value pairs. More...
 
Boolean Invalid [get, set]
 Sets or returns the invalid state. More...
 
mxPoint Origin [get, set]
 Sets or returns the origin for the children. More...
 
List< mxPointAbsolutePoints [get, set]
 Sets or returns the absolute points. More...
 
mxPoint AbsoluteOffset [get, set]
 Sets or returns the absolute offset. More...
 
double TerminalDistance [get, set]
 Sets or returns the terminal distance. More...
 
double Length [get, set]
 Sets or returns the length. More...
 
double[] Segments [get, set]
 Sets or returns the length of the segments. More...
 
mxRectangle LabelBounds [get, set]
 Sets or returns the label bounds. More...
 
mxRectangle BoundingBox [get, set]
 Sets or returns the bounding box. More...
 
- Properties inherited from com.mxgraph.mxRectangle
double Width [get, set]
 Sets or returns the width of the rectangle. More...
 
double Height [get, set]
 Sets or returns the height of the rectangle. More...
 
- Properties inherited from com.mxgraph.mxPoint
double X [get, set]
 Sets or returns the x-coordinate of the point. More...
 
double Y [get, set]
 Sets or returns the y-coordinate of the point. More...
 
+

Detailed Description

+

Represents the current state of a cell in a given graph view.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + +
+ + + + + + + +
com.mxgraph.mxCellState.mxCellState ()
+
+inline
+
+ +

Constructs an empty cell state.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
com.mxgraph.mxCellState.mxCellState (mxGraphView view,
Object cell,
Dictionary< string, Object > style 
)
+
+inline
+
+ +

Constructs a new object that represents the current state of the given cell in the specified view.

+
Parameters
+ + + + +
viewGraph view that contains the state.
cellCell that this state represents.
styleArray of key, value pairs that constitute the style.
+
+
+ +
+
+

Member Function Documentation

+ +
+
+ + + + + +
+ + + + + + + +
int com.mxgraph.mxCellState.AbsolutePointCount ()
+
+inline
+
+
+ +
+
+ + + + + +
+ + + + + + + +
new mxCellState com.mxgraph.mxCellState.Clone ()
+
+inline
+
+
+ +
+
+ + + + + +
+ + + + + + + +
mxRectangle com.mxgraph.mxCellState.GetPerimeterBounds ()
+
+inline
+
+ +

Returns the rectangle that should be used as the perimeter of the cell. This implementation adds the perimeter spacing to the rectangle defined by this cell state.

+
Returns
Returns the rectangle that defines the perimeter.
+ +

Referenced by com.mxgraph.mxGraphView.GetPerimeterBounds().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
mxRectangle com.mxgraph.mxCellState.GetPerimeterBounds (double border)
+
+inline
+
+ +

Returns the rectangle that should be used as the perimeter of the cell.

+
Parameters
+ + +
border
+
+
+
Returns
Returns the rectangle that defines the perimeter.
+ +

References com.mxgraph.mxRectangle.Grow().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxCellState.SetAbsoluteTerminalPoint (mxPoint point,
bool source 
)
+
+inline
+
+ +

Sets the first or last point in the list of points depending on source.

+
Parameters
+ + + +
pointPoint that represents the terminal point.
sourceBoolean that specifies if the first or last point should be assigned.
+
+
+ +

Referenced by com.mxgraph.mxGraphView.UpdateFixedTerminalPoint(), and com.mxgraph.mxGraphView.UpdateFloatingTerminalPoint().

+ +
+
+

Member Data Documentation

+ +
+
+ + + + + +
+ + + + +
mxPoint com.mxgraph.mxCellState.absoluteOffset = new mxPoint()
+
+protected
+
+ +

Holds the absolute offset. For edges, this is the absolute coordinates of the label position. For vertices, this is the offset of the label relative to the top, left corner of the vertex.

+ +

Referenced by com.mxgraph.mxCellState.Clone().

+ +
+
+ +
+
+ + + + + +
+ + + + +
List<mxPoint> com.mxgraph.mxCellState.absolutePoints
+
+protected
+
+ +

List of mxPoints that represent the absolute points of an edge.

+ +

Referenced by com.mxgraph.mxCellState.Clone().

+ +
+
+ +
+
+ + + + + +
+ + + + +
mxRectangle com.mxgraph.mxCellState.boundingBox
+
+protected
+
+ +

Holds the largest rectangle which contains all rendering for this cell.

+ +

Referenced by com.mxgraph.mxCellState.Clone().

+ +
+
+ +
+
+ + + + + +
+ + + + +
Object com.mxgraph.mxCellState.cell
+
+protected
+
+ +

Reference to the cell that is represented by this state.

+ +
+
+ +
+
+ + + + + +
+ + + + +
Boolean com.mxgraph.mxCellState.invalid = true
+
+protected
+
+ +

Specifies if the state is invalid. Default is true.

+ +
+
+ +
+
+ + + + + +
+ + + + +
mxRectangle com.mxgraph.mxCellState.labelBounds
+
+protected
+
+ +

Holds the rectangle which contains the label.

+ +

Referenced by com.mxgraph.mxCellState.Clone().

+ +
+
+ +
+
+ + + + + +
+ + + + +
double com.mxgraph.mxCellState.length
+
+protected
+
+ +

Caches the length of an edge.

+ +

Referenced by com.mxgraph.mxCellState.Clone().

+ +
+
+ +
+
+ + + + + +
+ + + + +
mxPoint com.mxgraph.mxCellState.origin = new mxPoint()
+
+protected
+
+ +

Holds the origin for all child cells.

+ +

Referenced by com.mxgraph.mxCellState.Clone().

+ +
+
+ +
+
+ + + + + +
+ + + + +
double [] com.mxgraph.mxCellState.segments
+
+protected
+
+ +

Array of numbers that represent the cached length of each segment of the edge.

+ +

Referenced by com.mxgraph.mxCellState.Clone().

+ +
+
+ +
+
+ + + + + +
+ + + + +
Dictionary<string, Object> com.mxgraph.mxCellState.style
+
+protected
+
+ +

Contains an array of key, value pairs that represent the style of the cell.

+ +
+
+ +
+
+ + + + + +
+ + + + +
double com.mxgraph.mxCellState.terminalDistance
+
+protected
+
+ +

Caches the distance between the end points of an edge.

+ +

Referenced by com.mxgraph.mxCellState.Clone().

+ +
+
+ +
+
+ + + + + +
+ + + + +
mxGraphView com.mxgraph.mxCellState.view
+
+protected
+
+ +

Reference to the enclosing graph view.

+ +
+
+

Property Documentation

+ +
+
+ + + + + +
+ + + + +
mxPoint com.mxgraph.mxCellState.AbsoluteOffset
+
+getset
+
+
+ + + +
+
+ + + + + +
+ + + + +
mxRectangle com.mxgraph.mxCellState.BoundingBox
+
+getset
+
+
+ + + +
+
+ + + + + +
+ + + + +
Boolean com.mxgraph.mxCellState.Invalid
+
+getset
+
+ +

Sets or returns the invalid state.

+ +

Referenced by com.mxgraph.mxGraphView.ValidateCellState().

+ +
+
+ + + +
+
+ + + + + +
+ + + + +
double com.mxgraph.mxCellState.Length
+
+getset
+
+
+ +
+
+ + + + + +
+ + + + +
mxPoint com.mxgraph.mxCellState.Origin
+
+getset
+
+
+ +
+
+ + + + + +
+ + + + +
double [] com.mxgraph.mxCellState.Segments
+
+getset
+
+ +

Sets or returns the length of the segments.

+ +

Referenced by com.mxgraph.mxGraphView.GetPoint(), and com.mxgraph.mxGraphView.UpdateEdgeBounds().

+ +
+
+ + + +
+
+ + + + + +
+ + + + +
double com.mxgraph.mxCellState.TerminalDistance
+
+getset
+
+ +

Sets or returns the terminal distance.

+ +

Referenced by com.mxgraph.mxGraphView.UpdateEdgeBounds().

+ +
+
+ +
+
+ + + + + +
+ + + + +
mxGraphView com.mxgraph.mxCellState.View
+
+getset
+
+ +

Sets or returns the enclosing graph view.

+ +

Referenced by com.mxgraph.mxStencil.DrawShape(), and com.mxgraph.mxStencil.PaintShape().

+ +
+
+
The documentation for this class was generated from the following file:
    +
  • src/view/mxCellState.cs
  • +
+
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellState.png b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellState.png new file mode 100644 index 0000000000000000000000000000000000000000..6cabb6b38372743e9c9d00e52684961787dc8b0f GIT binary patch literal 963 zcmeAS@N?(olHy`uVBq!ia0vp^i-5R;gBeH$OCP8NQW60^A+G=b{|7Q(y!l$%e`o@b z1;z&s9ANFdBM;1}yz5&84&74nxOA$>#dFgsLDiG1_?7Y|nOyz$;|$Moz5nbV zUwn)1D4g|sgKf>^YAesmcVb7?W`-X=qOPp=JLC41Z=y-x&WIQmlm_+LM(4)y7SC6! zDV(?@PQ8OSbLu*m{_UIF&bZqZ>YF{R=P305D^(b=nqSfEVD?;vZLc%ka?DRpSeNs6 z->j?0tiEhi{w8btP}a(7mi_+Z*z^wHA2yMmXA4gjZ{)7|<1l5(_Efhu+y5`>nEd>0 zQOBe&ftHI@BA<3lO1Ua)*dj1Z?7-GtjBD0@70loMRPws}9^rN8esBxyUCj8V$c16G zjNkz+ca{yO1R2-h=DzY*YC{hUZ$Wds8g@3g;7oThWx z^HlM64YQMbq}1#rH=YZs+w@#+m(d!*^20VZwTlAnG>^+IF^HcV%tiekrICcb|*x#-R6klEpf?=1J9?6jrw^M2+db}l=^+Siz>SbUtRu&vy_ zWk>!GbAipy_J?csX09n0yqy_ll@kM?xc zy8A!km6bg^|Nh2xz5aE2*FJtOHvINc?%9ULjQiG|dta=-^1b3V?Tso)yM?lqnEp(G lCYo0tSKQf_8y)$d;ckWFo9$MsY=JqB!PC{xWt~$(696#S!)yQm literal 0 HcmV?d00001 diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCodec-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCodec-members.html new file mode 100644 index 000000000..ed6e0fed6 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCodec-members.html @@ -0,0 +1,86 @@ + + + + + + +mxGraph: Member List + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+
+
com.mxgraph.mxCodec Member List
+
+
+ +

This is the complete list of members for com.mxgraph.mxCodec, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + +
Decode(XmlNode node)com.mxgraph.mxCodecinline
Decode(XmlNode node, Object into)com.mxgraph.mxCodecinline
DecodeCell(XmlNode node, bool restoreStructures)com.mxgraph.mxCodecinline
Documentcom.mxgraph.mxCodec
documentcom.mxgraph.mxCodecprotected
Encode(Object obj)com.mxgraph.mxCodecinline
EncodeCell(mxICell cell, XmlNode node, bool includeChildren)com.mxgraph.mxCodecinline
encodeDefaultscom.mxgraph.mxCodecprotected
GetElementById(string id)com.mxgraph.mxCodecinline
GetElementById(string id, string attributeName)com.mxgraph.mxCodecinline
GetId(Object obj)com.mxgraph.mxCodecinline
GetObject(string id)com.mxgraph.mxCodecinline
InsertIntoGraph(mxICell cell)com.mxgraph.mxCodecinline
IsEncodeDefaultscom.mxgraph.mxCodec
Lookup(string id)com.mxgraph.mxCodecinline
mxCodec()com.mxgraph.mxCodecinline
mxCodec(XmlDocument document)com.mxgraph.mxCodecinline
objectscom.mxgraph.mxCodecprotected
Objectscom.mxgraph.mxCodec
PutObject(string id, Object obj)com.mxgraph.mxCodecinline
Reference(Object obj)com.mxgraph.mxCodecinline
SetAttribute(XmlNode node, string attribute, Object value)com.mxgraph.mxCodecinlinestatic
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCodec.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCodec.html new file mode 100644 index 000000000..b0243ced9 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCodec.html @@ -0,0 +1,925 @@ + + + + + + +mxGraph: com.mxgraph.mxCodec Class Reference + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+ +
+ +

XML codec for .NET object graphs. In order to resolve forward references when reading files the XML document that contains the data must be passed to the constructor. + More...

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 mxCodec ()
 Constructs an XML encoder/decoder with a new owner document. More...
 
 mxCodec (XmlDocument document)
 Constructs an XML encoder/decoder for the specified owner document. The document is required to resolve forward ID references. This means if you parse a graphmodel that is represented in XML you must also pass the document that contains the XML to the constructor, otherwise forward references will not be resolved. More...
 
Object PutObject (string id, Object obj)
 Assoiates the given object with the given ID. More...
 
Object GetObject (string id)
 Returns the decoded object for the element with the specified ID in document. If the object is not known then lookup is used to find an object. If no object is found, then the element with the respective ID from the document is parsed using decode. More...
 
Object Lookup (string id)
 Hook for subclassers to implement a custom lookup mechanism for cell IDs. This implementation always returns null. More...
 
XmlNode GetElementById (string id)
 Returns the element with the given ID from the document. More...
 
XmlNode GetElementById (string id, string attributeName)
 Returns the element with the given ID from document. The optional attr argument specifies the name of the ID attribute. Default is id. The XPath expression used to find the element is //*[@id='arg'] where id is the name of the ID attribute (attributeName) and arg is the given id. More...
 
string GetId (Object obj)
 Returns the ID of the specified object. This implementation calls reference first and if that returns null handles the object as an mxCell by returning their IDs using mxCell.getId. If no ID exists for the given cell, then an on-the-fly ID is generated using mxCellPath.create. More...
 
string Reference (Object obj)
 Hook for subclassers to implement a custom method for retrieving IDs from objects. This implementation always returns null. More...
 
XmlNode Encode (Object obj)
 Encodes the specified object and returns the resulting XML node. More...
 
Object Decode (XmlNode node)
 Decodes the given XML node using decode(XmlNode, Object). More...
 
Object Decode (XmlNode node, Object into)
 Decodes the given XML node. The optional "into" argument specifies an existing object to be used. If no object is given, then a new instance is created using the constructor from the codec. The function returns the passed in object or the new instance if no object was given. More...
 
void EncodeCell (mxICell cell, XmlNode node, bool 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. mxModelCodec, mxChildChangeCodec and mxRootChangeCodec). This implementation writes the given cell and its children as a (flat) sequence into the given node. The children are not encoded if the optional includeChildren is false. The function is in charge of adding the result into the given node and has no return value. More...
 
mxICell DecodeCell (XmlNode node, bool restoreStructures)
 Decodes cells that have been encoded using inversion, ie. where the user object is the enclosing node in the XML, and restores the group and graph structure in the cells. Returns a new mxCell instance that represents the given node. More...
 
void InsertIntoGraph (mxICell cell)
 Inserts the given cell into its parent and terminal cells. More...
 
+ + + + +

+Static Public Member Functions

static void SetAttribute (XmlNode node, string attribute, Object value)
 Sets the attribute on the specified node to value. This is a helper method that makes sure the attribute and value arguments are not null. More...
 
+ + + + + + + + + + +

+Protected Attributes

XmlDocument document
 Holds the owner document of the codec. More...
 
Dictionary< string, object > objects = new Dictionary<string, Object>()
 Maps from IDs to objects. More...
 
bool encodeDefaults = false
 Specifies if default values should be encoded. Default is false. More...
 
+ + + + + + + + + + +

+Properties

XmlDocument Document [get, set]
 Sets or returns the owner document of the codec. More...
 
bool IsEncodeDefaults [get, set]
 Sets or returns if default values of member variables should be encoded. More...
 
Dictionary< string, object > Objects [get]
 Returns the object lookup table. More...
 
+

Detailed Description

+

XML codec for .NET object graphs. In order to resolve forward references when reading files the XML document that contains the data must be passed to the constructor.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + +
+ + + + + + + +
com.mxgraph.mxCodec.mxCodec ()
+
+inline
+
+ +

Constructs an XML encoder/decoder with a new owner document.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
com.mxgraph.mxCodec.mxCodec (XmlDocument document)
+
+inline
+
+ +

Constructs an XML encoder/decoder for the specified owner document. The document is required to resolve forward ID references. This means if you parse a graphmodel that is represented in XML you must also pass the document that contains the XML to the constructor, otherwise forward references will not be resolved.

+
Parameters
+ + +
documentOptional XML document that contains the data. If no document is specified then a new document is created using mxUtils.createDocument
+
+
+ +

References com.mxgraph.mxUtils.CreateDocument().

+ +
+
+

Member Function Documentation

+ +
+
+ + + + + +
+ + + + + + + + +
Object com.mxgraph.mxCodec.Decode (XmlNode node)
+
+inline
+
+ +

Decodes the given XML node using decode(XmlNode, Object).

+
Parameters
+ + +
nodeXML node to be decoded.
+
+
+
Returns
Returns an object that represents the given node.
+ +

Referenced by com.mxgraph.mxObjectCodec.DecodeChild(), and com.mxgraph.mxObjectCodec.ProcessInclude().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Object com.mxgraph.mxCodec.Decode (XmlNode node,
Object into 
)
+
+inline
+
+ +

Decodes the given XML node. The optional "into" argument specifies an existing object to be used. If no object is given, then a new instance is created using the constructor from the codec. The function returns the passed in object or the new instance if no object was given.

+
Parameters
+ + + +
nodeXML node to be decoded.
intoOptional object to be decodec into.
+
+
+
Returns
Returns an object that represents the given node.
+ +

References com.mxgraph.mxObjectCodec.Decode(), and com.mxgraph.mxCodecRegistry.GetCodec().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
mxICell com.mxgraph.mxCodec.DecodeCell (XmlNode node,
bool restoreStructures 
)
+
+inline
+
+ +

Decodes cells that have been encoded using inversion, ie. where the user object is the enclosing node in the XML, and restores the group and graph structure in the cells. Returns a new mxCell instance that represents the given node.

+
Parameters
+ + + +
nodeXML node that contains the cell data.
restoreStructuresBoolean indicating whether the graph structure should be restored by calling insert and insertEdge on the parent and terminals, respectively.
+
+
+
Returns
Graph cell that represents the given node.
+ +

References com.mxgraph.mxObjectCodec.Decode(), and com.mxgraph.mxCodecRegistry.GetCodec().

+ +

Referenced by com.mxgraph.mxModelCodec.BeforeDecode().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
XmlNode com.mxgraph.mxCodec.Encode (Object obj)
+
+inline
+
+ +

Encodes the specified object and returns the resulting XML node.

+
Parameters
+ + +
objObject to be encoded.
+
+
+
Returns
Returns an XML node that represents the given object.
+ +

References com.mxgraph.mxObjectCodec.Encode(), com.mxgraph.mxCodecRegistry.GetCodec(), and com.mxgraph.mxCodecRegistry.GetName().

+ +

Referenced by com.mxgraph.mxObjectCodec.WriteComplexAttribute().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxCodec.EncodeCell (mxICell cell,
XmlNode node,
bool includeChildren 
)
+
+inline
+
+ +

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. mxModelCodec, mxChildChangeCodec and mxRootChangeCodec). This implementation writes the given cell and its children as a (flat) sequence into the given node. The children are not encoded if the optional includeChildren is false. The function is in charge of adding the result into the given node and has no return value.

+
Parameters
+ + + + +
cellmxCell to be encoded.
nodeParent XML node to add the encoded cell into.
includeChildrenBoolean indicating if the method should include all descendents
+
+
+ +

References com.mxgraph.mxICell.ChildCount(), and com.mxgraph.mxICell.GetChildAt().

+ +

Referenced by com.mxgraph.mxModelCodec.EncodeObject().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
XmlNode com.mxgraph.mxCodec.GetElementById (string id)
+
+inline
+
+ +

Returns the element with the given ID from the document.

+
Parameters
+ + +
idID of the element to be returned.
+
+
+
Returns
Returns the element for the given ID.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
XmlNode com.mxgraph.mxCodec.GetElementById (string id,
string attributeName 
)
+
+inline
+
+ +

Returns the element with the given ID from document. The optional attr argument specifies the name of the ID attribute. Default is id. The XPath expression used to find the element is //*[@id='arg'] where id is the name of the ID attribute (attributeName) and arg is the given id.

+
Parameters
+ + + +
idID of the element to be returned.
attributeNameOptional string for the attributename. Default is id.
+
+
+
Returns
Returns the element for the given ID.
+ +

References com.mxgraph.mxUtils.SelectSingleNode().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
string com.mxgraph.mxCodec.GetId (Object obj)
+
+inline
+
+ +

Returns the ID of the specified object. This implementation calls reference first and if that returns null handles the object as an mxCell by returning their IDs using mxCell.getId. If no ID exists for the given cell, then an on-the-fly ID is generated using mxCellPath.create.

+
Parameters
+ + +
objObject to return the ID for.
+
+
+
Returns
Returns the ID for the given object.
+ +

References com.mxgraph.mxCellPath.Create().

+ +

Referenced by com.mxgraph.mxObjectCodec.EncodeObject(), and com.mxgraph.mxObjectCodec.EncodeValue().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
Object com.mxgraph.mxCodec.GetObject (string id)
+
+inline
+
+ +

Returns the decoded object for the element with the specified ID in document. If the object is not known then lookup is used to find an object. If no object is found, then the element with the respective ID from the document is parsed using decode.

+
Parameters
+ + +
idID of the object to be returned.
+
+
+
Returns
Returns the object for the given ID.
+ +

Referenced by com.mxgraph.mxObjectCodec.DecodeAttribute().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
void com.mxgraph.mxCodec.InsertIntoGraph (mxICell cell)
+
+inline
+
+ +

Inserts the given cell into its parent and terminal cells.

+
Parameters
+ + +
cell
+
+
+ +

References com.mxgraph.mxICell.GetTerminal(), com.mxgraph.mxICell.Insert(), com.mxgraph.mxICell.InsertEdge(), com.mxgraph.mxICell.Parent, and com.mxgraph.mxICell.SetTerminal().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
Object com.mxgraph.mxCodec.Lookup (string id)
+
+inline
+
+ +

Hook for subclassers to implement a custom lookup mechanism for cell IDs. This implementation always returns null.

+
Parameters
+ + +
idID of the object to be returned.
+
+
+
Returns
Returns the object for the given ID.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Object com.mxgraph.mxCodec.PutObject (string id,
Object obj 
)
+
+inline
+
+ +

Assoiates the given object with the given ID.

+
Parameters
+ + + +
idID for the object to be associated with.
objObject to be associated with the ID.
+
+
+
Returns
Returns the given object.
+ +

Referenced by com.mxgraph.mxStylesheetCodec.Decode(), and com.mxgraph.mxObjectCodec.Decode().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
string com.mxgraph.mxCodec.Reference (Object obj)
+
+inline
+
+ +

Hook for subclassers to implement a custom method for retrieving IDs from objects. This implementation always returns null.

+
Parameters
+ + +
objObject whose ID should be returned.
+
+
+
Returns
Returns the ID for the given object.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
static void com.mxgraph.mxCodec.SetAttribute (XmlNode node,
string attribute,
Object value 
)
+
+inlinestatic
+
+ +

Sets the attribute on the specified node to value. This is a helper method that makes sure the attribute and value arguments are not null.

+
Parameters
+ + + + +
nodeXML node to set the attribute for.
attributeAttributename to be set.
valueNew value of the attribute.
+
+
+ +

Referenced by com.mxgraph.mxObjectCodec.EncodeObject(), com.mxgraph.mxObjectCodec.WriteComplexAttribute(), and com.mxgraph.mxObjectCodec.WritePrimitiveAttribute().

+ +
+
+

Member Data Documentation

+ +
+
+ + + + + +
+ + + + +
XmlDocument com.mxgraph.mxCodec.document
+
+protected
+
+ +

Holds the owner document of the codec.

+ +
+
+ +
+
+ + + + + +
+ + + + +
bool com.mxgraph.mxCodec.encodeDefaults = false
+
+protected
+
+ +

Specifies if default values should be encoded. Default is false.

+ +
+
+ +
+
+ + + + + +
+ + + + +
Dictionary<string, object> com.mxgraph.mxCodec.objects = new Dictionary<string, Object>()
+
+protected
+
+ +

Maps from IDs to objects.

+ +
+
+

Property Documentation

+ +
+
+ + + + + +
+ + + + +
XmlDocument com.mxgraph.mxCodec.Document
+
+getset
+
+ +

Sets or returns the owner document of the codec.

+
Returns
Returns the owner document.
+ +

Referenced by com.mxgraph.mxStylesheetCodec.Encode(), com.mxgraph.mxObjectCodec.Encode(), com.mxgraph.mxModelCodec.EncodeObject(), and com.mxgraph.mxObjectCodec.WritePrimitiveAttribute().

+ +
+
+ +
+
+ + + + + +
+ + + + +
bool com.mxgraph.mxCodec.IsEncodeDefaults
+
+getset
+
+ +

Sets or returns if default values of member variables should be encoded.

+ +

Referenced by com.mxgraph.mxObjectCodec.EncodeValue().

+ +
+
+ +
+
+ + + + + +
+ + + + +
Dictionary<string, object> com.mxgraph.mxCodec.Objects
+
+get
+
+ +

Returns the object lookup table.

+ +

Referenced by com.mxgraph.mxStylesheetCodec.Decode(), and com.mxgraph.mxObjectCodec.Decode().

+ +
+
+
The documentation for this class was generated from the following file:
    +
  • src/io/mxCodec.cs
  • +
+
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCodecRegistry-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCodecRegistry-members.html new file mode 100644 index 000000000..64b642004 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCodecRegistry-members.html @@ -0,0 +1,74 @@ + + + + + + +mxGraph: Member List + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+
+
com.mxgraph.mxCodecRegistry Member List
+
+
+ +

This is the complete list of members for com.mxgraph.mxCodecRegistry, including all inherited members.

+ + + + + + + + + + + +
AddAlias(string classname, string codecname)com.mxgraph.mxCodecRegistryinlinestatic
AddNamespace(String ns)com.mxgraph.mxCodecRegistryinlinestatic
aliasescom.mxgraph.mxCodecRegistryprotectedstatic
codecscom.mxgraph.mxCodecRegistryprotectedstatic
GetCodec(String name)com.mxgraph.mxCodecRegistryinlinestatic
GetInstanceForName(String name)com.mxgraph.mxCodecRegistryinlinestatic
GetName(Object instance)com.mxgraph.mxCodecRegistryinlinestatic
GetTypeForName(String name)com.mxgraph.mxCodecRegistryinlinestatic
namespacescom.mxgraph.mxCodecRegistryprotectedstatic
Register(mxObjectCodec codec)com.mxgraph.mxCodecRegistryinlinestatic
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCodecRegistry.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCodecRegistry.html new file mode 100644 index 000000000..3e4c86d13 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCodecRegistry.html @@ -0,0 +1,413 @@ + + + + + + +mxGraph: com.mxgraph.mxCodecRegistry Class Reference + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+ +
+
com.mxgraph.mxCodecRegistry Class Reference
+
+
+ +

Static class that acts as a global registry for codecs. See mxCodec for an example of using this class. + More...

+ + + + + + + + + + + + + + + + + + + + + + + +

+Static Public Member Functions

static mxObjectCodec Register (mxObjectCodec codec)
 Registers a new codec and associates the name of the template constructor in the codec with the codec object. Automatically creates an alias if the codename and the classname are not equal. More...
 
static void AddAlias (string classname, string codecname)
 Adds an alias for mapping a classname to a codecname. More...
 
static mxObjectCodec GetCodec (String name)
 Returns a codec that handles the given object, which can be an object instance or an XML node. More...
 
static void AddNamespace (String ns)
 Adds the given namespace to the list of known namespaces. More...
 
static Object GetInstanceForName (String name)
 Creates and returns a new instance for the given class name. More...
 
static Type GetTypeForName (String name)
 Returns a class that corresponds to the given name. More...
 
static String GetName (Object instance)
 Returns the name that identifies the codec associated with the given instance. The I/O system uses unqualified classnames, eg. for a com.mxgraph.model.mxCell this returns mxCell. More...
 
+ + + + + + + + + + +

+Static Protected Attributes

static Dictionary< string,
+mxObjectCodec
codecs = new Dictionary<string, mxObjectCodec>()
 Maps from constructor names to codecs. More...
 
static Dictionary< string, string > aliases = new Dictionary<string, string>()
 Maps from classnames to codecnames. More...
 
static List< string > namespaces = new List<string>()
 Holds the list of known namespaces. Packages are used to prefix short class names (eg. mxCell) in XML markup. More...
 
+

Detailed Description

+

Static class that acts as a global registry for codecs. See mxCodec for an example of using this class.

+

Member Function Documentation

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
static void com.mxgraph.mxCodecRegistry.AddAlias (string classname,
string codecname 
)
+
+inlinestatic
+
+ +

Adds an alias for mapping a classname to a codecname.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
static void com.mxgraph.mxCodecRegistry.AddNamespace (String ns)
+
+inlinestatic
+
+ +

Adds the given namespace to the list of known namespaces.

+
Parameters
+ + +
nsName of the namespace to be added.
+
+
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
static mxObjectCodec com.mxgraph.mxCodecRegistry.GetCodec (String name)
+
+inlinestatic
+
+ +

Returns a codec that handles the given object, which can be an object instance or an XML node.

+
Parameters
+ + +
nameC# type name.
+
+
+
Returns
+ +

Referenced by com.mxgraph.mxCodec.Decode(), com.mxgraph.mxCodec.DecodeCell(), and com.mxgraph.mxCodec.Encode().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
static Object com.mxgraph.mxCodecRegistry.GetInstanceForName (String name)
+
+inlinestatic
+
+ +

Creates and returns a new instance for the given class name.

+
Parameters
+ + +
nameName of the class to be instantiated.
+
+
+
Returns
Returns a new instance of the given class.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
static String com.mxgraph.mxCodecRegistry.GetName (Object instance)
+
+inlinestatic
+
+ +

Returns the name that identifies the codec associated with the given instance. The I/O system uses unqualified classnames, eg. for a com.mxgraph.model.mxCell this returns mxCell.

+
Parameters
+ + +
instanceInstance whose node name should be returned.
+
+
+
Returns
Returns a string that identifies the codec.
+ +

Referenced by com.mxgraph.mxCodec.Encode(), and com.mxgraph.mxObjectCodec.GetName().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
static Type com.mxgraph.mxCodecRegistry.GetTypeForName (String name)
+
+inlinestatic
+
+ +

Returns a class that corresponds to the given name.

+
Parameters
+ + +
name
+
+
+
Returns
+ +

Referenced by com.mxgraph.mxUtils.Eval().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
static mxObjectCodec com.mxgraph.mxCodecRegistry.Register (mxObjectCodec codec)
+
+inlinestatic
+
+ +

Registers a new codec and associates the name of the template constructor in the codec with the codec object. Automatically creates an alias if the codename and the classname are not equal.

+ +

References com.mxgraph.mxObjectCodec.GetName(), and com.mxgraph.mxObjectCodec.Template.

+ +
+
+

Member Data Documentation

+ +
+
+ + + + + +
+ + + + +
Dictionary<string, string> com.mxgraph.mxCodecRegistry.aliases = new Dictionary<string, string>()
+
+staticprotected
+
+ +

Maps from classnames to codecnames.

+ +
+
+ +
+
+ + + + + +
+ + + + +
Dictionary<string, mxObjectCodec> com.mxgraph.mxCodecRegistry.codecs = new Dictionary<string, mxObjectCodec>()
+
+staticprotected
+
+ +

Maps from constructor names to codecs.

+ +
+
+ +
+
+ + + + + +
+ + + + +
List<string> com.mxgraph.mxCodecRegistry.namespaces = new List<string>()
+
+staticprotected
+
+ +

Holds the list of known namespaces. Packages are used to prefix short class names (eg. mxCell) in XML markup.

+ +
+
+
The documentation for this class was generated from the following file:
    +
  • src/io/mxCodecRegistry.cs
  • +
+
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxConnectionConstraint-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxConnectionConstraint-members.html new file mode 100644 index 000000000..85f12b2b7 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxConnectionConstraint-members.html @@ -0,0 +1,71 @@ + + + + + + +mxGraph: Member List + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+
+
com.mxgraph.mxConnectionConstraint Member List
+
+ + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxConnectionConstraint.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxConnectionConstraint.html new file mode 100644 index 000000000..e43424ef7 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxConnectionConstraint.html @@ -0,0 +1,294 @@ + + + + + + +mxGraph: com.mxgraph.mxConnectionConstraint Class Reference + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+ +
+
com.mxgraph.mxConnectionConstraint Class Reference
+
+
+ +

Defines an object that contains the constraints about how to connect one side of an edge to its terminal. + More...

+ + + + + + + + + + + +

+Public Member Functions

 mxConnectionConstraint ()
 Constructs an empty connection constraint. More...
 
 mxConnectionConstraint (mxPoint point)
 Constructs a connection constraint for the given point. More...
 
 mxConnectionConstraint (mxPoint point, bool perimeter)
 Constructs a new connection constraint for the given point and boolean arguments. More...
 
+ + + + + + + +

+Protected Attributes

mxPoint point
 Point that specifies the fixed location of the connection point. More...
 
bool perimeter
 Boolean that specifies if the point should be projected onto the perimeter of the terminal. More...
 
+ + + + + + + +

+Properties

mxPoint Point [get, set]
 Sets or returns the point. More...
 
bool Perimeter [get, set]
 Sets or returns perimeter. More...
 
+

Detailed Description

+

Defines an object that contains the constraints about how to connect one side of an edge to its terminal.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + +
+ + + + + + + +
com.mxgraph.mxConnectionConstraint.mxConnectionConstraint ()
+
+inline
+
+ +

Constructs an empty connection constraint.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
com.mxgraph.mxConnectionConstraint.mxConnectionConstraint (mxPoint point)
+
+inline
+
+ +

Constructs a connection constraint for the given point.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
com.mxgraph.mxConnectionConstraint.mxConnectionConstraint (mxPoint point,
bool perimeter 
)
+
+inline
+
+ +

Constructs a new connection constraint for the given point and boolean arguments.

+
Parameters
+ + + +
pointOptional mxPoint that specifies the fixed location of the point in relative coordinates. Default is null.
perimeterOptional boolean that specifies if the fixed point should be projected onto the perimeter of the terminal. Default is true.
+
+
+ +
+
+

Member Data Documentation

+ +
+
+ + + + + +
+ + + + +
bool com.mxgraph.mxConnectionConstraint.perimeter
+
+protected
+
+ +

Boolean that specifies if the point should be projected onto the perimeter of the terminal.

+ +
+
+ +
+
+ + + + + +
+ + + + +
mxPoint com.mxgraph.mxConnectionConstraint.point
+
+protected
+
+ +

Point that specifies the fixed location of the connection point.

+ +
+
+

Property Documentation

+ +
+
+ + + + + +
+ + + + +
bool com.mxgraph.mxConnectionConstraint.Perimeter
+
+getset
+
+ +

Sets or returns perimeter.

+ +

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

+ +
+
+ +
+
+ + + + + +
+ + + + +
mxPoint com.mxgraph.mxConnectionConstraint.Point
+
+getset
+
+ +

Sets or returns the point.

+ +

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

+ +
+
+
The documentation for this class was generated from the following file:
    +
  • src/view/mxConnectionConstraint.cs
  • +
+
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxConstants-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxConstants-members.html new file mode 100644 index 000000000..b9fd46c21 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxConstants-members.html @@ -0,0 +1,212 @@ + + + + + + +mxGraph: Member List + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+
+
com.mxgraph.mxConstants Member List
+
+
+ +

This is the complete list of members for com.mxgraph.mxConstants, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ALIGN_BOTTOMcom.mxgraph.mxConstants
ALIGN_CENTERcom.mxgraph.mxConstants
ALIGN_LEFTcom.mxgraph.mxConstants
ALIGN_MIDDLEcom.mxgraph.mxConstants
ALIGN_RIGHTcom.mxgraph.mxConstants
ALIGN_TOPcom.mxgraph.mxConstants
ARROW_BLOCKcom.mxgraph.mxConstants
ARROW_CLASSICcom.mxgraph.mxConstants
ARROW_DIAMONDcom.mxgraph.mxConstants
ARROW_OPENcom.mxgraph.mxConstants
ARROW_OVALcom.mxgraph.mxConstants
ARROW_SIZEcom.mxgraph.mxConstantsstatic
ARROW_SPACINGcom.mxgraph.mxConstantsstatic
ARROW_WIDTHcom.mxgraph.mxConstantsstatic
DEFAULT_FONTFAMILIEScom.mxgraph.mxConstantsstatic
DEFAULT_FONTFAMILYcom.mxgraph.mxConstantsstatic
DEFAULT_FONTSIZEcom.mxgraph.mxConstantsstatic
DEFAULT_HOTSPOTcom.mxgraph.mxConstantsstatic
DEFAULT_IMAGESIZEcom.mxgraph.mxConstantsstatic
DEFAULT_MARKERSIZEcom.mxgraph.mxConstantsstatic
DEFAULT_STARTSIZEcom.mxgraph.mxConstantsstatic
DIRECTION_EASTcom.mxgraph.mxConstants
DIRECTION_NORTHcom.mxgraph.mxConstants
DIRECTION_SOUTHcom.mxgraph.mxConstants
DIRECTION_WESTcom.mxgraph.mxConstants
EDGESTYLE_ELBOWcom.mxgraph.mxConstants
EDGESTYLE_ENTITY_RELATIONcom.mxgraph.mxConstants
EDGESTYLE_LOOPcom.mxgraph.mxConstants
EDGESTYLE_SIDETOSIDEcom.mxgraph.mxConstants
EDGESTYLE_TOPTOBOTTOMcom.mxgraph.mxConstants
ELBOW_HORIZONTALcom.mxgraph.mxConstants
ELBOW_VERTICALcom.mxgraph.mxConstants
ENTITY_SEGMENTcom.mxgraph.mxConstantsstatic
FONT_BOLDcom.mxgraph.mxConstants
FONT_ITALICcom.mxgraph.mxConstants
FONT_SHADOWcom.mxgraph.mxConstants
FONT_SIZEFACTORcom.mxgraph.mxConstantsstatic
FONT_UNDERLINEcom.mxgraph.mxConstants
LABEL_INSETcom.mxgraph.mxConstantsstatic
LINE_ARCSIZEcom.mxgraph.mxConstantsstatic
LINESPACINGcom.mxgraph.mxConstantsstatic
MIN_HOTSPOT_SIZEcom.mxgraph.mxConstantsstatic
NONEcom.mxgraph.mxConstantsstatic
NS_SVGcom.mxgraph.mxConstantsstatic
NS_XHTMLcom.mxgraph.mxConstantsstatic
NS_XLINKcom.mxgraph.mxConstantsstatic
PERIMETER_ELLIPSEcom.mxgraph.mxConstants
PERIMETER_RECTANGLEcom.mxgraph.mxConstants
PERIMETER_RHOMBUScom.mxgraph.mxConstants
PERIMETER_TRIANGLEcom.mxgraph.mxConstants
RECTANGLE_ROUNDING_FACTORcom.mxgraph.mxConstantsstatic
SHADOW_OFFSETXcom.mxgraph.mxConstantsstatic
SHADOW_OFFSETYcom.mxgraph.mxConstantsstatic
SHADOWCOLORcom.mxgraph.mxConstantsstatic
SHAPE_ACTORcom.mxgraph.mxConstants
SHAPE_ARROWcom.mxgraph.mxConstants
SHAPE_CLOUDcom.mxgraph.mxConstants
SHAPE_CONNECTORcom.mxgraph.mxConstants
SHAPE_CYLINDERcom.mxgraph.mxConstants
SHAPE_DOUBLE_ELLIPSEcom.mxgraph.mxConstants
SHAPE_ELLIPSEcom.mxgraph.mxConstants
SHAPE_HEXAGONcom.mxgraph.mxConstants
SHAPE_IMAGEcom.mxgraph.mxConstants
SHAPE_LABELcom.mxgraph.mxConstants
SHAPE_LINEcom.mxgraph.mxConstants
SHAPE_RECTANGLEcom.mxgraph.mxConstants
SHAPE_RHOMBUScom.mxgraph.mxConstants
SHAPE_SWIMLANEcom.mxgraph.mxConstants
SHAPE_TRIANGLEcom.mxgraph.mxConstants
STENCIL_SHADOW_OPACITYcom.mxgraph.mxConstantsstatic
STENCIL_SHADOWCOLORcom.mxgraph.mxConstantsstatic
STYLE_ALIGNcom.mxgraph.mxConstantsstatic
STYLE_DASHEDcom.mxgraph.mxConstantsstatic
STYLE_DIRECTIONcom.mxgraph.mxConstantsstatic
STYLE_EDGEcom.mxgraph.mxConstantsstatic
STYLE_ELBOWcom.mxgraph.mxConstantsstatic
STYLE_ENDARROWcom.mxgraph.mxConstantsstatic
STYLE_ENDSIZEcom.mxgraph.mxConstantsstatic
STYLE_ENTRY_PERIMETERcom.mxgraph.mxConstantsstatic
STYLE_ENTRY_Xcom.mxgraph.mxConstantsstatic
STYLE_ENTRY_Ycom.mxgraph.mxConstantsstatic
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_STROKECOLORcom.mxgraph.mxConstantsstatic
STYLE_STROKEWIDTHcom.mxgraph.mxConstantsstatic
STYLE_TARGET_PERIMETER_SPACINGcom.mxgraph.mxConstantsstatic
STYLE_TARGET_PORTcom.mxgraph.mxConstantsstatic
STYLE_TEXT_OPACITYcom.mxgraph.mxConstantsstatic
STYLE_VERTICAL_ALIGNcom.mxgraph.mxConstantsstatic
STYLE_VERTICAL_LABEL_POSITIONcom.mxgraph.mxConstantsstatic
STYLE_WHITE_SPACEcom.mxgraph.mxConstantsstatic
W3C_SHADOWCOLORcom.mxgraph.mxConstantsstatic
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxConstants.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxConstants.html new file mode 100644 index 000000000..d592a61d1 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxConstants.html @@ -0,0 +1,3670 @@ + + + + + + +mxGraph: com.mxgraph.mxConstants Class Reference + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+ +
+
com.mxgraph.mxConstants Class Reference
+
+
+ +

Defines various global constants. + More...

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Attributes

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

+Static Public Attributes

static double DEFAULT_HOTSPOT = 0.3
 Defines the portion of the cell which is More...
 
static double MIN_HOTSPOT_SIZE = 8
 Defines the minimum size in pixels of the More...
 
static string NS_SVG = "http://www.w3.org/2000/svg"
 Defines the SVG namespace. More...
 
static string NS_XHTML = "http://www.w3.org/1999/xhtml"
 Defines the XHTML namespace. More...
 
static string NS_XLINK = "http://www.w3.org/1999/xlink"
 Defines the XLink namespace. More...
 
static String DEFAULT_FONTFAMILIES = "Arial,Helvetica"
 Comma separated list of default fonts for CSS properties. And the default font family value for new image export. Default is Arial, Helvetica. More...
 
static String DEFAULT_FONTFAMILY = "Arial"
 Default family for fonts. Default is Arial. More...
 
static float DEFAULT_FONTSIZE = 11
 Default size for fonts. Value is 11. More...
 
static float DEFAULT_STARTSIZE = 40
 Defines the default start size for swimlanes. Default is 40. More...
 
static int LINESPACING = 2
 Specifies the line spacing. Default is 2. More...
 
static double FONT_SIZEFACTOR = 0.75
 Defines the factor to multiply font sizes in points to be used as font sizes in em. Default is 1/1.33 = 0.75. More...
 
static int LABEL_INSET = 3
 Defines the inset in absolute pixels between the label bounding box and the label text. Default is 3. More...
 
static float DEFAULT_MARKERSIZE = 6
 Default size for markers. Value is 6. More...
 
static int DEFAULT_IMAGESIZE = 24
 Defines the default width and height for images used in the label shape. Default is 24. More...
 
static int STENCIL_SHADOW_OPACITY = 1
 Defines the default opacity for stencils shadows. Default is 1. More...
 
static String STENCIL_SHADOWCOLOR = "gray"
 Defines the default shadow color for stencils. Default is "gray". More...
 
static Color SHADOWCOLOR = Color.Gray
 Defines the color to be used to draw shadows. Default is gray. More...
 
static int SHADOW_OFFSETX = 2
 Defines the x-offset to be used for shadows. Default is 2. More...
 
static int SHADOW_OFFSETY = 3
 Defines the y-offset to be used for shadows. Default is 3. More...
 
static string W3C_SHADOWCOLOR = "gray"
 Defines the color to be used to draw shadows in W3C standards. Default is gray. More...
 
static int ENTITY_SEGMENT = 30
 Defines the length of the horizontal segment of an Entity Relation. This can be overridden using mxConstants.STYLE_SEGMENT style. Default is 30. More...
 
static double RECTANGLE_ROUNDING_FACTOR = 0.15
 Defines the rounding factor for rounded rectangles in percent between 0 and 1. Values should be smaller than 0.5. Default is 0.15. More...
 
static double LINE_ARCSIZE = 10
 Defines the size of the arcs for rounded edges. Default is 10. More...
 
static int ARROW_SPACING = 10
 Defines the spacing between the arrow shape and its terminals. Default is 10. More...
 
static int ARROW_WIDTH = 30
 Defines the width of the arrow shape. Default is 30. More...
 
static int ARROW_SIZE = 30
 Defines the size of the arrowhead in the arrow shape. Default is 30. More...
 
static string NONE = "none"
 Defines the value for none. Default is "none". More...
 
static string STYLE_PERIMETER = "perimeter"
 Defines the key for the perimeter style. Possible values are the functions defined in mxPerimeter. More...
 
static string STYLE_SOURCE_PORT = "sourcePort"
 Defines the ID of the cell that should be used for computing the perimeter point of the source for an edge. This allows for graphically connecting to a cell while keeping the actual terminal of the edge. More...
 
static string STYLE_TARGET_PORT = "targetPort"
 Defines the ID of the cell that should be used for computing the perimeter point of the target for an edge. This allows for graphically connecting to a cell while keeping the actual terminal of the edge. More...
 
static string STYLE_OPACITY = "opacity"
 Defines the key for the opacity style (0-100). More...
 
static string STYLE_TEXT_OPACITY = "textOpacity"
 Defines the key for the text opacity style (0-100). More...
 
static string STYLE_OVERFLOW = "overflow"
 Defines the key for the overflow style. Possible values are "visible", "hidden" and "fill". The default value is "visible". This value specifies how overlapping vertex labels are handles. A value of "visible" will show the complete label. A value of "hidden" will clip the label so that it does not overlap the vertex bounds. A value of "fill" will use the vertex bounds for the label. More...
 
static string STYLE_ORTHOGONAL = "orthogonal"
 Defines if the connection points on either end of the edge should be More...
 
static string STYLE_EXIT_X = "exitX"
 Defines the key for the horizontal relative coordinate connection point More...
 
static string STYLE_EXIT_Y = "exitY"
 Defines the key for the vertical relative coordinate connection point More...
 
static string STYLE_EXIT_PERIMETER = "exitPerimeter"
 Defines if the perimeter should be used to find the exact entry point More...
 
static string STYLE_ENTRY_X = "entryX"
 Defines the key for the horizontal relative coordinate connection point More...
 
static string STYLE_ENTRY_Y = "entryY"
 Defines the key for the vertical relative coordinate connection point More...
 
static string STYLE_ENTRY_PERIMETER = "entryPerimeter"
 Defines if the perimeter should be used to find the exact entry point More...
 
static string STYLE_WHITE_SPACE = "whiteSpace"
 Defines the key for the white-space style. Possible values are "nowrap" and "wrap". The default value is "nowrap". This value specifies how white-space inside a HTML vertex label should be handled. A value of "nowrap" means the text will never wrap to the next line until a linefeed is encountered. A value of "wrap" means text will wrap when necessary. More...
 
static string STYLE_ROTATION = "rotation"
 Defines the key for the rotation style (0-360). More...
 
static string STYLE_FILLCOLOR = "fillColor"
 Defines the key for the fillColor style. The value is a string expression supported by ColorTranslator.FromHtml. More...
 
static string STYLE_GRADIENTCOLOR = "gradientColor"
 Defines the key for the gradientColor style. The value is a string expression supported by ColorTranslator.FromHtml. This is ignored if no fill color is defined. More...
 
static string STYLE_GRADIENT_DIRECTION = "gradientDirection"
 Defines the key for the gradient direction. Possible values are DIRECTION_EAST, DIRECTION_WEST, DIRECTION_NORTH and DIRECTION_SOUTH. Default is DIRECTION_SOUTH. Generally, and by default in mxGraph, gradient painting is done from the value of STYLE_FILLCOLOR to the value of STYLE_GRADIENTCOLOR. Taking the example of DIRECTION_NORTH, this means STYLE_FILLCOLOR color at the bottom of paint pattern and STYLE_GRADIENTCOLOR at top, with a gradient in-between. More...
 
static string STYLE_STROKECOLOR = "strokeColor"
 Defines the key for the strokeColor style. The value is a string expression supported by ColorTranslator.FromHtml. More...
 
static string STYLE_SEPARATORCOLOR = "separatorColor"
 Defines the key for the separatorColor style. The value is a string expression supported by ColorTranslator.FromHtml. This style is only used for SHAPE_SWIMLANE shapes. More...
 
static string STYLE_STROKEWIDTH = "strokeWidth"
 Defines the key for the strokeWidth style. The type of the value is float and the possible range is any non-negative value. The value reflects the stroke width in pixels. More...
 
static string STYLE_ALIGN = "align"
 Defines the key for the align style. Possible values are ALIGN_LEFT, ALIGN_CENTER and ALIGN_RIGHT. This value defines how the lines of the label are horizontally aligned. ALIGN_LEFT mean label text lines are aligned to left of the label bounds, ALIGN_RIGHT to the right of the label bounds and ALIGN_CENTER means the center of the text lines are aligned in the center of the label bounds. Note this value doesn't affect the positioning of the overall label bounds relative to the vertex, to move the label bounds horizontally, use STYLE_LABEL_POSITION More...
 
static string STYLE_VERTICAL_ALIGN = "verticalAlign"
 Defines the key for the verticalAlign style. Possible values are ALIGN_TOP, ALIGN_MIDDLE and ALIGN_BOTTOM. This value defines how the lines of the label are vertically aligned. ALIGN_TOP means the topmost label text line is aligned against the top of the label bounds, ALIGN_BOTTOM means the bottom-most label text line is aligned against the bottom of the label bounds and ALIGN_MIDDLE means there is equal spacing between the topmost text label line and the top of the label bounds and the bottom-most text label line and the bottom of the label bounds. Note this value doesn't affect the positioning of the overall label bounds relative to the vertex, to move the label bounds vertically, use STYLE_VERTICAL_LABEL_POSITION. More...
 
static String STYLE_LABEL_POSITION = "labelPosition"
 Defines the key for the horizontal label position of vertices. Possible values are ALIGN_LEFT, ALIGN_CENTER and ALIGN_RIGHT. Default is ALIGN_CENTER. The label align defines the position of the label relative to the cell. ALIGN_LEFT means the entire label bounds is placed completely just to the left of the vertex, ALIGN_RIGHT means adjust to the right and ALIGN_CENTER means the label bounds are vertically aligned with the bounds of the vertex. Note this value doesn't affect the positioning of label within the label bounds, to move the label horizontally within the label bounds, use STYLE_ALIGN. More...
 
static String STYLE_VERTICAL_LABEL_POSITION = "verticalLabelPosition"
 Defines the key for the vertical label position of vertices. Possible More...
 
static string STYLE_IMAGE_ALIGN = "imageAlign"
 Defines the key for the align style. Possible values are ALIGN_LEFT, ALIGN_CENTER and ALIGN_RIGHT. The value defines how any image in the vertex label is aligned horizontally within the label bounds of a SHAPE_LABEL shape. More...
 
static string STYLE_IMAGE_VERTICAL_ALIGN = "imageVerticalAlign"
 Defines the key for the verticalAlign style. Possible values are ALIGN_TOP, ALIGN_MIDDLE and ALIGN_BOTTOM. The value defines how any image in the vertex label is aligned vertically within the label bounds of a SHAPE_LABEL shape. More...
 
static String STYLE_GLASS = "glass"
 Defines the key for the glass style. Possible values are 0 (disabled) and 1(enabled). The default value is 0. This is used in mxLabel. More...
 
static string STYLE_IMAGE = "image"
 Defines the key for the image style. Possible values are any image URL, registered key in mxImageResources or short data URI as defined in mxImageBundle. The type of the value is String. This is the path to the image to image that is to be displayed within the label of a vertex. See mxGraphics2DCanvas.getImageForStyle, loadImage and setImageBasePath on how the image URL is resolved. Finally, mxUtils.loadImage is used for loading the image for a given URL. More...
 
static string STYLE_IMAGE_WIDTH = "imageWidth"
 Defines the key for the imageWidth style. The type of this value is int, the value is the image width in pixels and must be greated than 0. More...
 
static string STYLE_IMAGE_HEIGHT = "imageHeight"
 Defines the key for the imageHeight style The type of this value is int, the value is the image height in pixels and must be greater than 0. More...
 
static string STYLE_IMAGE_BACKGROUND = "imageBackground"
 Defines the key for the image background color. This style is only used More...
 
static string STYLE_IMAGE_BORDER = "imageBorder"
 Defines the key for the image border color. This style is only used for More...
 
static string STYLE_IMAGE_FLIPH = "imageFlipH"
 Defines the key for the horizontal image flip. This style is only used in mxImageShape. Possible values are 0 and 1. Default is 0. More...
 
static string STYLE_IMAGE_FLIPV = "imageFlipV"
 Defines the key for the vertical image flip. This style is only used in mxImageShape. Possible values are 0 and 1. Default is 0. More...
 
static String STYLE_STENCIL_FLIPH = "stencilFlipH"
 Defines the key for the horizontal stencil flip. This style is only used for <mxStencilShape>. Possible values are 0 and 1. Default is 0. More...
 
static String STYLE_STENCIL_FLIPV = "stencilFlipV"
 Defines the key for the vertical stencil flip. This style is only used for <mxStencilShape>. Possible values are 0 and 1. Default is 0. More...
 
static String STYLE_NOLABEL = "noLabel"
 Defines the key for the noLabel style. If this is true then no label is visible for a given cell. Possible values are true or false (1 or 0). Default is false (0). More...
 
static String STYLE_NOEDGESTYLE = "noEdgeStyle"
 Defines the key for the noEdgeStyle style. If this is true then no edge style is applied for a given edge. Possible values are true or false (1 or 0). Default is false. More...
 
static String STYLE_LABEL_BACKGROUNDCOLOR = "labelBackgroundColor"
 Defines the key for the label background color. The value is a string expression supported by ColorTranslator.FromHtml. More...
 
static String STYLE_LABEL_BORDERCOLOR = "labelBorderColor"
 Defines the key for the label border color. The value is a string expression supported by ColorTranslator.FromHtml. More...
 
static string STYLE_INDICATOR_SHAPE = "indicatorShape"
 Defines the key for the indicatorShape style. Possible values are any of the SHAPE_* constants. More...
 
static string STYLE_INDICATOR_IMAGE = "indicatorImage"
 Defines the key for the indicatorImage style. Possible values are any image URL, the type of the value is String. More...
 
static string STYLE_INDICATOR_COLOR = "indicatorColor"
 Defines the key for the indicatorColor style. The value is a string expression supported by ColorTranslator.FromHtml. More...
 
static string STYLE_INDICATOR_GRADIENTCOLOR = "indicatorGradientColor"
 Defines the key for the indicatorGradientColor style. The value is a string expression supported byColorTranslator.FromHtml. This style is only supported in SHAPE_LABEL shapes. More...
 
static string STYLE_INDICATOR_SPACING = "indicatorSpacing"
 Defines the key for the indicatorSpacing style (in px). More...
 
static string STYLE_INDICATOR_WIDTH = "indicatorWidth"
 Defines the key for the indicatorWidth style (in px). More...
 
static string STYLE_INDICATOR_HEIGHT = "indicatorHeight"
 Defines the key for the indicatorHeight style (in px). More...
 
static string STYLE_SHADOW = "shadow"
 Defines the key for the shadow style. The type of the value is boolean. This style applies to vertices and arrow style edges. More...
 
static String STYLE_SEGMENT = "segment"
 Defines the key for the segment style. The type of this value is float and the value represents the size of the horizontal segment of the entity relation style. Default is ENTITY_SEGMENT. More...
 
static string STYLE_ENDARROW = "endArrow"
 Defines the key for the endArrow style. Possible values are all constants in this class that start with ARROW_. This style is supported in the mxConnector shape. More...
 
static string STYLE_STARTARROW = "startArrow"
 Defines the key for the startArrow style. Possible values are all constants in this class that start with ARROW_. See STYLE_ENDARROW. This style is supported in the mxConnector shape. More...
 
static string STYLE_ENDSIZE = "endSize"
 Defines the key for the endSize style. The type of this value is float and the value represents the size of the end marker in pixels. More...
 
static string STYLE_STARTSIZE = "startSize"
 Defines the key for the startSize style. The type of this value is float and the value represents the size of the start marker or the size of the swimlane title region depending on the shape it is used for. More...
 
static string STYLE_DASHED = "dashed"
 Defines the key for the dashed style. The type of this value is boolean and the value determines whether or not an edge or border is drawn with a dashed pattern along the line. More...
 
static string STYLE_ROUNDED = "rounded"
 Defines the key for the rounded style. The type of this value is boolean. For edges this determines whether or not joins between edges segments are smoothed to a rounded finish. For vertices that have the rectangle shape, this determines whether or not the rectangle is rounded. More...
 
static string STYLE_SOURCE_PERIMETER_SPACING = "sourcePerimeterSpacing"
 Defines the key for the source perimeter spacing. The type of this value is double. This is the distance between the source connection point of an edge and the perimeter of the source vertex in pixels. This style only applies to edges. More...
 
static string STYLE_TARGET_PERIMETER_SPACING = "targetPerimeterSpacing"
 Defines the key for the target perimeter spacing. The type of this value is double. This is the distance between the target connection point of an edge and the perimeter of the target vertex in pixels. This style only applies to edges. More...
 
static string STYLE_PERIMETER_SPACING = "perimeterSpacing"
 Defines the key for the perimeter spacing. This is the distance between the connection point and the perimeter in pixels. When used in a vertex style, this applies to all incoming edges to floating ports (edges that terminate on the perimeter of the vertex). When used in an edge style, this spacing applies to the source and target separately, if they terminate in floating ports (on the perimeter of the vertex). More...
 
static string STYLE_SPACING = "spacing"
 Defines the key for the spacing. The value represents the spacing, in pixels, added to each side of a label in a vertex (style applies to vertices only). More...
 
static string STYLE_SPACING_TOP = "spacingTop"
 Defines the key for the spacingTop style. The value represents the spacing, in pixels, added to the top side of a label in a vertex (style applies to vertices only). More...
 
static string STYLE_SPACING_LEFT = "spacingLeft"
 Defines the key for the spacingLeft style. The value represents the spacing, in pixels, added to the left side of a label in a vertex (style applies to vertices only). More...
 
static string STYLE_SPACING_BOTTOM = "spacingBottom"
 Defines the key for the spacingBottom style The value represents the spacing, in pixels, added to the bottom side of a label in a vertex (style applies to vertices only). More...
 
static string STYLE_SPACING_RIGHT = "spacingRight"
 Defines the key for the spacingRight style The value represents the spacing, in pixels, added to the right side of a label in a vertex (style applies to vertices only). More...
 
static string STYLE_HORIZONTAL = "horizontal"
 Defines the key for the horizontal style. Possible values are true or false. This value only applies to vertices. If the STYLE_SHAPE is SHAPE_SWIMLANE a value of false indicates that the swimlane should be drawn vertically, true indicates to draw it horizontally. If the shape style does not indicate that this vertex is a swimlane, this value affects only whether the label is drawn horizontally or vertically. More...
 
static string STYLE_DIRECTION = "direction"
 Defines the key for the direction style. The direction style is used to specify the direction of certain shapes (eg. mxTriangle). Possible values are DIRECTION_EAST (default), DIRECTION_WEST, DIRECTION_NORTH and DIRECTION_SOUTH. This value only applies to vertices. More...
 
static string STYLE_ELBOW = "elbow"
 Defines the key for the elbow style. Possible values are ELBOW_HORIZONTAL and ELBOW_VERTICAL. Default is ELBOW_HORIZONTAL. This defines how the three segment orthogonal edge style leaves its terminal vertices. The vertical style leaves the terminal vertices at the top and bottom sides. More...
 
static string STYLE_FONTCOLOR = "fontColor"
 Defines the key for the fontColor style. The value is type String and of the expression supported by ColorTranslator.FromHtml. More...
 
static string STYLE_FONTFAMILY = "fontFamily"
 Defines the key for the fontFamily style. Possible values are names such as Arial; Dialog; Verdana; Times New Roman. The value is of type String. More...
 
static string STYLE_FONTSIZE = "fontSize"
 Defines the key for the fontSize style (in points). The type of the value is int. More...
 
static string STYLE_FONTSTYLE = "fontStyle"
 Defines the key for the fontStyle style. Values may be any logical AND (sum) of FONT_BOLD, FONT_ITALIC, FONT_UNDERLINE and FONT_SHADOW. The type of the value is int. More...
 
static string STYLE_SHAPE = "shape"
 Defines the key for the shape style. Possible values are any of the SHAPE_* constants. More...
 
static string STYLE_EDGE = "edgeStyle"
 Takes a function that creates points. Possible values are the functions defined in mxEdgeStyle. More...
 
static string STYLE_LOOP = "loopStyle"
 Defines the key for the loop style. Possible values are the functions defined in mxEdgeStyle. More...
 
static String STYLE_ROUTING_CENTER_X = "routingCenterX"
 Defines the key for the horizontal routing center. Possible values are between -0.5 and 0.5. This is the relative offset from the center used for connecting edges. The type of this value is float. More...
 
static String STYLE_ROUTING_CENTER_Y = "routingCenterY"
 Defines the key for the vertical routing center. Possible values are between -0.5 and 0.5. This is the relative offset from the center used for connecting edges. The type of this value is float. More...
 
+

Detailed Description

+

Defines various global constants.

+

Member Data Documentation

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

ARROW_BLOCK

+ +

Referenced by com.mxgraph.mxGdiCanvas.DrawMarker().

+ +
+
+ +
+
+ + + + +
const string com.mxgraph.mxConstants.ARROW_CLASSIC = "classic"
+
+
+ +
+
+ + + + +
const string com.mxgraph.mxConstants.ARROW_DIAMOND = "diamond"
+
+ +

ARROW_OPEN

+ +

Referenced by com.mxgraph.mxGdiCanvas.DrawMarker().

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

ARROW_OPEN

+ +

Referenced by com.mxgraph.mxGdiCanvas.DrawMarker().

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

ARROW_BLOCK

+ +

Referenced by com.mxgraph.mxGdiCanvas.DrawMarker().

+ +
+
+ +
+
+ + + + + +
+ + + + +
int com.mxgraph.mxConstants.ARROW_SIZE = 30
+
+static
+
+ +

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

+ +

Referenced by com.mxgraph.mxGdiCanvas.DrawLine().

+ +
+
+ +
+
+ + + + + +
+ + + + +
int com.mxgraph.mxConstants.ARROW_SPACING = 10
+
+static
+
+ +

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

+ +

Referenced by com.mxgraph.mxGdiCanvas.DrawLine().

+ +
+
+ +
+
+ + + + + +
+ + + + +
int com.mxgraph.mxConstants.ARROW_WIDTH = 30
+
+static
+
+ +

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

+ +

Referenced by com.mxgraph.mxGdiCanvas.DrawLine(), and com.mxgraph.mxGraphView.UpdateBoundingBox().

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

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

+ +
+
+ +
+
+ + + + + +
+ + + + +
String com.mxgraph.mxConstants.DEFAULT_FONTFAMILY = "Arial"
+
+static
+
+ +

Default family for fonts. Default is Arial.

+ +

Referenced by com.mxgraph.mxUtils.GetFont().

+ +
+
+ +
+
+ + + + + +
+ + + + +
float com.mxgraph.mxConstants.DEFAULT_FONTSIZE = 11
+
+static
+
+ +

Default size for fonts. Value is 11.

+ +

Referenced by com.mxgraph.mxUtils.GetFont().

+ +
+
+ +
+
+ + + + + +
+ + + + +
double com.mxgraph.mxConstants.DEFAULT_HOTSPOT = 0.3
+
+static
+
+ +

Defines the portion of the cell which is

+

to be used as a connectable region.

+ +
+
+ +
+
+ + + + + +
+ + + + +
int com.mxgraph.mxConstants.DEFAULT_IMAGESIZE = 24
+
+static
+
+ +

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

+ +

Referenced by com.mxgraph.mxGdiCanvas.DrawShape(), and com.mxgraph.mxGraphView.UpdateBoundingBox().

+ +
+
+ +
+
+ + + + + +
+ + + + +
float com.mxgraph.mxConstants.DEFAULT_MARKERSIZE = 6
+
+static
+
+ +

Default size for markers. Value is 6.

+ +

Referenced by com.mxgraph.mxGdiCanvas.DrawLine(), and com.mxgraph.mxGraphView.UpdateBoundingBox().

+ +
+
+ +
+
+ + + + + +
+ + + + +
float com.mxgraph.mxConstants.DEFAULT_STARTSIZE = 40
+
+static
+
+ +

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

+ +

Referenced by com.mxgraph.mxGdiCanvas.DrawCell(), com.mxgraph.mxUtils.GetLabelPaintBounds(), and com.mxgraph.mxGraph.HitsSwimlaneContent().

+ +
+
+ +
+
+ + + + +
const string com.mxgraph.mxConstants.DIRECTION_EAST = "east"
+
+
+ +
+
+ + + + +
const string com.mxgraph.mxConstants.DIRECTION_NORTH = "north"
+
+
+ +
+
+ + + + +
const string com.mxgraph.mxConstants.DIRECTION_SOUTH = "south"
+
+
+ +
+
+ + + + +
const string com.mxgraph.mxConstants.DIRECTION_WEST = "west"
+
+
+ +
+
+ + + + +
const string com.mxgraph.mxConstants.EDGESTYLE_ELBOW = "elbowEdgeStyle"
+
+ +

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

+

for the STYLE_EDGE style.

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

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

+

for the STYLE_EDGE style.

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

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

+

for the STYLE_EDGE style.

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

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

+

for the STYLE_EDGE style.

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

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

+

for the STYLE_EDGE style.

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

ELBOW_HORIZONTAL

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

ELBOW_VERTICAL

+ +
+
+ +
+
+ + + + + +
+ + + + +
int com.mxgraph.mxConstants.ENTITY_SEGMENT = 30
+
+static
+
+ +

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

+ +
+
+ +
+
+ + + + +
const int com.mxgraph.mxConstants.FONT_BOLD = 1
+
+
+ +
+
+ + + + +
const int com.mxgraph.mxConstants.FONT_ITALIC = 2
+
+
+ +
+
+ + + + +
const int com.mxgraph.mxConstants.FONT_SHADOW = 8
+
+ +

FONT_SHADOW

+ +
+
+ +
+
+ + + + + +
+ + + + +
double com.mxgraph.mxConstants.FONT_SIZEFACTOR = 0.75
+
+static
+
+ +

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

+ +

Referenced by com.mxgraph.mxUtils.GetFont(), and com.mxgraph.mxGdiCanvas2D.UpdateFont().

+ +
+
+ +
+
+ + + + +
const int com.mxgraph.mxConstants.FONT_UNDERLINE = 4
+
+ +

FONT_UNDERLINE

+ +

Referenced by com.mxgraph.mxUtils.GetFont(), and com.mxgraph.mxGdiCanvas2D.UpdateFont().

+ +
+
+ +
+
+ + + + + +
+ + + + +
int com.mxgraph.mxConstants.LABEL_INSET = 3
+
+static
+
+ +

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

+ +

Referenced by com.mxgraph.mxUtils.GetScaledLabelBounds().

+ +
+
+ +
+
+ + + + + +
+ + + + +
double com.mxgraph.mxConstants.LINE_ARCSIZE = 10
+
+static
+
+ +

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

+ +

Referenced by com.mxgraph.mxGdiCanvas.DrawLine().

+ +
+
+ +
+
+ + + + + +
+ + + + +
int com.mxgraph.mxConstants.LINESPACING = 2
+
+static
+
+ +

Specifies the line spacing. Default is 2.

+ +
+
+ +
+
+ + + + + +
+ + + + +
double com.mxgraph.mxConstants.MIN_HOTSPOT_SIZE = 8
+
+static
+
+ +

Defines the minimum size in pixels of the

+

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

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.NONE = "none"
+
+static
+
+ +

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

+ +

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

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

Defines the SVG namespace.

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

Defines the XHTML namespace.

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

Defines the XLink namespace.

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

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

+

for the STYLE_PERIMETER style.

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

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

+

for the STYLE_PERIMETER style.

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

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

+

for the STYLE_PERIMETER style.

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

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

+

for the STYLE_PERIMETER style.

+ +
+
+ +
+
+ + + + + +
+ + + + +
double com.mxgraph.mxConstants.RECTANGLE_ROUNDING_FACTOR = 0.15
+
+static
+
+ +

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

+ +

Referenced by com.mxgraph.mxStencil.DrawElement().

+ +
+
+ +
+
+ + + + + +
+ + + + +
int com.mxgraph.mxConstants.SHADOW_OFFSETX = 2
+
+static
+
+
+ +
+
+ + + + + +
+ + + + +
int com.mxgraph.mxConstants.SHADOW_OFFSETY = 3
+
+static
+
+
+ +
+
+ + + + + +
+ + + + +
Color com.mxgraph.mxConstants.SHADOWCOLOR = Color.Gray
+
+static
+
+ +

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

+ +

Referenced by com.mxgraph.mxGdiCanvas.DrawOval(), com.mxgraph.mxGdiCanvas.DrawPath(), com.mxgraph.mxGdiCanvas.DrawPolygon(), and com.mxgraph.mxGdiCanvas.DrawRect().

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

SHAPE_ACTOR

+ +

Referenced by com.mxgraph.mxGdiCanvas.DrawShape().

+ +
+
+ +
+
+ + + + +
const string com.mxgraph.mxConstants.SHAPE_ARROW = "arrow"
+
+
+ +
+
+ + + + +
const string com.mxgraph.mxConstants.SHAPE_CLOUD = "cloud"
+
+ +

SHAPE_CLOUD

+ +

Referenced by com.mxgraph.mxGdiCanvas.DrawShape().

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

SHAPE_CONNECTOR

+ +

Referenced by com.mxgraph.mxStylesheet.CreateDefaultEdgeStyle().

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

SHAPE_CYLINDER

+ +

Referenced by com.mxgraph.mxGdiCanvas.DrawShape().

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

SHAPE_DOUBLE_ELLIPSE

+ +

Referenced by com.mxgraph.mxGdiCanvas.DrawShape().

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

SHAPE_ELLIPSE

+ +

Referenced by com.mxgraph.mxGdiCanvas.DrawShape().

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

SHAPE_HEXAGON

+ +

Referenced by com.mxgraph.mxGdiCanvas.DrawShape().

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

SHAPE_IMAGE

+ +
+
+ +
+
+ + + + +
const string com.mxgraph.mxConstants.SHAPE_LABEL = "label"
+
+
+ +
+
+ + + + +
const string com.mxgraph.mxConstants.SHAPE_LINE = "line"
+
+ +

SHAPE_LINE

+ +

Referenced by com.mxgraph.mxGdiCanvas.DrawShape().

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

SHAPE_RECTANGLE

+ +

Referenced by com.mxgraph.mxStylesheet.CreateDefaultVertexStyle().

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

SHAPE_RHOMBUS

+ +

Referenced by com.mxgraph.mxGdiCanvas.DrawShape().

+ +
+
+ +
+
+ + + + +
const string com.mxgraph.mxConstants.SHAPE_SWIMLANE = "swimlane"
+
+
+ +
+
+ + + + +
const string com.mxgraph.mxConstants.SHAPE_TRIANGLE = "triangle"
+
+ +

SHAPE_TRIANGLE

+ +

Referenced by com.mxgraph.mxGdiCanvas.DrawShape().

+ +
+
+ +
+
+ + + + + +
+ + + + +
int com.mxgraph.mxConstants.STENCIL_SHADOW_OPACITY = 1
+
+static
+
+ +

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

+ +

Referenced by com.mxgraph.mxStencil.DrawShadow().

+ +
+
+ +
+
+ + + + + +
+ + + + +
String com.mxgraph.mxConstants.STENCIL_SHADOWCOLOR = "gray"
+
+static
+
+ +

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

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_ALIGN = "align"
+
+static
+
+ +

Defines the key for the align style. Possible values are ALIGN_LEFT, ALIGN_CENTER and ALIGN_RIGHT. This value defines how the lines of the label are horizontally aligned. ALIGN_LEFT mean label text lines are aligned to left of the label bounds, ALIGN_RIGHT to the right of the label bounds and ALIGN_CENTER means the center of the text lines are aligned in the center of the label bounds. Note this value doesn't affect the positioning of the overall label bounds relative to the vertex, to move the label bounds horizontally, use STYLE_LABEL_POSITION

+ +

Referenced by com.mxgraph.mxStylesheet.CreateDefaultEdgeStyle(), com.mxgraph.mxStylesheet.CreateDefaultVertexStyle(), com.mxgraph.mxUtils.GetScaledLabelBounds(), and com.mxgraph.mxUtils.GetStringFormat().

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_DASHED = "dashed"
+
+static
+
+ +

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

+ +

Referenced by com.mxgraph.mxGdiCanvas.DrawLine(), com.mxgraph.mxGdiCanvas.DrawShape(), and com.mxgraph.mxStencil.PaintShape().

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_DIRECTION = "direction"
+
+static
+
+ +

Defines the key for the direction style. The direction style is used to specify the direction of certain shapes (eg. mxTriangle). Possible values are DIRECTION_EAST (default), DIRECTION_WEST, DIRECTION_NORTH and DIRECTION_SOUTH. This value only applies to vertices.

+ +

Referenced by com.mxgraph.mxGdiCanvas.DrawShape(), com.mxgraph.mxStencil.DrawShape(), and com.mxgraph.mxStencil.PaintShape().

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_EDGE = "edgeStyle"
+
+static
+
+ +

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

+ +

Referenced by com.mxgraph.mxGraphView.GetEdgeStyle().

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_ELBOW = "elbow"
+
+static
+
+ +

Defines the key for the elbow style. Possible values are ELBOW_HORIZONTAL and ELBOW_VERTICAL. Default is ELBOW_HORIZONTAL. This defines how the three segment orthogonal edge style leaves its terminal vertices. The vertical style leaves the terminal vertices at the top and bottom sides.

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_ENDARROW = "endArrow"
+
+static
+
+ +

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

+ +

Referenced by com.mxgraph.mxStylesheet.CreateDefaultEdgeStyle(), com.mxgraph.mxGdiCanvas.DrawLine(), and com.mxgraph.mxGraphView.UpdateBoundingBox().

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_ENDSIZE = "endSize"
+
+static
+
+ +

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

+ +

Referenced by com.mxgraph.mxGdiCanvas.DrawLine().

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_ENTRY_PERIMETER = "entryPerimeter"
+
+static
+
+ +

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

+

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

+ +

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

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_ENTRY_X = "entryX"
+
+static
+
+ +

Defines the key for the horizontal relative coordinate connection point

+

of an edge with its target terminal.

+ +

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

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_ENTRY_Y = "entryY"
+
+static
+
+ +

Defines the key for the vertical relative coordinate connection point

+

of an edge with its target terminal.

+ +

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

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_EXIT_PERIMETER = "exitPerimeter"
+
+static
+
+ +

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

+

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

+ +

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

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_EXIT_X = "exitX"
+
+static
+
+ +

Defines the key for the horizontal relative coordinate connection point

+

of an edge with its source terminal.

+ +

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

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_EXIT_Y = "exitY"
+
+static
+
+ +

Defines the key for the vertical relative coordinate connection point

+

of an edge with its source terminal.

+ +

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

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_FILLCOLOR = "fillColor"
+
+static
+
+ +

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

+ +

Referenced by com.mxgraph.mxStylesheet.CreateDefaultVertexStyle(), com.mxgraph.mxGdiCanvas.DrawCell(), com.mxgraph.mxGdiCanvas.DrawLine(), com.mxgraph.mxGdiCanvas.DrawShape(), and com.mxgraph.mxStencil.PaintShape().

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_FONTCOLOR = "fontColor"
+
+static
+
+ +

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

+ +

Referenced by com.mxgraph.mxStylesheet.CreateDefaultEdgeStyle(), com.mxgraph.mxStylesheet.CreateDefaultVertexStyle(), and com.mxgraph.mxGdiCanvas.DrawText().

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_FONTFAMILY = "fontFamily"
+
+static
+
+ +

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

+ +

Referenced by com.mxgraph.mxUtils.GetFont().

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_FONTSIZE = "fontSize"
+
+static
+
+ +

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

+ +

Referenced by com.mxgraph.mxUtils.GetFont().

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_FONTSTYLE = "fontStyle"
+
+static
+
+ +

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

+ +

Referenced by com.mxgraph.mxUtils.GetFont().

+ +
+
+ +
+
+ + + + + +
+ + + + +
String com.mxgraph.mxConstants.STYLE_GLASS = "glass"
+
+static
+
+ +

Defines the key for the glass style. Possible values are 0 (disabled) and 1(enabled). The default value is 0. This is used in mxLabel.

+ +

Referenced by com.mxgraph.mxGdiCanvas.DrawShape().

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_GRADIENT_DIRECTION = "gradientDirection"
+
+static
+
+ +

Defines the key for the gradient direction. Possible values are DIRECTION_EAST, DIRECTION_WEST, DIRECTION_NORTH and DIRECTION_SOUTH. Default is DIRECTION_SOUTH. Generally, and by default in mxGraph, gradient painting is done from the value of STYLE_FILLCOLOR to the value of STYLE_GRADIENTCOLOR. Taking the example of DIRECTION_NORTH, this means STYLE_FILLCOLOR color at the bottom of paint pattern and STYLE_GRADIENTCOLOR at top, with a gradient in-between.

+ +

Referenced by com.mxgraph.mxGdiCanvas.DrawLine(), and com.mxgraph.mxGdiCanvas.DrawShape().

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_GRADIENTCOLOR = "gradientColor"
+
+static
+
+ +

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

+ +

Referenced by com.mxgraph.mxGdiCanvas.DrawLine(), com.mxgraph.mxGdiCanvas.DrawShape(), and com.mxgraph.mxStencil.PaintShape().

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_HORIZONTAL = "horizontal"
+
+static
+
+ +

Defines the key for the horizontal style. Possible values are true or false. This value only applies to vertices. If the STYLE_SHAPE is SHAPE_SWIMLANE a value of false indicates that the swimlane should be drawn vertically, true indicates to draw it horizontally. If the shape style does not indicate that this vertex is a swimlane, this value affects only whether the label is drawn horizontally or vertically.

+ +

Referenced by com.mxgraph.mxGdiCanvas.DrawCell(), com.mxgraph.mxGdiCanvas.DrawText(), com.mxgraph.mxUtils.GetLabelPaintBounds(), com.mxgraph.mxUtils.GetScaledLabelBounds(), and com.mxgraph.mxGraph.HitsSwimlaneContent().

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_IMAGE = "image"
+
+static
+
+ +

Defines the key for the image style. Possible values are any image URL, registered key in mxImageResources or short data URI as defined in mxImageBundle. The type of the value is String. This is the path to the image to image that is to be displayed within the label of a vertex. See mxGraphics2DCanvas.getImageForStyle, loadImage and setImageBasePath on how the image URL is resolved. Finally, mxUtils.loadImage is used for loading the image for a given URL.

+ +

Referenced by com.mxgraph.mxGdiCanvas.DrawShape(), com.mxgraph.mxBasicCanvas.GetImageForStyle(), com.mxgraph.mxGraph.PostProcessCellStyle(), and com.mxgraph.mxGraphView.UpdateBoundingBox().

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_IMAGE_ALIGN = "imageAlign"
+
+static
+
+ +

Defines the key for the align style. Possible values are ALIGN_LEFT, ALIGN_CENTER and ALIGN_RIGHT. The value defines how any image in the vertex label is aligned horizontally within the label bounds of a SHAPE_LABEL shape.

+ +

Referenced by com.mxgraph.mxGdiCanvas.DrawShape(), and com.mxgraph.mxGraphView.UpdateBoundingBox().

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_IMAGE_BACKGROUND = "imageBackground"
+
+static
+
+ +

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

+

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

+ +

Referenced by com.mxgraph.mxGdiCanvas.DrawShape().

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_IMAGE_BORDER = "imageBorder"
+
+static
+
+ +

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

+

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

+ +

Referenced by com.mxgraph.mxGdiCanvas.DrawShape().

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_IMAGE_FLIPH = "imageFlipH"
+
+static
+
+ +

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

+ +

Referenced by com.mxgraph.mxGdiCanvas.DrawShape().

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_IMAGE_FLIPV = "imageFlipV"
+
+static
+
+ +

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

+ +

Referenced by com.mxgraph.mxGdiCanvas.DrawShape().

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_IMAGE_HEIGHT = "imageHeight"
+
+static
+
+ +

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

+ +

Referenced by com.mxgraph.mxGdiCanvas.DrawShape(), and com.mxgraph.mxGraphView.UpdateBoundingBox().

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_IMAGE_VERTICAL_ALIGN = "imageVerticalAlign"
+
+static
+
+ +

Defines the key for the verticalAlign style. Possible values are ALIGN_TOP, ALIGN_MIDDLE and ALIGN_BOTTOM. The value defines how any image in the vertex label is aligned vertically within the label bounds of a SHAPE_LABEL shape.

+ +

Referenced by com.mxgraph.mxGdiCanvas.DrawShape(), and com.mxgraph.mxGraphView.UpdateBoundingBox().

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_IMAGE_WIDTH = "imageWidth"
+
+static
+
+ +

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

+ +

Referenced by com.mxgraph.mxGdiCanvas.DrawShape(), and com.mxgraph.mxGraphView.UpdateBoundingBox().

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_INDICATOR_COLOR = "indicatorColor"
+
+static
+
+ +

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

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_INDICATOR_GRADIENTCOLOR = "indicatorGradientColor"
+
+static
+
+ +

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

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_INDICATOR_HEIGHT = "indicatorHeight"
+
+static
+
+ +

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

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_INDICATOR_IMAGE = "indicatorImage"
+
+static
+
+ +

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

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_INDICATOR_SHAPE = "indicatorShape"
+
+static
+
+ +

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

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_INDICATOR_SPACING = "indicatorSpacing"
+
+static
+
+ +

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

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_INDICATOR_WIDTH = "indicatorWidth"
+
+static
+
+ +

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

+ +
+
+ +
+
+ + + + + +
+ + + + +
String com.mxgraph.mxConstants.STYLE_LABEL_BACKGROUNDCOLOR = "labelBackgroundColor"
+
+static
+
+ +

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

+ +

Referenced by com.mxgraph.mxGdiCanvas.DrawText().

+ +
+
+ +
+
+ + + + + +
+ + + + +
String com.mxgraph.mxConstants.STYLE_LABEL_BORDERCOLOR = "labelBorderColor"
+
+static
+
+ +

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

+ +

Referenced by com.mxgraph.mxGdiCanvas.DrawText().

+ +
+
+ +
+
+ + + + + +
+ + + + +
String com.mxgraph.mxConstants.STYLE_LABEL_POSITION = "labelPosition"
+
+static
+
+ +

Defines the key for the horizontal label position of vertices. Possible values are ALIGN_LEFT, ALIGN_CENTER and ALIGN_RIGHT. Default is ALIGN_CENTER. The label align defines the position of the label relative to the cell. ALIGN_LEFT means the entire label bounds is placed completely just to the left of the vertex, ALIGN_RIGHT means adjust to the right and ALIGN_CENTER means the label bounds are vertically aligned with the bounds of the vertex. Note this value doesn't affect the positioning of label within the label bounds, to move the label horizontally within the label bounds, use STYLE_ALIGN.

+ +

Referenced by com.mxgraph.mxGraphView.UpdateVertexLabelOffset().

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_LOOP = "loopStyle"
+
+static
+
+ +

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

+ +

Referenced by com.mxgraph.mxGraphView.GetEdgeStyle().

+ +
+
+ +
+
+ + + + + +
+ + + + +
String com.mxgraph.mxConstants.STYLE_NOEDGESTYLE = "noEdgeStyle"
+
+static
+
+ +

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

+ +

Referenced by com.mxgraph.mxGraphView.GetEdgeStyle().

+ +
+
+ +
+
+ + + + + +
+ + + + +
String com.mxgraph.mxConstants.STYLE_NOLABEL = "noLabel"
+
+static
+
+ +

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

+ +

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

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_OPACITY = "opacity"
+
+static
+
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_ORTHOGONAL = "orthogonal"
+
+static
+
+ +

Defines if the connection points on either end of the edge should be

+

computed so that the edge is vertical or horizontal if possible and if the point is not at a fixed location. Default is false. This is used in mxGraph.IsOrthogonal, which also returns true if the edgeStyle of the edge is an elbow or entity.

+ +

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

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_OVERFLOW = "overflow"
+
+static
+
+ +

Defines the key for the overflow style. Possible values are "visible", "hidden" and "fill". The default value is "visible". This value specifies how overlapping vertex labels are handles. A value of "visible" will show the complete label. A value of "hidden" will clip the label so that it does not overlap the vertex bounds. A value of "fill" will use the vertex bounds for the label.

+ +

Referenced by com.mxgraph.mxGraphView.UpdateBoundingBox(), and com.mxgraph.mxGraphView.UpdateLabelBounds().

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_PERIMETER = "perimeter"
+
+static
+
+ +

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

+ +

Referenced by com.mxgraph.mxStylesheet.CreateDefaultVertexStyle(), and com.mxgraph.mxGraphView.GetPerimeterFunction().

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_PERIMETER_SPACING = "perimeterSpacing"
+
+static
+
+ +

Defines the key for the perimeter spacing. This is the distance between the connection point and the perimeter in pixels. When used in a vertex style, this applies to all incoming edges to floating ports (edges that terminate on the perimeter of the vertex). When used in an edge style, this spacing applies to the source and target separately, if they terminate in floating ports (on the perimeter of the vertex).

+ +

Referenced by com.mxgraph.mxGraphView.GetPerimeterBounds(), and com.mxgraph.mxGraphView.UpdateFloatingTerminalPoint().

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_ROTATION = "rotation"
+
+static
+
+ +

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

+ +

Referenced by com.mxgraph.mxGdiCanvas.DrawCell(), com.mxgraph.mxStencil.PaintShape(), and com.mxgraph.mxGraphView.UpdateBoundingBox().

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_ROUNDED = "rounded"
+
+static
+
+ +

Defines the key for the rounded style. The type of this value is boolean. For edges this determines whether or not joins between edges segments are smoothed to a rounded finish. For vertices that have the rectangle shape, this determines whether or not the rectangle is rounded.

+ +

Referenced by com.mxgraph.mxGdiCanvas.DrawCell(), com.mxgraph.mxGdiCanvas.DrawLine(), and com.mxgraph.mxGdiCanvas.DrawShape().

+ +
+
+ +
+
+ + + + + +
+ + + + +
String com.mxgraph.mxConstants.STYLE_ROUTING_CENTER_X = "routingCenterX"
+
+static
+
+ +

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

+ +

Referenced by com.mxgraph.mxGraphView.GetRoutingCenterX().

+ +
+
+ +
+
+ + + + + +
+ + + + +
String com.mxgraph.mxConstants.STYLE_ROUTING_CENTER_Y = "routingCenterY"
+
+static
+
+ +

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

+ +

Referenced by com.mxgraph.mxGraphView.GetRoutingCenterY().

+ +
+
+ +
+
+ + + + + +
+ + + + +
String com.mxgraph.mxConstants.STYLE_SEGMENT = "segment"
+
+static
+
+ +

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

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_SEPARATORCOLOR = "separatorColor"
+
+static
+
+ +

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

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_SHADOW = "shadow"
+
+static
+
+ +

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

+ +

Referenced by com.mxgraph.mxGdiCanvas.DrawLine(), com.mxgraph.mxGdiCanvas.DrawShape(), com.mxgraph.mxStencil.PaintShape(), and com.mxgraph.mxGraphView.UpdateBoundingBox().

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_SHAPE = "shape"
+
+static
+
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_SOURCE_PERIMETER_SPACING = "sourcePerimeterSpacing"
+
+static
+
+ +

Defines the key for the source perimeter spacing. The type of this value is double. This is the distance between the source connection point of an edge and the perimeter of the source vertex in pixels. This style only applies to edges.

+ +

Referenced by com.mxgraph.mxGraphView.UpdateFloatingTerminalPoint().

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_SOURCE_PORT = "sourcePort"
+
+static
+
+ +

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

+ +

Referenced by com.mxgraph.mxGraphView.GetTerminalPort().

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_SPACING = "spacing"
+
+static
+
+ +

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

+ +

Referenced by com.mxgraph.mxGdiCanvas.DrawShape(), and com.mxgraph.mxUtils.GetScaledLabelBounds().

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_SPACING_BOTTOM = "spacingBottom"
+
+static
+
+ +

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

+ +

Referenced by com.mxgraph.mxUtils.GetScaledLabelBounds().

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_SPACING_LEFT = "spacingLeft"
+
+static
+
+ +

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

+ +

Referenced by com.mxgraph.mxUtils.GetScaledLabelBounds().

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_SPACING_RIGHT = "spacingRight"
+
+static
+
+ +

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

+ +

Referenced by com.mxgraph.mxUtils.GetScaledLabelBounds().

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_SPACING_TOP = "spacingTop"
+
+static
+
+ +

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

+ +

Referenced by com.mxgraph.mxUtils.GetScaledLabelBounds().

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_STARTARROW = "startArrow"
+
+static
+
+ +

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

+ +

Referenced by com.mxgraph.mxGdiCanvas.DrawLine(), and com.mxgraph.mxGraphView.UpdateBoundingBox().

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_STARTSIZE = "startSize"
+
+static
+
+ +

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

+ +

Referenced by com.mxgraph.mxGdiCanvas.DrawCell(), com.mxgraph.mxGdiCanvas.DrawLine(), com.mxgraph.mxUtils.GetLabelPaintBounds(), and com.mxgraph.mxGraph.HitsSwimlaneContent().

+ +
+
+ +
+
+ + + + + +
+ + + + +
String com.mxgraph.mxConstants.STYLE_STENCIL_FLIPH = "stencilFlipH"
+
+static
+
+ +

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

+ +

Referenced by com.mxgraph.mxStencil.PaintShape().

+ +
+
+ +
+
+ + + + + +
+ + + + +
String com.mxgraph.mxConstants.STYLE_STENCIL_FLIPV = "stencilFlipV"
+
+static
+
+ +

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

+ +

Referenced by com.mxgraph.mxStencil.PaintShape().

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_STROKECOLOR = "strokeColor"
+
+static
+
+ +

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

+ +

Referenced by com.mxgraph.mxStylesheet.CreateDefaultEdgeStyle(), com.mxgraph.mxStylesheet.CreateDefaultVertexStyle(), com.mxgraph.mxGdiCanvas.DrawLine(), com.mxgraph.mxGdiCanvas.DrawShape(), and com.mxgraph.mxStencil.PaintShape().

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_STROKEWIDTH = "strokeWidth"
+
+static
+
+ +

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

+ +

Referenced by com.mxgraph.mxGdiCanvas.DrawGlassEffect(), com.mxgraph.mxGdiCanvas.DrawLine(), com.mxgraph.mxGdiCanvas.DrawShape(), com.mxgraph.mxStencil.DrawShape(), com.mxgraph.mxStencil.PaintShape(), and com.mxgraph.mxGraphView.UpdateBoundingBox().

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_TARGET_PERIMETER_SPACING = "targetPerimeterSpacing"
+
+static
+
+ +

Defines the key for the target perimeter spacing. The type of this value is double. This is the distance between the target connection point of an edge and the perimeter of the target vertex in pixels. This style only applies to edges.

+ +

Referenced by com.mxgraph.mxGraphView.UpdateFloatingTerminalPoint().

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_TARGET_PORT = "targetPort"
+
+static
+
+ +

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

+ +

Referenced by com.mxgraph.mxGraphView.GetTerminalPort().

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_TEXT_OPACITY = "textOpacity"
+
+static
+
+ +

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

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_VERTICAL_ALIGN = "verticalAlign"
+
+static
+
+ +

Defines the key for the verticalAlign style. Possible values are ALIGN_TOP, ALIGN_MIDDLE and ALIGN_BOTTOM. This value defines how the lines of the label are vertically aligned. ALIGN_TOP means the topmost label text line is aligned against the top of the label bounds, ALIGN_BOTTOM means the bottom-most label text line is aligned against the bottom of the label bounds and ALIGN_MIDDLE means there is equal spacing between the topmost text label line and the top of the label bounds and the bottom-most text label line and the bottom of the label bounds. Note this value doesn't affect the positioning of the overall label bounds relative to the vertex, to move the label bounds vertically, use STYLE_VERTICAL_LABEL_POSITION.

+ +

Referenced by com.mxgraph.mxStylesheet.CreateDefaultEdgeStyle(), com.mxgraph.mxStylesheet.CreateDefaultVertexStyle(), com.mxgraph.mxUtils.GetScaledLabelBounds(), and com.mxgraph.mxUtils.GetStringFormat().

+ +
+
+ +
+
+ + + + + +
+ + + + +
String com.mxgraph.mxConstants.STYLE_VERTICAL_LABEL_POSITION = "verticalLabelPosition"
+
+static
+
+ +

Defines the key for the vertical label position of vertices. Possible

+

values are ALIGN_TOP, ALIGN_BOTTOM and ALIGN_MIDDLE. Default is ALIGN_MIDDLE. The label align defines the position of the label relative to the cell. ALIGN_TOP means the entire label bounds is placed completely just on the top of the vertex, ALIGN_BOTTOM means adjust on the bottom and ALIGN_MIDDLE means the label bounds are horizontally aligned with the bounds of the vertex. Note this value doesn't affect the positioning of label within the label bounds, to move the label vertically within the label bounds, use STYLE_VERTICAL_ALIGN.

+ +

Referenced by com.mxgraph.mxGraphView.UpdateVertexLabelOffset().

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.STYLE_WHITE_SPACE = "whiteSpace"
+
+static
+
+ +

Defines the key for the white-space style. Possible values are "nowrap" and "wrap". The default value is "nowrap". This value specifies how white-space inside a HTML vertex label should be handled. A value of "nowrap" means the text will never wrap to the next line until a linefeed is encountered. A value of "wrap" means text will wrap when necessary.

+ +

Referenced by com.mxgraph.mxUtils.GetLabelPaintBounds(), and com.mxgraph.mxUtils.GetStringFormat().

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxConstants.W3C_SHADOWCOLOR = "gray"
+
+static
+
+ +

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

+ +
+
+
The documentation for this class was generated from the following file:
    +
  • src/utils/mxConstants.cs
  • +
+
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxEdgeStyle-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxEdgeStyle-members.html new file mode 100644 index 000000000..f00c53d08 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxEdgeStyle-members.html @@ -0,0 +1,69 @@ + + + + + + +mxGraph: Member List + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+
+
com.mxgraph.mxEdgeStyle Member List
+
+ + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxEdgeStyle.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxEdgeStyle.html new file mode 100644 index 000000000..a09f2bccb --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxEdgeStyle.html @@ -0,0 +1,210 @@ + + + + + + +mxGraph: com.mxgraph.mxEdgeStyle Class Reference + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+ +
+
com.mxgraph.mxEdgeStyle Class Reference
+
+
+ +

Provides various edge styles to be used as the values for mxConstants.STYLE_EDGE in a cell style. + More...

+ + + + + + + + + + + + + + + + + +

+Static Public Attributes

static mxEdgeStyleFunction EntityRelation
 Implements an entity relation style for edges (as used in database schema diagrams). More...
 
static mxEdgeStyleFunction Loop
 Implements a self-reference, aka. loop. More...
 
static mxEdgeStyleFunction ElbowConnector
 Uses either SideToSide or TopToBottom depending on the horizontal flag in the cell style. SideToSide is used if horizontal is true or unspecified. More...
 
static mxEdgeStyleFunction SideToSide
 Implements a vertical elbow edge. More...
 
static mxEdgeStyleFunction TopToBottom
 Implements a horizontal elbow edge. More...
 
+

Detailed Description

+

Provides various edge styles to be used as the values for mxConstants.STYLE_EDGE in a cell style.

+

Member Data Documentation

+ +
+
+ + + + + +
+ + + + +
mxEdgeStyleFunction com.mxgraph.mxEdgeStyle.ElbowConnector
+
+static
+
+ +

Uses either SideToSide or TopToBottom depending on the horizontal flag in the cell style. SideToSide is used if horizontal is true or unspecified.

+ +

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

+ +
+
+ +
+
+ + + + + +
+ + + + +
mxEdgeStyleFunction com.mxgraph.mxEdgeStyle.EntityRelation
+
+static
+
+ +

Implements an entity relation style for edges (as used in database schema diagrams).

+ +

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

+ +
+
+ +
+
+ + + + + +
+ + + + +
mxEdgeStyleFunction com.mxgraph.mxEdgeStyle.Loop
+
+static
+
+ +

Implements a self-reference, aka. loop.

+ +
+
+ +
+
+ + + + + +
+ + + + +
mxEdgeStyleFunction com.mxgraph.mxEdgeStyle.SideToSide
+
+static
+
+ +

Implements a vertical elbow edge.

+ +

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

+ +
+
+ +
+
+ + + + + +
+ + + + +
mxEdgeStyleFunction com.mxgraph.mxEdgeStyle.TopToBottom
+
+static
+
+ +

Implements a horizontal elbow edge.

+ +

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

+ +
+
+
The documentation for this class was generated from the following file:
    +
  • src/view/mxEdgeStyle.cs
  • +
+
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxFastOrganicLayout-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxFastOrganicLayout-members.html new file mode 100644 index 000000000..482ea5744 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxFastOrganicLayout-members.html @@ -0,0 +1,97 @@ + + + + + + +mxGraph: Member List + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+
+
com.mxgraph.mxFastOrganicLayout Member List
+
+
+ +

This is the complete list of members for com.mxgraph.mxFastOrganicLayout, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
allowedToRuncom.mxgraph.mxFastOrganicLayoutprotected
calcAttraction()com.mxgraph.mxFastOrganicLayoutinlineprotected
calcPositions()com.mxgraph.mxFastOrganicLayoutinlineprotected
calcRepulsion()com.mxgraph.mxFastOrganicLayoutinlineprotected
cellLocationcom.mxgraph.mxFastOrganicLayoutprotected
dispXcom.mxgraph.mxFastOrganicLayoutprotected
dispYcom.mxgraph.mxFastOrganicLayoutprotected
execute(Object parent)com.mxgraph.mxFastOrganicLayoutinline
forceConstantcom.mxgraph.mxFastOrganicLayoutprotected
ForceConstantcom.mxgraph.mxFastOrganicLayout
forceConstantSquaredcom.mxgraph.mxFastOrganicLayoutprotected
graphcom.mxgraph.mxFastOrganicLayoutprotected
indicescom.mxgraph.mxFastOrganicLayoutprotected
initialTempcom.mxgraph.mxFastOrganicLayoutprotected
InitialTempcom.mxgraph.mxFastOrganicLayout
IsAllowedToRuncom.mxgraph.mxFastOrganicLayout
IsCellIgnored(Object cell)com.mxgraph.mxFastOrganicLayoutinline
isMoveablecom.mxgraph.mxFastOrganicLayoutprotected
iterationcom.mxgraph.mxFastOrganicLayoutprotected
maxIterationscom.mxgraph.mxFastOrganicLayoutprotected
MaxIterationscom.mxgraph.mxFastOrganicLayout
MinDistanceLimitcom.mxgraph.mxFastOrganicLayout
minDistanceLimitcom.mxgraph.mxFastOrganicLayoutprotected
minDistanceLimitSquaredcom.mxgraph.mxFastOrganicLayoutprotected
move(Object cell, double x, double y)com.mxgraph.mxFastOrganicLayoutinline
mxFastOrganicLayout(mxGraph graph)com.mxgraph.mxFastOrganicLayoutinline
neighbourscom.mxgraph.mxFastOrganicLayoutprotected
radiuscom.mxgraph.mxFastOrganicLayoutprotected
radiusSquaredcom.mxgraph.mxFastOrganicLayoutprotected
randomcom.mxgraph.mxFastOrganicLayoutprotected
reduceTemperature()com.mxgraph.mxFastOrganicLayoutinlineprotected
temperaturecom.mxgraph.mxFastOrganicLayoutprotected
vertexArraycom.mxgraph.mxFastOrganicLayoutprotected
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxFastOrganicLayout.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxFastOrganicLayout.html new file mode 100644 index 000000000..b12e2182c --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxFastOrganicLayout.html @@ -0,0 +1,1004 @@ + + + + + + +mxGraph: com.mxgraph.mxFastOrganicLayout Class Reference + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+ +
+
com.mxgraph.mxFastOrganicLayout Class Reference
+
+
+ +

Fast organic layout algorithm. + More...

+
+Inheritance diagram for com.mxgraph.mxFastOrganicLayout:
+
+
+ + +com.mxgraph.mxIGraphLayout + +
+ + + + + + + + + + + + + + +

+Public Member Functions

 mxFastOrganicLayout (mxGraph graph)
 Constructs a new fast organic layout for the specified graph. More...
 
bool IsCellIgnored (Object cell)
 Returns true if the given cell should be ignored by the layout algorithm. This implementation returns false if the cell is a vertex and has at least one connected edge. More...
 
void move (Object cell, double x, double y)
 Notified when a cell is being moved in a parent that has automatic layout to update the cell state (eg. index) so that the outcome of the layou will position the vertex as close to the point (x, y) as possible. More...
 
void execute (Object parent)
 Executes the fast organic layout. More...
 
+ + + + + + + + + + + + + +

+Protected Member Functions

void reduceTemperature ()
 Reduces the temperature of the layout from an initial setting in a linear fashion to zero. More...
 
void calcPositions ()
 Takes the displacements calculated for each cell and applies them to the local cache of cell positions. Limits the displacement to the current temperature. More...
 
void calcAttraction ()
 Calculates the attractive forces between all laid out nodes linked by edges More...
 
void calcRepulsion ()
 Calculates the repulsive forces between all laid out nodes More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

mxGraph graph
 Holds the enclosing graph. More...
 
double forceConstant = 50
 The force constant by which the attractive forces are divided and the replusive forces are multiple by the square of. The value equates to the average radius there is of free space around each node. Default is 50. More...
 
double forceConstantSquared = 0
 Cache of forceConstant^2 for performance. More...
 
double minDistanceLimit = 2
 Minimal distance limit. Default is 2. Prevents of dividing by zero. More...
 
double minDistanceLimitSquared = 0
 Cached version of minDistanceLimit squared. More...
 
double initialTemp = 200
 Start value of temperature. Default is 200. More...
 
double temperature = 0
 Temperature to limit displacement at later stages of layout. More...
 
int maxIterations = 0
 Total number of iterations to run the layout though. More...
 
int iteration = 0
 Current iteration count. More...
 
Object[] vertexArray
 An array of all vertices to be laid out. More...
 
double[] dispX
 An array of locally stored X co-ordinate displacements for the vertices. More...
 
double[] dispY
 An array of locally stored Y co-ordinate displacements for the vertices. More...
 
double[][] cellLocation
 An array of locally stored co-ordinate positions for the vertices. More...
 
double[] radius
 The approximate radius of each cell, nodes only. More...
 
double[] radiusSquared
 The approximate radius squared of each cell, nodes only. More...
 
bool[] isMoveable
 Array of booleans representing the movable states of the vertices. More...
 
int[][] neighbours
 Local copy of cell neighbours. More...
 
bool allowedToRun = true
 Boolean flag that specifies if the layout is allowed to run. If this is set to false, then the layout exits in the following iteration. More...
 
Dictionary< object, int > indices = new Dictionary<object, int>()
 Maps from vertices to indices. More...
 
Random random = new Random()
 Random number generator. More...
 
+ + + + + + + + + + + + + + + + +

+Properties

bool IsAllowedToRun [get, set]
 Flag to stop a running layout run. More...
 
int MaxIterations [get, set]
 Maximum number of iterations. More...
 
double ForceConstant [get, set]
 Force constant to be used for the springs. More...
 
double MinDistanceLimit [get, set]
 Minimum distance between nodes. More...
 
double InitialTemp [get, set]
 Initial temperature. More...
 
+

Detailed Description

+

Fast organic layout algorithm.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + +
+ + + + + + + + +
com.mxgraph.mxFastOrganicLayout.mxFastOrganicLayout (mxGraph graph)
+
+inline
+
+ +

Constructs a new fast organic layout for the specified graph.

+
Parameters
+ + +
graph
+
+
+ +
+
+

Member Function Documentation

+ +
+
+ + + + + +
+ + + + + + + +
void com.mxgraph.mxFastOrganicLayout.calcAttraction ()
+
+inlineprotected
+
+ +

Calculates the attractive forces between all laid out nodes linked by edges

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
void com.mxgraph.mxFastOrganicLayout.calcPositions ()
+
+inlineprotected
+
+ +

Takes the displacements calculated for each cell and applies them to the local cache of cell positions. Limits the displacement to the current temperature.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
void com.mxgraph.mxFastOrganicLayout.calcRepulsion ()
+
+inlineprotected
+
+ +

Calculates the repulsive forces between all laid out nodes

+ +
+
+ + + +
+
+ + + + + +
+ + + + + + + + +
bool com.mxgraph.mxFastOrganicLayout.IsCellIgnored (Object cell)
+
+inline
+
+ +

Returns true if the given cell should be ignored by the layout algorithm. This implementation returns false if the cell is a vertex and has at least one connected edge.

+
Parameters
+ + +
cellObject that represents the cell.
+
+
+
Returns
Returns true if the given cell should be ignored.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxFastOrganicLayout.move (Object cell,
double x,
double y 
)
+
+inline
+
+ +

Notified when a cell is being moved in a parent that has automatic layout to update the cell state (eg. index) so that the outcome of the layou will position the vertex as close to the point (x, y) as possible.

+

Not yet implemented.

+
Parameters
+ + + + +
cell
x
y
+
+
+ +

Implements com.mxgraph.mxIGraphLayout.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
void com.mxgraph.mxFastOrganicLayout.reduceTemperature ()
+
+inlineprotected
+
+ +

Reduces the temperature of the layout from an initial setting in a linear fashion to zero.

+ +
+
+

Member Data Documentation

+ +
+
+ + + + + +
+ + + + +
bool com.mxgraph.mxFastOrganicLayout.allowedToRun = true
+
+protected
+
+ +

Boolean flag that specifies if the layout is allowed to run. If this is set to false, then the layout exits in the following iteration.

+ +
+
+ +
+
+ + + + + +
+ + + + +
double [][] com.mxgraph.mxFastOrganicLayout.cellLocation
+
+protected
+
+ +

An array of locally stored co-ordinate positions for the vertices.

+ +
+
+ +
+
+ + + + + +
+ + + + +
double [] com.mxgraph.mxFastOrganicLayout.dispX
+
+protected
+
+ +

An array of locally stored X co-ordinate displacements for the vertices.

+ +
+
+ +
+
+ + + + + +
+ + + + +
double [] com.mxgraph.mxFastOrganicLayout.dispY
+
+protected
+
+ +

An array of locally stored Y co-ordinate displacements for the vertices.

+ +
+
+ +
+
+ + + + + +
+ + + + +
double com.mxgraph.mxFastOrganicLayout.forceConstant = 50
+
+protected
+
+ +

The force constant by which the attractive forces are divided and the replusive forces are multiple by the square of. The value equates to the average radius there is of free space around each node. Default is 50.

+ +
+
+ +
+
+ + + + + +
+ + + + +
double com.mxgraph.mxFastOrganicLayout.forceConstantSquared = 0
+
+protected
+
+ +

Cache of forceConstant^2 for performance.

+ +
+
+ +
+
+ + + + + +
+ + + + +
mxGraph com.mxgraph.mxFastOrganicLayout.graph
+
+protected
+
+ +

Holds the enclosing graph.

+ +
+
+ +
+
+ + + + + +
+ + + + +
Dictionary<object, int> com.mxgraph.mxFastOrganicLayout.indices = new Dictionary<object, int>()
+
+protected
+
+ +

Maps from vertices to indices.

+ +
+
+ +
+
+ + + + + +
+ + + + +
double com.mxgraph.mxFastOrganicLayout.initialTemp = 200
+
+protected
+
+ +

Start value of temperature. Default is 200.

+ +
+
+ +
+
+ + + + + +
+ + + + +
bool [] com.mxgraph.mxFastOrganicLayout.isMoveable
+
+protected
+
+ +

Array of booleans representing the movable states of the vertices.

+ +
+
+ +
+
+ + + + + +
+ + + + +
int com.mxgraph.mxFastOrganicLayout.iteration = 0
+
+protected
+
+ +

Current iteration count.

+ +
+
+ +
+
+ + + + + +
+ + + + +
int com.mxgraph.mxFastOrganicLayout.maxIterations = 0
+
+protected
+
+ +

Total number of iterations to run the layout though.

+ +
+
+ +
+
+ + + + + +
+ + + + +
double com.mxgraph.mxFastOrganicLayout.minDistanceLimit = 2
+
+protected
+
+ +

Minimal distance limit. Default is 2. Prevents of dividing by zero.

+ +
+
+ +
+
+ + + + + +
+ + + + +
double com.mxgraph.mxFastOrganicLayout.minDistanceLimitSquared = 0
+
+protected
+
+ +

Cached version of minDistanceLimit squared.

+ +
+
+ +
+
+ + + + + +
+ + + + +
int [][] com.mxgraph.mxFastOrganicLayout.neighbours
+
+protected
+
+ +

Local copy of cell neighbours.

+ +
+
+ +
+
+ + + + + +
+ + + + +
double [] com.mxgraph.mxFastOrganicLayout.radius
+
+protected
+
+ +

The approximate radius of each cell, nodes only.

+ +
+
+ +
+
+ + + + + +
+ + + + +
double [] com.mxgraph.mxFastOrganicLayout.radiusSquared
+
+protected
+
+ +

The approximate radius squared of each cell, nodes only.

+ +
+
+ +
+
+ + + + + +
+ + + + +
Random com.mxgraph.mxFastOrganicLayout.random = new Random()
+
+protected
+
+ +

Random number generator.

+ +
+
+ +
+
+ + + + + +
+ + + + +
double com.mxgraph.mxFastOrganicLayout.temperature = 0
+
+protected
+
+ +

Temperature to limit displacement at later stages of layout.

+ +
+
+ +
+
+ + + + + +
+ + + + +
Object [] com.mxgraph.mxFastOrganicLayout.vertexArray
+
+protected
+
+ +

An array of all vertices to be laid out.

+ +
+
+

Property Documentation

+ +
+
+ + + + + +
+ + + + +
double com.mxgraph.mxFastOrganicLayout.ForceConstant
+
+getset
+
+ +

Force constant to be used for the springs.

+ +
+
+ +
+
+ + + + + +
+ + + + +
double com.mxgraph.mxFastOrganicLayout.InitialTemp
+
+getset
+
+ +

Initial temperature.

+ +
+
+ +
+
+ + + + + +
+ + + + +
bool com.mxgraph.mxFastOrganicLayout.IsAllowedToRun
+
+getset
+
+ +

Flag to stop a running layout run.

+ +
+
+ +
+
+ + + + + +
+ + + + +
int com.mxgraph.mxFastOrganicLayout.MaxIterations
+
+getset
+
+ +

Maximum number of iterations.

+ +
+
+ +
+
+ + + + + +
+ + + + +
double com.mxgraph.mxFastOrganicLayout.MinDistanceLimit
+
+getset
+
+ +

Minimum distance between nodes.

+ +
+
+
The documentation for this class was generated from the following file:
    +
  • src/layout/mxFastOrganicLayout.cs
  • +
+
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxFastOrganicLayout.png b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxFastOrganicLayout.png new file mode 100644 index 0000000000000000000000000000000000000000..0d0718aab0312c9e0c013c9ab6f50f4dd04ca305 GIT binary patch literal 817 zcmeAS@N?(olHy`uVBq!ia0vp^*MK;HgBeH$U8%kaq$C1-LR|m<{|{uoc=NTi|Ih>= z3ycpOIKbL@M;^%KC<*clW&kPzfvcxNj2IZ04tTmahEy=VoqN0JumX=u|8?WP|NZll z@|aSd2QAl?i+V4RtWv_#5q_;ScD;I-=dM|5(^PsFb*g$Uez7>BTV?01eLCCiJzt6L z{{B|p_hWkmqwgfES^@24Mkc54+U@kv*IakI!$^(Syf-;{kE}%6<3HO@?s>cRyIz=y z?^&}zucRtX{~71_%+L1qdOqk|7-?d>BwJ(?#rZMpU#j2m`sJ*M z`1t8hcBx(Kebp5sestDUfdm;}orXY@jSOxVk1$EN3Ueoj5E6Lc9yKj>=e!7pb;~+g z4Z76C4ro}3X5SCh@o%WyR=!+*ga6MzE-MO8z2*;USF(xCo@FYHWI#-F|qrn=LN^P?6Rm7WaZ+*!IDTO`C%xv+%^QChR)2n)o^yQJDxq^~HaFt(dJMlEk661}?MTs|+o9Q$p5OWrsXcW= z+12Dq&lMZrT)elsg)cdr^YMqb`~7#cPdzpNX6Mq1qh85-X3fp<&seqaqJjAJCqLd+ zuQs&$_^$fs^^3MYi#$R(EyPb3@@`n%Jn{XSu$5PruMc}Kb>RBN6XxcM2kNiE0`;!` frPRo2t6xgrXxCNDW4qZ5Oy3Niu6{1-oD!M + + + + + +mxGraph: Member List + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+
+
com.mxgraph.mxGdiCanvas Member List
+
+
+ +

This is the complete list of members for com.mxgraph.mxGdiCanvas, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
DEFAULT_IMAGEBASEPATHcom.mxgraph.mxBasicCanvasstatic
Destroy()com.mxgraph.mxGdiCanvasinline
DrawActor(int x, int y, int w, int h, Brush brush, Pen pen, bool shadow)com.mxgraph.mxGdiCanvasinlineprotected
DrawCell(mxCellState state)com.mxgraph.mxGdiCanvasinlinevirtual
DrawCloud(int x, int y, int w, int h, Brush brush, Pen pen, bool shadow)com.mxgraph.mxGdiCanvasinlineprotected
DrawCylinder(int x, int y, int w, int h, Brush brush, Pen pen, bool shadow)com.mxgraph.mxGdiCanvasinlineprotected
DrawGlassEffect(int x, int y, int w, int h, Dictionary< string, Object > style)com.mxgraph.mxGdiCanvasinlineprotected
DrawHexagon(int x, int y, int w, int h, Brush brush, Pen pen, bool shadow, string direction)com.mxgraph.mxGdiCanvasinlineprotected
DrawImage(int x, int y, int w, int h, String image)com.mxgraph.mxGdiCanvasinlineprotected
DrawImage(int x, int y, int w, int h, String image, bool preserveAspect, bool flipH, bool flipV)com.mxgraph.mxGdiCanvasinlineprotected
DrawLabel(string text, mxCellState state, bool html)com.mxgraph.mxGdiCanvasinlinevirtual
DrawLabelscom.mxgraph.mxBasicCanvas
drawLabelscom.mxgraph.mxBasicCanvasprotected
DrawLine(List< mxPoint > pts, Dictionary< string, Object > style)com.mxgraph.mxGdiCanvasinline
DrawMarker(Object type, mxPoint p0, mxPoint pe, float size, Pen pen)com.mxgraph.mxGdiCanvasinline
DrawOval(int x, int y, int w, int h, Brush brush, Pen pen, bool shadow)com.mxgraph.mxGdiCanvasinlineprotected
DrawPath(GraphicsPath path, Brush brush, Pen pen, bool shadow)com.mxgraph.mxGdiCanvasinlineprotected
DrawPolygon(Point[] polygon, Brush brush, Pen pen, bool shadow)com.mxgraph.mxGdiCanvasinlineprotected
DrawRect(int x, int y, int w, int h, Brush brush, Pen pen, bool shadow, bool rounded)com.mxgraph.mxGdiCanvasinlineprotected
DrawRhombus(int x, int y, int w, int h, Brush brush, Pen pen, bool shadow)com.mxgraph.mxGdiCanvasinlineprotected
DrawShape(int x, int y, int w, int h, Dictionary< string, Object > style)com.mxgraph.mxGdiCanvasinline
DrawText(string text, int x, int y, int w, int h, Dictionary< string, Object > style)com.mxgraph.mxGdiCanvasinline
DrawTriangle(int x, int y, int w, int h, Brush brush, Pen pen, bool shadow, string direction)com.mxgraph.mxGdiCanvasinlineprotected
gcom.mxgraph.mxGdiCanvasprotected
getArcSize(int w, int h)com.mxgraph.mxGdiCanvasinlinestatic
GetImageForStyle(Dictionary< string, Object > style)com.mxgraph.mxBasicCanvasinlineprotected
Graphicscom.mxgraph.mxGdiCanvas
ImageBasePathcom.mxgraph.mxBasicCanvas
imageBasePathcom.mxgraph.mxBasicCanvasprotected
imageCachecom.mxgraph.mxGdiCanvasprotected
LoadImage(String image)com.mxgraph.mxGdiCanvasinlineprotected
mxGdiCanvas()com.mxgraph.mxGdiCanvasinline
mxGdiCanvas(Graphics g)com.mxgraph.mxGdiCanvasinline
PRESERVE_IMAGE_ASPECTcom.mxgraph.mxGdiCanvasstatic
Scalecom.mxgraph.mxBasicCanvas
scalecom.mxgraph.mxBasicCanvasprotected
Translatecom.mxgraph.mxBasicCanvas
translatecom.mxgraph.mxBasicCanvasprotected
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas.html new file mode 100644 index 000000000..6c7fc98e4 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas.html @@ -0,0 +1,1773 @@ + + + + + + +mxGraph: com.mxgraph.mxGdiCanvas Class Reference + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+ +
+ +

Implementation of a canvas that uses GDI for painting. + More...

+
+Inheritance diagram for com.mxgraph.mxGdiCanvas:
+
+
+ + +com.mxgraph.mxBasicCanvas +com.mxgraph.mxICanvas + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 mxGdiCanvas ()
 Constructs a new GDI canvas. More...
 
 mxGdiCanvas (Graphics g)
 Constructs a new GDI canvas for the given graphics instance. More...
 
override Object DrawCell (mxCellState state)
 see com.mxgraph.mxICanvas.DrawCell() More...
 
override Object DrawLabel (string text, mxCellState state, bool html)
 see com.mxgraph.mxICanvas.DrawLabel() More...
 
void DrawShape (int x, int y, int w, int h, Dictionary< string, Object > style)
 Draws the shape specified with the STYLE_SHAPE key in the given style. More...
 
void DrawLine (List< mxPoint > pts, Dictionary< string, Object > style)
 Draws the given lines as segments between all points of the given list of mxPoints. More...
 
mxPoint DrawMarker (Object type, mxPoint p0, mxPoint pe, float size, Pen pen)
 Draws the given type of marker. More...
 
void DrawText (string text, int x, int y, int w, int h, Dictionary< string, Object > style)
 Draws the specified text either using drawHtmlString or using drawString. More...
 
void Destroy ()
 Destroys the canvas and frees all allocated resources. More...
 
+ + + + +

+Static Public Member Functions

static int getArcSize (int w, int h)
 Computes the arc size for the given dimension. More...
 
+ + + + + + + + +

+Static Public Attributes

static bool PRESERVE_IMAGE_ASPECT = true
 Specifies if image aspect should be preserved in drawImage. More...
 
- Static Public Attributes inherited from com.mxgraph.mxBasicCanvas
static string DEFAULT_IMAGEBASEPATH = ""
 Defines the default value for the imageBasePath in all GDI canvases. Default is an empty string. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Member Functions

Image LoadImage (String image)
 Returns an image instance for the given URL. If the URL has been loaded before than an instance of the same instance is returned as in the previous call. More...
 
void DrawGlassEffect (int x, int y, int w, int h, Dictionary< string, Object > style)
 Draws the glass effect. More...
 
void DrawPolygon (Point[] polygon, Brush brush, Pen pen, bool shadow)
 Draws a a polygon for the given parameters. More...
 
void DrawPath (GraphicsPath path, Brush brush, Pen pen, bool shadow)
 Draws a path for the given parameters. More...
 
void DrawRect (int x, int y, int w, int h, Brush brush, Pen pen, bool shadow, bool rounded)
 Draws a rectangle for the given parameters. More...
 
void DrawImage (int x, int y, int w, int h, String image)
 Draws an image for the given parameters. More...
 
void DrawImage (int x, int y, int w, int h, String image, bool preserveAspect, bool flipH, bool flipV)
 Draws an image for the given parameters. More...
 
void DrawOval (int x, int y, int w, int h, Brush brush, Pen pen, bool shadow)
 Draws an oval for the given parameters. More...
 
void DrawRhombus (int x, int y, int w, int h, Brush brush, Pen pen, bool shadow)
 Draws an rhombus (aka. diamond) for the given parameters. More...
 
void DrawCylinder (int x, int y, int w, int h, Brush brush, Pen pen, bool shadow)
 Draws a cylinder for the given parameters. More...
 
void DrawActor (int x, int y, int w, int h, Brush brush, Pen pen, bool shadow)
 Draws an actor shape for the given parameters. More...
 
void DrawCloud (int x, int y, int w, int h, Brush brush, Pen pen, bool shadow)
 Draws a cloud shape for the given parameters. More...
 
void DrawTriangle (int x, int y, int w, int h, Brush brush, Pen pen, bool shadow, string direction)
 Draws a triangle shape for the given parameters. More...
 
void DrawHexagon (int x, int y, int w, int h, Brush brush, Pen pen, bool shadow, string direction)
 Draws a hexagon shape for the given parameters. More...
 
- Protected Member Functions inherited from com.mxgraph.mxBasicCanvas
string GetImageForStyle (Dictionary< string, Object > style)
 Gets the image path from the given style. If the path is relative (does not start with a slash) then it is appended to the imageBasePath. More...
 
+ + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

Dictionary< string, Image > imageCache = new Dictionary<string, Image>()
 Cache for loading images. More...
 
Graphics g
 Global graphics handle to the image. More...
 
- Protected Attributes inherited from com.mxgraph.mxBasicCanvas
string imageBasePath = DEFAULT_IMAGEBASEPATH
 Defines the base path for images with relative paths. Trailing slash is required. Default value is DEFAULT_IMAGEBASEPATH. More...
 
Point translate = new Point(0, 0)
 Specifies the current translation. Default is (0,0). More...
 
double scale
 Specifies the current scale. Default is 1. More...
 
bool drawLabels = true
 Specifies whether labels should be painted. Default is true. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + +

+Properties

Graphics Graphics [get, set]
 Sets or gets the graphics object to paint the canvas. More...
 
- Properties inherited from com.mxgraph.mxBasicCanvas
Point Translate [get, set]
 see com.mxgraph.mxICanvas.Translate More...
 
double Scale [get, set]
 see com.mxgraph.mxICanvas.Scale More...
 
bool DrawLabels [get, set]
 Sets if labels should be visible. More...
 
string ImageBasePath [get, set]
 Sets or gets the image base path. More...
 
- Properties inherited from com.mxgraph.mxICanvas
Point Translate [get, set]
 Sets or returns the user object of the cell. More...
 
double Scale [get, set]
 Sets or returns the user object of the cell. More...
 
+

Detailed Description

+

Implementation of a canvas that uses GDI for painting.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + +
+ + + + + + + +
com.mxgraph.mxGdiCanvas.mxGdiCanvas ()
+
+inline
+
+ +

Constructs a new GDI canvas.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
com.mxgraph.mxGdiCanvas.mxGdiCanvas (Graphics g)
+
+inline
+
+ +

Constructs a new GDI canvas for the given graphics instance.

+ +
+
+

Member Function Documentation

+ +
+
+ + + + + +
+ + + + + + + +
void com.mxgraph.mxGdiCanvas.Destroy ()
+
+inline
+
+ +

Destroys the canvas and frees all allocated resources.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxGdiCanvas.DrawActor (int x,
int y,
int w,
int h,
Brush brush,
Pen pen,
bool shadow 
)
+
+inlineprotected
+
+ +

Draws an actor shape for the given parameters.

+
Parameters
+ + + + + + + + +
xX-coordinate of the shape.
yY-coordinate of the shape.
wWidth of the shape.
hHeight of the shape.
brushOptional brush for painting the background.
penOptional pen for painting the border.
shadowBoolean indicating if a shadow should be painted.
+
+
+ +
+
+ + + +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxGdiCanvas.DrawCloud (int x,
int y,
int w,
int h,
Brush brush,
Pen pen,
bool shadow 
)
+
+inlineprotected
+
+ +

Draws a cloud shape for the given parameters.

+
Parameters
+ + + + + + + + +
xX-coordinate of the shape.
yY-coordinate of the shape.
wWidth of the shape.
hHeight of the shape.
brushOptional brush for painting the background.
penOptional pen for painting the border.
shadowBoolean indicating if a shadow should be painted.
+
+
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxGdiCanvas.DrawCylinder (int x,
int y,
int w,
int h,
Brush brush,
Pen pen,
bool shadow 
)
+
+inlineprotected
+
+ +

Draws a cylinder for the given parameters.

+
Parameters
+ + + + + + + + +
xX-coordinate of the shape.
yY-coordinate of the shape.
wWidth of the shape.
hHeight of the shape.
brushOptional brush for painting the background.
penOptional pen for painting the border.
shadowBoolean indicating if a shadow should be painted.
+
+
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxGdiCanvas.DrawGlassEffect (int x,
int y,
int w,
int h,
Dictionary< string, Object > style 
)
+
+inlineprotected
+
+ +

Draws the glass effect.

+ +

References com.mxgraph.mxUtils.GetFloat(), and com.mxgraph.mxConstants.STYLE_STROKEWIDTH.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxGdiCanvas.DrawHexagon (int x,
int y,
int w,
int h,
Brush brush,
Pen pen,
bool shadow,
string direction 
)
+
+inlineprotected
+
+ +

Draws a hexagon shape for the given parameters.

+
Parameters
+ + + + + + + + + +
xX-coordinate of the shape.
yY-coordinate of the shape.
wWidth of the shape.
hHeight of the shape.
brushOptional brush for painting the background.
penOptional pen for painting the border.
shadowBoolean indicating if a shadow should be painted.
directionSpecifies the direction of the hexagon.
+
+
+ +

References com.mxgraph.mxConstants.DIRECTION_NORTH, and com.mxgraph.mxConstants.DIRECTION_SOUTH.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxGdiCanvas.DrawImage (int x,
int y,
int w,
int h,
String image 
)
+
+inlineprotected
+
+ +

Draws an image for the given parameters.

+
Parameters
+ + + + + + +
xX-coordinate of the image.
yY-coordinate of the image.
wWidth of the image.
hHeight of the image.
imageURL of the image.
+
+
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxGdiCanvas.DrawImage (int x,
int y,
int w,
int h,
String image,
bool preserveAspect,
bool flipH,
bool flipV 
)
+
+inlineprotected
+
+ +

Draws an image for the given parameters.

+
Parameters
+ + + + + + +
xX-coordinate of the image.
yY-coordinate of the image.
wWidth of the image.
hHeight of the image.
imageURL of the image.
+
+
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
override Object com.mxgraph.mxGdiCanvas.DrawLabel (string text,
mxCellState state,
bool html 
)
+
+inlinevirtual
+
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxGdiCanvas.DrawLine (List< mxPointpts,
Dictionary< string, Object > style 
)
+
+inline
+
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
mxPoint com.mxgraph.mxGdiCanvas.DrawMarker (Object type,
mxPoint p0,
mxPoint pe,
float size,
Pen pen 
)
+
+inline
+
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxGdiCanvas.DrawOval (int x,
int y,
int w,
int h,
Brush brush,
Pen pen,
bool shadow 
)
+
+inlineprotected
+
+ +

Draws an oval for the given parameters.

+
Parameters
+ + + + + + + + +
xX-coordinate of the shape.
yY-coordinate of the shape.
wWidth of the shape.
hHeight of the shape.
brushOptional brush for painting the background.
penOptional pen for painting the border.
shadowBoolean indicating if a shadow should be painted.
+
+
+ +

References com.mxgraph.mxConstants.SHADOW_OFFSETX, com.mxgraph.mxConstants.SHADOW_OFFSETY, and com.mxgraph.mxConstants.SHADOWCOLOR.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxGdiCanvas.DrawPath (GraphicsPath path,
Brush brush,
Pen pen,
bool shadow 
)
+
+inlineprotected
+
+ +

Draws a path for the given parameters.

+
Parameters
+ + + + + +
pathPath object to be drawn.
brushOptional brush for painting the background.
penOptional pen for painting the border.
shadowBoolean indicating if a shadow should be painted.
+
+
+ +

References com.mxgraph.mxConstants.SHADOW_OFFSETX, com.mxgraph.mxConstants.SHADOW_OFFSETY, and com.mxgraph.mxConstants.SHADOWCOLOR.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxGdiCanvas.DrawPolygon (Point[] polygon,
Brush brush,
Pen pen,
bool shadow 
)
+
+inlineprotected
+
+ +

Draws a a polygon for the given parameters.

+
Parameters
+ + + + + +
polygonPoints of the polygon.
brushOptional brush for painting the background.
penOptional pen for painting the border.
shadowBoolean indicating if a shadow should be painted.
+
+
+ +

References com.mxgraph.mxConstants.SHADOW_OFFSETX, com.mxgraph.mxConstants.SHADOW_OFFSETY, and com.mxgraph.mxConstants.SHADOWCOLOR.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxGdiCanvas.DrawRect (int x,
int y,
int w,
int h,
Brush brush,
Pen pen,
bool shadow,
bool rounded 
)
+
+inlineprotected
+
+ +

Draws a rectangle for the given parameters.

+
Parameters
+ + + + + + + + + +
xX-coordinate of the shape.
yY-coordinate of the shape.
wWidth of the shape.
hHeight of the shape.
brushOptional brush for painting the background.
penOptional pen for painting the border.
shadowBoolean indicating if a shadow should be painted.
roundedBoolean indicating if the rectangle is rounded.
+
+
+ +

References com.mxgraph.mxConstants.SHADOW_OFFSETX, com.mxgraph.mxConstants.SHADOW_OFFSETY, and com.mxgraph.mxConstants.SHADOWCOLOR.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxGdiCanvas.DrawRhombus (int x,
int y,
int w,
int h,
Brush brush,
Pen pen,
bool shadow 
)
+
+inlineprotected
+
+ +

Draws an rhombus (aka. diamond) for the given parameters.

+
Parameters
+ + + + + + + + +
xX-coordinate of the shape.
yY-coordinate of the shape.
wWidth of the shape.
hHeight of the shape.
brushOptional brush for painting the background.
penOptional pen for painting the border.
shadowBoolean indicating if a shadow should be painted.
+
+
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxGdiCanvas.DrawShape (int x,
int y,
int w,
int h,
Dictionary< string, Object > style 
)
+
+inline
+
+ +

Draws the shape specified with the STYLE_SHAPE key in the given style.

+
Parameters
+ + + + + + +
xX-coordinate of the shape.
yY-coordinate of the shape.
wWidth of the shape.
hHeight of the shape.
styleStyle of the the shape.
+
+
+ +

References com.mxgraph.mxConstants.ALIGN_BOTTOM, com.mxgraph.mxConstants.ALIGN_CENTER, com.mxgraph.mxConstants.ALIGN_LEFT, com.mxgraph.mxConstants.ALIGN_MIDDLE, com.mxgraph.mxConstants.ALIGN_RIGHT, com.mxgraph.mxConstants.ALIGN_TOP, com.mxgraph.mxConstants.DEFAULT_IMAGESIZE, com.mxgraph.mxConstants.DIRECTION_EAST, com.mxgraph.mxConstants.DIRECTION_NORTH, com.mxgraph.mxConstants.DIRECTION_SOUTH, com.mxgraph.mxConstants.DIRECTION_WEST, com.mxgraph.mxUtils.GetColor(), com.mxgraph.mxUtils.GetFloat(), com.mxgraph.mxUtils.GetInt(), com.mxgraph.mxUtils.GetString(), com.mxgraph.mxUtils.IsTrue(), com.mxgraph.mxConstants.SHAPE_ACTOR, com.mxgraph.mxConstants.SHAPE_CLOUD, com.mxgraph.mxConstants.SHAPE_CYLINDER, com.mxgraph.mxConstants.SHAPE_DOUBLE_ELLIPSE, com.mxgraph.mxConstants.SHAPE_ELLIPSE, com.mxgraph.mxConstants.SHAPE_HEXAGON, com.mxgraph.mxConstants.SHAPE_LABEL, com.mxgraph.mxConstants.SHAPE_LINE, com.mxgraph.mxConstants.SHAPE_RHOMBUS, com.mxgraph.mxConstants.SHAPE_TRIANGLE, com.mxgraph.mxConstants.STYLE_DASHED, com.mxgraph.mxConstants.STYLE_DIRECTION, com.mxgraph.mxConstants.STYLE_FILLCOLOR, com.mxgraph.mxConstants.STYLE_GLASS, com.mxgraph.mxConstants.STYLE_GRADIENT_DIRECTION, com.mxgraph.mxConstants.STYLE_GRADIENTCOLOR, com.mxgraph.mxConstants.STYLE_IMAGE, com.mxgraph.mxConstants.STYLE_IMAGE_ALIGN, com.mxgraph.mxConstants.STYLE_IMAGE_BACKGROUND, com.mxgraph.mxConstants.STYLE_IMAGE_BORDER, com.mxgraph.mxConstants.STYLE_IMAGE_FLIPH, com.mxgraph.mxConstants.STYLE_IMAGE_FLIPV, com.mxgraph.mxConstants.STYLE_IMAGE_HEIGHT, com.mxgraph.mxConstants.STYLE_IMAGE_VERTICAL_ALIGN, com.mxgraph.mxConstants.STYLE_IMAGE_WIDTH, com.mxgraph.mxConstants.STYLE_OPACITY, com.mxgraph.mxConstants.STYLE_ROUNDED, com.mxgraph.mxConstants.STYLE_SHADOW, com.mxgraph.mxConstants.STYLE_SHAPE, com.mxgraph.mxConstants.STYLE_SPACING, com.mxgraph.mxConstants.STYLE_STROKECOLOR, and com.mxgraph.mxConstants.STYLE_STROKEWIDTH.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxGdiCanvas.DrawText (string text,
int x,
int y,
int w,
int h,
Dictionary< string, Object > style 
)
+
+inline
+
+ +

Draws the specified text either using drawHtmlString or using drawString.

+
Parameters
+ + + + + + + +
text
xX-coordinate of the text.
yY-coordinate of the text.
wWidth of the text.
hHeight of the text.
styleStyle to be used for painting the text.
+
+
+ +

References com.mxgraph.mxUtils.GetColor(), com.mxgraph.mxUtils.GetFloat(), com.mxgraph.mxUtils.GetFont(), com.mxgraph.mxUtils.GetStringFormat(), com.mxgraph.mxUtils.IsTrue(), com.mxgraph.mxConstants.STYLE_FONTCOLOR, com.mxgraph.mxConstants.STYLE_HORIZONTAL, com.mxgraph.mxConstants.STYLE_LABEL_BACKGROUNDCOLOR, com.mxgraph.mxConstants.STYLE_LABEL_BORDERCOLOR, and com.mxgraph.mxConstants.STYLE_OPACITY.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxGdiCanvas.DrawTriangle (int x,
int y,
int w,
int h,
Brush brush,
Pen pen,
bool shadow,
string direction 
)
+
+inlineprotected
+
+ +

Draws a triangle shape for the given parameters.

+
Parameters
+ + + + + + + + + +
xX-coordinate of the shape.
yY-coordinate of the shape.
wWidth of the shape.
hHeight of the shape.
brushOptional brush for painting the background.
penOptional pen for painting the border.
shadowBoolean indicating if a shadow should be painted.
directionSpecifies the direction of the triangle.
+
+
+ +

References com.mxgraph.mxConstants.DIRECTION_NORTH, com.mxgraph.mxConstants.DIRECTION_SOUTH, and com.mxgraph.mxConstants.DIRECTION_WEST.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
static int com.mxgraph.mxGdiCanvas.getArcSize (int w,
int h 
)
+
+inlinestatic
+
+ +

Computes the arc size for the given dimension.

+
Parameters
+ + + +
wWidth of the rectangle.
hHeight of the rectangle.
+
+
+
Returns
Returns the arc size for the given dimension.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
Image com.mxgraph.mxGdiCanvas.LoadImage (String image)
+
+inlineprotected
+
+ +

Returns an image instance for the given URL. If the URL has been loaded before than an instance of the same instance is returned as in the previous call.

+ +

References com.mxgraph.mxUtils.LoadImage().

+ +
+
+

Member Data Documentation

+ +
+
+ + + + + +
+ + + + +
Graphics com.mxgraph.mxGdiCanvas.g
+
+protected
+
+ +

Global graphics handle to the image.

+ +
+
+ +
+
+ + + + + +
+ + + + +
Dictionary<string, Image> com.mxgraph.mxGdiCanvas.imageCache = new Dictionary<string, Image>()
+
+protected
+
+ +

Cache for loading images.

+ +
+
+ +
+
+ + + + + +
+ + + + +
bool com.mxgraph.mxGdiCanvas.PRESERVE_IMAGE_ASPECT = true
+
+static
+
+ +

Specifies if image aspect should be preserved in drawImage.

+ +
+
+

Property Documentation

+ +
+
+ + + + + +
+ + + + +
Graphics com.mxgraph.mxGdiCanvas.Graphics
+
+getset
+
+ +

Sets or gets the graphics object to paint the canvas.

+ +

Referenced by com.mxgraph.mxStencil.CreateCanvas(), and com.mxgraph.mxImageCanvas.mxImageCanvas().

+ +
+
+
The documentation for this class was generated from the following file:
    +
  • src/canvas/mxGdiCanvas.cs
  • +
+
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas.png b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas.png new file mode 100644 index 0000000000000000000000000000000000000000..2e51a2a5c8077e5f466a4910e41b1070cd6c8285 GIT binary patch literal 1039 zcmeAS@N?(olHy`uVBq!ia0vp^TY$KOgBeIxt~R^|q$C1-LR|m<{|{uoc=NTi|Ih>= z3ycpOIKbL@M;^%KC<*clW&kPzfvcxNj2IZ0=Xts~hEy=Vo%^=$wE_>TI{V7^|4(e6 z-I5?YtM1LUaF0C8(@r_Y0+0VKof4EL>^kXLkdt>%i%`@gr7x~8Tqm_f&DZ(fuTs0< zKil3$?@Pa{SoX>vzNTw`@ikLvK=|Hhli68$yBhmD%Rb!kFR|5I6<#Q<>iw7t@rexDXN=lNy*yJh9-@11|SuZpLvV3pkN zpTBJ9*Yek1dHL$`st0C2)2ci!y?*6X|7*6Qr~b?97q%7oFvkjK>ScIxg~9w((yq63 z%1M?Fs&^UEF85s6e!Jz0vD5vT&lk@VvRcjV&?6+J;Ka!*u&{-#BfyE-MPnhO(v%Af zf?gR79I7S`EvVAVrUsqLS>$mk#w)|KD*$B0Kar}5OBPO>->-80&5;*7Rd_{NYybXu zS?syY^hNFJ=SZ>{+vA5w!r2bC=91r zg!bR9`8)6YJ;&>F?!Ec_>f)=C-sh_pl>Ty^`_Ajt>;2r5zGT-jyybqaa^bl4T&}1| z|5k(2#gq$^L>5|?XfE|pYtVnmW-vRgW#3)3CG!M-owJeuI^{y7EkhFSK*JKI2Dy>b zQq49poLLGD_7~h2!WplxuAi~?|18aha1rjkfmX)WtRK3nUew->-fowpzM1!xR`u39 z%U17v$!3?k^6X6)`=d8P3mdLky|}xhEW4vhrS!rrv1_wt=e@Zc^w{RA@9uSrZ5*x3 zm@gdKvH64MtzGVRWz*GXv>P^D`^Q$b+ehEg-o{aUanalDUn;9?n#=SrykffLCgogy z?&~3m<>AFuEO+%n>mS+4v)dh?Ir~g`|DP+XE$@c+ALR49nrt4w|M})}yWI;{%B}Ug zF0qd5-M8y689(f@y1wE5wf=>&gqz6?EVuyK5h9? RtOCrv44$rjF6*2UngA0p_KE-i literal 0 HcmV?d00001 diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas2D-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas2D-members.html new file mode 100644 index 000000000..0d64981c0 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas2D-members.html @@ -0,0 +1,132 @@ + + + + + + +mxGraph: Member List + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+
+
com.mxgraph.mxGdiCanvas2D Member List
+
+
+ +

This is the complete list of members for com.mxgraph.mxGdiCanvas2D, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Alphacom.mxgraph.mxGdiCanvas2D
Begin()com.mxgraph.mxGdiCanvas2Dinline
Close()com.mxgraph.mxGdiCanvas2Dinline
ConfigureImageGraphics(double x, double y, double w, double h, bool flipH, bool flipV)com.mxgraph.mxGdiCanvas2Dinlineprotected
CreateFont(String family, FontStyle style, float size)com.mxgraph.mxGdiCanvas2Dinlineprotected
CreateStringFormat(string align, string valign, bool wrap, bool clip)com.mxgraph.mxGdiCanvas2Dinlinestatic
currentPathcom.mxgraph.mxGdiCanvas2Dprotected
CurveTo(double x1, double y1, double x2, double y2, double x3, double y3)com.mxgraph.mxGdiCanvas2Dinline
Dashedcom.mxgraph.mxGdiCanvas2D
DashPatterncom.mxgraph.mxGdiCanvas2D
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
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
Rotate(double theta, bool flipH, bool flipV, double cx, double cy)com.mxgraph.mxGdiCanvas2Dinline
Roundrect(double x, double y, double w, double h, double dx, double dy)com.mxgraph.mxGdiCanvas2Dinline
Save()com.mxgraph.mxGdiCanvas2Dinline
Scale(double value)com.mxgraph.mxGdiCanvas2Dinline
SetGradient(String color1, String color2, double x, double y, double w, double h, String direction, double alpha1, double alpha2)com.mxgraph.mxGdiCanvas2Dinline
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.mxGdiCanvas2Dinline
Shadowcom.mxgraph.mxGdiCanvas2D
ShadowAlphacom.mxgraph.mxGdiCanvas2D
ShadowColorcom.mxgraph.mxGdiCanvas2D
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)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 new file mode 100644 index 000000000..2f054e586 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas2D.html @@ -0,0 +1,2573 @@ + + + + + + +mxGraph: com.mxgraph.mxGdiCanvas2D Class Reference + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+ +
+ +

Used for exporting images. To render to an image from a given XML string, graph size and and background color, the following code is used: + More...

+
+Inheritance diagram for com.mxgraph.mxGdiCanvas2D:
+
+
+ + +com.mxgraph.mxICanvas2D + +
+ + + + +

+Classes

class  CanvasState
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 mxGdiCanvas2D (Graphics g)
 
void Save ()
 
void Restore ()
 
void Scale (double value)
 Sets the given scale. More...
 
void Translate (double dx, double dy)
 Translates the canvas. More...
 
void Rotate (double theta, bool flipH, bool flipV, double cx, double cy)
 Rotates the canvas. More...
 
void SetShadowOffset (double dx, double dy)
 Prepares the canvas to draw a gradient. More...
 
void SetGradient (String color1, String color2, double x, double y, double w, double h, String direction, double alpha1, double alpha2)
 Sets the given gradient. More...
 
void Rect (double x, double y, double w, double h)
 Draws a rectangle. More...
 
void Roundrect (double x, double y, double w, double h, double dx, double dy)
 
void Ellipse (double x, double y, double w, double h)
 Draws an ellipse. More...
 
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)
 
void Begin ()
 
void MoveTo (double x, double y)
 
void LineTo (double x, double y)
 
void QuadTo (double x1, double y1, double x2, double y2)
 
void CurveTo (double x1, double y1, double x2, double y2, double x3, double y3)
 
void Close ()
 
void Stroke ()
 
void Fill ()
 
void FillAndStroke ()
 
- Public Member Functions inherited from com.mxgraph.mxICanvas2D
void SetGradient (string color1, string color2, double x, double y, double w, double h, string direction, double alpha1, double alpha2)
 Prepares the canvas to draw a gradient. More...
 
void Image (double x, double y, double w, double h, string src, bool aspect, bool flipH, bool flipV)
 Draws the given image. More...
 
+ + + + +

+Static Public Member Functions

static StringFormat CreateStringFormat (string align, string valign, bool wrap, bool clip)
 Creates the specified string format. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Member Functions

Color ParseColor (string hex)
 Helper method that uses mxUtils#parseColor(String). Subclassers More...
 
void DrawImage (Image image, Rectangle bounds)
 Implements the call to the graphics API. More...
 
Image LoadImage (String src)
 Loads the specified image. More...
 
Rectangle GetImageBounds (Image img, double x, double y, double w, double h, bool aspect)
 Returns the bounds for the given image. More...
 
Size GetImageSize (Image image)
 Returns the size for the given image. More...
 
void ConfigureImageGraphics (double x, double y, double w, double h, bool flipH, bool flipV)
 
+PointF GetMargin (String align, String valign)
 
void PaintCurrentPath (bool filled, bool stroked)
 
void PaintShadow (bool filled, bool stroked)
 
void UpdateFont ()
 
Font CreateFont (String family, FontStyle style, float size)
 
String GetFontName (String family)
 Returns a font name for the given font family. More...
 
void UpdatePen ()
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

bool matchHtmlAlignment = true
 matchHtmlAlignment More...
 
bool htmlAsPlainText = true
 htmlAsPlainText More...
 
bool wrapPlainText = true
 htmlAsPlainText More...
 
Graphics graphics
 
CanvasState state = new CanvasState()
 
Stack< CanvasStatestack = new Stack<CanvasState>()
 
GraphicsPath currentPath
 
mxPoint lastPoint
 Holds the last point of a moveTo or lineTo operation to determine if the More...
 
Font lastFont = null
 FontCaching More...
 
FontStyle lastFontStyle = 0
 FontCaching More...
 
float lastFontSize = 0
 FontCaching More...
 
String lastFontFamily = ""
 FontCaching More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Properties

double StrokeWidth [set]
 Sets the strokewidth. More...
 
string StrokeColor [set]
 
bool Dashed [set]
 Specifies if lines are dashed. More...
 
string DashPattern [set]
 Sets the dashpattern. More...
 
string LineCap [set]
 Sets the linecap. More...
 
string LineJoin [set]
 Sets the linejoin. More...
 
double MiterLimit [set]
 Sets the miterlimit. More...
 
double FontSize [set]
 Sets the fontsize. More...
 
string FontColor [set]
 Sets the fontcolor. More...
 
string FontBackgroundColor [set]
 Default value 0. See mxConstants#STYLE_FONTSTYLE. More...
 
string FontBorderColor [set]
 Default value 0. See mxConstants#STYLE_FONTSTYLE. More...
 
string FontFamily [set]
 Sets the font family. More...
 
int FontStyle [set]
 Sets the given fontstyle. More...
 
double Alpha [set]
 Sets the given alpha. More...
 
string FillColor [set]
 Sets the given fillcolor. More...
 
bool Shadow [set]
 Default value mxConstants#NONE. More...
 
string ShadowColor [set]
 Default value mxConstants#NONE. More...
 
double ShadowAlpha [set]
 Default value 1. This method may add rendering overhead and should be used with care. More...
 
- Properties inherited from com.mxgraph.mxICanvas2D
double StrokeWidth [set]
 Sets the stroke width. This should default to 1 if unset. More...
 
string StrokeColor [set]
 Sets the stroke color. This should default to mxConstants.NONE if unset. More...
 
bool Dashed [set]
 Sets the dashed state. This should default to false if unset. More...
 
string DashPattern [set]
 Sets the dash pattern. This should default to "3 3" if unset. More...
 
string LineCap [set]
 Sets the linecap. This should default to "flat" if unset. More...
 
string LineJoin [set]
 Sets the linejoin. This should default to "miter" if unset. More...
 
double MiterLimit [set]
 Sets the miterlimit. This should default to 10 if unset. More...
 
double FontSize [set]
 Default value mxConstants.DEFAULT_FONTSIZE. More...
 
string FontColor [set]
 Default value "#000000". More...
 
string FontFamily [set]
 Default value mxConstants#DEFAULT_FONTFAMILY. More...
 
int FontStyle [set]
 Default value 0. See mxConstants#STYLE_FONTSTYLE. More...
 
string FontBackgroundColor [set]
 Default value 0. See mxConstants#STYLE_FONTSTYLE. More...
 
string FontBorderColor [set]
 Default value 0. See mxConstants#STYLE_FONTSTYLE. More...
 
double Alpha [set]
 Default value 1. This method may add rendering overhead and should be used with care. More...
 
string FillColor [set]
 Default value mxConstants#NONE. More...
 
bool Shadow [set]
 Default value mxConstants#NONE. More...
 
string ShadowColor [set]
 Default value mxConstants#NONE. More...
 
double ShadowAlpha [set]
 Default value 1. This method may add rendering overhead and should be used with care. More...
 
+

Detailed Description

+

Used for exporting images. To render to an image from a given XML string, graph size and and background color, the following code is used:

+

Image image = mxUtils.CreateImage(width, height, background); Graphics g = Graphics.FromImage(image); g.SmoothingMode = SmoothingMode.HighQuality; mxSaxOutputHandler handler = new mxSaxOutputHandler(new mxGdiCanvas2D(g)); handler.Read(new XmlTextReader(new StringReader(xml)));

+

Text rendering is available for plain text only, with optional word wrapping.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + +
+ + + + + + + + +
com.mxgraph.mxGdiCanvas2D.mxGdiCanvas2D (Graphics g)
+
+inline
+
+ +

+

Constructs a new graphics export canvas.

+ +
+
+

Member Function Documentation

+ +
+
+ + + + + +
+ + + + + + + +
void com.mxgraph.mxGdiCanvas2D.Begin ()
+
+inline
+
+ +

+ +

Implements com.mxgraph.mxICanvas2D.

+ +

Referenced by com.mxgraph.mxStencil.DrawElement().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
void com.mxgraph.mxGdiCanvas2D.Close ()
+
+inline
+
+ +

+

Closes the current path.

+ +

Implements com.mxgraph.mxICanvas2D.

+ +

Referenced by com.mxgraph.mxStencil.DrawElement().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxGdiCanvas2D.ConfigureImageGraphics (double x,
double y,
double w,
double h,
bool flipH,
bool flipV 
)
+
+inlineprotected
+
+ +

+

Creates a graphic instance for rendering an image.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
Font com.mxgraph.mxGdiCanvas2D.CreateFont (String family,
FontStyle style,
float size 
)
+
+inlineprotected
+
+ +

+

Hook for subclassers to implement font caching.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
static StringFormat com.mxgraph.mxGdiCanvas2D.CreateStringFormat (string align,
string valign,
bool wrap,
bool clip 
)
+
+inlinestatic
+
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxGdiCanvas2D.CurveTo (double x1,
double y1,
double x2,
double y2,
double x3,
double y3 
)
+
+inline
+
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxGdiCanvas2D.DrawImage (Image image,
Rectangle bounds 
)
+
+inlineprotected
+
+ +

Implements the call to the graphics API.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxGdiCanvas2D.Ellipse (double x,
double y,
double w,
double h 
)
+
+inline
+
+ +

Draws an ellipse.

+ +

Implements com.mxgraph.mxICanvas2D.

+ +

Referenced by com.mxgraph.mxStencil.DrawElement().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
void com.mxgraph.mxGdiCanvas2D.Fill ()
+
+inline
+
+ +

+ +

Implements com.mxgraph.mxICanvas2D.

+ +

Referenced by com.mxgraph.mxStencil.DrawElement().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
void com.mxgraph.mxGdiCanvas2D.FillAndStroke ()
+
+inline
+
+ +

+ +

Implements com.mxgraph.mxICanvas2D.

+ +

Referenced by com.mxgraph.mxStencil.DrawElement().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
String com.mxgraph.mxGdiCanvas2D.GetFontName (String family)
+
+inlineprotected
+
+ +

Returns a font name for the given font family.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Rectangle com.mxgraph.mxGdiCanvas2D.GetImageBounds (Image img,
double x,
double y,
double w,
double h,
bool aspect 
)
+
+inlineprotected
+
+ +

Returns the bounds for the given image.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
Size com.mxgraph.mxGdiCanvas2D.GetImageSize (Image image)
+
+inlineprotected
+
+ +

Returns the size for the given image.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxGdiCanvas2D.Image (double x,
double y,
double w,
double h,
String src,
bool aspect,
bool flipH,
bool flipV 
)
+
+inline
+
+ +

Draws an image.

+ +

Referenced by com.mxgraph.mxStencil.DrawElement().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxGdiCanvas2D.LineTo (double x,
double y 
)
+
+inline
+
+
+ +
+
+ + + + + +
+ + + + + + + + +
Image com.mxgraph.mxGdiCanvas2D.LoadImage (String src)
+
+inlineprotected
+
+ +

Loads the specified image.

+ +

References com.mxgraph.mxUtils.LoadImage().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxGdiCanvas2D.MoveTo (double x,
double y 
)
+
+inline
+
+ +

+ +

Implements com.mxgraph.mxICanvas2D.

+ +

Referenced by com.mxgraph.mxStencil.DrawElement().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxGdiCanvas2D.PaintCurrentPath (bool filled,
bool stroked 
)
+
+inlineprotected
+
+ +

+
Parameters
+ + +
value
+
+
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxGdiCanvas2D.PaintShadow (bool filled,
bool stroked 
)
+
+inlineprotected
+
+ +

+
Parameters
+ + +
value
+
+
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
Color com.mxgraph.mxGdiCanvas2D.ParseColor (string hex)
+
+inlineprotected
+
+ +

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

+

can override this to implement caching for frequently used colors.

+ +

References com.mxgraph.mxConstants.NONE.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxGdiCanvas2D.QuadTo (double x1,
double y1,
double x2,
double y2 
)
+
+inline
+
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxGdiCanvas2D.Rect (double x,
double y,
double w,
double h 
)
+
+inline
+
+ +

Draws a rectangle.

+ +

Implements com.mxgraph.mxICanvas2D.

+ +

Referenced by com.mxgraph.mxStencil.DrawElement().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
void com.mxgraph.mxGdiCanvas2D.Restore ()
+
+inline
+
+ +

+

Restores the last canvas state.

+ +

Implements com.mxgraph.mxICanvas2D.

+ +

Referenced by com.mxgraph.mxStencil.DrawElement().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxGdiCanvas2D.Rotate (double theta,
bool flipH,
bool flipV,
double cx,
double cy 
)
+
+inline
+
+ +

Rotates the canvas.

+ +

Implements com.mxgraph.mxICanvas2D.

+ +

Referenced by com.mxgraph.mxStencil.PaintShape().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxGdiCanvas2D.Roundrect (double x,
double y,
double w,
double h,
double dx,
double dy 
)
+
+inline
+
+ +

+

Draws a rounded rectangle.

+ +

Implements com.mxgraph.mxICanvas2D.

+ +

Referenced by com.mxgraph.mxStencil.DrawElement().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
void com.mxgraph.mxGdiCanvas2D.Save ()
+
+inline
+
+ +

+

Saves the current canvas state.

+ +

Implements com.mxgraph.mxICanvas2D.

+ +

Referenced by com.mxgraph.mxStencil.DrawElement(), and com.mxgraph.mxStencil.PaintShape().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
void com.mxgraph.mxGdiCanvas2D.Scale (double value)
+
+inline
+
+ +

Sets the given scale.

+
Parameters
+ + +
value
+
+
+ +

Implements com.mxgraph.mxICanvas2D.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxGdiCanvas2D.SetGradient (String color1,
String color2,
double x,
double y,
double w,
double h,
String direction,
double alpha1,
double alpha2 
)
+
+inline
+
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxGdiCanvas2D.SetShadowOffset (double dx,
double dy 
)
+
+inline
+
+ +

Prepares the canvas to draw a gradient.

+ +

Implements com.mxgraph.mxICanvas2D.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
void com.mxgraph.mxGdiCanvas2D.Stroke ()
+
+inline
+
+ +

+ +

Implements com.mxgraph.mxICanvas2D.

+ +

Referenced by com.mxgraph.mxStencil.DrawElement().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void com.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 
)
+
+inline
+
+ +

+

Draws the given text.

+ +

Implements com.mxgraph.mxICanvas2D.

+ +

Referenced by com.mxgraph.mxStencil.DrawElement().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxGdiCanvas2D.Translate (double dx,
double dy 
)
+
+inline
+
+ +

Translates the canvas.

+
Parameters
+ + + +
dx
dy
+
+
+ +

Implements com.mxgraph.mxICanvas2D.

+ +

Referenced by com.mxgraph.mxStencil.DrawShadow().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
void com.mxgraph.mxGdiCanvas2D.UpdateFont ()
+
+inlineprotected
+
+
+ +
+
+ + + + + +
+ + + + + + + +
void com.mxgraph.mxGdiCanvas2D.UpdatePen ()
+
+inlineprotected
+
+ +

+ +
+
+

Member Data Documentation

+ +
+
+ + + + + +
+ + + + +
GraphicsPath com.mxgraph.mxGdiCanvas2D.currentPath
+
+protected
+
+ +

+

Holds the current path.

+ +
+
+ +
+
+ + + + + +
+ + + + +
Graphics com.mxgraph.mxGdiCanvas2D.graphics
+
+protected
+
+ +

+

Reference to the graphics instance for painting.

+ +
+
+ +
+
+ + + + + +
+ + + + +
bool com.mxgraph.mxGdiCanvas2D.htmlAsPlainText = true
+
+protected
+
+ +

htmlAsPlainText

+ +
+
+ +
+
+ + + + + +
+ + + + +
Font com.mxgraph.mxGdiCanvas2D.lastFont = null
+
+protected
+
+ +

FontCaching

+ +
+
+ +
+
+ + + + + +
+ + + + +
String com.mxgraph.mxGdiCanvas2D.lastFontFamily = ""
+
+protected
+
+ +

FontCaching

+ +
+
+ +
+
+ + + + + +
+ + + + +
float com.mxgraph.mxGdiCanvas2D.lastFontSize = 0
+
+protected
+
+ +

FontCaching

+ +
+
+ +
+
+ + + + + +
+ + + + +
FontStyle com.mxgraph.mxGdiCanvas2D.lastFontStyle = 0
+
+protected
+
+ +

FontCaching

+ +
+
+ +
+
+ + + + + +
+ + + + +
mxPoint com.mxgraph.mxGdiCanvas2D.lastPoint
+
+protected
+
+ +

Holds the last point of a moveTo or lineTo operation to determine if the

+

current path is orthogonal.

+ +
+
+ +
+
+ + + + + +
+ + + + +
bool com.mxgraph.mxGdiCanvas2D.matchHtmlAlignment = true
+
+protected
+
+ +

matchHtmlAlignment

+ +
+
+ +
+
+ + + + + +
+ + + + +
Stack<CanvasState> com.mxgraph.mxGdiCanvas2D.stack = new Stack<CanvasState>()
+
+protected
+
+ +

+

Stack of states for save/restore.

+ +
+
+ +
+
+ + + + + +
+ + + + +
CanvasState com.mxgraph.mxGdiCanvas2D.state = new CanvasState()
+
+protected
+
+ +

+

Represents the current state of the canvas.

+ +
+
+ +
+
+ + + + + +
+ + + + +
bool com.mxgraph.mxGdiCanvas2D.wrapPlainText = true
+
+protected
+
+ +

htmlAsPlainText

+ +
+
+

Property Documentation

+ +
+
+ + + + + +
+ + + + +
double com.mxgraph.mxGdiCanvas2D.Alpha
+
+set
+
+ +

Sets the given alpha.

+ +

Referenced by com.mxgraph.mxStencil.DrawShadow(), and com.mxgraph.mxStencil.PaintShape().

+ +
+
+ +
+
+ + + + + +
+ + + + +
bool com.mxgraph.mxGdiCanvas2D.Dashed
+
+set
+
+ +

Specifies if lines are dashed.

+ +

Referenced by com.mxgraph.mxStencil.DrawElement(), and com.mxgraph.mxStencil.PaintShape().

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxGdiCanvas2D.DashPattern
+
+set
+
+ +

Sets the dashpattern.

+ +

Referenced by com.mxgraph.mxStencil.DrawElement().

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxGdiCanvas2D.FillColor
+
+set
+
+ +

Sets the given fillcolor.

+ +

Referenced by com.mxgraph.mxStencil.DrawElement(), and com.mxgraph.mxStencil.PaintShape().

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxGdiCanvas2D.FontBackgroundColor
+
+set
+
+ +

Default value 0. See mxConstants#STYLE_FONTSTYLE.

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxGdiCanvas2D.FontBorderColor
+
+set
+
+ +

Default value 0. See mxConstants#STYLE_FONTSTYLE.

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxGdiCanvas2D.FontColor
+
+set
+
+ +

Sets the fontcolor.

+ +

Referenced by com.mxgraph.mxStencil.DrawElement().

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxGdiCanvas2D.FontFamily
+
+set
+
+ +

Sets the font family.

+ +

Referenced by com.mxgraph.mxStencil.DrawElement().

+ +
+
+ +
+
+ + + + + +
+ + + + +
double com.mxgraph.mxGdiCanvas2D.FontSize
+
+set
+
+ +

Sets the fontsize.

+ +

Referenced by com.mxgraph.mxStencil.DrawElement().

+ +
+
+ +
+
+ + + + + +
+ + + + +
int com.mxgraph.mxGdiCanvas2D.FontStyle
+
+set
+
+ +

Sets the given fontstyle.

+ +

Referenced by com.mxgraph.mxStencil.DrawElement().

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxGdiCanvas2D.LineCap
+
+set
+
+ +

Sets the linecap.

+ +

Referenced by com.mxgraph.mxStencil.DrawElement().

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxGdiCanvas2D.LineJoin
+
+set
+
+ +

Sets the linejoin.

+ +

Referenced by com.mxgraph.mxStencil.DrawElement().

+ +
+
+ +
+
+ + + + + +
+ + + + +
double com.mxgraph.mxGdiCanvas2D.MiterLimit
+
+set
+
+ +

Sets the miterlimit.

+ +

Referenced by com.mxgraph.mxStencil.DrawElement().

+ +
+
+ +
+
+ + + + + +
+ + + + +
bool com.mxgraph.mxGdiCanvas2D.Shadow
+
+set
+
+ +

Default value mxConstants#NONE.

+ +
+
+ +
+
+ + + + + +
+ + + + +
double com.mxgraph.mxGdiCanvas2D.ShadowAlpha
+
+set
+
+ +

Default value 1. This method may add rendering overhead and should be used with care.

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxGdiCanvas2D.ShadowColor
+
+set
+
+ +

Default value mxConstants#NONE.

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxGdiCanvas2D.StrokeColor
+
+set
+
+ +

+

Caches color conversion as it is expensive.

+ +

Referenced by com.mxgraph.mxStencil.DrawElement(), and com.mxgraph.mxStencil.PaintShape().

+ +
+
+ +
+
+ + + + + +
+ + + + +
double com.mxgraph.mxGdiCanvas2D.StrokeWidth
+
+set
+
+
+
The documentation for this class was generated from the following file:
    +
  • src/canvas/mxGdiCanvas2D.cs
  • +
+
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas2D.png b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas2D.png new file mode 100644 index 0000000000000000000000000000000000000000..7e9a1d4175996b89b5837482d148054169f84ac3 GIT binary patch literal 726 zcmeAS@N?(olHy`uVBq!ia0vp^JAgQVgBeK9{pBwOq$C1-LR|m<{|{uoc=NTi|Ih>= z3ycpOIKbL@M;^%KC<*clW&kPzfvcxNj2IZ0QaxQ9Ln;{G&b^y=Sb@ilzwgTT`X{A~ zO}r|ve?8_pnZ5s_z->#m$9Fd6-rlz8hKtL!;D+vw3ataKE;e5UKd2}fU9D5U``^Xo zUzpjSt@1Ma80I~6b@>;xah_Gr1J&J=-aK5Pm$hKG>*kfuvS$2PkCL~!TS5GC#Rd-!x=w>HZTK&fzd|v z0mD450tSCpi-zS)G6#Yg`5vrfVE+(;BHa+Dxpd1S4~Ey8P#sm;KSEdR6_iQ)?QhCj zurO!F>`vnfHPf^zt_LyJrOz)M@HSK3c{m_8FoXAfP=yW0Kj?82=(rJmWn{rNb=Jh!c_nlJB%s0(-MwIl0XrO(xrEQ_5ObL7S8 zSH2H^?y+I9i#@66rmDrhQKZMIhV4$yvTLjr+wTj1IJZ-7!MT@0d-(4-ZfU-@e$U$T zo#!`xd!;fXy6n}I$BpZZPA0w3I$HC;r#hjgYvC)cwf)y6woU0?nDyZOi^p>>i{IPl rj|fJ_ee0kB@ap^3i9uekU$S5QqxM>~Y8N{&5i)qX`njxgN@xNAT|8VX literal 0 HcmV?d00001 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 new file mode 100644 index 000000000..222389af1 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas2D_1_1CanvasState-members.html @@ -0,0 +1,65 @@ + + + + + + +mxGraph: Member List + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+
+
com.mxgraph.mxGdiCanvas2D.CanvasState Member List
+
+
+ +

This is the complete list of members for com.mxgraph.mxGdiCanvas2D.CanvasState, including all inherited members.

+ + +
Clone()com.mxgraph.mxGdiCanvas2D.CanvasStateinline
+ + + + 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 new file mode 100644 index 000000000..2a51a72c1 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas2D_1_1CanvasState.html @@ -0,0 +1,111 @@ + + + + + + +mxGraph: com.mxgraph.mxGdiCanvas2D.CanvasState Class Reference + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+ +
+
com.mxgraph.mxGdiCanvas2D.CanvasState Class Reference
+
+
+ +

+ More...

+
+Inheritance diagram for com.mxgraph.mxGdiCanvas2D.CanvasState:
+
+
+ + + +
+ + + + +

+Public Member Functions

Object Clone ()
 
+

Detailed Description

+

Member Function Documentation

+ +
+
+ + + + + +
+ + + + + + + +
Object com.mxgraph.mxGdiCanvas2D.CanvasState.Clone ()
+
+inline
+
+ +

+ +
+
+
The documentation for this class was generated from the following file:
    +
  • src/canvas/mxGdiCanvas2D.cs
  • +
+
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas2D_1_1CanvasState.png b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas2D_1_1CanvasState.png new file mode 100644 index 0000000000000000000000000000000000000000..94ea2f62652679896b283ff308c265dec7172ab2 GIT binary patch literal 687 zcmeAS@N?(olHy`uVBq!ia0y~yU}Ofe12{mWR?-6zASDst6XN>+|9>F!#hb6C{f8z1 zSzvtNzya3IJMus-M@f)hFauB#2wXiCV#L6}WasJP7*fIbcJAG2hZJ~P)Xks$yvk6(y!wBs=lu6J;vu2$wT%>*p(r4< z_^%PrDbWlCYvmXWcAjA9XIGqXuqmO6Bjvy>53t)94#a?*2thbG=E(|5MmrT447Q$V z-~l4O#0{pQtM+F{{L0+Lkl<`-aQ#Du8^eu&&YX+)%Eg-ZWQeEjW_Ymk6w{uEw!dH9 zPYGBNmU1jO|Ju$?n&sCEF0;set}svf|J2Gouy(FqrPYM$H&-{_DT$xgm>4_lX4@;@ z-JgDVu5cm)i4r=5CyQ=UEwUtUveVq6|X;ckO`#^Efvf8AO`s qGc){9o5(0Rfl*R|O-ZTvHT#0=^9~=2?+^s0E(T9mKbLh*2~7Y&IVmy# literal 0 HcmV?d00001 diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGeometry-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGeometry-members.html new file mode 100644 index 000000000..5f0a1ba86 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGeometry-members.html @@ -0,0 +1,109 @@ + + + + + + +mxGraph: Member List + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+
+
com.mxgraph.mxGeometry Member List
+
+
+ +

This is the complete list of members for com.mxgraph.mxGeometry, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Add(mxRectangle rect)com.mxgraph.mxRectangleinline
AlternateBoundscom.mxgraph.mxGeometry
alternateBoundscom.mxgraph.mxGeometryprotected
Clone()com.mxgraph.mxGeometryinline
Contains(double x, double y)com.mxgraph.mxRectangleinline
Equals(Object obj)com.mxgraph.mxRectangleinline
GetCenterX()com.mxgraph.mxRectangleinline
GetCenterY()com.mxgraph.mxRectangleinline
GetPoint()com.mxgraph.mxPointinline
GetRectangle()com.mxgraph.mxRectangleinline
GetTerminalPoint(bool source)com.mxgraph.mxGeometryinline
Grow(double amount)com.mxgraph.mxRectangleinline
heightcom.mxgraph.mxRectangleprotected
Heightcom.mxgraph.mxRectangle
mxGeometry()com.mxgraph.mxGeometryinline
mxGeometry(double x, double y, double width, double height)com.mxgraph.mxGeometryinline
mxGeometry(mxGeometry geometry)com.mxgraph.mxGeometryinline
mxPoint()com.mxgraph.mxPointinline
mxPoint(Point point)com.mxgraph.mxPointinline
mxPoint(mxPoint point)com.mxgraph.mxPointinline
mxPoint(double x, double y)com.mxgraph.mxPointinline
mxRectangle()com.mxgraph.mxRectangleinline
mxRectangle(mxRectangle rect)com.mxgraph.mxRectangleinline
mxRectangle(Rectangle rect)com.mxgraph.mxRectangleinline
mxRectangle(double x, double y, double width, double height)com.mxgraph.mxRectangleinline
offsetcom.mxgraph.mxGeometryprotected
Offsetcom.mxgraph.mxGeometry
Pointscom.mxgraph.mxGeometry
pointscom.mxgraph.mxGeometryprotected
Relativecom.mxgraph.mxGeometry
relativecom.mxgraph.mxGeometryprotected
setRect(double x, double y, double w, double h)com.mxgraph.mxRectangleinline
SetTerminalPoint(mxPoint point, bool source)com.mxgraph.mxGeometryinline
SourcePointcom.mxgraph.mxGeometry
sourcePointcom.mxgraph.mxGeometryprotected
TargetPointcom.mxgraph.mxGeometry
targetPointcom.mxgraph.mxGeometryprotected
Translate(double dx, double dy)com.mxgraph.mxGeometryinline
TRANSLATE_CONTROL_POINTScom.mxgraph.mxGeometrystatic
widthcom.mxgraph.mxRectangleprotected
Widthcom.mxgraph.mxRectangle
Xcom.mxgraph.mxPoint
xcom.mxgraph.mxPointprotected
Ycom.mxgraph.mxPoint
ycom.mxgraph.mxPointprotected
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGeometry.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGeometry.html new file mode 100644 index 000000000..ffde4b747 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGeometry.html @@ -0,0 +1,826 @@ + + + + + + +mxGraph: com.mxgraph.mxGeometry Class Reference + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+ +
+
com.mxgraph.mxGeometry Class Reference
+
+
+ +

Represents the geometry of a cell. For vertices, the geometry consists of the x- and y-location, as well as the width and height. For edges, the edge either defines the source- and target-terminal, or the geometry defines the respective terminal points. + More...

+
+Inheritance diagram for com.mxgraph.mxGeometry:
+
+
+ + +com.mxgraph.mxRectangle +com.mxgraph.mxPoint + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 mxGeometry ()
 Constructs a new geometry at (0, 0) with the width and height set to 0. More...
 
 mxGeometry (double x, double y, double width, double height)
 Constructs a geometry using the given parameters. More...
 
 mxGeometry (mxGeometry geometry)
 Constructs a copy of the given geometry. More...
 
mxPoint GetTerminalPoint (bool source)
 Returns the point representing the source or target point of this edge. This is only used if the edge has no source or target vertex. More...
 
mxPoint SetTerminalPoint (mxPoint point, bool source)
 Sets the sourcePoint or targetPoint to the given point and returns the new point. More...
 
void Translate (double dx, double dy)
 Translates the geometry by the specified amount. That is, x and y of the geometry, the sourcePoint, targetPoint and all elements of points are translated by the given amount. X and y are only translated if the geometry is not relative. If TRANSLATE_CONTROL_POINTS is false, then are not modified by this function. More...
 
new mxGeometry Clone ()
 Returns a new instance of the same geometry. More...
 
- Public Member Functions inherited from com.mxgraph.mxRectangle
 mxRectangle ()
 Constructs a new rectangle at (0, 0) with the width and height set to 0. More...
 
 mxRectangle (mxRectangle rect)
 Constructs a copy of the given rectangle. More...
 
 mxRectangle (Rectangle rect)
 Constructs a copy of the given rectangle. More...
 
 mxRectangle (double x, double y, double width, double height)
 Constructs a rectangle using the given parameters. More...
 
void setRect (double x, double y, double w, double h)
 Sets this rectangle to the specified values More...
 
double GetCenterX ()
 Returns the x-coordinate of the center. More...
 
double GetCenterY ()
 Returns the y-coordinate of the center. More...
 
void Add (mxRectangle rect)
 Adds the given rectangle to this rectangle. More...
 
void Grow (double amount)
 Grows the rectangle by the given amount, that is, this method subtracts the given amount from the x- and y-coordinates and adds twice the amount to the width and height. More...
 
bool Contains (double x, double y)
 Returns true if this rectangle contains the given point (x, y). More...
 
Rectangle GetRectangle ()
 Returns the bounds as a new rectangle. More...
 
new Boolean Equals (Object obj)
 Returns true if the given object equals this rectangle. More...
 
new mxRectangle Clone ()
 Returns a new instance of the same rectangle. More...
 
- Public Member Functions inherited from com.mxgraph.mxPoint
 mxPoint ()
 Constructs a new point at (0, 0). More...
 
 mxPoint (Point point)
 Constructs a new point at the location of the given point. More...
 
 mxPoint (mxPoint point)
 Constructs a new point at the location of the given point. More...
 
 mxPoint (double x, double y)
 Constructs a new point at (x, y). More...
 
Point GetPoint ()
 Returns the coordinates as a new point. More...
 
new Boolean Equals (Object obj)
 Returns true if the given object equals this point. More...
 
mxPoint Clone ()
 Returns a new instance of the same point. More...
 
+ + + + +

+Static Public Attributes

static bool TRANSLATE_CONTROL_POINTS = true
 Global switch to translate the points in translate. Default is true. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

mxRectangle alternateBounds
 Stores alternate values for x, y, width and height in a rectangle. Default is null. More...
 
mxPoint sourcePoint
 Defines the source-point of the edge. This is used if the corresponding edge does not have a source vertex. Otherwise it is ignored. Default is null. More...
 
mxPoint targetPoint
 Defines the target-point of the edge. This is used if the corresponding edge does not have a source vertex. Otherwise it is ignored. Default is null. More...
 
mxPoint offset
 Holds the offset of the label for edges. This is the absolute vector between the center of the edge and the top, left point of the label. Default is null. More...
 
List< mxPointpoints
 List of mxPoints which specifies the control points along the edge. These points are the intermediate points on the edge, for the endpoints use targetPoint and sourcePoint or set the terminals of the edge to a non-null value. Default is null. More...
 
bool relative = false
 Specifies if the coordinates in the geometry are to be interpreted as relative coordinates. Default is false. This is used to mark a geometry with an x- and y-coordinate that is used to describe an edge label position. More...
 
- Protected Attributes inherited from com.mxgraph.mxRectangle
double width
 Holds the width. Default is 0. More...
 
double height
 Holds the height. Default is 0. More...
 
- Protected Attributes inherited from com.mxgraph.mxPoint
double x
 Holds the x-coordinate of the point. Default is 0. More...
 
double y
 Holds the y-coordinate of the point. Default is 0. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Properties

mxRectangle AlternateBounds [get, set]
 Sets or returns the alternate bounds. More...
 
mxPoint SourcePoint [get, set]
 Sets or returns the source point. More...
 
mxPoint TargetPoint [get, set]
 Sets or returns the target point. More...
 
List< mxPointPoints [get, set]
 Sets or returns the list of control points. More...
 
mxPoint Offset [get, set]
 Sets or returns the offset. More...
 
bool Relative [get, set]
 Sets or returns if the geometry is relative. More...
 
- Properties inherited from com.mxgraph.mxRectangle
double Width [get, set]
 Sets or returns the width of the rectangle. More...
 
double Height [get, set]
 Sets or returns the height of the rectangle. More...
 
- Properties inherited from com.mxgraph.mxPoint
double X [get, set]
 Sets or returns the x-coordinate of the point. More...
 
double Y [get, set]
 Sets or returns the y-coordinate of the point. More...
 
+

Detailed Description

+

Represents the geometry of a cell. For vertices, the geometry consists of the x- and y-location, as well as the width and height. For edges, the edge either defines the source- and target-terminal, or the geometry defines the respective terminal points.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + +
+ + + + + + + +
com.mxgraph.mxGeometry.mxGeometry ()
+
+inline
+
+ +

Constructs a new geometry at (0, 0) with the width and height set to 0.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
com.mxgraph.mxGeometry.mxGeometry (double x,
double y,
double width,
double height 
)
+
+inline
+
+ +

Constructs a geometry using the given parameters.

+
Parameters
+ + + + + +
xX-coordinate of the new geometry.
yY-coordinate of the new geometry.
widthWidth of the new geometry.
heightHeight of the new geometry.
+
+
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
com.mxgraph.mxGeometry.mxGeometry (mxGeometry geometry)
+
+inline
+
+
+

Member Function Documentation

+ +
+
+ + + + + +
+ + + + + + + +
new mxGeometry com.mxgraph.mxGeometry.Clone ()
+
+inline
+
+ +

Returns a new instance of the same geometry.

+
Returns
Returns a clone of the geometry.
+ +

Referenced by com.mxgraph.mxCell.Clone(), com.mxgraph.mxFastOrganicLayout.execute(), and com.mxgraph.mxGraphModel.UpdateEdgeParent().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
mxPoint com.mxgraph.mxGeometry.GetTerminalPoint (bool source)
+
+inline
+
+ +

Returns the point representing the source or target point of this edge. This is only used if the edge has no source or target vertex.

+
Parameters
+ + +
sourceBoolean that specifies if the source or target point should be returned.
+
+
+
Returns
Returns the source or target point.
+ +

Referenced by com.mxgraph.mxGraphView.UpdateEdgeState(), and com.mxgraph.mxGraphView.UpdateFixedTerminalPoint().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
mxPoint com.mxgraph.mxGeometry.SetTerminalPoint (mxPoint point,
bool source 
)
+
+inline
+
+ +

Sets the sourcePoint or targetPoint to the given point and returns the new point.

+
Parameters
+ + + +
pointPoint to be used as the new source or target point.
sourceBoolean that specifies if the source or target point should be set.
+
+
+
Returns
Returns the new point.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxGeometry.Translate (double dx,
double dy 
)
+
+inline
+
+ +

Translates the geometry by the specified amount. That is, x and y of the geometry, the sourcePoint, targetPoint and all elements of points are translated by the given amount. X and y are only translated if the geometry is not relative. If TRANSLATE_CONTROL_POINTS is false, then are not modified by this function.

+
Parameters
+ + + +
dxInteger that specifies the x-coordinate of the translation.
dyInteger that specifies the y-coordinate of the translation.
+
+
+ +

References com.mxgraph.mxPoint.X, and com.mxgraph.mxPoint.Y.

+ +

Referenced by com.mxgraph.mxGraphModel.UpdateEdgeParent().

+ +
+
+

Member Data Documentation

+ +
+
+ + + + + +
+ + + + +
mxRectangle com.mxgraph.mxGeometry.alternateBounds
+
+protected
+
+ +

Stores alternate values for x, y, width and height in a rectangle. Default is null.

+ +

Referenced by com.mxgraph.mxGeometry.mxGeometry().

+ +
+
+ +
+
+ + + + + +
+ + + + +
mxPoint com.mxgraph.mxGeometry.offset
+
+protected
+
+ +

Holds the offset of the label for edges. This is the absolute vector between the center of the edge and the top, left point of the label. Default is null.

+ +

Referenced by com.mxgraph.mxGeometry.mxGeometry().

+ +
+
+ +
+
+ + + + + +
+ + + + +
List<mxPoint> com.mxgraph.mxGeometry.points
+
+protected
+
+ +

List of mxPoints which specifies the control points along the edge. These points are the intermediate points on the edge, for the endpoints use targetPoint and sourcePoint or set the terminals of the edge to a non-null value. Default is null.

+ +

Referenced by com.mxgraph.mxGeometry.mxGeometry().

+ +
+
+ +
+
+ + + + + +
+ + + + +
bool com.mxgraph.mxGeometry.relative = false
+
+protected
+
+ +

Specifies if the coordinates in the geometry are to be interpreted as relative coordinates. Default is false. This is used to mark a geometry with an x- and y-coordinate that is used to describe an edge label position.

+ +

Referenced by com.mxgraph.mxGeometry.mxGeometry().

+ +
+
+ +
+
+ + + + + +
+ + + + +
mxPoint com.mxgraph.mxGeometry.sourcePoint
+
+protected
+
+ +

Defines the source-point of the edge. This is used if the corresponding edge does not have a source vertex. Otherwise it is ignored. Default is null.

+ +

Referenced by com.mxgraph.mxGeometry.mxGeometry().

+ +
+
+ +
+
+ + + + + +
+ + + + +
mxPoint com.mxgraph.mxGeometry.targetPoint
+
+protected
+
+ +

Defines the target-point of the edge. This is used if the corresponding edge does not have a source vertex. Otherwise it is ignored. Default is null.

+ +

Referenced by com.mxgraph.mxGeometry.mxGeometry().

+ +
+
+ +
+
+ + + + + +
+ + + + +
bool com.mxgraph.mxGeometry.TRANSLATE_CONTROL_POINTS = true
+
+static
+
+ +

Global switch to translate the points in translate. Default is true.

+ +
+
+

Property Documentation

+ +
+
+ + + + + +
+ + + + +
mxRectangle com.mxgraph.mxGeometry.AlternateBounds
+
+getset
+
+ +

Sets or returns the alternate bounds.

+ +
+
+ +
+
+ + + + + +
+ + + + +
mxPoint com.mxgraph.mxGeometry.Offset
+
+getset
+
+ +

Sets or returns the offset.

+ +

Referenced by com.mxgraph.mxGraphView.GetPoint(), and com.mxgraph.mxGraphView.UpdateCellState().

+ +
+
+ +
+
+ + + + + +
+ + + + +
List<mxPoint> com.mxgraph.mxGeometry.Points
+
+getset
+
+ +

Sets or returns the list of control points.

+ +

Referenced by com.mxgraph.mxGraphView.UpdateEdgeState().

+ +
+
+ +
+
+ + + + + +
+ + + + +
bool com.mxgraph.mxGeometry.Relative
+
+getset
+
+
+ +
+
+ + + + + +
+ + + + +
mxPoint com.mxgraph.mxGeometry.SourcePoint
+
+getset
+
+ +

Sets or returns the source point.

+ +
+
+ +
+
+ + + + + +
+ + + + +
mxPoint com.mxgraph.mxGeometry.TargetPoint
+
+getset
+
+ +

Sets or returns the target point.

+ +
+
+
The documentation for this class was generated from the following file:
    +
  • src/model/mxGeometry.cs
  • +
+
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGeometry.png b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGeometry.png new file mode 100644 index 0000000000000000000000000000000000000000..668af1f24254269462d0bafc36fa943979dcd1cc GIT binary patch literal 974 zcmeAS@N?(olHy`uVBq!ia0vp^i-5R;gBeH$OCP8NQW60^A+G=b{|7Q(y!l$%e`o@b z1;z&s9ANFdBM;~z3^P0E(Xkzf0vj!h-3U=3STbuQpukiaF&7y?jBAIBj?7X&( z{-Xa1CN2pR?+{(-S?+RvdwJ>1^EIEM)*SjT^k~{I+obPn>NqxX<&`!@*!!C&?Ty$~ za{N;M>P)d~EBoa)zJ0-%fBoXkn!n#lWfj97en088sxSK6QMC_0+cZ4oPxod_|G%W8 z`EQw(i|4OE)XV(4{l<$8j`P{um=-jy<;tFo=%s)gs z7~)u!8p0bn9)v0|Rp91cweOq}Wof1OdDzelV$G27Z@KXak?U%8JJ=eAu@XWaHY ze%=@Nj;}1USItrQ#{X+qP3f!ETP>VyrqxBCtz-OZcRl;!l=oj8x69f-cxz=fd;R@= z>y(eEdB1z1d@t4A`_lZ?H!q$u2ZoPN>>7Q6T=V-q794+LMSqvy%ng;k)iqF1J6&?PD-=AU$?1JG;_Ygw(}yt_x^oi5w`i%9iHU*r%k?nDztJ~<20jW z>hE{?Hm{GQ+m-qG&Qd$Dwj)~nk6_Ze=*I!C^7YM2|FdkIRVe+Q<)Ygvr%eH}&x-CU zr)L+oR9I}ks*}CZ{Z90n$UWEjt9ov1yQL5SO=4?nHa)DIwTk)ex6g0)-Ke + + + + + +mxGraph: Member List + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+
+
com.mxgraph.mxGraph Member List
+
+
+ +

This is the complete list of members for com.mxgraph.mxGraph, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AddImageBundle(mxImageBundle bundle)com.mxgraph.mxGraphinline
ConvertValueToString(Object cell)com.mxgraph.mxGraphinline
CreateEdge(Object parent, string id, Object value, Object source, Object target, string style)com.mxgraph.mxGraphinline
CreateGraphView()com.mxgraph.mxGraphinlineprotected
CreateStylesheet()com.mxgraph.mxGraphinlineprotected
CreateVertex(Object parent, string id, Object value, double x, double y, double width, double height, string style)com.mxgraph.mxGraphinline
CreateVertex(Object parent, string id, Object value, double x, double y, double width, double height, string style, bool relative)com.mxgraph.mxGraphinline
defaultLoopStylecom.mxgraph.mxGraphprotected
DefaultLoopStylecom.mxgraph.mxGraph
DrawCell(mxICanvas canvas, Object cell)com.mxgraph.mxGraphinline
DrawGraph(mxICanvas canvas)com.mxgraph.mxGraphinline
DrawState(mxICanvas canvas, mxCellState state, String label)com.mxgraph.mxGraphinline
FindTreeRoots(Object parent)com.mxgraph.mxGraphinline
FindTreeRoots(Object parent, bool isolate)com.mxgraph.mxGraphinline
FindTreeRoots(Object parent, bool isolate, bool invert)com.mxgraph.mxGraphinline
GetBoundingBox(Object cell)com.mxgraph.mxGraphinline
GetBoundingBox(Object cell, bool includeEdges)com.mxgraph.mxGraphinline
GetBoundingBox(Object cell, bool includeEdges, bool includeDescendants)com.mxgraph.mxGraphinline
GetBoundsForCells(Object[] cells, bool includeEdges, bool includeDescendants, bool boundingBox)com.mxgraph.mxGraphinline
GetCellAt(int x, int y)com.mxgraph.mxGraphinline
GetCellAt(int x, int y, bool hitSwimlaneContent)com.mxgraph.mxGraphinline
GetCellAt(int x, int y, bool hitSwimlaneContent, Object parent)com.mxgraph.mxGraphinline
GetCellBounds(Object cell)com.mxgraph.mxGraphinline
GetCellBounds(Object cell, bool includeEdges)com.mxgraph.mxGraphinline
GetCellBounds(Object cell, bool includeEdges, bool includeDescendants)com.mxgraph.mxGraphinline
GetCellBounds(Object cell, bool includeEdges, bool includeDescendants, bool boundingBox)com.mxgraph.mxGraphinline
GetCellGeometry(Object cell)com.mxgraph.mxGraphinline
GetCellStyle(Object cell)com.mxgraph.mxGraphinline
GetChildCells(Object parent)com.mxgraph.mxGraphinline
GetChildCells(Object parent, bool vertices, bool edges)com.mxgraph.mxGraphinline
GetChildEdges(Object parent)com.mxgraph.mxGraphinline
GetChildOffsetForCell(Object cell)com.mxgraph.mxGraphinline
GetChildVertices(Object parent)com.mxgraph.mxGraphinline
GetConnectionConstraint(mxCellState edge, mxCellState terminal, bool source)com.mxgraph.mxGraphinline
GetConnectionPoint(mxCellState vertex, mxConnectionConstraint constraint)com.mxgraph.mxGraphinline
GetConnections(Object cell)com.mxgraph.mxGraphinline
GetConnections(Object cell, Object parent)com.mxgraph.mxGraphinline
GetDefaultParent()com.mxgraph.mxGraphinline
GetEdges(Object cell)com.mxgraph.mxGraphinline
GetEdges(Object cell, Object parent)com.mxgraph.mxGraphinline
GetEdges(Object cell, Object parent, bool incoming, bool outgoing, bool includeLoops)com.mxgraph.mxGraphinline
GetEdges(Object cell, Object parent, bool incoming, bool outgoing, bool includeLoops, bool recurse)com.mxgraph.mxGraphinline
GetEdgesBetween(Object source, Object target)com.mxgraph.mxGraphinline
GetEdgesBetween(Object source, Object target, bool directed)com.mxgraph.mxGraphinline
GetGraphBounds()com.mxgraph.mxGraphinline
GetImageFromBundles(String key)com.mxgraph.mxGraphinline
GetIncomingEdges(Object cell)com.mxgraph.mxGraphinline
GetIncomingEdges(Object cell, Object parent)com.mxgraph.mxGraphinline
GetLabel(Object cell)com.mxgraph.mxGraphinline
GetOpposites(Object[] edges, Object terminal)com.mxgraph.mxGraphinline
GetOpposites(Object[] edges, Object terminal, bool sources, bool targets)com.mxgraph.mxGraphinline
GetOutgoingEdges(Object cell)com.mxgraph.mxGraphinline
GetOutgoingEdges(Object cell, Object parent)com.mxgraph.mxGraphinline
GetPaintBounds(Object[] cells)com.mxgraph.mxGraphinline
GraphModelChanged()com.mxgraph.mxGraphinline
gridEnabledcom.mxgraph.mxGraphprotected
GridEnabledcom.mxgraph.mxGraph
gridSizecom.mxgraph.mxGraphprotected
GridSizecom.mxgraph.mxGraph
HitsSwimlaneContent(Object swimlane, int x, int y)com.mxgraph.mxGraphinline
ImageBundlescom.mxgraph.mxGraph
imageBundlescom.mxgraph.mxGraphprotected
InsertEdge(Object parent, string id, Object value, Object source, Object target)com.mxgraph.mxGraphinline
InsertEdge(Object parent, string id, Object value, Object source, Object target, string style)com.mxgraph.mxGraphinline
InsertVertex(Object parent, string id, Object value, double x, double y, double width, double height)com.mxgraph.mxGraphinline
InsertVertex(Object parent, string id, Object value, double x, double y, double width, double height, string style)com.mxgraph.mxGraphinline
InsertVertex(Object parent, string id, Object value, double x, double y, double width, double height, string style, bool relative)com.mxgraph.mxGraphinline
Intersects(mxCellState state, Rectangle rect)com.mxgraph.mxGraphinline
IsCellCollapsed(Object cell)com.mxgraph.mxGraphinline
IsCellConnectable(Object cell)com.mxgraph.mxGraphinline
IsCellMovable(Object cell)com.mxgraph.mxGraphinline
IsCellVisible(Object cell)com.mxgraph.mxGraphinline
IsOrthogonal(mxCellState edge)com.mxgraph.mxGraphinline
IsSwimlane(Object cell)com.mxgraph.mxGraphinline
IsValidAncestor(Object cell, Object parent, bool recurse)com.mxgraph.mxGraphinline
labelsVisiblecom.mxgraph.mxGraphprotected
LabelsVisiblecom.mxgraph.mxGraph
modelcom.mxgraph.mxGraphprotected
Modelcom.mxgraph.mxGraph
mxGraph()com.mxgraph.mxGraphinline
mxGraph(mxIGraphModel model)com.mxgraph.mxGraphinline
mxGraph(mxStylesheet stylesheet)com.mxgraph.mxGraphinline
mxGraph(mxIGraphModel model, mxStylesheet stylesheet)com.mxgraph.mxGraphinline
PostProcessCellStyle(Dictionary< string, Object > style)com.mxgraph.mxGraphinlineprotected
RemoveImageBundle(mxImageBundle bundle)com.mxgraph.mxGraphinline
SetCellStyles(String key, String value, Object[] cells)com.mxgraph.mxGraphinline
Snap(double value)com.mxgraph.mxGraphinline
Stylesheetcom.mxgraph.mxGraph
stylesheetcom.mxgraph.mxGraphprotected
tolerancecom.mxgraph.mxGraphprotected
VERSIONcom.mxgraph.mxGraph
viewcom.mxgraph.mxGraphprotected
Viewcom.mxgraph.mxGraph
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraph.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraph.html new file mode 100644 index 000000000..88100a060 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraph.html @@ -0,0 +1,3897 @@ + + + + + + +mxGraph: com.mxgraph.mxGraph Class Reference + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+ +
+ +

Implements a graph object that allows to create diagrams from a graph model and stylesheet. + More...

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 mxGraph ()
 Constructs a new graph with an empty graph model. More...
 
 mxGraph (mxIGraphModel model)
 Constructs a new graph for the specified model. If no model is specified, then a new, empty graph model is used. More...
 
 mxGraph (mxStylesheet stylesheet)
 Constructs a new graph for the specified model. If no model is specified, then a new, empty graph model is used. More...
 
 mxGraph (mxIGraphModel model, mxStylesheet stylesheet)
 Constructs a new graph for the specified model. If no model is specified, then a new, empty graph model is used. More...
 
double Snap (double value)
 Snaps the given numeric value to the grid if gridEnabled is true. More...
 
Object GetDefaultParent ()
 Returns the first child of the root in the model, that is, the first or default layer of the diagram. More...
 
string ConvertValueToString (Object cell)
 Returns the textual representation for the given cell. More...
 
string GetLabel (Object cell)
 Returns a string or markup that represents the label for the given cell. This implementation uses ConvertValueToString if labelsVisible is true. Otherwise it returns an empty string. More...
 
mxPoint GetChildOffsetForCell (Object cell)
 Returns the offset to be used for the cells inside the given cell. The root and layer cells may be identified using mxGraphModel.isRoot and mxGraphModel.isLayer. This implementation returns null. More...
 
bool IsOrthogonal (mxCellState edge)
 Returns true if perimeter points should be computed such that the resulting edge has only horizontal or vertical segments. More...
 
bool IsSwimlane (Object cell)
 Returns true if the given cell is a swimlane. More...
 
bool IsCellMovable (Object cell)
 Returns true if the given cell is movable. This implementation always returns true. More...
 
bool IsCellVisible (Object cell)
 Returns true if the given cell is visible. This implementation returns true if the visible state of the cell in the model is true. More...
 
bool IsCellCollapsed (Object cell)
 Returns true if the given cell is collapsed. This implementation returns true if the collapsed state of the cell in the model is true. More...
 
bool IsCellConnectable (Object cell)
 Returns true if the given cell is connectable. This implementation returns true if the connectable state of the cell in the model is true. More...
 
mxGeometry GetCellGeometry (Object cell)
 Returns the geometry for the given cell. More...
 
Dictionary< string, Object > GetCellStyle (Object cell)
 Returns the style for the given cell. More...
 
void AddImageBundle (mxImageBundle bundle)
 Adds the specified bundle. More...
 
void RemoveImageBundle (mxImageBundle bundle)
 Removes the specified bundle. More...
 
String GetImageFromBundles (String key)
 Searches all bundles for the specified key and returns the value for the first match or null if the key is not found. More...
 
void SetCellStyles (String key, String value, Object[] cells)
 Sets the key to value in the styles of the given cells. This will modify the existing cell styles in-place and override any existing assignment for the given key. If no cells are specified, then the selection cells are changed. If no value is specified, then the respective key is removed from the styles. More...
 
Object InsertVertex (Object parent, string id, Object value, double x, double y, double width, double height)
 Creates and adds a new vertex with an empty style, see AddVertex. More...
 
Object InsertVertex (Object parent, string id, Object value, double x, double y, double width, double height, string style)
 Creates and adds a new vertex with an empty style, see AddVertex. More...
 
Object InsertVertex (Object parent, string id, Object value, double x, double y, double width, double height, string style, bool relative)
 Adds a new vertex into the given parent using value as the user object and the given coordinates as the geometry of the new vertex. The id and style are used for the respective properties of the new cell, which is returned. More...
 
Object CreateVertex (Object parent, string id, Object value, double x, double y, double width, double height, string style)
 Creates a new vertex to be used in insertVertex. More...
 
Object CreateVertex (Object parent, string id, Object value, double x, double y, double width, double height, string style, bool relative)
 Creates a new vertex to be used in insertVertex. More...
 
Object InsertEdge (Object parent, string id, Object value, Object source, Object target)
 Creates and adds a new edge with an empty style. More...
 
Object InsertEdge (Object parent, string id, Object value, Object source, Object target, string style)
 Adds a new edge into the given parent using value as the user object and the given source and target as the terminals of the new edge. The Id and style are used for the respective properties of the new cell, which is returned. More...
 
Object CreateEdge (Object parent, string id, Object value, Object source, Object target, string style)
 Creates the edge to be used in insertEdge. This implementation does not set the source and target of the edge, these are set when the edge is added to the model. More...
 
mxRectangle GetGraphBounds ()
 Returns the bounds of the visible graph. More...
 
mxRectangle GetCellBounds (Object cell)
 Returns the bounds of the given cell. More...
 
mxRectangle GetCellBounds (Object cell, bool includeEdges)
 Returns the bounds of the given cell including all connected edges if includeEdge is true. More...
 
mxRectangle GetCellBounds (Object cell, bool includeEdges, bool includeDescendants)
 Returns the bounds of the given cell including all connected edges if includeEdge is true. More...
 
mxRectangle GetBoundingBox (Object cell)
 Returns the bounds of the given cell. More...
 
mxRectangle GetBoundingBox (Object cell, bool includeEdges)
 Returns the bounding box of the given cell including all connected edges if includeEdge is true. More...
 
mxRectangle GetBoundingBox (Object cell, bool includeEdges, bool includeDescendants)
 Returns the bounding box of the given cell including all connected edges if includeEdge is true. More...
 
mxRectangle GetPaintBounds (Object[] cells)
 Returns the bounding box of the given cells and their descendants. More...
 
mxRectangle GetBoundsForCells (Object[] cells, bool includeEdges, bool includeDescendants, bool boundingBox)
 Returns the bounds for the given cells. More...
 
mxRectangle GetCellBounds (Object cell, bool includeEdges, bool includeDescendants, bool boundingBox)
 Returns the bounds of the given cell including all connected edges if includeEdge is true. More...
 
mxConnectionConstraint GetConnectionConstraint (mxCellState edge, mxCellState terminal, bool source)
 Returns a connection constraint that describes the given connection point. This result can then be passed to getConnectionPoint. More...
 
mxPoint GetConnectionPoint (mxCellState vertex, mxConnectionConstraint constraint)
 Returns the nearest point in the list of absolute points or the center of the opposite terminal. More...
 
Object GetCellAt (int x, int y)
 Returns the cell at the given location. More...
 
Object GetCellAt (int x, int y, bool hitSwimlaneContent)
 Returns the cell at the given location. More...
 
Object GetCellAt (int x, int y, bool hitSwimlaneContent, Object parent)
 Returns the bottom-most cell that intersects the given point (x, y) in the cell hierarchy starting at the given parent. More...
 
bool Intersects (mxCellState state, Rectangle rect)
 Returns the bottom-most cell that intersects the given point (x, y) in the cell hierarchy that starts at the given parent. More...
 
bool HitsSwimlaneContent (Object swimlane, int x, int y)
 Returns true if the given point is inside the content area of the given swimlane. (The content area of swimlanes is transparent to events.) This implementation does not check if the given state is a swimlane, it is assumed that the caller has checked this before using this method. More...
 
Object[] GetChildVertices (Object parent)
 Returns the visible child vertices of the given parent. More...
 
Object[] GetChildEdges (Object parent)
 Returns the visible child edges of the given parent. More...
 
Object[] GetChildCells (Object parent)
 Returns the visible children of the given parent. More...
 
Object[] GetChildCells (Object parent, bool vertices, bool edges)
 Returns the visible child vertices or edges in the given parent. If vertices and edges is false, then all children are returned. More...
 
Object[] GetConnections (Object cell)
 Returns all visible edges connected to the given cell without loops. More...
 
Object[] GetConnections (Object cell, Object parent)
 Returns all visible edges connected to the given cell without loops. More...
 
Object[] GetIncomingEdges (Object cell)
 Returns all incoming visible edges connected to the given cell without loops. More...
 
Object[] GetIncomingEdges (Object cell, Object parent)
 Returns the visible incoming edges for the given cell. If the optional parent argument is specified, then only child edges of the given parent are returned. More...
 
Object[] GetOutgoingEdges (Object cell)
 Returns all outgoing visible edges connected to the given cell without loops. More...
 
Object[] GetOutgoingEdges (Object cell, Object parent)
 Returns the visible outgoing edges for the given cell. If the optional parent argument is specified, then only child edges of the given parent are returned. More...
 
Object[] GetEdges (Object cell)
 Returns all visible edges connected to the given cell including loops. More...
 
Object[] GetEdges (Object cell, Object parent)
 Returns all visible edges connected to the given cell including loops. More...
 
Object[] GetEdges (Object cell, Object parent, bool incoming, bool outgoing, bool includeLoops)
 Returns the incoming and/or outgoing edges for the given cell. If the optional parent argument is specified, then only edges are returned where the opposite is in the given parent cell. If at least one of incoming or outgoing is true, then loops are ignored, if both are false, then all edges connected to the given cell are returned including loops. More...
 
Object[] GetEdges (Object cell, Object parent, bool incoming, bool outgoing, bool includeLoops, bool recurse)
 Returns the incoming and/or outgoing edges for the given cell. If the optional parent argument is specified, then only edges are returned where the opposite is in the given parent cell. If at least one of incoming or outgoing is true, then loops are ignored, if both are false, then all edges connected to the given cell are returned including loops. More...
 
bool IsValidAncestor (Object cell, Object parent, bool 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. More...
 
Object[] GetOpposites (Object[] edges, Object terminal)
 Returns all distinct visible opposite cells of the terminal on the given edges. More...
 
Object[] GetOpposites (Object[] edges, Object terminal, bool sources, bool targets)
 Returns all distincts visible opposite cells for the specified terminal on the given edges. More...
 
Object[] GetEdgesBetween (Object source, Object target)
 Returns the edges between the given source and target. This takes into account collapsed and invisible cells and returns the connected edges as displayed on the screen. More...
 
Object[] GetEdgesBetween (Object source, Object target, bool directed)
 Returns the edges between the given source and target. This takes into account collapsed and invisible cells and returns the connected edges as displayed on the screen. More...
 
List< Object > FindTreeRoots (Object parent)
 Returns all children in the given parent which do not have incoming edges. If the result is empty then the with the greatest difference between incoming and outgoing edges is returned. More...
 
List< Object > FindTreeRoots (Object parent, bool isolate)
 Returns all children in the given parent which do not have incoming edges. If the result is empty then the with the greatest difference between incoming and outgoing edges is returned. More...
 
List< Object > FindTreeRoots (Object parent, bool isolate, bool invert)
 Returns all children in the given parent which do not have incoming edges. If the result is empty then the with the greatest difference between incoming and outgoing edges is returned. More...
 
void DrawGraph (mxICanvas canvas)
 Draws the graph onto the given canvas. More...
 
void DrawCell (mxICanvas canvas, Object cell)
 Draws the given cell onto the specified canvas. More...
 
void DrawState (mxICanvas canvas, mxCellState state, String label)
 Draws the given cell and label onto the specified canvas. No children or descendants are painted. More...
 
void GraphModelChanged ()
 Called when the graph model has changed to invalidate the view. More...
 
+ + + + +

+Public Attributes

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

+Protected Member Functions

mxStylesheet CreateStylesheet ()
 Constructs a new stylesheet to be used in this graph. More...
 
mxGraphView CreateGraphView ()
 Constructs a new view to be used in this graph. More...
 
Dictionary< string, Object > PostProcessCellStyle (Dictionary< string, Object > 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. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

mxIGraphModel model
 Holds the model that contains the cells to be displayed. More...
 
mxStylesheet stylesheet
 Holds the stylesheet that defines the appearance of the cells. More...
 
mxGraphView view
 Holds the view that caches the cell states. More...
 
mxEdgeStyleFunction defaultLoopStyle = mxEdgeStyle.Loop
 Specifies the default style for loops. More...
 
int tolerance = 4
 Specifies the tolerance for mouse clicks. Default is 4. More...
 
bool labelsVisible = true
 Specifies if labels should be visible. This is used in GetLabel. Default is true. More...
 
int gridSize = 10
 Specifies the grid size. Default is 10. More...
 
bool gridEnabled = true
 Specifies if the grid is enabled. Default is true. More...
 
List< mxImageBundleimageBundles = new List<mxImageBundle>()
 Holds the list of image bundles. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + +

+Properties

mxIGraphModel Model [get, set]
 Sets or returns the graph model that contains the graph data. More...
 
mxStylesheet Stylesheet [get, set]
 Sets or returns the stylesheet that provides the style. More...
 
mxGraphView View [get, set]
 Sets or returns the view that contains the cell states. More...
 
mxEdgeStyleFunction DefaultLoopStyle [get, set]
 Sets or returns the default edge style for loops. More...
 
bool GridEnabled [get, set]
 Sets or returns the enabled state of the grid. More...
 
int GridSize [get, set]
 Sets or returns the grid size. More...
 
bool LabelsVisible [get, set]
 Sets or returns if labels are visible More...
 
List< mxImageBundleImageBundles [get, set]
 Sets or returns the image bundles. More...
 
+

Detailed Description

+

Implements a graph object that allows to create diagrams from a graph model and stylesheet.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + +
+ + + + + + + +
com.mxgraph.mxGraph.mxGraph ()
+
+inline
+
+ +

Constructs a new graph with an empty graph model.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
com.mxgraph.mxGraph.mxGraph (mxIGraphModel model)
+
+inline
+
+ +

Constructs a new graph for the specified model. If no model is specified, then a new, empty graph model is used.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
com.mxgraph.mxGraph.mxGraph (mxStylesheet stylesheet)
+
+inline
+
+ +

Constructs a new graph for the specified model. If no model is specified, then a new, empty graph model is used.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
com.mxgraph.mxGraph.mxGraph (mxIGraphModel model,
mxStylesheet stylesheet 
)
+
+inline
+
+ +

Constructs a new graph for the specified model. If no model is specified, then a new, empty graph model is used.

+ +
+
+

Member Function Documentation

+ +
+
+ + + + + +
+ + + + + + + + +
void com.mxgraph.mxGraph.AddImageBundle (mxImageBundle bundle)
+
+inline
+
+ +

Adds the specified bundle.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
string com.mxgraph.mxGraph.ConvertValueToString (Object cell)
+
+inline
+
+ +

Returns the textual representation for the given cell.

+
Parameters
+ + +
cellCell to be converted to a string.
+
+
+
Returns
Returns the textual representation of the cell.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Object com.mxgraph.mxGraph.CreateEdge (Object parent,
string id,
Object value,
Object source,
Object target,
string style 
)
+
+inline
+
+ +

Creates the edge to be used in insertEdge. This implementation does not set the source and target of the edge, these are set when the edge is added to the model.

+ +

References com.mxgraph.mxGeometry.Relative.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
mxGraphView com.mxgraph.mxGraph.CreateGraphView ()
+
+inlineprotected
+
+ +

Constructs a new view to be used in this graph.

+
Returns
+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
mxStylesheet com.mxgraph.mxGraph.CreateStylesheet ()
+
+inlineprotected
+
+ +

Constructs a new stylesheet to be used in this graph.

+
Returns
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Object com.mxgraph.mxGraph.CreateVertex (Object parent,
string id,
Object value,
double x,
double y,
double width,
double height,
string style 
)
+
+inline
+
+ +

Creates a new vertex to be used in insertVertex.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Object com.mxgraph.mxGraph.CreateVertex (Object parent,
string id,
Object value,
double x,
double y,
double width,
double height,
string style,
bool relative 
)
+
+inline
+
+ +

Creates a new vertex to be used in insertVertex.

+ +

References com.mxgraph.mxGeometry.Relative.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxGraph.DrawCell (mxICanvas canvas,
Object cell 
)
+
+inline
+
+ +

Draws the given cell onto the specified canvas.

+
Parameters
+ + + +
canvasCanvas onto which the cell should be drawn.
cellCell that should be drawn onto the canvas.
+
+
+ +

Referenced by com.mxgraph.mxCellRenderer.DrawCells().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
void com.mxgraph.mxGraph.DrawGraph (mxICanvas canvas)
+
+inline
+
+ +

Draws the graph onto the given canvas.

+
Parameters
+ + +
canvasCanvas onto which the graph should be drawn.
+
+
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxGraph.DrawState (mxICanvas canvas,
mxCellState state,
String label 
)
+
+inline
+
+
+ +
+
+ + + + + +
+ + + + + + + + +
List<Object> com.mxgraph.mxGraph.FindTreeRoots (Object parent)
+
+inline
+
+ +

Returns all children in the given parent which do not have incoming edges. If the result is empty then the with the greatest difference between incoming and outgoing edges is returned.

+
Parameters
+ + +
parentCell whose children should be checked.
+
+
+
Returns
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
List<Object> com.mxgraph.mxGraph.FindTreeRoots (Object parent,
bool isolate 
)
+
+inline
+
+ +

Returns all children in the given parent which do not have incoming edges. If the result is empty then the with the greatest difference between incoming and outgoing edges is returned.

+
Parameters
+ + + +
parentCell whose children should be checked.
isolateSpecifies if edges should be ignored if the opposite end is not a child of the given parent cell.
+
+
+
Returns
Array of tree roots in parent.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
List<Object> com.mxgraph.mxGraph.FindTreeRoots (Object parent,
bool isolate,
bool invert 
)
+
+inline
+
+ +

Returns all children in the given parent which do not have incoming edges. If the result is empty then the with the greatest difference between incoming and outgoing edges is returned.

+
Parameters
+ + + + +
parentCell whose children should be checked.
isolateSpecifies if edges should be ignored if the opposite end is not a child of the given parent cell.
invertSpecifies if outgoing or incoming edges should be counted for a tree root. If false then outgoing edges will be counted.
+
+
+
Returns
Array of tree roots in parent.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
mxRectangle com.mxgraph.mxGraph.GetBoundingBox (Object cell)
+
+inline
+
+ +

Returns the bounds of the given cell.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
mxRectangle com.mxgraph.mxGraph.GetBoundingBox (Object cell,
bool includeEdges 
)
+
+inline
+
+ +

Returns the bounding box of the given cell including all connected edges if includeEdge is true.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
mxRectangle com.mxgraph.mxGraph.GetBoundingBox (Object cell,
bool includeEdges,
bool includeDescendants 
)
+
+inline
+
+ +

Returns the bounding box of the given cell including all connected edges if includeEdge is true.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
mxRectangle com.mxgraph.mxGraph.GetBoundsForCells (Object[] cells,
bool includeEdges,
bool includeDescendants,
bool boundingBox 
)
+
+inline
+
+ +

Returns the bounds for the given cells.

+ +

References com.mxgraph.mxRectangle.Add().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Object com.mxgraph.mxGraph.GetCellAt (int x,
int y 
)
+
+inline
+
+ +

Returns the cell at the given location.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
Object com.mxgraph.mxGraph.GetCellAt (int x,
int y,
bool hitSwimlaneContent 
)
+
+inline
+
+ +

Returns the cell at the given location.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Object com.mxgraph.mxGraph.GetCellAt (int x,
int y,
bool hitSwimlaneContent,
Object parent 
)
+
+inline
+
+ +

Returns the bottom-most cell that intersects the given point (x, y) in the cell hierarchy starting at the given parent.

+
Parameters
+ + + + + +
xX-coordinate of the location to be checked.
yY-coordinate of the location to be checked.
hitSwimlaneContent
parentthat should be used as the root of the recursion.
+
+
+
Returns
Returns the child at the given location.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
mxRectangle com.mxgraph.mxGraph.GetCellBounds (Object cell)
+
+inline
+
+ +

Returns the bounds of the given cell.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
mxRectangle com.mxgraph.mxGraph.GetCellBounds (Object cell,
bool includeEdges 
)
+
+inline
+
+ +

Returns the bounds of the given cell including all connected edges if includeEdge is true.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
mxRectangle com.mxgraph.mxGraph.GetCellBounds (Object cell,
bool includeEdges,
bool includeDescendants 
)
+
+inline
+
+ +

Returns the bounds of the given cell including all connected edges if includeEdge is true.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
mxRectangle com.mxgraph.mxGraph.GetCellBounds (Object cell,
bool includeEdges,
bool includeDescendants,
bool boundingBox 
)
+
+inline
+
+ +

Returns the bounds of the given cell including all connected edges if includeEdge is true.

+ +

References com.mxgraph.mxRectangle.Add().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
mxGeometry com.mxgraph.mxGraph.GetCellGeometry (Object cell)
+
+inline
+
+ +

Returns the geometry for the given cell.

+
Parameters
+ + +
cellCell whose geometry should be returned.
+
+
+
Returns
Returns the geometry of the cell.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
Dictionary<string, Object> com.mxgraph.mxGraph.GetCellStyle (Object cell)
+
+inline
+
+ +

Returns the style for the given cell.

+
Parameters
+ + +
cellCell whose style should be returned.
+
+
+
Returns
Returns the style of the cell.
+ +

References com.mxgraph.mxStylesheet.EMPTY_STYLE.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
Object [] com.mxgraph.mxGraph.GetChildCells (Object parent)
+
+inline
+
+ +

Returns the visible children of the given parent.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
Object [] com.mxgraph.mxGraph.GetChildCells (Object parent,
bool vertices,
bool edges 
)
+
+inline
+
+ +

Returns the visible child vertices or edges in the given parent. If vertices and edges is false, then all children are returned.

+
Parameters
+ + + + +
parentCell whose children should be returned.
verticesSpecifies if child vertices should be returned.
edgesSpecifies if child edges should be returned.
+
+
+
Returns
+ +

References com.mxgraph.mxGraphModel.getChildCells().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
Object [] com.mxgraph.mxGraph.GetChildEdges (Object parent)
+
+inline
+
+ +

Returns the visible child edges of the given parent.

+
Parameters
+ + +
parentCell whose children should be returned.
+
+
+
Returns
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
mxPoint com.mxgraph.mxGraph.GetChildOffsetForCell (Object cell)
+
+inline
+
+ +

Returns the offset to be used for the cells inside the given cell. The root and layer cells may be identified using mxGraphModel.isRoot and mxGraphModel.isLayer. This implementation returns null.

+
Parameters
+ + +
cellCell whose offset should be returned.
+
+
+
Returns
Returns the child offset for the given cell.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
Object [] com.mxgraph.mxGraph.GetChildVertices (Object parent)
+
+inline
+
+ +

Returns the visible child vertices of the given parent.

+
Parameters
+ + +
parentCell whose children should be returned.
+
+
+
Returns
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
mxConnectionConstraint com.mxgraph.mxGraph.GetConnectionConstraint (mxCellState edge,
mxCellState terminal,
bool source 
)
+
+inline
+
+ +

Returns a connection constraint that describes the given connection point. This result can then be passed to getConnectionPoint.

+
Parameters
+ + + + +
edgeCell state that represents the edge.
terminalCell state that represents the terminal.
sourceBoolean indicating if the terminal is the source or target.
+
+
+
Returns
+ +

References com.mxgraph.mxUtils.GetDouble(), com.mxgraph.mxUtils.IsTrue(), com.mxgraph.mxCellState.Style, com.mxgraph.mxConstants.STYLE_ENTRY_PERIMETER, com.mxgraph.mxConstants.STYLE_ENTRY_X, com.mxgraph.mxConstants.STYLE_ENTRY_Y, com.mxgraph.mxConstants.STYLE_EXIT_PERIMETER, com.mxgraph.mxConstants.STYLE_EXIT_X, and com.mxgraph.mxConstants.STYLE_EXIT_Y.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
mxPoint com.mxgraph.mxGraph.GetConnectionPoint (mxCellState vertex,
mxConnectionConstraint constraint 
)
+
+inline
+
+ +

Returns the nearest point in the list of absolute points or the center of the opposite terminal.

+
Parameters
+ + + +
vertexCell state that represents the vertex.
constraintConnection constraint that represents the connection point constraint as returned by getConnectionConstraint.
+
+
+ +

References com.mxgraph.mxRectangle.Height, com.mxgraph.mxConnectionConstraint.Perimeter, com.mxgraph.mxConnectionConstraint.Point, com.mxgraph.mxRectangle.Width, com.mxgraph.mxPoint.X, and com.mxgraph.mxPoint.Y.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
Object [] com.mxgraph.mxGraph.GetConnections (Object cell)
+
+inline
+
+ +

Returns all visible edges connected to the given cell without loops.

+
Parameters
+ + +
cellCell whose connections should be returned.
+
+
+
Returns
Returns the connected edges for the given cell.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Object [] com.mxgraph.mxGraph.GetConnections (Object cell,
Object parent 
)
+
+inline
+
+ +

Returns all visible edges connected to the given cell without loops.

+
Parameters
+ + + +
cellCell whose connections should be returned.
parentOptional parent of the opposite end for a connection to be returned.
+
+
+
Returns
Returns the connected edges for the given cell.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
Object com.mxgraph.mxGraph.GetDefaultParent ()
+
+inline
+
+ +

Returns the first child of the root in the model, that is, the first or default layer of the diagram.

+
Returns
Returns the default parent for new cells.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
Object [] com.mxgraph.mxGraph.GetEdges (Object cell)
+
+inline
+
+ +

Returns all visible edges connected to the given cell including loops.

+
Parameters
+ + +
cellCell whose edges should be returned.
+
+
+
Returns
Returns the edges of the given cell.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Object [] com.mxgraph.mxGraph.GetEdges (Object cell,
Object parent 
)
+
+inline
+
+ +

Returns all visible edges connected to the given cell including loops.

+
Parameters
+ + + +
cellCell whose edges should be returned.
parentOptional parent of the opposite end for an edge to be returned.
+
+
+
Returns
Returns the edges of the given cell.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Object [] com.mxgraph.mxGraph.GetEdges (Object cell,
Object parent,
bool incoming,
bool outgoing,
bool includeLoops 
)
+
+inline
+
+ +

Returns the incoming and/or outgoing edges for the given cell. If the optional parent argument is specified, then only edges are returned where the opposite is in the given parent cell. If at least one of incoming or outgoing is true, then loops are ignored, if both are false, then all edges connected to the given cell are returned including loops.

+
Parameters
+ + + + + + +
cellCell whose edges should be returned.
parentOptional parent of the opposite end for an edge to be returned.
incomingSpecifies if incoming edges should be included in the result.
outgoingSpecifies if outgoing edges should be included in the result.
includeLoopsSpecifies if loops should be included in the result.
+
+
+
Returns
Returns the edges connected to the given cell.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Object [] com.mxgraph.mxGraph.GetEdges (Object cell,
Object parent,
bool incoming,
bool outgoing,
bool includeLoops,
bool recurse 
)
+
+inline
+
+ +

Returns the incoming and/or outgoing edges for the given cell. If the optional parent argument is specified, then only edges are returned where the opposite is in the given parent cell. If at least one of incoming or outgoing is true, then loops are ignored, if both are false, then all edges connected to the given cell are returned including loops.

+
Parameters
+ + + + + + + +
cellCell whose edges should be returned.
parentOptional parent of the opposite end for an edge to be returned.
incomingSpecifies if incoming edges should be included in the result.
outgoingSpecifies if outgoing edges should be included in the result.
includeLoopsSpecifies if loops should be included in the result.
recurseBoolean the specifies if the parent specified only need be an ancestral parent, true, or the direct parent, false.
+
+
+
Returns
Returns the edges connected to the given cell.
+ +

References com.mxgraph.mxGraphModel.GetEdges().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Object [] com.mxgraph.mxGraph.GetEdgesBetween (Object source,
Object target 
)
+
+inline
+
+ +

Returns the edges between the given source and target. This takes into account collapsed and invisible cells and returns the connected edges as displayed on the screen.

+
Parameters
+ + + +
source
target
+
+
+
Returns
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
Object [] com.mxgraph.mxGraph.GetEdgesBetween (Object source,
Object target,
bool directed 
)
+
+inline
+
+ +

Returns the edges between the given source and target. This takes into account collapsed and invisible cells and returns the connected edges as displayed on the screen.

+
Parameters
+ + + + +
source
target
directed
+
+
+
Returns
+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
mxRectangle com.mxgraph.mxGraph.GetGraphBounds ()
+
+inline
+
+ +

Returns the bounds of the visible graph.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
String com.mxgraph.mxGraph.GetImageFromBundles (String key)
+
+inline
+
+ +

Searches all bundles for the specified key and returns the value for the first match or null if the key is not found.

+
Parameters
+ + +
key
+
+
+
Returns
+ +

References com.mxgraph.mxImageBundle.GetImage().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
Object [] com.mxgraph.mxGraph.GetIncomingEdges (Object cell)
+
+inline
+
+ +

Returns all incoming visible edges connected to the given cell without loops.

+
Parameters
+ + +
cellCell whose incoming edges should be returned.
+
+
+
Returns
Returns the incoming edges of the given cell.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Object [] com.mxgraph.mxGraph.GetIncomingEdges (Object cell,
Object parent 
)
+
+inline
+
+ +

Returns the visible incoming edges for the given cell. If the optional parent argument is specified, then only child edges of the given parent are returned.

+
Parameters
+ + + +
cellCell whose incoming edges should be returned.
parentOptional parent of the opposite end for a connection to be returned.
+
+
+
Returns
Returns the incoming edges of the given cell.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
string com.mxgraph.mxGraph.GetLabel (Object cell)
+
+inline
+
+ +

Returns a string or markup that represents the label for the given cell. This implementation uses ConvertValueToString if labelsVisible is true. Otherwise it returns an empty string.

+
Parameters
+ + +
cell
+
+
+
Returns
+ +

References com.mxgraph.mxUtils.IsTrue(), com.mxgraph.mxCellState.Style, and com.mxgraph.mxConstants.STYLE_NOLABEL.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Object [] com.mxgraph.mxGraph.GetOpposites (Object[] edges,
Object terminal 
)
+
+inline
+
+ +

Returns all distinct visible opposite cells of the terminal on the given edges.

+
Parameters
+ + + +
edges
terminal
+
+
+
Returns
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Object [] com.mxgraph.mxGraph.GetOpposites (Object[] edges,
Object terminal,
bool sources,
bool targets 
)
+
+inline
+
+ +

Returns all distincts visible opposite cells for the specified terminal on the given edges.

+
Parameters
+ + + + + +
edgesEdges whose opposite terminals should be returned.
terminalTerminal that specifies the end whose opposite should be returned.
sourcesSpecifies if source terminals should be included in the result.
targetsSpecifies if targer terminals should be included in the result.
+
+
+
Returns
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
Object [] com.mxgraph.mxGraph.GetOutgoingEdges (Object cell)
+
+inline
+
+ +

Returns all outgoing visible edges connected to the given cell without loops.

+
Parameters
+ + +
cellCell whose outgoing edges should be returned.
+
+
+
Returns
Returns the outgoing edges of the given cell.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Object [] com.mxgraph.mxGraph.GetOutgoingEdges (Object cell,
Object parent 
)
+
+inline
+
+ +

Returns the visible outgoing edges for the given cell. If the optional parent argument is specified, then only child edges of the given parent are returned.

+
Parameters
+ + + +
cellCell whose outgoing edges should be returned.
parentOptional parent of the opposite end for a connection to be returned.
+
+
+
Returns
Returns the outgoing edges of the given cell.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
mxRectangle com.mxgraph.mxGraph.GetPaintBounds (Object[] cells)
+
+inline
+
+ +

Returns the bounding box of the given cells and their descendants.

+ +

Referenced by com.mxgraph.mxCellRenderer.DrawCells().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
void com.mxgraph.mxGraph.GraphModelChanged ()
+
+inline
+
+ +

Called when the graph model has changed to invalidate the view.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
bool com.mxgraph.mxGraph.HitsSwimlaneContent (Object swimlane,
int x,
int y 
)
+
+inline
+
+ +

Returns true if the given point is inside the content area of the given swimlane. (The content area of swimlanes is transparent to events.) This implementation does not check if the given state is a swimlane, it is assumed that the caller has checked this before using this method.

+ +

References com.mxgraph.mxConstants.DEFAULT_STARTSIZE, com.mxgraph.mxUtils.GetDouble(), com.mxgraph.mxRectangle.GetRectangle(), com.mxgraph.mxUtils.IsTrue(), com.mxgraph.mxCellState.Style, com.mxgraph.mxConstants.STYLE_HORIZONTAL, and com.mxgraph.mxConstants.STYLE_STARTSIZE.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Object com.mxgraph.mxGraph.InsertEdge (Object parent,
string id,
Object value,
Object source,
Object target 
)
+
+inline
+
+ +

Creates and adds a new edge with an empty style.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Object com.mxgraph.mxGraph.InsertEdge (Object parent,
string id,
Object value,
Object source,
Object target,
string style 
)
+
+inline
+
+ +

Adds a new edge into the given parent using value as the user object and the given source and target as the terminals of the new edge. The Id and style are used for the respective properties of the new cell, which is returned.

+
Parameters
+ + + + + + + +
parentCell that specifies the parent of the new edge.
idOptional string that defines the Id of the new edge.
valueObject to be used as the user object.
sourceCell that defines the source of the edge.
targetCell that defines the target of the edge.
styleOptional string that defines the cell style.
+
+
+
Returns
Returns the new edge that has been inserted.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Object com.mxgraph.mxGraph.InsertVertex (Object parent,
string id,
Object value,
double x,
double y,
double width,
double height 
)
+
+inline
+
+ +

Creates and adds a new vertex with an empty style, see AddVertex.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Object com.mxgraph.mxGraph.InsertVertex (Object parent,
string id,
Object value,
double x,
double y,
double width,
double height,
string style 
)
+
+inline
+
+ +

Creates and adds a new vertex with an empty style, see AddVertex.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Object com.mxgraph.mxGraph.InsertVertex (Object parent,
string id,
Object value,
double x,
double y,
double width,
double height,
string style,
bool relative 
)
+
+inline
+
+ +

Adds a new vertex into the given parent using value as the user object and the given coordinates as the geometry of the new vertex. The id and style are used for the respective properties of the new cell, which is returned.

+
Parameters
+ + + + + + + + + +
parentCell that specifies the parent of the new vertex.
idOptional string that defines the Id of the new vertex.
valueObject to be used as the user object.
xInteger that defines the x coordinate of the vertex.
yInteger that defines the y coordinate of the vertex.
widthInteger that defines the width of the vertex.
heightInteger that defines the height of the vertex.
styleOptional string that defines the cell style.
+
+
+
Returns
Returns the new vertex that has been inserted.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
bool com.mxgraph.mxGraph.Intersects (mxCellState state,
Rectangle rect 
)
+
+inline
+
+ +

Returns the bottom-most cell that intersects the given point (x, y) in the cell hierarchy that starts at the given parent.

+
Parameters
+ + + +
state
rect
+
+
+
Returns
Returns true if the given cell state and rectangle intersect.
+ +

References com.mxgraph.mxCellState.AbsolutePointCount(), com.mxgraph.mxCellState.AbsolutePoints, com.mxgraph.mxRectangle.GetRectangle(), com.mxgraph.mxRectangle.Grow(), and com.mxgraph.mxCellState.LabelBounds.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
bool com.mxgraph.mxGraph.IsCellCollapsed (Object cell)
+
+inline
+
+ +

Returns true if the given cell is collapsed. This implementation returns true if the collapsed state of the cell in the model is true.

+
Parameters
+ + +
cellCell whose collapsed state should be returned.
+
+
+
Returns
Returns the collapsed state of the cell.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
bool com.mxgraph.mxGraph.IsCellConnectable (Object cell)
+
+inline
+
+ +

Returns true if the given cell is connectable. This implementation returns true if the connectable state of the cell in the model is true.

+
Parameters
+ + +
cellCell whose connectable state should be returned.
+
+
+
Returns
Returns the connectable state of the cell.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
bool com.mxgraph.mxGraph.IsCellMovable (Object cell)
+
+inline
+
+ +

Returns true if the given cell is movable. This implementation always returns true.

+
Parameters
+ + +
cellCell whose movable state should be returned.
+
+
+
Returns
Returns true if the cell is movable.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
bool com.mxgraph.mxGraph.IsCellVisible (Object cell)
+
+inline
+
+ +

Returns true if the given cell is visible. This implementation returns true if the visible state of the cell in the model is true.

+
Parameters
+ + +
cellCell whose visible state should be returned.
+
+
+
Returns
Returns the visible state of the cell.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
bool com.mxgraph.mxGraph.IsOrthogonal (mxCellState edge)
+
+inline
+
+ +

Returns true if perimeter points should be computed such that the resulting edge has only horizontal or vertical segments.

+
Parameters
+ + +
edgeCell state that represents the edge.
+
+
+
Returns
True if the edge is orthogonal.
+ +

References com.mxgraph.mxEdgeStyle.ElbowConnector, com.mxgraph.mxEdgeStyle.EntityRelation, com.mxgraph.mxUtils.IsTrue(), com.mxgraph.mxEdgeStyleFunction(), com.mxgraph.mxEdgeStyle.SideToSide, com.mxgraph.mxCellState.Style, com.mxgraph.mxConstants.STYLE_ORTHOGONAL, and com.mxgraph.mxEdgeStyle.TopToBottom.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
bool com.mxgraph.mxGraph.IsSwimlane (Object cell)
+
+inline
+
+ +

Returns true if the given cell is a swimlane.

+
Parameters
+ + +
cellCell that should be checked.
+
+
+
Returns
Returns true if the cell is a swimlane.
+ +

References com.mxgraph.mxUtils.GetString(), com.mxgraph.mxConstants.SHAPE_SWIMLANE, com.mxgraph.mxCellState.Style, and com.mxgraph.mxConstants.STYLE_SHAPE.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
bool com.mxgraph.mxGraph.IsValidAncestor (Object cell,
Object parent,
bool recurse 
)
+
+inline
+
+ +

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.

+
Parameters
+ + + + +
cellThe possible child cell
parentThe possible parent cell
recurseboolean whether or not to recurse the child ancestors
+
+
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
Dictionary<string, Object> com.mxgraph.mxGraph.PostProcessCellStyle (Dictionary< string, Object > style)
+
+inlineprotected
+
+ +

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.

+ +

References com.mxgraph.mxUtils.GetString(), and com.mxgraph.mxConstants.STYLE_IMAGE.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
void com.mxgraph.mxGraph.RemoveImageBundle (mxImageBundle bundle)
+
+inline
+
+ +

Removes the specified bundle.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxGraph.SetCellStyles (String key,
String value,
Object[] cells 
)
+
+inline
+
+ +

Sets the key to value in the styles of the given cells. This will modify the existing cell styles in-place and override any existing assignment for the given key. If no cells are specified, then the selection cells are changed. If no value is specified, then the respective key is removed from the styles.

+
Parameters
+ + + + +
keyString representing the key to be assigned.
valueString representing the new value for the key.
cellsArray of cells to change the style for.
+
+
+ +

References com.mxgraph.mxUtils.SetCellStyles().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
double com.mxgraph.mxGraph.Snap (double value)
+
+inline
+
+ +

Snaps the given numeric value to the grid if gridEnabled is true.

+
Parameters
+ + +
valueNumeric value to be snapped to the grid.
+
+
+
Returns
Returns the value aligned to the grid.
+ +
+
+

Member Data Documentation

+ +
+
+ + + + + +
+ + + + +
mxEdgeStyleFunction com.mxgraph.mxGraph.defaultLoopStyle = mxEdgeStyle.Loop
+
+protected
+
+ +

Specifies the default style for loops.

+ +
+
+ +
+
+ + + + + +
+ + + + +
bool com.mxgraph.mxGraph.gridEnabled = true
+
+protected
+
+ +

Specifies if the grid is enabled. Default is true.

+ +
+
+ +
+
+ + + + + +
+ + + + +
int com.mxgraph.mxGraph.gridSize = 10
+
+protected
+
+ +

Specifies the grid size. Default is 10.

+ +
+
+ +
+
+ + + + + +
+ + + + +
List<mxImageBundle> com.mxgraph.mxGraph.imageBundles = new List<mxImageBundle>()
+
+protected
+
+ +

Holds the list of image bundles.

+ +
+
+ +
+
+ + + + + +
+ + + + +
bool com.mxgraph.mxGraph.labelsVisible = true
+
+protected
+
+ +

Specifies if labels should be visible. This is used in GetLabel. Default is true.

+ +
+
+ +
+
+ + + + + +
+ + + + +
mxIGraphModel com.mxgraph.mxGraph.model
+
+protected
+
+ +

Holds the model that contains the cells to be displayed.

+ +
+
+ +
+
+ + + + + +
+ + + + +
mxStylesheet com.mxgraph.mxGraph.stylesheet
+
+protected
+
+ +

Holds the stylesheet that defines the appearance of the cells.

+ +
+
+ +
+
+ + + + + +
+ + + + +
int com.mxgraph.mxGraph.tolerance = 4
+
+protected
+
+ +

Specifies the tolerance for mouse clicks. Default is 4.

+ +
+
+ +
+
+ + + + +
const String com.mxgraph.mxGraph.VERSION = "2.6.0.0"
+
+ +

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

+ +
+
+ +
+
+ + + + + +
+ + + + +
mxGraphView com.mxgraph.mxGraph.view
+
+protected
+
+ +

Holds the view that caches the cell states.

+ +
+
+

Property Documentation

+ +
+
+ + + + + +
+ + + + +
mxEdgeStyleFunction com.mxgraph.mxGraph.DefaultLoopStyle
+
+getset
+
+ +

Sets or returns the default edge style for loops.

+ +
+
+ +
+
+ + + + + +
+ + + + +
bool com.mxgraph.mxGraph.GridEnabled
+
+getset
+
+ +

Sets or returns the enabled state of the grid.

+ +
+
+ +
+
+ + + + + +
+ + + + +
int com.mxgraph.mxGraph.GridSize
+
+getset
+
+ +

Sets or returns the grid size.

+ +
+
+ +
+
+ + + + + +
+ + + + +
List<mxImageBundle> com.mxgraph.mxGraph.ImageBundles
+
+getset
+
+ +

Sets or returns the image bundles.

+ +
+
+ +
+
+ + + + + +
+ + + + +
bool com.mxgraph.mxGraph.LabelsVisible
+
+getset
+
+ +

Sets or returns if labels are visible

+ +
+
+ +
+
+ + + + + +
+ + + + +
mxIGraphModel com.mxgraph.mxGraph.Model
+
+getset
+
+ +

Sets or returns the graph model that contains the graph data.

+ +

Referenced by com.mxgraph.mxCellRenderer.DrawCells().

+ +
+
+ +
+
+ + + + + +
+ + + + +
mxStylesheet com.mxgraph.mxGraph.Stylesheet
+
+getset
+
+ +

Sets or returns the stylesheet that provides the style.

+ +
+
+ +
+
+ + + + + +
+ + + + +
mxGraphView com.mxgraph.mxGraph.View
+
+getset
+
+ +

Sets or returns the view that contains the cell states.

+ +

Referenced by com.mxgraph.mxCellRenderer.DrawCells().

+ +
+
+
The documentation for this class was generated from the following file:
    +
  • src/view/mxGraph.cs
  • +
+
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphModel-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphModel-members.html new file mode 100644 index 000000000..5a9996b21 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphModel-members.html @@ -0,0 +1,132 @@ + + + + + + +mxGraph: Member List + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+
+
com.mxgraph.mxGraphModel Member List
+
+
+ +

This is the complete list of members for com.mxgraph.mxGraphModel, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Add(Object parent, Object child, int index)com.mxgraph.mxGraphModelinline
BeginUpdate()com.mxgraph.mxGraphModelinline
CellAdded(Object cell)com.mxgraph.mxGraphModelinlineprotected
CellRemoved(Object cell)com.mxgraph.mxGraphModelinlineprotected
cellscom.mxgraph.mxGraphModelprotected
Clear()com.mxgraph.mxGraphModelinline
CloneCell(Object cell, Hashtable mapping, bool includeChildren)com.mxgraph.mxGraphModelinlineprotected
CloneCells(Object[] cells, bool includeChildren)com.mxgraph.mxGraphModelinline
Contains(Object cell)com.mxgraph.mxGraphModelinline
CreateId(Object cell)com.mxgraph.mxGraphModelinline
createIdscom.mxgraph.mxGraphModelprotected
CreateRoot()com.mxgraph.mxGraphModelinline
EndUpdate()com.mxgraph.mxGraphModelinline
GetCell(string id)com.mxgraph.mxGraphModelinline
GetChildAt(Object parent, int index)com.mxgraph.mxGraphModelinline
getChildCells(mxIGraphModel model, Object parent, bool vertices, bool edges)com.mxgraph.mxGraphModelinlinestatic
GetChildCount(Object cell)com.mxgraph.mxGraphModelinline
getChildEdges(mxIGraphModel model, Object parent)com.mxgraph.mxGraphModelinlinestatic
getChildVertices(mxIGraphModel model, Object parent)com.mxgraph.mxGraphModelinlinestatic
GetConnections(mxIGraphModel model, Object cell)com.mxgraph.mxGraphModelinlinestatic
GetDirectedEdgeCount(mxIGraphModel model, Object cell, bool outgoing)com.mxgraph.mxGraphModelinlinestatic
GetDirectedEdgeCount(mxIGraphModel model, Object cell, bool outgoing, Object ignoredEdge)com.mxgraph.mxGraphModelinlinestatic
GetEdgeAt(Object parent, int index)com.mxgraph.mxGraphModelinline
GetEdgeCount(Object cell)com.mxgraph.mxGraphModelinline
GetEdges(mxIGraphModel model, Object cell)com.mxgraph.mxGraphModelinlinestatic
GetEdges(mxIGraphModel model, Object cell, bool incoming, bool outgoing, bool includeLoops)com.mxgraph.mxGraphModelinlinestatic
GetEdgesBetween(mxIGraphModel model, Object source, Object target)com.mxgraph.mxGraphModelinlinestatic
GetEdgesBetween(mxIGraphModel model, Object source, Object target, bool directed)com.mxgraph.mxGraphModelinlinestatic
GetGeometry(Object cell)com.mxgraph.mxGraphModelinline
GetIncomingEdges(mxIGraphModel model, Object cell)com.mxgraph.mxGraphModelinlinestatic
GetNearestCommonAncestor(Object cell1, Object cell2)com.mxgraph.mxGraphModelinline
GetOpposites(mxIGraphModel model, Object[] edges, Object terminal, bool sources, bool targets)com.mxgraph.mxGraphModelinlinestatic
GetOrigin(Object cell)com.mxgraph.mxGraphModelinline
GetOutgoingEdges(mxIGraphModel model, Object cell)com.mxgraph.mxGraphModelinlinestatic
GetParent(Object child)com.mxgraph.mxGraphModelinline
GetStyle(Object cell)com.mxgraph.mxGraphModelinline
GetTerminal(Object edge, bool isSource)com.mxgraph.mxGraphModelinline
GetValue(Object cell)com.mxgraph.mxGraphModelinline
GraphModelChangecom.mxgraph.mxGraphModel
IsAncestor(Object parent, Object child)com.mxgraph.mxGraphModelinline
IsCollapsed(Object cell)com.mxgraph.mxGraphModelinline
IsConnectable(Object cell)com.mxgraph.mxGraphModelinline
IsCreateIdscom.mxgraph.mxGraphModel
IsEdge(Object cell)com.mxgraph.mxGraphModelinline
IsMaintainEdgeParentcom.mxgraph.mxGraphModel
IsVertex(Object cell)com.mxgraph.mxGraphModelinline
IsVisible(Object cell)com.mxgraph.mxGraphModelinline
maintainEdgeParentcom.mxgraph.mxGraphModelprotected
MergeChildren(mxICell from, mxICell to, bool cloneAllEdges)com.mxgraph.mxGraphModelinline
MergeChildrenImpl(mxICell from, mxICell to, bool cloneAllEdges, Dictionary< Object, Object > mapping)com.mxgraph.mxGraphModelinlineprotected
mxGraphModel()com.mxgraph.mxGraphModelinline
mxGraphModel(Object root)com.mxgraph.mxGraphModelinline
nextIdcom.mxgraph.mxGraphModelprotected
Remove(Object cell)com.mxgraph.mxGraphModelinline
RestoreClone(Object clone, Object cell, Hashtable mapping)com.mxgraph.mxGraphModelinlineprotected
rootcom.mxgraph.mxGraphModelprotected
Root (defined in com.mxgraph.mxGraphModel)com.mxgraph.mxGraphModel
SetCollapsed(Object cell, bool collapsed)com.mxgraph.mxGraphModelinline
SetGeometry(Object cell, mxGeometry geometry)com.mxgraph.mxGraphModelinline
SetStyle(Object cell, string style)com.mxgraph.mxGraphModelinline
SetTerminal(Object edge, Object terminal, bool isSource)com.mxgraph.mxGraphModelinline
SetTerminals(mxIGraphModel model, Object edge, Object source, Object target)com.mxgraph.mxGraphModelinlinestatic
SetValue(Object cell, Object value)com.mxgraph.mxGraphModelinline
SetVisible(Object cell, bool visible)com.mxgraph.mxGraphModelinline
UpdateEdgeParent(Object edge, Object root)com.mxgraph.mxGraphModelinline
UpdateEdgeParents(Object cell)com.mxgraph.mxGraphModelinline
UpdateEdgeParents(Object cell, Object root)com.mxgraph.mxGraphModelinline
updateLevelcom.mxgraph.mxGraphModelprotected
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphModel.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphModel.html new file mode 100644 index 000000000..fdb5641a7 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphModel.html @@ -0,0 +1,2857 @@ + + + + + + +mxGraph: com.mxgraph.mxGraphModel Class Reference + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+ +
+ +

Implements a graph model. The graph model acts as a wrapper around the cells which are in charge of storing the actual graph datastructure. The model acts as a transactional wrapper with event notification for all changes, whereas the cells contain the atomic operations for updating the actual datastructure. + More...

+
+Inheritance diagram for com.mxgraph.mxGraphModel:
+
+
+ + +com.mxgraph.mxIGraphModel + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 mxGraphModel ()
 Constructs a new empty graph model. More...
 
 mxGraphModel (Object root)
 Constructs a new graph model. If no root is specified then a new root mxCell with a default layer is created. More...
 
void Clear ()
 Sets a new root using createRoot. More...
 
Object CreateRoot ()
 Creates a new root cell with a default layer (child 0). More...
 
Object GetCell (string id)
 
Object[] CloneCells (Object[] cells, bool includeChildren)
 Returns an array of clones for the given array of cells. Depending on the value of includeChildren, a deep clone is created for each cell. Connections are restored based if the corresponding cell is contained in the passed in array. More...
 
bool IsAncestor (Object parent, Object child)
 Returns true if the given parent is an ancestor of child. More...
 
bool Contains (Object cell)
 Returns true if the model contains the given cell. More...
 
Object GetParent (Object child)
 Returns the parent of the given cell. More...
 
Object Add (Object parent, Object child, int index)
 Adds the specified child to the parent at the given index. If no index is specified then the child is appended to the parent's array of children. More...
 
string CreateId (Object cell)
 Creates a new Id for the given cell and increments the global counter for creating new Ids. More...
 
Object Remove (Object cell)
 see com.mxgraph.mxIGraphModel.Remove(Object) More...
 
int GetChildCount (Object cell)
 Returns the number of children in the given cell. More...
 
Object GetChildAt (Object parent, int index)
 Returns the child of the given parent at the given index. More...
 
Object GetTerminal (Object edge, bool isSource)
 Returns the source or target terminal of the given edge depending on the value of the boolean parameter. More...
 
Object SetTerminal (Object edge, Object terminal, bool isSource)
 Sets the source or target terminal of the given edge using. More...
 
void UpdateEdgeParents (Object cell)
 Updates the parents of the edges connected to the given cell and all its descendants so that each edge is contained in the nearest common ancestor. More...
 
void UpdateEdgeParents (Object cell, Object root)
 Updates the parents of the edges connected to the given cell and all its descendants so that the edge is contained in the nearest-common-ancestor. More...
 
void UpdateEdgeParent (Object edge, Object root)
 Inner helper method to update the parent of the specified edge to the nearest-common-ancestor of its two terminals. More...
 
mxPoint GetOrigin (Object cell)
 Returns the absolute, cummulated origin for the children inside the given parent. More...
 
Object GetNearestCommonAncestor (Object cell1, Object cell2)
 Returns the nearest common ancestor for the specified cells. More...
 
int GetEdgeCount (Object cell)
 see com.mxgraph.mxIGraphModel.GetEdgeCount(Object) More...
 
Object GetEdgeAt (Object parent, int index)
 see com.mxgraph.mxIGraphModel.GetEdgeAt(Object, int) More...
 
bool IsVertex (Object cell)
 see com.mxgraph.mxIGraphModel.IsVertex(Object) More...
 
bool IsEdge (Object cell)
 see com.mxgraph.mxIGraphModel.IsEdge(Object) More...
 
bool IsConnectable (Object cell)
 see com.mxgraph.mxIGraphModel.IsConnectable(Object) More...
 
Object GetValue (Object cell)
 see com.mxgraph.mxIGraphModel.GetValue(Object) More...
 
Object SetValue (Object cell, Object value)
 see com.mxgraph.mxIGraphModel.SetValue(Object, Object) More...
 
mxGeometry GetGeometry (Object cell)
 see com.mxgraph.mxIGraphModel.GetGeometry(Object) More...
 
mxGeometry SetGeometry (Object cell, mxGeometry geometry)
 see com.mxgraph.mxIGraphModel.SetGeometry(Object, mxGeometry) More...
 
string GetStyle (Object cell)
 see com.mxgraph.mxIGraphModel.GetStyle(Object) More...
 
string SetStyle (Object cell, string style)
 see com.mxgraph.mxIGraphModel.SetStyle(Object, string) More...
 
bool IsVisible (Object cell)
 see com.mxgraph.mxIGraphModel.IsVisible(Object) More...
 
bool SetVisible (Object cell, bool visible)
 see com.mxgraph.mxIGraphModel.SetVisible(Object, bool) More...
 
bool IsCollapsed (Object cell)
 see com.mxgraph.mxIGraphModel.IsCollapsed(Object) More...
 
bool SetCollapsed (Object cell, bool collapsed)
 see com.mxgraph.mxIGraphModel.SetCollapsed(Object, bool) More...
 
void BeginUpdate ()
 see com.mxgraph.mxIGraphModel.BeginUpdate() More...
 
void EndUpdate ()
 see com.mxgraph.mxIGraphModel.EndUpdate() More...
 
void MergeChildren (mxICell from, mxICell to, bool cloneAllEdges)
 Merges the children of the given cell into the given target cell inside this model. All cells are cloned unless there is a corresponding cell in the model with the same id, in which case the source cell is ignored and all edges are connected to the corresponding cell in this model. Edges are considered to have no identity and are always cloned unless the cloneAllEdges flag is set to false, in which case edges with the same id in the target model are reconnected to reflect the terminals of the source edges. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Static Public Member Functions

static int GetDirectedEdgeCount (mxIGraphModel model, Object cell, bool outgoing)
 Returns the number of incoming or outgoing edges. More...
 
static int GetDirectedEdgeCount (mxIGraphModel model, Object cell, bool outgoing, Object ignoredEdge)
 Returns the number of incoming or outgoing edges, ignoring the given edge. More...
 
static Object[] GetEdges (mxIGraphModel model, Object cell)
 Returns all edges connected to this cell including loops. More...
 
static Object[] GetConnections (mxIGraphModel model, Object cell)
 Returns all edges connected to this cell without loops. More...
 
static Object[] GetIncomingEdges (mxIGraphModel model, Object cell)
 Returns the incoming edges of the given cell without loops. More...
 
static Object[] GetOutgoingEdges (mxIGraphModel model, Object cell)
 Returns the outgoing edges of the given cell without loops. More...
 
static Object[] GetEdges (mxIGraphModel model, Object cell, bool incoming, bool outgoing, bool includeLoops)
 Returns all distinct edges connected to this cell. If at least one of incoming or outgoing is true, then loops are ignored, otherwise if both are false, then all edges connected to the given cell are returned including loops. More...
 
static Object[] GetEdgesBetween (mxIGraphModel model, Object source, Object target)
 Returns all edges between the given source and target mxCells. If the optional boolean directed argument is false, then a matching edge is returned regardless of its direction. More...
 
static Object[] GetEdgesBetween (mxIGraphModel model, Object source, Object target, bool directed)
 Returns all edges between the given source and target mxCells. If the optional boolean directed argument is false, then a matching edge is returned regardless of its direction. More...
 
static Object[] GetOpposites (mxIGraphModel model, Object[] edges, Object terminal, bool sources, bool targets)
 Returns all opposite vertices wrt terminal for the given edges, only$ returning sources and/or targets as specified. The result is returned as an array of mxCells. More...
 
static void SetTerminals (mxIGraphModel model, Object edge, Object source, Object target)
 Sets the source and target of the given edge in a single atomic change. More...
 
static Object[] getChildVertices (mxIGraphModel model, Object parent)
 Returns the child vertices of the given parent. More...
 
static Object[] getChildEdges (mxIGraphModel model, Object parent)
 Returns the child edges of the given parent. More...
 
static Object[] getChildCells (mxIGraphModel model, Object parent, bool vertices, bool edges)
 Returns the children of the given cell that are vertices and/or edges depending on the arguments. More...
 
+ + + + + + + + + + + + + + + + +

+Protected Member Functions

Object CloneCell (Object cell, Hashtable mapping, bool includeChildren)
 Inner helper method for cloning cells recursively. More...
 
void RestoreClone (Object clone, Object cell, Hashtable mapping)
 Inner helper method for restoring the connections in a network of cloned cells. More...
 
void CellAdded (Object cell)
 Invoked after a cell has been added to a parent. This recursively creates an Id for the new cell and/or resolves Id collisions. More...
 
void CellRemoved (Object cell)
 Invoked after a cell has been removed from the model. This recursively removes the cell from its terminals and removes the mapping from the Id to the cell. More...
 
void MergeChildrenImpl (mxICell from, mxICell to, bool cloneAllEdges, Dictionary< Object, Object > mapping)
 Clones the children of the source cell into the given target cell in this model and adds an entry to the mapping that maps from the source cell to the target cell with the same id or the clone of the source cell that was inserted into this model. More...
 
+ + + + + + + + + + + + + + + + + + + +

+Protected Attributes

mxICell root
 Holds the root cell, which in turn contains the cells that represent the layers of the diagram as child cells. That is, the actual element of the diagram are supposed to live in the third generation of cells and below. More...
 
Dictionary< Object, Object > cells
 Maps from Ids to cells. More...
 
bool createIds = true
 Specifies if edges should automatically be moved into the nearest common ancestor of their terminals. Default is true. More...
 
bool maintainEdgeParent = true
 Specifies if the parent of edges should be automatically change to point to the nearest common ancestor of its terminals. Default is true. More...
 
int nextId = 0
 Specifies the next Id to be created. Initial value is 0. More...
 
int updateLevel = 0
 Counter for the depth of nested transactions. Each call to beginUpdate increments this counter and each call to endUpdate decrements it. When the counter reaches 0, the transaction is closed and the respective events are fired. Initial value is 0. More...
 
+ + + + + + + + + + + + + +

+Properties

bool IsMaintainEdgeParent [get, set]
 Sets of returns if edges should automatically be moved into the nearest common ancestor of their terminals. More...
 
bool IsCreateIds [get, set]
 Sets or returns if the model automatically creates Ids and resolves Id collisions. More...
 
+Object Root [get, set]
 
- Properties inherited from com.mxgraph.mxIGraphModel
Object Root [get, set]
 Holds the root cell. More...
 
+ + + + + + + + +

+Events

mxGraphModelChangeEventHandler GraphModelChange
 Fires when the graph model has changed. More...
 
- Events inherited from com.mxgraph.mxIGraphModel
mxGraphModelChangeEventHandler GraphModelChange
 Called when the graph model has changed. More...
 
+

Detailed Description

+

Implements a graph model. The graph model acts as a wrapper around the cells which are in charge of storing the actual graph datastructure. The model acts as a transactional wrapper with event notification for all changes, whereas the cells contain the atomic operations for updating the actual datastructure.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + +
+ + + + + + + +
com.mxgraph.mxGraphModel.mxGraphModel ()
+
+inline
+
+ +

Constructs a new empty graph model.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
com.mxgraph.mxGraphModel.mxGraphModel (Object root)
+
+inline
+
+ +

Constructs a new graph model. If no root is specified then a new root mxCell with a default layer is created.

+
Parameters
+ + +
rootCell that represents the root cell.
+
+
+ +
+
+

Member Function Documentation

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
Object com.mxgraph.mxGraphModel.Add (Object parent,
Object child,
int index 
)
+
+inline
+
+ +

Adds the specified child to the parent at the given index. If no index is specified then the child is appended to the parent's array of children.

+
Parameters
+ + + + +
parentCell that specifies the parent to contain the child.
childCell that specifies the child to be inserted.
indexInteger that specifies the index of the child.
+
+
+
Returns
Returns the inserted child.
+ +

Implements com.mxgraph.mxIGraphModel.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
void com.mxgraph.mxGraphModel.BeginUpdate ()
+
+inline
+
+
+ +
+
+ + + + + +
+ + + + + + + + +
void com.mxgraph.mxGraphModel.CellAdded (Object cell)
+
+inlineprotected
+
+ +

Invoked after a cell has been added to a parent. This recursively creates an Id for the new cell and/or resolves Id collisions.

+
Parameters
+ + +
cellCell that has been added.
+
+
+ +

References com.mxgraph.mxICell.ChildCount(), com.mxgraph.mxICell.GetChildAt(), and com.mxgraph.mxICell.Id.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
void com.mxgraph.mxGraphModel.CellRemoved (Object cell)
+
+inlineprotected
+
+ +

Invoked after a cell has been removed from the model. This recursively removes the cell from its terminals and removes the mapping from the Id to the cell.

+
Parameters
+ + +
cellCell that has been removed.
+
+
+ +

References com.mxgraph.mxICell.ChildCount(), com.mxgraph.mxICell.GetChildAt(), com.mxgraph.mxICell.Id, and com.mxgraph.mxICell.RemoveFromTerminal().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
void com.mxgraph.mxGraphModel.Clear ()
+
+inline
+
+ +

Sets a new root using createRoot.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
Object com.mxgraph.mxGraphModel.CloneCell (Object cell,
Hashtable mapping,
bool includeChildren 
)
+
+inlineprotected
+
+ +

Inner helper method for cloning cells recursively.

+ +

References com.mxgraph.mxICell.Insert().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Object [] com.mxgraph.mxGraphModel.CloneCells (Object[] cells,
bool includeChildren 
)
+
+inline
+
+ +

Returns an array of clones for the given array of cells. Depending on the value of includeChildren, a deep clone is created for each cell. Connections are restored based if the corresponding cell is contained in the passed in array.

+
Parameters
+ + + +
cellsArray of cells to be cloned.
includeChildrenBoolean indicating if the cells should be cloned with all descendants.
+
+
+
Returns
Returns a cloned array of cells.
+ +

Implements com.mxgraph.mxIGraphModel.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
bool com.mxgraph.mxGraphModel.Contains (Object cell)
+
+inline
+
+ +

Returns true if the model contains the given cell.

+
Parameters
+ + +
cellCell to be checked.
+
+
+
Returns
Returns true if the cell is in the model.
+ +

Implements com.mxgraph.mxIGraphModel.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
string com.mxgraph.mxGraphModel.CreateId (Object cell)
+
+inline
+
+ +

Creates a new Id for the given cell and increments the global counter for creating new Ids.

+
Parameters
+ + +
cellCell for which a new Id should be created.
+
+
+
Returns
Returns a new Id for the given cell.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
Object com.mxgraph.mxGraphModel.CreateRoot ()
+
+inline
+
+ +

Creates a new root cell with a default layer (child 0).

+ +

References com.mxgraph.mxCell.Insert().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
void com.mxgraph.mxGraphModel.EndUpdate ()
+
+inline
+
+
+ +
+
+ + + + + +
+ + + + + + + + +
Object com.mxgraph.mxGraphModel.GetCell (string id)
+
+inline
+
+ +

+
Parameters
+ + +
id
+
+
+
Returns
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Object com.mxgraph.mxGraphModel.GetChildAt (Object parent,
int index 
)
+
+inline
+
+ +

Returns the child of the given parent at the given index.

+
Parameters
+ + + +
parentCell that represents the parent.
indexInteger that specifies the index of the child to be returned.
+
+
+
Returns
Returns the child at index in parent.
+ +

Implements com.mxgraph.mxIGraphModel.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
static Object [] com.mxgraph.mxGraphModel.getChildCells (mxIGraphModel model,
Object parent,
bool vertices,
bool edges 
)
+
+inlinestatic
+
+ +

Returns the children of the given cell that are vertices and/or edges depending on the arguments.

+
Parameters
+ + + + + +
modelModel that contains the hierarchical information.
parentCell whose child vertices or edges should be returned.
verticesBoolean indicating if child vertices should be returned.
edgesBoolean indicating if child edges should be returned.
+
+
+
Returns
Returns the child vertices and/or edges of the given parent.
+ +

References com.mxgraph.mxIGraphModel.GetChildAt(), com.mxgraph.mxIGraphModel.GetChildCount(), com.mxgraph.mxIGraphModel.IsEdge(), and com.mxgraph.mxIGraphModel.IsVertex().

+ +

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

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
int com.mxgraph.mxGraphModel.GetChildCount (Object cell)
+
+inline
+
+ +

Returns the number of children in the given cell.

+
Parameters
+ + +
cellCell whose number of children should be returned.
+
+
+
Returns
Returns the number of children in the given cell.
+ +

Implements com.mxgraph.mxIGraphModel.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
static Object [] com.mxgraph.mxGraphModel.getChildEdges (mxIGraphModel model,
Object parent 
)
+
+inlinestatic
+
+ +

Returns the child edges of the given parent.

+
Parameters
+ + + +
modelModel that contains the hierarchical information.
parentCell whose child edges should be returned.
+
+
+
Returns
Returns the child edges of the given parent.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
static Object [] com.mxgraph.mxGraphModel.getChildVertices (mxIGraphModel model,
Object parent 
)
+
+inlinestatic
+
+ +

Returns the child vertices of the given parent.

+
Parameters
+ + + +
modelModel that contains the hierarchical information.
parentCell whose child vertices should be returned.
+
+
+
Returns
Returns the child vertices of the given parent.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
static Object [] com.mxgraph.mxGraphModel.GetConnections (mxIGraphModel model,
Object cell 
)
+
+inlinestatic
+
+ +

Returns all edges connected to this cell without loops.

+
Parameters
+ + + +
modelModel that contains the connection information
cellCell whose connections should be returned
+
+
+
Returns
Returns the array of connected edges for the given cell
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
static int com.mxgraph.mxGraphModel.GetDirectedEdgeCount (mxIGraphModel model,
Object cell,
bool outgoing 
)
+
+inlinestatic
+
+ +

Returns the number of incoming or outgoing edges.

+
Parameters
+ + + + +
modelGraph model that contains the connection data.
cellCell whose edges should be counted.
outgoingBoolean that specifies if the number of outgoing or incoming edges should be returned.
+
+
+
Returns
Returns the number of incoming or outgoing edges.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
static int com.mxgraph.mxGraphModel.GetDirectedEdgeCount (mxIGraphModel model,
Object cell,
bool outgoing,
Object ignoredEdge 
)
+
+inlinestatic
+
+ +

Returns the number of incoming or outgoing edges, ignoring the given edge.

+
Parameters
+ + + + + +
modelGraph model that contains the connection data.
cellCell whose edges should be counted.
outgoingBoolean that specifies if the number of outgoing or incoming edges should be returned.
ignoredEdgeObject that represents an edge to be ignored.
+
+
+
Returns
Returns the number of incoming or outgoing edges.
+ +

References com.mxgraph.mxIGraphModel.GetEdgeAt(), com.mxgraph.mxIGraphModel.GetEdgeCount(), and com.mxgraph.mxIGraphModel.GetTerminal().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Object com.mxgraph.mxGraphModel.GetEdgeAt (Object parent,
int index 
)
+
+inline
+
+
+ +
+
+ + + + + +
+ + + + + + + + +
int com.mxgraph.mxGraphModel.GetEdgeCount (Object cell)
+
+inline
+
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
static Object [] com.mxgraph.mxGraphModel.GetEdges (mxIGraphModel model,
Object cell 
)
+
+inlinestatic
+
+ +

Returns all edges connected to this cell including loops.

+
Parameters
+ + + +
modelModel that contains the connection information
cellCell whose connections should be returned
+
+
+
Returns
+ +

Referenced by com.mxgraph.mxFastOrganicLayout.execute(), and com.mxgraph.mxGraph.GetEdges().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
static Object [] com.mxgraph.mxGraphModel.GetEdges (mxIGraphModel model,
Object cell,
bool incoming,
bool outgoing,
bool includeLoops 
)
+
+inlinestatic
+
+ +

Returns all distinct edges connected to this cell. If at least one of incoming or outgoing is true, then loops are ignored, otherwise if both are false, then all edges connected to the given cell are returned including loops.

+
Parameters
+ + + + + + +
modelModel that contains the connection information
cellCell whose connections should be returned
incomingSpecifies if incoming edges should be returned
outgoingSpecifies if outgoing edges should be returned
includeLoopsSpecifies if loops should be returned
+
+
+
Returns
Returns the array of connected edges for the given cell
+ +

References com.mxgraph.mxIGraphModel.GetEdgeAt(), com.mxgraph.mxIGraphModel.GetEdgeCount(), and com.mxgraph.mxIGraphModel.GetTerminal().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
static Object [] com.mxgraph.mxGraphModel.GetEdgesBetween (mxIGraphModel model,
Object source,
Object target 
)
+
+inlinestatic
+
+ +

Returns all edges between the given source and target mxCells. If the optional boolean directed argument is false, then a matching edge is returned regardless of its direction.

+
Parameters
+ + + + +
model
source
target
+
+
+
Returns
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
static Object [] com.mxgraph.mxGraphModel.GetEdgesBetween (mxIGraphModel model,
Object source,
Object target,
bool directed 
)
+
+inlinestatic
+
+ +

Returns all edges between the given source and target mxCells. If the optional boolean directed argument is false, then a matching edge is returned regardless of its direction.

+
Parameters
+ + + + + +
modelThe graph model that contains the graph.
sourcemxCell that defines the source terminal of the edge to be returned.
targetmxCell that defines the target terminal of the edge to be returned.
directedOptional boolean that specifies if the direction of the edge should be taken into account. Default is true.
+
+
+
Returns
+ +

References com.mxgraph.mxIGraphModel.GetEdgeAt(), com.mxgraph.mxIGraphModel.GetEdgeCount(), and com.mxgraph.mxIGraphModel.GetTerminal().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
mxGeometry com.mxgraph.mxGraphModel.GetGeometry (Object cell)
+
+inline
+
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
static Object [] com.mxgraph.mxGraphModel.GetIncomingEdges (mxIGraphModel model,
Object cell 
)
+
+inlinestatic
+
+ +

Returns the incoming edges of the given cell without loops.

+
Parameters
+ + + +
modelGraphmodel that contains the edges
cellCell whose incoming edges should be returned
+
+
+
Returns
Returns the incoming edges for the given cell
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Object com.mxgraph.mxGraphModel.GetNearestCommonAncestor (Object cell1,
Object cell2 
)
+
+inline
+
+ +

Returns the nearest common ancestor for the specified cells.

+
Parameters
+ + + +
cell1Cell that specifies the first cell in the tree.
cell2Cell that specifies the second cell in the tree.
+
+
+
Returns
Returns the nearest common ancestor of the given cells.
+ +

References com.mxgraph.mxCellPath.Create(), com.mxgraph.mxCellPath.GetParentPath(), and com.mxgraph.mxCellPath.PATH_SEPARATOR.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
static Object [] com.mxgraph.mxGraphModel.GetOpposites (mxIGraphModel model,
Object[] edges,
Object terminal,
bool sources,
bool targets 
)
+
+inlinestatic
+
+ +

Returns all opposite vertices wrt terminal for the given edges, only$ returning sources and/or targets as specified. The result is returned as an array of mxCells.

+
Parameters
+ + + + + + +
modelModel that contains the graph.
edgesArray of edges to be examined.
terminalCell that specifies the known end of the edges.
sourcesBoolean that specifies if source terminals should be contained in the result. Default is true.
targetsBoolean that specifies if target terminals should be contained in the result. Default is true.
+
+
+
Returns
Returns the array of opposite terminals for the given edges.
+ +

References com.mxgraph.mxIGraphModel.GetTerminal().

+ +

Referenced by com.mxgraph.mxFastOrganicLayout.execute().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
mxPoint com.mxgraph.mxGraphModel.GetOrigin (Object cell)
+
+inline
+
+ +

Returns the absolute, cummulated origin for the children inside the given parent.

+ +

References com.mxgraph.mxPoint.X, and com.mxgraph.mxPoint.Y.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
static Object [] com.mxgraph.mxGraphModel.GetOutgoingEdges (mxIGraphModel model,
Object cell 
)
+
+inlinestatic
+
+ +

Returns the outgoing edges of the given cell without loops.

+
Parameters
+ + + +
modelGraphmodel that contains the edges
cellCell whose outgoing edges should be returned
+
+
+
Returns
Returns the outgoing edges for the given cell
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
Object com.mxgraph.mxGraphModel.GetParent (Object child)
+
+inline
+
+ +

Returns the parent of the given cell.

+
Parameters
+ + +
childCell whose parent should be returned.
+
+
+
Returns
Returns the parent of the given cell.
+ +

Implements com.mxgraph.mxIGraphModel.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
string com.mxgraph.mxGraphModel.GetStyle (Object cell)
+
+inline
+
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Object com.mxgraph.mxGraphModel.GetTerminal (Object edge,
bool source 
)
+
+inline
+
+ +

Returns the source or target terminal of the given edge depending on the value of the boolean parameter.

+
Parameters
+ + + +
edgeCell that specifies the edge.
sourceBoolean indicating which end of the edge should be returned.
+
+
+
Returns
Returns the source or target of the given edge.
+ +

Implements com.mxgraph.mxIGraphModel.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
Object com.mxgraph.mxGraphModel.GetValue (Object cell)
+
+inline
+
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
bool com.mxgraph.mxGraphModel.IsAncestor (Object parent,
Object child 
)
+
+inline
+
+ +

Returns true if the given parent is an ancestor of child.

+
Parameters
+ + + +
parentCell that specifies the parent.
childCell that specifies the child.
+
+
+
Returns
Returns true if child is an ancestor of parent.
+ +

Implements com.mxgraph.mxIGraphModel.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
bool com.mxgraph.mxGraphModel.IsCollapsed (Object cell)
+
+inline
+
+
+ +
+
+ + + + + +
+ + + + + + + + +
bool com.mxgraph.mxGraphModel.IsConnectable (Object cell)
+
+inline
+
+
+ +
+
+ + + + + +
+ + + + + + + + +
bool com.mxgraph.mxGraphModel.IsEdge (Object cell)
+
+inline
+
+
+ +
+
+ + + + + +
+ + + + + + + + +
bool com.mxgraph.mxGraphModel.IsVertex (Object cell)
+
+inline
+
+
+ +
+
+ + + + + +
+ + + + + + + + +
bool com.mxgraph.mxGraphModel.IsVisible (Object cell)
+
+inline
+
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxGraphModel.MergeChildren (mxICell from,
mxICell to,
bool cloneAllEdges 
)
+
+inline
+
+ +

Merges the children of the given cell into the given target cell inside this model. All cells are cloned unless there is a corresponding cell in the model with the same id, in which case the source cell is ignored and all edges are connected to the corresponding cell in this model. Edges are considered to have no identity and are always cloned unless the cloneAllEdges flag is set to false, in which case edges with the same id in the target model are reconnected to reflect the terminals of the source edges.

+
Parameters
+ + + + +
from
to
cloneAllEdges
+
+
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxGraphModel.MergeChildrenImpl (mxICell from,
mxICell to,
bool cloneAllEdges,
Dictionary< Object, Object > mapping 
)
+
+inlineprotected
+
+ +

Clones the children of the source cell into the given target cell in this model and adds an entry to the mapping that maps from the source cell to the target cell with the same id or the clone of the source cell that was inserted into this model.

+
Parameters
+ + + + + +
from
to
cloneAllEdges
mapping
+
+
+ +

References com.mxgraph.mxICell.ChildCount(), com.mxgraph.mxICell.Clone(), com.mxgraph.mxICell.GetChildAt(), com.mxgraph.mxICell.Id, and com.mxgraph.mxICell.Insert().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
Object com.mxgraph.mxGraphModel.Remove (Object cell)
+
+inline
+
+ +

see com.mxgraph.mxIGraphModel.Remove(Object)

+
Parameters
+ + +
cell
+
+
+
Returns
+ +

Implements com.mxgraph.mxIGraphModel.

+ +

References com.mxgraph.mxICell.RemoveFromParent().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxGraphModel.RestoreClone (Object clone,
Object cell,
Hashtable mapping 
)
+
+inlineprotected
+
+ +

Inner helper method for restoring the connections in a network of cloned cells.

+ +

References com.mxgraph.mxICell.InsertEdge().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
bool com.mxgraph.mxGraphModel.SetCollapsed (Object cell,
bool collapsed 
)
+
+inline
+
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
mxGeometry com.mxgraph.mxGraphModel.SetGeometry (Object cell,
mxGeometry geometry 
)
+
+inline
+
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
string com.mxgraph.mxGraphModel.SetStyle (Object cell,
string style 
)
+
+inline
+
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
Object com.mxgraph.mxGraphModel.SetTerminal (Object edge,
Object terminal,
bool source 
)
+
+inline
+
+ +

Sets the source or target terminal of the given edge using.

+
Parameters
+ + + + +
edgeCell that specifies the edge.
terminalCell that specifies the new terminal.
sourceBoolean indicating if the terminal is the new source or target terminal of the edge.
+
+
+ +

Implements com.mxgraph.mxIGraphModel.

+ +

References com.mxgraph.mxICell.GetTerminal(), and com.mxgraph.mxICell.RemoveEdge().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
static void com.mxgraph.mxGraphModel.SetTerminals (mxIGraphModel model,
Object edge,
Object source,
Object target 
)
+
+inlinestatic
+
+ +

Sets the source and target of the given edge in a single atomic change.

+
Parameters
+ + + + + +
modelModel that contains the graph.
edgeCell that specifies the edge.
sourceCell that specifies the new source terminal.
targetCell that specifies the new target terminal.
+
+
+ +

References com.mxgraph.mxIGraphModel.BeginUpdate(), com.mxgraph.mxIGraphModel.EndUpdate(), and com.mxgraph.mxIGraphModel.SetTerminal().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Object com.mxgraph.mxGraphModel.SetValue (Object cell,
Object value 
)
+
+inline
+
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
bool com.mxgraph.mxGraphModel.SetVisible (Object cell,
bool visible 
)
+
+inline
+
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxGraphModel.UpdateEdgeParent (Object edge,
Object root 
)
+
+inline
+
+ +

Inner helper method to update the parent of the specified edge to the nearest-common-ancestor of its two terminals.

+
Parameters
+ + + +
edgeSpecifies the edge to be updated.
rootCurrent root of the model.
+
+
+ +

References com.mxgraph.mxGeometry.Clone(), com.mxgraph.mxGeometry.Translate(), com.mxgraph.mxPoint.X, and com.mxgraph.mxPoint.Y.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
void com.mxgraph.mxGraphModel.UpdateEdgeParents (Object cell)
+
+inline
+
+ +

Updates the parents of the edges connected to the given cell and all its descendants so that each edge is contained in the nearest common ancestor.

+
Parameters
+ + +
cellCell whose edges should be checked and updated.
+
+
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxGraphModel.UpdateEdgeParents (Object cell,
Object root 
)
+
+inline
+
+ +

Updates the parents of the edges connected to the given cell and all its descendants so that the edge is contained in the nearest-common-ancestor.

+
Parameters
+ + + +
cellCell whose edges should be checked and updated.
rootRoot of the cell hierarchy that contains all cells.
+
+
+ +
+
+

Member Data Documentation

+ +
+
+ + + + + +
+ + + + +
Dictionary<Object, Object> com.mxgraph.mxGraphModel.cells
+
+protected
+
+ +

Maps from Ids to cells.

+ +
+
+ +
+
+ + + + + +
+ + + + +
bool com.mxgraph.mxGraphModel.createIds = true
+
+protected
+
+ +

Specifies if edges should automatically be moved into the nearest common ancestor of their terminals. Default is true.

+ +
+
+ +
+
+ + + + + +
+ + + + +
bool com.mxgraph.mxGraphModel.maintainEdgeParent = true
+
+protected
+
+ +

Specifies if the parent of edges should be automatically change to point to the nearest common ancestor of its terminals. Default is true.

+ +
+
+ +
+
+ + + + + +
+ + + + +
int com.mxgraph.mxGraphModel.nextId = 0
+
+protected
+
+ +

Specifies the next Id to be created. Initial value is 0.

+ +
+
+ +
+
+ + + + + +
+ + + + +
mxICell com.mxgraph.mxGraphModel.root
+
+protected
+
+ +

Holds the root cell, which in turn contains the cells that represent the layers of the diagram as child cells. That is, the actual element of the diagram are supposed to live in the third generation of cells and below.

+ +
+
+ +
+
+ + + + + +
+ + + + +
int com.mxgraph.mxGraphModel.updateLevel = 0
+
+protected
+
+ +

Counter for the depth of nested transactions. Each call to beginUpdate increments this counter and each call to endUpdate decrements it. When the counter reaches 0, the transaction is closed and the respective events are fired. Initial value is 0.

+ +
+
+

Property Documentation

+ +
+
+ + + + + +
+ + + + +
bool com.mxgraph.mxGraphModel.IsCreateIds
+
+getset
+
+ +

Sets or returns if the model automatically creates Ids and resolves Id collisions.

+ +
+
+ +
+
+ + + + + +
+ + + + +
bool com.mxgraph.mxGraphModel.IsMaintainEdgeParent
+
+getset
+
+ +

Sets of returns if edges should automatically be moved into the nearest common ancestor of their terminals.

+ +
+
+

Event Documentation

+ +
+
+ + + + +
mxGraphModelChangeEventHandler com.mxgraph.mxGraphModel.GraphModelChange
+
+ +

Fires when the graph model has changed.

+ +
+
+
The documentation for this class was generated from the following file:
    +
  • src/model/mxGraphModel.cs
  • +
+
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphModel.png b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphModel.png new file mode 100644 index 0000000000000000000000000000000000000000..e28261ff27a40af6bf186d0c5f1b02ff7a1ee204 GIT binary patch literal 712 zcmeAS@N?(olHy`uVBq!ia0vp^n}IlhgBeJsN^N-yq$C1-LR|m<{|{uoc=NTi|Ih>= z3ycpOIKbL@M;^%KC<*clW&kPzfvcxNj2IZ0!aZFaLn;{G&VAdrMnS-ZKh@~{{}bh5 z4ztdG^-D2Rc@vR1b=|wm8h@Ty^d%b>dRz*+b!L)D{Org{&t32Qm+t;>Uwo$Rc9qbsGj%#v(gy9WADVy9^w0f0JK~G%#H6Ghl2US$a}&0l5${_s zdZ_5x2OYljX;=2`_Y7Y%;n3L&A61^sySVOXYw}|0Gm^Vj&fnE}chDwO(pkyFJG<++_~}Q znFrN+=X>3lukI8)bUuD>gKBYyti)y+^K-nOyVgIN@m3z_kqhp}_-DMm7T;>QZ`;xt zsxS4o&Q#6ZXSP}8?Dg3{fj-t{Jadsd!BF?apQ^R&dlf!QS6aRho%wwy;|Jc{w1%Iz z&MuGE=)}Q4uh@UN)u+Pl+KnU%WZPa!s@Rx#ug3>xEyp3171Bdzh9{k@K?ev{Agy zz5tHZGY&ttnA3TQ>&NVpqe_~0cyiBgHIbbj+tGd0ZTn2)l3@E%Vd-tX&okNQmdKI;Vst02yLm-~a#s literal 0 HcmV?d00001 diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphView-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphView-members.html new file mode 100644 index 000000000..d71cb967f --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphView-members.html @@ -0,0 +1,121 @@ + + + + + + +mxGraph: Member List + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+
+
com.mxgraph.mxGraphView Member List
+
+
+ +

This is the complete list of members for com.mxgraph.mxGraphView, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
CreateState(Object cell)com.mxgraph.mxGraphViewinline
eventsEnabledcom.mxgraph.mxGraphViewprotected
GetBoundingBox(Object[] cells)com.mxgraph.mxGraphViewinline
GetBoundingBox(mxCellState state)com.mxgraph.mxGraphViewinline
GetBoundingBox(mxCellState state, Boolean recurse)com.mxgraph.mxGraphViewinline
GetBounds(Object[] cells)com.mxgraph.mxGraphViewinline
GetBounds(Object[] cells, bool boundingBox)com.mxgraph.mxGraphViewinline
GetCellStates(Object[] cells)com.mxgraph.mxGraphViewinline
GetEdgeStyle(mxCellState edge, List< mxPoint > points, Object source, Object target)com.mxgraph.mxGraphViewinline
GetNextPoint(mxCellState edge, mxCellState opposite, bool source)com.mxgraph.mxGraphViewinline
GetPerimeterBounds(mxCellState terminal, double border)com.mxgraph.mxGraphViewinline
GetPerimeterFunction(mxCellState state)com.mxgraph.mxGraphViewinline
GetPerimeterPoint(mxCellState terminal, mxPoint next, bool orthogonal)com.mxgraph.mxGraphViewinline
GetPerimeterPoint(mxCellState terminal, mxPoint next, bool orthogonal, double border)com.mxgraph.mxGraphViewinline
GetPoint(mxCellState state)com.mxgraph.mxGraphViewinline
GetPoint(mxCellState state, mxGeometry geometry)com.mxgraph.mxGraphViewinline
GetRoutingCenterX(mxCellState state)com.mxgraph.mxGraphViewinline
GetRoutingCenterY(mxCellState state)com.mxgraph.mxGraphViewinline
GetState(Object cell)com.mxgraph.mxGraphViewinline
GetState(Object cell, bool create)com.mxgraph.mxGraphViewinline
GetStates(Object[] cells)com.mxgraph.mxGraphViewinline
GetTerminalPort(mxCellState state, mxCellState terminal, bool source)com.mxgraph.mxGraphViewinline
GetVisibleTerminal(Object edge, bool source)com.mxgraph.mxGraphViewinline
Graphcom.mxgraph.mxGraphView
graphcom.mxgraph.mxGraphViewprotected
GraphBoundscom.mxgraph.mxGraphView
graphBoundscom.mxgraph.mxGraphViewprotected
Invalidate()com.mxgraph.mxGraphViewinline
IsEventsEnabledcom.mxgraph.mxGraphView
mxGraphView(mxGraph graph)com.mxgraph.mxGraphViewinline
RemoveState(Object cell)com.mxgraph.mxGraphViewinline
RemoveState(Object cell, Boolean recurse)com.mxgraph.mxGraphViewinline
Revalidate()com.mxgraph.mxGraphViewinline
scalecom.mxgraph.mxGraphViewprotected
Scalecom.mxgraph.mxGraphView
Statescom.mxgraph.mxGraphView
statescom.mxgraph.mxGraphViewprotected
TransformControlPoint(mxCellState state, mxPoint pt)com.mxgraph.mxGraphViewinline
translatecom.mxgraph.mxGraphViewprotected
Translatecom.mxgraph.mxGraphView
UpdateBoundingBox(mxCellState state)com.mxgraph.mxGraphViewinline
UpdateCellState(mxCellState state, mxCellState source, mxCellState target)com.mxgraph.mxGraphViewinline
UpdateEdgeBounds(mxCellState state)com.mxgraph.mxGraphViewinline
UpdateEdgeState(mxCellState state, mxGeometry geo, mxCellState source, mxCellState target)com.mxgraph.mxGraphViewinline
UpdateFixedTerminalPoint(mxCellState edge, mxCellState terminal, bool source, mxConnectionConstraint constraint)com.mxgraph.mxGraphViewinline
UpdateFixedTerminalPoints(mxCellState edge, mxCellState source, mxCellState target)com.mxgraph.mxGraphViewinline
UpdateFloatingTerminalPoint(mxCellState edge, mxCellState start, mxCellState end, bool source)com.mxgraph.mxGraphViewinline
UpdateFloatingTerminalPoints(mxCellState state, mxCellState source, mxCellState target)com.mxgraph.mxGraphViewinline
UpdateLabelBounds(mxCellState state)com.mxgraph.mxGraphViewinline
UpdatePoints(mxCellState edge, List< mxPoint > points, mxCellState source, mxCellState target)com.mxgraph.mxGraphViewinline
UpdateVertexLabelOffset(mxCellState state)com.mxgraph.mxGraphViewinline
UpdateVertexState(mxCellState state, mxGeometry geo)com.mxgraph.mxGraphViewinline
Validate()com.mxgraph.mxGraphViewinline
ValidateCell(Object cell)com.mxgraph.mxGraphViewinline
ValidateCell(Object cell, Boolean visible)com.mxgraph.mxGraphViewinline
ValidateCellState(Object cell)com.mxgraph.mxGraphViewinline
ValidateCellState(Object cell, Boolean recurse)com.mxgraph.mxGraphViewinline
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphView.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphView.html new file mode 100644 index 000000000..2eb0f23bf --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphView.html @@ -0,0 +1,2269 @@ + + + + + + +mxGraph: com.mxgraph.mxGraphView Class Reference + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+ +
+
com.mxgraph.mxGraphView Class Reference
+
+
+ +

Implements a view for the graph. This class is in charge of computing the absolute coordinates for the relative child geometries, the points for perimeters and edge styles and keeping them cached in mxCellStates for faster retrieval. The states are updated whenever the model or the view state (translate, scale) changes. The scale and translate are honoured in the bounds. + More...

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 mxGraphView (mxGraph graph)
 Constructs a new view for the given graph. More...
 
mxRectangle GetBounds (Object[] cells)
 Returns the bounding box for an array of cells or null, if no cells are specified. More...
 
mxRectangle GetBoundingBox (Object[] cells)
 Returns the bounding box for an array of cells or null, if no cells are specified. More...
 
mxRectangle GetBounds (Object[] cells, bool boundingBox)
 Returns the bounding box for an array of cells or null, if no cells are specified. More...
 
void Revalidate ()
 First invalidates, then validates all cell states. More...
 
void Invalidate ()
 Invalidates all cell states. More...
 
void Validate ()
 First validates all bounds and then validates all points recursively on all visible cells. More...
 
mxRectangle GetBoundingBox (mxCellState state)
 Shortcut to validateCell with visible set to true. More...
 
mxRectangle GetBoundingBox (mxCellState state, Boolean recurse)
 Returns the bounding box of the shape and the label for the given cell state and its children if recurse is true. More...
 
Object ValidateCell (Object cell)
 Shortcut to validateCell with visible set to true. More...
 
Object ValidateCell (Object cell, Boolean visible)
 Recursively creates the cell state for the given cell if visible is true and the given cell is visible. If the cell is not visible but the state exists then it is removed using removeState. More...
 
mxCellState ValidateCellState (Object cell)
 Shortcut to validateCellState with recurse set to true. More...
 
mxCellState ValidateCellState (Object cell, Boolean recurse)
 Validates the cell state for the given cell. More...
 
void UpdateCellState (mxCellState state, mxCellState source, mxCellState target)
 Updates the given cell state. More...
 
void UpdateVertexState (mxCellState state, mxGeometry geo)
 Validates the given cell state. More...
 
void UpdateEdgeState (mxCellState state, mxGeometry geo, mxCellState source, mxCellState target)
 Validates the given cell state. More...
 
void UpdateVertexLabelOffset (mxCellState state)
 Updates the absoluteOffset of the given vertex cell state. This takes into account the label position styles. More...
 
void UpdateLabelBounds (mxCellState state)
 Updates the label bounds in the given state. More...
 
mxRectangle UpdateBoundingBox (mxCellState state)
 Updates the bounding box in the given cell state. More...
 
void UpdateFixedTerminalPoints (mxCellState edge, mxCellState source, mxCellState target)
 Sets the initial absolute terminal points in the given state before the edge style is computed. More...
 
void UpdateFixedTerminalPoint (mxCellState edge, mxCellState terminal, bool source, mxConnectionConstraint constraint)
 Sets the fixed source or target terminal point on the given edge. More...
 
void UpdatePoints (mxCellState edge, List< mxPoint > points, mxCellState source, mxCellState target)
 Updates the absolute points in the given state using the specified array of points as the relative points. More...
 
mxPoint TransformControlPoint (mxCellState state, mxPoint pt)
 Transforms the given control point to an absolute point. More...
 
mxEdgeStyleFunction GetEdgeStyle (mxCellState edge, List< mxPoint > points, Object source, Object target)
 Returns the edge style function to be used to render the given edge state. More...
 
void UpdateFloatingTerminalPoints (mxCellState state, mxCellState source, mxCellState target)
 Updates the terminal points in the given state after the edge style was computed for the edge. More...
 
void UpdateFloatingTerminalPoint (mxCellState edge, mxCellState start, mxCellState end, bool 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. More...
 
mxCellState GetTerminalPort (mxCellState state, mxCellState terminal, bool source)
 Returns the given terminal or the port defined in the given edge state if a cell state exists for that port. More...
 
mxPoint GetPerimeterPoint (mxCellState terminal, mxPoint next, bool orthogonal)
 Returns a point that defines the location of the intersection point between the perimeter and the line between the center of the shape and the given point. More...
 
mxPoint GetPerimeterPoint (mxCellState terminal, mxPoint next, bool orthogonal, double border)
 Returns a point that defines the location of the intersection point between the perimeter and the line between the center of the shape and the given point. More...
 
double GetRoutingCenterX (mxCellState state)
 Returns the x-coordinate of the center point for automatic routing. More...
 
double GetRoutingCenterY (mxCellState state)
 Returns the y-coordinate of the center point for automatic routing. More...
 
mxRectangle GetPerimeterBounds (mxCellState terminal, double border)
 Returns the perimeter bounds for the given terminal, edge pair. More...
 
mxPerimeterFunction GetPerimeterFunction (mxCellState state)
 Returns the perimeter function for the given state. More...
 
mxPoint GetNextPoint (mxCellState edge, mxCellState opposite, bool source)
 Returns the nearest point in the list of absolute points or the center of the opposite terminal. More...
 
Object GetVisibleTerminal (Object edge, bool source)
 Returns the nearest ancestor terminal that is visible. The edge appears to be connected to this terminal on the display. More...
 
void UpdateEdgeBounds (mxCellState state)
 Updates the given state using the bounding box of the absolute points. Also updates terminal distance, length and segments. More...
 
mxPoint GetPoint (mxCellState state)
 Returns the absolute center point along the given edge. More...
 
mxPoint GetPoint (mxCellState state, mxGeometry geometry)
 Returns the absolute point on the edge for the given relative geometry as a point. The edge is represented by the given cell state. More...
 
mxCellState GetState (Object cell)
 Returns the state for the given cell or null if no state is defined for the cell. More...
 
Dictionary< Object, mxCellStateGetStates (Object[] cells)
 Returns the object that maps from cells to states. More...
 
mxCellState[] GetCellStates (Object[] cells)
 Returns the states for the given array of cells. The array contains all states that are not null, that is, the returned array may have less elements than the given array. More...
 
mxCellState GetState (Object cell, bool create)
 Returns the cell state for the given cell. If create is true, then the state is created if it does not yet exist. More...
 
mxCellState RemoveState (Object cell)
 Shortcut to removeState with recurse set to false. More...
 
mxCellState RemoveState (Object cell, Boolean recurse)
 Removes and returns the mxCellState for the given cell. More...
 
mxCellState CreateState (Object cell)
 Creates and returns a cell state for the given cell. More...
 
+ + + + + + + + + + + + + + + + + + + +

+Protected Attributes

mxGraph graph
 Reference to the enclosing graph. More...
 
mxRectangle graphBounds = new mxRectangle()
 Caches the current bounds of the graph. More...
 
double scale = 1
 Specifies the scale. Default is 1 (100%). More...
 
mxPoint translate = new mxPoint(0, 0)
 Point that specifies the current translation. Default is a new empty point. More...
 
Dictionary< Object, mxCellStatestates = new Dictionary<Object, mxCellState>()
 Maps from cells to cell states. More...
 
bool eventsEnabled = true
 Specifies if the view should be revalidated if the scale or translation changes. More...
 
+ + + + + + + + + + + + + + + + + + + +

+Properties

mxGraph Graph [get]
 Returns the enclosing graph. More...
 
mxRectangle GraphBounds [get, set]
 Returns the cached diagram bounds. More...
 
double Scale [get, set]
 Sets or returns the current scale. More...
 
mxPoint Translate [get, set]
 Sets or returns the current translation. More...
 
Dictionary< Object, mxCellStateStates [get, set]
 Sets or returns the current translation. More...
 
bool IsEventsEnabled [get, set]
 Sets or returns the current scale. More...
 
+

Detailed Description

+

Implements a view for the graph. This class is in charge of computing the absolute coordinates for the relative child geometries, the points for perimeters and edge styles and keeping them cached in mxCellStates for faster retrieval. The states are updated whenever the model or the view state (translate, scale) changes. The scale and translate are honoured in the bounds.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + +
+ + + + + + + + +
com.mxgraph.mxGraphView.mxGraphView (mxGraph graph)
+
+inline
+
+ +

Constructs a new view for the given graph.

+
Parameters
+ + +
graphReference to the enclosing graph.
+
+
+ +
+
+

Member Function Documentation

+ +
+
+ + + + + +
+ + + + + + + + +
mxCellState com.mxgraph.mxGraphView.CreateState (Object cell)
+
+inline
+
+ +

Creates and returns a cell state for the given cell.

+
Parameters
+ + +
cellCell for which a new state should be created.
+
+
+
Returns
Returns a new state for the given cell.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
mxRectangle com.mxgraph.mxGraphView.GetBoundingBox (Object[] cells)
+
+inline
+
+ +

Returns the bounding box for an array of cells or null, if no cells are specified.

+
Parameters
+ + +
cells
+
+
+
Returns
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
mxRectangle com.mxgraph.mxGraphView.GetBoundingBox (mxCellState state)
+
+inline
+
+ +

Shortcut to validateCell with visible set to true.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
mxRectangle com.mxgraph.mxGraphView.GetBoundingBox (mxCellState state,
Boolean recurse 
)
+
+inline
+
+ +

Returns the bounding box of the shape and the label for the given cell state and its children if recurse is true.

+
Parameters
+ + + +
stateCell state whose bounding box should be returned.
recurseBoolean indicating if the children should be included.
+
+
+ +

References com.mxgraph.mxRectangle.Add(), com.mxgraph.mxCellState.BoundingBox, com.mxgraph.mxCellState.Cell, com.mxgraph.mxRectangle.Clone(), com.mxgraph.mxIGraphModel.GetChildAt(), and com.mxgraph.mxIGraphModel.GetChildCount().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
mxRectangle com.mxgraph.mxGraphView.GetBounds (Object[] cells)
+
+inline
+
+ +

Returns the bounding box for an array of cells or null, if no cells are specified.

+
Parameters
+ + +
cells
+
+
+
Returns
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
mxRectangle com.mxgraph.mxGraphView.GetBounds (Object[] cells,
bool boundingBox 
)
+
+inline
+
+ +

Returns the bounding box for an array of cells or null, if no cells are specified.

+ +

References com.mxgraph.mxRectangle.Add(), com.mxgraph.mxCellState.BoundingBox, com.mxgraph.mxIGraphModel.IsEdge(), and com.mxgraph.mxIGraphModel.IsVertex().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
mxCellState [] com.mxgraph.mxGraphView.GetCellStates (Object[] cells)
+
+inline
+
+ +

Returns the states for the given array of cells. The array contains all states that are not null, that is, the returned array may have less elements than the given array.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
mxEdgeStyleFunction com.mxgraph.mxGraphView.GetEdgeStyle (mxCellState edge,
List< mxPointpoints,
Object source,
Object target 
)
+
+inline
+
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
mxPoint com.mxgraph.mxGraphView.GetNextPoint (mxCellState edge,
mxCellState opposite,
bool source 
)
+
+inline
+
+ +

Returns the nearest point in the list of absolute points or the center of the opposite terminal.

+
Parameters
+ + + + +
edgeState that represents the edge.
oppositeState that represents the opposite terminal.
sourceBoolean indicating if the next point for the source or target should be returned.
+
+
+ +

References com.mxgraph.mxCellState.AbsolutePoints, com.mxgraph.mxRectangle.GetCenterX(), and com.mxgraph.mxRectangle.GetCenterY().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
mxRectangle com.mxgraph.mxGraphView.GetPerimeterBounds (mxCellState terminal,
double border 
)
+
+inline
+
+
+ +
+
+ + + + + +
+ + + + + + + + +
mxPerimeterFunction com.mxgraph.mxGraphView.GetPerimeterFunction (mxCellState state)
+
+inline
+
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
mxPoint com.mxgraph.mxGraphView.GetPerimeterPoint (mxCellState terminal,
mxPoint next,
bool orthogonal 
)
+
+inline
+
+ +

Returns a point that defines the location of the intersection point between the perimeter and the line between the center of the shape and the given point.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
mxPoint com.mxgraph.mxGraphView.GetPerimeterPoint (mxCellState terminal,
mxPoint next,
bool orthogonal,
double border 
)
+
+inline
+
+ +

Returns a point that defines the location of the intersection point between the perimeter and the line between the center of the shape and the given point.

+
Parameters
+ + + + + +
terminalState for the source or target terminal.
nextPoint that lies outside of the given terminal.
orthogonalSpecifies if the orthogonal projection onto the perimeter should be returned. If this is false then the intersection of the perimeter and the line between the next and the center point is returned.
borderOptional border between the perimeter and the shape.
+
+
+ +

References com.mxgraph.mxRectangle.Height, com.mxgraph.mxPerimeterFunction(), and com.mxgraph.mxRectangle.Width.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
mxPoint com.mxgraph.mxGraphView.GetPoint (mxCellState state)
+
+inline
+
+ +

Returns the absolute center point along the given edge.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
mxPoint com.mxgraph.mxGraphView.GetPoint (mxCellState state,
mxGeometry geometry 
)
+
+inline
+
+ +

Returns the absolute point on the edge for the given relative geometry as a point. The edge is represented by the given cell state.

+
Parameters
+ + + +
stateRepresents the state of the parent edge.
geometryRepresents the relative location.
+
+
+ +

References com.mxgraph.mxCellState.AbsolutePoints, com.mxgraph.mxRectangle.GetCenterX(), com.mxgraph.mxRectangle.GetCenterY(), com.mxgraph.mxCellState.Length, com.mxgraph.mxGeometry.Offset, com.mxgraph.mxGeometry.Relative, com.mxgraph.mxCellState.Segments, com.mxgraph.mxPoint.X, and com.mxgraph.mxPoint.Y.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
double com.mxgraph.mxGraphView.GetRoutingCenterX (mxCellState state)
+
+inline
+
+ +

Returns the x-coordinate of the center point for automatic routing.

+
Returns
Returns the x-coordinate of the routing center point.
+ +

References com.mxgraph.mxRectangle.GetCenterX(), com.mxgraph.mxUtils.GetFloat(), com.mxgraph.mxCellState.Style, com.mxgraph.mxConstants.STYLE_ROUTING_CENTER_X, and com.mxgraph.mxRectangle.Width.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
double com.mxgraph.mxGraphView.GetRoutingCenterY (mxCellState state)
+
+inline
+
+ +

Returns the y-coordinate of the center point for automatic routing.

+
Returns
Returns the y-coordinate of the routing center point.
+ +

References com.mxgraph.mxRectangle.GetCenterY(), com.mxgraph.mxUtils.GetFloat(), com.mxgraph.mxRectangle.Height, com.mxgraph.mxCellState.Style, and com.mxgraph.mxConstants.STYLE_ROUTING_CENTER_Y.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
mxCellState com.mxgraph.mxGraphView.GetState (Object cell)
+
+inline
+
+ +

Returns the state for the given cell or null if no state is defined for the cell.

+
Parameters
+ + +
cellCell whose state should be returned.
+
+
+
Returns
Returns the state for the given cell.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
mxCellState com.mxgraph.mxGraphView.GetState (Object cell,
bool create 
)
+
+inline
+
+ +

Returns the cell state for the given cell. If create is true, then the state is created if it does not yet exist.

+
Parameters
+ + + +
cellCell for which a new state should be returned.
createBoolean indicating if a new state should be created if it does not yet exist.
+
+
+
Returns
Returns the state for the given cell.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
Dictionary<Object, mxCellState> com.mxgraph.mxGraphView.GetStates (Object[] cells)
+
+inline
+
+ +

Returns the object that maps from cells to states.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
mxCellState com.mxgraph.mxGraphView.GetTerminalPort (mxCellState state,
mxCellState terminal,
bool source 
)
+
+inline
+
+ +

Returns the given terminal or the port defined in the given edge state if a cell state exists for that port.

+ +

References com.mxgraph.mxUtils.GetString(), com.mxgraph.mxCellState.Style, com.mxgraph.mxConstants.STYLE_SOURCE_PORT, and com.mxgraph.mxConstants.STYLE_TARGET_PORT.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Object com.mxgraph.mxGraphView.GetVisibleTerminal (Object edge,
bool source 
)
+
+inline
+
+ +

Returns the nearest ancestor terminal that is visible. The edge appears to be connected to this terminal on the display.

+
Parameters
+ + + +
edgeCell whose visible terminal should be returned.
sourceBoolean that specifies if the source or target terminal should be returned.
+
+
+
Returns
Returns the visible source or target terminal.
+ +

References com.mxgraph.mxIGraphModel.GetParent(), com.mxgraph.mxIGraphModel.GetTerminal(), and com.mxgraph.mxIGraphModel.Root.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
void com.mxgraph.mxGraphView.Invalidate ()
+
+inline
+
+ +

Invalidates all cell states.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
mxCellState com.mxgraph.mxGraphView.RemoveState (Object cell)
+
+inline
+
+ +

Shortcut to removeState with recurse set to false.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
mxCellState com.mxgraph.mxGraphView.RemoveState (Object cell,
Boolean recurse 
)
+
+inline
+
+ +

Removes and returns the mxCellState for the given cell.

+
Parameters
+ + +
cellmxCell for which the mxCellState should be removed.
+
+
+
Returns
Returns the mxCellState that has been removed.
+ +

References com.mxgraph.mxIGraphModel.GetChildAt(), and com.mxgraph.mxIGraphModel.GetChildCount().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
void com.mxgraph.mxGraphView.Revalidate ()
+
+inline
+
+ +

First invalidates, then validates all cell states.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
mxPoint com.mxgraph.mxGraphView.TransformControlPoint (mxCellState state,
mxPoint pt 
)
+
+inline
+
+ +

Transforms the given control point to an absolute point.

+ +

References com.mxgraph.mxCellState.Origin, com.mxgraph.mxPoint.X, and com.mxgraph.mxPoint.Y.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
mxRectangle com.mxgraph.mxGraphView.UpdateBoundingBox (mxCellState state)
+
+inline
+
+ +

Updates the bounding box in the given cell state.

+
Parameters
+ + +
stateCell state whose bounding box should be updated.
+
+
+
Returns
+ +

References com.mxgraph.mxRectangle.Add(), com.mxgraph.mxConstants.ALIGN_BOTTOM, com.mxgraph.mxConstants.ALIGN_CENTER, com.mxgraph.mxConstants.ALIGN_LEFT, com.mxgraph.mxConstants.ALIGN_MIDDLE, com.mxgraph.mxConstants.ALIGN_RIGHT, com.mxgraph.mxConstants.ALIGN_TOP, com.mxgraph.mxConstants.ARROW_WIDTH, com.mxgraph.mxCellState.BoundingBox, com.mxgraph.mxCellState.Cell, com.mxgraph.mxConstants.DEFAULT_IMAGESIZE, com.mxgraph.mxConstants.DEFAULT_MARKERSIZE, com.mxgraph.mxUtils.GetBoundingBox(), com.mxgraph.mxUtils.GetDouble(), com.mxgraph.mxUtils.GetInt(), com.mxgraph.mxRectangle.GetRectangle(), com.mxgraph.mxUtils.GetString(), com.mxgraph.mxRectangle.Grow(), com.mxgraph.mxRectangle.Height, com.mxgraph.mxUtils.IsTrue(), com.mxgraph.mxCellState.LabelBounds, com.mxgraph.mxConstants.SHADOW_OFFSETX, com.mxgraph.mxConstants.SHADOW_OFFSETY, com.mxgraph.mxConstants.SHAPE_ARROW, com.mxgraph.mxConstants.SHAPE_LABEL, com.mxgraph.mxCellState.Style, com.mxgraph.mxConstants.STYLE_ENDARROW, com.mxgraph.mxConstants.STYLE_IMAGE, com.mxgraph.mxConstants.STYLE_IMAGE_ALIGN, com.mxgraph.mxConstants.STYLE_IMAGE_HEIGHT, com.mxgraph.mxConstants.STYLE_IMAGE_VERTICAL_ALIGN, com.mxgraph.mxConstants.STYLE_IMAGE_WIDTH, com.mxgraph.mxConstants.STYLE_OVERFLOW, com.mxgraph.mxConstants.STYLE_ROTATION, com.mxgraph.mxConstants.STYLE_SHADOW, com.mxgraph.mxConstants.STYLE_SHAPE, com.mxgraph.mxConstants.STYLE_STARTARROW, com.mxgraph.mxConstants.STYLE_STROKEWIDTH, com.mxgraph.mxRectangle.Width, com.mxgraph.mxPoint.X, and com.mxgraph.mxPoint.Y.

+ +
+
+ + + +
+
+ + + + + +
+ + + + + + + + +
void com.mxgraph.mxGraphView.UpdateEdgeBounds (mxCellState state)
+
+inline
+
+ +

Updates the given state using the bounding box of the absolute points. Also updates terminal distance, length and segments.

+
Parameters
+ + +
stateCell state whose bounds should be updated.
+
+
+ +

References com.mxgraph.mxCellState.AbsolutePoints, com.mxgraph.mxCellState.Cell, com.mxgraph.mxRectangle.Height, com.mxgraph.mxCellState.Length, com.mxgraph.mxCellState.Segments, com.mxgraph.mxCellState.TerminalDistance, com.mxgraph.mxRectangle.Width, com.mxgraph.mxPoint.X, and com.mxgraph.mxPoint.Y.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxGraphView.UpdateEdgeState (mxCellState state,
mxGeometry geo,
mxCellState source,
mxCellState target 
)
+
+inline
+
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxGraphView.UpdateFixedTerminalPoint (mxCellState edge,
mxCellState terminal,
bool source,
mxConnectionConstraint constraint 
)
+
+inline
+
+ +

Sets the fixed source or target terminal point on the given edge.

+
Parameters
+ + + + + +
edgeState whose terminal point should be updated.
terminalState which represents the actual terminal.
sourceBoolean that specifies if the terminal is the source.
constraintConstraint that specifies the connection.
+
+
+ +

References com.mxgraph.mxCellState.Cell, com.mxgraph.mxGeometry.GetTerminalPoint(), com.mxgraph.mxCellState.Origin, com.mxgraph.mxCellState.SetAbsoluteTerminalPoint(), com.mxgraph.mxPoint.X, and com.mxgraph.mxPoint.Y.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxGraphView.UpdateFixedTerminalPoints (mxCellState edge,
mxCellState source,
mxCellState target 
)
+
+inline
+
+ +

Sets the initial absolute terminal points in the given state before the edge style is computed.

+
Parameters
+ + + + +
edgeCell state whose initial terminal points should be updated.
sourceCell state which represents the source terminal.
targetCell state which represents the target terminal.
+
+
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxGraphView.UpdateFloatingTerminalPoint (mxCellState edge,
mxCellState start,
mxCellState end,
bool source 
)
+
+inline
+
+ +

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.

+
Parameters
+ + + + + +
edgeState whose terminal point should be updated.
startfor the terminal on "this" side of the edge.
endfor the terminal on the other side of the edge.
sourceBoolean indicating if start is the source terminal state.
+
+
+ +

References com.mxgraph.mxUtils.GetDouble(), com.mxgraph.mxCellState.SetAbsoluteTerminalPoint(), com.mxgraph.mxCellState.Style, com.mxgraph.mxConstants.STYLE_PERIMETER_SPACING, com.mxgraph.mxConstants.STYLE_SOURCE_PERIMETER_SPACING, and com.mxgraph.mxConstants.STYLE_TARGET_PERIMETER_SPACING.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxGraphView.UpdateFloatingTerminalPoints (mxCellState state,
mxCellState source,
mxCellState target 
)
+
+inline
+
+ +

Updates the terminal points in the given state after the edge style was computed for the edge.

+
Parameters
+ + + + +
stateState whose terminal points should be updated.
sourceState that represents the source terminal.
targetState that represents the target terminal.
+
+
+ +

References com.mxgraph.mxCellState.AbsolutePointCount(), and com.mxgraph.mxCellState.AbsolutePoints.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
void com.mxgraph.mxGraphView.UpdateLabelBounds (mxCellState state)
+
+inline
+
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxGraphView.UpdatePoints (mxCellState edge,
List< mxPointpoints,
mxCellState source,
mxCellState target 
)
+
+inline
+
+ +

Updates the absolute points in the given state using the specified array of points as the relative points.

+
Parameters
+ + + + + +
edgeCell state whose absolute points should be updated.
pointsArray of points that constitute the relative points.
sourceCell that represents the source terminal.
targetCell that represents the target terminal.
+
+
+ +

References com.mxgraph.mxCellState.AbsolutePoints, and com.mxgraph.mxEdgeStyleFunction().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
void com.mxgraph.mxGraphView.UpdateVertexLabelOffset (mxCellState state)
+
+inline
+
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxGraphView.UpdateVertexState (mxCellState state,
mxGeometry geo 
)
+
+inline
+
+ +

Validates the given cell state.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
void com.mxgraph.mxGraphView.Validate ()
+
+inline
+
+ +

First validates all bounds and then validates all points recursively on all visible cells.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
Object com.mxgraph.mxGraphView.ValidateCell (Object cell)
+
+inline
+
+ +

Shortcut to validateCell with visible set to true.

+ +

Referenced by com.mxgraph.mxCellRenderer.DrawCells().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Object com.mxgraph.mxGraphView.ValidateCell (Object cell,
Boolean visible 
)
+
+inline
+
+ +

Recursively creates the cell state for the given cell if visible is true and the given cell is visible. If the cell is not visible but the state exists then it is removed using removeState.

+
Parameters
+ + + +
cellCell whose cell state should be created.
visibleBoolean indicating if the cell should be visible.
+
+
+ +

References com.mxgraph.mxIGraphModel.GetChildAt(), and com.mxgraph.mxIGraphModel.GetChildCount().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
mxCellState com.mxgraph.mxGraphView.ValidateCellState (Object cell)
+
+inline
+
+ +

Shortcut to validateCellState with recurse set to true.

+ +

Referenced by com.mxgraph.mxCellRenderer.DrawCells().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
mxCellState com.mxgraph.mxGraphView.ValidateCellState (Object cell,
Boolean recurse 
)
+
+inline
+
+ +

Validates the cell state for the given cell.

+
Parameters
+ + + +
cellCell whose cell state should be validated.
recurseBoolean indicating if the children of the cell should be validated.
+
+
+
Returns
+ +

References com.mxgraph.mxIGraphModel.GetChildAt(), com.mxgraph.mxIGraphModel.GetChildCount(), com.mxgraph.mxIGraphModel.GetParent(), com.mxgraph.mxCellState.Invalid, com.mxgraph.mxIGraphModel.IsEdge(), and com.mxgraph.mxIGraphModel.IsVertex().

+ +
+
+

Member Data Documentation

+ +
+
+ + + + + +
+ + + + +
bool com.mxgraph.mxGraphView.eventsEnabled = true
+
+protected
+
+ +

Specifies if the view should be revalidated if the scale or translation changes.

+ +
+
+ +
+
+ + + + + +
+ + + + +
mxGraph com.mxgraph.mxGraphView.graph
+
+protected
+
+ +

Reference to the enclosing graph.

+ +
+
+ +
+
+ + + + + +
+ + + + +
mxRectangle com.mxgraph.mxGraphView.graphBounds = new mxRectangle()
+
+protected
+
+ +

Caches the current bounds of the graph.

+ +
+
+ +
+
+ + + + + +
+ + + + +
double com.mxgraph.mxGraphView.scale = 1
+
+protected
+
+ +

Specifies the scale. Default is 1 (100%).

+ +
+
+ +
+
+ + + + + +
+ + + + +
Dictionary<Object, mxCellState> com.mxgraph.mxGraphView.states = new Dictionary<Object, mxCellState>()
+
+protected
+
+ +

Maps from cells to cell states.

+ +
+
+ +
+
+ + + + + +
+ + + + +
mxPoint com.mxgraph.mxGraphView.translate = new mxPoint(0, 0)
+
+protected
+
+ +

Point that specifies the current translation. Default is a new empty point.

+ +
+
+

Property Documentation

+ +
+
+ + + + + +
+ + + + +
mxGraph com.mxgraph.mxGraphView.Graph
+
+get
+
+ +

Returns the enclosing graph.

+ +
+
+ +
+
+ + + + + +
+ + + + +
mxRectangle com.mxgraph.mxGraphView.GraphBounds
+
+getset
+
+ +

Returns the cached diagram bounds.

+ +
+
+ +
+
+ + + + + +
+ + + + +
bool com.mxgraph.mxGraphView.IsEventsEnabled
+
+getset
+
+ +

Sets or returns the current scale.

+ +

Referenced by com.mxgraph.mxCellRenderer.DrawCells().

+ +
+
+ +
+
+ + + + + +
+ + + + +
double com.mxgraph.mxGraphView.Scale
+
+getset
+
+
+ +
+
+ + + + + +
+ + + + +
Dictionary<Object, mxCellState> com.mxgraph.mxGraphView.States
+
+getset
+
+ +

Sets or returns the current translation.

+ +

Referenced by com.mxgraph.mxCellRenderer.DrawCells().

+ +
+
+ +
+
+ + + + + +
+ + + + +
mxPoint com.mxgraph.mxGraphView.Translate
+
+getset
+
+ +

Sets or returns the current translation.

+ +
+
+
The documentation for this class was generated from the following file:
    +
  • src/view/mxGraphView.cs
  • +
+
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphViewImageReader-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphViewImageReader-members.html new file mode 100644 index 000000000..038f56c4a --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphViewImageReader-members.html @@ -0,0 +1,90 @@ + + + + + + +mxGraph: Member List + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+
+
com.mxgraph.mxGraphViewImageReader Member List
+
+
+ +

This is the complete list of members for com.mxgraph.mxGraphViewImageReader, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
antiAliascom.mxgraph.mxGraphViewImageReaderprotected
AntiAliascom.mxgraph.mxGraphViewImageReader
backgroundcom.mxgraph.mxGraphViewImageReaderprotected
Backgroundcom.mxgraph.mxGraphViewImageReader
bordercom.mxgraph.mxGraphViewImageReaderprotected
Bordercom.mxgraph.mxGraphViewImageReader
Canvascom.mxgraph.mxGraphViewReader
canvascom.mxgraph.mxGraphViewReaderprotected
clipcom.mxgraph.mxGraphViewImageReaderprotected
Clipcom.mxgraph.mxGraphViewImageReader
Convert(mxGraphViewImageReader viewReader)com.mxgraph.mxGraphViewImageReaderinlinestatic
CreateCanvas(Dictionary< string, Object > attrs)com.mxgraph.mxGraphViewImageReaderinlinevirtual
croppingcom.mxgraph.mxGraphViewImageReaderprotected
Croppingcom.mxgraph.mxGraphViewImageReader
mxGraphViewImageReader(XmlReader reader)com.mxgraph.mxGraphViewImageReaderinline
mxGraphViewImageReader(XmlReader reader, Color?background)com.mxgraph.mxGraphViewImageReaderinline
mxGraphViewImageReader(XmlReader reader, Color?background, int border)com.mxgraph.mxGraphViewImageReaderinline
mxGraphViewImageReader(XmlReader reader, Color?background, int border, bool antiAlias)com.mxgraph.mxGraphViewImageReaderinline
mxGraphViewImageReader(XmlReader reader, Color?background, int border, bool antiAlias, bool cropping)com.mxgraph.mxGraphViewImageReaderinline
mxGraphViewReader()com.mxgraph.mxGraphViewReaderinline
mxGraphViewReader(XmlReader reader)com.mxgraph.mxGraphViewReaderinline
ParseElement(string tagName, Dictionary< string, Object > attrs)com.mxgraph.mxGraphViewReaderinline
ParsePoints(string pts)com.mxgraph.mxGraphViewReaderinlinestatic
ParseState(mxCellState state, bool edge)com.mxgraph.mxGraphViewReaderinline
Read(XmlReader reader)com.mxgraph.mxGraphViewReaderinline
scalecom.mxgraph.mxGraphViewReaderprotected
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphViewImageReader.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphViewImageReader.html new file mode 100644 index 000000000..c9fdf3e42 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphViewImageReader.html @@ -0,0 +1,687 @@ + + + + + + +mxGraph: com.mxgraph.mxGraphViewImageReader Class Reference + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+ +
+
com.mxgraph.mxGraphViewImageReader Class Reference
+
+
+ +

A converter that renders display XML data onto a GDI canvas. + More...

+
+Inheritance diagram for com.mxgraph.mxGraphViewImageReader:
+
+
+ + +com.mxgraph.mxGraphViewReader + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 mxGraphViewImageReader (XmlReader reader)
 Constructs a new GDI reader for the given display XML reader. More...
 
 mxGraphViewImageReader (XmlReader reader, Color?background)
 Constructs a new GDI reader for the given display XML reader. More...
 
 mxGraphViewImageReader (XmlReader reader, Color?background, int border)
 Constructs a new GDI reader for the given display XML reader. More...
 
 mxGraphViewImageReader (XmlReader reader, Color?background, int border, bool antiAlias)
 Constructs a new GDI reader for the given display XML reader. More...
 
 mxGraphViewImageReader (XmlReader reader, Color?background, int border, bool antiAlias, bool cropping)
 Constructs a new GDI reader for the given display XML reader. More...
 
override mxICanvas CreateCanvas (Dictionary< string, Object > attrs)
 Returns the canvas to be used for rendering. More...
 
- Public Member Functions inherited from com.mxgraph.mxGraphViewReader
 mxGraphViewReader ()
 Constructs a new graph view reader. More...
 
 mxGraphViewReader (XmlReader reader)
 Constructs a new graph view reader and reads the given display XML data. More...
 
void Read (XmlReader reader)
 Reads the given display XML data and parses all elements. More...
 
void ParseElement (string tagName, Dictionary< string, Object > attrs)
 Parses the given element and paints it onto the canvas. More...
 
string ParseState (mxCellState state, bool edge)
 Parses the bounds, absolute points and label information from the style of the state into its respective fields and returns the label of the cell. More...
 
+ + + + + + + + +

+Static Public Member Functions

static Image Convert (mxGraphViewImageReader viewReader)
 Creates the image for the given display XML reader. For a given XmlReader, use the following code to create the view reader: new mxGraphViewImageReader(xmlReader, background, border, antiAlias); More...
 
- Static Public Member Functions inherited from com.mxgraph.mxGraphViewReader
static List< mxPointParsePoints (string pts)
 Parses the list of points into an object-oriented representation. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

Color background
 Specifies the background color. More...
 
int border
 Specifies the border size. Default is 0. More...
 
bool antiAlias
 Default is true. More...
 
bool cropping
 Default is true. More...
 
mxRectangle clip
 Specifies the optional clipping rectangle. More...
 
- Protected Attributes inherited from com.mxgraph.mxGraphViewReader
mxICanvas canvas
 Holds the canvas to be used for rendering the graph. More...
 
double scale = 1
 Holds the global scale of the graph. This is set just before createCanvas is called. More...
 
+ + + + + + + + + + + + + + + + + + + + +

+Properties

Color Background [get, set]
 Accessors for the background property. More...
 
int Border [get, set]
 Accessors for the border property. More...
 
bool AntiAlias [get, set]
 Accessors for the background property. More...
 
bool Cropping [get, set]
 Accessors for the cropping property. More...
 
mxRectangle Clip [get, set]
 Accessors for the clip property. More...
 
- Properties inherited from com.mxgraph.mxGraphViewReader
mxICanvas Canvas [get]
 Returns the canvas that is used for rendering the graph. More...
 
+

Detailed Description

+

A converter that renders display XML data onto a GDI canvas.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + +
+ + + + + + + + +
com.mxgraph.mxGraphViewImageReader.mxGraphViewImageReader (XmlReader reader)
+
+inline
+
+ +

Constructs a new GDI reader for the given display XML reader.

+
Parameters
+ + +
reader
+
+
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
com.mxgraph.mxGraphViewImageReader.mxGraphViewImageReader (XmlReader reader,
Color? background 
)
+
+inline
+
+ +

Constructs a new GDI reader for the given display XML reader.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
com.mxgraph.mxGraphViewImageReader.mxGraphViewImageReader (XmlReader reader,
Color? background,
int border 
)
+
+inline
+
+ +

Constructs a new GDI reader for the given display XML reader.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
com.mxgraph.mxGraphViewImageReader.mxGraphViewImageReader (XmlReader reader,
Color? background,
int border,
bool antiAlias 
)
+
+inline
+
+ +

Constructs a new GDI reader for the given display XML reader.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
com.mxgraph.mxGraphViewImageReader.mxGraphViewImageReader (XmlReader reader,
Color? background,
int border,
bool antiAlias,
bool cropping 
)
+
+inline
+
+ +

Constructs a new GDI reader for the given display XML reader.

+ +
+
+

Member Function Documentation

+ +
+
+ + + + + +
+ + + + + + + + +
static Image com.mxgraph.mxGraphViewImageReader.Convert (mxGraphViewImageReader viewReader)
+
+inlinestatic
+
+ +

Creates the image for the given display XML reader. For a given XmlReader, use the following code to create the view reader: new mxGraphViewImageReader(xmlReader, background, border, antiAlias);

+
Parameters
+ + +
viewReaderReader that contains the display XML.
+
+
+
Returns
Returns an image representing the display XML reader.
+ +

References com.mxgraph.mxGraphViewReader.Canvas.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
override mxICanvas com.mxgraph.mxGraphViewImageReader.CreateCanvas (Dictionary< string, Object > attrs)
+
+inlinevirtual
+
+ +

Returns the canvas to be used for rendering.

+
Parameters
+ + +
attrsSpecifies the attributes of the new canvas.
+
+
+
Returns
Returns a new canvas.
+ +

Implements com.mxgraph.mxGraphViewReader.

+ +

References com.mxgraph.mxUtils.GetDouble(), com.mxgraph.mxRectangle.Height, com.mxgraph.mxImageCanvas.Translate, com.mxgraph.mxRectangle.Width, com.mxgraph.mxPoint.X, and com.mxgraph.mxPoint.Y.

+ +
+
+

Member Data Documentation

+ +
+
+ + + + + +
+ + + + +
bool com.mxgraph.mxGraphViewImageReader.antiAlias
+
+protected
+
+ +

Default is true.

+ +
+
+ +
+
+ + + + + +
+ + + + +
Color com.mxgraph.mxGraphViewImageReader.background
+
+protected
+
+ +

Specifies the background color.

+ +
+
+ +
+
+ + + + + +
+ + + + +
int com.mxgraph.mxGraphViewImageReader.border
+
+protected
+
+ +

Specifies the border size. Default is 0.

+ +
+
+ +
+
+ + + + + +
+ + + + +
mxRectangle com.mxgraph.mxGraphViewImageReader.clip
+
+protected
+
+ +

Specifies the optional clipping rectangle.

+ +
+
+ +
+
+ + + + + +
+ + + + +
bool com.mxgraph.mxGraphViewImageReader.cropping
+
+protected
+
+ +

Default is true.

+ +
+
+

Property Documentation

+ +
+
+ + + + + +
+ + + + +
bool com.mxgraph.mxGraphViewImageReader.AntiAlias
+
+getset
+
+ +

Accessors for the background property.

+ +
+
+ +
+
+ + + + + +
+ + + + +
Color com.mxgraph.mxGraphViewImageReader.Background
+
+getset
+
+ +

Accessors for the background property.

+ +
+
+ +
+
+ + + + + +
+ + + + +
int com.mxgraph.mxGraphViewImageReader.Border
+
+getset
+
+ +

Accessors for the border property.

+ +
+
+ +
+
+ + + + + +
+ + + + +
mxRectangle com.mxgraph.mxGraphViewImageReader.Clip
+
+getset
+
+ +

Accessors for the clip property.

+ +
+
+ +
+
+ + + + + +
+ + + + +
bool com.mxgraph.mxGraphViewImageReader.Cropping
+
+getset
+
+ +

Accessors for the cropping property.

+ +
+
+
The documentation for this class was generated from the following file:
    +
  • src/reader/mxGraphViewImageReader.cs
  • +
+
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphViewImageReader.png b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphViewImageReader.png new file mode 100644 index 0000000000000000000000000000000000000000..a0229223775e87dc1dcd6490816dffca11d0c905 GIT binary patch literal 877 zcmeAS@N?(olHy`uVBq!ia0vp^pMf}lgBeKvUa;90NJ#|vgt-3y{~ySF@#br3|Dg#$ z78oBmaDcV*jy#adQ4-`A%m7pb0#{Fk7%?y~{qb~h45?szJNNda)d~Wx;B|0p+M6dYX}j}F-E--m zw|gV^YbW{_->o%!vVG=u_vM-LXC_Tq`L?eA=J_Z0EUX_sRO;E|c4US?-mEV5W!K8y z?%z9a`=j0;cho9Xg#Pq$W*GfublR*c6s8b!95ODnYwnpJ-q#Y5wCDRzfG~~?u9x}EAN_h9!c=j`m*qQ@wNX`w=Ypy zy6gF*CG%f0pP5>F#kTl{x3i)5rT9xJ)0X@*ovFIAe(jmln{<*nA6Qp0@GN7TDc}Eb z0eec^#P(*niIvxK8w5>eGXA=r!uBG5vgCq#-?RpxE&>AalZ(&ss>vJ(n01EXZ?+Nh zm-YQd^Gmm0^=@$b_wC-A`%^bew|w_hLLq$X_WOzV zk308s$o>|;Q)k^Wd)cE-%RfKI zq)g!d!1=6pjrSS-Si9*R4;K7MdGU@6FwuaqX?mvO_!tkuzW3 zv;H^l^G( TI|H8s^9F;btDnm{r-UW|jkmN} literal 0 HcmV?d00001 diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphViewReader-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphViewReader-members.html new file mode 100644 index 000000000..3d514a390 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphViewReader-members.html @@ -0,0 +1,74 @@ + + + + + + +mxGraph: Member List + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+
+
com.mxgraph.mxGraphViewReader Member List
+
+
+ +

This is the complete list of members for com.mxgraph.mxGraphViewReader, including all inherited members.

+ + + + + + + + + + + +
canvascom.mxgraph.mxGraphViewReaderprotected
Canvascom.mxgraph.mxGraphViewReader
CreateCanvas(Dictionary< string, Object > attrs)com.mxgraph.mxGraphViewReaderpure virtual
mxGraphViewReader()com.mxgraph.mxGraphViewReaderinline
mxGraphViewReader(XmlReader reader)com.mxgraph.mxGraphViewReaderinline
ParseElement(string tagName, Dictionary< string, Object > attrs)com.mxgraph.mxGraphViewReaderinline
ParsePoints(string pts)com.mxgraph.mxGraphViewReaderinlinestatic
ParseState(mxCellState state, bool edge)com.mxgraph.mxGraphViewReaderinline
Read(XmlReader reader)com.mxgraph.mxGraphViewReaderinline
scalecom.mxgraph.mxGraphViewReaderprotected
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphViewReader.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphViewReader.html new file mode 100644 index 000000000..7f82b3f66 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphViewReader.html @@ -0,0 +1,439 @@ + + + + + + +mxGraph: com.mxgraph.mxGraphViewReader Class Reference + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+ +
+
com.mxgraph.mxGraphViewReader Class Referenceabstract
+
+
+ +

An abstract converter that renders display XML data onto a canvas. + More...

+
+Inheritance diagram for com.mxgraph.mxGraphViewReader:
+
+
+ + +com.mxgraph.mxGraphViewImageReader + +
+ + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 mxGraphViewReader ()
 Constructs a new graph view reader. More...
 
 mxGraphViewReader (XmlReader reader)
 Constructs a new graph view reader and reads the given display XML data. More...
 
abstract mxICanvas CreateCanvas (Dictionary< string, Object > attrs)
 Returns the canvas to be used for rendering. More...
 
void Read (XmlReader reader)
 Reads the given display XML data and parses all elements. More...
 
void ParseElement (string tagName, Dictionary< string, Object > attrs)
 Parses the given element and paints it onto the canvas. More...
 
string ParseState (mxCellState state, bool edge)
 Parses the bounds, absolute points and label information from the style of the state into its respective fields and returns the label of the cell. More...
 
+ + + + +

+Static Public Member Functions

static List< mxPointParsePoints (string pts)
 Parses the list of points into an object-oriented representation. More...
 
+ + + + + + + +

+Protected Attributes

mxICanvas canvas
 Holds the canvas to be used for rendering the graph. More...
 
double scale = 1
 Holds the global scale of the graph. This is set just before createCanvas is called. More...
 
+ + + + +

+Properties

mxICanvas Canvas [get]
 Returns the canvas that is used for rendering the graph. More...
 
+

Detailed Description

+

An abstract converter that renders display XML data onto a canvas.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + +
+ + + + + + + +
com.mxgraph.mxGraphViewReader.mxGraphViewReader ()
+
+inline
+
+ +

Constructs a new graph view reader.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
com.mxgraph.mxGraphViewReader.mxGraphViewReader (XmlReader reader)
+
+inline
+
+ +

Constructs a new graph view reader and reads the given display XML data.

+
Parameters
+ + +
readerReader that represents the display XML data.
+
+
+ +
+
+

Member Function Documentation

+ +
+
+ + + + + +
+ + + + + + + + +
abstract mxICanvas com.mxgraph.mxGraphViewReader.CreateCanvas (Dictionary< string, Object > attrs)
+
+pure virtual
+
+ +

Returns the canvas to be used for rendering.

+
Parameters
+ + +
attrsSpecifies the attributes of the new canvas.
+
+
+
Returns
Returns a new canvas.
+ +

Implemented in com.mxgraph.mxGraphViewImageReader.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxGraphViewReader.ParseElement (string tagName,
Dictionary< string, Object > attrs 
)
+
+inline
+
+ +

Parses the given element and paints it onto the canvas.

+
Parameters
+ + + +
tagNameName of the node to be parsed.
attrsAttributes of the node to be parsed.
+
+
+ +

References com.mxgraph.mxUtils.GetDouble().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
static List<mxPoint> com.mxgraph.mxGraphViewReader.ParsePoints (string pts)
+
+inlinestatic
+
+ +

Parses the list of points into an object-oriented representation.

+
Parameters
+ + +
ptsString containing a list of points.
+
+
+
Returns
Returns the points as a list of mxPoints.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
string com.mxgraph.mxGraphViewReader.ParseState (mxCellState state,
bool edge 
)
+
+inline
+
+
+ +
+
+ + + + + +
+ + + + + + + + +
void com.mxgraph.mxGraphViewReader.Read (XmlReader reader)
+
+inline
+
+ +

Reads the given display XML data and parses all elements.

+
Parameters
+ + +
readerReader that represents the display XML data.
+
+
+ +
+
+

Member Data Documentation

+ +
+
+ + + + + +
+ + + + +
mxICanvas com.mxgraph.mxGraphViewReader.canvas
+
+protected
+
+ +

Holds the canvas to be used for rendering the graph.

+ +
+
+ +
+
+ + + + + +
+ + + + +
double com.mxgraph.mxGraphViewReader.scale = 1
+
+protected
+
+ +

Holds the global scale of the graph. This is set just before createCanvas is called.

+ +
+
+

Property Documentation

+ +
+
+ + + + + +
+ + + + +
mxICanvas com.mxgraph.mxGraphViewReader.Canvas
+
+get
+
+ +

Returns the canvas that is used for rendering the graph.

+ +

Referenced by com.mxgraph.mxGraphViewImageReader.Convert().

+ +
+
+
The documentation for this class was generated from the following file:
    +
  • src/reader/mxGraphViewReader.cs
  • +
+
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphViewReader.png b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphViewReader.png new file mode 100644 index 0000000000000000000000000000000000000000..25482624e5fd312b289bc5ab4610ca2b962686b3 GIT binary patch literal 884 zcmeAS@N?(olHy`uVBq!ia0vp^pMf}lgBeKvUa;90NJ#|vgt-3y{~ySF@#br3|Dg#$ z78oBmaDcV*jy#adQ4-`A%m7pb0#{Fk7%?y~Gkdx?hEy=VoqM}zv4Ma~|EyJi{;RKN zb~4^It8`D{+5o3$Hh=Hp63IAD#g^Hf3@ZOcJY%Rhpgr1KU|ktk#k|+>mPDo z|DKS$@!sy_loK!C=PfzNx4Cd%wfDl8$JQll$iJJlP2D&5{L_>rmcZEVQInQz$F7XGvynDvoX!?x#yY5siW4PYGI(6rLUk-<* z@`mD^Tdt)(XmnV{xLGxOs;c*j5B#TZUj2M0Y1@%gU$?owteCZXNm1(h)m7fM*5?^? zW7pm8|?GiOU@PEls9)ta2#s~gX8MF%=+RO4mvX=3Vk9o?!U%TYL@XnM!vAubp^5<2z z8OkptvCW9@mQ1LFha(|@I^Wyda^){x-AK7#4&9S#@PajZbO_egZeN&$=^z@r^#jX>tFJ&uE4*&T_cVp4s z+(4^&&-7Nt+ + + + + + +mxGraph: Member List + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+
+
com.mxgraph.mxImageBundle Member List
+
+
+ +

This is the complete list of members for com.mxgraph.mxImageBundle, including all inherited members.

+ + + + + +
GetImage(String key)com.mxgraph.mxImageBundleinline
Imagescom.mxgraph.mxImageBundle
imagescom.mxgraph.mxImageBundleprotected
PutImage(String key, String value)com.mxgraph.mxImageBundleinline
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxImageBundle.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxImageBundle.html new file mode 100644 index 000000000..f1dcb91a1 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxImageBundle.html @@ -0,0 +1,213 @@ + + + + + + +mxGraph: com.mxgraph.mxImageBundle Class Reference + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+ +
+
com.mxgraph.mxImageBundle Class Reference
+
+
+ +

Maps from keys to base64 encoded images or file locations. All values must be URLs or use the format data:image/format followed by a comma and the base64 encoded image data, eg. "data:image/gif,XYZ", where XYZ is the base64 encoded image data. + More...

+ + + + + + + + +

+Public Member Functions

void PutImage (String key, String value)
 Adds the specified entry to the map. More...
 
String GetImage (String key)
 Returns the value for the given key. More...
 
+ + + + +

+Protected Attributes

Dictionary< String, String > images = new Dictionary<String, String>()
 Maps from keys to images. More...
 
+ + + + +

+Properties

Dictionary< String, String > Images [get]
 Returns the images. More...
 
+

Detailed Description

+

Maps from keys to base64 encoded images or file locations. All values must be URLs or use the format data:image/format followed by a comma and the base64 encoded image data, eg. "data:image/gif,XYZ", where XYZ is the base64 encoded image data.

+

To add a new image bundle to an existing graph, the following code is used:

+

mxImageBundle bundle = new mxImageBundle(); bundle.PutImage("myImage", "data:image/gif,R0lGODlhEAAQAMIGAAAAAICAAICAgP" + "//AOzp2O3r2////////yH+FUNyZWF0ZWQgd2l0aCBUaGUgR0lNUAAh+QQBCgAHACwAAAAA" + "EAAQAAADTXi63AowynnAMDfjPUDlnAAJhmeBFxAEloliKltWmiYCQvfVr6lBPB1ggxN1hi" + "laSSASFQpIV5HJBDyHpqK2ejVRm2AAgZCdmCGO9CIBADs="); graph.AddImageBundle(bundle);

+

The image can then be referenced in any cell style using image=myImage.

+

To convert a given Image to a base64 encoded String, the following code can be used:

+

MemoryStream ms = new System.IO.MemoryStream(); image.Save(ms, System.Drawing.Imaging.ImageFormat.Gif); byte[] data = ms.ToArray(); Console.WriteLine("base64="+Convert.ToBase64String(data));

+

The value is decoded in mxUtils.LoadImage. The keys for images are resolved and the short format above is converted to a data URI in mxGraph.postProcessCellStyle.

+

Member Function Documentation

+ +
+
+ + + + + +
+ + + + + + + + +
String com.mxgraph.mxImageBundle.GetImage (String key)
+
+inline
+
+ +

Returns the value for the given key.

+ +

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

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxImageBundle.PutImage (String key,
String value 
)
+
+inline
+
+ +

Adds the specified entry to the map.

+ +
+
+

Member Data Documentation

+ +
+
+ + + + + +
+ + + + +
Dictionary<String, String> com.mxgraph.mxImageBundle.images = new Dictionary<String, String>()
+
+protected
+
+ +

Maps from keys to images.

+ +
+
+

Property Documentation

+ +
+
+ + + + + +
+ + + + +
Dictionary<String, String> com.mxgraph.mxImageBundle.Images
+
+get
+
+ +

Returns the images.

+ +
+
+
The documentation for this class was generated from the following file:
    +
  • src/utils/mxImageBundle.cs
  • +
+
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxImageCanvas-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxImageCanvas-members.html new file mode 100644 index 000000000..da7febcca --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxImageCanvas-members.html @@ -0,0 +1,75 @@ + + + + + + +mxGraph: Member List + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+
+
com.mxgraph.mxImageCanvas Member List
+
+
+ +

This is the complete list of members for com.mxgraph.mxImageCanvas, including all inherited members.

+ + + + + + + + + + + + +
canvascom.mxgraph.mxImageCanvasprotected
Destroy()com.mxgraph.mxImageCanvasinline
DrawCell(mxCellState state)com.mxgraph.mxImageCanvasinline
DrawLabel(string text, mxCellState state, bool html)com.mxgraph.mxImageCanvasinline
GdiCanvascom.mxgraph.mxImageCanvas
Imagecom.mxgraph.mxImageCanvas
imagecom.mxgraph.mxImageCanvasprotected
mxImageCanvas(mxGdiCanvas canvas, int width, int height, Color?background, bool antiAlias)com.mxgraph.mxImageCanvasinline
previousGraphicscom.mxgraph.mxImageCanvasprotected
Scalecom.mxgraph.mxImageCanvas
Translatecom.mxgraph.mxImageCanvas
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxImageCanvas.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxImageCanvas.html new file mode 100644 index 000000000..0a9f9b092 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxImageCanvas.html @@ -0,0 +1,457 @@ + + + + + + +mxGraph: com.mxgraph.mxImageCanvas Class Reference + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+ +
+
com.mxgraph.mxImageCanvas Class Reference
+
+
+ +

Implements a canvas that draws onto an image. + More...

+
+Inheritance diagram for com.mxgraph.mxImageCanvas:
+
+
+ + +com.mxgraph.mxICanvas + +
+ + + + + + + + + + + + + +

+Public Member Functions

 mxImageCanvas (mxGdiCanvas canvas, int width, int height, Color?background, bool antiAlias)
 
Object DrawCell (mxCellState state)
 see com.mxgraph.mxICanvas.DrawCell() More...
 
Object DrawLabel (string text, mxCellState state, bool html)
 see com.mxgraph.mxICanvas.DrawLabel() More...
 
Image Destroy ()
 Destroys this canvas and all allocated resources. More...
 
+ + + + + + + + + + +

+Protected Attributes

mxGdiCanvas canvas
 Inner canvas used for the actual rendering. More...
 
Graphics previousGraphics
 Stores the previous graphics reference of the inner canvas. More...
 
Image image
 Stores the image that holds the graphics. More...
 
+ + + + + + + + + + + + + + + + + + + + +

+Properties

mxGdiCanvas GdiCanvas [get]
 Returns the inner canvas. More...
 
Image Image [get]
 Returns the image that hold the graphics. More...
 
Point Translate [get, set]
 see com.mxgraph.mxICanvas.Translate More...
 
double Scale [get, set]
 see com.mxgraph.mxICanvas.Translate More...
 
- Properties inherited from com.mxgraph.mxICanvas
Point Translate [get, set]
 Sets or returns the user object of the cell. More...
 
double Scale [get, set]
 Sets or returns the user object of the cell. More...
 
+

Detailed Description

+

Implements a canvas that draws onto an image.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
com.mxgraph.mxImageCanvas.mxImageCanvas (mxGdiCanvas canvas,
int width,
int height,
Color? background,
bool antiAlias 
)
+
+inline
+
+ +

+
Parameters
+ + + + + + +
canvas
width
height
background
antiAlias
+
+
+ +

References com.mxgraph.mxUtils.CreateImage(), and com.mxgraph.mxGdiCanvas.Graphics.

+ +
+
+

Member Function Documentation

+ +
+
+ + + + + +
+ + + + + + + +
Image com.mxgraph.mxImageCanvas.Destroy ()
+
+inline
+
+ +

Destroys this canvas and all allocated resources.

+ +

Referenced by com.mxgraph.mxCellRenderer.CreateImage().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
Object com.mxgraph.mxImageCanvas.DrawCell (mxCellState state)
+
+inline
+
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
Object com.mxgraph.mxImageCanvas.DrawLabel (string text,
mxCellState state,
bool html 
)
+
+inline
+
+
+

Member Data Documentation

+ +
+
+ + + + + +
+ + + + +
mxGdiCanvas com.mxgraph.mxImageCanvas.canvas
+
+protected
+
+ +

Inner canvas used for the actual rendering.

+ +
+
+ +
+
+ + + + + +
+ + + + +
Image com.mxgraph.mxImageCanvas.image
+
+protected
+
+ +

Stores the image that holds the graphics.

+ +
+
+ +
+
+ + + + + +
+ + + + +
Graphics com.mxgraph.mxImageCanvas.previousGraphics
+
+protected
+
+ +

Stores the previous graphics reference of the inner canvas.

+ +
+
+

Property Documentation

+ +
+
+ + + + + +
+ + + + +
mxGdiCanvas com.mxgraph.mxImageCanvas.GdiCanvas
+
+get
+
+ +

Returns the inner canvas.

+ +
+
+ +
+
+ + + + + +
+ + + + +
Image com.mxgraph.mxImageCanvas.Image
+
+get
+
+ +

Returns the image that hold the graphics.

+ +
+
+ +
+
+ + + + + +
+ + + + +
double com.mxgraph.mxImageCanvas.Scale
+
+getset
+
+
+ +
+
+ + + + + +
+ + + + +
Point com.mxgraph.mxImageCanvas.Translate
+
+getset
+
+
+
The documentation for this class was generated from the following file:
    +
  • src/canvas/mxImageCanvas.cs
  • +
+
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxImageCanvas.png b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxImageCanvas.png new file mode 100644 index 0000000000000000000000000000000000000000..93dca2302af87c4d9258aff6d8f99e613245f33e GIT binary patch literal 729 zcmeAS@N?(olHy`uVBq!ia0vp^+kiNLgBeIR8`rM{QW60^A+G=b{|7Q(y!l$%e`o@b z1;z&s9ANFdBM;<}x8;8B^qrJ;`Oq{Kecc?-PnY78*gaom)eFz7pJcMA zzP)yV_oW8CjgNz5e1CkK@3h3P>$l9r<4Yd8Uf!s=$J8uPbC1f_U5EOft-LwcO*~ya z-hDw)#l@H#S0;W+zWilpe4_L(CPizr*OPT~-|Xu>SedBoxz?_yHfQtq4ZUY4IzF$H z^_(<+!`XD*uS~zKJbB8@YVAE=$*dOWdK;R2o3k|cQ{TF075ChVcCS;JYiTl7h3|g- z+h5mjq~G;3Tc#$*f8S5YbJzM)KR;+Hd2atw{bo~_Ps`j(nPxzbT!Z^axEkn7E5<)l z>inUAM2ZJJL~VqpK4{3o=2GWAJ43~Sd#PY|GB)bk{zAPj;@+6x7cqo zmo=Zq*}Q3SOa1oog+KkUXy+Eo`678;JKB`b-JP>bw;oGI zwrbbP0l+XkK;V@dh literal 0 HcmV?d00001 diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxModelCodec-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxModelCodec-members.html new file mode 100644 index 000000000..64371d906 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxModelCodec-members.html @@ -0,0 +1,108 @@ + + + + + + +mxGraph: Member List + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+
+
com.mxgraph.mxModelCodec Member List
+
+
+ +

This is the complete list of members for com.mxgraph.mxModelCodec, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AddObjectValue(Object obj, String fieldname, Object value, Object template)com.mxgraph.mxObjectCodecinlineprotected
AfterDecode(mxCodec dec, XmlNode node, Object obj)com.mxgraph.mxObjectCodecinlinevirtual
AfterEncode(mxCodec enc, Object obj, XmlNode node)com.mxgraph.mxObjectCodecinlinevirtual
BeforeDecode(mxCodec dec, XmlNode node, Object into)com.mxgraph.mxModelCodecinlinevirtual
BeforeEncode(mxCodec enc, Object obj, XmlNode node)com.mxgraph.mxObjectCodecinlinevirtual
CloneTemplate(XmlNode node)com.mxgraph.mxObjectCodecinlineprotectedvirtual
ConvertValueFromXml(Type type, Object value)com.mxgraph.mxObjectCodecinlineprotectedvirtual
ConvertValueToXml(Object value)com.mxgraph.mxObjectCodecinlineprotectedvirtual
Decode(mxCodec dec, XmlNode node)com.mxgraph.mxObjectCodecinlinevirtual
Decode(mxCodec dec, XmlNode node, Object into)com.mxgraph.mxObjectCodecinlinevirtual
DecodeAttribute(mxCodec dec, XmlNode attr, Object obj)com.mxgraph.mxObjectCodecinlineprotected
DecodeAttributes(mxCodec dec, XmlNode node, Object obj)com.mxgraph.mxObjectCodecinlineprotected
DecodeChild(mxCodec dec, XmlNode child, Object obj)com.mxgraph.mxObjectCodecinlineprotected
DecodeChildren(mxCodec dec, XmlNode node, Object obj)com.mxgraph.mxObjectCodecinlineprotected
DecodeNode(mxCodec dec, XmlNode node, Object obj)com.mxgraph.mxObjectCodecinlineprotected
Encode(mxCodec enc, Object obj)com.mxgraph.mxObjectCodecinlinevirtual
EncodeElements(mxCodec enc, Object obj, XmlNode node)com.mxgraph.mxObjectCodecinlineprotected
EncodeFields(mxCodec enc, Object obj, XmlNode node)com.mxgraph.mxObjectCodecinlineprotected
EncodeObject(mxCodec enc, Object obj, XmlNode node)com.mxgraph.mxModelCodecinlineprotectedvirtual
EncodeValue(mxCodec enc, Object obj, string fieldname, Object value, XmlNode node)com.mxgraph.mxObjectCodecinlineprotected
excludecom.mxgraph.mxObjectCodecprotected
GetAttributeName(string fieldname)com.mxgraph.mxObjectCodecinlineprotected
GetFieldName(string attributename)com.mxgraph.mxObjectCodecinlineprotected
GetFieldTemplate(Object obj, String fieldname, XmlNode child)com.mxgraph.mxObjectCodecinlineprotected
GetFieldValue(Object obj, string name)com.mxgraph.mxObjectCodecinlineprotected
GetName()com.mxgraph.mxObjectCodecinline
idrefscom.mxgraph.mxObjectCodecprotected
IsExcluded(Object obj, string attr, Object value, bool write)com.mxgraph.mxObjectCodecinlinevirtual
IsPrimitiveValue(Object value)com.mxgraph.mxObjectCodecinlineprotected
IsReference(Object obj, string attr, Object value, bool write)com.mxgraph.mxObjectCodecinlinevirtual
mappingcom.mxgraph.mxObjectCodecprotected
mxModelCodec()com.mxgraph.mxModelCodecinline
mxModelCodec(Object template)com.mxgraph.mxModelCodecinline
mxModelCodec(Object template, String[] exclude, String[] idrefs, Dictionary< string, string > mapping)com.mxgraph.mxModelCodecinline
mxObjectCodec(Object template)com.mxgraph.mxObjectCodecinline
mxObjectCodec(Object template, string[] exclude, string[] idrefs, Dictionary< string, string > mapping)com.mxgraph.mxObjectCodecinline
ProcessInclude(mxCodec dec, XmlNode node, Object into)com.mxgraph.mxObjectCodecinline
reversecom.mxgraph.mxObjectCodecprotected
SetFieldValue(Object obj, string name, Object value)com.mxgraph.mxObjectCodecinlineprotected
templatecom.mxgraph.mxObjectCodecprotected
Templatecom.mxgraph.mxObjectCodec
WriteAttribute(mxCodec enc, Object obj, string attr, Object value, XmlNode node)com.mxgraph.mxObjectCodecinlineprotected
WriteComplexAttribute(mxCodec enc, Object obj, string attr, Object value, XmlNode node)com.mxgraph.mxObjectCodecinlineprotected
WritePrimitiveAttribute(mxCodec enc, Object obj, string attr, Object value, XmlNode node)com.mxgraph.mxObjectCodecinlineprotected
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxModelCodec.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxModelCodec.html new file mode 100644 index 000000000..0463f7440 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxModelCodec.html @@ -0,0 +1,421 @@ + + + + + + +mxGraph: com.mxgraph.mxModelCodec Class Reference + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+ +
+
com.mxgraph.mxModelCodec Class Reference
+
+
+ +

Codec for mxGraphModels. This class is created and registered dynamically at load time and used implicitely via mxCodec and the mxCodecRegistry. + More...

+
+Inheritance diagram for com.mxgraph.mxModelCodec:
+
+
+ + +com.mxgraph.mxObjectCodec + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 mxModelCodec ()
 Constructs a new model codec. More...
 
 mxModelCodec (Object template)
 Constructs a new model codec for the given template. More...
 
 mxModelCodec (Object template, String[] exclude, String[] idrefs, Dictionary< string, string > mapping)
 Constructs a new model codec for the given arguments. More...
 
override XmlNode BeforeDecode (mxCodec dec, XmlNode node, Object into)
 Reads the cells into the graph model. All cells are children of the root element in the node. More...
 
- Public Member Functions inherited from com.mxgraph.mxObjectCodec
 mxObjectCodec (Object template)
 Constructs a new codec for the specified template object. More...
 
 mxObjectCodec (Object template, string[] exclude, string[] idrefs, Dictionary< string, string > mapping)
 Constructs a new codec for the specified template object. The variables in the optional exclude array are ignored by the codec. Variables in the optional idrefs array are turned into references in the XML. The optional mapping may be used to map from variable names to XML attributes. More...
 
string GetName ()
 Returns the name used for the nodenames and lookup of the codec when classes are encoded and nodes are decoded. For classes to work with this the codec registry automatically adds an alias for the classname if that is different than what this returns. The default implementation returns the classname of the template class. More...
 
virtual bool IsExcluded (Object obj, string attr, Object value, bool write)
 Returns true if the given attribute is to be ignored by the codec. This implementation returns true if the given fieldname is in exclude. More...
 
virtual bool IsReference (Object obj, string attr, Object value, bool write)
 Returns true if the given fieldname is to be treated as a textual reference (ID). This implementation returns true if the given fieldname is in idrefs. More...
 
virtual XmlNode Encode (mxCodec enc, Object obj)
 Encodes the specified object and returns a node representing then given object. Calls beforeEncode after creating the node and afterEncode with the resulting node after processing. Enc is a reference to the calling encoder. It is used to encode complex objects and create references. More...
 
virtual Object BeforeEncode (mxCodec enc, Object obj, XmlNode node)
 Hook for subclassers to pre-process the object before encoding. This returns the input object. The return value of this function is used in encode to perform the default encoding into the given node. More...
 
virtual XmlNode AfterEncode (mxCodec enc, Object obj, XmlNode node)
 Hook for subclassers to Receive-process the node for the given object after encoding and return the Receive-processed node. This implementation returns the input node. The return value of this method is returned to the encoder from encode. More...
 
virtual Object Decode (mxCodec dec, XmlNode node)
 Parses the given node into the object or returns a new object representing the given node. More...
 
virtual Object Decode (mxCodec dec, XmlNode node, Object into)
 Parses the given node into the object or returns a new object representing the given node. Dec is a reference to the calling decoder. It is used to decode complex objects and resolve references. If a node has an id attribute then the object cache is checked for the object. If the object is not yet in the cache then it is constructed using the constructor of template and cached in mxCodec.objects. This implementation decodes all attributes and childs of a node according to the following rules: More...
 
bool ProcessInclude (mxCodec dec, XmlNode node, Object into)
 
virtual Object AfterDecode (mxCodec dec, XmlNode node, Object obj)
 Hook for subclassers to Receive-process the object after decoding. This implementation returns the given object without any changes. The return value of this method is returned to the decoder from decode. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Member Functions

override void EncodeObject (mxCodec enc, Object obj, XmlNode node)
 Encodes the given mxGraphModel by writing a (flat) XML sequence of cell nodes as produced by the mxCellCodec. The sequence is wrapped-up in a node with the name root. More...
 
- Protected Member Functions inherited from com.mxgraph.mxObjectCodec
virtual Object CloneTemplate (XmlNode node)
 Returns a new instance of the template object for representing the given node. More...
 
void EncodeFields (mxCodec enc, Object obj, XmlNode node)
 Encodes the members of the given object into the given node. More...
 
void EncodeElements (mxCodec enc, Object obj, XmlNode node)
 Encodes the child objects of arrays, dictionaries and enumerables. More...
 
void EncodeValue (mxCodec enc, Object obj, string fieldname, Object value, XmlNode 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. More...
 
bool IsPrimitiveValue (Object value)
 Returns true if the given object is a primitive value. More...
 
+void WriteAttribute (mxCodec enc, Object obj, string attr, Object value, XmlNode node)
 Writes the given value into node using writePrimitiveAttribute or writeComplexAttribute depending on the type of the value.
 
void WritePrimitiveAttribute (mxCodec enc, Object obj, string attr, Object value, XmlNode node)
 Writes the given value as an attribute of the given node. More...
 
void WriteComplexAttribute (mxCodec enc, Object obj, string attr, Object value, XmlNode node)
 Writes the given value as a child node of the given node. More...
 
virtual Object ConvertValueToXml (Object value)
 Converts true to "1" and false to "0". All other values are ignored. More...
 
virtual Object ConvertValueFromXml (Type type, Object value)
 Converts XML attribute values to object of the given type. More...
 
string GetAttributeName (string fieldname)
 Returns the XML node attribute name for the given C# field name. That is, it returns the mapping of the field name. More...
 
string GetFieldName (string attributename)
 Returns the C# field name for the given XML attribute name. That is, it returns the reverse mapping of the attribute name. More...
 
Object GetFieldValue (Object obj, string name)
 Returns the value of the field with the specified name in the specified object instance. More...
 
void SetFieldValue (Object obj, string name, Object value)
 Sets the value of the field with the specified name in the specified object instance. More...
 
void DecodeNode (mxCodec dec, XmlNode node, Object obj)
 Calls decodeAttributes and decodeChildren for the given node. More...
 
void DecodeAttributes (mxCodec dec, XmlNode node, Object obj)
 Decodes all attributes of the given node using decodeAttribute. More...
 
void DecodeAttribute (mxCodec dec, XmlNode attr, Object obj)
 Reads the given attribute into the specified object. More...
 
void DecodeChildren (mxCodec dec, XmlNode node, Object obj)
 Reads the given attribute into the specified object. More...
 
void DecodeChild (mxCodec dec, XmlNode child, Object obj)
 Reads the specified child into the given object. More...
 
Object GetFieldTemplate (Object obj, String fieldname, XmlNode child)
 Returns the template instance for the given field. This returns the value of the field, null if the value is an array or an empty collection if the value is a collection. The value is then used to populate the field for a new instance. For strongly typed languages it may be required to override this to return the correct collection instance based on the encoded child. More...
 
void AddObjectValue (Object obj, String fieldname, Object value, Object template)
 Sets the decoded child node as a value of the given object. If the object is a map, then the value is added with the given fieldname as a key. If the fieldname is not empty, then setFieldValue is called or else, if the object is a collection, the value is added to the collection. For strongly typed languages it may be required to override this with the correct code to add an entry to an object. More...
 
+ + + + + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Protected Attributes inherited from com.mxgraph.mxObjectCodec
Object template
 Holds the template object associated with this codec. More...
 
List< string > exclude
 Array containing the variable names that should be ignored by the codec. More...
 
List< string > idrefs
 Array containing the variable names that should be turned into or converted from references. See mxCodec.getId and mxCodec.getObject. More...
 
Dictionary< string, string > mapping
 Maps from from fieldnames to XML attribute names. More...
 
Dictionary< string, string > reverse
 Maps from from XML attribute names to fieldnames. More...
 
- Properties inherited from com.mxgraph.mxObjectCodec
Object Template [get]
 Returns the template object associated with this codec. More...
 
+

Detailed Description

+

Codec for mxGraphModels. This class is created and registered dynamically at load time and used implicitely via mxCodec and the mxCodecRegistry.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + +
+ + + + + + + +
com.mxgraph.mxModelCodec.mxModelCodec ()
+
+inline
+
+ +

Constructs a new model codec.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
com.mxgraph.mxModelCodec.mxModelCodec (Object template)
+
+inline
+
+ +

Constructs a new model codec for the given template.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
com.mxgraph.mxModelCodec.mxModelCodec (Object template,
String[] exclude,
String[] idrefs,
Dictionary< string, string > mapping 
)
+
+inline
+
+ +

Constructs a new model codec for the given arguments.

+ +
+
+

Member Function Documentation

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
override XmlNode com.mxgraph.mxModelCodec.BeforeDecode (mxCodec dec,
XmlNode node,
Object into 
)
+
+inlinevirtual
+
+ +

Reads the cells into the graph model. All cells are children of the root element in the node.

+ +

Reimplemented from com.mxgraph.mxObjectCodec.

+ +

References com.mxgraph.mxCodec.DecodeCell(), and com.mxgraph.mxICell.Parent.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
override void com.mxgraph.mxModelCodec.EncodeObject (mxCodec enc,
Object obj,
XmlNode node 
)
+
+inlineprotectedvirtual
+
+ +

Encodes the given mxGraphModel by writing a (flat) XML sequence of cell nodes as produced by the mxCellCodec. The sequence is wrapped-up in a node with the name root.

+ +

Reimplemented from com.mxgraph.mxObjectCodec.

+ +

References com.mxgraph.mxCodec.Document, and com.mxgraph.mxCodec.EncodeCell().

+ +
+
+
The documentation for this class was generated from the following file:
    +
  • src/io/mxModelCodec.cs
  • +
+
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxModelCodec.png b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxModelCodec.png new file mode 100644 index 0000000000000000000000000000000000000000..d6bc4c4172680eb1749e6f69baa0d1016f0d72ca GIT binary patch literal 725 zcmeAS@N?(olHy`uVBq!ia0vp^TYxx#gBeJ+A6q{KNJ#|vgt-3y{~ySF@#br3|Dg#$ z78oBmaDcV*jy#adQ4-`A%m7pb0#{Fk7%?y~rFgnHhEy=Vo%^t8jRKDwe_`7F{}Xp> zD|NP9-F5rUX`Z$5D<`x#H~g5M8aeIa5hW#~X=+>RWq`**LL`|;~?rgzG{b6f8z zO-<{KU8be~_2kAaJF{x$?@GFwK1(*L)U=Fu%U1K?sdrZNuJJ5=WMwD!xKPNvvHjxt zg`cnPWRI=A?<~DL-g!1p=HA9KCDYpHGq;6rDqm*%qH1NI(}1n>GI;wg+KmxUR}GZ z_k-Z)a{I?hN`kX4z=$d*{nMLx)EewBF(;Vxa{R5}@vv3;GP%;`mEywmuM8a*Ti7}- z5Rb1+4)R*u$zm`~&BUPvg!ggZ?GJTZ<60a2Kbo64K;Aw+KfdJ9tkq8= zg|ZVSuP8snva;-e{+@u+`3_Zdty=^V7wQw`3&tx~n?y?>bk&f9uSu zuWYyGO^9Q=pZ=>rb$9x$X1(dF&hGFEyMBD;!N_+j58i(DaLt01a + + + + + +mxGraph: Member List + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+
+
com.mxgraph.mxObjectCodec Member List
+
+
+ +

This is the complete list of members for com.mxgraph.mxObjectCodec, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AddObjectValue(Object obj, String fieldname, Object value, Object template)com.mxgraph.mxObjectCodecinlineprotected
AfterDecode(mxCodec dec, XmlNode node, Object obj)com.mxgraph.mxObjectCodecinlinevirtual
AfterEncode(mxCodec enc, Object obj, XmlNode node)com.mxgraph.mxObjectCodecinlinevirtual
BeforeDecode(mxCodec dec, XmlNode node, Object obj)com.mxgraph.mxObjectCodecinlinevirtual
BeforeEncode(mxCodec enc, Object obj, XmlNode node)com.mxgraph.mxObjectCodecinlinevirtual
CloneTemplate(XmlNode node)com.mxgraph.mxObjectCodecinlineprotectedvirtual
ConvertValueFromXml(Type type, Object value)com.mxgraph.mxObjectCodecinlineprotectedvirtual
ConvertValueToXml(Object value)com.mxgraph.mxObjectCodecinlineprotectedvirtual
Decode(mxCodec dec, XmlNode node)com.mxgraph.mxObjectCodecinlinevirtual
Decode(mxCodec dec, XmlNode node, Object into)com.mxgraph.mxObjectCodecinlinevirtual
DecodeAttribute(mxCodec dec, XmlNode attr, Object obj)com.mxgraph.mxObjectCodecinlineprotected
DecodeAttributes(mxCodec dec, XmlNode node, Object obj)com.mxgraph.mxObjectCodecinlineprotected
DecodeChild(mxCodec dec, XmlNode child, Object obj)com.mxgraph.mxObjectCodecinlineprotected
DecodeChildren(mxCodec dec, XmlNode node, Object obj)com.mxgraph.mxObjectCodecinlineprotected
DecodeNode(mxCodec dec, XmlNode node, Object obj)com.mxgraph.mxObjectCodecinlineprotected
Encode(mxCodec enc, Object obj)com.mxgraph.mxObjectCodecinlinevirtual
EncodeElements(mxCodec enc, Object obj, XmlNode node)com.mxgraph.mxObjectCodecinlineprotected
EncodeFields(mxCodec enc, Object obj, XmlNode node)com.mxgraph.mxObjectCodecinlineprotected
EncodeObject(mxCodec enc, Object obj, XmlNode node)com.mxgraph.mxObjectCodecinlineprotectedvirtual
EncodeValue(mxCodec enc, Object obj, string fieldname, Object value, XmlNode node)com.mxgraph.mxObjectCodecinlineprotected
excludecom.mxgraph.mxObjectCodecprotected
GetAttributeName(string fieldname)com.mxgraph.mxObjectCodecinlineprotected
GetFieldName(string attributename)com.mxgraph.mxObjectCodecinlineprotected
GetFieldTemplate(Object obj, String fieldname, XmlNode child)com.mxgraph.mxObjectCodecinlineprotected
GetFieldValue(Object obj, string name)com.mxgraph.mxObjectCodecinlineprotected
GetName()com.mxgraph.mxObjectCodecinline
idrefscom.mxgraph.mxObjectCodecprotected
IsExcluded(Object obj, string attr, Object value, bool write)com.mxgraph.mxObjectCodecinlinevirtual
IsPrimitiveValue(Object value)com.mxgraph.mxObjectCodecinlineprotected
IsReference(Object obj, string attr, Object value, bool write)com.mxgraph.mxObjectCodecinlinevirtual
mappingcom.mxgraph.mxObjectCodecprotected
mxObjectCodec(Object template)com.mxgraph.mxObjectCodecinline
mxObjectCodec(Object template, string[] exclude, string[] idrefs, Dictionary< string, string > mapping)com.mxgraph.mxObjectCodecinline
ProcessInclude(mxCodec dec, XmlNode node, Object into)com.mxgraph.mxObjectCodecinline
reversecom.mxgraph.mxObjectCodecprotected
SetFieldValue(Object obj, string name, Object value)com.mxgraph.mxObjectCodecinlineprotected
Templatecom.mxgraph.mxObjectCodec
templatecom.mxgraph.mxObjectCodecprotected
WriteAttribute(mxCodec enc, Object obj, string attr, Object value, XmlNode node)com.mxgraph.mxObjectCodecinlineprotected
WriteComplexAttribute(mxCodec enc, Object obj, string attr, Object value, XmlNode node)com.mxgraph.mxObjectCodecinlineprotected
WritePrimitiveAttribute(mxCodec enc, Object obj, string attr, Object value, XmlNode node)com.mxgraph.mxObjectCodecinlineprotected
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxObjectCodec.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxObjectCodec.html new file mode 100644 index 000000000..191bb01fd --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxObjectCodec.html @@ -0,0 +1,1914 @@ + + + + + + +mxGraph: com.mxgraph.mxObjectCodec Class Reference + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+ +
+
com.mxgraph.mxObjectCodec Class Reference
+
+
+ +

Generic codec for C# objects. See below for a detailed description of the encoding/decoding scheme. Note: Since booleans are numbers in JavaScript, all boolean values are encoded into 1 for true and 0 for false. + More...

+
+Inheritance diagram for com.mxgraph.mxObjectCodec:
+
+
+ + +com.mxgraph.mxCellCodec +com.mxgraph.mxModelCodec +com.mxgraph.mxStylesheetCodec + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 mxObjectCodec (Object template)
 Constructs a new codec for the specified template object. More...
 
 mxObjectCodec (Object template, string[] exclude, string[] idrefs, Dictionary< string, string > mapping)
 Constructs a new codec for the specified template object. The variables in the optional exclude array are ignored by the codec. Variables in the optional idrefs array are turned into references in the XML. The optional mapping may be used to map from variable names to XML attributes. More...
 
string GetName ()
 Returns the name used for the nodenames and lookup of the codec when classes are encoded and nodes are decoded. For classes to work with this the codec registry automatically adds an alias for the classname if that is different than what this returns. The default implementation returns the classname of the template class. More...
 
virtual bool IsExcluded (Object obj, string attr, Object value, bool write)
 Returns true if the given attribute is to be ignored by the codec. This implementation returns true if the given fieldname is in exclude. More...
 
virtual bool IsReference (Object obj, string attr, Object value, bool write)
 Returns true if the given fieldname is to be treated as a textual reference (ID). This implementation returns true if the given fieldname is in idrefs. More...
 
virtual XmlNode Encode (mxCodec enc, Object obj)
 Encodes the specified object and returns a node representing then given object. Calls beforeEncode after creating the node and afterEncode with the resulting node after processing. Enc is a reference to the calling encoder. It is used to encode complex objects and create references. More...
 
virtual Object BeforeEncode (mxCodec enc, Object obj, XmlNode node)
 Hook for subclassers to pre-process the object before encoding. This returns the input object. The return value of this function is used in encode to perform the default encoding into the given node. More...
 
virtual XmlNode AfterEncode (mxCodec enc, Object obj, XmlNode node)
 Hook for subclassers to Receive-process the node for the given object after encoding and return the Receive-processed node. This implementation returns the input node. The return value of this method is returned to the encoder from encode. More...
 
virtual Object Decode (mxCodec dec, XmlNode node)
 Parses the given node into the object or returns a new object representing the given node. More...
 
virtual Object Decode (mxCodec dec, XmlNode node, Object into)
 Parses the given node into the object or returns a new object representing the given node. Dec is a reference to the calling decoder. It is used to decode complex objects and resolve references. If a node has an id attribute then the object cache is checked for the object. If the object is not yet in the cache then it is constructed using the constructor of template and cached in mxCodec.objects. This implementation decodes all attributes and childs of a node according to the following rules: More...
 
bool ProcessInclude (mxCodec dec, XmlNode node, Object into)
 
virtual XmlNode BeforeDecode (mxCodec dec, XmlNode node, Object obj)
 Hook for subclassers to pre-process the node for the specified object and return the node to be used for further processing by decode. The object is created based on the template in the calling method and is never null. This implementation returns the input node. The return value of this function is used in decode to perform the default decoding into the given object. More...
 
virtual Object AfterDecode (mxCodec dec, XmlNode node, Object obj)
 Hook for subclassers to Receive-process the object after decoding. This implementation returns the given object without any changes. The return value of this method is returned to the decoder from decode. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Member Functions

virtual Object CloneTemplate (XmlNode node)
 Returns a new instance of the template object for representing the given node. More...
 
virtual void EncodeObject (mxCodec enc, Object obj, XmlNode node)
 Encodes the value of each member in then given obj into the given node using encodeFields and encodeElements. More...
 
void EncodeFields (mxCodec enc, Object obj, XmlNode node)
 Encodes the members of the given object into the given node. More...
 
void EncodeElements (mxCodec enc, Object obj, XmlNode node)
 Encodes the child objects of arrays, dictionaries and enumerables. More...
 
void EncodeValue (mxCodec enc, Object obj, string fieldname, Object value, XmlNode 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. More...
 
bool IsPrimitiveValue (Object value)
 Returns true if the given object is a primitive value. More...
 
+void WriteAttribute (mxCodec enc, Object obj, string attr, Object value, XmlNode node)
 Writes the given value into node using writePrimitiveAttribute or writeComplexAttribute depending on the type of the value.
 
void WritePrimitiveAttribute (mxCodec enc, Object obj, string attr, Object value, XmlNode node)
 Writes the given value as an attribute of the given node. More...
 
void WriteComplexAttribute (mxCodec enc, Object obj, string attr, Object value, XmlNode node)
 Writes the given value as a child node of the given node. More...
 
virtual Object ConvertValueToXml (Object value)
 Converts true to "1" and false to "0". All other values are ignored. More...
 
virtual Object ConvertValueFromXml (Type type, Object value)
 Converts XML attribute values to object of the given type. More...
 
string GetAttributeName (string fieldname)
 Returns the XML node attribute name for the given C# field name. That is, it returns the mapping of the field name. More...
 
string GetFieldName (string attributename)
 Returns the C# field name for the given XML attribute name. That is, it returns the reverse mapping of the attribute name. More...
 
Object GetFieldValue (Object obj, string name)
 Returns the value of the field with the specified name in the specified object instance. More...
 
void SetFieldValue (Object obj, string name, Object value)
 Sets the value of the field with the specified name in the specified object instance. More...
 
void DecodeNode (mxCodec dec, XmlNode node, Object obj)
 Calls decodeAttributes and decodeChildren for the given node. More...
 
void DecodeAttributes (mxCodec dec, XmlNode node, Object obj)
 Decodes all attributes of the given node using decodeAttribute. More...
 
void DecodeAttribute (mxCodec dec, XmlNode attr, Object obj)
 Reads the given attribute into the specified object. More...
 
void DecodeChildren (mxCodec dec, XmlNode node, Object obj)
 Reads the given attribute into the specified object. More...
 
void DecodeChild (mxCodec dec, XmlNode child, Object obj)
 Reads the specified child into the given object. More...
 
Object GetFieldTemplate (Object obj, String fieldname, XmlNode child)
 Returns the template instance for the given field. This returns the value of the field, null if the value is an array or an empty collection if the value is a collection. The value is then used to populate the field for a new instance. For strongly typed languages it may be required to override this to return the correct collection instance based on the encoded child. More...
 
void AddObjectValue (Object obj, String fieldname, Object value, Object template)
 Sets the decoded child node as a value of the given object. If the object is a map, then the value is added with the given fieldname as a key. If the fieldname is not empty, then setFieldValue is called or else, if the object is a collection, the value is added to the collection. For strongly typed languages it may be required to override this with the correct code to add an entry to an object. More...
 
+ + + + + + + + + + + + + + + + +

+Protected Attributes

Object template
 Holds the template object associated with this codec. More...
 
List< string > exclude
 Array containing the variable names that should be ignored by the codec. More...
 
List< string > idrefs
 Array containing the variable names that should be turned into or converted from references. See mxCodec.getId and mxCodec.getObject. More...
 
Dictionary< string, string > mapping
 Maps from from fieldnames to XML attribute names. More...
 
Dictionary< string, string > reverse
 Maps from from XML attribute names to fieldnames. More...
 
+ + + + +

+Properties

Object Template [get]
 Returns the template object associated with this codec. More...
 
+

Detailed Description

+

Generic codec for C# objects. See below for a detailed description of the encoding/decoding scheme. Note: Since booleans are numbers in JavaScript, all boolean values are encoded into 1 for true and 0 for false.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + +
+ + + + + + + + +
com.mxgraph.mxObjectCodec.mxObjectCodec (Object template)
+
+inline
+
+ +

Constructs a new codec for the specified template object.

+
Parameters
+ + +
templatePrototypical instance of the object to be encoded/decoded.
+
+
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
com.mxgraph.mxObjectCodec.mxObjectCodec (Object template,
string[] exclude,
string[] idrefs,
Dictionary< string, string > mapping 
)
+
+inline
+
+ +

Constructs a new codec for the specified template object. The variables in the optional exclude array are ignored by the codec. Variables in the optional idrefs array are turned into references in the XML. The optional mapping may be used to map from variable names to XML attributes.

+
Parameters
+ + + + + +
templatePrototypical instance of the object to be encoded/decoded.
excludeOptional array of fieldnames to be ignored.
idrefsOptional array of fieldnames to be converted to/from references.
mappingOptional mapping from field- to attributenames.
+
+
+ +
+
+

Member Function Documentation

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxObjectCodec.AddObjectValue (Object obj,
String fieldname,
Object value,
Object template 
)
+
+inlineprotected
+
+ +

Sets the decoded child node as a value of the given object. If the object is a map, then the value is added with the given fieldname as a key. If the fieldname is not empty, then setFieldValue is called or else, if the object is a collection, the value is added to the collection. For strongly typed languages it may be required to override this with the correct code to add an entry to an object.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
virtual Object com.mxgraph.mxObjectCodec.AfterDecode (mxCodec dec,
XmlNode node,
Object obj 
)
+
+inlinevirtual
+
+ +

Hook for subclassers to Receive-process the object after decoding. This implementation returns the given object without any changes. The return value of this method is returned to the decoder from decode.

+
Parameters
+ + + + +
decCodec that controls the decoding process.
nodeXML node to be decoded.
objObject that represents the default decoding.
+
+
+
Returns
Returns the result of the decoding process.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
virtual XmlNode com.mxgraph.mxObjectCodec.AfterEncode (mxCodec enc,
Object obj,
XmlNode node 
)
+
+inlinevirtual
+
+ +

Hook for subclassers to Receive-process the node for the given object after encoding and return the Receive-processed node. This implementation returns the input node. The return value of this method is returned to the encoder from encode.

+
Parameters
+ + + + +
encCodec that controls the encoding process.
objObject to be encoded.
nodeXML node that represents the default encoding.
+
+
+
Returns
Returns the resulting node of the encoding.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
virtual XmlNode com.mxgraph.mxObjectCodec.BeforeDecode (mxCodec dec,
XmlNode node,
Object obj 
)
+
+inlinevirtual
+
+ +

Hook for subclassers to pre-process the node for the specified object and return the node to be used for further processing by decode. The object is created based on the template in the calling method and is never null. This implementation returns the input node. The return value of this function is used in decode to perform the default decoding into the given object.

+
Parameters
+ + + + +
decCodec that controls the decoding process.
nodeXML node to be decoded.
objObject to encode the node into.
+
+
+
Returns
Returns the node used for the default decoding.
+ +

Reimplemented in com.mxgraph.mxModelCodec.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
virtual Object com.mxgraph.mxObjectCodec.BeforeEncode (mxCodec enc,
Object obj,
XmlNode node 
)
+
+inlinevirtual
+
+ +

Hook for subclassers to pre-process the object before encoding. This returns the input object. The return value of this function is used in encode to perform the default encoding into the given node.

+
Parameters
+ + + + +
encCodec that controls the encoding process.
objObject to be encoded.
nodeXML node to encode the object into.
+
+
+
Returns
Returns the object to be encoded by the default encoding.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
virtual Object com.mxgraph.mxObjectCodec.CloneTemplate (XmlNode node)
+
+inlineprotectedvirtual
+
+ +

Returns a new instance of the template object for representing the given node.

+
Parameters
+ + +
nodeXML node that the object is going to represent.
+
+
+
Returns
Returns a new template instance.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
virtual Object com.mxgraph.mxObjectCodec.ConvertValueFromXml (Type type,
Object value 
)
+
+inlineprotectedvirtual
+
+ +

Converts XML attribute values to object of the given type.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
virtual Object com.mxgraph.mxObjectCodec.ConvertValueToXml (Object value)
+
+inlineprotectedvirtual
+
+ +

Converts true to "1" and false to "0". All other values are ignored.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
virtual Object com.mxgraph.mxObjectCodec.Decode (mxCodec dec,
XmlNode node 
)
+
+inlinevirtual
+
+ +

Parses the given node into the object or returns a new object representing the given node.

+
Parameters
+ + + +
decCodec that controls the encoding process.
nodeXML node to be decoded.
+
+
+
Returns
Returns the resulting object that represents the given XML node.
+ +

Referenced by com.mxgraph.mxCodec.Decode(), and com.mxgraph.mxCodec.DecodeCell().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
virtual Object com.mxgraph.mxObjectCodec.Decode (mxCodec dec,
XmlNode node,
Object into 
)
+
+inlinevirtual
+
+ +

Parses the given node into the object or returns a new object representing the given node. Dec is a reference to the calling decoder. It is used to decode complex objects and resolve references. If a node has an id attribute then the object cache is checked for the object. If the object is not yet in the cache then it is constructed using the constructor of template and cached in mxCodec.objects. This implementation decodes all attributes and childs of a node according to the following rules:

+
    +
  • If the variable name is in exclude or if the attribute name is "id" or "as" then it is ignored.
  • +
  • If the variable name is in idrefs then mxCodec.getObject is used to replace the reference with an object.
  • +
  • The variable name is mapped using a reverse mapping.
  • +
  • If the value has a child node, then the codec is used to create a child object with the variable name taken from the "as" attribute.
  • +
  • If the object is an array and the variable name is empty then the value or child object is appended to the array.
  • +
  • If an add child has no value or the object is not an array then the child text content is evaluated using mxUtils.eval. If no object exists for an ID in idrefs a warning is issued using mxLog.warn. Returns the resulting object that represents the given XML node or the configured given object.
  • +
+
Parameters
+ + + + +
decCodec that controls the encoding process.
nodeXML node to be decoded.
intoOptional objec to encode the node into.
+
+
+
Returns
Returns the resulting object that represents the given XML node or the object given to the method as the into parameter.
+ +

Reimplemented in com.mxgraph.mxStylesheetCodec.

+ +

References com.mxgraph.mxCodec.Objects, and com.mxgraph.mxCodec.PutObject().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxObjectCodec.DecodeAttribute (mxCodec dec,
XmlNode attr,
Object obj 
)
+
+inlineprotected
+
+ +

Reads the given attribute into the specified object.

+ +

References com.mxgraph.mxCodec.GetObject().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxObjectCodec.DecodeAttributes (mxCodec dec,
XmlNode node,
Object obj 
)
+
+inlineprotected
+
+ +

Decodes all attributes of the given node using decodeAttribute.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxObjectCodec.DecodeChild (mxCodec dec,
XmlNode child,
Object obj 
)
+
+inlineprotected
+
+ +

Reads the specified child into the given object.

+ +

References com.mxgraph.mxCodec.Decode().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxObjectCodec.DecodeChildren (mxCodec dec,
XmlNode node,
Object obj 
)
+
+inlineprotected
+
+ +

Reads the given attribute into the specified object.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxObjectCodec.DecodeNode (mxCodec dec,
XmlNode node,
Object obj 
)
+
+inlineprotected
+
+ +

Calls decodeAttributes and decodeChildren for the given node.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
virtual XmlNode com.mxgraph.mxObjectCodec.Encode (mxCodec enc,
Object obj 
)
+
+inlinevirtual
+
+ +

Encodes the specified object and returns a node representing then given object. Calls beforeEncode after creating the node and afterEncode with the resulting node after processing. Enc is a reference to the calling encoder. It is used to encode complex objects and create references.

+
Parameters
+ + + +
encCodec that controls the encoding process.
objObject to be encoded.
+
+
+
Returns
Returns the resulting XML node that represents the given object.
+ +

Reimplemented in com.mxgraph.mxStylesheetCodec.

+ +

References com.mxgraph.mxCodec.Document.

+ +

Referenced by com.mxgraph.mxCodec.Encode().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxObjectCodec.EncodeElements (mxCodec enc,
Object obj,
XmlNode node 
)
+
+inlineprotected
+
+ +

Encodes the child objects of arrays, dictionaries and enumerables.

+
Parameters
+ + + + +
encCodec that controls the encoding process.
objObject whose child objects should be encoded.
nodeXML node that contains the encoded object.
+
+
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxObjectCodec.EncodeFields (mxCodec enc,
Object obj,
XmlNode node 
)
+
+inlineprotected
+
+ +

Encodes the members of the given object into the given node.

+
Parameters
+ + + + +
encCodec that controls the encoding process.
objObject whose fields should be encoded.
nodeXML node that contains the encoded object.
+
+
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
virtual void com.mxgraph.mxObjectCodec.EncodeObject (mxCodec enc,
Object obj,
XmlNode node 
)
+
+inlineprotectedvirtual
+
+ +

Encodes the value of each member in then given obj into the given node using encodeFields and encodeElements.

+
Parameters
+ + + + +
encCodec that controls the encoding process.
objObject to be encoded.
nodeXML node that contains the encoded object.
+
+
+ +

Reimplemented in com.mxgraph.mxModelCodec.

+ +

References com.mxgraph.mxCodec.GetId(), and com.mxgraph.mxCodec.SetAttribute().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxObjectCodec.EncodeValue (mxCodec enc,
Object obj,
string fieldname,
Object value,
XmlNode node 
)
+
+inlineprotected
+
+ +

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.

+
Parameters
+ + + + + + +
encCodec that controls the encoding process.
objObject whose member is going to be encoded.
fieldname
valueValue of the property to be encoded.
nodeXML node that contains the encoded object.
+
+
+ +

References com.mxgraph.mxCodec.GetId(), and com.mxgraph.mxCodec.IsEncodeDefaults.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
string com.mxgraph.mxObjectCodec.GetAttributeName (string fieldname)
+
+inlineprotected
+
+ +

Returns the XML node attribute name for the given C# field name. That is, it returns the mapping of the field name.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
string com.mxgraph.mxObjectCodec.GetFieldName (string attributename)
+
+inlineprotected
+
+ +

Returns the C# field name for the given XML attribute name. That is, it returns the reverse mapping of the attribute name.

+
Parameters
+ + +
attributenameThe attribute name to be mapped.
+
+
+
Returns
String that represents the mapped field name.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
Object com.mxgraph.mxObjectCodec.GetFieldTemplate (Object obj,
String fieldname,
XmlNode child 
)
+
+inlineprotected
+
+ +

Returns the template instance for the given field. This returns the value of the field, null if the value is an array or an empty collection if the value is a collection. The value is then used to populate the field for a new instance. For strongly typed languages it may be required to override this to return the correct collection instance based on the encoded child.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Object com.mxgraph.mxObjectCodec.GetFieldValue (Object obj,
string name 
)
+
+inlineprotected
+
+ +

Returns the value of the field with the specified name in the specified object instance.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
string com.mxgraph.mxObjectCodec.GetName ()
+
+inline
+
+ +

Returns the name used for the nodenames and lookup of the codec when classes are encoded and nodes are decoded. For classes to work with this the codec registry automatically adds an alias for the classname if that is different than what this returns. The default implementation returns the classname of the template class.

+ +

References com.mxgraph.mxCodecRegistry.GetName().

+ +

Referenced by com.mxgraph.mxCodecRegistry.Register().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
virtual bool com.mxgraph.mxObjectCodec.IsExcluded (Object obj,
string attr,
Object value,
bool write 
)
+
+inlinevirtual
+
+ +

Returns true if the given attribute is to be ignored by the codec. This implementation returns true if the given fieldname is in exclude.

+
Parameters
+ + + + + +
objObject instance that contains the field.
attrFieldname of the field.
valueValue of the field.
writeBoolean indicating if the field is being encoded or decoded. write is true if the field is being encoded, else it is being decoded.
+
+
+
Returns
Returns true if the given attribute should be ignored.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
bool com.mxgraph.mxObjectCodec.IsPrimitiveValue (Object value)
+
+inlineprotected
+
+ +

Returns true if the given object is a primitive value.

+
Parameters
+ + +
valueObject that should be checked.
+
+
+
Returns
Returns true if the given object is a primitive value.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
virtual bool com.mxgraph.mxObjectCodec.IsReference (Object obj,
string attr,
Object value,
bool write 
)
+
+inlinevirtual
+
+ +

Returns true if the given fieldname is to be treated as a textual reference (ID). This implementation returns true if the given fieldname is in idrefs.

+
Parameters
+ + + + + +
objObject instance that contains the field.
attrFieldname of the field.
valueValue of the field.
writeBoolean indicating if the field is being encoded or decoded. write is true if the field is being encoded, else it is being decoded.
+
+
+
Returns
Returns true if the given attribute should be handled as a reference.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
bool com.mxgraph.mxObjectCodec.ProcessInclude (mxCodec dec,
XmlNode node,
Object into 
)
+
+inline
+
+ +

+
Parameters
+ + + + +
decCodec that controls the encoding/decoding process.
nodeXML node to be checked.
intoOptional object to pass-thru to the codec.
+
+
+
Returns
Returns true if the given node was processed as an include.
+ +

References com.mxgraph.mxCodec.Decode(), and com.mxgraph.mxUtils.LoadDocument().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxObjectCodec.SetFieldValue (Object obj,
string name,
Object value 
)
+
+inlineprotected
+
+ +

Sets the value of the field with the specified name in the specified object instance.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxObjectCodec.WriteComplexAttribute (mxCodec enc,
Object obj,
string attr,
Object value,
XmlNode node 
)
+
+inlineprotected
+
+ +

Writes the given value as a child node of the given node.

+ +

References com.mxgraph.mxCodec.Encode(), and com.mxgraph.mxCodec.SetAttribute().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxObjectCodec.WritePrimitiveAttribute (mxCodec enc,
Object obj,
string attr,
Object value,
XmlNode node 
)
+
+inlineprotected
+
+ +

Writes the given value as an attribute of the given node.

+ +

References com.mxgraph.mxCodec.Document, and com.mxgraph.mxCodec.SetAttribute().

+ +
+
+

Member Data Documentation

+ +
+
+ + + + + +
+ + + + +
List<string> com.mxgraph.mxObjectCodec.exclude
+
+protected
+
+ +

Array containing the variable names that should be ignored by the codec.

+ +
+
+ +
+
+ + + + + +
+ + + + +
List<string> com.mxgraph.mxObjectCodec.idrefs
+
+protected
+
+ +

Array containing the variable names that should be turned into or converted from references. See mxCodec.getId and mxCodec.getObject.

+ +
+
+ +
+
+ + + + + +
+ + + + +
Dictionary<string, string> com.mxgraph.mxObjectCodec.mapping
+
+protected
+
+ +

Maps from from fieldnames to XML attribute names.

+ +
+
+ +
+
+ + + + + +
+ + + + +
Dictionary<string, string> com.mxgraph.mxObjectCodec.reverse
+
+protected
+
+ +

Maps from from XML attribute names to fieldnames.

+ +
+
+ +
+
+ + + + + +
+ + + + +
Object com.mxgraph.mxObjectCodec.template
+
+protected
+
+ +

Holds the template object associated with this codec.

+ +
+
+

Property Documentation

+ +
+
+ + + + + +
+ + + + +
Object com.mxgraph.mxObjectCodec.Template
+
+get
+
+ +

Returns the template object associated with this codec.

+
Returns
Returns the template object.
+ +

Referenced by com.mxgraph.mxCodecRegistry.Register().

+ +
+
+
The documentation for this class was generated from the following file:
    +
  • src/io/mxObjectCodec.cs
  • +
+
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxObjectCodec.png b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxObjectCodec.png new file mode 100644 index 0000000000000000000000000000000000000000..6fdc1c36e392bb09cda2e185a87d26d9bca1156a GIT binary patch literal 1351 zcmb`HdrXs87{(74&~XvtWg{YE8>mB38Hj}lElwJ(m#T=kQXK`XfTAsTFCWlp0v0Ei zLS?p8KyKE`Pz&uG_*p@86e)<@YJsXy%EVeI(5^Hs`yku?TK3mYa^ClMPTrh6d7k7j z4ia|R+pM+$0NCSq2L%JLh>GyRB`BnxBSnrQ&GF#A5Zv6{9D-vXW|DK8@(^0sVzJnY zG2nt6mm~!f4g+Lpe)UK~ya2H5#Ru&OIcK5fs)e^amswsNT{AS7-^YjCzWi##h?H`% zFD$fJTz5G0F*sU2{_Dr(z>(g0j6%@ae}U22i$R?jws53>+K&dP&P7IRG6tHLJDD6=VIDVzJZiJ7W6vktt|gw>FQsHXtRCsU zvvha(yqF^j?V;%F`?d#bM@Yg4*~?izK93}vkijh&tLsH+s4E?Z;K9!mT#UlIgSt(8 zRM*1YE|_8rmSj>{8*8MGh7>p16a{#9c&4VijHbF@79cEc5)C|^VH*ocAzu;-f0xGaBm7){Fu>C{u>j-u~n*PUsy4jh0JoOV`C(h^qWTdq&7)_73M+4Sx zpbt)Tix}~KwC!RtAUvNBVq5>Ve}W(@fL);N!psk8C{M5nao)Pr>R(b@Rv6)E?QPe* zY&Cr^?Mb^hA6$C(76c(LTDJUuj49O^&2gEq#wdudK~vx$Sk`H6C=d(O%I- z!feh<+6oiD&*fJuTg%|8#`Xe1D^8To<-lC-T26Y6CihZ}E0+^xep|?mE;?3kA~b#m z2TYcYc~W{b&)CP|Rg3X=v|S=^K?rowFR$;(dzf3~N+eC4DK`#I=IGVJR9Gc%B$sQH zx0oSHJB2Q~HHEQ9;bOJ@g^25?O+0^9cBERU$kkU;iP7#(vJK834cxeZy$+LVzQ+Nm zO?O>%Ic-#42R{c_hAOEOitxvMIvDhf|p z*Q@8uE8&#Cm!In3+cvrmWm2&XZxg=O6g3DSm0oL9%+ziqd7sr9X4(W(EI|RYF7lNq zQE;Lpbk@A}yR}^pz1>~7xLbQ9l~8!&CWTupxMm=OS7ks&C!*7A^Of}7icw$p>2Hkk+4zZ6y=VzB=gRc)9D$dM&Yx8gt`w_yZn!theE&6g z8%A0|MQJ}8pPlm;*kmIxHUNzq;m3JLfw|q8J2-G9rEh|JdP0b^S9(n Fe*&)rvBLlW literal 0 HcmV?d00001 diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxPerimeter-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxPerimeter-members.html new file mode 100644 index 000000000..4801d2e9d --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxPerimeter-members.html @@ -0,0 +1,68 @@ + + + + + + +mxGraph: Member List + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+
+
com.mxgraph.mxPerimeter Member List
+
+ + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxPerimeter.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxPerimeter.html new file mode 100644 index 000000000..f1d6fb2f0 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxPerimeter.html @@ -0,0 +1,179 @@ + + + + + + +mxGraph: com.mxgraph.mxPerimeter Class Reference + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+ +
+
com.mxgraph.mxPerimeter Class Reference
+
+
+ +

Provides various perimeter functions to be used in a style as the value of mxConstants.STYLE_PERIMETER. + More...

+ + + + + + + + + + + + + + +

+Static Public Attributes

static mxPerimeterFunction RectanglePerimeter
 Describes a rectangular perimeter for the given bounds. More...
 
static mxPerimeterFunction EllipsePerimeter
 Describes an elliptic perimeter. More...
 
static mxPerimeterFunction RhombusPerimeter
 Describes a rhombus (aka diamond) perimeter. More...
 
static mxPerimeterFunction TrianglePerimeter
 Describes a triangle perimeter. More...
 
+

Detailed Description

+

Provides various perimeter functions to be used in a style as the value of mxConstants.STYLE_PERIMETER.

+

Member Data Documentation

+ +
+
+ + + + + +
+ + + + +
mxPerimeterFunction com.mxgraph.mxPerimeter.EllipsePerimeter
+
+static
+
+ +

Describes an elliptic perimeter.

+ +
+
+ +
+
+ + + + + +
+ + + + +
mxPerimeterFunction com.mxgraph.mxPerimeter.RectanglePerimeter
+
+static
+
+ +

Describes a rectangular perimeter for the given bounds.

+ +

Referenced by com.mxgraph.mxStylesheet.CreateDefaultVertexStyle().

+ +
+
+ +
+
+ + + + + +
+ + + + +
mxPerimeterFunction com.mxgraph.mxPerimeter.RhombusPerimeter
+
+static
+
+ +

Describes a rhombus (aka diamond) perimeter.

+ +
+
+ +
+
+ + + + + +
+ + + + +
mxPerimeterFunction com.mxgraph.mxPerimeter.TrianglePerimeter
+
+static
+
+ +

Describes a triangle perimeter.

+ +
+
+
The documentation for this class was generated from the following file:
    +
  • src/view/mxPerimeter.cs
  • +
+
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxPoint-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxPoint-members.html new file mode 100644 index 000000000..5a6ab4c60 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxPoint-members.html @@ -0,0 +1,75 @@ + + + + + + +mxGraph: Member List + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+
+
com.mxgraph.mxPoint Member List
+
+
+ +

This is the complete list of members for com.mxgraph.mxPoint, including all inherited members.

+ + + + + + + + + + + + +
Clone()com.mxgraph.mxPointinline
Equals(Object obj)com.mxgraph.mxPointinline
GetPoint()com.mxgraph.mxPointinline
mxPoint()com.mxgraph.mxPointinline
mxPoint(Point point)com.mxgraph.mxPointinline
mxPoint(mxPoint point)com.mxgraph.mxPointinline
mxPoint(double x, double y)com.mxgraph.mxPointinline
xcom.mxgraph.mxPointprotected
Xcom.mxgraph.mxPoint
Ycom.mxgraph.mxPoint
ycom.mxgraph.mxPointprotected
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxPoint.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxPoint.html new file mode 100644 index 000000000..6f9555482 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxPoint.html @@ -0,0 +1,443 @@ + + + + + + +mxGraph: com.mxgraph.mxPoint Class Reference + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+ +
+
com.mxgraph.mxPoint Class Reference
+
+
+ +

Implements a 2-dimensional point with double precision coordinates. + More...

+
+Inheritance diagram for com.mxgraph.mxPoint:
+
+
+ + +com.mxgraph.mxRectangle +com.mxgraph.mxCellState +com.mxgraph.mxGeometry + +
+ + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 mxPoint ()
 Constructs a new point at (0, 0). More...
 
 mxPoint (Point point)
 Constructs a new point at the location of the given point. More...
 
 mxPoint (mxPoint point)
 Constructs a new point at the location of the given point. More...
 
 mxPoint (double x, double y)
 Constructs a new point at (x, y). More...
 
Point GetPoint ()
 Returns the coordinates as a new point. More...
 
new Boolean Equals (Object obj)
 Returns true if the given object equals this point. More...
 
mxPoint Clone ()
 Returns a new instance of the same point. More...
 
+ + + + + + + +

+Protected Attributes

double x
 Holds the x-coordinate of the point. Default is 0. More...
 
double y
 Holds the y-coordinate of the point. Default is 0. More...
 
+ + + + + + + +

+Properties

double X [get, set]
 Sets or returns the x-coordinate of the point. More...
 
double Y [get, set]
 Sets or returns the y-coordinate of the point. More...
 
+

Detailed Description

+

Implements a 2-dimensional point with double precision coordinates.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + +
+ + + + + + + +
com.mxgraph.mxPoint.mxPoint ()
+
+inline
+
+ +

Constructs a new point at (0, 0).

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
com.mxgraph.mxPoint.mxPoint (Point point)
+
+inline
+
+ +

Constructs a new point at the location of the given point.

+
Parameters
+ + +
pointPoint that specifies the location.
+
+
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
com.mxgraph.mxPoint.mxPoint (mxPoint point)
+
+inline
+
+ +

Constructs a new point at the location of the given point.

+
Parameters
+ + +
pointPoint that specifies the location.
+
+
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
com.mxgraph.mxPoint.mxPoint (double x,
double y 
)
+
+inline
+
+ +

Constructs a new point at (x, y).

+
Parameters
+ + + +
xX-coordinate of the point to be created.
yY-coordinate of the point to be created.
+
+
+ +
+
+

Member Function Documentation

+ +
+
+ + + + + +
+ + + + + + + +
mxPoint com.mxgraph.mxPoint.Clone ()
+
+inline
+
+ +

Returns a new instance of the same point.

+
Returns
Returns a clone of the point.
+ +

Referenced by com.mxgraph.mxCellState.Clone(), com.mxgraph.mxGdiCanvas.DrawLine(), com.mxgraph.mxGdiCanvas.DrawMarker(), com.mxgraph.mxGeometry.mxGeometry(), and com.mxgraph.mxUtils.TranslatePoints().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
new Boolean com.mxgraph.mxPoint.Equals (Object obj)
+
+inline
+
+ +

Returns true if the given object equals this point.

+
Returns
Returns true if obj is equal.
+ +

References com.mxgraph.mxPoint.X, and com.mxgraph.mxPoint.Y.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
Point com.mxgraph.mxPoint.GetPoint ()
+
+inline
+
+ +

Returns the coordinates as a new point.

+
Returns
Returns a new point for the location.
+ +
+
+

Member Data Documentation

+ +
+
+ + + + + +
+ + + + +
double com.mxgraph.mxPoint.x
+
+protected
+
+ +

Holds the x-coordinate of the point. Default is 0.

+ +

Referenced by com.mxgraph.mxRectangle.Add(), and com.mxgraph.mxCellState.Clone().

+ +
+
+ +
+
+ + + + + +
+ + + + +
double com.mxgraph.mxPoint.y
+
+protected
+
+ +

Holds the y-coordinate of the point. Default is 0.

+ +

Referenced by com.mxgraph.mxRectangle.Add(), and com.mxgraph.mxCellState.Clone().

+ +
+
+

Property Documentation

+ + + + +
The documentation for this class was generated from the following file:
    +
  • src/utils/mxPoint.cs
  • +
+
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxPoint.png b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxPoint.png new file mode 100644 index 0000000000000000000000000000000000000000..afbc6ee505359977ce29a115de7e132b42900694 GIT binary patch literal 1334 zcmeAS@N?(olHy`uVBq!ia0y~yVDtmBJ2;qugu7vG3m8{Vt8p20ssqV3@ghCRIP>&>hfb6nILdS9??5S+_kw&?Tp zBeOqO{oQ_B)vEq-<=c~y|{5{#nmsrO}v9FEa&h`EE;?B!G8NXtm z=kdCvYcG1%cCO5~e(Jfh;@c}D`=`FuS!;G^b?rXy=igG^@3=enP4JJO<@WK_RxB;-oBdLzEz!b+;r?k30R|bM z*SZUP{27EVaz1#JVr<7~0~DEf0_s`e18yZuH#+`T6t?8Jr&`l z>Bn%dP07<;%}Vv8TZz}C-WO9;q%UfEn(YgFuHYHlHecQ|YlqnVd;NZ%Sr+y;ZU3dr zz5HdT$>H-8o&}y2-#j_^h?H@AxbO1wi#FGt{+0f+(leHI-|BOx7fgF*voF)(^wD2C zd3NxvpH(+s?eC==p)3E-uDllp4syN%xm43zdzZ$|&wRgzY5T_5v-g*MUi7kj?(3-a z%RfwInQog9_f~%O=D8NLZcl zyf?DjcTcY6vj6|?dA9%aXS$b9?tAuo#^l&Z@0Le(&-M2Fm0z~gE+)Np)$G!;p!$Dr zVy-W&EqfPSe>7?Ol5oMflTwtCLm+?I<|#pZya&D;F|jbP10y9#=CSYrmlCEO7B_*> z#1D)I6(iIXi4hMqYtI$R9N*6P;KrWIHeIAg-k+`0g1V+|oDwu=Pv~0LNqs(RgMkEc z94!i-l(VChZ&FF?!!MUz{>Av3UuWOVy-iR3Op^Tj^H@nWFlPMbd)=^+zb-x}Klk6AOFu7pm9JmPHTTeSy{+d; zClt$izj~VVHzq7gHqP{~-Rh}1}lM5I7 zyQlyD!Z`Q*+LBq-zu#BRKd|QWrhNMa#V5@^EZw*0Qkv@D>*n{?9CJQ@?s<6B^WXoE x>UruvJl`EVDb58wr00}O3p%xMC7ArlemXwI=b){bF|d$h@O1TaS?83{1OO4ckwyRj literal 0 HcmV?d00001 diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxRectangle-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxRectangle-members.html new file mode 100644 index 000000000..db0e4d83d --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxRectangle-members.html @@ -0,0 +1,90 @@ + + + + + + +mxGraph: Member List + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+
+
com.mxgraph.mxRectangle Member List
+
+
+ +

This is the complete list of members for com.mxgraph.mxRectangle, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Add(mxRectangle rect)com.mxgraph.mxRectangleinline
Clone()com.mxgraph.mxRectangleinline
Contains(double x, double y)com.mxgraph.mxRectangleinline
Equals(Object obj)com.mxgraph.mxRectangleinline
GetCenterX()com.mxgraph.mxRectangleinline
GetCenterY()com.mxgraph.mxRectangleinline
GetPoint()com.mxgraph.mxPointinline
GetRectangle()com.mxgraph.mxRectangleinline
Grow(double amount)com.mxgraph.mxRectangleinline
Heightcom.mxgraph.mxRectangle
heightcom.mxgraph.mxRectangleprotected
mxPoint()com.mxgraph.mxPointinline
mxPoint(Point point)com.mxgraph.mxPointinline
mxPoint(mxPoint point)com.mxgraph.mxPointinline
mxPoint(double x, double y)com.mxgraph.mxPointinline
mxRectangle()com.mxgraph.mxRectangleinline
mxRectangle(mxRectangle rect)com.mxgraph.mxRectangleinline
mxRectangle(Rectangle rect)com.mxgraph.mxRectangleinline
mxRectangle(double x, double y, double width, double height)com.mxgraph.mxRectangleinline
setRect(double x, double y, double w, double h)com.mxgraph.mxRectangleinline
widthcom.mxgraph.mxRectangleprotected
Widthcom.mxgraph.mxRectangle
xcom.mxgraph.mxPointprotected
Xcom.mxgraph.mxPoint
Ycom.mxgraph.mxPoint
ycom.mxgraph.mxPointprotected
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxRectangle.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxRectangle.html new file mode 100644 index 000000000..837d4cae6 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxRectangle.html @@ -0,0 +1,727 @@ + + + + + + +mxGraph: com.mxgraph.mxRectangle Class Reference + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+ +
+
com.mxgraph.mxRectangle Class Reference
+
+
+ +

Implements a 2-dimensional rectangle with double precision coordinates. + More...

+
+Inheritance diagram for com.mxgraph.mxRectangle:
+
+
+ + +com.mxgraph.mxPoint +com.mxgraph.mxCellState +com.mxgraph.mxGeometry + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 mxRectangle ()
 Constructs a new rectangle at (0, 0) with the width and height set to 0. More...
 
 mxRectangle (mxRectangle rect)
 Constructs a copy of the given rectangle. More...
 
 mxRectangle (Rectangle rect)
 Constructs a copy of the given rectangle. More...
 
 mxRectangle (double x, double y, double width, double height)
 Constructs a rectangle using the given parameters. More...
 
void setRect (double x, double y, double w, double h)
 Sets this rectangle to the specified values More...
 
double GetCenterX ()
 Returns the x-coordinate of the center. More...
 
double GetCenterY ()
 Returns the y-coordinate of the center. More...
 
void Add (mxRectangle rect)
 Adds the given rectangle to this rectangle. More...
 
void Grow (double amount)
 Grows the rectangle by the given amount, that is, this method subtracts the given amount from the x- and y-coordinates and adds twice the amount to the width and height. More...
 
bool Contains (double x, double y)
 Returns true if this rectangle contains the given point (x, y). More...
 
Rectangle GetRectangle ()
 Returns the bounds as a new rectangle. More...
 
new Boolean Equals (Object obj)
 Returns true if the given object equals this rectangle. More...
 
new mxRectangle Clone ()
 Returns a new instance of the same rectangle. More...
 
- Public Member Functions inherited from com.mxgraph.mxPoint
 mxPoint ()
 Constructs a new point at (0, 0). More...
 
 mxPoint (Point point)
 Constructs a new point at the location of the given point. More...
 
 mxPoint (mxPoint point)
 Constructs a new point at the location of the given point. More...
 
 mxPoint (double x, double y)
 Constructs a new point at (x, y). More...
 
Point GetPoint ()
 Returns the coordinates as a new point. More...
 
new Boolean Equals (Object obj)
 Returns true if the given object equals this point. More...
 
mxPoint Clone ()
 Returns a new instance of the same point. More...
 
+ + + + + + + + + + + + + + +

+Protected Attributes

double width
 Holds the width. Default is 0. More...
 
double height
 Holds the height. Default is 0. More...
 
- Protected Attributes inherited from com.mxgraph.mxPoint
double x
 Holds the x-coordinate of the point. Default is 0. More...
 
double y
 Holds the y-coordinate of the point. Default is 0. More...
 
+ + + + + + + + + + + + + + +

+Properties

double Width [get, set]
 Sets or returns the width of the rectangle. More...
 
double Height [get, set]
 Sets or returns the height of the rectangle. More...
 
- Properties inherited from com.mxgraph.mxPoint
double X [get, set]
 Sets or returns the x-coordinate of the point. More...
 
double Y [get, set]
 Sets or returns the y-coordinate of the point. More...
 
+

Detailed Description

+

Implements a 2-dimensional rectangle with double precision coordinates.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + +
+ + + + + + + +
com.mxgraph.mxRectangle.mxRectangle ()
+
+inline
+
+ +

Constructs a new rectangle at (0, 0) with the width and height set to 0.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
com.mxgraph.mxRectangle.mxRectangle (mxRectangle rect)
+
+inline
+
+ +

Constructs a copy of the given rectangle.

+
Parameters
+ + +
rectRectangle to construct a copy of.
+
+
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
com.mxgraph.mxRectangle.mxRectangle (Rectangle rect)
+
+inline
+
+ +

Constructs a copy of the given rectangle.

+
Parameters
+ + +
rectRectangle to construct a copy of.
+
+
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
com.mxgraph.mxRectangle.mxRectangle (double x,
double y,
double width,
double height 
)
+
+inline
+
+ +

Constructs a rectangle using the given parameters.

+
Parameters
+ + + + + +
xX-coordinate of the new rectangle.
yY-coordinate of the new rectangle.
widthWidth of the new rectangle.
heightHeight of the new rectangle.
+
+
+ +
+
+

Member Function Documentation

+ + + +
+
+ + + + + +
+ + + + + + + +
new mxRectangle com.mxgraph.mxRectangle.Clone ()
+
+inline
+
+ +

Returns a new instance of the same rectangle.

+
Returns
Returns a clone of the rectangle.
+ +

Referenced by com.mxgraph.mxCellState.Clone(), com.mxgraph.mxGraphView.GetBoundingBox(), and com.mxgraph.mxGeometry.mxGeometry().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
bool com.mxgraph.mxRectangle.Contains (double x,
double y 
)
+
+inline
+
+ +

Returns true if this rectangle contains the given point (x, y).

+
Parameters
+ + + +
xX-coordinate of the point.
yY-coordinate of the point.
+
+
+
Returns
Returns true if (x, y) lies within the given area.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
new Boolean com.mxgraph.mxRectangle.Equals (Object obj)
+
+inline
+
+ +

Returns true if the given object equals this rectangle.

+
Returns
Returns true if obj is equal.
+ +

References com.mxgraph.mxRectangle.Height, com.mxgraph.mxRectangle.Width, com.mxgraph.mxPoint.X, and com.mxgraph.mxPoint.Y.

+ +

Referenced by com.mxgraph.mxUtils.GetLabelPaintBounds().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
double com.mxgraph.mxRectangle.GetCenterX ()
+
+inline
+
+ +

Returns the x-coordinate of the center.

+
Returns
Returns the x-coordinate of the center.
+ +

Referenced by com.mxgraph.mxGraphView.GetNextPoint(), com.mxgraph.mxGraphView.GetPoint(), com.mxgraph.mxGraphView.GetRoutingCenterX(), and com.mxgraph.mxStencil.PaintShape().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
double com.mxgraph.mxRectangle.GetCenterY ()
+
+inline
+
+ +

Returns the y-coordinate of the center.

+
Returns
Returns the y-coordinate of the center.
+ +

Referenced by com.mxgraph.mxGraphView.GetNextPoint(), com.mxgraph.mxGraphView.GetPoint(), com.mxgraph.mxGraphView.GetRoutingCenterY(), and com.mxgraph.mxStencil.PaintShape().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
Rectangle com.mxgraph.mxRectangle.GetRectangle ()
+
+inline
+
+
+ +
+
+ + + + + +
+ + + + + + + + +
void com.mxgraph.mxRectangle.Grow (double amount)
+
+inline
+
+ +

Grows the rectangle by the given amount, that is, this method subtracts the given amount from the x- and y-coordinates and adds twice the amount to the width and height.

+
Parameters
+ + +
amountAmount by which the rectangle should be grown.
+
+
+ +

Referenced by com.mxgraph.mxCellState.GetPerimeterBounds(), com.mxgraph.mxGraph.Intersects(), and com.mxgraph.mxGraphView.UpdateBoundingBox().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxRectangle.setRect (double x,
double y,
double w,
double h 
)
+
+inline
+
+ +

Sets this rectangle to the specified values

+ +
+
+

Member Data Documentation

+ +
+
+ + + + + +
+ + + + +
double com.mxgraph.mxRectangle.height
+
+protected
+
+ +

Holds the height. Default is 0.

+ +

Referenced by com.mxgraph.mxRectangle.Add(), and com.mxgraph.mxCellState.Clone().

+ +
+
+ +
+
+ + + + + +
+ + + + +
double com.mxgraph.mxRectangle.width
+
+protected
+
+ +

Holds the width. Default is 0.

+ +

Referenced by com.mxgraph.mxRectangle.Add(), and com.mxgraph.mxCellState.Clone().

+ +
+
+

Property Documentation

+ + + + +
The documentation for this class was generated from the following file:
    +
  • src/utils/mxRectangle.cs
  • +
+
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxRectangle.png b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxRectangle.png new file mode 100644 index 0000000000000000000000000000000000000000..ad7aca2429bbaf9f58d134b1dc78b728b63167bc GIT binary patch literal 1334 zcmeAS@N?(olHy`uVBq!ia0y~yVDtmBJ2;qu!$G&7OXCJ*M7BPZ_bHEhvy9SjPo2cm&!;tY+vYcX=10J=O)3qlTwteR8P8&sxh>-bYEjwToGDwOULT@56x{S zZ~9-_d8WwF%yWg_wfh;%_||vT&0h9h{^(!z|InKI^`g++`t#>9qdWX=Crw}S9MvaNRHXBl zZJrXu$9v#=5fcXk-y-1yM_-D}XHWw%Zl={RRdo0||z`XVKgk9U{y9X0?3^}`Q~dr?hWf3VKTIy8G7l`!%$ko_qJL|24~{ z=OcLRub!U!GO4VnFCzKbhgC1OM3!9hkNmHrdwkvM1LapO{jxOmKF`iSEB-ovPJwKk z=wCD6@7^0YrK79-Lw45mRY}IpYOW% zT4dj)gFD#Itp1x^x~+5b$!*$J-@E^oMQ!W_xOMk~S#I9@xuH>YN0RQ( zdn3Dj_vBix{Wafz-nzWA@>I#D^?z&6oa8I8pY3)|^8K%01#`cy%$rxZ{Pp?s=SpR7 zrSEzFOIytPz-qJ*G{0=gbGRUbVc&FN2ZjQHxeR)K%YU#K0E1lboY`aH1I{H(5}iH- z0zH29=Mt;A_t+YeKl@dRkRDq^61IhV^JzEPh7E5eR;xVxysEBq`c4; z{anE_T;kk(wNKBpR>kDMsj8TC?zg*^r)-s={*}s|S2Je!=sgWA$#Vk=)m^pRJJ~XR zRpdGG({J=egTKneiOw~fy1`QZI(y72v--T3H7`BN`&Y7AwVwCQn)_Pid7)0MJ}?4f zR+d(Tez~0^Z(M%SuKefwUFW9vZ>jW&-7EPv?0MO)>{#2sv*z|l=UQ3a-p&7_=AFm# zJGb{guVqi0`*`2qhI2~~mi2kp7K{8Su`{_;Dq}s@w{-IP{#QAd(=R`s>R2`{;JwDJ z+!ghge_o$x7Mm6DdG)H620x zEf1db?%7M_zpKxcnaV{z*LJ(LX377m$7i!_O3Li&mz383-+x2(rRtx`joz2KkwY0= k;%q(_FVdQ&MBb@0FN|@ + + + + + +mxGraph: Member List + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+
+
com.mxgraph.mxSaxOutputHandler Member List
+
+
+ +

This is the complete list of members for com.mxgraph.mxSaxOutputHandler, including all inherited members.

+ + + + + + + + + + + + + + + + + +
canvascom.mxgraph.mxSaxOutputHandlerprotected
Canvascom.mxgraph.mxSaxOutputHandler
ElementHandler(Dictionary< string, string > atts)com.mxgraph.mxSaxOutputHandler
GetDouble(Dictionary< string, string > atts, string key) (defined in com.mxgraph.mxSaxOutputHandler)com.mxgraph.mxSaxOutputHandlerinlineprotected
GetDouble(Dictionary< string, string > atts, string key, double defaultValue) (defined in com.mxgraph.mxSaxOutputHandler)com.mxgraph.mxSaxOutputHandlerinlineprotected
GetInt(Dictionary< string, string > atts, string key) (defined in com.mxgraph.mxSaxOutputHandler)com.mxgraph.mxSaxOutputHandlerinlineprotected
GetInt(Dictionary< string, string > atts, string key, int defaultValue) (defined in com.mxgraph.mxSaxOutputHandler)com.mxgraph.mxSaxOutputHandlerinlineprotected
GetString(Dictionary< string, string > atts, string key) (defined in com.mxgraph.mxSaxOutputHandler)com.mxgraph.mxSaxOutputHandlerinlineprotected
GetString(Dictionary< string, string > atts, string key, string defaultValue) (defined in com.mxgraph.mxSaxOutputHandler)com.mxgraph.mxSaxOutputHandlerinlineprotected
handlerscom.mxgraph.mxSaxOutputHandlerprotected
InitHandlers()com.mxgraph.mxSaxOutputHandlerinlineprotected
IsTrue(Dictionary< string, string > atts, string key) (defined in com.mxgraph.mxSaxOutputHandler)com.mxgraph.mxSaxOutputHandlerinlineprotected
IsTrue(Dictionary< string, string > atts, string key, bool defaultValue) (defined in com.mxgraph.mxSaxOutputHandler)com.mxgraph.mxSaxOutputHandlerinlineprotected
mxSaxOutputHandler(mxICanvas2D canvas)com.mxgraph.mxSaxOutputHandlerinline
ParseElement(string tagName, Dictionary< string, string > atts)com.mxgraph.mxSaxOutputHandlerinline
Read(XmlReader reader)com.mxgraph.mxSaxOutputHandlerinline
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxSaxOutputHandler.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxSaxOutputHandler.html new file mode 100644 index 000000000..622854351 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxSaxOutputHandler.html @@ -0,0 +1,345 @@ + + + + + + +mxGraph: com.mxgraph.mxSaxOutputHandler Class Reference + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+ +
+
com.mxgraph.mxSaxOutputHandler Class Reference
+
+
+ + + + + + + + + + + + + + +

+Public Member Functions

delegate void ElementHandler (Dictionary< string, string > atts)
 Defines the requirements for an object that parses a node. More...
 
 mxSaxOutputHandler (mxICanvas2D canvas)
 Constructs a new sax output handler for the given canvas. More...
 
void Read (XmlReader reader)
 Reads the given display XML data and parses all elements. More...
 
void ParseElement (string tagName, Dictionary< string, string > atts)
 Parses the given element and paints it onto the canvas. More...
 
+ + + + + + + + + + + + + + + + + + + +

+Protected Member Functions

+string GetString (Dictionary< string, string > atts, string key)
 
+string GetString (Dictionary< string, string > atts, string key, string defaultValue)
 
+double GetDouble (Dictionary< string, string > atts, string key)
 
+double GetDouble (Dictionary< string, string > atts, string key, double defaultValue)
 
+int GetInt (Dictionary< string, string > atts, string key)
 
+int GetInt (Dictionary< string, string > atts, string key, int defaultValue)
 
+bool IsTrue (Dictionary< string, string > atts, string key)
 
+bool IsTrue (Dictionary< string, string > atts, string key, bool defaultValue)
 
void InitHandlers ()
 
+ + + + + + + +

+Protected Attributes

mxICanvas2D canvas
 Holds the current canvas. More...
 
Dictionary< string,
+ElementHandler
handlers = new Dictionary<string, ElementHandler>()
 Holds the handlers for specific XML nodes. More...
 
+ + + + +

+Properties

mxICanvas2D Canvas [get, set]
 Sets or returns the current canvas. More...
 
+

Constructor & Destructor Documentation

+ +
+
+ + + + + +
+ + + + + + + + +
com.mxgraph.mxSaxOutputHandler.mxSaxOutputHandler (mxICanvas2D canvas)
+
+inline
+
+ +

Constructs a new sax output handler for the given canvas.

+ +
+
+

Member Function Documentation

+ +
+
+ + + + + + + + +
delegate void com.mxgraph.mxSaxOutputHandler.ElementHandler (Dictionary< string, string > atts)
+
+ +

Defines the requirements for an object that parses a node.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
void com.mxgraph.mxSaxOutputHandler.InitHandlers ()
+
+inlineprotected
+
+ +

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxSaxOutputHandler.ParseElement (string tagName,
Dictionary< string, string > atts 
)
+
+inline
+
+ +

Parses the given element and paints it onto the canvas.

+
Parameters
+ + + +
tagNameName of the node to be parsed.
attrsAttributes of the node to be parsed.
+
+
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
void com.mxgraph.mxSaxOutputHandler.Read (XmlReader reader)
+
+inline
+
+ +

Reads the given display XML data and parses all elements.

+
Parameters
+ + +
readerReader that represents the display XML data.
+
+
+ +
+
+

Member Data Documentation

+ +
+
+ + + + + +
+ + + + +
mxICanvas2D com.mxgraph.mxSaxOutputHandler.canvas
+
+protected
+
+ +

Holds the current canvas.

+ +
+
+ +
+
+ + + + + +
+ + + + +
Dictionary<string, ElementHandler> com.mxgraph.mxSaxOutputHandler.handlers = new Dictionary<string, ElementHandler>()
+
+protected
+
+ +

Holds the handlers for specific XML nodes.

+ +
+
+

Property Documentation

+ +
+
+ + + + + +
+ + + + +
mxICanvas2D com.mxgraph.mxSaxOutputHandler.Canvas
+
+getset
+
+ +

Sets or returns the current canvas.

+ +
+
+
The documentation for this class was generated from the following file:
    +
  • src/reader/mxSaxOutputHandler.cs
  • +
+
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxSession-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxSession-members.html new file mode 100644 index 000000000..6791ea1fb --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxSession-members.html @@ -0,0 +1,79 @@ + + + + + + +mxGraph: Member List + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+
+
com.mxgraph.mxSession Member List
+
+
+ +

This is the complete list of members for com.mxgraph.mxSession, including all inherited members.

+ + + + + + + + + + + + + + + + +
buffercom.mxgraph.mxSessionprotected
DEFAULT_TIMEOUTcom.mxgraph.mxSessionstatic
Destroy()com.mxgraph.mxSessioninline
diagramcom.mxgraph.mxSessionprotected
DiagramChanged(Object sender, string xml)com.mxgraph.mxSessioninline
GetInitialMessage()com.mxgraph.mxSessioninline
idcom.mxgraph.mxSessionprotected
Idcom.mxgraph.mxSession
InactiveTimeMillis()com.mxgraph.mxSessioninline
Init()com.mxgraph.mxSessioninline
lastTimeMilliscom.mxgraph.mxSessionprotected
mxSession(string id, mxSharedDiagram diagram)com.mxgraph.mxSessioninline
Poll()com.mxgraph.mxSessioninline
Poll(int timeout)com.mxgraph.mxSessioninline
Receive(XmlNode message)com.mxgraph.mxSessioninline
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxSession.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxSession.html new file mode 100644 index 000000000..7975043dc --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxSession.html @@ -0,0 +1,551 @@ + + + + + + +mxGraph: com.mxgraph.mxSession Class Reference + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+ +
+ +

Implements a session that may be attached to a shared diagram. + More...

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 mxSession (string id, mxSharedDiagram diagram)
 Constructs a new session with the given ID. More...
 
string Init ()
 Initializes the session buffer and returns a string that represents the state of the session. More...
 
string GetInitialMessage ()
 Returns an XML string that represents the current state of the session and the shared diagram. A globally unique ID is used as the session's namespace, which is used on the client side to prefix IDs of newly created cells. More...
 
void Receive (XmlNode message)
 Posts the change represented by the given XML string to the shared diagram. More...
 
string Poll ()
 Returns the changes received by other sessions for the shared diagram. The method returns an empty XML node if no change was received within 10 seconds. More...
 
string Poll (int timeout)
 Returns the changes received by other sessions for the shared diagram. The method returns an empty XML node if no change was received within the given timeout. More...
 
void DiagramChanged (Object sender, string xml)
 Invoked when the shared diagram has changed. More...
 
long InactiveTimeMillis ()
 Returns the number of milliseconds this session has been inactive. More...
 
void Destroy ()
 Destroys the session and removes its listener from the shared diagram. More...
 
+ + + + +

+Static Public Attributes

static int DEFAULT_TIMEOUT = 10000
 Default timeout is 10000 ms. More...
 
+ + + + + + + + + + + + + +

+Protected Attributes

string id
 Holds the session ID. More...
 
mxSharedDiagram diagram
 Reference to the shared diagram. More...
 
StringBuilder buffer = new StringBuilder()
 Holds the send buffer for this session. More...
 
long lastTimeMillis = 0
 Holds the last active time millis. More...
 
+ + + + +

+Properties

string Id [get]
 Returns the session ID. More...
 
+

Detailed Description

+

Implements a session that may be attached to a shared diagram.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
com.mxgraph.mxSession.mxSession (string id,
mxSharedDiagram diagram 
)
+
+inline
+
+ +

Constructs a new session with the given ID.

+
Parameters
+ + + +
idSpecifies the session ID to be used.
diagramReference to the shared diagram.
+
+
+ +

References com.mxgraph.mxSharedDiagram.DiagramChange, and com.mxgraph.mxDiagramChangeEventHandler().

+ +
+
+

Member Function Documentation

+ +
+
+ + + + + +
+ + + + + + + +
void com.mxgraph.mxSession.Destroy ()
+
+inline
+
+ +

Destroys the session and removes its listener from the shared diagram.

+ +

References com.mxgraph.mxDiagramChangeEventHandler().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxSession.DiagramChanged (Object sender,
string xml 
)
+
+inline
+
+ +

Invoked when the shared diagram has changed.

+
Parameters
+ + + +
senderSession where the change was received from.
xmlXML string that represents the change.
+
+
+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
string com.mxgraph.mxSession.GetInitialMessage ()
+
+inline
+
+ +

Returns an XML string that represents the current state of the session and the shared diagram. A globally unique ID is used as the session's namespace, which is used on the client side to prefix IDs of newly created cells.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
long com.mxgraph.mxSession.InactiveTimeMillis ()
+
+inline
+
+ +

Returns the number of milliseconds this session has been inactive.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
string com.mxgraph.mxSession.Init ()
+
+inline
+
+ +

Initializes the session buffer and returns a string that represents the state of the session.

+
Returns
Returns the initial state of the session.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
string com.mxgraph.mxSession.Poll ()
+
+inline
+
+ +

Returns the changes received by other sessions for the shared diagram. The method returns an empty XML node if no change was received within 10 seconds.

+
Returns
Returns a string representing the changes to the shared diagram.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
string com.mxgraph.mxSession.Poll (int timeout)
+
+inline
+
+ +

Returns the changes received by other sessions for the shared diagram. The method returns an empty XML node if no change was received within the given timeout.

+
Parameters
+ + +
timeoutTime in milliseconds to wait for changes.
+
+
+
Returns
Returns a string representing the changes to the shared diagram.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
void com.mxgraph.mxSession.Receive (XmlNode message)
+
+inline
+
+ +

Posts the change represented by the given XML string to the shared diagram.

+
Parameters
+ + +
xmlXML string that represents the change.
+
+
+ +
+
+

Member Data Documentation

+ +
+
+ + + + + +
+ + + + +
StringBuilder com.mxgraph.mxSession.buffer = new StringBuilder()
+
+protected
+
+ +

Holds the send buffer for this session.

+ +
+
+ +
+
+ + + + + +
+ + + + +
int com.mxgraph.mxSession.DEFAULT_TIMEOUT = 10000
+
+static
+
+ +

Default timeout is 10000 ms.

+ +
+
+ +
+
+ + + + + +
+ + + + +
mxSharedDiagram com.mxgraph.mxSession.diagram
+
+protected
+
+ +

Reference to the shared diagram.

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxSession.id
+
+protected
+
+ +

Holds the session ID.

+ +
+
+ +
+
+ + + + + +
+ + + + +
long com.mxgraph.mxSession.lastTimeMillis = 0
+
+protected
+
+ +

Holds the last active time millis.

+ +
+
+

Property Documentation

+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxSession.Id
+
+get
+
+ +

Returns the session ID.

+ +
+
+
The documentation for this class was generated from the following file:
    +
  • src/sharing/mxSession.cs
  • +
+
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxSharedDiagram-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxSharedDiagram-members.html new file mode 100644 index 000000000..e114d020e --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxSharedDiagram-members.html @@ -0,0 +1,74 @@ + + + + + + +mxGraph: Member List + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+
+
com.mxgraph.mxSharedDiagram Member List
+
+ + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxSharedDiagram.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxSharedDiagram.html new file mode 100644 index 000000000..3b662eddf --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxSharedDiagram.html @@ -0,0 +1,390 @@ + + + + + + +mxGraph: com.mxgraph.mxSharedDiagram Class Reference + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+ +
+
com.mxgraph.mxSharedDiagram Class Reference
+
+
+ +

Implements a diagram that may be shared among multiple sessions. + More...

+ + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 mxSharedDiagram (string state)
 Constructs a new diagram with the given initial state. More...
 
string GetDelta ()
 Returns the delta of all changes as a string. More...
 
void ProcessDelta (Object sender, XmlNode delta)
 Appends the given string to the history and dispatches the change to all sessions that are listening to this shared diagram. More...
 
string ProcessEdit (XmlNode node)
 
void AddDelta (String xml)
 Clears the delta of all changes. More...
 
void ResetDelta ()
 Clears the delta of all changes. More...
 
+ + + + + + + +

+Protected Attributes

string state
 Holds the initial state of the diagram. More...
 
StringBuilder delta = new StringBuilder()
 Holds the delta of all changes of initial state. More...
 
+ + + + +

+Properties

string State [get]
 Returns the initial state of the diagram. More...
 
+ + + + +

+Events

mxDiagramChangeEventHandler DiagramChange
 Fires when the diagram was changed. More...
 
+

Detailed Description

+

Implements a diagram that may be shared among multiple sessions.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + +
+ + + + + + + + +
com.mxgraph.mxSharedDiagram.mxSharedDiagram (string state)
+
+inline
+
+ +

Constructs a new diagram with the given initial state.

+
Parameters
+ + +
stateInitial state of the diagram.
+
+
+ +
+
+

Member Function Documentation

+ +
+
+ + + + + +
+ + + + + + + + +
void com.mxgraph.mxSharedDiagram.AddDelta (String xml)
+
+inline
+
+ +

Clears the delta of all changes.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
string com.mxgraph.mxSharedDiagram.GetDelta ()
+
+inline
+
+ +

Returns the delta of all changes as a string.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxSharedDiagram.ProcessDelta (Object sender,
XmlNode delta 
)
+
+inline
+
+ +

Appends the given string to the history and dispatches the change to all sessions that are listening to this shared diagram.

+
Parameters
+ + + +
sender
delta
+
+
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
string com.mxgraph.mxSharedDiagram.ProcessEdit (XmlNode node)
+
+inline
+
+ +

+
Parameters
+ + +
node
+
+
+
Returns
+ +

References com.mxgraph.mxUtils.GetXml().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
void com.mxgraph.mxSharedDiagram.ResetDelta ()
+
+inline
+
+ +

Clears the delta of all changes.

+ +
+
+

Member Data Documentation

+ +
+
+ + + + + +
+ + + + +
StringBuilder com.mxgraph.mxSharedDiagram.delta = new StringBuilder()
+
+protected
+
+ +

Holds the delta of all changes of initial state.

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxSharedDiagram.state
+
+protected
+
+ +

Holds the initial state of the diagram.

+ +
+
+

Property Documentation

+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxSharedDiagram.State
+
+get
+
+ +

Returns the initial state of the diagram.

+ +
+
+

Event Documentation

+ +
+
+ + + + +
mxDiagramChangeEventHandler com.mxgraph.mxSharedDiagram.DiagramChange
+
+ +

Fires when the diagram was changed.

+ +

Referenced by com.mxgraph.mxSession.mxSession().

+ +
+
+
The documentation for this class was generated from the following file:
    +
  • src/sharing/mxSharedState.cs
  • +
+
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStencil-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStencil-members.html new file mode 100644 index 000000000..08700e579 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStencil-members.html @@ -0,0 +1,87 @@ + + + + + + +mxGraph: Member List + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+
+
com.mxgraph.mxStencil Member List
+
+
+ +

This is the complete list of members for com.mxgraph.mxStencil, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + +
aspectcom.mxgraph.mxStencilprotected
bgNodecom.mxgraph.mxStencilprotected
ComputeAspect(mxCellState state, mxRectangle bounds, string direction)com.mxgraph.mxStencilinlineprotected
CreateCanvas(mxGdiCanvas gc)com.mxgraph.mxStencilinlineprotected
desccom.mxgraph.mxStencilprotected
Descriptioncom.mxgraph.mxStencil
DrawElement(mxGdiCanvas2D canvas, mxCellState state, XmlElement node, mxRectangle aspect)com.mxgraph.mxStencilinlineprotected
DrawShadow(mxGdiCanvas2D canvas, mxCellState state, double rotation, bool flipH, bool flipV, mxRectangle bounds, double alpha, bool filled)com.mxgraph.mxStencilinlineprotected
DrawShape(mxGdiCanvas2D canvas, mxCellState state, mxRectangle bounds, bool background)com.mxgraph.mxStencilinline
EvaluateAttribute(XmlElement elt, string attribute, mxCellState state)com.mxgraph.mxStencilinline
fgNodecom.mxgraph.mxStencilprotected
GetDouble(XmlElement elt, String attribute)com.mxgraph.mxStencilinlineprotected
GetDouble(XmlElement elt, String attribute, double defaultValue)com.mxgraph.mxStencilinlineprotected
GetInt(XmlElement elt, string attribute, int defaultValue)com.mxgraph.mxStencilinlineprotected
GetString(XmlElement elt, string attribute, string defaultValue)com.mxgraph.mxStencilinlineprotected
h0com.mxgraph.mxStencilprotected
lastMoveXcom.mxgraph.mxStencilprotected
lastMoveYcom.mxgraph.mxStencilprotected
mxStencil(XmlElement description)com.mxgraph.mxStencilinline
PaintShape(mxGdiCanvas gc, mxCellState state)com.mxgraph.mxStencilinline
ParseDescription()com.mxgraph.mxStencilinlineprotected
strokewidthcom.mxgraph.mxStencilprotected
w0com.mxgraph.mxStencilprotected
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStencil.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStencil.html new file mode 100644 index 000000000..c0fdfb20b --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStencil.html @@ -0,0 +1,1011 @@ + + + + + + +mxGraph: com.mxgraph.mxStencil Class Reference + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+ +
+ +

Implements a stencil for the given XML definition. This class implements the mxGraph stencil schema. + More...

+ + + + + + + + + + + + + +

+Public Member Functions

 mxStencil (XmlElement description)
 Constructs a new stencil for the given mxGraph shape description. More...
 
void PaintShape (mxGdiCanvas gc, mxCellState state)
 Paints the stencil for the given state. More...
 
bool DrawShape (mxGdiCanvas2D canvas, mxCellState state, mxRectangle bounds, bool background)
 
string EvaluateAttribute (XmlElement elt, string attribute, mxCellState state)
 Gets the attribute for the given name from the given node. If the attribute More...
 
+ + + + + + + + + + + + + + + + + + + + + + + +

+Protected Member Functions

mxGdiCanvas2D CreateCanvas (mxGdiCanvas gc)
 Creates the canvas for rendering the stencil. More...
 
void DrawShadow (mxGdiCanvas2D canvas, mxCellState state, double rotation, bool flipH, bool flipV, mxRectangle bounds, double alpha, bool filled)
 Draws the shadow. More...
 
mxRectangle ComputeAspect (mxCellState state, mxRectangle bounds, string direction)
 Returns a rectangle that contains the offset in x and y and the horizontal More...
 
void DrawElement (mxGdiCanvas2D canvas, mxCellState state, XmlElement node, mxRectangle aspect)
 
int GetInt (XmlElement elt, string attribute, int defaultValue)
 
double GetDouble (XmlElement elt, String attribute)
 
double GetDouble (XmlElement elt, String attribute, double defaultValue)
 
string GetString (XmlElement elt, string attribute, string defaultValue)
 Returns the given attribute or the default value. More...
 
void ParseDescription ()
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

XmlElement desc
 Holds the top-level node of the stencil definition. More...
 
string aspect = null
 Holds the aspect of the shape. Default is "auto". More...
 
double w0 = 100
 Holds the width of the shape. Default is 100. More...
 
double h0 = 100
 Holds the height of the shape. Default is 100. More...
 
XmlElement bgNode = null
 Holds the XML node with the stencil description. More...
 
XmlElement fgNode = null
 Holds the XML node with the stencil description. More...
 
string strokewidth = null
 Holds the strokewidth direction from the description. More...
 
double lastMoveX = 0
 Holds the last x-position of the cursor. More...
 
double lastMoveY = 0
 Holds the last y-position of the cursor. More...
 
+ + + + +

+Properties

XmlElement Description [get, set]
 Sets or returns the description. More...
 
+

Detailed Description

+

Implements a stencil for the given XML definition. This class implements the mxGraph stencil schema.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + +
+ + + + + + + + +
com.mxgraph.mxStencil.mxStencil (XmlElement description)
+
+inline
+
+ +

Constructs a new stencil for the given mxGraph shape description.

+
Parameters
+ + +
description
+
+
+ +
+
+

Member Function Documentation

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
mxRectangle com.mxgraph.mxStencil.ComputeAspect (mxCellState state,
mxRectangle bounds,
string direction 
)
+
+inlineprotected
+
+ +

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

+
Parameters
+ + + + +
state
bounds
direction
+
+
+
Returns
+ +

References com.mxgraph.mxRectangle.Height, com.mxgraph.mxRectangle.Width, com.mxgraph.mxPoint.X, and com.mxgraph.mxPoint.Y.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
mxGdiCanvas2D com.mxgraph.mxStencil.CreateCanvas (mxGdiCanvas gc)
+
+inlineprotected
+
+ +

Creates the canvas for rendering the stencil.

+
Parameters
+ + +
gc
+
+
+
Returns
+ +

References com.mxgraph.mxGdiCanvas.Graphics.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxStencil.DrawElement (mxGdiCanvas2D canvas,
mxCellState state,
XmlElement node,
mxRectangle aspect 
)
+
+inlineprotected
+
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxStencil.DrawShadow (mxGdiCanvas2D canvas,
mxCellState state,
double rotation,
bool flipH,
bool flipV,
mxRectangle bounds,
double alpha,
bool filled 
)
+
+inlineprotected
+
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
bool com.mxgraph.mxStencil.DrawShape (mxGdiCanvas2D canvas,
mxCellState state,
mxRectangle bounds,
bool background 
)
+
+inline
+
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
string com.mxgraph.mxStencil.EvaluateAttribute (XmlElement elt,
string attribute,
mxCellState state 
)
+
+inline
+
+ +

Gets the attribute for the given name from the given node. If the attribute

+

does not exist then the text content of the node is evaluated and if it is a function it is invoked with <state> as the only argument and the return value is used as the attribute value to be returned.

+
Parameters
+ + + + +
elt
attribute
state
+
+
+
Returns
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
double com.mxgraph.mxStencil.GetDouble (XmlElement elt,
String attribute 
)
+
+inlineprotected
+
+ +

+

Returns the given attribute or 0.

+
Parameters
+ + + +
elt
attribute
+
+
+
Returns
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
double com.mxgraph.mxStencil.GetDouble (XmlElement elt,
String attribute,
double defaultValue 
)
+
+inlineprotected
+
+ +

+

Returns the given attribute or the default value.

+
Parameters
+ + + + +
elt
attribute
defaultValue
+
+
+
Returns
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
int com.mxgraph.mxStencil.GetInt (XmlElement elt,
string attribute,
int defaultValue 
)
+
+inlineprotected
+
+ +

+

Returns the given attribute or the default value.

+
Parameters
+ + + + +
elt
attribute
defaultValue
+
+
+
Returns
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
string com.mxgraph.mxStencil.GetString (XmlElement elt,
string attribute,
string defaultValue 
)
+
+inlineprotected
+
+ +

Returns the given attribute or the default value.

+
Parameters
+ + + + +
elt
attribute
defaultValue
+
+
+
Returns
+ +
+
+ + + +
+
+ + + + + +
+ + + + + + + +
void com.mxgraph.mxStencil.ParseDescription ()
+
+inlineprotected
+
+ +

+

Parses the description of this shape.

+ +
+
+

Member Data Documentation

+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxStencil.aspect = null
+
+protected
+
+ +

Holds the aspect of the shape. Default is "auto".

+ +
+
+ +
+
+ + + + + +
+ + + + +
XmlElement com.mxgraph.mxStencil.bgNode = null
+
+protected
+
+ +

Holds the XML node with the stencil description.

+ +
+
+ +
+
+ + + + + +
+ + + + +
XmlElement com.mxgraph.mxStencil.desc
+
+protected
+
+ +

Holds the top-level node of the stencil definition.

+ +
+
+ +
+
+ + + + + +
+ + + + +
XmlElement com.mxgraph.mxStencil.fgNode = null
+
+protected
+
+ +

Holds the XML node with the stencil description.

+ +
+
+ +
+
+ + + + + +
+ + + + +
double com.mxgraph.mxStencil.h0 = 100
+
+protected
+
+ +

Holds the height of the shape. Default is 100.

+ +
+
+ +
+
+ + + + + +
+ + + + +
double com.mxgraph.mxStencil.lastMoveX = 0
+
+protected
+
+ +

Holds the last x-position of the cursor.

+ +
+
+ +
+
+ + + + + +
+ + + + +
double com.mxgraph.mxStencil.lastMoveY = 0
+
+protected
+
+ +

Holds the last y-position of the cursor.

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxStencil.strokewidth = null
+
+protected
+
+ +

Holds the strokewidth direction from the description.

+ +
+
+ +
+
+ + + + + +
+ + + + +
double com.mxgraph.mxStencil.w0 = 100
+
+protected
+
+ +

Holds the width of the shape. Default is 100.

+ +
+
+

Property Documentation

+ +
+
+ + + + + +
+ + + + +
XmlElement com.mxgraph.mxStencil.Description
+
+getset
+
+ +

Sets or returns the description.

+ +
+
+
The documentation for this class was generated from the following file:
    +
  • src/canvas/mxStencil.cs
  • +
+
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStencilRegistry-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStencilRegistry-members.html new file mode 100644 index 000000000..0d9bd1e46 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStencilRegistry-members.html @@ -0,0 +1,67 @@ + + + + + + +mxGraph: Member List + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+
+
com.mxgraph.mxStencilRegistry Member List
+
+
+ +

This is the complete list of members for com.mxgraph.mxStencilRegistry, including all inherited members.

+ + + + +
AddStencil(string name, mxStencil stencil)com.mxgraph.mxStencilRegistryinlinestatic
GetStencil(string name)com.mxgraph.mxStencilRegistryinlinestatic
stencils (defined in com.mxgraph.mxStencilRegistry)com.mxgraph.mxStencilRegistryprotectedstatic
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStencilRegistry.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStencilRegistry.html new file mode 100644 index 000000000..6cf775c50 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStencilRegistry.html @@ -0,0 +1,164 @@ + + + + + + +mxGraph: com.mxgraph.mxStencilRegistry Class Reference + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+ +
+
com.mxgraph.mxStencilRegistry Class Reference
+
+
+ + + + + + + + +

+Static Public Member Functions

static void AddStencil (string name, mxStencil stencil)
 Adds the given stencil. More...
 
static mxStencil GetStencil (string name)
 Returns the stencil for the given name. More...
 
+ + + +

+Static Protected Attributes

+static Dictionary< string,
+mxStencil
stencils = new Dictionary<string, mxStencil>()
 
+

Member Function Documentation

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
static void com.mxgraph.mxStencilRegistry.AddStencil (string name,
mxStencil stencil 
)
+
+inlinestatic
+
+ +

Adds the given stencil.

+
Parameters
+ + + +
name
stencil
+
+
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
static mxStencil com.mxgraph.mxStencilRegistry.GetStencil (string name)
+
+inlinestatic
+
+ +

Returns the stencil for the given name.

+
Parameters
+ + +
name
+
+
+
Returns
+ +

Referenced by com.mxgraph.mxGdiCanvas.DrawCell(), and com.mxgraph.mxStencil.DrawElement().

+ +
+
+
The documentation for this class was generated from the following file:
    +
  • src/canvas/mxStencilRegistry.cs
  • +
+
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStyleRegistry-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStyleRegistry-members.html new file mode 100644 index 000000000..582236212 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStyleRegistry-members.html @@ -0,0 +1,68 @@ + + + + + + +mxGraph: Member List + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+
+
com.mxgraph.mxStyleRegistry Member List
+
+
+ +

This is the complete list of members for com.mxgraph.mxStyleRegistry, including all inherited members.

+ + + + + +
GetName(Object value)com.mxgraph.mxStyleRegistryinlinestatic
GetValue(String name)com.mxgraph.mxStyleRegistryinlinestatic
PutValue(String name, Object value)com.mxgraph.mxStyleRegistryinlinestatic
valuescom.mxgraph.mxStyleRegistryprotectedstatic
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStyleRegistry.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStyleRegistry.html new file mode 100644 index 000000000..d164fcb2d --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStyleRegistry.html @@ -0,0 +1,206 @@ + + + + + + +mxGraph: com.mxgraph.mxStyleRegistry Class Reference + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+ +
+
com.mxgraph.mxStyleRegistry Class Reference
+
+
+ +

Static class that acts as a global registry for codecs. See mxCodec for an example of using this class. + More...

+ + + + + + + + + + + +

+Static Public Member Functions

static void PutValue (String name, Object value)
 Puts the given object into the registry under the given name. More...
 
static Object GetValue (String name)
 Returns the value associated with the given name. More...
 
static String GetName (Object value)
 Returns the value associated with the given name. More...
 
+ + + + +

+Static Protected Attributes

static Dictionary< string, Object > values = new Dictionary<string, Object>()
 Maps from strings to objects. More...
 
+

Detailed Description

+

Static class that acts as a global registry for codecs. See mxCodec for an example of using this class.

+

Member Function Documentation

+ +
+
+ + + + + +
+ + + + + + + + +
static String com.mxgraph.mxStyleRegistry.GetName (Object value)
+
+inlinestatic
+
+ +

Returns the value associated with the given name.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
static Object com.mxgraph.mxStyleRegistry.GetValue (String name)
+
+inlinestatic
+
+ +

Returns the value associated with the given name.

+ +

Referenced by com.mxgraph.mxGraphView.GetEdgeStyle(), and com.mxgraph.mxGraphView.GetPerimeterFunction().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
static void com.mxgraph.mxStyleRegistry.PutValue (String name,
Object value 
)
+
+inlinestatic
+
+ +

Puts the given object into the registry under the given name.

+ +
+
+

Member Data Documentation

+ +
+
+ + + + + +
+ + + + +
Dictionary<string, Object> com.mxgraph.mxStyleRegistry.values = new Dictionary<string, Object>()
+
+staticprotected
+
+ +

Maps from strings to objects.

+ +
+
+
The documentation for this class was generated from the following file:
    +
  • src/view/mxStyleRegistry.cs
  • +
+
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStylesheet-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStylesheet-members.html new file mode 100644 index 000000000..fd5b31205 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStylesheet-members.html @@ -0,0 +1,74 @@ + + + + + + +mxGraph: Member List + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+
+
com.mxgraph.mxStylesheet Member List
+
+
+ +

This is the complete list of members for com.mxgraph.mxStylesheet, including all inherited members.

+ + + + + + + + + + + +
CreateDefaultEdgeStyle()com.mxgraph.mxStylesheetinlineprotected
CreateDefaultVertexStyle()com.mxgraph.mxStylesheetinlineprotected
DefaultEdgeStylecom.mxgraph.mxStylesheet
DefaultVertexStylecom.mxgraph.mxStylesheet
EMPTY_STYLEcom.mxgraph.mxStylesheetstatic
GetCellStyle(string name, Dictionary< string, Object > defaultStyle)com.mxgraph.mxStylesheetinline
mxStylesheet()com.mxgraph.mxStylesheetinline
PutCellStyle(string name, Dictionary< string, Object > style)com.mxgraph.mxStylesheetinline
stylescom.mxgraph.mxStylesheetprotected
Stylescom.mxgraph.mxStylesheet
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStylesheet.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStylesheet.html new file mode 100644 index 000000000..a792f3392 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStylesheet.html @@ -0,0 +1,412 @@ + + + + + + +mxGraph: com.mxgraph.mxStylesheet Class Reference + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+ +
+ +

Defines the appearance of the cells in a graph. + More...

+ + + + + + + + + + + +

+Public Member Functions

 mxStylesheet ()
 Constructs a new stylesheet and assigns default styles. More...
 
void PutCellStyle (string name, Dictionary< string, Object > style)
 Stores the specified style under the given name. More...
 
Dictionary< string, Object > GetCellStyle (string name, Dictionary< string, Object > defaultStyle)
 Returns the cell style for the specified cell or the given defaultStyle if no style can be found for the given stylename. More...
 
+ + + + +

+Static Public Attributes

static Dictionary< string, Object > EMPTY_STYLE = new Dictionary<string, Object>()
 Shared immutable empty dictionary (for undefined cell styles). More...
 
+ + + + + + + +

+Protected Member Functions

Dictionary< string, Object > CreateDefaultVertexStyle ()
 Creates and returns the default vertex style. More...
 
Dictionary< string, Object > CreateDefaultEdgeStyle ()
 Creates and returns the default edge style. More...
 
+ + + + +

+Protected Attributes

Dictionary< string, Dictionary
+< string, Object > > 
styles
 Maps from names to styles. More...
 
+ + + + + + + + + + +

+Properties

Dictionary< string, Dictionary
+< string, Object > > 
Styles [get, set]
 Sets or returns the map that contains the styles. More...
 
Dictionary< string, Object > DefaultVertexStyle [get, set]
 Sets or returns the default style for vertices. More...
 
Dictionary< string, Object > DefaultEdgeStyle [get, set]
 Sets or returns the default style for edges. More...
 
+

Detailed Description

+

Defines the appearance of the cells in a graph.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + +
+ + + + + + + +
com.mxgraph.mxStylesheet.mxStylesheet ()
+
+inline
+
+ +

Constructs a new stylesheet and assigns default styles.

+ +
+
+

Member Function Documentation

+ +
+
+ + + + + +
+ + + + + + + +
Dictionary<string, Object> com.mxgraph.mxStylesheet.CreateDefaultEdgeStyle ()
+
+inlineprotected
+
+
+ + + +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Dictionary<string, Object> com.mxgraph.mxStylesheet.GetCellStyle (string name,
Dictionary< string, Object > defaultStyle 
)
+
+inline
+
+ +

Returns the cell style for the specified cell or the given defaultStyle if no style can be found for the given stylename.

+
Parameters
+ + + +
nameString of the form [(stylename|key=value);] that represents the style.
defaultStyleDefault style to be returned if no style can be found.
+
+
+
Returns
Returns the style for the given formatted cell style.
+ +

References com.mxgraph.mxConstants.NONE.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxStylesheet.PutCellStyle (string name,
Dictionary< string, Object > style 
)
+
+inline
+
+ +

Stores the specified style under the given name.

+
Parameters
+ + + +
nameName for the style to be stored.
styleKey, value pairs that define the style.
+
+
+ +
+
+

Member Data Documentation

+ +
+
+ + + + + +
+ + + + +
Dictionary<string, Object> com.mxgraph.mxStylesheet.EMPTY_STYLE = new Dictionary<string, Object>()
+
+static
+
+ +

Shared immutable empty dictionary (for undefined cell styles).

+ +

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

+ +
+
+ +
+
+ + + + + +
+ + + + +
Dictionary<string, Dictionary<string, Object> > com.mxgraph.mxStylesheet.styles
+
+protected
+
+Initial value:
=
+
new Dictionary<string, Dictionary<string, Object>>()
+
+

Maps from names to styles.

+ +
+
+

Property Documentation

+ +
+
+ + + + + +
+ + + + +
Dictionary<string, Object> com.mxgraph.mxStylesheet.DefaultEdgeStyle
+
+getset
+
+ +

Sets or returns the default style for edges.

+ +
+
+ +
+
+ + + + + +
+ + + + +
Dictionary<string, Object> com.mxgraph.mxStylesheet.DefaultVertexStyle
+
+getset
+
+ +

Sets or returns the default style for vertices.

+ +
+
+ +
+
+ + + + + +
+ + + + +
Dictionary<string, Dictionary<string, Object> > com.mxgraph.mxStylesheet.Styles
+
+getset
+
+ +

Sets or returns the map that contains the styles.

+ +
+
+
The documentation for this class was generated from the following file:
    +
  • src/view/mxStylesheet.cs
  • +
+
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStylesheetCodec-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStylesheetCodec-members.html new file mode 100644 index 000000000..f39ac7b37 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStylesheetCodec-members.html @@ -0,0 +1,109 @@ + + + + + + +mxGraph: Member List + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+
+
com.mxgraph.mxStylesheetCodec Member List
+
+
+ +

This is the complete list of members for com.mxgraph.mxStylesheetCodec, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AddObjectValue(Object obj, String fieldname, Object value, Object template)com.mxgraph.mxObjectCodecinlineprotected
AfterDecode(mxCodec dec, XmlNode node, Object obj)com.mxgraph.mxObjectCodecinlinevirtual
AfterEncode(mxCodec enc, Object obj, XmlNode node)com.mxgraph.mxObjectCodecinlinevirtual
BeforeDecode(mxCodec dec, XmlNode node, Object obj)com.mxgraph.mxObjectCodecinlinevirtual
BeforeEncode(mxCodec enc, Object obj, XmlNode node)com.mxgraph.mxObjectCodecinlinevirtual
CloneTemplate(XmlNode node)com.mxgraph.mxObjectCodecinlineprotectedvirtual
ConvertValueFromXml(Type type, Object value)com.mxgraph.mxObjectCodecinlineprotectedvirtual
ConvertValueToXml(Object value)com.mxgraph.mxObjectCodecinlineprotectedvirtual
Decode(mxCodec dec, XmlNode node, Object into)com.mxgraph.mxStylesheetCodecinlinevirtual
com::mxgraph::mxObjectCodec.Decode(mxCodec dec, XmlNode node)com.mxgraph.mxObjectCodecinlinevirtual
DecodeAttribute(mxCodec dec, XmlNode attr, Object obj)com.mxgraph.mxObjectCodecinlineprotected
DecodeAttributes(mxCodec dec, XmlNode node, Object obj)com.mxgraph.mxObjectCodecinlineprotected
DecodeChild(mxCodec dec, XmlNode child, Object obj)com.mxgraph.mxObjectCodecinlineprotected
DecodeChildren(mxCodec dec, XmlNode node, Object obj)com.mxgraph.mxObjectCodecinlineprotected
DecodeNode(mxCodec dec, XmlNode node, Object obj)com.mxgraph.mxObjectCodecinlineprotected
Encode(mxCodec enc, Object obj)com.mxgraph.mxStylesheetCodecinlinevirtual
EncodeElements(mxCodec enc, Object obj, XmlNode node)com.mxgraph.mxObjectCodecinlineprotected
EncodeFields(mxCodec enc, Object obj, XmlNode node)com.mxgraph.mxObjectCodecinlineprotected
EncodeObject(mxCodec enc, Object obj, XmlNode node)com.mxgraph.mxObjectCodecinlineprotectedvirtual
EncodeValue(mxCodec enc, Object obj, string fieldname, Object value, XmlNode node)com.mxgraph.mxObjectCodecinlineprotected
excludecom.mxgraph.mxObjectCodecprotected
GetAttributeName(string fieldname)com.mxgraph.mxObjectCodecinlineprotected
GetFieldName(string attributename)com.mxgraph.mxObjectCodecinlineprotected
GetFieldTemplate(Object obj, String fieldname, XmlNode child)com.mxgraph.mxObjectCodecinlineprotected
GetFieldValue(Object obj, string name)com.mxgraph.mxObjectCodecinlineprotected
GetName()com.mxgraph.mxObjectCodecinline
getStringValue(KeyValuePair< string, Object > entry)com.mxgraph.mxStylesheetCodecinlineprotected
idrefscom.mxgraph.mxObjectCodecprotected
IsExcluded(Object obj, string attr, Object value, bool write)com.mxgraph.mxObjectCodecinlinevirtual
IsPrimitiveValue(Object value)com.mxgraph.mxObjectCodecinlineprotected
IsReference(Object obj, string attr, Object value, bool write)com.mxgraph.mxObjectCodecinlinevirtual
mappingcom.mxgraph.mxObjectCodecprotected
mxObjectCodec(Object template)com.mxgraph.mxObjectCodecinline
mxObjectCodec(Object template, string[] exclude, string[] idrefs, Dictionary< string, string > mapping)com.mxgraph.mxObjectCodecinline
mxStylesheetCodec()com.mxgraph.mxStylesheetCodecinline
mxStylesheetCodec(Object template)com.mxgraph.mxStylesheetCodecinline
mxStylesheetCodec(Object template, String[] exclude, String[] idrefs, Dictionary< string, string > mapping)com.mxgraph.mxStylesheetCodecinline
ProcessInclude(mxCodec dec, XmlNode node, Object into)com.mxgraph.mxObjectCodecinline
reversecom.mxgraph.mxObjectCodecprotected
SetFieldValue(Object obj, string name, Object value)com.mxgraph.mxObjectCodecinlineprotected
templatecom.mxgraph.mxObjectCodecprotected
Templatecom.mxgraph.mxObjectCodec
WriteAttribute(mxCodec enc, Object obj, string attr, Object value, XmlNode node)com.mxgraph.mxObjectCodecinlineprotected
WriteComplexAttribute(mxCodec enc, Object obj, string attr, Object value, XmlNode node)com.mxgraph.mxObjectCodecinlineprotected
WritePrimitiveAttribute(mxCodec enc, Object obj, string attr, Object value, XmlNode node)com.mxgraph.mxObjectCodecinlineprotected
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStylesheetCodec.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStylesheetCodec.html new file mode 100644 index 000000000..d7c8dcb71 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStylesheetCodec.html @@ -0,0 +1,444 @@ + + + + + + +mxGraph: com.mxgraph.mxStylesheetCodec Class Reference + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+ +
+
com.mxgraph.mxStylesheetCodec Class Reference
+
+
+ +

Codec for mxStylesheets. This class is created and registered dynamically at load time and used implicitely via mxCodec and the mxCodecRegistry. + More...

+
+Inheritance diagram for com.mxgraph.mxStylesheetCodec:
+
+
+ + +com.mxgraph.mxObjectCodec + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 mxStylesheetCodec ()
 Constructs a new stylesheet codec. More...
 
 mxStylesheetCodec (Object template)
 Constructs a new stylesheet codec for the given template. More...
 
 mxStylesheetCodec (Object template, String[] exclude, String[] idrefs, Dictionary< string, string > mapping)
 Constructs a new stylesheet codec for the given arguments. More...
 
override XmlNode Encode (mxCodec enc, Object obj)
 Encode the given mxStylesheet. More...
 
override Object Decode (mxCodec dec, XmlNode node, Object into)
 Decodes the given mxStylesheet. More...
 
- Public Member Functions inherited from com.mxgraph.mxObjectCodec
 mxObjectCodec (Object template)
 Constructs a new codec for the specified template object. More...
 
 mxObjectCodec (Object template, string[] exclude, string[] idrefs, Dictionary< string, string > mapping)
 Constructs a new codec for the specified template object. The variables in the optional exclude array are ignored by the codec. Variables in the optional idrefs array are turned into references in the XML. The optional mapping may be used to map from variable names to XML attributes. More...
 
string GetName ()
 Returns the name used for the nodenames and lookup of the codec when classes are encoded and nodes are decoded. For classes to work with this the codec registry automatically adds an alias for the classname if that is different than what this returns. The default implementation returns the classname of the template class. More...
 
virtual bool IsExcluded (Object obj, string attr, Object value, bool write)
 Returns true if the given attribute is to be ignored by the codec. This implementation returns true if the given fieldname is in exclude. More...
 
virtual bool IsReference (Object obj, string attr, Object value, bool write)
 Returns true if the given fieldname is to be treated as a textual reference (ID). This implementation returns true if the given fieldname is in idrefs. More...
 
virtual Object BeforeEncode (mxCodec enc, Object obj, XmlNode node)
 Hook for subclassers to pre-process the object before encoding. This returns the input object. The return value of this function is used in encode to perform the default encoding into the given node. More...
 
virtual XmlNode AfterEncode (mxCodec enc, Object obj, XmlNode node)
 Hook for subclassers to Receive-process the node for the given object after encoding and return the Receive-processed node. This implementation returns the input node. The return value of this method is returned to the encoder from encode. More...
 
virtual Object Decode (mxCodec dec, XmlNode node)
 Parses the given node into the object or returns a new object representing the given node. More...
 
bool ProcessInclude (mxCodec dec, XmlNode node, Object into)
 
virtual XmlNode BeforeDecode (mxCodec dec, XmlNode node, Object obj)
 Hook for subclassers to pre-process the node for the specified object and return the node to be used for further processing by decode. The object is created based on the template in the calling method and is never null. This implementation returns the input node. The return value of this function is used in decode to perform the default decoding into the given object. More...
 
virtual Object AfterDecode (mxCodec dec, XmlNode node, Object obj)
 Hook for subclassers to Receive-process the object after decoding. This implementation returns the given object without any changes. The return value of this method is returned to the decoder from decode. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Member Functions

string getStringValue (KeyValuePair< string, Object > entry)
 Returns the string for encoding the given value. More...
 
- Protected Member Functions inherited from com.mxgraph.mxObjectCodec
virtual Object CloneTemplate (XmlNode node)
 Returns a new instance of the template object for representing the given node. More...
 
virtual void EncodeObject (mxCodec enc, Object obj, XmlNode node)
 Encodes the value of each member in then given obj into the given node using encodeFields and encodeElements. More...
 
void EncodeFields (mxCodec enc, Object obj, XmlNode node)
 Encodes the members of the given object into the given node. More...
 
void EncodeElements (mxCodec enc, Object obj, XmlNode node)
 Encodes the child objects of arrays, dictionaries and enumerables. More...
 
void EncodeValue (mxCodec enc, Object obj, string fieldname, Object value, XmlNode 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. More...
 
bool IsPrimitiveValue (Object value)
 Returns true if the given object is a primitive value. More...
 
+void WriteAttribute (mxCodec enc, Object obj, string attr, Object value, XmlNode node)
 Writes the given value into node using writePrimitiveAttribute or writeComplexAttribute depending on the type of the value.
 
void WritePrimitiveAttribute (mxCodec enc, Object obj, string attr, Object value, XmlNode node)
 Writes the given value as an attribute of the given node. More...
 
void WriteComplexAttribute (mxCodec enc, Object obj, string attr, Object value, XmlNode node)
 Writes the given value as a child node of the given node. More...
 
virtual Object ConvertValueToXml (Object value)
 Converts true to "1" and false to "0". All other values are ignored. More...
 
virtual Object ConvertValueFromXml (Type type, Object value)
 Converts XML attribute values to object of the given type. More...
 
string GetAttributeName (string fieldname)
 Returns the XML node attribute name for the given C# field name. That is, it returns the mapping of the field name. More...
 
string GetFieldName (string attributename)
 Returns the C# field name for the given XML attribute name. That is, it returns the reverse mapping of the attribute name. More...
 
Object GetFieldValue (Object obj, string name)
 Returns the value of the field with the specified name in the specified object instance. More...
 
void SetFieldValue (Object obj, string name, Object value)
 Sets the value of the field with the specified name in the specified object instance. More...
 
void DecodeNode (mxCodec dec, XmlNode node, Object obj)
 Calls decodeAttributes and decodeChildren for the given node. More...
 
void DecodeAttributes (mxCodec dec, XmlNode node, Object obj)
 Decodes all attributes of the given node using decodeAttribute. More...
 
void DecodeAttribute (mxCodec dec, XmlNode attr, Object obj)
 Reads the given attribute into the specified object. More...
 
void DecodeChildren (mxCodec dec, XmlNode node, Object obj)
 Reads the given attribute into the specified object. More...
 
void DecodeChild (mxCodec dec, XmlNode child, Object obj)
 Reads the specified child into the given object. More...
 
Object GetFieldTemplate (Object obj, String fieldname, XmlNode child)
 Returns the template instance for the given field. This returns the value of the field, null if the value is an array or an empty collection if the value is a collection. The value is then used to populate the field for a new instance. For strongly typed languages it may be required to override this to return the correct collection instance based on the encoded child. More...
 
void AddObjectValue (Object obj, String fieldname, Object value, Object template)
 Sets the decoded child node as a value of the given object. If the object is a map, then the value is added with the given fieldname as a key. If the fieldname is not empty, then setFieldValue is called or else, if the object is a collection, the value is added to the collection. For strongly typed languages it may be required to override this with the correct code to add an entry to an object. More...
 
+ + + + + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Protected Attributes inherited from com.mxgraph.mxObjectCodec
Object template
 Holds the template object associated with this codec. More...
 
List< string > exclude
 Array containing the variable names that should be ignored by the codec. More...
 
List< string > idrefs
 Array containing the variable names that should be turned into or converted from references. See mxCodec.getId and mxCodec.getObject. More...
 
Dictionary< string, string > mapping
 Maps from from fieldnames to XML attribute names. More...
 
Dictionary< string, string > reverse
 Maps from from XML attribute names to fieldnames. More...
 
- Properties inherited from com.mxgraph.mxObjectCodec
Object Template [get]
 Returns the template object associated with this codec. More...
 
+

Detailed Description

+

Codec for mxStylesheets. This class is created and registered dynamically at load time and used implicitely via mxCodec and the mxCodecRegistry.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + +
+ + + + + + + +
com.mxgraph.mxStylesheetCodec.mxStylesheetCodec ()
+
+inline
+
+ +

Constructs a new stylesheet codec.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
com.mxgraph.mxStylesheetCodec.mxStylesheetCodec (Object template)
+
+inline
+
+ +

Constructs a new stylesheet codec for the given template.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
com.mxgraph.mxStylesheetCodec.mxStylesheetCodec (Object template,
String[] exclude,
String[] idrefs,
Dictionary< string, string > mapping 
)
+
+inline
+
+ +

Constructs a new stylesheet codec for the given arguments.

+ +
+
+

Member Function Documentation

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
override Object com.mxgraph.mxStylesheetCodec.Decode (mxCodec dec,
XmlNode node,
Object into 
)
+
+inlinevirtual
+
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
override XmlNode com.mxgraph.mxStylesheetCodec.Encode (mxCodec enc,
Object obj 
)
+
+inlinevirtual
+
+ +

Encode the given mxStylesheet.

+ +

Reimplemented from com.mxgraph.mxObjectCodec.

+ +

References com.mxgraph.mxCodec.Document.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
string com.mxgraph.mxStylesheetCodec.getStringValue (KeyValuePair< string, Object > entry)
+
+inlineprotected
+
+ +

Returns the string for encoding the given value.

+ +
+
+
The documentation for this class was generated from the following file:
    +
  • src/io/mxStylesheetCodec.cs
  • +
+
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStylesheetCodec.png b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStylesheetCodec.png new file mode 100644 index 0000000000000000000000000000000000000000..d96854c3bf5d690a15f1a1d28e8da94de3a6c299 GIT binary patch literal 781 zcmeAS@N?(olHy`uVBq!ia0vp^CxJMCgBeJ+6fWEYq$C1-LR|m<{|{uoc=NTi|Ih>= z3ycpOIKbL@M;^%KC<*clW&kPzfvcxNj2IZ0=6Jd|hEy=VoqKW85(OSt{_Cs${rA5o zC+ewiYun|$r=!kPvkO5bY*H$du1sg^RQbA8f1--#t-z{(60?t$ z{M;cmSNhZa2{|IwX1C4r3tCmy-@LPAzTzj1pQ`LtQ6jT*@@5@ao|0tzRj~fwl*s&e zDQnMnoF3O678|pl`S{tpavH<6J0=_bBiSxLpOw34+3JmxQ|8MG*>`l$55M@PdD9=q z4F}X`RmiHuTz$2A$)}pW6wAfeJ-Xf-c5VhL>{iLsUCZauG;!9x>y|fdf3H99=@R6Z zKX>+~pXD_^Z*SSFpZoF4a%FaS!__P6uGaj^-Tb8HOs&whbulh6Gk1mUR(ZMS-k$v` zCtug{duDyro}_U0zozGeXWO5D)tqquy`JYQr)HN)zb+|ET(a+r3MeF+8TPGXKcHJ8 zJ?Z#kJ&o;(l}&e8p4zD_E@S+%%#rEBbT&?hcqtWz+ROP1a`1!Qi+@qN<&plhlS##}O z%-8Gu(H@Vpmp|0+OnO@r>(V@bcI5-zf4_p}rRrn@Ltb53YWl1FHZCb4z8Bc^B#Tt; z-TQX)XN2kI+aC@033~3HhxJVPtKawBWDl4YFJ{G z6n)~?kKcCYr{etn+`MnCF6e2ww>0mMT7PZQBsKq!mnvRAE)KfBP9Y?C_qMDpSJyGi z@1NLoEA*>qas0BlYkCczt%^e#TYf#@{kD7d#rs#^pMPtuFuf?qs4BH6o@wW<-3(Tj q6&PQ5H?u6z|9dA>b7=|lU&cxIwDOGPowI;xm%-E3&t;ucLK6V^(sauJ literal 0 HcmV?d00001 diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxUtils-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxUtils-members.html new file mode 100644 index 000000000..96c277459 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxUtils-members.html @@ -0,0 +1,118 @@ + + + + + + +mxGraph: Member List + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+
+
com.mxgraph.mxUtils Member List
+
+
+ +

This is the complete list of members for com.mxgraph.mxUtils, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AddStylename(String style, String stylename)com.mxgraph.mxUtilsinline
ArcToCurves(double x0, double y0, double r1, double r2, double angle, double largeArcFlag, double sweepFlag, double x, double y)com.mxgraph.mxUtilsinlinestatic
CreateDocument()com.mxgraph.mxUtilsinlinestatic
CreateImage(int width, int height, Color?background)com.mxgraph.mxUtilsinlinestatic
Eval(string expression)com.mxgraph.mxUtilsinlinestatic
FillClippedRect(Graphics g, Brush brush, int x, int y, int width, int height)com.mxgraph.mxUtilsinlinestatic
FindNode(XmlNode node, String attr, String value)com.mxgraph.mxUtilsinlinestatic
GetBoundingBox(mxRectangle rect, double rotation)com.mxgraph.mxUtilsinlinestatic
GetColor(Dictionary< string, Object > dict, string key)com.mxgraph.mxUtilsinlinestatic
GetColor(Dictionary< string, Object > dict, string key, Color?defaultValue)com.mxgraph.mxUtilsinlinestatic
GetDouble(Dictionary< string, Object > dict, string key)com.mxgraph.mxUtilsinlinestatic
GetDouble(Dictionary< string, Object > dict, string key, double defaultValue)com.mxgraph.mxUtilsinlinestatic
GetFloat(Dictionary< string, Object > dict, string key)com.mxgraph.mxUtilsinlinestatic
GetFloat(Dictionary< string, Object > dict, string key, float defaultValue)com.mxgraph.mxUtilsinlinestatic
GetFont(Dictionary< string, Object > style)com.mxgraph.mxUtilsinlinestatic
GetFont(Dictionary< string, Object > style, double scale)com.mxgraph.mxUtilsinlinestatic
GetInt(Dictionary< string, Object > dict, string key)com.mxgraph.mxUtilsinlinestatic
GetInt(Dictionary< string, Object > dict, string key, int defaultValue)com.mxgraph.mxUtilsinlinestatic
GetLabelPaintBounds(String label, Dictionary< string, Object > style, bool isHtml, mxPoint offset, mxRectangle vertexBounds, double scale)com.mxgraph.mxUtilsinlinestatic
GetLabelSize(string label, Dictionary< string, Object > style, int width)com.mxgraph.mxUtilsinlinestatic
GetMd5Hash(string text)com.mxgraph.mxUtilsinlinestatic
GetPrettyXml(XmlNode node)com.mxgraph.mxUtilsinlinestatic
GetRotatedPoint(mxPoint pt, double cos, double sin)com.mxgraph.mxUtilsinlinestatic
GetRotatedPoint(mxPoint pt, double cos, double sin, mxPoint c)com.mxgraph.mxUtilsinlinestatic
GetScaledLabelBounds(double x, double y, mxRectangle size, double outerWidth, double outerHeight, Dictionary< string, Object > style, double scale)com.mxgraph.mxUtilsinlinestatic
GetSizeForString(String text, Font font)com.mxgraph.mxUtilsinlinestatic
GetSizeForString(String text, Font font, int width)com.mxgraph.mxUtilsinlinestatic
GetString(Dictionary< string, Object > dict, string key)com.mxgraph.mxUtilsinlinestatic
GetString(Dictionary< string, Object > dict, string key, string defaultValue)com.mxgraph.mxUtilsinlinestatic
GetStringFormat(Dictionary< string, Object > style)com.mxgraph.mxUtilsinlinestatic
GetStylename(String style)com.mxgraph.mxUtilsinlinestatic
GetStylenames(String style)com.mxgraph.mxUtilsinlinestatic
GetXml(XmlNode node)com.mxgraph.mxUtilsinlinestatic
GetXml(XmlNode node, Formatting formatting)com.mxgraph.mxUtilsinlinestatic
HtmlEntities(String text)com.mxgraph.mxUtilsinlinestatic
IndexOfStylename(String style, String stylename)com.mxgraph.mxUtilsinlinestatic
Intersection(double x0, double y0, double x1, double y1, double x2, double y2, double x3, double y3)com.mxgraph.mxUtilsinlinestatic
IsNode(Object value, String nodeName)com.mxgraph.mxUtilsinlinestatic
IsNode(Object value, String nodeName, String attributeName, String attributeValue)com.mxgraph.mxUtilsinlinestatic
IsTrue(Dictionary< string, Object > dict, string key)com.mxgraph.mxUtilsinlinestatic
IsTrue(Dictionary< string, Object > dict, string key, bool defaultValue)com.mxgraph.mxUtilsinlinestatic
LoadDocument(string uri)com.mxgraph.mxUtilsinlinestatic
LoadImage(String url)com.mxgraph.mxUtilsinlinestatic
ParseXml(string xml)com.mxgraph.mxUtilsinlinestatic
ReadFile(string filename)com.mxgraph.mxUtilsinlinestatic
RemoveAllStylenames(String style)com.mxgraph.mxUtilsinlinestatic
RemoveStylename(String style, String stylename)com.mxgraph.mxUtilsinline
SelectSingleNode(XmlDocument doc, string expression)com.mxgraph.mxUtilsinlinestatic
SetCellStyleFlags(mxIGraphModel model, Object[] cells, String key, int flag, Boolean value)com.mxgraph.mxUtilsinlinestatic
SetCellStyles(mxIGraphModel model, Object[] cells, String key, String value)com.mxgraph.mxUtilsinlinestatic
SetStyle(String style, String key, String value)com.mxgraph.mxUtilsinlinestatic
SetStyleFlag(String style, String key, int flag, bool?value)com.mxgraph.mxUtilsinlinestatic
ToRadians(double deg)com.mxgraph.mxUtilsinlinestatic
TranslatePoints(List< mxPoint > pts, double dx, double dy)com.mxgraph.mxUtilsinlinestatic
+ + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxUtils.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxUtils.html new file mode 100644 index 000000000..de818e3ab --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxUtils.html @@ -0,0 +1,2761 @@ + + + + + + +mxGraph: com.mxgraph.mxUtils Class Reference + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+ +
+
com.mxgraph.mxUtils Class Reference
+
+
+ +

Contains various helper methods for use with mxGraph. + More...

+ + + + + + + + +

+Public Member Functions

String AddStylename (String style, String stylename)
 Adds the specified stylename to the given style if it does not already contain the stylename. More...
 
String RemoveStylename (String style, String stylename)
 Removes all occurrences of the specified stylename in the given style and returns the updated style. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Static Public Member Functions

static mxRectangle GetLabelSize (string label, Dictionary< string, Object > style, int width)
 Returns the size of the given label. More...
 
static mxRectangle GetLabelPaintBounds (String label, Dictionary< string, Object > style, bool isHtml, mxPoint offset, mxRectangle vertexBounds, double scale)
 Returns the paint bounds for the given label. More...
 
static mxRectangle GetScaledLabelBounds (double x, double y, mxRectangle size, double outerWidth, double outerHeight, Dictionary< string, Object > style, double scale)
 Returns the bounds for a label for the given location and size, taking into account the alignment and spacing in the specified style, as well as the width and height of the rectangle that contains the label. (For edge labels this width and height is 0.) The scale is used to scale the given size and the spacings in the specified style. More...
 
static mxRectangle GetSizeForString (String text, Font font)
 Returns the size of the given text. More...
 
static mxRectangle GetSizeForString (String text, Font font, int width)
 Returns an mxRectangle with the size (width and height in pixels) of the given text. More...
 
static double ToRadians (double deg)
 Converts the given degree to radians. More...
 
static double[] ArcToCurves (double x0, double y0, double r1, double r2, double angle, double largeArcFlag, double sweepFlag, double x, double y)
 Converts the given arc to a series of curves. More...
 
static mxRectangle GetBoundingBox (mxRectangle rect, double rotation)
 Returns the bounding box of the rotated rectangle. More...
 
static mxPoint GetRotatedPoint (mxPoint pt, double cos, double sin)
 Rotates the given point by the given cos and sin. More...
 
static mxPoint GetRotatedPoint (mxPoint pt, double cos, double sin, mxPoint c)
 Rotates the given point by the given cos and sin. More...
 
static void FillClippedRect (Graphics g, Brush brush, int x, int y, int width, int height)
 
static Image CreateImage (int width, int height, Color?background)
 Creates an image for the given parameters. More...
 
static List< mxPointTranslatePoints (List< mxPoint > pts, double dx, double dy)
 Creates a new list of new points obtained by translating the points in the given list by the given vector. Elements that are not mxPoints are added to the result as-is. More...
 
static mxPoint Intersection (double x0, double y0, double x1, double y1, double x2, double y2, double x3, double y3)
 Returns the intersection of two lines as an mxPoint. More...
 
static String GetStylename (String 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. More...
 
static String[] GetStylenames (String 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. More...
 
static int IndexOfStylename (String style, String stylename)
 Returns the index of the given stylename in the given style. This returns -1 if the given stylename does not occur (as a stylename) in the given style, otherwise it returns the index of the first character. More...
 
static String RemoveAllStylenames (String style)
 Removes all stylenames from the given style and returns the updated style. More...
 
static void SetCellStyles (mxIGraphModel model, Object[] cells, String key, String 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. More...
 
static String SetStyle (String style, String key, String 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. More...
 
static void SetCellStyleFlags (mxIGraphModel model, Object[] cells, String key, int flag, Boolean value)
 Sets or toggles the flag bit for the given key in the cell's styles. If value is null then the flag is toggled. More...
 
static String SetStyleFlag (String style, String key, int flag, bool?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. More...
 
static bool IsTrue (Dictionary< string, Object > dict, string key)
 Returns true if the dictionary contains true for the given key or false if no value is defined for the key. More...
 
static bool IsTrue (Dictionary< string, Object > dict, string key, bool defaultValue)
 Returns true if the dictionary contains true for the given key or the given default value if no value is defined for the key. More...
 
static int GetInt (Dictionary< string, Object > dict, string key)
 Returns the value for key in dictionary as an int or 0 if no value is defined for the key. More...
 
static int GetInt (Dictionary< string, Object > dict, string key, int defaultValue)
 Returns the value for key in dictionary as an int or the given default value if no value is defined for the key. More...
 
static float GetFloat (Dictionary< string, Object > dict, string key)
 Returns the value for key in dictionary as a float or 0 if no value is defined for the key. More...
 
static float GetFloat (Dictionary< string, Object > dict, string key, float defaultValue)
 Returns the value for key in dictionary as a float or the given default value if no value is defined for the key. More...
 
static double GetDouble (Dictionary< string, Object > dict, string key)
 Returns the value for key in dictionary as a double or 0 if no value is defined for the key. More...
 
static double GetDouble (Dictionary< string, Object > dict, string key, double defaultValue)
 Returns the value for key in dictionary as a double or the given default value if no value is defined for the key. More...
 
static string GetString (Dictionary< string, Object > dict, string key)
 Returns the value for key in dictionary as a string or null if no value is defined for the key. More...
 
static string GetString (Dictionary< string, Object > dict, string key, string defaultValue)
 Returns the value for key in dictionary as a string or the given default value if no value is defined for the key. More...
 
static Color GetColor (Dictionary< string, Object > dict, string key)
 Returns the value for key in dictionary as a color or null if no value is defined for the key. More...
 
static Color GetColor (Dictionary< string, Object > dict, string key, Color?defaultValue)
 Returns the value for key in dictionary as a color or the given default value if no value is defined for the key. More...
 
static Font GetFont (Dictionary< string, Object > style)
 
static Font GetFont (Dictionary< string, Object > style, double scale)
 
static StringFormat GetStringFormat (Dictionary< string, Object > style)
 Creates a new StringFormat object for the given style. More...
 
static string ReadFile (string filename)
 Reads the given filename into a string. More...
 
static string GetMd5Hash (string text)
 Returns the Md5 hash for the given text. More...
 
static bool IsNode (Object value, String nodeName)
 Returns true if the given value is an XML node with the specified nodename. specified. More...
 
static bool IsNode (Object value, String nodeName, String attributeName, String attributeValue)
 Returns true if the user object is an XML node with the specified type and and the optional attribute has the specified value or is not specified. More...
 
static Image LoadImage (String url)
 Loads an image from the local filesystem, a data URI or any other URL. More...
 
static XmlDocument CreateDocument ()
 Returns a new, empty DOM document. More...
 
static XmlDocument LoadDocument (string uri)
 Returns a new DOM document for the given URI. More...
 
static XmlDocument ParseXml (string xml)
 Returns a document that represents the given XML string. More...
 
static XmlNode FindNode (XmlNode node, String attr, String value)
 Returns the first node where attr equals value. This implementation does not use XPath. More...
 
static XmlNode SelectSingleNode (XmlDocument doc, string expression)
 Returns a single node that matches the given XPath expression. More...
 
static Object Eval (string expression)
 Evaluates a Java expression to a class member using mxCodecRegistry. The range of supported expressions is limited to static class members such as mxEdgeStyle.ElbowConnector. More...
 
static String HtmlEntities (String text)
 Converts the ampersand, quote, prime, less-than and greater-than characters to their corresponding HTML entities in the given string. More...
 
static string GetXml (XmlNode node)
 Returns a string that represents the given node. More...
 
static string GetPrettyXml (XmlNode node)
 Returns a pretty-printed XML string for the given node. More...
 
static string GetXml (XmlNode node, Formatting formatting)
 Returns a pretty-printed XML string for the given node. More...
 
+

Detailed Description

+

Contains various helper methods for use with mxGraph.

+

Member Function Documentation

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
String com.mxgraph.mxUtils.AddStylename (String style,
String stylename 
)
+
+inline
+
+ +

Adds the specified stylename to the given style if it does not already contain the stylename.

+
Parameters
+ + + +
style
stylename
+
+
+
Returns
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
static double [] com.mxgraph.mxUtils.ArcToCurves (double x0,
double y0,
double r1,
double r2,
double angle,
double largeArcFlag,
double sweepFlag,
double x,
double y 
)
+
+inlinestatic
+
+ +

Converts the given arc to a series of curves.

+
Parameters
+ + + + + + + + + + +
x0
y0
r1
r2
angle
largeArcFlag
sweepFlag
x
y
+
+
+
Returns
+ +

Referenced by com.mxgraph.mxStencil.DrawElement().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
static XmlDocument com.mxgraph.mxUtils.CreateDocument ()
+
+inlinestatic
+
+ +

Returns a new, empty DOM document.

+
Returns
Returns a new DOM document.
+ +

Referenced by com.mxgraph.mxCodec.mxCodec().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
static Image com.mxgraph.mxUtils.CreateImage (int width,
int height,
Color? background 
)
+
+inlinestatic
+
+ +

Creates an image for the given parameters.

+
Parameters
+ + + + +
width
height
background
+
+
+
Returns
+ +

Referenced by com.mxgraph.mxImageCanvas.mxImageCanvas().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
static Object com.mxgraph.mxUtils.Eval (string expression)
+
+inlinestatic
+
+ +

Evaluates a Java expression to a class member using mxCodecRegistry. The range of supported expressions is limited to static class members such as mxEdgeStyle.ElbowConnector.

+
Parameters
+ + +
expression
+
+
+
Returns
+ +

References com.mxgraph.mxCodecRegistry.GetTypeForName().

+ +

Referenced by com.mxgraph.mxStylesheetCodec.Decode(), com.mxgraph.mxGraphView.GetEdgeStyle(), and com.mxgraph.mxGraphView.GetPerimeterFunction().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
static void com.mxgraph.mxUtils.FillClippedRect (Graphics g,
Brush brush,
int x,
int y,
int width,
int height 
)
+
+inlinestatic
+
+ +

+
Parameters
+ + + + + + + +
g
brush
x
y
width
height
+
+
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
static XmlNode com.mxgraph.mxUtils.FindNode (XmlNode node,
String attr,
String value 
)
+
+inlinestatic
+
+ +

Returns the first node where attr equals value. This implementation does not use XPath.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
static mxRectangle com.mxgraph.mxUtils.GetBoundingBox (mxRectangle rect,
double rotation 
)
+
+inlinestatic
+
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
static Color com.mxgraph.mxUtils.GetColor (Dictionary< string, Object > dict,
string key 
)
+
+inlinestatic
+
+ +

Returns the value for key in dictionary as a color or null if no value is defined for the key.

+
Parameters
+ + + +
dictDictionary that contains the key, value pairs.
keyKey whose value should be returned.
+
+
+
Returns
Returns the color value for key in dict.
+ +

Referenced by com.mxgraph.mxGdiCanvas.DrawLine(), com.mxgraph.mxGdiCanvas.DrawShape(), and com.mxgraph.mxGdiCanvas.DrawText().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
static Color com.mxgraph.mxUtils.GetColor (Dictionary< string, Object > dict,
string key,
Color? defaultValue 
)
+
+inlinestatic
+
+ +

Returns the value for key in dictionary as a color or the given default value if no value is defined for the key.

+
Parameters
+ + + + +
dictDictionary that contains the key, value pairs.
keyKey whose value should be returned.
defaultValueDefault value to return if the key is undefined.
+
+
+
Returns
Returns the color value for key in dict.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
static double com.mxgraph.mxUtils.GetDouble (Dictionary< string, Object > dict,
string key 
)
+
+inlinestatic
+
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
static double com.mxgraph.mxUtils.GetDouble (Dictionary< string, Object > dict,
string key,
double defaultValue 
)
+
+inlinestatic
+
+ +

Returns the value for key in dictionary as a double or the given default value if no value is defined for the key.

+
Parameters
+ + + + +
dictDictionary that contains the key, value pairs.
keyKey whose value should be returned.
defaultValueDefault value to return if the key is undefined.
+
+
+
Returns
Returns the double value for key in dict.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
static float com.mxgraph.mxUtils.GetFloat (Dictionary< string, Object > dict,
string key 
)
+
+inlinestatic
+
+ +

Returns the value for key in dictionary as a float or 0 if no value is defined for the key.

+
Parameters
+ + + +
dictDictionary that contains the key, value pairs.
keyKey whose value should be returned.
+
+
+
Returns
Returns the float value for key in dict.
+ +

Referenced by com.mxgraph.mxGdiCanvas.DrawCell(), com.mxgraph.mxGdiCanvas.DrawGlassEffect(), com.mxgraph.mxGdiCanvas.DrawLine(), com.mxgraph.mxGdiCanvas.DrawShape(), com.mxgraph.mxGdiCanvas.DrawText(), com.mxgraph.mxGraphView.GetRoutingCenterX(), and com.mxgraph.mxGraphView.GetRoutingCenterY().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
static float com.mxgraph.mxUtils.GetFloat (Dictionary< string, Object > dict,
string key,
float defaultValue 
)
+
+inlinestatic
+
+ +

Returns the value for key in dictionary as a float or the given default value if no value is defined for the key.

+
Parameters
+ + + + +
dictDictionary that contains the key, value pairs.
keyKey whose value should be returned.
defaultValueDefault value to return if the key is undefined.
+
+
+
Returns
Returns the float value for key in dict.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
static Font com.mxgraph.mxUtils.GetFont (Dictionary< string, Object > style)
+
+inlinestatic
+
+ +

+
Parameters
+ + +
style
+
+
+
Returns
+ +

Referenced by com.mxgraph.mxGdiCanvas.DrawText().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
static Font com.mxgraph.mxUtils.GetFont (Dictionary< string, Object > style,
double scale 
)
+
+inlinestatic
+
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
static int com.mxgraph.mxUtils.GetInt (Dictionary< string, Object > dict,
string key 
)
+
+inlinestatic
+
+ +

Returns the value for key in dictionary as an int or 0 if no value is defined for the key.

+
Parameters
+ + + +
dictDictionary that contains the key, value pairs.
keyKey whose value should be returned.
+
+
+
Returns
Returns the integer value for key in dict.
+ +

Referenced by com.mxgraph.mxGdiCanvas.DrawShape(), and com.mxgraph.mxGraphView.UpdateBoundingBox().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
static int com.mxgraph.mxUtils.GetInt (Dictionary< string, Object > dict,
string key,
int defaultValue 
)
+
+inlinestatic
+
+ +

Returns the value for key in dictionary as an int or the given default value if no value is defined for the key.

+
Parameters
+ + + + +
dictDictionary that contains the key, value pairs.
keyKey whose value should be returned.
defaultValueDefault value to return if the key is undefined.
+
+
+
Returns
Returns the integer value for key in dict.
+ +
+
+ + + +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
static mxRectangle com.mxgraph.mxUtils.GetLabelSize (string label,
Dictionary< string, Object > style,
int width 
)
+
+inlinestatic
+
+ +

Returns the size of the given label.

+ +

Referenced by com.mxgraph.mxUtils.GetLabelPaintBounds().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
static string com.mxgraph.mxUtils.GetMd5Hash (string text)
+
+inlinestatic
+
+ +

Returns the Md5 hash for the given text.

+
Parameters
+ + +
textString whose Md5 hash should be returned.
+
+
+
Returns
Returns the Md5 hash for the given text.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
static string com.mxgraph.mxUtils.GetPrettyXml (XmlNode node)
+
+inlinestatic
+
+ +

Returns a pretty-printed XML string for the given node.

+
Parameters
+ + +
nodeNode to return the XML for.
+
+
+
Returns
Returns a formatted XML string.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
static mxPoint com.mxgraph.mxUtils.GetRotatedPoint (mxPoint pt,
double cos,
double sin 
)
+
+inlinestatic
+
+ +

Rotates the given point by the given cos and sin.

+ +

Referenced by com.mxgraph.mxStencil.DrawShadow().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
static mxPoint com.mxgraph.mxUtils.GetRotatedPoint (mxPoint pt,
double cos,
double sin,
mxPoint c 
)
+
+inlinestatic
+
+ +

Rotates the given point by the given cos and sin.

+ +

References com.mxgraph.mxPoint.X, and com.mxgraph.mxPoint.Y.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
static mxRectangle com.mxgraph.mxUtils.GetScaledLabelBounds (double x,
double y,
mxRectangle size,
double outerWidth,
double outerHeight,
Dictionary< string, Object > style,
double scale 
)
+
+inlinestatic
+
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
static mxRectangle com.mxgraph.mxUtils.GetSizeForString (String text,
Font font 
)
+
+inlinestatic
+
+ +

Returns the size of the given text.

+
Parameters
+ + + +
textString whose size should be returned.
fontSpecifies the font that should be used.
+
+
+
Returns
Returns the size of the given text.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
static mxRectangle com.mxgraph.mxUtils.GetSizeForString (String text,
Font font,
int width 
)
+
+inlinestatic
+
+ +

Returns an mxRectangle with the size (width and height in pixels) of the given text.

+
Parameters
+ + + + +
textString whose size should be returned.
fontSpecifies the font that should be used.
widthSpecifies the width of the text block for word wrapping.
+
+
+
Returns
Returns the size of the given text.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
static string com.mxgraph.mxUtils.GetString (Dictionary< string, Object > dict,
string key 
)
+
+inlinestatic
+
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
static string com.mxgraph.mxUtils.GetString (Dictionary< string, Object > dict,
string key,
string defaultValue 
)
+
+inlinestatic
+
+ +

Returns the value for key in dictionary as a string or the given default value if no value is defined for the key.

+
Parameters
+ + + + +
dictDictionary that contains the key, value pairs.
keyKey whose value should be returned.
defaultValueDefault value to return if the key is undefined.
+
+
+
Returns
Returns the string value for key in dict.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
static StringFormat com.mxgraph.mxUtils.GetStringFormat (Dictionary< string, Object > style)
+
+inlinestatic
+
+
+ +
+
+ + + + + +
+ + + + + + + + +
static String com.mxgraph.mxUtils.GetStylename (String style)
+
+inlinestatic
+
+ +

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.

+
Parameters
+ + +
styleString of the form stylename[;key=value].
+
+
+
Returns
Returns the stylename from the given formatted string.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
static String [] com.mxgraph.mxUtils.GetStylenames (String style)
+
+inlinestatic
+
+ +

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.

+
Parameters
+ + +
styleString of the form stylename[;stylename][;key=value].
+
+
+
Returns
Returns the stylename from the given formatted string.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
static string com.mxgraph.mxUtils.GetXml (XmlNode node)
+
+inlinestatic
+
+ +

Returns a string that represents the given node.

+
Parameters
+ + +
nodeNode to return the XML for.
+
+
+
Returns
Returns an XML string.
+ +

Referenced by com.mxgraph.mxSharedDiagram.ProcessEdit().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
static string com.mxgraph.mxUtils.GetXml (XmlNode node,
Formatting formatting 
)
+
+inlinestatic
+
+ +

Returns a pretty-printed XML string for the given node.

+
Parameters
+ + + +
nodeNode to return the XML for.
formattingFormatting of the string to be returned.
+
+
+
Returns
Returns a formatted XML string.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
static String com.mxgraph.mxUtils.HtmlEntities (String text)
+
+inlinestatic
+
+ +

Converts the ampersand, quote, prime, less-than and greater-than characters to their corresponding HTML entities in the given string.

+
Parameters
+ + +
text
+
+
+
Returns
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
static int com.mxgraph.mxUtils.IndexOfStylename (String style,
String stylename 
)
+
+inlinestatic
+
+ +

Returns the index of the given stylename in the given style. This returns -1 if the given stylename does not occur (as a stylename) in the given style, otherwise it returns the index of the first character.

+
Parameters
+ + + +
style
stylename
+
+
+
Returns
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
static mxPoint com.mxgraph.mxUtils.Intersection (double x0,
double y0,
double x1,
double y1,
double x2,
double y2,
double x3,
double y3 
)
+
+inlinestatic
+
+ +

Returns the intersection of two lines as an mxPoint.

+
Parameters
+ + + + + + + + + +
x0X-coordinate of the first line's startpoint.
y0Y-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.
+
+
+
Returns
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
static bool com.mxgraph.mxUtils.IsNode (Object value,
String nodeName 
)
+
+inlinestatic
+
+ +

Returns true if the given value is an XML node with the specified nodename. specified.

+
Parameters
+ + + +
valueObject that represents the value to be tested.
nodeNameString that specifies the node name.
+
+
+
Returns
Returns true if the node name of the user object is equal to the given type.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
static bool com.mxgraph.mxUtils.IsNode (Object value,
String nodeName,
String attributeName,
String attributeValue 
)
+
+inlinestatic
+
+ +

Returns true if the user object is an XML node with the specified type and and the optional attribute has the specified value or is not specified.

+
Parameters
+ + + + + +
valueObject that represents the value to be tested.
nodeNameString that specifies the node name.
attributeNameOptional attribute name to check.
attributeValueOptional attribute value to check.
+
+
+
Returns
Returns true if the cell matches the given conditions.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
static bool com.mxgraph.mxUtils.IsTrue (Dictionary< string, Object > dict,
string key 
)
+
+inlinestatic
+
+ +

Returns true if the dictionary contains true for the given key or false if no value is defined for the key.

+
Parameters
+ + + +
dictDictionary that contains the key, value pairs.
keyKey whose value should be returned.
+
+
+
Returns
Returns the boolean value for key in dict.
+ +

Referenced by com.mxgraph.mxGdiCanvas.DrawCell(), com.mxgraph.mxGdiCanvas.DrawLine(), com.mxgraph.mxGdiCanvas.DrawShape(), com.mxgraph.mxGdiCanvas.DrawText(), com.mxgraph.mxGraph.GetConnectionConstraint(), com.mxgraph.mxGraphView.GetEdgeStyle(), com.mxgraph.mxGraph.GetLabel(), com.mxgraph.mxUtils.GetLabelPaintBounds(), com.mxgraph.mxGraph.HitsSwimlaneContent(), com.mxgraph.mxGraph.IsOrthogonal(), com.mxgraph.mxStencil.PaintShape(), com.mxgraph.mxGraphViewReader.ParseState(), and com.mxgraph.mxGraphView.UpdateBoundingBox().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
static bool com.mxgraph.mxUtils.IsTrue (Dictionary< string, Object > dict,
string key,
bool defaultValue 
)
+
+inlinestatic
+
+ +

Returns true if the dictionary contains true for the given key or the given default value if no value is defined for the key.

+
Parameters
+ + + + +
dictDictionary that contains the key, value pairs.
keyKey whose value should be returned.
defaultValueDefault value to return if the key is undefined.
+
+
+
Returns
Returns the boolean value for key in dict.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
static XmlDocument com.mxgraph.mxUtils.LoadDocument (string uri)
+
+inlinestatic
+
+ +

Returns a new DOM document for the given URI.

+
Parameters
+ + +
uriURI to parse into the document.
+
+
+
Returns
Returns a new DOM document for the given URI.
+ +

Referenced by com.mxgraph.mxObjectCodec.ProcessInclude().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
static Image com.mxgraph.mxUtils.LoadImage (String url)
+
+inlinestatic
+
+ +

Loads an image from the local filesystem, a data URI or any other URL.

+ +

Referenced by com.mxgraph.mxGdiCanvas.LoadImage(), and com.mxgraph.mxGdiCanvas2D.LoadImage().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
static XmlDocument com.mxgraph.mxUtils.ParseXml (string xml)
+
+inlinestatic
+
+ +

Returns a document that represents the given XML string.

+
Parameters
+ + +
xmlString that contains the XML markup.
+
+
+
Returns
Returns an XML document.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
static string com.mxgraph.mxUtils.ReadFile (string filename)
+
+inlinestatic
+
+ +

Reads the given filename into a string.

+
Parameters
+ + +
filenameName of the file to be read.
+
+
+
Returns
Returns a string representing the file contents.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
static String com.mxgraph.mxUtils.RemoveAllStylenames (String style)
+
+inlinestatic
+
+ +

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

+
Parameters
+ + +
style
+
+
+
Returns
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
String com.mxgraph.mxUtils.RemoveStylename (String style,
String stylename 
)
+
+inline
+
+ +

Removes all occurrences of the specified stylename in the given style and returns the updated style.

+
Parameters
+ + + +
style
stylename
+
+
+
Returns
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
static XmlNode com.mxgraph.mxUtils.SelectSingleNode (XmlDocument doc,
string expression 
)
+
+inlinestatic
+
+ +

Returns a single node that matches the given XPath expression.

+
Parameters
+ + + +
docDocument that contains the nodes.
expressionXPath expression to be matched.
+
+
+
Returns
Returns a single node matching the given expression.
+ +

Referenced by com.mxgraph.mxCodec.GetElementById().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
static void com.mxgraph.mxUtils.SetCellStyleFlags (mxIGraphModel model,
Object[] cells,
String key,
int flag,
Boolean value 
)
+
+inlinestatic
+
+ +

Sets or toggles the flag bit for the given key in the cell's styles. If value is null then the flag is toggled.

+
Parameters
+ + + + + + +
modelModel that contains the cells.
cellsArray of cells 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.
+
+
+ +

References com.mxgraph.mxIGraphModel.BeginUpdate(), com.mxgraph.mxIGraphModel.EndUpdate(), com.mxgraph.mxIGraphModel.GetStyle(), and com.mxgraph.mxIGraphModel.SetStyle().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
static void com.mxgraph.mxUtils.SetCellStyles (mxIGraphModel model,
Object[] cells,
String key,
String value 
)
+
+inlinestatic
+
+ +

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
+ + + + + +
modelModel to execute the transaction in.
cellsArray of cells to be updated.
keyKey of the style to be changed.
valueNew value for the given key.
+
+
+ +

References com.mxgraph.mxIGraphModel.BeginUpdate(), com.mxgraph.mxIGraphModel.EndUpdate(), com.mxgraph.mxIGraphModel.GetStyle(), and com.mxgraph.mxIGraphModel.SetStyle().

+ +

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

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
static String com.mxgraph.mxUtils.SetStyle (String style,
String key,
String value 
)
+
+inlinestatic
+
+ +

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.

+
Parameters
+ + + + +
styleString of the form stylename[;key=value].
keyKey of the style to be changed.
valueNew value for the given key.
+
+
+
Returns
Returns the new style.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
static String com.mxgraph.mxUtils.SetStyleFlag (String style,
String key,
int flag,
bool? value 
)
+
+inlinestatic
+
+ +

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.
+
+
+
Returns
Returns the new style.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
static double com.mxgraph.mxUtils.ToRadians (double deg)
+
+inlinestatic
+
+ +

Converts the given degree to radians.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
static List<mxPoint> com.mxgraph.mxUtils.TranslatePoints (List< mxPointpts,
double dx,
double dy 
)
+
+inlinestatic
+
+ +

Creates a new list of new points obtained by translating the points in the given list by the given vector. Elements that are not mxPoints are added to the result as-is.

+
Parameters
+ + + + +
pts
dx
dy
+
+
+
Returns
+ +

References com.mxgraph.mxPoint.Clone(), com.mxgraph.mxPoint.X, and com.mxgraph.mxPoint.Y.

+ +
+
+
The documentation for this class was generated from the following file:
    +
  • src/utils/mxUtils.cs
  • +
+
+ + + + diff --git a/dotnet/docs/html/classes.html b/dotnet/docs/html/classes.html new file mode 100644 index 000000000..10a9ad7ad --- /dev/null +++ b/dotnet/docs/html/classes.html @@ -0,0 +1,75 @@ + + + + + + +mxGraph: Class Index + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + +
+
+
+
Class Index
+
+
+
C | I | M
+ + + + + + + + + + + + +
  C  
+
mxCell (com.mxgraph)   mxFastOrganicLayout (com.mxgraph)   mxICanvas2D (com.mxgraph)   mxRectangle (com.mxgraph)   
mxCellCodec (com.mxgraph)   mxGdiCanvas (com.mxgraph)   mxICell (com.mxgraph)   mxSaxOutputHandler (com.mxgraph)   
mxCellRenderer.CanvasFactory (com.mxgraph)   mxCellPath (com.mxgraph)   mxGdiCanvas2D (com.mxgraph)   mxIGraphLayout (com.mxgraph)   mxSession (com.mxgraph)   
mxGdiCanvas2D.CanvasState (com.mxgraph)   mxCellRenderer (com.mxgraph)   mxGeometry (com.mxgraph)   mxIGraphModel (com.mxgraph)   mxSharedDiagram (com.mxgraph)   
  I  
+
mxCellState (com.mxgraph)   mxGraph (com.mxgraph)   mxImageBundle (com.mxgraph)   mxStencil (com.mxgraph)   
mxCodec (com.mxgraph)   mxGraphModel (com.mxgraph)   mxImageCanvas (com.mxgraph)   mxStencilRegistry (com.mxgraph)   
mxCellRenderer.ImageCanvasFactory (com.mxgraph)   mxCodecRegistry (com.mxgraph)   mxGraphView (com.mxgraph)   mxModelCodec (com.mxgraph)   mxStyleRegistry (com.mxgraph)   
  M  
+
mxConnectionConstraint (com.mxgraph)   mxGraphViewImageReader (com.mxgraph)   mxObjectCodec (com.mxgraph)   mxStylesheet (com.mxgraph)   
mxConstants (com.mxgraph)   mxGraphViewReader (com.mxgraph)   mxPerimeter (com.mxgraph)   mxStylesheetCodec (com.mxgraph)   
mxBasicCanvas (com.mxgraph)   mxEdgeStyle (com.mxgraph)   mxICanvas (com.mxgraph)   mxPoint (com.mxgraph)   mxUtils (com.mxgraph)   
+
C | I | M
+
+ + + + diff --git a/dotnet/docs/html/closed.png b/dotnet/docs/html/closed.png new file mode 100644 index 0000000000000000000000000000000000000000..98cc2c909da37a6df914fbf67780eebd99c597f5 GIT binary patch literal 132 zcmeAS@N?(olHy`uVBq!ia0vp^oFL4>1|%O$WD@{V-kvUwAr*{o@8{^CZMh(5KoB^r_<4^zF@3)Cp&&t3hdujKf f*?bjBoY!V+E))@{xMcbjXe@)LtDnm{r-UW|*e5JT literal 0 HcmV?d00001 diff --git a/dotnet/docs/html/dir_313caf1132e152dd9b58bea13a4052ca.html b/dotnet/docs/html/dir_313caf1132e152dd9b58bea13a4052ca.html new file mode 100644 index 000000000..35fa2b918 --- /dev/null +++ b/dotnet/docs/html/dir_313caf1132e152dd9b58bea13a4052ca.html @@ -0,0 +1,70 @@ + + + + + + +mxGraph: src/utils Directory Reference + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + +
+
+
+
utils Directory Reference
+
+
+ + + + + + + + + + + + + + +

+Files

file  mxCellRenderer.cs
 
file  mxConstants.cs
 
file  mxImageBundle.cs
 
file  mxPoint.cs
 
file  mxRectangle.cs
 
file  mxUtils.cs
 
+
+ + + + diff --git a/dotnet/docs/html/dir_5dd65160827af56e6353642206b80129.html b/dotnet/docs/html/dir_5dd65160827af56e6353642206b80129.html new file mode 100644 index 000000000..48440cd06 --- /dev/null +++ b/dotnet/docs/html/dir_5dd65160827af56e6353642206b80129.html @@ -0,0 +1,70 @@ + + + + + + +mxGraph: src/model Directory Reference + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + +
+
+
+
model Directory Reference
+
+
+ + + + + + + + + + + + + + +

+Files

file  mxCell.cs
 
file  mxCellPath.cs
 
file  mxGeometry.cs
 
file  mxGraphModel.cs
 
file  mxICell.cs
 
file  mxIGraphModel.cs
 
+
+ + + + diff --git a/dotnet/docs/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html b/dotnet/docs/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html new file mode 100644 index 000000000..e3a588ed5 --- /dev/null +++ b/dotnet/docs/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html @@ -0,0 +1,74 @@ + + + + + + +mxGraph: src Directory Reference + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + +
+
+
+
src Directory Reference
+
+
+ + + + + + + + + + + + + + + + + + +

+Directories

directory  canvas
 
directory  io
 
directory  layout
 
directory  model
 
directory  reader
 
directory  sharing
 
directory  utils
 
directory  view
 
+
+ + + + diff --git a/dotnet/docs/html/dir_af89b2be539cdaaafaad341d1e56977e.html b/dotnet/docs/html/dir_af89b2be539cdaaafaad341d1e56977e.html new file mode 100644 index 000000000..b7fc743c2 --- /dev/null +++ b/dotnet/docs/html/dir_af89b2be539cdaaafaad341d1e56977e.html @@ -0,0 +1,64 @@ + + + + + + +mxGraph: src/reader Directory Reference + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + +
+
+
+
reader Directory Reference
+
+
+ + + + + + + + +

+Files

file  mxGraphViewImageReader.cs
 
file  mxGraphViewReader.cs
 
file  mxSaxOutputHandler.cs
 
+
+ + + + diff --git a/dotnet/docs/html/dir_b39b5091e8d1d2be4b7fc59d57749634.html b/dotnet/docs/html/dir_b39b5091e8d1d2be4b7fc59d57749634.html new file mode 100644 index 000000000..b6c6102ea --- /dev/null +++ b/dotnet/docs/html/dir_b39b5091e8d1d2be4b7fc59d57749634.html @@ -0,0 +1,74 @@ + + + + + + +mxGraph: src/view Directory Reference + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + +
+
+
+
view Directory Reference
+
+
+ + + + + + + + + + + + + + + + + + +

+Files

file  mxCellState.cs
 
file  mxConnectionConstraint.cs
 
file  mxEdgeStyle.cs
 
file  mxGraph.cs
 
file  mxGraphView.cs
 
file  mxPerimeter.cs
 
file  mxStyleRegistry.cs
 
file  mxStylesheet.cs
 
+
+ + + + diff --git a/dotnet/docs/html/dir_be08f49106430b8079ea166c74b16fe8.html b/dotnet/docs/html/dir_be08f49106430b8079ea166c74b16fe8.html new file mode 100644 index 000000000..1b4463078 --- /dev/null +++ b/dotnet/docs/html/dir_be08f49106430b8079ea166c74b16fe8.html @@ -0,0 +1,62 @@ + + + + + + +mxGraph: src/sharing Directory Reference + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + +
+
+
+
sharing Directory Reference
+
+
+ + + + + + +

+Files

file  mxSession.cs
 
file  mxSharedState.cs
 
+
+ + + + diff --git a/dotnet/docs/html/dir_c184e51c84f2c3f0345bbc8a0d75d3e1.html b/dotnet/docs/html/dir_c184e51c84f2c3f0345bbc8a0d75d3e1.html new file mode 100644 index 000000000..249f51ac8 --- /dev/null +++ b/dotnet/docs/html/dir_c184e51c84f2c3f0345bbc8a0d75d3e1.html @@ -0,0 +1,70 @@ + + + + + + +mxGraph: src/io Directory Reference + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + +
+
+
+
io Directory Reference
+
+
+ + + + + + + + + + + + + + +

+Files

file  mxCellCodec.cs
 
file  mxCodec.cs
 
file  mxCodecRegistry.cs
 
file  mxModelCodec.cs
 
file  mxObjectCodec.cs
 
file  mxStylesheetCodec.cs
 
+
+ + + + diff --git a/dotnet/docs/html/dir_eb63608ab2ddc08e14808990907a274d.html b/dotnet/docs/html/dir_eb63608ab2ddc08e14808990907a274d.html new file mode 100644 index 000000000..fa3f57faa --- /dev/null +++ b/dotnet/docs/html/dir_eb63608ab2ddc08e14808990907a274d.html @@ -0,0 +1,74 @@ + + + + + + +mxGraph: src/canvas Directory Reference + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + +
+
+
+
canvas Directory Reference
+
+
+ + + + + + + + + + + + + + + + + + +

+Files

file  mxBasicCanvas.cs
 
file  mxGdiCanvas.cs
 
file  mxGdiCanvas2D.cs
 
file  mxICanvas.cs
 
file  mxICanvas2D.cs
 
file  mxImageCanvas.cs
 
file  mxStencil.cs
 
file  mxStencilRegistry.cs
 
+
+ + + + diff --git a/dotnet/docs/html/dir_f2b3bec0b800804983017014eef9ca7d.html b/dotnet/docs/html/dir_f2b3bec0b800804983017014eef9ca7d.html new file mode 100644 index 000000000..42d778ea3 --- /dev/null +++ b/dotnet/docs/html/dir_f2b3bec0b800804983017014eef9ca7d.html @@ -0,0 +1,62 @@ + + + + + + +mxGraph: src/layout Directory Reference + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + +
+
+
+
layout Directory Reference
+
+
+ + + + + + +

+Files

file  mxFastOrganicLayout.cs
 
file  mxIGraphLayout.cs
 
+
+ + + + diff --git a/dotnet/docs/html/doxygen.css b/dotnet/docs/html/doxygen.css new file mode 100644 index 000000000..3ac285113 --- /dev/null +++ b/dotnet/docs/html/doxygen.css @@ -0,0 +1,1186 @@ +/* The standard CSS for doxygen 1.8.4 */ + +body, table, div, p, dl { + font: 400 14px/22px Roboto,sans-serif; +} + +/* @group Heading Levels */ + +h1.groupheader { + font-size: 150%; +} + +.title { + font: 400 14px/28px Roboto,sans-serif; + font-size: 150%; + font-weight: bold; + margin: 10px 2px; +} + +h2.groupheader { + border-bottom: 1px solid #879ECB; + color: #354C7B; + font-size: 150%; + font-weight: normal; + margin-top: 1.75em; + padding-top: 8px; + padding-bottom: 4px; + width: 100%; +} + +h3.groupheader { + font-size: 100%; +} + +h1, h2, h3, h4, h5, h6 { + -webkit-transition: text-shadow 0.5s linear; + -moz-transition: text-shadow 0.5s linear; + -ms-transition: text-shadow 0.5s linear; + -o-transition: text-shadow 0.5s linear; + transition: text-shadow 0.5s linear; + margin-right: 15px; +} + +h1.glow, h2.glow, h3.glow, h4.glow, h5.glow, h6.glow { + text-shadow: 0 0 15px cyan; +} + +dt { + font-weight: bold; +} + +div.multicol { + -moz-column-gap: 1em; + -webkit-column-gap: 1em; + -moz-column-count: 3; + -webkit-column-count: 3; +} + +p.startli, p.startdd, p.starttd { + margin-top: 2px; +} + +p.endli { + margin-bottom: 0px; +} + +p.enddd { + margin-bottom: 4px; +} + +p.endtd { + margin-bottom: 2px; +} + +/* @end */ + +caption { + font-weight: bold; +} + +span.legend { + font-size: 70%; + text-align: center; +} + +h3.version { + font-size: 90%; + text-align: center; +} + +div.qindex, div.navtab{ + background-color: #EBEFF6; + border: 1px solid #A3B4D7; + text-align: center; +} + +div.qindex, div.navpath { + width: 100%; + line-height: 140%; +} + +div.navtab { + margin-right: 15px; +} + +/* @group Link Styling */ + +a { + color: #3D578C; + font-weight: normal; + text-decoration: none; +} + +.contents a:visited { + color: #4665A2; +} + +a:hover { + text-decoration: underline; +} + +a.qindex { + font-weight: bold; +} + +a.qindexHL { + font-weight: bold; + background-color: #9CAFD4; + color: #ffffff; + border: 1px double #869DCA; +} + +.contents a.qindexHL:visited { + color: #ffffff; +} + +a.el { + font-weight: bold; +} + +a.elRef { +} + +a.code, a.code:visited { + color: #4665A2; +} + +a.codeRef, a.codeRef:visited { + color: #4665A2; +} + +/* @end */ + +dl.el { + margin-left: -1cm; +} + +pre.fragment { + border: 1px solid #C4CFE5; + background-color: #FBFCFD; + padding: 4px 6px; + margin: 4px 8px 4px 2px; + overflow: auto; + word-wrap: break-word; + font-size: 9pt; + line-height: 125%; + font-family: monospace, fixed; + font-size: 105%; +} + +div.fragment { + padding: 0px; + margin: 0px; + background-color: #FBFCFD; + border: 1px solid #C4CFE5; +} + +div.line { + font-family: monospace, fixed; + font-size: 13px; + min-height: 13px; + line-height: 1.0; + text-wrap: unrestricted; + white-space: -moz-pre-wrap; /* Moz */ + white-space: -pre-wrap; /* Opera 4-6 */ + white-space: -o-pre-wrap; /* Opera 7 */ + white-space: pre-wrap; /* CSS3 */ + word-wrap: break-word; /* IE 5.5+ */ + text-indent: -53px; + padding-left: 53px; + padding-bottom: 0px; + margin: 0px; + -webkit-transition-property: background-color, box-shadow; + -webkit-transition-duration: 0.5s; + -moz-transition-property: background-color, box-shadow; + -moz-transition-duration: 0.5s; + -ms-transition-property: background-color, box-shadow; + -ms-transition-duration: 0.5s; + -o-transition-property: background-color, box-shadow; + -o-transition-duration: 0.5s; + transition-property: background-color, box-shadow; + transition-duration: 0.5s; +} + +div.line.glow { + background-color: cyan; + box-shadow: 0 0 10px cyan; +} + + +span.lineno { + padding-right: 4px; + text-align: right; + border-right: 2px solid #0F0; + background-color: #E8E8E8; + white-space: pre; +} +span.lineno a { + background-color: #D8D8D8; +} + +span.lineno a:hover { + background-color: #C8C8C8; +} + +div.ah { + background-color: black; + font-weight: bold; + color: #ffffff; + margin-bottom: 3px; + margin-top: 3px; + padding: 0.2em; + border: solid thin #333; + border-radius: 0.5em; + -webkit-border-radius: .5em; + -moz-border-radius: .5em; + box-shadow: 2px 2px 3px #999; + -webkit-box-shadow: 2px 2px 3px #999; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; + background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#000),color-stop(0.3, #444)); + background-image: -moz-linear-gradient(center top, #eee 0%, #444 40%, #000); +} + +div.groupHeader { + margin-left: 16px; + margin-top: 12px; + font-weight: bold; +} + +div.groupText { + margin-left: 16px; + font-style: italic; +} + +body { + background-color: white; + color: black; + margin: 0; +} + +div.contents { + margin-top: 10px; + margin-left: 12px; + margin-right: 8px; +} + +td.indexkey { + background-color: #EBEFF6; + font-weight: bold; + border: 1px solid #C4CFE5; + margin: 2px 0px 2px 0; + padding: 2px 10px; + white-space: nowrap; + vertical-align: top; +} + +td.indexvalue { + background-color: #EBEFF6; + border: 1px solid #C4CFE5; + padding: 2px 10px; + margin: 2px 0px; +} + +tr.memlist { + background-color: #EEF1F7; +} + +p.formulaDsp { + text-align: center; +} + +img.formulaDsp { + +} + +img.formulaInl { + vertical-align: middle; +} + +div.center { + text-align: center; + margin-top: 0px; + margin-bottom: 0px; + padding: 0px; +} + +div.center img { + border: 0px; +} + +address.footer { + text-align: right; + padding-right: 12px; +} + +img.footer { + border: 0px; + vertical-align: middle; +} + +/* @group Code Colorization */ + +span.keyword { + color: #008000 +} + +span.keywordtype { + color: #604020 +} + +span.keywordflow { + color: #e08000 +} + +span.comment { + color: #800000 +} + +span.preprocessor { + color: #806020 +} + +span.stringliteral { + color: #002080 +} + +span.charliteral { + color: #008080 +} + +span.vhdldigit { + color: #ff00ff +} + +span.vhdlchar { + color: #000000 +} + +span.vhdlkeyword { + color: #700070 +} + +span.vhdllogic { + color: #ff0000 +} + +blockquote { + background-color: #F7F8FB; + border-left: 2px solid #9CAFD4; + margin: 0 24px 0 4px; + padding: 0 12px 0 16px; +} + +/* @end */ + +/* +.search { + color: #003399; + font-weight: bold; +} + +form.search { + margin-bottom: 0px; + margin-top: 0px; +} + +input.search { + font-size: 75%; + color: #000080; + font-weight: normal; + background-color: #e8eef2; +} +*/ + +td.tiny { + font-size: 75%; +} + +.dirtab { + padding: 4px; + border-collapse: collapse; + border: 1px solid #A3B4D7; +} + +th.dirtab { + background: #EBEFF6; + font-weight: bold; +} + +hr { + height: 0px; + border: none; + border-top: 1px solid #4A6AAA; +} + +hr.footer { + height: 1px; +} + +/* @group Member Descriptions */ + +table.memberdecls { + border-spacing: 0px; + padding: 0px; +} + +.memberdecls td, .fieldtable tr { + -webkit-transition-property: background-color, box-shadow; + -webkit-transition-duration: 0.5s; + -moz-transition-property: background-color, box-shadow; + -moz-transition-duration: 0.5s; + -ms-transition-property: background-color, box-shadow; + -ms-transition-duration: 0.5s; + -o-transition-property: background-color, box-shadow; + -o-transition-duration: 0.5s; + transition-property: background-color, box-shadow; + transition-duration: 0.5s; +} + +.memberdecls td.glow, .fieldtable tr.glow { + background-color: cyan; + box-shadow: 0 0 15px cyan; +} + +.mdescLeft, .mdescRight, +.memItemLeft, .memItemRight, +.memTemplItemLeft, .memTemplItemRight, .memTemplParams { + background-color: #F9FAFC; + border: none; + margin: 4px; + padding: 1px 0 0 8px; +} + +.mdescLeft, .mdescRight { + padding: 0px 8px 4px 8px; + color: #555; +} + +.memSeparator { + border-bottom: 1px solid #DEE4F0; + line-height: 1px; + margin: 0px; + padding: 0px; +} + +.memItemLeft, .memTemplItemLeft { + white-space: nowrap; +} + +.memItemRight { + width: 100%; +} + +.memTemplParams { + color: #4665A2; + white-space: nowrap; + font-size: 80%; +} + +/* @end */ + +/* @group Member Details */ + +/* Styles for detailed member documentation */ + +.memtemplate { + font-size: 80%; + color: #4665A2; + font-weight: normal; + margin-left: 9px; +} + +.memnav { + background-color: #EBEFF6; + border: 1px solid #A3B4D7; + text-align: center; + margin: 2px; + margin-right: 15px; + padding: 2px; +} + +.mempage { + width: 100%; +} + +.memitem { + padding: 0; + margin-bottom: 10px; + margin-right: 5px; + -webkit-transition: box-shadow 0.5s linear; + -moz-transition: box-shadow 0.5s linear; + -ms-transition: box-shadow 0.5s linear; + -o-transition: box-shadow 0.5s linear; + transition: box-shadow 0.5s linear; + display: table !important; + width: 100%; +} + +.memitem.glow { + box-shadow: 0 0 15px cyan; +} + +.memname { + font-weight: bold; + margin-left: 6px; +} + +.memname td { + vertical-align: bottom; +} + +.memproto, dl.reflist dt { + border-top: 1px solid #A8B8D9; + border-left: 1px solid #A8B8D9; + border-right: 1px solid #A8B8D9; + padding: 6px 0px 6px 0px; + color: #253555; + font-weight: bold; + text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); + background-image:url('nav_f.png'); + background-repeat:repeat-x; + background-color: #E2E8F2; + /* opera specific markup */ + box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + border-top-right-radius: 4px; + border-top-left-radius: 4px; + /* firefox specific markup */ + -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; + -moz-border-radius-topright: 4px; + -moz-border-radius-topleft: 4px; + /* webkit specific markup */ + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + -webkit-border-top-right-radius: 4px; + -webkit-border-top-left-radius: 4px; + +} + +.memdoc, dl.reflist dd { + border-bottom: 1px solid #A8B8D9; + border-left: 1px solid #A8B8D9; + border-right: 1px solid #A8B8D9; + padding: 6px 10px 2px 10px; + background-color: #FBFCFD; + border-top-width: 0; + background-image:url('nav_g.png'); + background-repeat:repeat-x; + background-color: #FFFFFF; + /* opera specific markup */ + border-bottom-left-radius: 4px; + border-bottom-right-radius: 4px; + box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + /* firefox specific markup */ + -moz-border-radius-bottomleft: 4px; + -moz-border-radius-bottomright: 4px; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; + /* webkit specific markup */ + -webkit-border-bottom-left-radius: 4px; + -webkit-border-bottom-right-radius: 4px; + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); +} + +dl.reflist dt { + padding: 5px; +} + +dl.reflist dd { + margin: 0px 0px 10px 0px; + padding: 5px; +} + +.paramkey { + text-align: right; +} + +.paramtype { + white-space: nowrap; +} + +.paramname { + color: #602020; + white-space: nowrap; +} +.paramname em { + font-style: normal; +} +.paramname code { + line-height: 14px; +} + +.params, .retval, .exception, .tparams { + margin-left: 0px; + padding-left: 0px; +} + +.params .paramname, .retval .paramname { + font-weight: bold; + vertical-align: top; +} + +.params .paramtype { + font-style: italic; + vertical-align: top; +} + +.params .paramdir { + font-family: "courier new",courier,monospace; + vertical-align: top; +} + +table.mlabels { + border-spacing: 0px; +} + +td.mlabels-left { + width: 100%; + padding: 0px; +} + +td.mlabels-right { + vertical-align: bottom; + padding: 0px; + white-space: nowrap; +} + +span.mlabels { + margin-left: 8px; +} + +span.mlabel { + background-color: #728DC1; + border-top:1px solid #5373B4; + border-left:1px solid #5373B4; + border-right:1px solid #C4CFE5; + border-bottom:1px solid #C4CFE5; + text-shadow: none; + color: white; + margin-right: 4px; + padding: 2px 3px; + border-radius: 3px; + font-size: 7pt; + white-space: nowrap; + vertical-align: middle; +} + + + +/* @end */ + +/* these are for tree view when not used as main index */ + +div.directory { + margin: 10px 0px; + border-top: 1px solid #A8B8D9; + border-bottom: 1px solid #A8B8D9; + width: 100%; +} + +.directory table { + border-collapse:collapse; +} + +.directory td { + margin: 0px; + padding: 0px; + vertical-align: top; +} + +.directory td.entry { + white-space: nowrap; + padding-right: 6px; + padding-top: 3px; +} + +.directory td.entry a { + outline:none; +} + +.directory td.entry a img { + border: none; +} + +.directory td.desc { + width: 100%; + padding-left: 6px; + padding-right: 6px; + padding-top: 3px; + border-left: 1px solid rgba(0,0,0,0.05); +} + +.directory tr.even { + padding-left: 6px; + background-color: #F7F8FB; +} + +.directory img { + vertical-align: -30%; +} + +.directory .levels { + white-space: nowrap; + width: 100%; + text-align: right; + font-size: 9pt; +} + +.directory .levels span { + cursor: pointer; + padding-left: 2px; + padding-right: 2px; + color: #3D578C; +} + +div.dynheader { + margin-top: 8px; + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +address { + font-style: normal; + color: #2A3D61; +} + +table.doxtable { + border-collapse:collapse; + margin-top: 4px; + margin-bottom: 4px; +} + +table.doxtable td, table.doxtable th { + border: 1px solid #2D4068; + padding: 3px 7px 2px; +} + +table.doxtable th { + background-color: #374F7F; + color: #FFFFFF; + font-size: 110%; + padding-bottom: 4px; + padding-top: 5px; +} + +table.fieldtable { + /*width: 100%;*/ + margin-bottom: 10px; + border: 1px solid #A8B8D9; + border-spacing: 0px; + -moz-border-radius: 4px; + -webkit-border-radius: 4px; + border-radius: 4px; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; + -webkit-box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); + box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); +} + +.fieldtable td, .fieldtable th { + padding: 3px 7px 2px; +} + +.fieldtable td.fieldtype, .fieldtable td.fieldname { + white-space: nowrap; + border-right: 1px solid #A8B8D9; + border-bottom: 1px solid #A8B8D9; + vertical-align: top; +} + +.fieldtable td.fieldname { + padding-top: 3px; +} + +.fieldtable td.fielddoc { + border-bottom: 1px solid #A8B8D9; + /*width: 100%;*/ +} + +.fieldtable td.fielddoc p:first-child { + margin-top: 0px; +} + +.fieldtable td.fielddoc p:last-child { + margin-bottom: 2px; +} + +.fieldtable tr:last-child td { + border-bottom: none; +} + +.fieldtable th { + background-image:url('nav_f.png'); + background-repeat:repeat-x; + background-color: #E2E8F2; + font-size: 90%; + color: #253555; + padding-bottom: 4px; + padding-top: 5px; + text-align:left; + -moz-border-radius-topleft: 4px; + -moz-border-radius-topright: 4px; + -webkit-border-top-left-radius: 4px; + -webkit-border-top-right-radius: 4px; + border-top-left-radius: 4px; + border-top-right-radius: 4px; + border-bottom: 1px solid #A8B8D9; +} + + +.tabsearch { + top: 0px; + left: 10px; + height: 36px; + background-image: url('tab_b.png'); + z-index: 101; + overflow: hidden; + font-size: 13px; +} + +.navpath ul +{ + font-size: 11px; + background-image:url('tab_b.png'); + background-repeat:repeat-x; + background-position: 0 -5px; + height:30px; + line-height:30px; + color:#8AA0CC; + border:solid 1px #C2CDE4; + overflow:hidden; + margin:0px; + padding:0px; +} + +.navpath li +{ + list-style-type:none; + float:left; + padding-left:10px; + padding-right:15px; + background-image:url('bc_s.png'); + background-repeat:no-repeat; + background-position:right; + color:#364D7C; +} + +.navpath li.navelem a +{ + height:32px; + display:block; + text-decoration: none; + outline: none; + color: #283A5D; + font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; + text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); + text-decoration: none; +} + +.navpath li.navelem a:hover +{ + color:#6884BD; +} + +.navpath li.footer +{ + list-style-type:none; + float:right; + padding-left:10px; + padding-right:15px; + background-image:none; + background-repeat:no-repeat; + background-position:right; + color:#364D7C; + font-size: 8pt; +} + + +div.summary +{ + float: right; + font-size: 8pt; + padding-right: 5px; + width: 50%; + text-align: right; +} + +div.summary a +{ + white-space: nowrap; +} + +div.ingroups +{ + font-size: 8pt; + width: 50%; + text-align: left; +} + +div.ingroups a +{ + white-space: nowrap; +} + +div.header +{ + background-image:url('nav_h.png'); + background-repeat:repeat-x; + background-color: #F9FAFC; + margin: 0px; + border-bottom: 1px solid #C4CFE5; +} + +div.headertitle +{ + padding: 5px 5px 5px 10px; +} + +dl +{ + padding: 0 0 0 10px; +} + +/* dl.note, dl.warning, dl.attention, dl.pre, dl.post, dl.invariant, dl.deprecated, dl.todo, dl.test, dl.bug */ +dl.section +{ + margin-left: 0px; + padding-left: 0px; +} + +dl.note +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #D0C000; +} + +dl.warning, dl.attention +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #FF0000; +} + +dl.pre, dl.post, dl.invariant +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #00D000; +} + +dl.deprecated +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #505050; +} + +dl.todo +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #00C0E0; +} + +dl.test +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #3030E0; +} + +dl.bug +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #C08050; +} + +dl.section dd { + margin-bottom: 6px; +} + + +#projectlogo +{ + text-align: center; + vertical-align: bottom; + border-collapse: separate; +} + +#projectlogo img +{ + border: 0px none; +} + +#projectname +{ + font: 300% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 2px 0px; +} + +#projectbrief +{ + font: 120% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 0px; +} + +#projectnumber +{ + font: 50% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 0px; +} + +#titlearea +{ + padding: 0px; + margin: 0px; + width: 100%; + border-bottom: 1px solid #5373B4; +} + +.image +{ + text-align: center; +} + +.dotgraph +{ + text-align: center; +} + +.mscgraph +{ + text-align: center; +} + +.caption +{ + font-weight: bold; +} + +div.zoom +{ + border: 1px solid #90A5CE; +} + +dl.citelist { + margin-bottom:50px; +} + +dl.citelist dt { + color:#334975; + float:left; + font-weight:bold; + margin-right:10px; + padding:5px; +} + +dl.citelist dd { + margin:2px 0; + padding:5px 0; +} + +div.toc { + padding: 14px 25px; + background-color: #F4F6FA; + border: 1px solid #D8DFEE; + border-radius: 7px 7px 7px 7px; + float: right; + height: auto; + margin: 0 20px 10px 10px; + width: 200px; +} + +div.toc li { + background: url("bdwn.png") no-repeat scroll 0 5px transparent; + font: 10px/1.2 Verdana,DejaVu Sans,Geneva,sans-serif; + margin-top: 5px; + padding-left: 10px; + padding-top: 2px; +} + +div.toc h3 { + font: bold 12px/1.2 Arial,FreeSans,sans-serif; + color: #4665A2; + border-bottom: 0 none; + margin: 0; +} + +div.toc ul { + list-style: none outside none; + border: medium none; + padding: 0px; +} + +div.toc li.level1 { + margin-left: 0px; +} + +div.toc li.level2 { + margin-left: 15px; +} + +div.toc li.level3 { + margin-left: 30px; +} + +div.toc li.level4 { + margin-left: 45px; +} + +.inherit_header { + font-weight: bold; + color: gray; + cursor: pointer; + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.inherit_header td { + padding: 6px 0px 2px 5px; +} + +.inherit { + display: none; +} + +tr.heading h2 { + margin-top: 12px; + margin-bottom: 4px; +} + +@media print +{ + #top { display: none; } + #side-nav { display: none; } + #nav-path { display: none; } + body { overflow:visible; } + h1, h2, h3, h4, h5, h6 { page-break-after: avoid; } + .summary { display: none; } + .memitem { page-break-inside: avoid; } + #doc-content + { + margin-left:0 !important; + height:auto !important; + width:auto !important; + overflow:inherit; + display:inline; + } +} + diff --git a/dotnet/docs/html/doxygen.png b/dotnet/docs/html/doxygen.png new file mode 100644 index 0000000000000000000000000000000000000000..3ff17d807fd8aa003bed8bb2a69e8f0909592fd1 GIT binary patch literal 3779 zcmV;!4m|ORP)tMIv#Q0*~7*`IBSO7_x;@a8#Zk6_PeKR_s92J&)(m+);m9Iz3blw)z#Gi zP!9lj4$%+*>Hz@HCmM9L9|8c+0u=!H$O3?R0Kgx|#WP<6fKfC8fM-CQZT|_r@`>VO zX^Hgb|9cJqpdJA5$MCEK`F_2@2Y@s>^+;pF`~jdI0Pvr|vl4`=C)EH@1IFe7pdJ8F zH(qGi004~QnF)Ggga~8v08kGAs2hKTATxr7pwfNk|4#_AaT>w8P6TV+R2kbS$v==} zAjf`s0g#V8lB+b3)5oEI*q+{Yt$MZDruD2^;$+(_%Qn+%v0X-bJO=;@kiJ^ygLBnC z?1OVv_%aex1M@jKU|Z~$eI?PoF4Vj>fDzyo zAiLfpXY*a^Sj-S5D0S3@#V$sRW)g)_1e#$%8xdM>Jm7?!h zu0P2X=xoN>^!4DoPRgph2(2va07yfpXF+WH7EOg1GY%Zn z7~1A<(z7Q$ktEXhW_?GMpHp9l_UL18F3KOsxu81pqoBiNbFSGsof-W z6~eloMoz=4?OOnl2J268x5rOY`dCk0us(uS#Ud4yqOr@?=Q57a}tit|BhY>}~frH1sP`ScHS_d)oqH^lYy zZ%VP`#10MlE~P?cE(%(#(AUSv_T{+;t@$U}El}(1ig`vZo`Rm;+5&(AYzJ^Ae=h2X z@Re%vHwZU>|f0NI&%$*4eJweC5OROQrpPMA@*w|o z()A==l}(@bv^&>H1Ob3C=<^|hob?0+xJ?QQ3-ueQC}zy&JQNib!OqSO@-=>XzxlSF zAZ^U*1l6EEmg3r};_HY>&Jo_{dOPEFTWPmt=U&F#+0(O59^UIlHbNX+eF8UzyDR*T z(=5X$VF3!gm@RooS-&iiUYGG^`hMR(07zr_xP`d!^BH?uD>Phl8Rdifx3Af^Zr`Ku ztL+~HkVeL#bJ)7;`=>;{KNRvjmc}1}c58Sr#Treq=4{xo!ATy|c>iRSp4`dzMMVd@ zL8?uwXDY}Wqgh4mH`|$BTXpUIu6A1-cSq%hJw;@^Zr8TP=GMh*p(m(tN7@!^D~sl$ zz^tf4II4|};+irE$Fnm4NTc5%p{PRA`%}Zk`CE5?#h3|xcyQsS#iONZ z6H(@^i9td!$z~bZiJLTax$o>r(p}3o@< zyD7%(>ZYvy=6$U3e!F{Z`uSaYy`xQyl?b{}eg|G3&fz*`QH@mDUn)1%#5u`0m$%D} z?;tZ0u(mWeMV0QtzjgN!lT*pNRj;6510Wwx?Yi_=tYw|J#7@(Xe7ifDzXuK;JB;QO z#bg~K$cgm$@{QiL_3yr}y&~wuv=P=#O&Tj=Sr)aCUlYmZMcw?)T?c%0rUe1cS+o!qs_ zQ6Gp)-{)V!;=q}llyK3|^WeLKyjf%y;xHku;9(vM!j|~<7w1c*Mk-;P{T&yG) z@C-8E?QPynNQ<8f01D`2qexcVEIOU?y}MG)TAE6&VT5`rK8s(4PE;uQ92LTXUQ<>^ ztyQ@=@kRdh@ebUG^Z6NWWIL;_IGJ2ST>$t!$m$qvtj0Qmw8moN6GUV^!QKNK zHBXCtUH8)RY9++gH_TUV4^=-j$t}dD3qsN7GclJ^Zc&(j6&a_!$jCf}%c5ey`pm~1)@{yI3 zTdWyB+*X{JFw#z;PwRr5evb2!ueWF;v`B0HoUu4-(~aL=z;OXUUEtG`_$)Oxw6FKg zEzY`CyKaSBK3xt#8gA|r_|Kehn_HYVBMpEwbn9-fI*!u*eTA1ef8Mkl1=!jV4oYwWYM}i`A>_F4nhmlCIC6WLa zY%;4&@AlnaG11ejl61Jev21|r*m+?Kru3;1tFDl}#!OzUp6c>go4{C|^erwpG*&h6bspUPJag}oOkN2912Y3I?(eRc@U9>z#HPBHC?nps7H5!zP``90!Q1n80jo+B3TWXp!8Pe zwuKuLLI6l3Gv@+QH*Y}2wPLPQ1^EZhT#+Ed8q8Wo z1pTmIBxv14-{l&QVKxAyQF#8Q@NeJwWdKk>?cpiJLkJr+aZ!Me+Cfp!?FWSRf^j2k z73BRR{WSKaMkJ>1Nbx5dan5hg^_}O{Tj6u%iV%#QGz0Q@j{R^Ik)Z*+(YvY2ziBG)?AmJa|JV%4UT$k`hcOg5r9R?5>?o~JzK zJCrj&{i#hG>N7!B4kNX(%igb%kDj0fOQThC-8mtfap82PNRXr1D>lbgg)dYTQ(kbx z`Ee5kXG~Bh+BHQBf|kJEy6(ga%WfhvdQNDuOfQoe377l#ht&DrMGeIsI5C<&ai zWG$|hop2@@q5YDa)_-A?B02W;#fH!%k`daQLEItaJJ8Yf1L%8x;kg?)k)00P-lH+w z)5$QNV6r2$YtnV(4o=0^3{kmaXn*Dm0F*fU(@o)yVVjk|ln8ea6BMy%vZAhW9|wvA z8RoDkVoMEz1d>|5(k0Nw>22ZT){V<3$^C-cN+|~hKt2)){+l-?3m@-$c?-dlzQ)q- zZ)j%n^gerV{|+t}9m1_&&Ly!9$rtG4XX|WQ8`xYzGC~U@nYh~g(z9)bdAl#xH)xd5a=@|qql z|FzEil{P5(@gy!4ek05i$>`E^G~{;pnf6ftpLh$h#W?^#4UkPfa;;?bsIe&kz!+40 zI|6`F2n020)-r`pFaZ38F!S-lJM-o&inOw|66=GMeP@xQU5ghQH{~5Uh~TMTd;I9` z>YhVB`e^EVj*S7JF39ZgNf}A-0DwOcTT63ydN$I3b?yBQtUI*_fae~kPvzoD$zjX3 zoqBe#>12im4WzZ=f^4+u=!lA|#r%1`WB0-6*3BL#at`47#ebPpR|D1b)3BjT34nYY z%Ds%d?5$|{LgOIaRO{{oC&RK`O91$fqwM0(C_TALcozu*fWHb%%q&p-q{_8*2Zsi^ zh1ZCnr^UYa;4vQEtHk{~zi>wwMC5o{S=$P0X681y`SXwFH?Ewn{x-MOZynmc)JT5v zuHLwh;tLfxRrr%|k370}GofLl7thg>ACWWY&msqaVu&ry+`7+Ss>NL^%T1|z{IGMA zW-SKl=V-^{(f!Kf^#3(|T2W47d(%JVCI4JgRrT1pNz>+ietmFToNv^`gzC@&O-)+i zPQ~RwK8%C_vf%;%e>NyTp~dM5;!C|N0Q^6|CEb7Bw=Vz~$1#FA;Z*?mKSC)Hl-20s t8QyHj(g6VK0RYbl8UjE)0O0w=e*@m04r>stuEhWV002ovPDHLkV1hl;dM*F} literal 0 HcmV?d00001 diff --git a/dotnet/docs/html/dynsections.js b/dotnet/docs/html/dynsections.js new file mode 100644 index 000000000..ed092c7f6 --- /dev/null +++ b/dotnet/docs/html/dynsections.js @@ -0,0 +1,97 @@ +function toggleVisibility(linkObj) +{ + var base = $(linkObj).attr('id'); + var summary = $('#'+base+'-summary'); + var content = $('#'+base+'-content'); + var trigger = $('#'+base+'-trigger'); + var src=$(trigger).attr('src'); + if (content.is(':visible')===true) { + content.hide(); + summary.show(); + $(linkObj).addClass('closed').removeClass('opened'); + $(trigger).attr('src',src.substring(0,src.length-8)+'closed.png'); + } else { + content.show(); + summary.hide(); + $(linkObj).removeClass('closed').addClass('opened'); + $(trigger).attr('src',src.substring(0,src.length-10)+'open.png'); + } + return false; +} + +function updateStripes() +{ + $('table.directory tr'). + removeClass('even').filter(':visible:even').addClass('even'); +} +function toggleLevel(level) +{ + $('table.directory tr').each(function(){ + var l = this.id.split('_').length-1; + var i = $('#img'+this.id.substring(3)); + var a = $('#arr'+this.id.substring(3)); + if (ldjv*C{Z|`mdau^P8_z}#X h?B8GEpdi4(BFDx$je&7RrDQEg&ePS;Wt~$(69Dh@6T1Ka literal 0 HcmV?d00001 diff --git a/dotnet/docs/html/ftv2cl.png b/dotnet/docs/html/ftv2cl.png new file mode 100644 index 0000000000000000000000000000000000000000..132f6577bf7f085344904602815a260d29f55d9b GIT binary patch literal 453 zcmV;$0XqJPP)VBF;ev;toEj8_OB0EQg5eYilIj#JZG_m^33l3^k4mtzx!TVD?g)Y$ zrvwRDSqT!wLIM$dWCIa$vtxE|mzbTzu-y&$FvF6WA2a{Wr1g}`WdPT-0JzEZ0IxAv z-Z+ejZc&H;I5-pb_SUB}04j0^V)3t{`z<7asDl2Tw3w3sP%)0^8$bhEg)IOTBcRXv zFfq~3&gvJ$F-U7mpBW8z1GY~HK&7h4^YI~Orv~wLnC0PP_dAkv;nzX{9Q|8Gv=2ca z@v)c9T;D#h`TZ2X&&$ff2wedmot995de~-s3I)yauahg;7qn*?1n?F$e+PwP37}~; z1NKUk7reVK^7A;$QRW7qAx40HHUZ<|k3U%nz(Ec`#i+q9K!dgcROAlCS?`L= v>#=f?wF5ZND!1uAfQsk;KN^4&*8~0npJiJ%2dj9(00000NkvXXu0mjfWVFf_ literal 0 HcmV?d00001 diff --git a/dotnet/docs/html/ftv2doc.png b/dotnet/docs/html/ftv2doc.png new file mode 100644 index 0000000000000000000000000000000000000000..17edabff95f7b8da13c9516a04efe05493c29501 GIT binary patch literal 746 zcmV7=@pnbNXRFEm&G8P!&WHG=d)>K?YZ1bzou)2{$)) zumDct!>4SyxL;zgaG>wy`^Hv*+}0kUfCrz~BCOViSb$_*&;{TGGn2^x9K*!Sf0=lV zpP=7O;GA0*Jm*tTYj$IoXvimpnV4S1Z5f$p*f$Db2iq2zrVGQUz~yq`ahn7ck(|CE z7Gz;%OP~J6)tEZWDzjhL9h2hdfoU2)Nd%T<5Kt;Y0XLt&<@6pQx!nw*5`@bq#?l*?3z{Hlzoc=Pr>oB5(9i6~_&-}A(4{Q$>c>%rV&E|a(r&;?i5cQB=} zYSDU5nXG)NS4HEs0it2AHe2>shCyr7`6@4*6{r@8fXRbTA?=IFVWAQJL&H5H{)DpM#{W(GL+Idzf^)uRV@oB8u$ z8v{MfJbTiiRg4bza<41NAzrl{=3fl_D+$t+^!xlQ8S}{UtY`e z;;&9UhyZqQRN%2pot{*Ei0*4~hSF_3AH2@fKU!$NSflS>{@tZpDT4`M2WRTTVH+D? z)GFlEGGHe?koB}i|1w45!BF}N_q&^HJ&-tyR{(afC6H7|aml|tBBbv}55C5DNP8p3 z)~jLEO4Z&2hZmP^i-e%(@d!(E|KRafiU8Q5u(wU((j8un3OR*Hvj+t literal 0 HcmV?d00001 diff --git a/dotnet/docs/html/ftv2folderclosed.png b/dotnet/docs/html/ftv2folderclosed.png new file mode 100644 index 0000000000000000000000000000000000000000..bb8ab35edce8e97554e360005ee9fc5bffb36e66 GIT binary patch literal 616 zcmV-u0+;=XP)a9#ETzayK)T~Jw&MMH>OIr#&;dC}is*2Mqdf&akCc=O@`qC+4i z5Iu3w#1M@KqXCz8TIZd1wli&kkl2HVcAiZ8PUn5z_kG@-y;?yK06=cA0U%H0PH+kU zl6dp}OR(|r8-RG+YLu`zbI}5TlOU6ToR41{9=uz^?dGTNL;wIMf|V3`d1Wj3y!#6` zBLZ?xpKR~^2x}?~zA(_NUu3IaDB$tKma*XUdOZN~c=dLt_h_k!dbxm_*ibDM zlFX`g{k$X}yIe%$N)cn1LNu=q9_CS)*>A zsX_mM4L@`(cSNQKMFc$RtYbx{79#j-J7hk*>*+ZZhM4Hw?I?rsXCi#mRWJ=-0LGV5a-WR0Qgt<|Nqf)C-@80`5gIz45^_20000IqP)X=#(TiCT&PiIIVc55T}TU}EUh*{q$|`3@{d>{Tc9Bo>e= zfmF3!f>fbI9#GoEHh0f`i5)wkLpva0ztf%HpZneK?w-7AK@b4Itw{y|Zd3k!fH?q2 zlhckHd_V2M_X7+)U&_Xcfvtw60l;--DgZmLSw-Y?S>)zIqMyJ1#FwLU*%bl38ok+! zh78H87n`ZTS;uhzAR$M`zZ`bVhq=+%u9^$5jDplgxd44}9;IRqUH1YHH|@6oFe%z( zo4)_>E$F&^P-f(#)>(TrnbE>Pefs9~@iN=|)Rz|V`sGfHNrJ)0gJb8xx+SBmRf@1l zvuzt=vGfI)<-F9!o&3l?>9~0QbUDT(wFdnQPv%xdD)m*g%!20>Bc9iYmGAp<9YAa( z0QgYgTWqf1qN++Gqp z8@AYPTB3E|6s=WLG?xw0tm|U!o=&zd+H0oRYE;Dbx+Na9s^STqX|Gnq%H8s(nGDGJ j8vwW|`Ts`)fSK|Kx=IK@RG@g200000NkvXXu0mjfauFEA literal 0 HcmV?d00001 diff --git a/dotnet/docs/html/ftv2lastnode.png b/dotnet/docs/html/ftv2lastnode.png new file mode 100644 index 0000000000000000000000000000000000000000..63c605bb4c3d941c921a4b6cfa74951e946bcb48 GIT binary patch literal 86 zcmeAS@N?(olHy`uVBq!ia0vp^0zfRr!3HExu9B$%QnH>djv*C{Z|`mdau^P8_z}#X h?B8GEpdi4(BFDx$je&7RrDQEg&ePS;Wt~$(69Dh@6T1Ka literal 0 HcmV?d00001 diff --git a/dotnet/docs/html/ftv2link.png b/dotnet/docs/html/ftv2link.png new file mode 100644 index 0000000000000000000000000000000000000000..17edabff95f7b8da13c9516a04efe05493c29501 GIT binary patch literal 746 zcmV7=@pnbNXRFEm&G8P!&WHG=d)>K?YZ1bzou)2{$)) zumDct!>4SyxL;zgaG>wy`^Hv*+}0kUfCrz~BCOViSb$_*&;{TGGn2^x9K*!Sf0=lV zpP=7O;GA0*Jm*tTYj$IoXvimpnV4S1Z5f$p*f$Db2iq2zrVGQUz~yq`ahn7ck(|CE z7Gz;%OP~J6)tEZWDzjhL9h2hdfoU2)Nd%T<5Kt;Y0XLt&<@6pQx!nw*5`@bq#?l*?3z{Hlzoc=Pr>oB5(9i6~_&-}A(4{Q$>c>%rV&E|a(r&;?i5cQB=} zYSDU5nXG)NS4HEs0it2AHe2>shCyr7`6@4*6{r@8fXRbTA?=IFVWAQJL&H5H{)DpM#{W(GL+Idzf^)uRV@oB8u$ z8v{MfJbTiiRg4bza<41NAzrl{=3fl_D+$t+^!xlQ8S}{UtY`e z;;&9UhyZqQRN%2pot{*Ei0*4~hSF_3AH2@fKU!$NSflS>{@tZpDT4`M2WRTTVH+D? z)GFlEGGHe?koB}i|1w45!BF}N_q&^HJ&-tyR{(afC6H7|aml|tBBbv}55C5DNP8p3 z)~jLEO4Z&2hZmP^i-e%(@d!(E|KRafiU8Q5u(wU((j8un3OR*Hvj+t literal 0 HcmV?d00001 diff --git a/dotnet/docs/html/ftv2mlastnode.png b/dotnet/docs/html/ftv2mlastnode.png new file mode 100644 index 0000000000000000000000000000000000000000..0b63f6d38c4b9ec907b820192ebe9724ed6eca22 GIT binary patch literal 246 zcmVkw!R34#Lv2LOS^S2tZA31X++9RY}n zChwn@Z)Wz*WWHH{)HDtJnq&A2hk$b-y(>?@z0iHr41EKCGp#T5?07*qoM6N<$f(V3Pvj6}9 literal 0 HcmV?d00001 diff --git a/dotnet/docs/html/ftv2mnode.png b/dotnet/docs/html/ftv2mnode.png new file mode 100644 index 0000000000000000000000000000000000000000..0b63f6d38c4b9ec907b820192ebe9724ed6eca22 GIT binary patch literal 246 zcmVkw!R34#Lv2LOS^S2tZA31X++9RY}n zChwn@Z)Wz*WWHH{)HDtJnq&A2hk$b-y(>?@z0iHr41EKCGp#T5?07*qoM6N<$f(V3Pvj6}9 literal 0 HcmV?d00001 diff --git a/dotnet/docs/html/ftv2mo.png b/dotnet/docs/html/ftv2mo.png new file mode 100644 index 0000000000000000000000000000000000000000..4bfb80f76e65815989a9350ad79d8ce45380e2b1 GIT binary patch literal 403 zcmV;E0c`$>P)${!fXv7NWJ%@%u4(KapRY>T6_x;E zxE7kt!}Tiw8@d9Sd`rTGum>z#Q14vIm`wm1#-byD1muMi02@YNO5LRF0o!Y{`a!Ya z{^&p0Su|s705&2QxmqdexG+-zNKL3f@8gTQSJrKByfo+oNJ^-{|Mn||Q5SDwjQVsS zr1}7o5-QMs>gYIMD>GRw@$lT`z4r-_m{5U#cR{urD_)TOeY)(UD|qZ^&y`IVijqk~ xs(9-kWFr7E^!lgi8GsFK5kOY_{Xbgf0^etEU%fLevs?fG002ovPDHLkV1nB&vX1}& literal 0 HcmV?d00001 diff --git a/dotnet/docs/html/ftv2node.png b/dotnet/docs/html/ftv2node.png new file mode 100644 index 0000000000000000000000000000000000000000..63c605bb4c3d941c921a4b6cfa74951e946bcb48 GIT binary patch literal 86 zcmeAS@N?(olHy`uVBq!ia0vp^0zfRr!3HExu9B$%QnH>djv*C{Z|`mdau^P8_z}#X h?B8GEpdi4(BFDx$je&7RrDQEg&ePS;Wt~$(69Dh@6T1Ka literal 0 HcmV?d00001 diff --git a/dotnet/docs/html/ftv2ns.png b/dotnet/docs/html/ftv2ns.png new file mode 100644 index 0000000000000000000000000000000000000000..72e3d71c2892d6f00e259facebc88b45f6db2e35 GIT binary patch literal 388 zcmV-~0ek+5P)f+++#cT|!CkD&4pnIkeMEUEM*>`*9>+Juji$!h-mW%M^8s9957{3nvbrz^&=u<~TAUrFROkmt%^F~Ez+-c53Lv%iH3d38!Rv?K zrb&MYAhp;Gf<}wS;9ZZq2@;!uYG;=Z>~GKE^{HD4keu}lnyqhc>kWX^tQn|warJ~h zT+rtMkdz6aHoN%z(o|&wpu@@OpJnF_z{PA)6(FHw02iHslz^(N{4*+K9)QJHR87wT iTyp>aXaF{u2lxRou|^4tux6eB0000^P)R?RzRoKvklcaQ%HF6%rK2&ZgO(-ihJ_C zzrKgp4jgO( fd_(yg|3PpEQb#9`a?Pz_00000NkvXXu0mjftR`5K literal 0 HcmV?d00001 diff --git a/dotnet/docs/html/ftv2pnode.png b/dotnet/docs/html/ftv2pnode.png new file mode 100644 index 0000000000000000000000000000000000000000..c6ee22f937a07d1dbfc27c669d11f8ed13e2f152 GIT binary patch literal 229 zcmV^P)R?RzRoKvklcaQ%HF6%rK2&ZgO(-ihJ_C zzrKgp4jgO( fd_(yg|3PpEQb#9`a?Pz_00000NkvXXu0mjftR`5K literal 0 HcmV?d00001 diff --git a/dotnet/docs/html/ftv2splitbar.png b/dotnet/docs/html/ftv2splitbar.png new file mode 100644 index 0000000000000000000000000000000000000000..fe895f2c58179b471a22d8320b39a4bd7312ec8e GIT binary patch literal 314 zcmeAS@N?(olHy`uVBq!ia0vp^Yzz!63>-{AmhX=Jf(#6djGiuzAr*{o?=JLmPLyc> z_*`QK&+BH@jWrYJ7>r6%keRM@)Qyv8R=enp0jiI>aWlGyB58O zFVR20d+y`K7vDw(hJF3;>dD*3-?v=<8M)@x|EEGLnJsniYK!2U1 Y!`|5biEc?d1`HDhPgg&ebxsLQ02F6;9RL6T literal 0 HcmV?d00001 diff --git a/dotnet/docs/html/ftv2vertline.png b/dotnet/docs/html/ftv2vertline.png new file mode 100644 index 0000000000000000000000000000000000000000..63c605bb4c3d941c921a4b6cfa74951e946bcb48 GIT binary patch literal 86 zcmeAS@N?(olHy`uVBq!ia0vp^0zfRr!3HExu9B$%QnH>djv*C{Z|`mdau^P8_z}#X h?B8GEpdi4(BFDx$je&7RrDQEg&ePS;Wt~$(69Dh@6T1Ka literal 0 HcmV?d00001 diff --git a/dotnet/docs/html/functions.html b/dotnet/docs/html/functions.html new file mode 100644 index 000000000..754cb925a --- /dev/null +++ b/dotnet/docs/html/functions.html @@ -0,0 +1,211 @@ + + + + + + +mxGraph: Class Members + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- a -

+
+ + + + diff --git a/dotnet/docs/html/functions_0x62.html b/dotnet/docs/html/functions_0x62.html new file mode 100644 index 000000000..3b4b9aefc --- /dev/null +++ b/dotnet/docs/html/functions_0x62.html @@ -0,0 +1,133 @@ + + + + + + +mxGraph: Class Members + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- b -

+
+ + + + diff --git a/dotnet/docs/html/functions_0x63.html b/dotnet/docs/html/functions_0x63.html new file mode 100644 index 000000000..5180b11c2 --- /dev/null +++ b/dotnet/docs/html/functions_0x63.html @@ -0,0 +1,276 @@ + + + + + + +mxGraph: Class Members + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- c -

+
+ + + + diff --git a/dotnet/docs/html/functions_0x64.html b/dotnet/docs/html/functions_0x64.html new file mode 100644 index 000000000..beaa6811b --- /dev/null +++ b/dotnet/docs/html/functions_0x64.html @@ -0,0 +1,296 @@ + + + + + + +mxGraph: Class Members + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- d -

+
+ + + + diff --git a/dotnet/docs/html/functions_0x65.html b/dotnet/docs/html/functions_0x65.html new file mode 100644 index 000000000..4811c64a5 --- /dev/null +++ b/dotnet/docs/html/functions_0x65.html @@ -0,0 +1,197 @@ + + + + + + +mxGraph: Class Members + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- e -

+
+ + + + diff --git a/dotnet/docs/html/functions_0x66.html b/dotnet/docs/html/functions_0x66.html new file mode 100644 index 000000000..3026a0038 --- /dev/null +++ b/dotnet/docs/html/functions_0x66.html @@ -0,0 +1,165 @@ + + + + + + +mxGraph: Class Members + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- f -

+
+ + + + diff --git a/dotnet/docs/html/functions_0x67.html b/dotnet/docs/html/functions_0x67.html new file mode 100644 index 000000000..523a1aea9 --- /dev/null +++ b/dotnet/docs/html/functions_0x67.html @@ -0,0 +1,484 @@ + + + + + + +mxGraph: Class Members + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- g -

+
+ + + + diff --git a/dotnet/docs/html/functions_0x68.html b/dotnet/docs/html/functions_0x68.html new file mode 100644 index 000000000..593460b8d --- /dev/null +++ b/dotnet/docs/html/functions_0x68.html @@ -0,0 +1,114 @@ + + + + + + +mxGraph: Class Members + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- h -

+
+ + + + diff --git a/dotnet/docs/html/functions_0x69.html b/dotnet/docs/html/functions_0x69.html new file mode 100644 index 000000000..031886d53 --- /dev/null +++ b/dotnet/docs/html/functions_0x69.html @@ -0,0 +1,274 @@ + + + + + + +mxGraph: Class Members + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- i -

+
+ + + + diff --git a/dotnet/docs/html/functions_0x6c.html b/dotnet/docs/html/functions_0x6c.html new file mode 100644 index 000000000..c0506fb54 --- /dev/null +++ b/dotnet/docs/html/functions_0x6c.html @@ -0,0 +1,170 @@ + + + + + + +mxGraph: Class Members + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- l -

+
+ + + + diff --git a/dotnet/docs/html/functions_0x6d.html b/dotnet/docs/html/functions_0x6d.html new file mode 100644 index 000000000..4b02d2872 --- /dev/null +++ b/dotnet/docs/html/functions_0x6d.html @@ -0,0 +1,219 @@ + + + + + + +mxGraph: Class Members + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- m -

+
+ + + + diff --git a/dotnet/docs/html/functions_0x6e.html b/dotnet/docs/html/functions_0x6e.html new file mode 100644 index 000000000..4b06c1b18 --- /dev/null +++ b/dotnet/docs/html/functions_0x6e.html @@ -0,0 +1,114 @@ + + + + + + +mxGraph: Class Members + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- n -

+
+ + + + diff --git a/dotnet/docs/html/functions_0x6f.html b/dotnet/docs/html/functions_0x6f.html new file mode 100644 index 000000000..ea7b346c0 --- /dev/null +++ b/dotnet/docs/html/functions_0x6f.html @@ -0,0 +1,111 @@ + + + + + + +mxGraph: Class Members + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+
+
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_0x70.html b/dotnet/docs/html/functions_0x70.html new file mode 100644 index 000000000..9bd6020ad --- /dev/null +++ b/dotnet/docs/html/functions_0x70.html @@ -0,0 +1,193 @@ + + + + + + +mxGraph: Class Members + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- p -

+
+ + + + diff --git a/dotnet/docs/html/functions_0x71.html b/dotnet/docs/html/functions_0x71.html new file mode 100644 index 000000000..6a21b5d03 --- /dev/null +++ b/dotnet/docs/html/functions_0x71.html @@ -0,0 +1,97 @@ + + + + + + +mxGraph: Class Members + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- q -

+
+ + + + diff --git a/dotnet/docs/html/functions_0x72.html b/dotnet/docs/html/functions_0x72.html new file mode 100644 index 000000000..dd6321632 --- /dev/null +++ b/dotnet/docs/html/functions_0x72.html @@ -0,0 +1,203 @@ + + + + + + +mxGraph: Class Members + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- r -

+
+ + + + diff --git a/dotnet/docs/html/functions_0x73.html b/dotnet/docs/html/functions_0x73.html new file mode 100644 index 000000000..7d7769010 --- /dev/null +++ b/dotnet/docs/html/functions_0x73.html @@ -0,0 +1,558 @@ + + + + + + +mxGraph: Class Members + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- s -

+
+ + + + diff --git a/dotnet/docs/html/functions_0x74.html b/dotnet/docs/html/functions_0x74.html new file mode 100644 index 000000000..103a13560 --- /dev/null +++ b/dotnet/docs/html/functions_0x74.html @@ -0,0 +1,160 @@ + + + + + + +mxGraph: Class Members + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- t -

+
+ + + + diff --git a/dotnet/docs/html/functions_0x75.html b/dotnet/docs/html/functions_0x75.html new file mode 100644 index 000000000..f0a7b5185 --- /dev/null +++ b/dotnet/docs/html/functions_0x75.html @@ -0,0 +1,144 @@ + + + + + + +mxGraph: Class Members + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- u -

+
+ + + + diff --git a/dotnet/docs/html/functions_0x76.html b/dotnet/docs/html/functions_0x76.html new file mode 100644 index 000000000..bb3085cab --- /dev/null +++ b/dotnet/docs/html/functions_0x76.html @@ -0,0 +1,139 @@ + + + + + + +mxGraph: Class Members + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- v -

+
+ + + + diff --git a/dotnet/docs/html/functions_0x77.html b/dotnet/docs/html/functions_0x77.html new file mode 100644 index 000000000..f8b2d0407 --- /dev/null +++ b/dotnet/docs/html/functions_0x77.html @@ -0,0 +1,117 @@ + + + + + + +mxGraph: Class Members + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- w -

+
+ + + + diff --git a/dotnet/docs/html/functions_0x78.html b/dotnet/docs/html/functions_0x78.html new file mode 100644 index 000000000..5ed47511c --- /dev/null +++ b/dotnet/docs/html/functions_0x78.html @@ -0,0 +1,99 @@ + + + + + + +mxGraph: Class Members + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- x -

+
+ + + + diff --git a/dotnet/docs/html/functions_0x79.html b/dotnet/docs/html/functions_0x79.html new file mode 100644 index 000000000..66a4abc4b --- /dev/null +++ b/dotnet/docs/html/functions_0x79.html @@ -0,0 +1,99 @@ + + + + + + +mxGraph: Class Members + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- y -

+
+ + + + diff --git a/dotnet/docs/html/functions_evnt.html b/dotnet/docs/html/functions_evnt.html new file mode 100644 index 000000000..5331d2fda --- /dev/null +++ b/dotnet/docs/html/functions_evnt.html @@ -0,0 +1,71 @@ + + + + + + +mxGraph: Class Members - Events + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+
+ + + + diff --git a/dotnet/docs/html/functions_func.html b/dotnet/docs/html/functions_func.html new file mode 100644 index 000000000..1dcbed16e --- /dev/null +++ b/dotnet/docs/html/functions_func.html @@ -0,0 +1,127 @@ + + + + + + +mxGraph: Class Members - Functions + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+
+  + +

- a -

+
+ + + + diff --git a/dotnet/docs/html/functions_func_0x62.html b/dotnet/docs/html/functions_func_0x62.html new file mode 100644 index 000000000..b7f1042e0 --- /dev/null +++ b/dotnet/docs/html/functions_func_0x62.html @@ -0,0 +1,104 @@ + + + + + + +mxGraph: Class Members - Functions + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+ + + + + diff --git a/dotnet/docs/html/functions_func_0x63.html b/dotnet/docs/html/functions_func_0x63.html new file mode 100644 index 000000000..86858d48b --- /dev/null +++ b/dotnet/docs/html/functions_func_0x63.html @@ -0,0 +1,211 @@ + + + + + + +mxGraph: Class Members - Functions + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+
+  + +

- c -

+
+ + + + diff --git a/dotnet/docs/html/functions_func_0x64.html b/dotnet/docs/html/functions_func_0x64.html new file mode 100644 index 000000000..f607366e4 --- /dev/null +++ b/dotnet/docs/html/functions_func_0x64.html @@ -0,0 +1,199 @@ + + + + + + +mxGraph: Class Members - Functions + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+
+  + +

- d -

+
+ + + + diff --git a/dotnet/docs/html/functions_func_0x65.html b/dotnet/docs/html/functions_func_0x65.html new file mode 100644 index 000000000..0603b4938 --- /dev/null +++ b/dotnet/docs/html/functions_func_0x65.html @@ -0,0 +1,139 @@ + + + + + + +mxGraph: Class Members - Functions + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+ + + + + diff --git a/dotnet/docs/html/functions_func_0x66.html b/dotnet/docs/html/functions_func_0x66.html new file mode 100644 index 000000000..e50ecaf6a --- /dev/null +++ b/dotnet/docs/html/functions_func_0x66.html @@ -0,0 +1,106 @@ + + + + + + +mxGraph: Class Members - Functions + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+
+  + +

- f -

+
+ + + + diff --git a/dotnet/docs/html/functions_func_0x67.html b/dotnet/docs/html/functions_func_0x67.html new file mode 100644 index 000000000..ab3712184 --- /dev/null +++ b/dotnet/docs/html/functions_func_0x67.html @@ -0,0 +1,429 @@ + + + + + + +mxGraph: Class Members - Functions + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+
+  + +

- g -

+
+ + + + diff --git a/dotnet/docs/html/functions_func_0x68.html b/dotnet/docs/html/functions_func_0x68.html new file mode 100644 index 000000000..6bdaffc60 --- /dev/null +++ b/dotnet/docs/html/functions_func_0x68.html @@ -0,0 +1,95 @@ + + + + + + +mxGraph: Class Members - Functions + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+
+  + +

- h -

+
+ + + + diff --git a/dotnet/docs/html/functions_func_0x69.html b/dotnet/docs/html/functions_func_0x69.html new file mode 100644 index 000000000..b20c6d234 --- /dev/null +++ b/dotnet/docs/html/functions_func_0x69.html @@ -0,0 +1,195 @@ + + + + + + +mxGraph: Class Members - Functions + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+
+  + +

- i -

+
+ + + + diff --git a/dotnet/docs/html/functions_func_0x6c.html b/dotnet/docs/html/functions_func_0x6c.html new file mode 100644 index 000000000..fe9f52024 --- /dev/null +++ b/dotnet/docs/html/functions_func_0x6c.html @@ -0,0 +1,104 @@ + + + + + + +mxGraph: Class Members - Functions + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+
+  + +

- l -

+
+ + + + diff --git a/dotnet/docs/html/functions_func_0x6d.html b/dotnet/docs/html/functions_func_0x6d.html new file mode 100644 index 000000000..807d66c41 --- /dev/null +++ b/dotnet/docs/html/functions_func_0x6d.html @@ -0,0 +1,178 @@ + + + + + + +mxGraph: Class Members - Functions + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+
+  + +

- m -

+
+ + + + diff --git a/dotnet/docs/html/functions_func_0x70.html b/dotnet/docs/html/functions_func_0x70.html new file mode 100644 index 000000000..bd7a878b1 --- /dev/null +++ b/dotnet/docs/html/functions_func_0x70.html @@ -0,0 +1,144 @@ + + + + + + +mxGraph: Class Members - Functions + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+
+  + +

- p -

+
+ + + + diff --git a/dotnet/docs/html/functions_func_0x71.html b/dotnet/docs/html/functions_func_0x71.html new file mode 100644 index 000000000..94243628f --- /dev/null +++ b/dotnet/docs/html/functions_func_0x71.html @@ -0,0 +1,93 @@ + + + + + + +mxGraph: Class Members - Functions + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+
+  + +

- q -

+
+ + + + diff --git a/dotnet/docs/html/functions_func_0x72.html b/dotnet/docs/html/functions_func_0x72.html new file mode 100644 index 000000000..35c163fa3 --- /dev/null +++ b/dotnet/docs/html/functions_func_0x72.html @@ -0,0 +1,166 @@ + + + + + + +mxGraph: Class Members - Functions + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+
+  + +

- r -

+
+ + + + diff --git a/dotnet/docs/html/functions_func_0x73.html b/dotnet/docs/html/functions_func_0x73.html new file mode 100644 index 000000000..e65509529 --- /dev/null +++ b/dotnet/docs/html/functions_func_0x73.html @@ -0,0 +1,171 @@ + + + + + + +mxGraph: Class Members - Functions + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+ + + + + diff --git a/dotnet/docs/html/functions_func_0x74.html b/dotnet/docs/html/functions_func_0x74.html new file mode 100644 index 000000000..8be4dff26 --- /dev/null +++ b/dotnet/docs/html/functions_func_0x74.html @@ -0,0 +1,107 @@ + + + + + + +mxGraph: Class Members - Functions + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+
+  + +

- t -

+
+ + + + diff --git a/dotnet/docs/html/functions_func_0x75.html b/dotnet/docs/html/functions_func_0x75.html new file mode 100644 index 000000000..6d4f01361 --- /dev/null +++ b/dotnet/docs/html/functions_func_0x75.html @@ -0,0 +1,137 @@ + + + + + + +mxGraph: Class Members - Functions + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+
+  + +

- u -

+
+ + + + diff --git a/dotnet/docs/html/functions_func_0x76.html b/dotnet/docs/html/functions_func_0x76.html new file mode 100644 index 000000000..56f3d3c2b --- /dev/null +++ b/dotnet/docs/html/functions_func_0x76.html @@ -0,0 +1,98 @@ + + + + + + +mxGraph: Class Members - Functions + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+
+  + +

- v -

+
+ + + + diff --git a/dotnet/docs/html/functions_func_0x77.html b/dotnet/docs/html/functions_func_0x77.html new file mode 100644 index 000000000..878932d8a --- /dev/null +++ b/dotnet/docs/html/functions_func_0x77.html @@ -0,0 +1,98 @@ + + + + + + +mxGraph: Class Members - Functions + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+
+  + +

- w -

+
+ + + + diff --git a/dotnet/docs/html/functions_prop.html b/dotnet/docs/html/functions_prop.html new file mode 100644 index 000000000..d7336dedd --- /dev/null +++ b/dotnet/docs/html/functions_prop.html @@ -0,0 +1,479 @@ + + + + + + +mxGraph: Class Members - Properties + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+
+  + +

- a -

+ + +

- b -

+ + +

- c -

+ + +

- d -

+ + +

- e -

+ + +

- f -

+ + +

- g -

+ + +

- h -

+ + +

- i -

+ + +

- l -

+ + +

- m -

+ + +

- o -

+ + +

- p -

+ + +

- r -

+ + +

- s -

+ + +

- t -

+ + +

- v -

+ + +

- w -

+ + +

- x -

+ + +

- y -

+
+ + + + diff --git a/dotnet/docs/html/functions_vars.html b/dotnet/docs/html/functions_vars.html new file mode 100644 index 000000000..d451b28c6 --- /dev/null +++ b/dotnet/docs/html/functions_vars.html @@ -0,0 +1,156 @@ + + + + + + +mxGraph: Class Members - Variables + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+
+  + +

- a -

+
+ + + + diff --git a/dotnet/docs/html/functions_vars_0x62.html b/dotnet/docs/html/functions_vars_0x62.html new file mode 100644 index 000000000..a67f7f861 --- /dev/null +++ b/dotnet/docs/html/functions_vars_0x62.html @@ -0,0 +1,108 @@ + + + + + + +mxGraph: Class Members - Variables + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+ + + + + diff --git a/dotnet/docs/html/functions_vars_0x63.html b/dotnet/docs/html/functions_vars_0x63.html new file mode 100644 index 000000000..95dd4bab4 --- /dev/null +++ b/dotnet/docs/html/functions_vars_0x63.html @@ -0,0 +1,130 @@ + + + + + + +mxGraph: Class Members - Variables + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+ + + + + diff --git a/dotnet/docs/html/functions_vars_0x64.html b/dotnet/docs/html/functions_vars_0x64.html new file mode 100644 index 000000000..77558edfa --- /dev/null +++ b/dotnet/docs/html/functions_vars_0x64.html @@ -0,0 +1,155 @@ + + + + + + +mxGraph: Class Members - Variables + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+
+  + +

- d -

+
+ + + + diff --git a/dotnet/docs/html/functions_vars_0x65.html b/dotnet/docs/html/functions_vars_0x65.html new file mode 100644 index 000000000..c507febed --- /dev/null +++ b/dotnet/docs/html/functions_vars_0x65.html @@ -0,0 +1,143 @@ + + + + + + +mxGraph: Class Members - Variables + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+
+  + +

- e -

+
+ + + + diff --git a/dotnet/docs/html/functions_vars_0x66.html b/dotnet/docs/html/functions_vars_0x66.html new file mode 100644 index 000000000..4c5efd73b --- /dev/null +++ b/dotnet/docs/html/functions_vars_0x66.html @@ -0,0 +1,116 @@ + + + + + + +mxGraph: Class Members - Variables + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+
+  + +

- f -

+
+ + + + diff --git a/dotnet/docs/html/functions_vars_0x67.html b/dotnet/docs/html/functions_vars_0x67.html new file mode 100644 index 000000000..e6ff634a1 --- /dev/null +++ b/dotnet/docs/html/functions_vars_0x67.html @@ -0,0 +1,117 @@ + + + + + + +mxGraph: Class Members - Variables + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+
+  + +

- g -

+
+ + + + diff --git a/dotnet/docs/html/functions_vars_0x68.html b/dotnet/docs/html/functions_vars_0x68.html new file mode 100644 index 000000000..795b1de4a --- /dev/null +++ b/dotnet/docs/html/functions_vars_0x68.html @@ -0,0 +1,104 @@ + + + + + + +mxGraph: Class Members - Variables + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+
+  + +

- h -

+
+ + + + diff --git a/dotnet/docs/html/functions_vars_0x69.html b/dotnet/docs/html/functions_vars_0x69.html new file mode 100644 index 000000000..ffa2d0da5 --- /dev/null +++ b/dotnet/docs/html/functions_vars_0x69.html @@ -0,0 +1,129 @@ + + + + + + +mxGraph: Class Members - Variables + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+ + + + + diff --git a/dotnet/docs/html/functions_vars_0x6c.html b/dotnet/docs/html/functions_vars_0x6c.html new file mode 100644 index 000000000..7ef206941 --- /dev/null +++ b/dotnet/docs/html/functions_vars_0x6c.html @@ -0,0 +1,137 @@ + + + + + + +mxGraph: Class Members - Variables + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+
+  + +

- l -

+
+ + + + diff --git a/dotnet/docs/html/functions_vars_0x6d.html b/dotnet/docs/html/functions_vars_0x6d.html new file mode 100644 index 000000000..809c12942 --- /dev/null +++ b/dotnet/docs/html/functions_vars_0x6d.html @@ -0,0 +1,116 @@ + + + + + + +mxGraph: Class Members - Variables + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+
+  + +

- m -

+
+ + + + diff --git a/dotnet/docs/html/functions_vars_0x6e.html b/dotnet/docs/html/functions_vars_0x6e.html new file mode 100644 index 000000000..811174c1f --- /dev/null +++ b/dotnet/docs/html/functions_vars_0x6e.html @@ -0,0 +1,113 @@ + + + + + + +mxGraph: Class Members - Variables + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+
+  + +

- n -

+
+ + + + diff --git a/dotnet/docs/html/functions_vars_0x6f.html b/dotnet/docs/html/functions_vars_0x6f.html new file mode 100644 index 000000000..e05f03d20 --- /dev/null +++ b/dotnet/docs/html/functions_vars_0x6f.html @@ -0,0 +1,101 @@ + + + + + + +mxGraph: Class Members - Variables + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+
+  + +

- o -

+
+ + + + diff --git a/dotnet/docs/html/functions_vars_0x70.html b/dotnet/docs/html/functions_vars_0x70.html new file mode 100644 index 000000000..03acd3825 --- /dev/null +++ b/dotnet/docs/html/functions_vars_0x70.html @@ -0,0 +1,125 @@ + + + + + + +mxGraph: Class Members - Variables + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+
+  + +

- p -

+
+ + + + diff --git a/dotnet/docs/html/functions_vars_0x72.html b/dotnet/docs/html/functions_vars_0x72.html new file mode 100644 index 000000000..b78bb362d --- /dev/null +++ b/dotnet/docs/html/functions_vars_0x72.html @@ -0,0 +1,119 @@ + + + + + + +mxGraph: Class Members - Variables + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+
+  + +

- r -

+
+ + + + diff --git a/dotnet/docs/html/functions_vars_0x73.html b/dotnet/docs/html/functions_vars_0x73.html new file mode 100644 index 000000000..9fe269e29 --- /dev/null +++ b/dotnet/docs/html/functions_vars_0x73.html @@ -0,0 +1,420 @@ + + + + + + +mxGraph: Class Members - Variables + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+
+  + +

- s -

+
+ + + + diff --git a/dotnet/docs/html/functions_vars_0x74.html b/dotnet/docs/html/functions_vars_0x74.html new file mode 100644 index 000000000..c0a814001 --- /dev/null +++ b/dotnet/docs/html/functions_vars_0x74.html @@ -0,0 +1,123 @@ + + + + + + +mxGraph: Class Members - Variables + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+
+  + +

- t -

+
+ + + + diff --git a/dotnet/docs/html/functions_vars_0x75.html b/dotnet/docs/html/functions_vars_0x75.html new file mode 100644 index 000000000..640af8a31 --- /dev/null +++ b/dotnet/docs/html/functions_vars_0x75.html @@ -0,0 +1,95 @@ + + + + + + +mxGraph: Class Members - Variables + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+
+  + +

- u -

+
+ + + + diff --git a/dotnet/docs/html/functions_vars_0x76.html b/dotnet/docs/html/functions_vars_0x76.html new file mode 100644 index 000000000..07c95d981 --- /dev/null +++ b/dotnet/docs/html/functions_vars_0x76.html @@ -0,0 +1,114 @@ + + + + + + +mxGraph: Class Members - Variables + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+
+  + +

- v -

+
+ + + + diff --git a/dotnet/docs/html/functions_vars_0x77.html b/dotnet/docs/html/functions_vars_0x77.html new file mode 100644 index 000000000..2d0565a08 --- /dev/null +++ b/dotnet/docs/html/functions_vars_0x77.html @@ -0,0 +1,104 @@ + + + + + + +mxGraph: Class Members - Variables + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+
+  + +

- w -

+
+ + + + diff --git a/dotnet/docs/html/functions_vars_0x78.html b/dotnet/docs/html/functions_vars_0x78.html new file mode 100644 index 000000000..7086d96ab --- /dev/null +++ b/dotnet/docs/html/functions_vars_0x78.html @@ -0,0 +1,95 @@ + + + + + + +mxGraph: Class Members - Variables + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+
+  + +

- x -

+
+ + + + diff --git a/dotnet/docs/html/functions_vars_0x79.html b/dotnet/docs/html/functions_vars_0x79.html new file mode 100644 index 000000000..b0e20f0cd --- /dev/null +++ b/dotnet/docs/html/functions_vars_0x79.html @@ -0,0 +1,95 @@ + + + + + + +mxGraph: Class Members - Variables + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + + +
+
+  + +

- y -

+
+ + + + diff --git a/dotnet/docs/html/hierarchy.html b/dotnet/docs/html/hierarchy.html new file mode 100644 index 000000000..807643348 --- /dev/null +++ b/dotnet/docs/html/hierarchy.html @@ -0,0 +1,106 @@ + + + + + + +mxGraph: Class Hierarchy + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + +
+
+
+
Class Hierarchy
+
+
+
This inheritance list is sorted roughly, but not completely, alphabetically:
+
[detail level 123]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
oCcom.mxgraph.mxCellRenderer.CanvasFactoryDefines the requirements for a class that can create canvases.
|\Ccom.mxgraph.mxCellRenderer.ImageCanvasFactoryFIXME: Use anonymous class in CreateImage with invocation parameters in factory method code.
oCICloneable
|\Ccom.mxgraph.mxGdiCanvas2D.CanvasState
oCcom.mxgraph.mxCellPathImplements a mechanism for temporary cell Ids.
oCcom.mxgraph.mxCellRendererClass that can draw an independent array of cells.
oCcom.mxgraph.mxCodecXML codec for .NET object graphs. In order to resolve forward references when reading files the XML document that contains the data must be passed to the constructor.
oCcom.mxgraph.mxCodecRegistryStatic class that acts as a global registry for codecs. See mxCodec for an example of using this class.
oCcom.mxgraph.mxConnectionConstraintDefines an object that contains the constraints about how to connect one side of an edge to its terminal.
oCcom.mxgraph.mxConstantsDefines various global constants.
oCcom.mxgraph.mxEdgeStyleProvides various edge styles to be used as the values for mxConstants.STYLE_EDGE in a cell style.
oCcom.mxgraph.mxGraphImplements a graph object that allows to create diagrams from a graph model and stylesheet.
oCcom.mxgraph.mxGraphViewImplements a view for the graph. This class is in charge of computing the absolute coordinates for the relative child geometries, the points for perimeters and edge styles and keeping them cached in mxCellStates for faster retrieval. The states are updated whenever the model or the view state (translate, scale) changes. The scale and translate are honoured in the bounds.
oCcom.mxgraph.mxGraphViewReaderAn abstract converter that renders display XML data onto a canvas.
|\Ccom.mxgraph.mxGraphViewImageReaderA converter that renders display XML data onto a GDI canvas.
oCcom.mxgraph.mxICanvasDefines the requirements for a canvas that paints the vertices and edges of a graph.
|oCcom.mxgraph.mxBasicCanvasBasic implementation of a canvas that draws a graph.
||\Ccom.mxgraph.mxGdiCanvasImplementation of a canvas that uses GDI for painting.
|\Ccom.mxgraph.mxImageCanvasImplements a canvas that draws onto an image.
oCcom.mxgraph.mxICanvas2DDefines the requirements for a canvas that paints the vertices and edges of a graph.
|\Ccom.mxgraph.mxGdiCanvas2DUsed for exporting images. To render to an image from a given XML string, graph size and and background color, the following code is used:
oCcom.mxgraph.mxICellDefines the requirements for a cell that can be used in an mxGraphModel.
|\Ccom.mxgraph.mxCellCells are the elements of the graph model. They represent the state of the groups, vertices and edges in a graph.
oCcom.mxgraph.mxIGraphLayoutDefines the requirements for an object that implements a graph layout.
|\Ccom.mxgraph.mxFastOrganicLayoutFast organic layout algorithm.
oCcom.mxgraph.mxIGraphModelDefines the requirements for a graph model to be used with mxGraph.
|\Ccom.mxgraph.mxGraphModelImplements a graph model. The graph model acts as a wrapper around the cells which are in charge of storing the actual graph datastructure. The model acts as a transactional wrapper with event notification for all changes, whereas the cells contain the atomic operations for updating the actual datastructure.
oCcom.mxgraph.mxImageBundleMaps from keys to base64 encoded images or file locations. All values must be URLs or use the format data:image/format followed by a comma and the base64 encoded image data, eg. "data:image/gif,XYZ", where XYZ is the base64 encoded image data
oCcom.mxgraph.mxObjectCodecGeneric codec for C# objects. See below for a detailed description of the encoding/decoding scheme. Note: Since booleans are numbers in JavaScript, all boolean values are encoded into 1 for true and 0 for false.
|oCcom.mxgraph.mxCellCodecCodec for mxCells. This class is created and registered dynamically at load time and used implicitely via mxCodec and the mxCodecRegistry.
|oCcom.mxgraph.mxModelCodecCodec for mxGraphModels. This class is created and registered dynamically at load time and used implicitely via mxCodec and the mxCodecRegistry.
|\Ccom.mxgraph.mxStylesheetCodecCodec for mxStylesheets. This class is created and registered dynamically at load time and used implicitely via mxCodec and the mxCodecRegistry.
oCcom.mxgraph.mxPerimeterProvides various perimeter functions to be used in a style as the value of mxConstants.STYLE_PERIMETER.
oCcom.mxgraph.mxPointImplements a 2-dimensional point with double precision coordinates.
|\Ccom.mxgraph.mxRectangleImplements a 2-dimensional rectangle with double precision coordinates.
| oCcom.mxgraph.mxCellStateRepresents the current state of a cell in a given graph view.
| \Ccom.mxgraph.mxGeometryRepresents the geometry of a cell. For vertices, the geometry consists of the x- and y-location, as well as the width and height. For edges, the edge either defines the source- and target-terminal, or the geometry defines the respective terminal points.
oCcom.mxgraph.mxSaxOutputHandler
oCcom.mxgraph.mxSessionImplements a session that may be attached to a shared diagram.
oCcom.mxgraph.mxSharedDiagramImplements a diagram that may be shared among multiple sessions.
oCcom.mxgraph.mxStencilImplements a stencil for the given XML definition. This class implements the mxGraph stencil schema.
oCcom.mxgraph.mxStencilRegistry
oCcom.mxgraph.mxStyleRegistryStatic class that acts as a global registry for codecs. See mxCodec for an example of using this class.
oCcom.mxgraph.mxStylesheetDefines the appearance of the cells in a graph.
\Ccom.mxgraph.mxUtilsContains various helper methods for use with mxGraph.
+
+
+ + + + diff --git a/dotnet/docs/html/index.html b/dotnet/docs/html/index.html new file mode 100644 index 000000000..f8d62682d --- /dev/null +++ b/dotnet/docs/html/index.html @@ -0,0 +1,50 @@ + + + + + + +mxGraph: Main Page + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + +
+
+
+
mxGraph Documentation
+
+
+
+ + + + diff --git a/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICanvas-members.html b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICanvas-members.html new file mode 100644 index 000000000..1b39ef529 --- /dev/null +++ b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICanvas-members.html @@ -0,0 +1,68 @@ + + + + + + +mxGraph: Member List + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+
+
com.mxgraph.mxICanvas Member List
+
+
+ +

This is the complete list of members for com.mxgraph.mxICanvas, including all inherited members.

+ + + + + +
DrawCell(mxCellState state)com.mxgraph.mxICanvas
DrawLabel(string text, mxCellState state, bool html)com.mxgraph.mxICanvas
Scalecom.mxgraph.mxICanvas
Translatecom.mxgraph.mxICanvas
+ + + + diff --git a/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICanvas.html b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICanvas.html new file mode 100644 index 000000000..9e3f636f4 --- /dev/null +++ b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICanvas.html @@ -0,0 +1,229 @@ + + + + + + +mxGraph: com.mxgraph.mxICanvas Interface Reference + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+ +
+
com.mxgraph.mxICanvas Interface Reference
+
+
+ +

Defines the requirements for a canvas that paints the vertices and edges of a graph. + More...

+
+Inheritance diagram for com.mxgraph.mxICanvas:
+
+
+ + +com.mxgraph.mxBasicCanvas +com.mxgraph.mxImageCanvas +com.mxgraph.mxGdiCanvas + +
+ + + + + + + + +

+Public Member Functions

Object DrawCell (mxCellState state)
 Draws the given cell. More...
 
Object DrawLabel (string text, mxCellState state, bool html)
 Draws the given label. More...
 
+ + + + + + + +

+Properties

Point Translate [get, set]
 Sets or returns the user object of the cell. More...
 
double Scale [get, set]
 Sets or returns the user object of the cell. More...
 
+

Detailed Description

+

Defines the requirements for a canvas that paints the vertices and edges of a graph.

+

Member Function Documentation

+ +
+
+ + + + + + + + +
Object com.mxgraph.mxICanvas.DrawCell (mxCellState state)
+
+ +

Draws the given cell.

+
Parameters
+ + +
stateState of the cell to be painted.
+
+
+
Returns
Object that represents the vertex.
+ +

Implemented in com.mxgraph.mxImageCanvas, com.mxgraph.mxGdiCanvas, and com.mxgraph.mxBasicCanvas.

+ +

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

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
Object com.mxgraph.mxICanvas.DrawLabel (string text,
mxCellState state,
bool html 
)
+
+ +

Draws the given label.

+
Parameters
+ + + + +
textString that represents the label.
stateState of the cell whose label is to be painted.
htmlSpecifies if the label contains HTML markup.
+
+
+
Returns
Object that represents the label.
+ +

Implemented in com.mxgraph.mxGdiCanvas, com.mxgraph.mxImageCanvas, and com.mxgraph.mxBasicCanvas.

+ +

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

+ +
+
+

Property Documentation

+ +
+
+ + + + + +
+ + + + +
double com.mxgraph.mxICanvas.Scale
+
+getset
+
+ +

Sets or returns the user object of the cell.

+ +

Referenced by com.mxgraph.mxCellRenderer.DrawCells().

+ +
+
+ +
+
+ + + + + +
+ + + + +
Point com.mxgraph.mxICanvas.Translate
+
+getset
+
+ +

Sets or returns the user object of the cell.

+ +

Referenced by com.mxgraph.mxCellRenderer.DrawCells(), and com.mxgraph.mxGraph.DrawState().

+ +
+
+
The documentation for this interface was generated from the following file:
    +
  • src/canvas/mxICanvas.cs
  • +
+
+ + + + diff --git a/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICanvas.png b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICanvas.png new file mode 100644 index 0000000000000000000000000000000000000000..8a03b1008bfa90a9b88732a93ec432d95b0f5a80 GIT binary patch literal 1445 zcma)64NOy46n?cL3@Mo5#EsucrD2*Dq{=@y2gtKfv~`l92nsTO6mUSRl&-i;2hLGi zM4X_^2^OVL(E`O5tdtD}Dg)}kR|_h(qVOmbEWrZZL){W%Vs?{z?>Ra5BY!bXXXF^V8GBI3IL#Jh@EGKM$Wc0x0A@VdVAQ;V58B9m?L8^v)HYLi1m6)rBajp zhmMGAmPsK~0p!u*y5F&L0|1y1!Jsd99znt9AD{W%%_4*l(>*!wc+~zP@z@h5kN8#c z5fy%*Z91y=7QowJAxrlM@ba~hg%GM0gn`EuwA^%x?`E$n_P=%0H0?OqywxMKMJEHk zl%0!~)aaAe704zwR+ITQ_m#|$QYx?XqIKN$n*A;>`qBKOk#L`GbfR#Byo>-bRvzG$ z?sHC<4Tl?S8#>V)39 z9g5z4&9A3L63glR?Qzu^3rimONeSo98d z(vwP6AsB`pk(sivd!jQ7u4dTV5 z*qsop+(>G!x}x=f%6wE7=g&4>o!$K~tD4S9vlmv*kLh-I?2E$napoCusgIb|Bx*o7=xQ{%4e_hm4YhUDSjh8AkFFyXK=xwrV9;+<~x?0 z)6<|=pk`E~fIV}IbO{#x0x{V8= z7III&5!?HU`CpoNE7cEYk5IR{;tsE?Je>iEh{4?2kauc*s~w#MS9m+!n9}E9+}Mas zvbhq?^^3q3Tu>1iBra`|2Jvb?BMAGv%-nGidNlrt5!cb!mmS4qa7V`y`IVJAM!6js2CL z?AiVV50{Du)K&ILK52m$@8sC|WNmp549T(A>;aJ)$FnEWzgu!OzaIHh0Wg>xRJ$eihkpQ~ Cz|YA5 literal 0 HcmV?d00001 diff --git a/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICanvas2D-members.html b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICanvas2D-members.html new file mode 100644 index 000000000..cf493e317 --- /dev/null +++ b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICanvas2D-members.html @@ -0,0 +1,103 @@ + + + + + + +mxGraph: Member List + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+
+
com.mxgraph.mxICanvas2D Member List
+
+
+ +

This is the complete list of members for com.mxgraph.mxICanvas2D, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Alphacom.mxgraph.mxICanvas2D
Begin()com.mxgraph.mxICanvas2D
Close()com.mxgraph.mxICanvas2D
CurveTo(double x1, double y1, double x2, double y2, double x3, double y3)com.mxgraph.mxICanvas2D
Dashedcom.mxgraph.mxICanvas2D
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
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)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 new file mode 100644 index 000000000..f4626cef3 --- /dev/null +++ b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICanvas2D.html @@ -0,0 +1,1406 @@ + + + + + + +mxGraph: com.mxgraph.mxICanvas2D Interface Reference + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+ +
+
com.mxgraph.mxICanvas2D Interface Reference
+
+
+ +

Defines the requirements for a canvas that paints the vertices and edges of a graph. + More...

+
+Inheritance diagram for com.mxgraph.mxICanvas2D:
+
+
+ + +com.mxgraph.mxGdiCanvas2D + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

void Save ()
 Saves the current state of the canvas. More...
 
void Restore ()
 Restores the previous state of the canvas. More...
 
void Scale (double value)
 Uniformaly scales the canvas by the given amount. More...
 
void Translate (double dx, double dy)
 Translates the canvas by the given amount. More...
 
void Rotate (double theta, bool flipH, bool flipV, double cx, double cy)
 Rotates the canvas by the given angle around the given center. This method may add rendering overhead and should be used with care. More...
 
void SetGradient (string color1, string color2, double x, double y, double w, double h, string direction, double alpha1, double alpha2)
 Prepares the canvas to draw a gradient. More...
 
void SetShadowOffset (double dx, double dy)
 Prepares the canvas to draw a gradient. More...
 
void Rect (double x, double y, double w, double h)
 Next fill or stroke should draw a rectangle. More...
 
void Roundrect (double x, double y, double w, double h, double dx, double dy)
 Next fill or stroke should draw a round rectangle. More...
 
void Ellipse (double x, double y, double w, double h)
 Next fill or stroke should draw an ellipse. More...
 
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)
 Draws the given string. Possible values for format are empty string for More...
 
void Begin ()
 Begins a new path. More...
 
void MoveTo (double x, double y)
 Moves to the given path. More...
 
void LineTo (double x, double y)
 Draws a line to the given path. More...
 
void QuadTo (double x1, double y1, double x2, double y2)
 Draws a quadratic curve to the given point. More...
 
void CurveTo (double x1, double y1, double x2, double y2, double x3, double y3)
 Draws a bezier curve to the given point. More...
 
void Close ()
 Closes the current path. More...
 
void Stroke ()
 Paints the outline of the current path. More...
 
void Fill ()
 Fills the current path. More...
 
void FillAndStroke ()
 Fills and paints the outline of the current path. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Properties

double StrokeWidth [set]
 Sets the stroke width. This should default to 1 if unset. More...
 
string StrokeColor [set]
 Sets the stroke color. This should default to mxConstants.NONE if unset. More...
 
bool Dashed [set]
 Sets the dashed state. This should default to false if unset. More...
 
string DashPattern [set]
 Sets the dash pattern. This should default to "3 3" if unset. More...
 
string LineCap [set]
 Sets the linecap. This should default to "flat" if unset. More...
 
string LineJoin [set]
 Sets the linejoin. This should default to "miter" if unset. More...
 
double MiterLimit [set]
 Sets the miterlimit. This should default to 10 if unset. More...
 
double FontSize [set]
 Default value mxConstants.DEFAULT_FONTSIZE. More...
 
string FontColor [set]
 Default value "#000000". More...
 
string FontFamily [set]
 Default value mxConstants#DEFAULT_FONTFAMILY. More...
 
int FontStyle [set]
 Default value 0. See mxConstants#STYLE_FONTSTYLE. More...
 
string FontBackgroundColor [set]
 Default value 0. See mxConstants#STYLE_FONTSTYLE. More...
 
string FontBorderColor [set]
 Default value 0. See mxConstants#STYLE_FONTSTYLE. More...
 
double Alpha [set]
 Default value 1. This method may add rendering overhead and should be used with care. More...
 
string FillColor [set]
 Default value mxConstants#NONE. More...
 
bool Shadow [set]
 Default value mxConstants#NONE. More...
 
string ShadowColor [set]
 Default value mxConstants#NONE. More...
 
double ShadowAlpha [set]
 Default value 1. This method may add rendering overhead and should be used with care. More...
 
+

Detailed Description

+

Defines the requirements for a canvas that paints the vertices and edges of a graph.

+

Member Function Documentation

+ +
+
+ + + + + + + +
void com.mxgraph.mxICanvas2D.Begin ()
+
+ +

Begins a new path.

+ +

Implemented in com.mxgraph.mxGdiCanvas2D.

+ +
+
+ +
+
+ + + + + + + +
void com.mxgraph.mxICanvas2D.Close ()
+
+ +

Closes the current path.

+ +

Implemented in com.mxgraph.mxGdiCanvas2D.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxICanvas2D.CurveTo (double x1,
double y1,
double x2,
double y2,
double x3,
double y3 
)
+
+ +

Draws a bezier curve to the given point.

+ +

Implemented in com.mxgraph.mxGdiCanvas2D.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxICanvas2D.Ellipse (double x,
double y,
double w,
double h 
)
+
+ +

Next fill or stroke should draw an ellipse.

+ +

Implemented in com.mxgraph.mxGdiCanvas2D.

+ +
+
+ +
+
+ + + + + + + +
void com.mxgraph.mxICanvas2D.Fill ()
+
+ +

Fills the current path.

+ +

Implemented in com.mxgraph.mxGdiCanvas2D.

+ +
+
+ +
+
+ + + + + + + +
void com.mxgraph.mxICanvas2D.FillAndStroke ()
+
+ +

Fills and paints the outline of the current path.

+ +

Implemented in com.mxgraph.mxGdiCanvas2D.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxICanvas2D.Image (double x,
double y,
double w,
double h,
string src,
bool aspect,
bool flipH,
bool flipV 
)
+
+ +

Draws the given image.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxICanvas2D.LineTo (double x,
double y 
)
+
+ +

Draws a line to the given path.

+ +

Implemented in com.mxgraph.mxGdiCanvas2D.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxICanvas2D.MoveTo (double x,
double y 
)
+
+ +

Moves to the given path.

+ +

Implemented in com.mxgraph.mxGdiCanvas2D.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxICanvas2D.QuadTo (double x1,
double y1,
double x2,
double y2 
)
+
+ +

Draws a quadratic curve to the given point.

+ +

Implemented in com.mxgraph.mxGdiCanvas2D.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxICanvas2D.Rect (double x,
double y,
double w,
double h 
)
+
+ +

Next fill or stroke should draw a rectangle.

+ +

Implemented in com.mxgraph.mxGdiCanvas2D.

+ +
+
+ +
+
+ + + + + + + +
void com.mxgraph.mxICanvas2D.Restore ()
+
+ +

Restores the previous state of the canvas.

+ +

Implemented in com.mxgraph.mxGdiCanvas2D.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxICanvas2D.Rotate (double theta,
bool flipH,
bool flipV,
double cx,
double cy 
)
+
+ +

Rotates the canvas by the given angle around the given center. This method may add rendering overhead and should be used with care.

+
Parameters
+ + + + + + +
thetaRotation angle in degrees (0 - 360).
flipHSpecifies if drawing should be flipped horizontally.
flipVSpecifies if drawing should be flipped vertically.
cxX-coordinate of the center point.
cyY-coordinate of the center point.
+
+
+ +

Implemented in com.mxgraph.mxGdiCanvas2D.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxICanvas2D.Roundrect (double x,
double y,
double w,
double h,
double dx,
double dy 
)
+
+ +

Next fill or stroke should draw a round rectangle.

+ +

Implemented in com.mxgraph.mxGdiCanvas2D.

+ +
+
+ +
+
+ + + + + + + +
void com.mxgraph.mxICanvas2D.Save ()
+
+ +

Saves the current state of the canvas.

+ +

Implemented in com.mxgraph.mxGdiCanvas2D.

+ +
+
+ +
+
+ + + + + + + + +
void com.mxgraph.mxICanvas2D.Scale (double value)
+
+ +

Uniformaly scales the canvas by the given amount.

+
Parameters
+ + +
valueThe new scale value.
+
+
+ +

Implemented in com.mxgraph.mxGdiCanvas2D.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxICanvas2D.SetGradient (string color1,
string color2,
double x,
double y,
double w,
double h,
string direction,
double alpha1,
double alpha2 
)
+
+ +

Prepares the canvas to draw a gradient.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxICanvas2D.SetShadowOffset (double dx,
double dy 
)
+
+ +

Prepares the canvas to draw a gradient.

+ +

Implemented in com.mxgraph.mxGdiCanvas2D.

+ +
+
+ +
+
+ + + + + + + +
void com.mxgraph.mxICanvas2D.Stroke ()
+
+ +

Paints the outline of the current path.

+ +

Implemented in com.mxgraph.mxGdiCanvas2D.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void 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 
)
+
+ +

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

+ +

Implemented in com.mxgraph.mxGdiCanvas2D.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxICanvas2D.Translate (double dx,
double dy 
)
+
+ +

Translates the canvas by the given amount.

+
Parameters
+ + + +
dxX-coordinate of the translation.
dyY-coordinate of the translation.
+
+
+ +

Implemented in com.mxgraph.mxGdiCanvas2D.

+ +
+
+

Property Documentation

+ +
+
+ + + + + +
+ + + + +
double com.mxgraph.mxICanvas2D.Alpha
+
+set
+
+ +

Default value 1. This method may add rendering overhead and should be used with care.

+ +
+
+ +
+
+ + + + + +
+ + + + +
bool com.mxgraph.mxICanvas2D.Dashed
+
+set
+
+ +

Sets the dashed state. This should default to false if unset.

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxICanvas2D.DashPattern
+
+set
+
+ +

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

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxICanvas2D.FillColor
+
+set
+
+ +

Default value mxConstants#NONE.

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxICanvas2D.FontBackgroundColor
+
+set
+
+ +

Default value 0. See mxConstants#STYLE_FONTSTYLE.

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxICanvas2D.FontBorderColor
+
+set
+
+ +

Default value 0. See mxConstants#STYLE_FONTSTYLE.

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxICanvas2D.FontColor
+
+set
+
+ +

Default value "#000000".

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxICanvas2D.FontFamily
+
+set
+
+ +

Default value mxConstants#DEFAULT_FONTFAMILY.

+ +
+
+ +
+
+ + + + + +
+ + + + +
double com.mxgraph.mxICanvas2D.FontSize
+
+set
+
+ +

Default value mxConstants.DEFAULT_FONTSIZE.

+ +
+
+ +
+
+ + + + + +
+ + + + +
int com.mxgraph.mxICanvas2D.FontStyle
+
+set
+
+ +

Default value 0. See mxConstants#STYLE_FONTSTYLE.

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxICanvas2D.LineCap
+
+set
+
+ +

Sets the linecap. This should default to "flat" if unset.

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxICanvas2D.LineJoin
+
+set
+
+ +

Sets the linejoin. This should default to "miter" if unset.

+ +
+
+ +
+
+ + + + + +
+ + + + +
double com.mxgraph.mxICanvas2D.MiterLimit
+
+set
+
+ +

Sets the miterlimit. This should default to 10 if unset.

+ +
+
+ +
+
+ + + + + +
+ + + + +
bool com.mxgraph.mxICanvas2D.Shadow
+
+set
+
+ +

Default value mxConstants#NONE.

+ +
+
+ +
+
+ + + + + +
+ + + + +
double com.mxgraph.mxICanvas2D.ShadowAlpha
+
+set
+
+ +

Default value 1. This method may add rendering overhead and should be used with care.

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxICanvas2D.ShadowColor
+
+set
+
+ +

Default value mxConstants#NONE.

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxICanvas2D.StrokeColor
+
+set
+
+ +

Sets the stroke color. This should default to mxConstants.NONE if unset.

+ +
+
+ +
+
+ + + + + +
+ + + + +
double com.mxgraph.mxICanvas2D.StrokeWidth
+
+set
+
+ +

Sets the stroke width. This should default to 1 if unset.

+ +
+
+
The documentation for this interface was generated from the following file:
    +
  • src/canvas/mxICanvas2D.cs
  • +
+
+ + + + diff --git a/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICanvas2D.png b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICanvas2D.png new file mode 100644 index 0000000000000000000000000000000000000000..16e6f2af16967629deb3dd01b92e0396b246fe19 GIT binary patch literal 733 zcmeAS@N?(olHy`uVBq!ia0vp^JAgQVgBeK9{pBwOq$C1-LR|m<{|{uoc=NTi|Ih>= z3ycpOIKbL@M;^%KC<*clW&kPzfvcxNj2IZ0ay(reLn;{G&V4xPl>(0&f8w$4^-o@l zX>cx$y`KHpVDi=cjWb%9RX*x#F5R-ogWe#St zcT?(Lyx%m%Ec|fi`5i&?&76Q@4wKR94oWS z%k+NSachZ#-|gcbxMBBK`3Jie>#*LNlx17cupZ{6Uq4TJXfFNA zQZQSNK|3q-!|~+6PoW3r-^re&&n*|rdLW#U@4-q2_75Qq%oSSDVBjiX@MpDXSk5GK zAQ)BJ?dhD)u~kpzeD+o9?pU*&L0s@-NJDo=#jC{+JYAl+y!?6n?6&?aFPA4yM?V~| zEC0ZxzvP&Ye`m*>?8S02Ruy-B@7~E!)A16~kLRf8W2ttQo*Sv}HH{!?md0C_U-?BK~x{s^!j;Vva~$e&zgN zXM%_dd1U?InbB6g1MR=(HSnKX+rYNm`-9;JhKt;}HkGsI3(x=i zCRBCC`ZrfJk8{VSZt8XpU-|6z>k9T`%cWMWyY#!FJ27~t)GD@ropyFx?u*yEySUgb zH9t`59?7*w^=j1vC8hXqkax8XxVqSUWjSy8ob@ZeuZG&J+T+jv0@EUcr>mdKI;Vst E0B?U)1poj5 literal 0 HcmV?d00001 diff --git a/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICell-members.html b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICell-members.html new file mode 100644 index 000000000..a4146a6a5 --- /dev/null +++ b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICell-members.html @@ -0,0 +1,91 @@ + + + + + + +mxGraph: Member List + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+
+
com.mxgraph.mxICell Member List
+
+ + + + + diff --git a/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICell.html b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICell.html new file mode 100644 index 000000000..b91170df8 --- /dev/null +++ b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICell.html @@ -0,0 +1,893 @@ + + + + + + +mxGraph: com.mxgraph.mxICell Interface Reference + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+ +
+
com.mxgraph.mxICell Interface Reference
+
+
+ +

Defines the requirements for a cell that can be used in an mxGraphModel. + More...

+
+Inheritance diagram for com.mxgraph.mxICell:
+
+
+ + +com.mxgraph.mxCell + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

mxICell GetTerminal (bool source)
 Returns the source or target terminal of the cell. More...
 
mxICell SetTerminal (mxICell terminal, bool source)
 Sets the source or target terminal. More...
 
int ChildCount ()
 Returns the number of child cells. More...
 
int GetIndex (mxICell child)
 Returns the index of the specified child in the child array. More...
 
mxICell GetChildAt (int index)
 Returns the child at the specified index. More...
 
mxICell Insert (mxICell child)
 Appends the specified child into the child array and updates the parent reference of the child. More...
 
mxICell Insert (mxICell child, int index)
 Inserts the specified child into the child array at the specified index and updates the parent reference of the child. More...
 
mxICell Remove (int index)
 Removes the child at the specified index from the child array and returns the child that was removed. Will remove the parent reference of the child. More...
 
mxICell Remove (mxICell child)
 Removes the given child from the child array. Will remove the parent reference of the child. More...
 
void RemoveFromParent ()
 Removes the cell from its parent. More...
 
int EdgeCount ()
 Returns the number of edges in the edge array. More...
 
int GetEdgeIndex (mxICell edge)
 Returns the index of the specified edge in the edge array. More...
 
mxICell GetEdgeAt (int index)
 Returns the edge at the specified index in the edge array. More...
 
mxICell InsertEdge (mxICell edge, bool isOutgoing)
 Inserts the specified edge into the edge array and returns the edge. Will update the respective terminal reference of the edge. More...
 
mxICell RemoveEdge (mxICell edge, bool isOutgoing)
 Removes the specified edge from the edge array and returns the edge. Will remove the respective terminal reference from the edge. More...
 
void RemoveFromTerminal (bool isSource)
 Removes the edge from its source or target terminal. More...
 
Object Clone ()
 Returns a clone of this cell. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Properties

string Id [get, set]
 Sets or returns the Id of the cell. More...
 
Object Value [get, set]
 Sets or returns the user object of the cell. More...
 
mxGeometry Geometry [get, set]
 Sets or returns the geometry of the cell. More...
 
string Style [get, set]
 Sets or returns the string that describes the style. More...
 
bool Vertex [get]
 Returns true if the cell is a vertex. More...
 
bool Edge [get]
 Returns true if the cell is an edge. More...
 
bool Connectable [get]
 Returns true if the cell is connectable. More...
 
bool Visible [get, set]
 Sets or returns the visible state of the cell. More...
 
bool Collapsed [get, set]
 Sets or returns the collapsed state of the cell. More...
 
mxICell Parent [get, set]
 Sets or returns the parent of the cell. More...
 
+

Detailed Description

+

Defines the requirements for a cell that can be used in an mxGraphModel.

+

Member Function Documentation

+ +
+
+ + + + + + + +
int com.mxgraph.mxICell.ChildCount ()
+
+ +

Returns the number of child cells.

+
Returns
Returns the number of child cells.
+ +

Implemented in com.mxgraph.mxCell.

+ +

Referenced by com.mxgraph.mxGraphModel.CellAdded(), com.mxgraph.mxGraphModel.CellRemoved(), com.mxgraph.mxCodec.EncodeCell(), and com.mxgraph.mxGraphModel.MergeChildrenImpl().

+ +
+
+ +
+
+ + + + + + + +
Object com.mxgraph.mxICell.Clone ()
+
+ +

Returns a clone of this cell.

+
Returns
Returns a clone of this cell.
+ +

Implemented in com.mxgraph.mxCell.

+ +

Referenced by com.mxgraph.mxGraphModel.MergeChildrenImpl().

+ +
+
+ +
+
+ + + + + + + +
int com.mxgraph.mxICell.EdgeCount ()
+
+ +

Returns the number of edges in the edge array.

+
Returns
Returns the number of edges.
+ +

Implemented in com.mxgraph.mxCell.

+ +
+
+ +
+
+ + + + + + + + +
mxICell com.mxgraph.mxICell.GetChildAt (int index)
+
+ +

Returns the child at the specified index.

+
Parameters
+ + +
indexInteger that specifies the child to be returned.
+
+
+
Returns
Returns the child at the specified index.
+ +

Implemented in com.mxgraph.mxCell.

+ +

Referenced by com.mxgraph.mxGraphModel.CellAdded(), com.mxgraph.mxGraphModel.CellRemoved(), com.mxgraph.mxCodec.EncodeCell(), com.mxgraph.mxGraphModel.MergeChildrenImpl(), and com.mxgraph.mxCellPath.Resolve().

+ +
+
+ +
+
+ + + + + + + + +
mxICell com.mxgraph.mxICell.GetEdgeAt (int index)
+
+ +

Returns the edge at the specified index in the edge array.

+
Parameters
+ + +
indexInteger that specifies the index of the edge to be returned.
+
+
+
Returns
Returns the edge at the specified index.
+ +

Implemented in com.mxgraph.mxCell.

+ +
+
+ +
+
+ + + + + + + + +
int com.mxgraph.mxICell.GetEdgeIndex (mxICell edge)
+
+ +

Returns the index of the specified edge in the edge array.

+
Parameters
+ + +
edgeCell whose index should be returned.
+
+
+
Returns
Returns the index of the given edge.
+ +

Implemented in com.mxgraph.mxCell.

+ +
+
+ +
+
+ + + + + + + + +
int com.mxgraph.mxICell.GetIndex (mxICell child)
+
+ +

Returns the index of the specified child in the child array.

+
Parameters
+ + +
childChild whose index should be returned.
+
+
+
Returns
Returns the index of the specified child.
+ +

Implemented in com.mxgraph.mxCell.

+ +

Referenced by com.mxgraph.mxCellPath.Create().

+ +
+
+ +
+
+ + + + + + + + +
mxICell com.mxgraph.mxICell.GetTerminal (bool source)
+
+ +

Returns the source or target terminal of the cell.

+
Parameters
+ + +
sourceBoolean that specifies if the source terminal should be returned.
+
+
+
Returns
Returns the source or target terminal.
+ +

Implemented in com.mxgraph.mxCell.

+ +

Referenced by com.mxgraph.mxCell.InsertEdge(), com.mxgraph.mxCodec.InsertIntoGraph(), com.mxgraph.mxCell.RemoveEdge(), and com.mxgraph.mxGraphModel.SetTerminal().

+ +
+
+ +
+
+ + + + + + + + +
mxICell com.mxgraph.mxICell.Insert (mxICell child)
+
+ +

Appends the specified child into the child array and updates the parent reference of the child.

+
Parameters
+ + +
childCell to be appended to the child array.
+
+
+
Returns
Returns the appended child.
+ +

Implemented in com.mxgraph.mxCell.

+ +

Referenced by com.mxgraph.mxGraphModel.CloneCell(), com.mxgraph.mxCell.Insert(), com.mxgraph.mxCodec.InsertIntoGraph(), and com.mxgraph.mxGraphModel.MergeChildrenImpl().

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
mxICell com.mxgraph.mxICell.Insert (mxICell child,
int index 
)
+
+ +

Inserts the specified child into the child array at the specified index and updates the parent reference of the child.

+
Parameters
+ + + +
childCell to be inserted into the child array.
indexInteger that specifies the index at which the child should be inserted into the child array.
+
+
+
Returns
Returns the inserted child.
+ +

Implemented in com.mxgraph.mxCell.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
mxICell com.mxgraph.mxICell.InsertEdge (mxICell edge,
bool isOutgoing 
)
+
+ +

Inserts the specified edge into the edge array and returns the edge. Will update the respective terminal reference of the edge.

+
Parameters
+ + + +
edgeCell to be inserted into the edge array.
isOutgoingBoolean that specifies if the edge is outgoing.
+
+
+
Returns
Returns the inserted edge.
+ +

Implemented in com.mxgraph.mxCell.

+ +

Referenced by com.mxgraph.mxCodec.InsertIntoGraph(), and com.mxgraph.mxGraphModel.RestoreClone().

+ +
+
+ +
+
+ + + + + + + + +
mxICell com.mxgraph.mxICell.Remove (int index)
+
+ +

Removes the child at the specified index from the child array and returns the child that was removed. Will remove the parent reference of the child.

+
Parameters
+ + +
indexInteger that specifies the index of the child to be removed.
+
+
+
Returns
Returns the child that was removed.
+ +

Implemented in com.mxgraph.mxCell.

+ +

Referenced by com.mxgraph.mxCell.Remove(), and com.mxgraph.mxCell.RemoveEdge().

+ +
+
+ +
+
+ + + + + + + + +
mxICell com.mxgraph.mxICell.Remove (mxICell child)
+
+ +

Removes the given child from the child array. Will remove the parent reference of the child.

+
Parameters
+ + +
child
+
+
+
Returns
Returns the child that was removed.
+ +

Implemented in com.mxgraph.mxCell.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
mxICell com.mxgraph.mxICell.RemoveEdge (mxICell edge,
bool isOutgoing 
)
+
+ +

Removes the specified edge from the edge array and returns the edge. Will remove the respective terminal reference from the edge.

+
Parameters
+ + + +
edgeCell to be removed from the edge array.
isOutgoingBoolean that specifies if the edge is outgoing.
+
+
+
Returns
Returns the edge that was removed.
+ +

Implemented in com.mxgraph.mxCell.

+ +

Referenced by com.mxgraph.mxCell.RemoveFromTerminal(), and com.mxgraph.mxGraphModel.SetTerminal().

+ +
+
+ +
+
+ + + + + + + +
void com.mxgraph.mxICell.RemoveFromParent ()
+
+ +

Removes the cell from its parent.

+ +

Implemented in com.mxgraph.mxCell.

+ +

Referenced by com.mxgraph.mxCell.Insert(), and com.mxgraph.mxGraphModel.Remove().

+ +
+
+ +
+
+ + + + + + + + +
void com.mxgraph.mxICell.RemoveFromTerminal (bool isSource)
+
+ +

Removes the edge from its source or target terminal.

+
Parameters
+ + +
isSourceBoolean that specifies if the edge should be removed from its source or target terminal.
+
+
+ +

Implemented in com.mxgraph.mxCell.

+ +

Referenced by com.mxgraph.mxGraphModel.CellRemoved(), and com.mxgraph.mxCell.InsertEdge().

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
mxICell com.mxgraph.mxICell.SetTerminal (mxICell terminal,
bool source 
)
+
+ +

Sets the source or target terminal.

+
Parameters
+ + + +
terminalCell that represents the new source or target terminal.
sourceBoolean that specifies if the source or target terminal should be set.
+
+
+
Returns
Returns the new terminal.
+ +

Implemented in com.mxgraph.mxCell.

+ +

Referenced by com.mxgraph.mxCell.InsertEdge(), com.mxgraph.mxCodec.InsertIntoGraph(), and com.mxgraph.mxCell.RemoveEdge().

+ +
+
+

Property Documentation

+ +
+
+ + + + + +
+ + + + +
bool com.mxgraph.mxICell.Collapsed
+
+getset
+
+ +

Sets or returns the collapsed state of the cell.

+ +
+
+ +
+
+ + + + + +
+ + + + +
bool com.mxgraph.mxICell.Connectable
+
+get
+
+ +

Returns true if the cell is connectable.

+ +
+
+ +
+
+ + + + + +
+ + + + +
bool com.mxgraph.mxICell.Edge
+
+get
+
+ +

Returns true if the cell is an edge.

+ +
+
+ +
+
+ + + + + +
+ + + + +
mxGeometry com.mxgraph.mxICell.Geometry
+
+getset
+
+ +

Sets or returns the geometry of the cell.

+ +
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxICell.Id
+
+getset
+
+
+ +
+
+ + + + + +
+ + + + +
mxICell com.mxgraph.mxICell.Parent
+
+getset
+
+
+ +
+
+ + + + + +
+ + + + +
string com.mxgraph.mxICell.Style
+
+getset
+
+ +

Sets or returns the string that describes the style.

+ +
+
+ +
+
+ + + + + +
+ + + + +
Object com.mxgraph.mxICell.Value
+
+getset
+
+ +

Sets or returns the user object of the cell.

+ +
+
+ +
+
+ + + + + +
+ + + + +
bool com.mxgraph.mxICell.Vertex
+
+get
+
+ +

Returns true if the cell is a vertex.

+ +
+
+ +
+
+ + + + + +
+ + + + +
bool com.mxgraph.mxICell.Visible
+
+getset
+
+ +

Sets or returns the visible state of the cell.

+ +
+
+
The documentation for this interface was generated from the following file:
    +
  • src/model/mxICell.cs
  • +
+
+ + + + diff --git a/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICell.png b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICell.png new file mode 100644 index 0000000000000000000000000000000000000000..729f9643c22b87ca8d5bb764c4ed60025a17cc74 GIT binary patch literal 544 zcmeAS@N?(olHy`uVBq!ia0vp^%|IN$!3+|4X?7JzNd)+Wxc>kDAIN<1=4)yHp$R}1 z7#}!rfVK0EJdn##666=m08|75S5Ji)F)%Q$_jGX#sbG9N_io=21&-GK319xoS4!76 zu6nuU^2VDRE(co+_QGg*~<(z|(a>)|;qTxy0Csx}0QgnVa!zkrM%A=Cl zlg*nv^In+5-f4Y#q~mVXnMOyS=gGH%B)91A(kxG8GgMP&W_x|%*{MR+<)+(b#k@^U znwRWR`c2ZgcjqAmvum>qzPx`FV*5qHr8bhy_j+%ps_h=`+v2hdoa0lz|FBLwW_0Cy z;tg?zf;hDo_oRy(9lssXYAee2mSlJ^yNE5_fJd=qLl{GWzcho+HExM*xwc2RCCXZ! z3gjnz*jK>D@TizA9Y|dODn+K+>W>~cQ{ydd{8_iLvt!yR$vF=#+Z0&e`Dk}mtV zM^SI + + + + + +mxGraph: Member List + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+
+
com.mxgraph.mxIGraphLayout Member List
+
+
+ +

This is the complete list of members for com.mxgraph.mxIGraphLayout, including all inherited members.

+ + + +
execute(Object parent)com.mxgraph.mxIGraphLayout
move(Object cell, double x, double y)com.mxgraph.mxIGraphLayout
+ + + + diff --git a/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxIGraphLayout.html b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxIGraphLayout.html new file mode 100644 index 000000000..b10413a70 --- /dev/null +++ b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxIGraphLayout.html @@ -0,0 +1,162 @@ + + + + + + +mxGraph: com.mxgraph.mxIGraphLayout Interface Reference + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+ +
+
com.mxgraph.mxIGraphLayout Interface Reference
+
+
+ +

Defines the requirements for an object that implements a graph layout. + More...

+
+Inheritance diagram for com.mxgraph.mxIGraphLayout:
+
+
+ + +com.mxgraph.mxFastOrganicLayout + +
+ + + + + + + + +

+Public Member Functions

void execute (Object parent)
 Executes the layout for the children of the specified parent. More...
 
void move (Object cell, double x, double y)
 Notified when a cell is being moved in a parent that has automatic layout to update the cell state (eg. index) so that the outcome of the layout will position the vertex as close to the point (x, y) as possible. More...
 
+

Detailed Description

+

Defines the requirements for an object that implements a graph layout.

+

Member Function Documentation

+ +
+
+ + + + + + + + +
void com.mxgraph.mxIGraphLayout.execute (Object parent)
+
+ +

Executes the layout for the children of the specified parent.

+
Parameters
+ + +
parentParent cell that contains the children to be layed out.
+
+
+ +

Implemented in com.mxgraph.mxFastOrganicLayout.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void com.mxgraph.mxIGraphLayout.move (Object cell,
double x,
double y 
)
+
+ +

Notified when a cell is being moved in a parent that has automatic layout to update the cell state (eg. index) so that the outcome of the layout will position the vertex as close to the point (x, y) as possible.

+
Parameters
+ + + + +
cellCell which is being moved.
xX-coordinate of the new cell location.
yY-coordinate of the new cell location.
+
+
+ +

Implemented in com.mxgraph.mxFastOrganicLayout.

+ +
+
+
The documentation for this interface was generated from the following file:
    +
  • src/layout/mxIGraphLayout.cs
  • +
+
+ + + + diff --git a/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxIGraphLayout.png b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxIGraphLayout.png new file mode 100644 index 0000000000000000000000000000000000000000..571ab5f7d2d7fe853265aafaf265083bb2f153dc GIT binary patch literal 824 zcmeAS@N?(olHy`uVBq!ia0vp^*MK;HgBeH$U8%kaq$C1-LR|m<{|{uoc=NTi|Ih>= z3ycpOIKbL@M;^%KC<*clW&kPzfvcxNj2IZ0j(fT|hEy=Vo%^<^SwX;+fBMWl|CP53 zPJDVgBKy*#3svnMySdXFpX#5pEVqBi@NQWrt3j8V*a3|y?J)Z z+YjS44Qv4~dn2;7oHx&KJ^e%I`PO?v3$16(UiL6~(OZkWbGL6ReZCg`Uhmo~soALu zW*qr3X`aCxQ*+Wm*{Oz=&z!f{emY_b6>XO;1R@XFARD-_tim50?2C?<_tp9`Wo2)6L=? zLS_=Hy>`sf|Nqr!O2q27eUFPjA61?aw8b~aTf<>p_q(-9Ctl9@-FN(OTtjO2&FGDF z0$;nXu6loDd%|Cp7p}7f9@u9lG4?D1`FP&<`Nik%`ZCPF#QdOcm-@BGh2HC`lWK$S zPJF#AVzUra&th1(%!*)GoB`7Y3MgCxf4uHh|5vo#^ZlRkA@56fO*X1ziumeyO1Vx? zvh>V4rCUGg&E`Gkzf^Ck*VZLw_}I0odM=$em(h0;-wU2=v$kH?@%+1l>b@hIHPI@w zGxBD&oi|&UJLN<1Tl0s9-rHoo+Ti#q-@iR!bK=_hNt;`GnvYHY(o%5kj!EwPq$z9e zw`9AVRSWmun&q|T*p9-+OBXb~GgnoDH~yHaj_0U)pCUd0qmB k>?D(}eH(!xSoVvFCrW2ZeoSaEFqt!Wy85}Sb4q9e063kG2mk;8 literal 0 HcmV?d00001 diff --git a/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxIGraphModel-members.html b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxIGraphModel-members.html new file mode 100644 index 000000000..b30dffe39 --- /dev/null +++ b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxIGraphModel-members.html @@ -0,0 +1,93 @@ + + + + + + +mxGraph: Member List + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+
+
com.mxgraph.mxIGraphModel Member List
+
+
+ +

This is the complete list of members for com.mxgraph.mxIGraphModel, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Add(Object parent, Object child, int index)com.mxgraph.mxIGraphModel
BeginUpdate()com.mxgraph.mxIGraphModel
CloneCells(Object[] cells, bool includeChildren)com.mxgraph.mxIGraphModel
Contains(Object cell)com.mxgraph.mxIGraphModel
EndUpdate()com.mxgraph.mxIGraphModel
GetChildAt(Object parent, int index)com.mxgraph.mxIGraphModel
GetChildCount(Object cell)com.mxgraph.mxIGraphModel
GetEdgeAt(Object cell, int index)com.mxgraph.mxIGraphModel
GetEdgeCount(Object cell)com.mxgraph.mxIGraphModel
GetGeometry(Object cell)com.mxgraph.mxIGraphModel
GetParent(Object child)com.mxgraph.mxIGraphModel
GetStyle(Object cell)com.mxgraph.mxIGraphModel
GetTerminal(Object edge, bool source)com.mxgraph.mxIGraphModel
GetValue(Object cell)com.mxgraph.mxIGraphModel
GraphModelChangecom.mxgraph.mxIGraphModel
IsAncestor(Object parent, Object child)com.mxgraph.mxIGraphModel
IsCollapsed(Object cell)com.mxgraph.mxIGraphModel
IsConnectable(Object cell)com.mxgraph.mxIGraphModel
IsEdge(Object cell)com.mxgraph.mxIGraphModel
IsVertex(Object cell)com.mxgraph.mxIGraphModel
IsVisible(Object cell)com.mxgraph.mxIGraphModel
Remove(Object parent)com.mxgraph.mxIGraphModel
Rootcom.mxgraph.mxIGraphModel
SetCollapsed(Object cell, bool collapsed)com.mxgraph.mxIGraphModel
SetGeometry(Object cell, mxGeometry geometry)com.mxgraph.mxIGraphModel
SetStyle(Object cell, string style)com.mxgraph.mxIGraphModel
SetTerminal(Object edge, Object terminal, bool source)com.mxgraph.mxIGraphModel
SetValue(Object cell, Object value)com.mxgraph.mxIGraphModel
SetVisible(Object cell, bool visible)com.mxgraph.mxIGraphModel
+ + + + diff --git a/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxIGraphModel.html b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxIGraphModel.html new file mode 100644 index 000000000..6d6cd490e --- /dev/null +++ b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxIGraphModel.html @@ -0,0 +1,1104 @@ + + + + + + +mxGraph: com.mxgraph.mxIGraphModel Interface Reference + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+ +
+
com.mxgraph.mxIGraphModel Interface Reference
+
+
+ +

Defines the requirements for a graph model to be used with mxGraph. + More...

+
+Inheritance diagram for com.mxgraph.mxIGraphModel:
+
+
+ + +com.mxgraph.mxGraphModel + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

Object[] CloneCells (Object[] cells, bool includeChildren)
 Returns an array of clones for the given array of cells. Depending on the value of includeChildren, a deep clone is created for each cell. Connections are restored based if the corresponding cell is contained in the passed in array. More...
 
bool IsAncestor (Object parent, Object child)
 Returns true if the given parent is an ancestor of child. More...
 
bool Contains (Object cell)
 Returns true if the model contains the given cell. More...
 
Object GetParent (Object child)
 Returns the parent of the given cell. More...
 
Object Add (Object parent, Object child, int index)
 Adds the specified child to the parent at the given index. If no index is specified then the child is appended to the parent's array of children. More...
 
Object Remove (Object parent)
 Removes the specified cell from the model. This operation will remove the cell and all of its children from the model. More...
 
int GetChildCount (Object cell)
 Returns the number of children in the given cell. More...
 
Object GetChildAt (Object parent, int index)
 Returns the child of the given parent at the given index. More...
 
Object GetTerminal (Object edge, bool source)
 Returns the source or target terminal of the given edge depending on the value of the boolean parameter. More...
 
Object SetTerminal (Object edge, Object terminal, bool source)
 Sets the source or target terminal of the given edge using. More...
 
int GetEdgeCount (Object cell)
 Returns the number of distinct edges connected to the given cell. More...
 
Object GetEdgeAt (Object cell, int index)
 Returns the edge of cell at the given index. More...
 
bool IsVertex (Object cell)
 Returns true if the given cell is a vertex. More...
 
bool IsEdge (Object cell)
 Returns true if the given cell is an edge. More...
 
bool IsConnectable (Object cell)
 Returns true if the given cell is connectable. More...
 
Object GetValue (Object cell)
 Returns the user object of the given cell. More...
 
Object SetValue (Object cell, Object value)
 Sets the user object of then given cell. More...
 
mxGeometry GetGeometry (Object cell)
 Returns the geometry of the given cell. More...
 
mxGeometry SetGeometry (Object cell, mxGeometry geometry)
 Sets the geometry of the given cell. More...
 
string GetStyle (Object cell)
 Returns the style of the given cell. More...
 
string SetStyle (Object cell, string style)
 Sets the style of the given cell. More...
 
bool IsCollapsed (Object cell)
 Returns true if the given cell is collapsed. More...
 
bool SetCollapsed (Object cell, bool collapsed)
 Sets the collapsed state of the given cell. More...
 
bool IsVisible (Object cell)
 Returns true if the given cell is visible. More...
 
bool SetVisible (Object cell, bool visible)
 Sets the visible state of the given cell. More...
 
void BeginUpdate ()
 Increments the updateLevel by one. The event notification is queued until updateLevel reaches 0 by use of endUpdate. More...
 
void EndUpdate ()
 Decrements the updateLevel by one and fires a notification event if the updateLevel reaches 0. More...
 
+ + + + +

+Properties

Object Root [get, set]
 Holds the root cell. More...
 
+ + + + +

+Events

mxGraphModelChangeEventHandler GraphModelChange
 Called when the graph model has changed. More...
 
+

Detailed Description

+

Defines the requirements for a graph model to be used with mxGraph.

+

Member Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
Object com.mxgraph.mxIGraphModel.Add (Object parent,
Object child,
int index 
)
+
+ +

Adds the specified child to the parent at the given index. If no index is specified then the child is appended to the parent's array of children.

+
Parameters
+ + + + +
parentCell that specifies the parent to contain the child.
childCell that specifies the child to be inserted.
indexInteger that specifies the index of the child.
+
+
+
Returns
Returns the inserted child.
+ +

Implemented in com.mxgraph.mxGraphModel.

+ +
+
+ +
+
+ + + + + + + +
void com.mxgraph.mxIGraphModel.BeginUpdate ()
+
+ +

Increments the updateLevel by one. The event notification is queued until updateLevel reaches 0 by use of endUpdate.

+ +

Implemented in com.mxgraph.mxGraphModel.

+ +

Referenced by com.mxgraph.mxFastOrganicLayout.execute(), com.mxgraph.mxUtils.SetCellStyleFlags(), com.mxgraph.mxUtils.SetCellStyles(), and com.mxgraph.mxGraphModel.SetTerminals().

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
Object [] com.mxgraph.mxIGraphModel.CloneCells (Object[] cells,
bool includeChildren 
)
+
+ +

Returns an array of clones for the given array of cells. Depending on the value of includeChildren, a deep clone is created for each cell. Connections are restored based if the corresponding cell is contained in the passed in array.

+
Parameters
+ + + +
cellsArray of cells to be cloned.
includeChildrenBoolean indicating if the cells should be cloned with all descendants.
+
+
+
Returns
Returns a cloned array of cells.
+ +

Implemented in com.mxgraph.mxGraphModel.

+ +
+
+ +
+
+ + + + + + + + +
bool com.mxgraph.mxIGraphModel.Contains (Object cell)
+
+ +

Returns true if the model contains the given cell.

+
Parameters
+ + +
cellCell to be checked.
+
+
+
Returns
Returns true if the cell is in the model.
+ +

Implemented in com.mxgraph.mxGraphModel.

+ +
+
+ +
+
+ + + + + + + +
void com.mxgraph.mxIGraphModel.EndUpdate ()
+
+ +

Decrements the updateLevel by one and fires a notification event if the updateLevel reaches 0.

+ +

Implemented in com.mxgraph.mxGraphModel.

+ +

Referenced by com.mxgraph.mxFastOrganicLayout.execute(), com.mxgraph.mxUtils.SetCellStyleFlags(), com.mxgraph.mxUtils.SetCellStyles(), and com.mxgraph.mxGraphModel.SetTerminals().

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
Object com.mxgraph.mxIGraphModel.GetChildAt (Object parent,
int index 
)
+
+ +

Returns the child of the given parent at the given index.

+
Parameters
+ + + +
parentCell that represents the parent.
indexInteger that specifies the index of the child to be returned.
+
+
+
Returns
Returns the child at index in parent.
+ +

Implemented in com.mxgraph.mxGraphModel.

+ +

Referenced by com.mxgraph.mxFastOrganicLayout.execute(), com.mxgraph.mxGraphView.GetBoundingBox(), com.mxgraph.mxGraphModel.getChildCells(), com.mxgraph.mxGraphView.RemoveState(), com.mxgraph.mxGraphView.ValidateCell(), and com.mxgraph.mxGraphView.ValidateCellState().

+ +
+
+ +
+
+ + + + + + + + +
int com.mxgraph.mxIGraphModel.GetChildCount (Object cell)
+
+ +

Returns the number of children in the given cell.

+
Parameters
+ + +
cellCell whose number of children should be returned.
+
+
+
Returns
Returns the number of children in the given cell.
+ +

Implemented in com.mxgraph.mxGraphModel.

+ +

Referenced by com.mxgraph.mxFastOrganicLayout.execute(), com.mxgraph.mxGraphView.GetBoundingBox(), com.mxgraph.mxGraphModel.getChildCells(), com.mxgraph.mxGraphView.RemoveState(), com.mxgraph.mxGraphView.ValidateCell(), and com.mxgraph.mxGraphView.ValidateCellState().

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
Object com.mxgraph.mxIGraphModel.GetEdgeAt (Object cell,
int index 
)
+
+ +

Returns the edge of cell at the given index.

+
Parameters
+ + + +
cellCell that specifies the vertex.
indexInteger that specifies the index of the edge to return.
+
+
+
Returns
Returns the edge at the given index.
+ +

Implemented in com.mxgraph.mxGraphModel.

+ +

Referenced by com.mxgraph.mxGraphModel.GetDirectedEdgeCount(), com.mxgraph.mxGraphModel.GetEdges(), and com.mxgraph.mxGraphModel.GetEdgesBetween().

+ +
+
+ +
+
+ + + + + + + + +
int com.mxgraph.mxIGraphModel.GetEdgeCount (Object cell)
+
+ +

Returns the number of distinct edges connected to the given cell.

+
Parameters
+ + +
cellCell that represents the vertex.
+
+
+
Returns
Returns the number of edges connected to cell.
+ +

Implemented in com.mxgraph.mxGraphModel.

+ +

Referenced by com.mxgraph.mxGraphModel.GetDirectedEdgeCount(), com.mxgraph.mxGraphModel.GetEdges(), and com.mxgraph.mxGraphModel.GetEdgesBetween().

+ +
+
+ +
+
+ + + + + + + + +
mxGeometry com.mxgraph.mxIGraphModel.GetGeometry (Object cell)
+
+ +

Returns the geometry of the given cell.

+
Parameters
+ + +
cellCell whose geometry should be returned.
+
+
+
Returns
Returns the geometry of the given cell.
+ +

Implemented in com.mxgraph.mxGraphModel.

+ +

Referenced by com.mxgraph.mxFastOrganicLayout.execute().

+ +
+
+ +
+
+ + + + + + + + +
Object com.mxgraph.mxIGraphModel.GetParent (Object child)
+
+ +

Returns the parent of the given cell.

+
Parameters
+ + +
childCell whose parent should be returned.
+
+
+
Returns
Returns the parent of the given cell.
+ +

Implemented in com.mxgraph.mxGraphModel.

+ +

Referenced by com.mxgraph.mxGraphView.GetVisibleTerminal(), com.mxgraph.mxGraphView.UpdateCellState(), and com.mxgraph.mxGraphView.ValidateCellState().

+ +
+
+ +
+
+ + + + + + + + +
string com.mxgraph.mxIGraphModel.GetStyle (Object cell)
+
+ +

Returns the style of the given cell.

+
Parameters
+ + +
cellCell whose style should be returned.
+
+
+
Returns
Returns the style of the given cell.
+ +

Implemented in com.mxgraph.mxGraphModel.

+ +

Referenced by com.mxgraph.mxUtils.SetCellStyleFlags(), and com.mxgraph.mxUtils.SetCellStyles().

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
Object com.mxgraph.mxIGraphModel.GetTerminal (Object edge,
bool source 
)
+
+ +

Returns the source or target terminal of the given edge depending on the value of the boolean parameter.

+
Parameters
+ + + +
edgeCell that specifies the edge.
sourceBoolean indicating which end of the edge should be returned.
+
+
+
Returns
Returns the source or target of the given edge.
+ +

Implemented in com.mxgraph.mxGraphModel.

+ +

Referenced by com.mxgraph.mxGraphModel.GetDirectedEdgeCount(), com.mxgraph.mxGraphModel.GetEdges(), com.mxgraph.mxGraphModel.GetEdgesBetween(), com.mxgraph.mxGraphModel.GetOpposites(), and com.mxgraph.mxGraphView.GetVisibleTerminal().

+ +
+
+ +
+
+ + + + + + + + +
Object com.mxgraph.mxIGraphModel.GetValue (Object cell)
+
+ +

Returns the user object of the given cell.

+
Parameters
+ + +
cellCell whose user object should be returned.
+
+
+
Returns
Returns the user object of the given cell.
+ +

Implemented in com.mxgraph.mxGraphModel.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
bool com.mxgraph.mxIGraphModel.IsAncestor (Object parent,
Object child 
)
+
+ +

Returns true if the given parent is an ancestor of child.

+
Parameters
+ + + +
parentCell that specifies the parent.
childCell that specifies the child.
+
+
+
Returns
Returns true if child is an ancestor of parent.
+ +

Implemented in com.mxgraph.mxGraphModel.

+ +
+
+ +
+
+ + + + + + + + +
bool com.mxgraph.mxIGraphModel.IsCollapsed (Object cell)
+
+ +

Returns true if the given cell is collapsed.

+
Parameters
+ + +
cellCell whose collapsed state should be returned.
+
+
+
Returns
Returns the collapsed state of the given cell.
+ +

Implemented in com.mxgraph.mxGraphModel.

+ +
+
+ +
+
+ + + + + + + + +
bool com.mxgraph.mxIGraphModel.IsConnectable (Object cell)
+
+ +

Returns true if the given cell is connectable.

+
Parameters
+ + +
cellCell whose connectable state should be returned.
+
+
+
Returns
Returns the connectable state of the given cell.
+ +

Implemented in com.mxgraph.mxGraphModel.

+ +
+
+ +
+
+ + + + + + + + +
bool com.mxgraph.mxIGraphModel.IsEdge (Object cell)
+
+ +

Returns true if the given cell is an edge.

+
Parameters
+ + +
cellCell that represents the possible edge.
+
+
+
Returns
Returns true if the given cell is an edge.
+ +

Implemented in com.mxgraph.mxGraphModel.

+ +

Referenced by com.mxgraph.mxGraphView.GetBounds(), com.mxgraph.mxGraphModel.getChildCells(), com.mxgraph.mxGraphView.UpdateCellState(), and com.mxgraph.mxGraphView.ValidateCellState().

+ +
+
+ +
+
+ + + + + + + + +
bool com.mxgraph.mxIGraphModel.IsVertex (Object cell)
+
+ +

Returns true if the given cell is a vertex.

+
Parameters
+ + +
cellCell that represents the possible vertex.
+
+
+
Returns
Returns true if the given cell is a vertex.
+ +

Implemented in com.mxgraph.mxGraphModel.

+ +

Referenced by com.mxgraph.mxGraphView.GetBounds(), com.mxgraph.mxGraphModel.getChildCells(), com.mxgraph.mxGraphView.UpdateCellState(), and com.mxgraph.mxGraphView.ValidateCellState().

+ +
+
+ +
+
+ + + + + + + + +
bool com.mxgraph.mxIGraphModel.IsVisible (Object cell)
+
+ +

Returns true if the given cell is visible.

+
Parameters
+ + +
cellCell whose visible state should be returned.
+
+
+
Returns
Returns the visible state of the given cell.
+ +

Implemented in com.mxgraph.mxGraphModel.

+ +
+
+ +
+
+ + + + + + + + +
Object com.mxgraph.mxIGraphModel.Remove (Object parent)
+
+ +

Removes the specified cell from the model. This operation will remove the cell and all of its children from the model.

+
Parameters
+ + +
parentCell that should be removed.
+
+
+
Returns
Returns the removed cell.
+ +

Implemented in com.mxgraph.mxGraphModel.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
bool com.mxgraph.mxIGraphModel.SetCollapsed (Object cell,
bool collapsed 
)
+
+ +

Sets the collapsed state of the given cell.

+
Parameters
+ + + +
cellCell whose collapsed state should be changed.
collapsedBoolean that specifies the new collpased state.
+
+
+ +

Implemented in com.mxgraph.mxGraphModel.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
mxGeometry com.mxgraph.mxIGraphModel.SetGeometry (Object cell,
mxGeometry geometry 
)
+
+ +

Sets the geometry of the given cell.

+
Parameters
+ + + +
cellCell whose geometry should be changed.
geometryObject that defines the new geometry.
+
+
+ +

Implemented in com.mxgraph.mxGraphModel.

+ +

Referenced by com.mxgraph.mxFastOrganicLayout.execute().

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
string com.mxgraph.mxIGraphModel.SetStyle (Object cell,
string style 
)
+
+ +

Sets the style of the given cell.

+
Parameters
+ + + +
cellCell whose style should be changed.
styleString of the form stylename[;key=value] to specify the new cell style.
+
+
+ +

Implemented in com.mxgraph.mxGraphModel.

+ +

Referenced by com.mxgraph.mxUtils.SetCellStyleFlags(), and com.mxgraph.mxUtils.SetCellStyles().

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
Object com.mxgraph.mxIGraphModel.SetTerminal (Object edge,
Object terminal,
bool source 
)
+
+ +

Sets the source or target terminal of the given edge using.

+
Parameters
+ + + + +
edgeCell that specifies the edge.
terminalCell that specifies the new terminal.
sourceBoolean indicating if the terminal is the new source or target terminal of the edge.
+
+
+ +

Implemented in com.mxgraph.mxGraphModel.

+ +

Referenced by com.mxgraph.mxGraphModel.SetTerminals().

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
Object com.mxgraph.mxIGraphModel.SetValue (Object cell,
Object value 
)
+
+ +

Sets the user object of then given cell.

+
Parameters
+ + + +
cellCell whose user object should be changed.
valueObject that defines the new user object.
+
+
+ +

Implemented in com.mxgraph.mxGraphModel.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
bool com.mxgraph.mxIGraphModel.SetVisible (Object cell,
bool visible 
)
+
+ +

Sets the visible state of the given cell.

+
Parameters
+ + + +
cellCell whose visible state should be changed.
visibleBoolean that specifies the new visible state.
+
+
+ +

Implemented in com.mxgraph.mxGraphModel.

+ +
+
+

Property Documentation

+ +
+
+ + + + + +
+ + + + +
Object com.mxgraph.mxIGraphModel.Root
+
+getset
+
+
+

Event Documentation

+ +
+
+ + + + +
mxGraphModelChangeEventHandler com.mxgraph.mxIGraphModel.GraphModelChange
+
+ +

Called when the graph model has changed.

+ +
+
+
The documentation for this interface was generated from the following file:
    +
  • src/model/mxIGraphModel.cs
  • +
+
+ + + + diff --git a/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxIGraphModel.png b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxIGraphModel.png new file mode 100644 index 0000000000000000000000000000000000000000..41cd4bb0595146d12fcc71a99081fa2fbeb2f4dd GIT binary patch literal 718 zcmeAS@N?(olHy`uVBq!ia0vp^n}IlhgBeJsN^N-yq$C1-LR|m<{|{uoc=NTi|Ih>= z3ycpOIKbL@M;^%KC<*clW&kPzfvcxNj2IZ0Vm)0PLn;{G&VAeWT7id^UHR)@`O4jl zO+Pu#hLwhU?0YNd{bA$rB?bS5oH%B8GHjSSNAf`2Ii7^|{YLT2t-|`0`3*Ge^;YMG z%$=JUpX_&sp_$7^YWF#@GnK-Z3T)QpF89=&rGMhfj+WJlj{8RuNjm}69an0?0O zox4u|ITW$sc&pUk@MmgsuQl!T-ewYKeE$4{BX_TdKVPYTx6JsfPkc!B9J9?oY`=d$ zwxsdly%P_Qr{6g+&+@olk8hv!ceVqyrOURz|6$(!|K_s(e|l%0Zp}T)^I?8b8bh_E zal_s^{jUN}H@q0ksu*&X@y?X*|GU6ErA{fIeXsK7`_c^eCm1u|I6af`&C@ds-(Y&6 zA)=qowqZJo^n$wNo{KL163Hflfi5Z9mYX{|_RfiPITANNl}|}Yoa=nOlG5T&k2l?N zyL$8I_3JbGm;S6u^h>^ebC%_MXQ@N^9&c@Yz3!&F^lCoLno&{ml6!iZU1ZQg88d_D z$5SnYuF85${-x`hwL|LJyy9%Vm?~vIFL_45;tpU{`DuPa}D|NX}^u5wxa%2MCik^krY zu1>ympdkOrhsVb65+9#z&cX3Hs_dO=x(A+owP|UqMVP}+- t{%fR*32vNj+}&~G^+}oJp6ZwEkI$%{+>>*|9GLhRJYD@<);T3K0RSVcSup?r literal 0 HcmV?d00001 diff --git a/dotnet/docs/html/namespacecom.html b/dotnet/docs/html/namespacecom.html new file mode 100644 index 000000000..b4b3f688f --- /dev/null +++ b/dotnet/docs/html/namespacecom.html @@ -0,0 +1,64 @@ + + + + + + +mxGraph: Package com + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + +
+
+ +
+
Package com
+
+
+ + + + +

+Namespaces

package  mxgraph
 
+
+ + + + diff --git a/dotnet/docs/html/namespacecom_1_1mxgraph.html b/dotnet/docs/html/namespacecom_1_1mxgraph.html new file mode 100644 index 000000000..0e1d2234e --- /dev/null +++ b/dotnet/docs/html/namespacecom_1_1mxgraph.html @@ -0,0 +1,360 @@ + + + + + + +mxGraph: Package com.mxgraph + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+ +
+
Package com.mxgraph
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Classes

class  mxBasicCanvas
 Basic implementation of a canvas that draws a graph. More...
 
class  mxGdiCanvas
 Implementation of a canvas that uses GDI for painting. More...
 
class  mxGdiCanvas2D
 Used for exporting images. To render to an image from a given XML string, graph size and and background color, the following code is used: More...
 
interface  mxICanvas
 Defines the requirements for a canvas that paints the vertices and edges of a graph. More...
 
interface  mxICanvas2D
 Defines the requirements for a canvas that paints the vertices and edges of a graph. More...
 
class  mxImageCanvas
 Implements a canvas that draws onto an image. More...
 
class  mxStencil
 Implements a stencil for the given XML definition. This class implements the mxGraph stencil schema. More...
 
class  mxStencilRegistry
 
class  mxCellCodec
 Codec for mxCells. This class is created and registered dynamically at load time and used implicitely via mxCodec and the mxCodecRegistry. More...
 
class  mxCodec
 XML codec for .NET object graphs. In order to resolve forward references when reading files the XML document that contains the data must be passed to the constructor. More...
 
class  mxCodecRegistry
 Static class that acts as a global registry for codecs. See mxCodec for an example of using this class. More...
 
class  mxModelCodec
 Codec for mxGraphModels. This class is created and registered dynamically at load time and used implicitely via mxCodec and the mxCodecRegistry. More...
 
class  mxObjectCodec
 Generic codec for C# objects. See below for a detailed description of the encoding/decoding scheme. Note: Since booleans are numbers in JavaScript, all boolean values are encoded into 1 for true and 0 for false. More...
 
class  mxStylesheetCodec
 Codec for mxStylesheets. This class is created and registered dynamically at load time and used implicitely via mxCodec and the mxCodecRegistry. More...
 
class  mxFastOrganicLayout
 Fast organic layout algorithm. More...
 
interface  mxIGraphLayout
 Defines the requirements for an object that implements a graph layout. More...
 
class  mxCell
 Cells are the elements of the graph model. They represent the state of the groups, vertices and edges in a graph. More...
 
class  mxCellPath
 Implements a mechanism for temporary cell Ids. More...
 
class  mxGeometry
 Represents the geometry of a cell. For vertices, the geometry consists of the x- and y-location, as well as the width and height. For edges, the edge either defines the source- and target-terminal, or the geometry defines the respective terminal points. More...
 
class  mxGraphModel
 Implements a graph model. The graph model acts as a wrapper around the cells which are in charge of storing the actual graph datastructure. The model acts as a transactional wrapper with event notification for all changes, whereas the cells contain the atomic operations for updating the actual datastructure. More...
 
interface  mxICell
 Defines the requirements for a cell that can be used in an mxGraphModel. More...
 
interface  mxIGraphModel
 Defines the requirements for a graph model to be used with mxGraph. More...
 
class  mxGraphViewImageReader
 A converter that renders display XML data onto a GDI canvas. More...
 
class  mxGraphViewReader
 An abstract converter that renders display XML data onto a canvas. More...
 
class  mxSaxOutputHandler
 
class  mxSession
 Implements a session that may be attached to a shared diagram. More...
 
class  mxSharedDiagram
 Implements a diagram that may be shared among multiple sessions. More...
 
class  mxCellRenderer
 Class that can draw an independent array of cells. More...
 
class  mxConstants
 Defines various global constants. More...
 
class  mxImageBundle
 Maps from keys to base64 encoded images or file locations. All values must be URLs or use the format data:image/format followed by a comma and the base64 encoded image data, eg. "data:image/gif,XYZ", where XYZ is the base64 encoded image data. More...
 
class  mxPoint
 Implements a 2-dimensional point with double precision coordinates. More...
 
class  mxRectangle
 Implements a 2-dimensional rectangle with double precision coordinates. More...
 
class  mxUtils
 Contains various helper methods for use with mxGraph. More...
 
class  mxCellState
 Represents the current state of a cell in a given graph view. More...
 
class  mxConnectionConstraint
 Defines an object that contains the constraints about how to connect one side of an edge to its terminal. More...
 
class  mxEdgeStyle
 Provides various edge styles to be used as the values for mxConstants.STYLE_EDGE in a cell style. More...
 
class  mxGraph
 Implements a graph object that allows to create diagrams from a graph model and stylesheet. More...
 
class  mxGraphView
 Implements a view for the graph. This class is in charge of computing the absolute coordinates for the relative child geometries, the points for perimeters and edge styles and keeping them cached in mxCellStates for faster retrieval. The states are updated whenever the model or the view state (translate, scale) changes. The scale and translate are honoured in the bounds. More...
 
class  mxPerimeter
 Provides various perimeter functions to be used in a style as the value of mxConstants.STYLE_PERIMETER. More...
 
class  mxStyleRegistry
 Static class that acts as a global registry for codecs. See mxCodec for an example of using this class. More...
 
class  mxStylesheet
 Defines the appearance of the cells in a graph. More...
 
+ + + + + + + + + + + + + +

+Functions

delegate void mxGraphModelChangeEventHandler ()
 Defines the requirements for an object that listens to a graph model. More...
 
delegate void mxDiagramChangeEventHandler (Object sender, string xml)
 Defines the requirementns for an object that listens to changes on the shared diagram. More...
 
delegate void mxEdgeStyleFunction (mxCellState state, mxCellState source, mxCellState target, List< mxPoint > points, List< mxPoint > result)
 Defines the requirements for an edge style function. At the time the function is called, the result array contains a placeholder (null) for the first absolute point, that is, the point where the edge and source terminal are connected. The implementation of the style then adds all intermediate waypoints except for the last point, that is, the connection point between the edge and the target terminal. The first ant the last point in the result array are then replaced with mxPoints that take into account the terminal's perimeter and next point on the edge. More...
 
delegate mxPoint mxPerimeterFunction (mxRectangle bounds, mxCellState vertex, mxPoint next, bool orthogonal)
 Defines the requirements for a perimeter function. More...
 
+

Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
delegate void com.mxgraph.mxDiagramChangeEventHandler (Object sender,
string xml 
)
+
+ +

Defines the requirementns for an object that listens to changes on the shared diagram.

+ +

Referenced by com.mxgraph.mxSession.Destroy(), and com.mxgraph.mxSession.mxSession().

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
delegate void com.mxgraph.mxEdgeStyleFunction (mxCellState state,
mxCellState source,
mxCellState target,
List< mxPoint > points,
List< mxPoint > result 
)
+
+ +

Defines the requirements for an edge style function. At the time the function is called, the result array contains a placeholder (null) for the first absolute point, that is, the point where the edge and source terminal are connected. The implementation of the style then adds all intermediate waypoints except for the last point, that is, the connection point between the edge and the target terminal. The first ant the last point in the result array are then replaced with mxPoints that take into account the terminal's perimeter and next point on the edge.

+
Parameters
+ + + + + + +
stateCell state that represents the edge to be updated.
sourceCell state that represents the source terminal.
targetCell state that represents the target terminal.
pointsList of relative control points.
resultArray of points that represent the actual points of the edge.
+
+
+ +

Referenced by com.mxgraph.mxGraphView.GetEdgeStyle(), com.mxgraph.mxGraph.IsOrthogonal(), and com.mxgraph.mxGraphView.UpdatePoints().

+ +
+
+ +
+
+ + + + + + + +
delegate void com.mxgraph.mxGraphModelChangeEventHandler ()
+
+ +

Defines the requirements for an object that listens to a graph model.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
delegate mxPoint com.mxgraph.mxPerimeterFunction (mxRectangle bounds,
mxCellState vertex,
mxPoint next,
bool orthogonal 
)
+
+ +

Defines the requirements for a perimeter function.

+
Parameters
+ + + + + +
boundsRectangle that represents the absolute bounds of the vertex.
vertexCell state that represents the vertex.
nextPoint that represents the nearest neighbour point on the given edge.
orthogonalBoolean that specifies if the orthogonal projection onto the perimeter should be returned. If this is false then the intersection of the perimeter and the line between the next and the center point is returned.
+
+
+ +

Referenced by com.mxgraph.mxGraphView.GetPerimeterFunction(), and com.mxgraph.mxGraphView.GetPerimeterPoint().

+ +
+
+
+ + + + diff --git a/dotnet/docs/html/namespacemembers.html b/dotnet/docs/html/namespacemembers.html new file mode 100644 index 000000000..9f4b0bfea --- /dev/null +++ b/dotnet/docs/html/namespacemembers.html @@ -0,0 +1,72 @@ + + + + + + +mxGraph: Namespace Members + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+
Here is a list of all documented namespace members with links to the namespaces they belong to:
+
+ + + + diff --git a/dotnet/docs/html/namespacemembers_func.html b/dotnet/docs/html/namespacemembers_func.html new file mode 100644 index 000000000..74f8d2192 --- /dev/null +++ b/dotnet/docs/html/namespacemembers_func.html @@ -0,0 +1,72 @@ + + + + + + +mxGraph: Namespace Members + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + + +
+
+
+ + + + diff --git a/dotnet/docs/html/namespaces.html b/dotnet/docs/html/namespaces.html new file mode 100644 index 000000000..20caf0fe1 --- /dev/null +++ b/dotnet/docs/html/namespaces.html @@ -0,0 +1,62 @@ + + + + + + +mxGraph: Namespace List + + + + + + +
+
+ + + + + + +
+
mxGraph +
+
+
+ + + + +
+
+
+
Namespace List
+
+
+
Here is a list of all documented namespaces with brief descriptions:
+
[detail level 12]
+ + +
\Ncom
 \Nmxgraph
+
+
+ + + + diff --git a/dotnet/docs/html/nav_f.png b/dotnet/docs/html/nav_f.png new file mode 100644 index 0000000000000000000000000000000000000000..72a58a529ed3a9ed6aa0c51a79cf207e026deee2 GIT binary patch literal 153 zcmeAS@N?(olHy`uVBq!ia0vp^j6iI`!2~2XGqLUlQVE_ejv*C{Z|{2ZH7M}7UYxc) zn!W8uqtnIQ>_z8U literal 0 HcmV?d00001 diff --git a/dotnet/docs/html/nav_g.png b/dotnet/docs/html/nav_g.png new file mode 100644 index 0000000000000000000000000000000000000000..2093a237a94f6c83e19ec6e5fd42f7ddabdafa81 GIT binary patch literal 95 zcmeAS@N?(olHy`uVBq!ia0vp^j6lrB!3HFm1ilyoDK$?Q$B+ufw|5PB85lU25BhtE tr?otc=hd~V+ws&_A@j8Fiv!KF$B+ufw|5=67#uj90@pIL wZ=Q8~_Ju`#59=RjDrmm`tMD@M=!-l18IR?&vFVdQ&MBb@0HFXL1|%O$WD@{VPM$7~Ar*{o?;hlAFyLXmaDC0y znK1_#cQqJWPES%4Uujug^TE?jMft$}Eq^WaR~)%f)vSNs&gek&x%A9X9sMoT|#XixUYy%lpuf3i8{fX!o zUyDD0jOrAiT^tq>fLSOOABs-#u{dV^F$b{L9&!2=9&RmV;;8s^x&UqB$PCj4FdKbh zoB1WTskPUPu05XzFbA}=KZ-GP1fPpAfSs>6AHb12UlR%-i&uOlTpFNS7{jm@mkU1V zh`nrXr~+^lsV-s1dkZOaI|kYyVj3WBpPCY{n~yd%u%e+d=f%`N0FItMPtdgBb@py; zq@v6NVArhyTC7)ULw-Jy8y42S1~4n(3LkrW8mW(F-4oXUP3E`e#g**YyqI7h-J2zK zK{m9##m4ri!7N>CqQqCcnI3hqo1I;Yh&QLNY4T`*ptiQGozK>FF$!$+84Z`xwmeMh zJ0WT+OH$WYFALEaGj2_l+#DC3t7_S`vHpSivNeFbP6+r50cO8iu)`7i%Z4BTPh@_m3Tk!nAm^)5Bqnr%Ov|Baunj#&RPtRuK& z4RGz|D5HNrW83-#ydk}tVKJrNmyYt-sTxLGlJY5nc&Re zU4SgHNPx8~Yxwr$bsju?4q&%T1874xxzq+_%?h8_ofw~(bld=o3iC)LUNR*BY%c0y zWd_jX{Y8`l%z+ol1$@Qa?Cy!(0CVIEeYpKZ`(9{z>3$CIe;pJDQk$m3p}$>xBm4lb zKo{4S)`wdU9Ba9jJbVJ0C=SOefZe%d$8=2r={nu<_^a3~>c#t_U6dye5)JrR(_a^E f@}b6j1K9lwFJq@>o)+Ry00000NkvXXu0mjfWa5j* literal 0 HcmV?d00001 diff --git a/dotnet/docs/html/sync_on.png b/dotnet/docs/html/sync_on.png new file mode 100644 index 0000000000000000000000000000000000000000..e08320fb64e6fa33b573005ed6d8fe294e19db76 GIT binary patch literal 845 zcmV-T1G4;yP)Y;xxyHF2B5Wzm| zOOGupOTn@c(JmBOl)e;XMNnZuiTJP>rM8<|Q`7I_))aP?*T)ow&n59{}X4$3Goat zgjs?*aasfbrokzG5cT4K=uG`E14xZl@z)F={P0Y^?$4t z>v!teRnNZym<6h{7sLyF1V0HsfEl+l6TrZpsfr1}luH~F7L}ktXu|*uVX^RG$L0`K zWs3j|0tIvVe(N%_?2{(iCPFGf#B6Hjy6o&}D$A%W%jfO8_W%ZO#-mh}EM$LMn7joJ z05dHr!5Y92g+31l<%i1(=L1a1pXX+OYnalY>31V4K}BjyRe3)9n#;-cCVRD_IG1fT zOKGeNY8q;TL@K{dj@D^scf&VCs*-Jb>8b>|`b*osv52-!A?BpbYtTQBns5EAU**$m zSnVSm(teh>tQi*S*A>#ySc=n;`BHz`DuG4&g4Kf8lLhca+zvZ7t7RflD6-i-mcK=M z!=^P$*u2)bkY5asG4gsss!Hn%u~>}kIW`vMs%lJLH+u*9<4PaV_c6U`KqWXQH%+Nu zTv41O(^ZVi@qhjQdG!fbZw&y+2o!iYymO^?ud3{P*HdoX83YV*Uu_HB=?U&W9%AU# z80}k1SS-CXTU7dcQlsm<^oYLxVSseqY6NO}dc`Nj?8vrhNuCdm@^{a3AQ_>6myOj+ z`1RsLUXF|dm|3k7s2jD(B{rzE>WI2scH8i1;=O5Cc9xB3^aJk%fQjqsu+kH#0=_5a z0nCE8@dbQa-|YIuUVvG0L_IwHMEhOj$Mj4Uq05 X8=0q~qBNan00000NkvXXu0mjfptF>5 literal 0 HcmV?d00001 diff --git a/dotnet/docs/html/tab_a.png b/dotnet/docs/html/tab_a.png new file mode 100644 index 0000000000000000000000000000000000000000..3b725c41c5a527a3a3e40097077d0e206a681247 GIT binary patch literal 142 zcmeAS@N?(olHy`uVBq!ia0vp^j6kfy!2~3aiye;!QlXwMjv*C{Z|8b*H5dputLHD# z=<0|*y7z(Vor?d;H&?EG&cXR}?!j-Lm&u1OOI7AIF5&c)RFE;&p0MYK>*Kl@eiymD r@|NpwKX@^z+;{u_Z~trSBfrMKa%3`zocFjEXaR$#tDnm{r-UW|TZ1%4 literal 0 HcmV?d00001 diff --git a/dotnet/docs/html/tab_b.png b/dotnet/docs/html/tab_b.png new file mode 100644 index 0000000000000000000000000000000000000000..e2b4a8638cb3496a016eaed9e16ffc12846dea18 GIT binary patch literal 169 zcmeAS@N?(olHy`uVBq!ia0vp^j6kfy!2~3aiye;!QU#tajv*C{Z}0l@H7kg?K0Lnr z!j&C6_(~HV9oQ0Pa6x{-v0AGV_E?vLn=ZI-;YrdjIl`U`uzuDWSP?o#Dmo{%SgM#oan kX~E1%D-|#H#QbHoIja2U-MgvsK&LQxy85}Sb4q9e0Efg%P5=M^ literal 0 HcmV?d00001 diff --git a/dotnet/docs/html/tabs.css b/dotnet/docs/html/tabs.css new file mode 100644 index 000000000..9cf578f23 --- /dev/null +++ b/dotnet/docs/html/tabs.css @@ -0,0 +1,60 @@ +.tabs, .tabs2, .tabs3 { + background-image: url('tab_b.png'); + width: 100%; + z-index: 101; + font-size: 13px; + font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; +} + +.tabs2 { + font-size: 10px; +} +.tabs3 { + font-size: 9px; +} + +.tablist { + margin: 0; + padding: 0; + display: table; +} + +.tablist li { + float: left; + display: table-cell; + background-image: url('tab_b.png'); + line-height: 36px; + list-style: none; +} + +.tablist a { + display: block; + padding: 0 20px; + font-weight: bold; + background-image:url('tab_s.png'); + background-repeat:no-repeat; + background-position:right; + color: #283A5D; + text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); + text-decoration: none; + outline: none; +} + +.tabs3 .tablist a { + padding: 0 10px; +} + +.tablist a:hover { + background-image: url('tab_h.png'); + background-repeat:repeat-x; + color: #fff; + text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); + text-decoration: none; +} + +.tablist li.current a { + background-image: url('tab_a.png'); + background-repeat:repeat-x; + color: #fff; + text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); +} diff --git a/dotnet/src/view/mxGraph.cs b/dotnet/src/view/mxGraph.cs index 3471be09f..b89d42817 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 2.5.1.1. + /// is 2.6.0.0. /// - public const String VERSION = "2.5.1.1"; + public const String VERSION = "2.6.0.0"; /// /// Holds the model that contains the cells to be displayed. diff --git a/index.html b/index.html index 8078433ef..8a6b6b356 100644 --- a/index.html +++ b/index.html @@ -1,6 +1,6 @@ - mxGraph 2.5.1.1 + mxGraph 2.6.0.0 @@ -9,12 +9,12 @@
mxGraph
-Version 2.5.1.1 – 13. April 2014 +Version 2.6.0.0 – 05. May 2014


-

mxGraph 2.5.1.1

+

mxGraph 2.6.0.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 deb775eab..a92edd88a 100644 --- a/java/build.xml +++ b/java/build.xml @@ -8,7 +8,7 @@ - + diff --git a/java/docs/allclasses-frame.html b/java/docs/allclasses-frame.html index 390011e45..46ecc8936 100644 --- a/java/docs/allclasses-frame.html +++ b/java/docs/allclasses-frame.html @@ -2,9 +2,9 @@ - -All Classes (mxGraph 2.5.1.1 API Specification) - + +All Classes (mxGraph 2.6.0.0 API Specification) + diff --git a/java/docs/allclasses-noframe.html b/java/docs/allclasses-noframe.html index 943c20de4..a2af82fc2 100644 --- a/java/docs/allclasses-noframe.html +++ b/java/docs/allclasses-noframe.html @@ -2,9 +2,9 @@ - -All Classes (mxGraph 2.5.1.1 API Specification) - + +All Classes (mxGraph 2.6.0.0 API Specification) + diff --git a/java/docs/com/mxgraph/analysis/StructuralException.html b/java/docs/com/mxgraph/analysis/StructuralException.html index 8322bb4e5..817922b22 100644 --- a/java/docs/com/mxgraph/analysis/StructuralException.html +++ b/java/docs/com/mxgraph/analysis/StructuralException.html @@ -2,15 +2,15 @@ - -StructuralException (mxGraph 2.5.1.1 API Specification) - + +StructuralException (mxGraph 2.6.0.0 API Specification) + @@ -33,7 +33,7 @@

  • Index
  • Help
  • -

    mxGraph 2.5.1.1

    +

    mxGraph 2.6.0.0

  • Index
  • Help
  • -

    mxGraph 2.5.1.1

    +

    mxGraph 2.6.0.0

  • Index
  • Help
  • -

    mxGraph 2.5.1.1

    +

    mxGraph 2.6.0.0

  • Index
  • Help
  • -

    mxGraph 2.5.1.1

    +

    mxGraph 2.6.0.0

  • Index
  • Help
  • -

    mxGraph 2.5.1.1

    +

    mxGraph 2.6.0.0

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

    mxGraph 2.5.1.1

    +

    mxGraph 2.6.0.0

  • Help
  • -

    mxGraph 2.5.1.1

    +

    mxGraph 2.6.0.0

    -

    mxGraph 2.5.1.1 API Specification

    +

    mxGraph 2.6.0.0 API Specification

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

    mxGraph 2.5.1.1

    +

    mxGraph 2.6.0.0