From 83f392cc7d2e8a3b4e467a479cf0b803a219d042 Mon Sep 17 00:00:00 2001 From: Gaudenz Alder Date: Fri, 13 Mar 2015 04:29:11 -0400 Subject: [PATCH] 3.2.0.0 release --- ChangeLog | 49 + .../files/editor/mxDefaultKeyHandler-js.html | 2 +- .../files/editor/mxDefaultPopupMenu-js.html | 2 +- .../files/editor/mxDefaultToolbar-js.html | 2 +- docs/js-api/files/editor/mxEditor-js.html | 4 +- .../files/handler/mxCellHighlight-js.html | 2 +- .../js-api/files/handler/mxCellMarker-js.html | 2 +- .../files/handler/mxCellTracker-js.html | 2 +- .../files/handler/mxConnectionHandler-js.html | 2 +- .../files/handler/mxConstraintHandler-js.html | 2 +- .../files/handler/mxEdgeHandler-js.html | 2 +- .../handler/mxEdgeSegmentHandler-js.html | 2 +- .../files/handler/mxElbowEdgeHandler-js.html | 2 +- .../files/handler/mxGraphHandler-js.html | 6 +- docs/js-api/files/handler/mxHandle-js.html | 2 +- .../js-api/files/handler/mxKeyHandler-js.html | 2 +- .../files/handler/mxPanningHandler-js.html | 2 +- .../files/handler/mxPopupMenuHandler-js.html | 2 +- .../js-api/files/handler/mxRubberband-js.html | 2 +- .../handler/mxSelectionCellsHandler-js.html | 2 +- .../files/handler/mxTooltipHandler-js.html | 2 +- .../files/handler/mxVertexHandler-js.html | 2 +- docs/js-api/files/index-txt.html | 2 +- docs/js-api/files/io/mxCellCodec-js.html | 2 +- .../files/io/mxChildChangeCodec-js.html | 2 +- docs/js-api/files/io/mxCodec-js.html | 2 +- docs/js-api/files/io/mxCodecRegistry-js.html | 2 +- .../files/io/mxDefaultKeyHandlerCodec-js.html | 2 +- .../files/io/mxDefaultPopupMenuCodec-js.html | 2 +- .../files/io/mxDefaultToolbarCodec-js.html | 4 +- docs/js-api/files/io/mxEditorCodec-js.html | 2 +- .../files/io/mxGenericChangeCodec-js.html | 2 +- docs/js-api/files/io/mxGraphCodec-js.html | 2 +- docs/js-api/files/io/mxGraphViewCodec-js.html | 2 +- docs/js-api/files/io/mxModelCodec-js.html | 2 +- docs/js-api/files/io/mxObjectCodec-js.html | 4 +- .../js-api/files/io/mxRootChangeCodec-js.html | 2 +- .../js-api/files/io/mxStylesheetCodec-js.html | 4 +- .../files/io/mxTerminalChangeCodec-js.html | 2 +- .../mxGraphAbstractHierarchyCell-js.html | 2 +- .../model/mxGraphHierarchyEdge-js.html | 2 +- .../model/mxGraphHierarchyModel-js.html | 2 +- .../model/mxGraphHierarchyNode-js.html | 2 +- .../model/mxSwimlaneModel-js.html | 2 +- .../hierarchical/mxHierarchicalLayout-js.html | 2 +- .../hierarchical/mxSwimlaneLayout-js.html | 2 +- .../stage/mxCoordinateAssignment-js.html | 2 +- .../stage/mxHierarchicalLayoutStage-js.html | 2 +- .../mxMedianHybridCrossingReduction-js.html | 2 +- .../stage/mxMinimumCycleRemover-js.html | 2 +- .../stage/mxSwimlaneOrdering-js.html | 2 +- .../files/layout/mxCircleLayout-js.html | 2 +- .../files/layout/mxCompactTreeLayout-js.html | 2 +- .../files/layout/mxCompositeLayout-js.html | 2 +- .../files/layout/mxEdgeLabelLayout-js.html | 2 +- .../files/layout/mxFastOrganicLayout-js.html | 2 +- .../js-api/files/layout/mxGraphLayout-js.html | 2 +- .../files/layout/mxParallelEdgeLayout-js.html | 2 +- .../files/layout/mxPartitionLayout-js.html | 2 +- .../files/layout/mxRadialTreeLayout-js.html | 2 +- .../js-api/files/layout/mxStackLayout-js.html | 22 +- docs/js-api/files/model/mxCell-js.html | 2 +- docs/js-api/files/model/mxCellPath-js.html | 2 +- docs/js-api/files/model/mxGeometry-js.html | 2 +- docs/js-api/files/model/mxGraphModel-js.html | 2 +- docs/js-api/files/mxClient-js.html | 4 +- docs/js-api/files/shape/mxActor-js.html | 2 +- docs/js-api/files/shape/mxArrow-js.html | 2 +- .../files/shape/mxArrowConnector-js.html | 2 +- docs/js-api/files/shape/mxCloud-js.html | 2 +- docs/js-api/files/shape/mxConnector-js.html | 2 +- docs/js-api/files/shape/mxCylinder-js.html | 2 +- .../files/shape/mxDoubleEllipse-js.html | 2 +- docs/js-api/files/shape/mxEllipse-js.html | 2 +- docs/js-api/files/shape/mxHexagon-js.html | 2 +- docs/js-api/files/shape/mxImageShape-js.html | 2 +- docs/js-api/files/shape/mxLabel-js.html | 2 +- docs/js-api/files/shape/mxLine-js.html | 2 +- docs/js-api/files/shape/mxMarker-js.html | 2 +- docs/js-api/files/shape/mxPolyline-js.html | 2 +- .../files/shape/mxRectangleShape-js.html | 2 +- docs/js-api/files/shape/mxRhombus-js.html | 2 +- docs/js-api/files/shape/mxShape-js.html | 4 +- docs/js-api/files/shape/mxStencil-js.html | 20 +- .../files/shape/mxStencilRegistry-js.html | 4 +- docs/js-api/files/shape/mxSwimlane-js.html | 2 +- docs/js-api/files/shape/mxText-js.html | 2 +- docs/js-api/files/shape/mxTriangle-js.html | 2 +- .../files/util/mxAbstractCanvas2D-js.html | 2 +- docs/js-api/files/util/mxAnimation-js.html | 2 +- .../files/util/mxAutoSaveManager-js.html | 2 +- docs/js-api/files/util/mxClipboard-js.html | 2 +- docs/js-api/files/util/mxConstants-js.html | 66 +- docs/js-api/files/util/mxDictionary-js.html | 2 +- docs/js-api/files/util/mxDivResizer-js.html | 2 +- docs/js-api/files/util/mxDragSource-js.html | 2 +- docs/js-api/files/util/mxEffects-js.html | 2 +- docs/js-api/files/util/mxEvent-js.html | 2 +- docs/js-api/files/util/mxEventObject-js.html | 2 +- docs/js-api/files/util/mxEventSource-js.html | 2 +- docs/js-api/files/util/mxForm-js.html | 2 +- docs/js-api/files/util/mxGuide-js.html | 2 +- docs/js-api/files/util/mxImage-js.html | 2 +- docs/js-api/files/util/mxImageBundle-js.html | 2 +- docs/js-api/files/util/mxImageExport-js.html | 2 +- docs/js-api/files/util/mxLog-js.html | 2 +- docs/js-api/files/util/mxMorphing-js.html | 2 +- docs/js-api/files/util/mxMouseEvent-js.html | 2 +- .../files/util/mxObjectIdentity-js.html | 2 +- .../files/util/mxPanningManager-js.html | 2 +- docs/js-api/files/util/mxPoint-js.html | 2 +- docs/js-api/files/util/mxPopupMenu-js.html | 2 +- docs/js-api/files/util/mxRectangle-js.html | 2 +- docs/js-api/files/util/mxResources-js.html | 2 +- docs/js-api/files/util/mxSvgCanvas2D-js.html | 2 +- docs/js-api/files/util/mxToolbar-js.html | 2 +- docs/js-api/files/util/mxUndoManager-js.html | 2 +- docs/js-api/files/util/mxUndoableEdit-js.html | 2 +- docs/js-api/files/util/mxUrlConverter-js.html | 2 +- docs/js-api/files/util/mxUtils-js.html | 2 +- docs/js-api/files/util/mxVmlCanvas2D-js.html | 2 +- docs/js-api/files/util/mxWindow-js.html | 2 +- docs/js-api/files/util/mxXmlCanvas2D-js.html | 2 +- docs/js-api/files/util/mxXmlRequest-js.html | 2 +- docs/js-api/files/view/mxCellEditor-js.html | 2 +- docs/js-api/files/view/mxCellOverlay-js.html | 2 +- docs/js-api/files/view/mxCellRenderer-js.html | 74 +- docs/js-api/files/view/mxCellState-js.html | 2 +- .../files/view/mxCellStatePreview-js.html | 2 +- .../files/view/mxConnectionConstraint-js.html | 2 +- docs/js-api/files/view/mxEdgeStyle-js.html | 2 +- docs/js-api/files/view/mxGraph-js.html | 830 +-- .../files/view/mxGraphSelectionModel-js.html | 2 +- docs/js-api/files/view/mxGraphView-js.html | 4 +- .../js-api/files/view/mxLayoutManager-js.html | 26 +- docs/js-api/files/view/mxMultiplicity-js.html | 2 +- docs/js-api/files/view/mxOutline-js.html | 2 +- docs/js-api/files/view/mxPerimeter-js.html | 2 +- docs/js-api/files/view/mxPrintPreview-js.html | 2 +- docs/js-api/files/view/mxSpaceManager-js.html | 95 - .../js-api/files/view/mxStyleRegistry-js.html | 2 +- docs/js-api/files/view/mxStylesheet-js.html | 2 +- .../files/view/mxSwimlaneManager-js.html | 2 +- .../files/view/mxTemporaryCellStates-js.html | 2 +- docs/js-api/index/Classes.html | 6 +- docs/js-api/index/Classes2.html | 6 +- docs/js-api/index/Cookies.html | 2 +- docs/js-api/index/Events.html | 2 +- docs/js-api/index/Files.html | 2 +- docs/js-api/index/Functions.html | 4 +- docs/js-api/index/Functions10.html | 10 +- docs/js-api/index/Functions11.html | 6 +- docs/js-api/index/Functions12.html | 8 +- docs/js-api/index/Functions13.html | 6 +- docs/js-api/index/Functions14.html | 6 +- docs/js-api/index/Functions15.html | 6 +- docs/js-api/index/Functions16.html | 6 +- docs/js-api/index/Functions17.html | 6 +- docs/js-api/index/Functions18.html | 6 +- docs/js-api/index/Functions19.html | 10 +- docs/js-api/index/Functions2.html | 2 +- docs/js-api/index/Functions3.html | 6 +- docs/js-api/index/Functions4.html | 6 +- docs/js-api/index/Functions5.html | 6 +- docs/js-api/index/Functions6.html | 6 +- docs/js-api/index/Functions7.html | 6 +- docs/js-api/index/Functions8.html | 6 +- docs/js-api/index/Functions9.html | 6 +- docs/js-api/index/General.html | 4 +- docs/js-api/index/General10.html | 10 +- docs/js-api/index/General11.html | 6 +- docs/js-api/index/General12.html | 8 +- docs/js-api/index/General13.html | 6 +- docs/js-api/index/General14.html | 6 +- docs/js-api/index/General15.html | 6 +- docs/js-api/index/General16.html | 6 +- docs/js-api/index/General17.html | 6 +- docs/js-api/index/General18.html | 6 +- docs/js-api/index/General19.html | 6 +- docs/js-api/index/General2.html | 2 +- docs/js-api/index/General20.html | 12 +- docs/js-api/index/General3.html | 6 +- docs/js-api/index/General4.html | 6 +- docs/js-api/index/General5.html | 6 +- docs/js-api/index/General6.html | 6 +- docs/js-api/index/General7.html | 6 +- docs/js-api/index/General8.html | 6 +- docs/js-api/index/General9.html | 6 +- docs/js-api/index/Variables.html | 4 +- docs/js-api/index/Variables10.html | 8 +- docs/js-api/index/Variables11.html | 10 +- docs/js-api/index/Variables12.html | 6 +- docs/js-api/index/Variables13.html | 10 +- docs/js-api/index/Variables14.html | 20 +- docs/js-api/index/Variables15.html | 50 - docs/js-api/index/Variables2.html | 4 +- docs/js-api/index/Variables3.html | 4 +- docs/js-api/index/Variables4.html | 10 +- docs/js-api/index/Variables5.html | 8 +- docs/js-api/index/Variables6.html | 14 +- docs/js-api/index/Variables7.html | 14 +- docs/js-api/index/Variables8.html | 6 +- docs/js-api/index/Variables9.html | 10 +- docs/js-api/javascript/searchdata.js | 180 +- docs/js-api/search/ClassesM.html | 2 +- docs/js-api/search/FunctionsC.html | 2 +- docs/js-api/search/FunctionsD.html | 2 +- docs/js-api/search/FunctionsG.html | 2 +- docs/js-api/search/FunctionsI.html | 2 +- docs/js-api/search/FunctionsM.html | 2 +- docs/js-api/search/FunctionsS.html | 2 +- docs/js-api/search/GeneralC.html | 2 +- docs/js-api/search/GeneralD.html | 2 +- docs/js-api/search/GeneralE.html | 2 +- docs/js-api/search/GeneralF.html | 2 +- docs/js-api/search/GeneralG.html | 2 +- docs/js-api/search/GeneralI.html | 2 +- docs/js-api/search/GeneralM.html | 2 +- docs/js-api/search/GeneralR.html | 2 +- docs/js-api/search/GeneralS.html | 2 +- docs/js-api/search/GeneralV.html | 2 +- docs/js-api/search/VariablesE.html | 2 +- docs/js-api/search/VariablesF.html | 2 +- docs/js-api/search/VariablesG.html | 2 +- docs/js-api/search/VariablesR.html | 2 +- docs/js-api/search/VariablesS.html | 2 +- docs/manual.html | 2 +- docs/manual_javavis.html | 2 +- docs/php-api/files/canvas/mxGdCanvas-php.html | 2 +- .../files/canvas/mxHtmlCanvas-php.html | 2 +- docs/php-api/files/index-txt.html | 2 +- docs/php-api/files/io/mxCellCodec-php.html | 2 +- docs/php-api/files/io/mxCodec-php.html | 2 +- .../php-api/files/io/mxCodecRegistry-php.html | 2 +- docs/php-api/files/io/mxModelCodec-php.html | 2 +- docs/php-api/files/io/mxObjectCodec-php.html | 2 +- .../files/io/mxStylesheetCodec-php.html | 2 +- docs/php-api/files/model/mxCell-php.html | 2 +- docs/php-api/files/model/mxCellPath-php.html | 2 +- docs/php-api/files/model/mxGeometry-php.html | 2 +- .../php-api/files/model/mxGraphModel-php.html | 2 +- .../reader/mxGraphViewHtmlReader-php.html | 2 +- .../reader/mxGraphViewImageReader-php.html | 2 +- docs/php-api/files/util/mxConstants-php.html | 46 +- docs/php-api/files/util/mxEvent-php.html | 2 +- .../php-api/files/util/mxEventObject-php.html | 2 +- .../php-api/files/util/mxEventSource-php.html | 2 +- .../php-api/files/util/mxImageBundle-php.html | 2 +- docs/php-api/files/util/mxLog-php.html | 2 +- docs/php-api/files/util/mxPoint-php.html | 2 +- docs/php-api/files/util/mxRectangle-php.html | 2 +- docs/php-api/files/util/mxUtils-php.html | 2 +- docs/php-api/files/view/mxCellState-php.html | 2 +- .../view/mxConnectionConstraint-php.html | 2 +- docs/php-api/files/view/mxEdgeStyle-php.html | 2 +- docs/php-api/files/view/mxGraph-php.html | 2 +- docs/php-api/files/view/mxGraphView-php.html | 2 +- docs/php-api/files/view/mxPerimeter-php.html | 2 +- .../files/view/mxStyleRegistry-php.html | 2 +- docs/php-api/files/view/mxStylesheet-php.html | 2 +- docs/php-api/index/Classes.html | 2 +- docs/php-api/index/Files.html | 2 +- docs/php-api/index/Functions.html | 2 +- docs/php-api/index/Functions2.html | 2 +- docs/php-api/index/Functions3.html | 2 +- docs/php-api/index/Functions4.html | 2 +- docs/php-api/index/Functions5.html | 2 +- docs/php-api/index/Functions6.html | 2 +- docs/php-api/index/Functions7.html | 2 +- docs/php-api/index/General.html | 2 +- docs/php-api/index/General10.html | 16 +- docs/php-api/index/General2.html | 2 +- docs/php-api/index/General3.html | 2 +- docs/php-api/index/General4.html | 6 +- docs/php-api/index/General5.html | 6 +- docs/php-api/index/General6.html | 10 +- docs/php-api/index/General7.html | 10 +- docs/php-api/index/General8.html | 8 +- docs/php-api/index/General9.html | 6 +- docs/php-api/index/Interfaces.html | 2 +- docs/php-api/index/Variables.html | 14 +- docs/php-api/index/Variables2.html | 14 +- docs/php-api/index/Variables3.html | 6 +- docs/php-api/index/Variables4.html | 16 +- docs/php-api/javascript/searchdata.js | 180 +- docs/php-api/search/GeneralF.html | 2 +- docs/php-api/search/VariablesF.html | 2 +- dotnet/docs/html/annotated.html | 2 +- ...m_1_1mxgraph_1_1mxBasicCanvas-members.html | 2 +- .../classcom_1_1mxgraph_1_1mxBasicCanvas.html | 2 +- ...classcom_1_1mxgraph_1_1mxCell-members.html | 2 +- .../html/classcom_1_1mxgraph_1_1mxCell.html | 2 +- ...com_1_1mxgraph_1_1mxCellCodec-members.html | 2 +- .../classcom_1_1mxgraph_1_1mxCellCodec.html | 2 +- ...scom_1_1mxgraph_1_1mxCellPath-members.html | 2 +- .../classcom_1_1mxgraph_1_1mxCellPath.html | 2 +- ..._1_1mxgraph_1_1mxCellRenderer-members.html | 2 +- ...classcom_1_1mxgraph_1_1mxCellRenderer.html | 2 +- ...CellRenderer_1_1CanvasFactory-members.html | 2 +- ...ph_1_1mxCellRenderer_1_1CanvasFactory.html | 2 +- ...enderer_1_1ImageCanvasFactory-members.html | 2 +- ...1mxCellRenderer_1_1ImageCanvasFactory.html | 2 +- ...com_1_1mxgraph_1_1mxCellState-members.html | 2 +- .../classcom_1_1mxgraph_1_1mxCellState.html | 2 +- ...lasscom_1_1mxgraph_1_1mxCodec-members.html | 2 +- .../html/classcom_1_1mxgraph_1_1mxCodec.html | 2 +- ...1_1mxgraph_1_1mxCodecRegistry-members.html | 2 +- ...lasscom_1_1mxgraph_1_1mxCodecRegistry.html | 2 +- ...aph_1_1mxConnectionConstraint-members.html | 2 +- ..._1_1mxgraph_1_1mxConnectionConstraint.html | 2 +- ...com_1_1mxgraph_1_1mxConstants-members.html | 227 +- .../classcom_1_1mxgraph_1_1mxConstants.html | 23 +- ...com_1_1mxgraph_1_1mxEdgeStyle-members.html | 2 +- .../classcom_1_1mxgraph_1_1mxEdgeStyle.html | 2 +- ...xgraph_1_1mxFastOrganicLayout-members.html | 2 +- ...com_1_1mxgraph_1_1mxFastOrganicLayout.html | 2 +- ...com_1_1mxgraph_1_1mxGdiCanvas-members.html | 2 +- .../classcom_1_1mxgraph_1_1mxGdiCanvas.html | 2 +- ...m_1_1mxgraph_1_1mxGdiCanvas2D-members.html | 2 +- .../classcom_1_1mxgraph_1_1mxGdiCanvas2D.html | 2 +- ...1mxGdiCanvas2D_1_1CanvasState-members.html | 2 +- ...graph_1_1mxGdiCanvas2D_1_1CanvasState.html | 2 +- ...scom_1_1mxgraph_1_1mxGeometry-members.html | 2 +- .../classcom_1_1mxgraph_1_1mxGeometry.html | 2 +- ...lasscom_1_1mxgraph_1_1mxGraph-members.html | 2 +- .../html/classcom_1_1mxgraph_1_1mxGraph.html | 10 +- ...om_1_1mxgraph_1_1mxGraphModel-members.html | 2 +- .../classcom_1_1mxgraph_1_1mxGraphModel.html | 2 +- ...com_1_1mxgraph_1_1mxGraphView-members.html | 2 +- .../classcom_1_1mxgraph_1_1mxGraphView.html | 2 +- ...aph_1_1mxGraphViewImageReader-members.html | 2 +- ..._1_1mxgraph_1_1mxGraphViewImageReader.html | 2 +- ...1mxgraph_1_1mxGraphViewReader-members.html | 2 +- ...sscom_1_1mxgraph_1_1mxGraphViewReader.html | 2 +- ...m_1_1mxgraph_1_1mxImageBundle-members.html | 2 +- .../classcom_1_1mxgraph_1_1mxImageBundle.html | 2 +- ...m_1_1mxgraph_1_1mxImageCanvas-members.html | 2 +- .../classcom_1_1mxgraph_1_1mxImageCanvas.html | 2 +- ...om_1_1mxgraph_1_1mxModelCodec-members.html | 2 +- .../classcom_1_1mxgraph_1_1mxModelCodec.html | 2 +- ...m_1_1mxgraph_1_1mxObjectCodec-members.html | 2 +- .../classcom_1_1mxgraph_1_1mxObjectCodec.html | 2 +- ...com_1_1mxgraph_1_1mxPerimeter-members.html | 2 +- .../classcom_1_1mxgraph_1_1mxPerimeter.html | 2 +- ...lasscom_1_1mxgraph_1_1mxPoint-members.html | 2 +- .../html/classcom_1_1mxgraph_1_1mxPoint.html | 2 +- ...com_1_1mxgraph_1_1mxRectangle-members.html | 2 +- .../classcom_1_1mxgraph_1_1mxRectangle.html | 2 +- ...mxgraph_1_1mxSaxOutputHandler-members.html | 2 +- ...scom_1_1mxgraph_1_1mxSaxOutputHandler.html | 2 +- ...sscom_1_1mxgraph_1_1mxStencil-members.html | 2 +- .../classcom_1_1mxgraph_1_1mxStencil.html | 2 +- ...1mxgraph_1_1mxStencilRegistry-members.html | 2 +- ...sscom_1_1mxgraph_1_1mxStencilRegistry.html | 2 +- ...1_1mxgraph_1_1mxStyleRegistry-members.html | 2 +- ...lasscom_1_1mxgraph_1_1mxStyleRegistry.html | 2 +- ...om_1_1mxgraph_1_1mxStylesheet-members.html | 2 +- .../classcom_1_1mxgraph_1_1mxStylesheet.html | 2 +- ...1mxgraph_1_1mxStylesheetCodec-members.html | 2 +- ...sscom_1_1mxgraph_1_1mxStylesheetCodec.html | 2 +- ...lasscom_1_1mxgraph_1_1mxUtils-members.html | 2 +- .../html/classcom_1_1mxgraph_1_1mxUtils.html | 2 +- dotnet/docs/html/classes.html | 2 +- .../dir_313caf1132e152dd9b58bea13a4052ca.html | 2 +- .../dir_5dd65160827af56e6353642206b80129.html | 2 +- .../dir_68267d1309a1af8e8297ef4c3efbcdba.html | 2 +- .../dir_af89b2be539cdaaafaad341d1e56977e.html | 2 +- .../dir_b39b5091e8d1d2be4b7fc59d57749634.html | 2 +- .../dir_c184e51c84f2c3f0345bbc8a0d75d3e1.html | 2 +- .../dir_eb63608ab2ddc08e14808990907a274d.html | 2 +- .../dir_f2b3bec0b800804983017014eef9ca7d.html | 2 +- dotnet/docs/html/functions.html | 2 +- dotnet/docs/html/functions_b.html | 2 +- dotnet/docs/html/functions_c.html | 2 +- dotnet/docs/html/functions_d.html | 2 +- dotnet/docs/html/functions_e.html | 2 +- dotnet/docs/html/functions_evnt.html | 2 +- dotnet/docs/html/functions_f.html | 5 +- dotnet/docs/html/functions_func.html | 2 +- dotnet/docs/html/functions_func_b.html | 2 +- dotnet/docs/html/functions_func_c.html | 2 +- dotnet/docs/html/functions_func_d.html | 2 +- dotnet/docs/html/functions_func_e.html | 2 +- dotnet/docs/html/functions_func_f.html | 2 +- dotnet/docs/html/functions_func_g.html | 2 +- dotnet/docs/html/functions_func_h.html | 2 +- dotnet/docs/html/functions_func_i.html | 2 +- dotnet/docs/html/functions_func_l.html | 2 +- dotnet/docs/html/functions_func_m.html | 2 +- dotnet/docs/html/functions_func_p.html | 2 +- dotnet/docs/html/functions_func_q.html | 2 +- dotnet/docs/html/functions_func_r.html | 2 +- dotnet/docs/html/functions_func_s.html | 2 +- dotnet/docs/html/functions_func_t.html | 2 +- dotnet/docs/html/functions_func_u.html | 2 +- dotnet/docs/html/functions_func_v.html | 2 +- dotnet/docs/html/functions_func_w.html | 2 +- dotnet/docs/html/functions_g.html | 2 +- dotnet/docs/html/functions_h.html | 8 +- dotnet/docs/html/functions_i.html | 8 +- dotnet/docs/html/functions_l.html | 2 +- dotnet/docs/html/functions_m.html | 2 +- dotnet/docs/html/functions_n.html | 2 +- dotnet/docs/html/functions_o.html | 12 +- dotnet/docs/html/functions_p.html | 8 +- dotnet/docs/html/functions_prop.html | 2 +- dotnet/docs/html/functions_q.html | 2 +- dotnet/docs/html/functions_r.html | 2 +- dotnet/docs/html/functions_s.html | 18 +- dotnet/docs/html/functions_t.html | 14 +- dotnet/docs/html/functions_u.html | 2 +- dotnet/docs/html/functions_v.html | 2 +- dotnet/docs/html/functions_vars.html | 2 +- dotnet/docs/html/functions_vars_b.html | 2 +- dotnet/docs/html/functions_vars_c.html | 2 +- dotnet/docs/html/functions_vars_d.html | 2 +- dotnet/docs/html/functions_vars_e.html | 2 +- dotnet/docs/html/functions_vars_f.html | 5 +- dotnet/docs/html/functions_vars_g.html | 2 +- dotnet/docs/html/functions_vars_h.html | 2 +- dotnet/docs/html/functions_vars_i.html | 2 +- dotnet/docs/html/functions_vars_l.html | 2 +- dotnet/docs/html/functions_vars_m.html | 2 +- dotnet/docs/html/functions_vars_n.html | 2 +- dotnet/docs/html/functions_vars_o.html | 2 +- dotnet/docs/html/functions_vars_p.html | 2 +- dotnet/docs/html/functions_vars_r.html | 2 +- dotnet/docs/html/functions_vars_s.html | 2 +- dotnet/docs/html/functions_vars_t.html | 2 +- dotnet/docs/html/functions_vars_u.html | 2 +- dotnet/docs/html/functions_vars_v.html | 2 +- dotnet/docs/html/functions_vars_w.html | 2 +- dotnet/docs/html/functions_vars_x.html | 2 +- dotnet/docs/html/functions_vars_y.html | 2 +- dotnet/docs/html/functions_w.html | 2 +- dotnet/docs/html/functions_x.html | 8 +- dotnet/docs/html/functions_y.html | 2 +- dotnet/docs/html/hierarchy.html | 2 +- dotnet/docs/html/index.html | 2 +- ...cecom_1_1mxgraph_1_1mxICanvas-members.html | 2 +- .../interfacecom_1_1mxgraph_1_1mxICanvas.html | 2 +- ...com_1_1mxgraph_1_1mxICanvas2D-members.html | 2 +- ...nterfacecom_1_1mxgraph_1_1mxICanvas2D.html | 2 +- ...facecom_1_1mxgraph_1_1mxICell-members.html | 2 +- .../interfacecom_1_1mxgraph_1_1mxICell.html | 2 +- ..._1_1mxgraph_1_1mxIGraphLayout-members.html | 2 +- ...rfacecom_1_1mxgraph_1_1mxIGraphLayout.html | 2 +- ...m_1_1mxgraph_1_1mxIGraphModel-members.html | 2 +- ...erfacecom_1_1mxgraph_1_1mxIGraphModel.html | 2 +- dotnet/docs/html/namespacecom.html | 2 +- dotnet/docs/html/namespacecom_1_1mxgraph.html | 2 +- dotnet/docs/html/namespacemembers.html | 2 +- dotnet/docs/html/namespacemembers_func.html | 2 +- dotnet/docs/html/namespaces.html | 2 +- dotnet/src/utils/mxConstants.cs | 7 +- dotnet/src/view/mxGraph.cs | 4 +- index.html | 6 +- java/build.xml | 2 +- java/docs/allclasses-frame.html | 7 +- java/docs/allclasses-noframe.html | 7 +- .../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 +- .../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 | 16 +- .../mxEventSource.mxIEventListener.html | 18 +- .../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 | 301 +- 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 | 14 +- .../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 | 80 +- .../class-use/mxConnectionConstraint.html | 12 +- .../mxgraph/view/class-use/mxEdgeStyle.html | 12 +- .../mxEdgeStyle.mxEdgeStyleFunction.html | 12 +- .../com/mxgraph/view/class-use/mxGraph.html | 29 +- .../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 | 119 - .../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 | 16 +- .../docs/com/mxgraph/view/mxSpaceManager.html | 655 -- .../com/mxgraph/view/mxStyleRegistry.html | 16 +- 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 | 7 +- .../com/mxgraph/view/package-summary.html | 22 +- java/docs/com/mxgraph/view/package-tree.html | 13 +- java/docs/com/mxgraph/view/package-use.html | 12 +- java/docs/constant-values.html | 65 +- java/docs/deprecated-list.html | 12 +- java/docs/help-doc.html | 12 +- java/docs/index-all.html | 80 +- java/docs/index.html | 4 +- java/docs/overview-frame.html | 8 +- java/docs/overview-summary.html | 14 +- java/docs/overview-tree.html | 13 +- java/docs/serialized-form.html | 12 +- java/lib/mxgraph-all.jar | Bin 626604 -> 623697 bytes java/lib/mxgraph-core.jar | Bin 479281 -> 476374 bytes java/lib/mxgraph-swing.jar | Bin 147895 -> 147895 bytes java/src/com/mxgraph/util/mxConstants.java | 7 +- java/src/com/mxgraph/view/mxGraph.java | 35 +- java/src/com/mxgraph/view/mxSpaceManager.java | 353 -- .../examples/grapheditor/www/js/Actions.js | 105 +- .../examples/grapheditor/www/js/Dialogs.js | 25 +- .../examples/grapheditor/www/js/Editor.js | 75 +- .../examples/grapheditor/www/js/EditorUi.js | 65 +- .../examples/grapheditor/www/js/Format.js | 66 +- .../examples/grapheditor/www/js/Graph.js | 5495 +++++++++-------- .../examples/grapheditor/www/js/Shapes.js | 274 +- .../examples/grapheditor/www/js/Sidebar.js | 206 +- .../grapheditor/www/resources/grapheditor.txt | 2 + .../www/resources/grapheditor_de.txt | 2 + javascript/examples/scrollbars.html | 27 +- javascript/examples/secondlabel.html | 24 +- javascript/mxClient.js | 936 +-- javascript/mxClient.min.js | 97 +- javascript/src/js/editor/mxEditor.js | 13 +- .../src/js/handler/mxConnectionHandler.js | 8 +- javascript/src/js/handler/mxEdgeHandler.js | 8 - javascript/src/js/handler/mxGraphHandler.js | 4 +- javascript/src/js/handler/mxHandle.js | 23 +- javascript/src/js/handler/mxVertexHandler.js | 22 +- javascript/src/js/io/mxDefaultToolbarCodec.js | 2 +- javascript/src/js/io/mxObjectCodec.js | 3 +- javascript/src/js/io/mxStylesheetCodec.js | 2 +- javascript/src/js/layout/mxStackLayout.js | 32 +- javascript/src/js/mxClient.js | 5 +- javascript/src/js/shape/mxStencil.js | 219 +- javascript/src/js/util/mxConstants.js | 9 +- javascript/src/js/view/mxCellRenderer.js | 44 +- javascript/src/js/view/mxGraph.js | 45 +- javascript/src/js/view/mxGraphView.js | 3 +- javascript/src/js/view/mxLayoutManager.js | 40 +- javascript/src/js/view/mxSpaceManager.js | 455 -- php/src/mxServer.php | 6 +- php/src/util/mxConstants.php | 7 +- 1123 files changed, 9734 insertions(+), 10879 deletions(-) delete mode 100644 docs/js-api/files/view/mxSpaceManager-js.html delete mode 100644 docs/js-api/index/Variables15.html delete mode 100644 java/docs/com/mxgraph/view/class-use/mxSpaceManager.html delete mode 100644 java/docs/com/mxgraph/view/mxSpaceManager.html delete mode 100644 java/src/com/mxgraph/view/mxSpaceManager.java delete mode 100644 javascript/src/js/view/mxSpaceManager.js diff --git a/ChangeLog b/ChangeLog index 6e08d74d4..fcf9af448 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,52 @@ +13-MAR-2015: 3.2.0.0 + +- Adds arcSize handle in grapheditor [JavaScript] +- Fixes scrolling in scrollbars.html example [JavaScript] +- Adds padding in mxGraph.fit for IE 9 and later [JavaScript] +- Adds shape argument in mxCellRenderer.initializeLabel [JavaScript] +- Fixes secondlabel.html example, adds wrapping [JavaScript] +- Adds keyboard shortcuts for zoom actions in grapheditor +- Adds Or-, Sum- and LineEllipse shape in Advanced sidebar +- Adds live preview for custom edge handles, fixes mxHandle.reset [JavaScript] +- Shows/hides link hint if link changes in grapheditor +- Removes text format change for edit link action in grapheditor +- Fixes conversion of newlines for formattedText action in grapheditor +- Adds rounding in mxConnectionHandler.createTargetVertex [JavaScript] +- Adds EditorUi.setFoldingEnabled, foldingEnabledChanged event in grapheditor +- Adds mxCellRenderer.createControlClickHandler hook [JavaScript] +- Adds key shortcuts for select next/previous/parent/child (Ctrl+Tab/Ctrl+Shift+Tab) in grapheditor +- Changes key shortcuts for edit and enter group (Ctrl+Shift+Home/End) in grapheditor +- Changes key shortcuts for expand and collapse (Ctrl+Home/End) in grapheditor +- Fixes focus after stop editing with Ctrl+Enter in grapheditor +- Adds Ctrl+Enter for cloning cells "in-place" in grapheditor +- Shift+expand/collapse moves siblings cells (experimental) in grapheditor +- Removes mxSpaceManager class [Java,JavaScript] +- Shift+expand/collapse moves neighbour cells in grapheditor (experimental) +- Sets collapsed swimlane in vertical/horizontal stack to horizontal/vertical in grapheditor +- Ignores previous width/height for stack child folding in grapheditor +- Disables extending parents with stack layouts on add in grapheditor +- Fixes format panel close icon position in grapheditor +- Fixes delayed selection after folding in grapheditor +- Adds mxMouseEvnet argument in mxGraphHandler.isDelayedSelection [JavaScript] +- Maintains cell order for duplicates in grapheditor +- Selects parents after deleting cells in grapheditor +- Adds optional event argument in mxGraph.foldCells [JavaScript] +- Adds optional cell argument in mxGraph.isExtendParentsOnAdd [JavaScript] +- Adds capture/bubble phase in mxLayoutManager [JavaScript] +- Adds mxStackLayout.resizeParentMax switch [JavaScript] +- Adds UML shapes and elements in grapheditor UML sidebar +- Changes UML lifeline container state in grapheditor +- Adds support for childLayout style in grapheditor +- Fixes size handles for locked shape in grapheditor +- Adds capture phase, fixes duplicates in mxLayoutManager [JavaScript] +- Fixes mxStackLayout.moveCell for scaled graphs [JavaScript] +- Changes title and size of edit style dialog in grapheditor +- Changes default of mxStencil.allowEval to false [JavaScript] +- Adds control key to apply arrow handle to opposite side in grapheditor +- Fixes arrow handles to appear on same side in grapheditor +- Removes shadow action in mxEditor [JavaScript] +- Removes mxConstants.FONT_SHADOW [Java,JavaScript,Dotnet,Php] + 05-MAR-2015: 3.1.3.0 - Invokes turn for click on rotate handle in grapheditor [JavaScript] diff --git a/docs/js-api/files/editor/mxDefaultKeyHandler-js.html b/docs/js-api/files/editor/mxDefaultKeyHandler-js.html index 22799a3e3..4ffff8f19 100644 --- a/docs/js-api/files/editor/mxDefaultKeyHandler-js.html +++ b/docs/js-api/files/editor/mxDefaultKeyHandler-js.html @@ -36,7 +36,7 @@ keyHandler.bindAction(46, 'delete');

Codec< - diff --git a/docs/js-api/files/editor/mxDefaultPopupMenu-js.html b/docs/js-api/files/editor/mxDefaultPopupMenu-js.html index 44aea021d..5b94b3f74 100644 --- a/docs/js-api/files/editor/mxDefaultPopupMenu-js.html +++ b/docs/js-api/files/editor/mxDefaultPopupMenu-js.html @@ -53,7 +53,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/editor/mxDefaultToolbar-js.html b/docs/js-api/files/editor/mxDefaultToolbar-js.html index 537644952..d72b9635b 100644 --- a/docs/js-api/files/editor/mxDefaultToolbar-js.html +++ b/docs/js-api/files/editor/mxDefaultToolbar-js.html @@ -69,7 +69,7 @@ toolbar.addActionOption(combo, 'Paste', 'paste');
- diff --git a/docs/js-api/files/editor/mxEditor-js.html b/docs/js-api/files/editor/mxEditor-js.html index ce437ff92..2f457487c 100644 --- a/docs/js-api/files/editor/mxEditor-js.html +++ b/docs/js-api/files/editor/mxEditor-js.html @@ -219,7 +219,7 @@ var editor = new mxEditor(config);

Paramete

setModified

mxEditor.prototype.setModified = function (value)

Sets modified to the specified boolean value.

-

addActions

mxEditor.prototype.addActions = function ()

Adds the built-in actions to the editor instance.

saveSaves the graph using urlPost.
printShows the graph in a new print preview window.
showShows the graph in a new window.
exportImageShows the graph as a bitmap image using getUrlImage.
refreshRefreshes the graph’s display.
cutCopies the current selection into the clipboard and removes it from the graph.
copyCopies the current selection into the clipboard.
pastePastes the clipboard into the graph.
deleteRemoves the current selection from the graph.
groupPuts the current selection into a new group.
ungroupRemoves the selected groups and selects the children.
undoUndoes the last change on the graph model.
redoRedoes the last change on the graph model.
zoomSets the zoom via a dialog.
zoomInZooms into the graph.
zoomOutZooms out of the graph
actualSizeResets the scale and translation on the graph.
fitChanges the scale so that the graph fits into the window.
showPropertiesShows the properties dialog.
selectAllSelects all cells.
selectNoneClears the selection.
selectVerticesSelects all vertices. selectEdges = Selects all edges.
editStarts editing the current selection cell.
enterGroupDrills down into the current selection cell.
exitGroupMoves up in the drilling hierachy
homeMoves to the topmost parent in the drilling hierarchy
selectPreviousSelects the previous cell.
selectNextSelects the next cell.
selectParentSelects the parent of the selection cell.
selectChildSelects the first child of the selection cell.
collapseCollapses the currently selected cells.
expandExpands the currently selected cells.
boldToggle bold text style.
italicToggle italic text style.
underlineToggle underline text style.
shadowToggle shadow text style.
alignCellsLeftAligns the selection cells at the left.
alignCellsCenterAligns the selection cells in the center.
alignCellsRightAligns the selection cells at the right.
alignCellsTopAligns the selection cells at the top.
alignCellsMiddleAligns the selection cells in the middle.
alignCellsBottomAligns the selection cells at the bottom.
alignFontLeftSets the horizontal text alignment to left.
alignFontCenterSets the horizontal text alignment to center.
alignFontRightSets the horizontal text alignment to right.
alignFontTopSets the vertical text alignment to top.
alignFontMiddleSets the vertical text alignment to middle.
alignFontBottomSets the vertical text alignment to bottom.
toggleTasksShows or hides the tasks window.
toggleHelpShows or hides the help window.
toggleOutlineShows or hides the outline window.
toggleConsoleShows or hides the console window.
+

addActions

mxEditor.prototype.addActions = function ()

Adds the built-in actions to the editor instance.

saveSaves the graph using urlPost.
printShows the graph in a new print preview window.
showShows the graph in a new window.
exportImageShows the graph as a bitmap image using getUrlImage.
refreshRefreshes the graph’s display.
cutCopies the current selection into the clipboard and removes it from the graph.
copyCopies the current selection into the clipboard.
pastePastes the clipboard into the graph.
deleteRemoves the current selection from the graph.
groupPuts the current selection into a new group.
ungroupRemoves the selected groups and selects the children.
undoUndoes the last change on the graph model.
redoRedoes the last change on the graph model.
zoomSets the zoom via a dialog.
zoomInZooms into the graph.
zoomOutZooms out of the graph
actualSizeResets the scale and translation on the graph.
fitChanges the scale so that the graph fits into the window.
showPropertiesShows the properties dialog.
selectAllSelects all cells.
selectNoneClears the selection.
selectVerticesSelects all vertices. selectEdges = Selects all edges.
editStarts editing the current selection cell.
enterGroupDrills down into the current selection cell.
exitGroupMoves up in the drilling hierachy
homeMoves to the topmost parent in the drilling hierarchy
selectPreviousSelects the previous cell.
selectNextSelects the next cell.
selectParentSelects the parent of the selection cell.
selectChildSelects the first child of the selection cell.
collapseCollapses the currently selected cells.
expandExpands the currently selected cells.
boldToggle bold text style.
italicToggle italic text style.
underlineToggle underline text style.
alignCellsLeftAligns the selection cells at the left.
alignCellsCenterAligns the selection cells in the center.
alignCellsRightAligns the selection cells at the right.
alignCellsTopAligns the selection cells at the top.
alignCellsMiddleAligns the selection cells in the middle.
alignCellsBottomAligns the selection cells at the bottom.
alignFontLeftSets the horizontal text alignment to left.
alignFontCenterSets the horizontal text alignment to center.
alignFontRightSets the horizontal text alignment to right.
alignFontTopSets the vertical text alignment to top.
alignFontMiddleSets the vertical text alignment to middle.
alignFontBottomSets the vertical text alignment to bottom.
toggleTasksShows or hides the tasks window.
toggleHelpShows or hides the help window.
toggleOutlineShows or hides the outline window.
toggleConsoleShows or hides the console window.

configure

mxEditor.prototype.configure = function (node)

Configures the editor using the specified node.  To load the configuration from a given URL the following code can be used to obtain the XML node.

var node = mxUtils.load(url).getDocumentElement();

Parameters

nodeXML node that contains the configuration.
@@ -372,7 +372,7 @@ mxEditor.prototype.showTasks = function() - diff --git a/docs/js-api/files/handler/mxCellHighlight-js.html b/docs/js-api/files/handler/mxCellHighlight-js.html index 3f3a01f69..e96563577 100644 --- a/docs/js-api/files/handler/mxCellHighlight-js.html +++ b/docs/js-api/files/handler/mxCellHighlight-js.html @@ -52,7 +52,7 @@ highlight.highlight(graph.view.getState(cell))); - diff --git a/docs/js-api/files/handler/mxCellMarker-js.html b/docs/js-api/files/handler/mxCellMarker-js.html index b879223a2..2dddb8e65 100644 --- a/docs/js-api/files/handler/mxCellMarker-js.html +++ b/docs/js-api/files/handler/mxCellMarker-js.html @@ -101,7 +101,7 @@ graph.addMouseListener({ - diff --git a/docs/js-api/files/handler/mxCellTracker-js.html b/docs/js-api/files/handler/mxCellTracker-js.html index 70c648e97..f235fb2cb 100644 --- a/docs/js-api/files/handler/mxCellTracker-js.html +++ b/docs/js-api/files/handler/mxCellTracker-js.html @@ -72,7 +72,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/handler/mxConnectionHandler-js.html b/docs/js-api/files/handler/mxConnectionHandler-js.html index 7b17b8613..f5fc89327 100644 --- a/docs/js-api/files/handler/mxConnectionHandler-js.html +++ b/docs/js-api/files/handler/mxConnectionHandler-js.html @@ -195,7 +195,7 @@ mxConnectionHandler.prototype.insertEdge = function(parent, id, value, source, t - diff --git a/docs/js-api/files/handler/mxConstraintHandler-js.html b/docs/js-api/files/handler/mxConstraintHandler-js.html index 9d54eb652..8da6e5bd7 100644 --- a/docs/js-api/files/handler/mxConstraintHandler-js.html +++ b/docs/js-api/files/handler/mxConstraintHandler-js.html @@ -59,7 +59,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/handler/mxEdgeHandler-js.html b/docs/js-api/files/handler/mxEdgeHandler-js.html index 28992b381..a04226c4c 100644 --- a/docs/js-api/files/handler/mxEdgeHandler-js.html +++ b/docs/js-api/files/handler/mxEdgeHandler-js.html @@ -196,7 +196,7 @@ mxEdgeHandler.prototype.removeEnabled = true;

Note: This ex

- diff --git a/docs/js-api/files/handler/mxEdgeSegmentHandler-js.html b/docs/js-api/files/handler/mxEdgeSegmentHandler-js.html index 512de37a7..a04b6e5c4 100644 --- a/docs/js-api/files/handler/mxEdgeSegmentHandler-js.html +++ b/docs/js-api/files/handler/mxEdgeSegmentHandler-js.html @@ -37,7 +37,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/handler/mxElbowEdgeHandler-js.html b/docs/js-api/files/handler/mxElbowEdgeHandler-js.html index 7facf2cf1..516da503f 100644 --- a/docs/js-api/files/handler/mxElbowEdgeHandler-js.html +++ b/docs/js-api/files/handler/mxElbowEdgeHandler-js.html @@ -41,7 +41,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/handler/mxGraphHandler-js.html b/docs/js-api/files/handler/mxGraphHandler-js.html index 813759a28..c38cbb76e 100644 --- a/docs/js-api/files/handler/mxGraphHandler-js.html +++ b/docs/js-api/files/handler/mxGraphHandler-js.html @@ -85,7 +85,7 @@ if (browserType) {document.write("
");if (browserV

getInitialCellForEvent

mxGraphHandler.prototype.getInitialCellForEvent = function(me)

Hook to return initial cell for the given event.

-

isDelayedSelection

mxGraphHandler.prototype.isDelayedSelection = function(cell)

Hook to return true for delayed selections.

+

isDelayedSelection

mxGraphHandler.prototype.isDelayedSelection = function(cell,
me)

Hook to return true for delayed selections.

mouseDown

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

Handles the event by selecing the given cell and creating a handle for it.  By consuming the event all subsequent events of the gesture are redirected to this handler.

@@ -139,7 +139,7 @@ if (browserType) {document.write("
");if (browserV - @@ -147,7 +147,7 @@ HideAllBut([2], 13);// -->
-
function mxGraphHandler(graph)
Constructs an event handler that creates handles for the selection cells.
mxGraphHandler.prototype.graph
Reference to the enclosing mxGraph.
Extends mxEventSource to implement a graph component for the browser.
mxGraphHandler.prototype.maxCells
Defines the maximum number of cells to paint subhandles for.
mxGraphHandler.prototype.enabled
Specifies if events are handled.
mxGraphHandler.prototype.highlightEnabled
Specifies if drop targets under the mouse should be enabled.
mxGraphHandler.prototype.cloneEnabled
Specifies if cloning by control-drag is enabled.
mxGraphHandler.prototype.moveEnabled
Specifies if moving is enabled.
mxGraphHandler.prototype.guidesEnabled
Specifies if other cells should be used for snapping the right, center or left side of the current selection.
mxGraphHandler.prototype.guide
Holds the mxGuide instance that is used for alignment.
Implements the alignment of selection cells to other cells in the graph.
mxGraphHandler.prototype.currentDx
Stores the x-coordinate of the current mouse move.
mxGraphHandler.prototype.currentDy
Stores the y-coordinate of the current mouse move.
mxGraphHandler.prototype.updateCursor
Specifies if a move cursor should be shown if the mouse is over a movable cell.
mxGraphHandler.prototype.selectEnabled
Specifies if selecting is enabled.
mxGraphHandler.prototype.removeCellsFromParent
Specifies if cells may be moved out of their parents.
mxGraphHandler.prototype.connectOnDrop
Specifies if drop events are interpreted as new connections if no other drop action is defined.
mxGraphHandler.prototype.scrollOnMove
Specifies if the view should be scrolled so that a moved cell is visible.
mxGraphHandler.prototype.minimumSize
Specifies the minimum number of pixels for the width and height of a selection border.
mxGraphHandler.prototype.previewColor
Specifies the color of the preview shape.
mxGraphHandler.prototype.htmlPreview
Specifies if the graph container should be used for preview.
mxGraphHandler.prototype.shape
Reference to the mxShape that represents the preview.
Base class for all shapes.
mxGraphHandler.prototype.scaleGrid
Specifies if the grid should be scaled.
mxGraphHandler.prototype.rotationEnabled
Specifies if the bounding box should allow for rotation.
mxGraphHandler.prototype.isEnabled = function()
Returns enabled.
mxGraphHandler.prototype.setEnabled = function(value)
Sets enabled.
mxGraphHandler.prototype.isCloneEnabled = function()
Returns cloneEnabled.
mxGraphHandler.prototype.setCloneEnabled = function(value)
Sets cloneEnabled.
mxGraphHandler.prototype.isMoveEnabled = function()
Returns moveEnabled.
mxGraphHandler.prototype.setMoveEnabled = function(value)
Sets moveEnabled.
mxGraphHandler.prototype.isSelectEnabled = function()
Returns selectEnabled.
mxGraphHandler.prototype.setSelectEnabled = function(value)
Sets selectEnabled.
mxGraphHandler.prototype.isRemoveCellsFromParent = function()
Returns removeCellsFromParent.
mxGraphHandler.prototype.setRemoveCellsFromParent = function(value)
Sets removeCellsFromParent.
mxGraphHandler.prototype.getInitialCellForEvent = function(me)
Hook to return initial cell for the given event.
mxGraphHandler.prototype.isDelayedSelection = function(cell)
Hook to return true for delayed selections.
mxGraphHandler.prototype.mouseDown = function(sender,
me)
Handles the event by selecing the given cell and creating a handle for it.
mxGraphHandler.prototype.getGuideStates = function()
Creates an array of cell states which should be used as guides.
mxGraphHandler.prototype.getCells = function(initialCell)
Returns the cells to be modified by this handler.
mxGraphHandler.prototype.getPreviewBounds = function(cells)
Returns the mxRectangle used as the preview bounds for moving the given cells.
Extends mxPoint to implement a 2-dimensional rectangle with double precision coordinates.
mxGraphHandler.prototype.getBoundingBox = function(cells)
Returns the union of the mxCellStates for the given array of mxCells.
Represents the current state of a cell in a given mxGraphView.
Cells are the elements of the graph model.
mxGraphHandler.prototype.createPreviewShape = function(bounds)
Creates the shape used to draw the preview for the given bounds.
mxGraphHandler.prototype.start = function(cell,
x,
y)
Starts the handling of the mouse gesture.
mxGraphHandler.prototype.useGuidesForEvent = function(me)
Returns true if the guides should be used for the given mxMouseEvent.
Base class for all mouse events in mxGraph.
mxGraphHandler.prototype.snap = function(vector)
Snaps the given vector to the grid and returns the given mxPoint instance.
mxGraphHandler.prototype.getDelta = function(me)
Returns an mxPoint that represents the vector for moving the cells for the given mxMouseEvent.
Implements a 2-dimensional vector with double precision coordinates.
mxGraphHandler.prototype.updateHint = function(me)
Hook for subclassers do show details while the handler is active.
mxGraphHandler.prototype.removeHint = function()
Hooks for subclassers to hide details when the handler gets inactive.
mxGraphHandler.prototype.roundLength = function(length)
Hook for rounding the unscaled vector.
mxGraphHandler.prototype.mouseMove = function(sender,
me)
Handles the event by highlighting possible drop targets and updating the preview.
mxGraphHandler.prototype.updatePreviewShape = function()
Updates the bounds of the preview shape.
mxGraphHandler.prototype.setHighlightColor = function(color)
Sets the color of the rectangle used to highlight drop targets.
mxGraphHandler.prototype.mouseUp = function(sender,
me)
Handles the event by applying the changes to the selection cells.
mxGraphHandler.prototype.selectDelayed = function(me)
Implements the delayed selection for the given mouse event.
mxGraphHandler.prototype.reset = function()
Resets the state of this handler.
mxGraphHandler.prototype.shouldRemoveCellsFromParent = function(parent,
cells,
evt)
Returns true if the given cells should be removed from the parent for the specified mousereleased event.
mxGraphHandler.prototype.moveCells = function(cells,
dx,
dy,
clone,
target,
evt)
Moves the given cells by the specified amount.
mxGraphHandler.prototype.destroyShapes = function()
Destroy the preview and highlight shapes.
mxGraphHandler.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
Event handler for resizing cells.
mxGraph.prototype.createHandler = function(state)
Creates a new handler for the given cell state.
mxGraphSelectionModel.prototype.cellAdded = function(cell)
Inner callback to add the specified mxCell to the selection.
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.
mxGraphView.prototype.getBounds = function(cells)
Returns the union of all mxCellStates for the given array of mxCells.
mxGuide.prototype.isEnabledForEvent = function(evt)
Returns true if the guide should be enabled for the given native event.
+
function mxGraphHandler(graph)
Constructs an event handler that creates handles for the selection cells.
mxGraphHandler.prototype.graph
Reference to the enclosing mxGraph.
Extends mxEventSource to implement a graph component for the browser.
mxGraphHandler.prototype.maxCells
Defines the maximum number of cells to paint subhandles for.
mxGraphHandler.prototype.enabled
Specifies if events are handled.
mxGraphHandler.prototype.highlightEnabled
Specifies if drop targets under the mouse should be enabled.
mxGraphHandler.prototype.cloneEnabled
Specifies if cloning by control-drag is enabled.
mxGraphHandler.prototype.moveEnabled
Specifies if moving is enabled.
mxGraphHandler.prototype.guidesEnabled
Specifies if other cells should be used for snapping the right, center or left side of the current selection.
mxGraphHandler.prototype.guide
Holds the mxGuide instance that is used for alignment.
Implements the alignment of selection cells to other cells in the graph.
mxGraphHandler.prototype.currentDx
Stores the x-coordinate of the current mouse move.
mxGraphHandler.prototype.currentDy
Stores the y-coordinate of the current mouse move.
mxGraphHandler.prototype.updateCursor
Specifies if a move cursor should be shown if the mouse is over a movable cell.
mxGraphHandler.prototype.selectEnabled
Specifies if selecting is enabled.
mxGraphHandler.prototype.removeCellsFromParent
Specifies if cells may be moved out of their parents.
mxGraphHandler.prototype.connectOnDrop
Specifies if drop events are interpreted as new connections if no other drop action is defined.
mxGraphHandler.prototype.scrollOnMove
Specifies if the view should be scrolled so that a moved cell is visible.
mxGraphHandler.prototype.minimumSize
Specifies the minimum number of pixels for the width and height of a selection border.
mxGraphHandler.prototype.previewColor
Specifies the color of the preview shape.
mxGraphHandler.prototype.htmlPreview
Specifies if the graph container should be used for preview.
mxGraphHandler.prototype.shape
Reference to the mxShape that represents the preview.
Base class for all shapes.
mxGraphHandler.prototype.scaleGrid
Specifies if the grid should be scaled.
mxGraphHandler.prototype.rotationEnabled
Specifies if the bounding box should allow for rotation.
mxGraphHandler.prototype.isEnabled = function()
Returns enabled.
mxGraphHandler.prototype.setEnabled = function(value)
Sets enabled.
mxGraphHandler.prototype.isCloneEnabled = function()
Returns cloneEnabled.
mxGraphHandler.prototype.setCloneEnabled = function(value)
Sets cloneEnabled.
mxGraphHandler.prototype.isMoveEnabled = function()
Returns moveEnabled.
mxGraphHandler.prototype.setMoveEnabled = function(value)
Sets moveEnabled.
mxGraphHandler.prototype.isSelectEnabled = function()
Returns selectEnabled.
mxGraphHandler.prototype.setSelectEnabled = function(value)
Sets selectEnabled.
mxGraphHandler.prototype.isRemoveCellsFromParent = function()
Returns removeCellsFromParent.
mxGraphHandler.prototype.setRemoveCellsFromParent = function(value)
Sets removeCellsFromParent.
mxGraphHandler.prototype.getInitialCellForEvent = function(me)
Hook to return initial cell for the given event.
mxGraphHandler.prototype.isDelayedSelection = function(cell,
me)
Hook to return true for delayed selections.
mxGraphHandler.prototype.mouseDown = function(sender,
me)
Handles the event by selecing the given cell and creating a handle for it.
mxGraphHandler.prototype.getGuideStates = function()
Creates an array of cell states which should be used as guides.
mxGraphHandler.prototype.getCells = function(initialCell)
Returns the cells to be modified by this handler.
mxGraphHandler.prototype.getPreviewBounds = function(cells)
Returns the mxRectangle used as the preview bounds for moving the given cells.
Extends mxPoint to implement a 2-dimensional rectangle with double precision coordinates.
mxGraphHandler.prototype.getBoundingBox = function(cells)
Returns the union of the mxCellStates for the given array of mxCells.
Represents the current state of a cell in a given mxGraphView.
Cells are the elements of the graph model.
mxGraphHandler.prototype.createPreviewShape = function(bounds)
Creates the shape used to draw the preview for the given bounds.
mxGraphHandler.prototype.start = function(cell,
x,
y)
Starts the handling of the mouse gesture.
mxGraphHandler.prototype.useGuidesForEvent = function(me)
Returns true if the guides should be used for the given mxMouseEvent.
Base class for all mouse events in mxGraph.
mxGraphHandler.prototype.snap = function(vector)
Snaps the given vector to the grid and returns the given mxPoint instance.
mxGraphHandler.prototype.getDelta = function(me)
Returns an mxPoint that represents the vector for moving the cells for the given mxMouseEvent.
Implements a 2-dimensional vector with double precision coordinates.
mxGraphHandler.prototype.updateHint = function(me)
Hook for subclassers do show details while the handler is active.
mxGraphHandler.prototype.removeHint = function()
Hooks for subclassers to hide details when the handler gets inactive.
mxGraphHandler.prototype.roundLength = function(length)
Hook for rounding the unscaled vector.
mxGraphHandler.prototype.mouseMove = function(sender,
me)
Handles the event by highlighting possible drop targets and updating the preview.
mxGraphHandler.prototype.updatePreviewShape = function()
Updates the bounds of the preview shape.
mxGraphHandler.prototype.setHighlightColor = function(color)
Sets the color of the rectangle used to highlight drop targets.
mxGraphHandler.prototype.mouseUp = function(sender,
me)
Handles the event by applying the changes to the selection cells.
mxGraphHandler.prototype.selectDelayed = function(me)
Implements the delayed selection for the given mouse event.
mxGraphHandler.prototype.reset = function()
Resets the state of this handler.
mxGraphHandler.prototype.shouldRemoveCellsFromParent = function(parent,
cells,
evt)
Returns true if the given cells should be removed from the parent for the specified mousereleased event.
mxGraphHandler.prototype.moveCells = function(cells,
dx,
dy,
clone,
target,
evt)
Moves the given cells by the specified amount.
mxGraphHandler.prototype.destroyShapes = function()
Destroy the preview and highlight shapes.
mxGraphHandler.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
Event handler for resizing cells.
mxGraph.prototype.createHandler = function(state)
Creates a new handler for the given cell state.
mxGraphSelectionModel.prototype.cellAdded = function(cell)
Inner callback to add the specified mxCell to the selection.
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.
mxGraphView.prototype.getBounds = function(cells)
Returns the union of all mxCellStates for the given array of mxCells.
mxGuide.prototype.isEnabledForEvent = function(evt)
Returns true if the guide should be enabled for the given native event.
diff --git a/docs/js-api/files/handler/mxHandle-js.html b/docs/js-api/files/handler/mxHandle-js.html index 5a606f350..f17064f38 100644 --- a/docs/js-api/files/handler/mxHandle-js.html +++ b/docs/js-api/files/handler/mxHandle-js.html @@ -71,7 +71,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/handler/mxKeyHandler-js.html b/docs/js-api/files/handler/mxKeyHandler-js.html index 795415e6d..50ff15574 100644 --- a/docs/js-api/files/handler/mxKeyHandler-js.html +++ b/docs/js-api/files/handler/mxKeyHandler-js.html @@ -80,7 +80,7 @@ keyHandler.bindKey(46, function(evt) - diff --git a/docs/js-api/files/handler/mxPanningHandler-js.html b/docs/js-api/files/handler/mxPanningHandler-js.html index 41fad5990..a16df5adf 100644 --- a/docs/js-api/files/handler/mxPanningHandler-js.html +++ b/docs/js-api/files/handler/mxPanningHandler-js.html @@ -106,7 +106,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/handler/mxPopupMenuHandler-js.html b/docs/js-api/files/handler/mxPopupMenuHandler-js.html index e4c32878c..ac706d0ea 100644 --- a/docs/js-api/files/handler/mxPopupMenuHandler-js.html +++ b/docs/js-api/files/handler/mxPopupMenuHandler-js.html @@ -55,7 +55,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/handler/mxRubberband-js.html b/docs/js-api/files/handler/mxRubberband-js.html index cbfbbc969..84cef79f1 100644 --- a/docs/js-api/files/handler/mxRubberband-js.html +++ b/docs/js-api/files/handler/mxRubberband-js.html @@ -63,7 +63,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/handler/mxSelectionCellsHandler-js.html b/docs/js-api/files/handler/mxSelectionCellsHandler-js.html index 64f0e44f5..f877868c7 100644 --- a/docs/js-api/files/handler/mxSelectionCellsHandler-js.html +++ b/docs/js-api/files/handler/mxSelectionCellsHandler-js.html @@ -53,7 +53,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/handler/mxTooltipHandler-js.html b/docs/js-api/files/handler/mxTooltipHandler-js.html index 7f08be201..16c5fde75 100644 --- a/docs/js-api/files/handler/mxTooltipHandler-js.html +++ b/docs/js-api/files/handler/mxTooltipHandler-js.html @@ -69,7 +69,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/handler/mxVertexHandler-js.html b/docs/js-api/files/handler/mxVertexHandler-js.html index 514759459..cc8cc7798 100644 --- a/docs/js-api/files/handler/mxVertexHandler-js.html +++ b/docs/js-api/files/handler/mxVertexHandler-js.html @@ -178,7 +178,7 @@ mxVertexHandler.prototype.union = function(bounds, dx, dy, index, gridEnabled, s - diff --git a/docs/js-api/files/index-txt.html b/docs/js-api/files/index-txt.html index 75417be1e..6c87745f9 100644 --- a/docs/js-api/files/index-txt.html +++ b/docs/js-api/files/index-txt.html @@ -47,7 +47,7 @@ mxCodecRegistry.register(codec);

Functions< - diff --git a/docs/js-api/files/io/mxCellCodec-js.html b/docs/js-api/files/io/mxCellCodec-js.html index bf7e69620..09f6e8e81 100644 --- a/docs/js-api/files/io/mxCellCodec-js.html +++ b/docs/js-api/files/io/mxCellCodec-js.html @@ -37,7 +37,7 @@ mxCodecRegistry.addAlias('CustomCell', 'mxCell'); - diff --git a/docs/js-api/files/io/mxChildChangeCodec-js.html b/docs/js-api/files/io/mxChildChangeCodec-js.html index 2b3b097e9..283bb9ca5 100644 --- a/docs/js-api/files/io/mxChildChangeCodec-js.html +++ b/docs/js-api/files/io/mxChildChangeCodec-js.html @@ -29,7 +29,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/io/mxCodec-js.html b/docs/js-api/files/io/mxCodec-js.html index 18fca6117..a2a697cb1 100644 --- a/docs/js-api/files/io/mxCodec-js.html +++ b/docs/js-api/files/io/mxCodec-js.html @@ -95,7 +95,7 @@ codec.reference = function(obj) - diff --git a/docs/js-api/files/io/mxCodecRegistry-js.html b/docs/js-api/files/io/mxCodecRegistry-js.html index 87291c090..e244e88ac 100644 --- a/docs/js-api/files/io/mxCodecRegistry-js.html +++ b/docs/js-api/files/io/mxCodecRegistry-js.html @@ -34,7 +34,7 @@ codec.decode = function(dec, node, into) { ... }

3.  R

- diff --git a/docs/js-api/files/io/mxDefaultKeyHandlerCodec-js.html b/docs/js-api/files/io/mxDefaultKeyHandlerCodec-js.html index e1dd873f0..6fdb3f07c 100644 --- a/docs/js-api/files/io/mxDefaultKeyHandlerCodec-js.html +++ b/docs/js-api/files/io/mxDefaultKeyHandlerCodec-js.html @@ -29,7 +29,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/io/mxDefaultPopupMenuCodec-js.html b/docs/js-api/files/io/mxDefaultPopupMenuCodec-js.html index 4c2a05e34..1b18b5d8b 100644 --- a/docs/js-api/files/io/mxDefaultPopupMenuCodec-js.html +++ b/docs/js-api/files/io/mxDefaultPopupMenuCodec-js.html @@ -25,7 +25,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/io/mxDefaultToolbarCodec-js.html b/docs/js-api/files/io/mxDefaultToolbarCodec-js.html index 8a1b72280..c0f61605d 100644 --- a/docs/js-api/files/io/mxDefaultToolbarCodec-js.html +++ b/docs/js-api/files/io/mxDefaultToolbarCodec-js.html @@ -42,7 +42,7 @@ if (browserType) {document.write("
");if (browserV

Variables

-

allowEval

mxDefaultToolbarCodec.allowEval

Static global switch that specifies if the use of eval is allowed for evaluating text content.  Default is true.  Set this to false if stylesheets may contain user input (see the section on security in the manual).

+

allowEval

mxDefaultToolbarCodec.allowEval

Static global switch that specifies if the use of eval is allowed for evaluating text content.  Default is true.  Set this to false if stylesheets may contain user input

@@ -50,7 +50,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/io/mxEditorCodec-js.html b/docs/js-api/files/io/mxEditorCodec-js.html index 1c5786e31..51f6eaf31 100644 --- a/docs/js-api/files/io/mxEditorCodec-js.html +++ b/docs/js-api/files/io/mxEditorCodec-js.html @@ -36,7 +36,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/io/mxGenericChangeCodec-js.html b/docs/js-api/files/io/mxGenericChangeCodec-js.html index ec3e0e0ab..3d2f04ec0 100644 --- a/docs/js-api/files/io/mxGenericChangeCodec-js.html +++ b/docs/js-api/files/io/mxGenericChangeCodec-js.html @@ -25,7 +25,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/io/mxGraphCodec-js.html b/docs/js-api/files/io/mxGraphCodec-js.html index 37d568f71..34ffa4535 100644 --- a/docs/js-api/files/io/mxGraphCodec-js.html +++ b/docs/js-api/files/io/mxGraphCodec-js.html @@ -19,7 +19,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/io/mxGraphViewCodec-js.html b/docs/js-api/files/io/mxGraphViewCodec-js.html index 0d7b2ada1..0d28ffafd 100644 --- a/docs/js-api/files/io/mxGraphViewCodec-js.html +++ b/docs/js-api/files/io/mxGraphViewCodec-js.html @@ -25,7 +25,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/io/mxModelCodec-js.html b/docs/js-api/files/io/mxModelCodec-js.html index 8351f5a45..ace48ac83 100644 --- a/docs/js-api/files/io/mxModelCodec-js.html +++ b/docs/js-api/files/io/mxModelCodec-js.html @@ -27,7 +27,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/io/mxObjectCodec-js.html b/docs/js-api/files/io/mxObjectCodec-js.html index a5ecce7a4..3c0dd9e49 100644 --- a/docs/js-api/files/io/mxObjectCodec-js.html +++ b/docs/js-api/files/io/mxObjectCodec-js.html @@ -34,7 +34,7 @@ mapping['variableName'] = 'attribute-name';

Variables

-

allowEval

mxObjectCodec.allowEval

Static global switch that specifies if expressions in arrays are allowed.  Default is false.  NOTE: Enabling this carries a possible security risk (see the section on security in the manual).

+

allowEval

mxObjectCodec.allowEval

Static global switch that specifies if expressions in arrays are allowed.  Default is false.  NOTE: Enabling this carries a possible security risk.

template

mxObjectCodec.prototype.template

Holds the template object associated with this codec.

@@ -118,7 +118,7 @@ mapping['variableName'] = 'attribute-name';
- diff --git a/docs/js-api/files/io/mxRootChangeCodec-js.html b/docs/js-api/files/io/mxRootChangeCodec-js.html index 3208665ba..bb8f37ce5 100644 --- a/docs/js-api/files/io/mxRootChangeCodec-js.html +++ b/docs/js-api/files/io/mxRootChangeCodec-js.html @@ -27,7 +27,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/io/mxStylesheetCodec-js.html b/docs/js-api/files/io/mxStylesheetCodec-js.html index 1956fd004..bdcf86b70 100644 --- a/docs/js-api/files/io/mxStylesheetCodec-js.html +++ b/docs/js-api/files/io/mxStylesheetCodec-js.html @@ -30,7 +30,7 @@ if (browserType) {document.write("
");if (browserV

Variables

-

allowEval

mxStylesheetCodec.allowEval

Static global switch that specifies if the use of eval is allowed for evaluating text content.  Default is true.  Set this to false if stylesheets may contain user input (see the section on security in the manual).

+

allowEval

mxStylesheetCodec.allowEval

Static global switch that specifies if the use of eval is allowed for evaluating text content.  Default is true.  Set this to false if stylesheets may contain user input.

@@ -38,7 +38,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/io/mxTerminalChangeCodec-js.html b/docs/js-api/files/io/mxTerminalChangeCodec-js.html index 64b642ecd..8419cb9b7 100644 --- a/docs/js-api/files/io/mxTerminalChangeCodec-js.html +++ b/docs/js-api/files/io/mxTerminalChangeCodec-js.html @@ -23,7 +23,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/layout/hierarchical/model/mxGraphAbstractHierarchyCell-js.html b/docs/js-api/files/layout/hierarchical/model/mxGraphAbstractHierarchyCell-js.html index b794e1b6e..65394e01a 100644 --- a/docs/js-api/files/layout/hierarchical/model/mxGraphAbstractHierarchyCell-js.html +++ b/docs/js-api/files/layout/hierarchical/model/mxGraphAbstractHierarchyCell-js.html @@ -63,7 +63,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/layout/hierarchical/model/mxGraphHierarchyEdge-js.html b/docs/js-api/files/layout/hierarchical/model/mxGraphHierarchyEdge-js.html index 4f920fb2b..2372cef4c 100644 --- a/docs/js-api/files/layout/hierarchical/model/mxGraphHierarchyEdge-js.html +++ b/docs/js-api/files/layout/hierarchical/model/mxGraphHierarchyEdge-js.html @@ -51,7 +51,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/layout/hierarchical/model/mxGraphHierarchyModel-js.html b/docs/js-api/files/layout/hierarchical/model/mxGraphHierarchyModel-js.html index 2a8d211be..2aa7e038b 100644 --- a/docs/js-api/files/layout/hierarchical/model/mxGraphHierarchyModel-js.html +++ b/docs/js-api/files/layout/hierarchical/model/mxGraphHierarchyModel-js.html @@ -57,7 +57,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/layout/hierarchical/model/mxGraphHierarchyNode-js.html b/docs/js-api/files/layout/hierarchical/model/mxGraphHierarchyNode-js.html index faa4a6dd7..3f2772c63 100644 --- a/docs/js-api/files/layout/hierarchical/model/mxGraphHierarchyNode-js.html +++ b/docs/js-api/files/layout/hierarchical/model/mxGraphHierarchyNode-js.html @@ -53,7 +53,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/layout/hierarchical/model/mxSwimlaneModel-js.html b/docs/js-api/files/layout/hierarchical/model/mxSwimlaneModel-js.html index 5cbfa1b8b..1e26aab77 100644 --- a/docs/js-api/files/layout/hierarchical/model/mxSwimlaneModel-js.html +++ b/docs/js-api/files/layout/hierarchical/model/mxSwimlaneModel-js.html @@ -59,7 +59,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/layout/hierarchical/mxHierarchicalLayout-js.html b/docs/js-api/files/layout/hierarchical/mxHierarchicalLayout-js.html index 975b2643f..93fca4050 100644 --- a/docs/js-api/files/layout/hierarchical/mxHierarchicalLayout-js.html +++ b/docs/js-api/files/layout/hierarchical/mxHierarchicalLayout-js.html @@ -91,7 +91,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/layout/hierarchical/mxSwimlaneLayout-js.html b/docs/js-api/files/layout/hierarchical/mxSwimlaneLayout-js.html index 1aa7f06f1..6233d0b9e 100644 --- a/docs/js-api/files/layout/hierarchical/mxSwimlaneLayout-js.html +++ b/docs/js-api/files/layout/hierarchical/mxSwimlaneLayout-js.html @@ -91,7 +91,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/layout/hierarchical/stage/mxCoordinateAssignment-js.html b/docs/js-api/files/layout/hierarchical/stage/mxCoordinateAssignment-js.html index de4d7bb64..afedd5c3f 100644 --- a/docs/js-api/files/layout/hierarchical/stage/mxCoordinateAssignment-js.html +++ b/docs/js-api/files/layout/hierarchical/stage/mxCoordinateAssignment-js.html @@ -129,7 +129,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/layout/hierarchical/stage/mxHierarchicalLayoutStage-js.html b/docs/js-api/files/layout/hierarchical/stage/mxHierarchicalLayoutStage-js.html index c3fbf83eb..a1b17314c 100644 --- a/docs/js-api/files/layout/hierarchical/stage/mxHierarchicalLayoutStage-js.html +++ b/docs/js-api/files/layout/hierarchical/stage/mxHierarchicalLayoutStage-js.html @@ -25,7 +25,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/layout/hierarchical/stage/mxMedianHybridCrossingReduction-js.html b/docs/js-api/files/layout/hierarchical/stage/mxMedianHybridCrossingReduction-js.html index 30e1e0461..fb692d274 100644 --- a/docs/js-api/files/layout/hierarchical/stage/mxMedianHybridCrossingReduction-js.html +++ b/docs/js-api/files/layout/hierarchical/stage/mxMedianHybridCrossingReduction-js.html @@ -69,7 +69,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/layout/hierarchical/stage/mxMinimumCycleRemover-js.html b/docs/js-api/files/layout/hierarchical/stage/mxMinimumCycleRemover-js.html index 01a220640..c3eaaf0c8 100644 --- a/docs/js-api/files/layout/hierarchical/stage/mxMinimumCycleRemover-js.html +++ b/docs/js-api/files/layout/hierarchical/stage/mxMinimumCycleRemover-js.html @@ -31,7 +31,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/layout/hierarchical/stage/mxSwimlaneOrdering-js.html b/docs/js-api/files/layout/hierarchical/stage/mxSwimlaneOrdering-js.html index fa8fe54a2..54bea690a 100644 --- a/docs/js-api/files/layout/hierarchical/stage/mxSwimlaneOrdering-js.html +++ b/docs/js-api/files/layout/hierarchical/stage/mxSwimlaneOrdering-js.html @@ -31,7 +31,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/layout/mxCircleLayout-js.html b/docs/js-api/files/layout/mxCircleLayout-js.html index ac5954aa5..01f51ab8c 100644 --- a/docs/js-api/files/layout/mxCircleLayout-js.html +++ b/docs/js-api/files/layout/mxCircleLayout-js.html @@ -46,7 +46,7 @@ layout.execute(graph.getDefaultParent()); - diff --git a/docs/js-api/files/layout/mxCompactTreeLayout-js.html b/docs/js-api/files/layout/mxCompactTreeLayout-js.html index 203c4dcbe..5b2a9aeaa 100644 --- a/docs/js-api/files/layout/mxCompactTreeLayout-js.html +++ b/docs/js-api/files/layout/mxCompactTreeLayout-js.html @@ -146,7 +146,7 @@ layout.execute(graph.getDefaultParent()); - diff --git a/docs/js-api/files/layout/mxCompositeLayout-js.html b/docs/js-api/files/layout/mxCompositeLayout-js.html index 59efe3ab1..f1e8d2632 100644 --- a/docs/js-api/files/layout/mxCompositeLayout-js.html +++ b/docs/js-api/files/layout/mxCompositeLayout-js.html @@ -38,7 +38,7 @@ layout.execute(graph.getDefaultParent()); - diff --git a/docs/js-api/files/layout/mxEdgeLabelLayout-js.html b/docs/js-api/files/layout/mxEdgeLabelLayout-js.html index cc2a39571..c591cb4b2 100644 --- a/docs/js-api/files/layout/mxEdgeLabelLayout-js.html +++ b/docs/js-api/files/layout/mxEdgeLabelLayout-js.html @@ -30,7 +30,7 @@ layout.execute(graph.getDefaultParent()); - diff --git a/docs/js-api/files/layout/mxFastOrganicLayout-js.html b/docs/js-api/files/layout/mxFastOrganicLayout-js.html index f76874d59..84af72845 100644 --- a/docs/js-api/files/layout/mxFastOrganicLayout-js.html +++ b/docs/js-api/files/layout/mxFastOrganicLayout-js.html @@ -84,7 +84,7 @@ layout.execute(graph.getDefaultParent()); - diff --git a/docs/js-api/files/layout/mxGraphLayout-js.html b/docs/js-api/files/layout/mxGraphLayout-js.html index 599f976b1..16017d326 100644 --- a/docs/js-api/files/layout/mxGraphLayout-js.html +++ b/docs/js-api/files/layout/mxGraphLayout-js.html @@ -68,7 +68,7 @@ graph.traverse(cell, false, function(vertex, edge) - diff --git a/docs/js-api/files/layout/mxParallelEdgeLayout-js.html b/docs/js-api/files/layout/mxParallelEdgeLayout-js.html index 9aa3eb3b2..09c98b4b0 100644 --- a/docs/js-api/files/layout/mxParallelEdgeLayout-js.html +++ b/docs/js-api/files/layout/mxParallelEdgeLayout-js.html @@ -58,7 +58,7 @@ graph.addListener(mxEvent.CELL_CONNECTED, function(sender, evt) - diff --git a/docs/js-api/files/layout/mxPartitionLayout-js.html b/docs/js-api/files/layout/mxPartitionLayout-js.html index b80798814..27752e406 100644 --- a/docs/js-api/files/layout/mxPartitionLayout-js.html +++ b/docs/js-api/files/layout/mxPartitionLayout-js.html @@ -42,7 +42,7 @@ layout.execute(graph.getDefaultParent()); - diff --git a/docs/js-api/files/layout/mxRadialTreeLayout-js.html b/docs/js-api/files/layout/mxRadialTreeLayout-js.html index bfc15618f..5bf55254e 100644 --- a/docs/js-api/files/layout/mxRadialTreeLayout-js.html +++ b/docs/js-api/files/layout/mxRadialTreeLayout-js.html @@ -60,7 +60,7 @@ layout.execute(graph.getDefaultParent()); - diff --git a/docs/js-api/files/layout/mxStackLayout-js.html b/docs/js-api/files/layout/mxStackLayout-js.html index 3a632b0c0..86b885297 100644 --- a/docs/js-api/files/layout/mxStackLayout-js.html +++ b/docs/js-api/files/layout/mxStackLayout-js.html @@ -11,8 +11,8 @@ if (browserType) {document.write("
");if (browserV -

mxStackLayout

Extends mxGraphLayout to create a horizontal or vertical stack of the child vertices.  The children do not need to be connected for this layout to work.

Example

var layout = new mxStackLayout(graph, true);
-layout.execute(graph.getDefaultParent());
Summary
mxStackLayoutExtends mxGraphLayout to create a horizontal or vertical stack of the child vertices.
Functions
mxStackLayoutConstructs a new stack layout layout for the specified graph, spacing, orientation and offset.
Variables
horizontalSpecifies the orientation of the layout.
spacingSpecifies the spacing between the cells.
x0Specifies the horizontal origin of the layout.
y0Specifies the vertical origin of the layout.
borderBorder to be added if fill is true.
marginTopTop margin for the child area.
marginLeftTop margin for the child area.
marginRightTop margin for the child area.
marginBottomTop margin for the child area.
keepFirstLocationBoolean indicating if the location of the first cell should be kept, that is, it will not be moved to x0 or y0.
fillBoolean indicating if dimension should be changed to fill out the parent cell.
resizeParentIf the parent should be resized to match the width/height of the stack.
resizeLastIf the last element should be resized to fill out the parent.
wrapValue at which a new column or row should be created.
borderCollapseIf the strokeWidth should be ignored.
Functions
isHorizontalReturns horizontal.
moveCellImplements mxGraphLayout.moveCell.
getParentSizeReturns 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.
executeImplements mxGraphLayout.execute.
executeImplements mxGraphLayout.execute.
executeImplements mxGraphLayout.execute.
+

mxStackLayout

Extends mxGraphLayout to create a horizontal or vertical stack of the child vertices.  The children do not need to be connected for this layout to work.

Example

var layout = new mxStackLayout(graph, true);
+layout.execute(graph.getDefaultParent());
Summary
mxStackLayoutExtends mxGraphLayout to create a horizontal or vertical stack of the child vertices.
Functions
mxStackLayoutConstructs a new stack layout layout for the specified graph, spacing, orientation and offset.
Variables
horizontalSpecifies the orientation of the layout.
spacingSpecifies the spacing between the cells.
x0Specifies the horizontal origin of the layout.
y0Specifies the vertical origin of the layout.
borderBorder to be added if fill is true.
marginTopTop margin for the child area.
marginLeftTop margin for the child area.
marginRightTop margin for the child area.
marginBottomTop margin for the child area.
keepFirstLocationBoolean indicating if the location of the first cell should be kept, that is, it will not be moved to x0 or y0.
fillBoolean indicating if dimension should be changed to fill out the parent cell.
resizeParentIf the parent should be resized to match the width/height of the stack.
resizeParentMaxUse maximum of existing value and new value for resize of parent.
resizeLastIf the last element should be resized to fill out the parent.
wrapValue at which a new column or row should be created.
borderCollapseIf the strokeWidth should be ignored.
Functions
isHorizontalReturns horizontal.
moveCellImplements mxGraphLayout.moveCell.
getParentSizeReturns 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.
executeImplements mxGraphLayout.execute.
executeImplements mxGraphLayout.execute.
executeImplements mxGraphLayout.execute.

Functions

@@ -44,7 +44,9 @@ layout.execute(graph.getDefaultParent()); @@ -70,7 +72,7 @@ layout.execute(graph.getDefaultParent()); - @@ -78,7 +80,7 @@ HideAllBut([7], 13);// -->
-
Base class for all layout algorithms in mxGraph.
function mxStackLayout(graph,
horizontal,
spacing,
x0,
y0,
border)
Constructs a new stack layout layout for the specified graph, spacing, orientation and offset.
mxStackLayout.prototype.horizontal
Specifies the orientation of the layout.
mxStackLayout.prototype.spacing
Specifies the spacing between the cells.
mxStackLayout.prototype.x0
Specifies the horizontal origin of the layout.
mxStackLayout.prototype.y0
Specifies the vertical origin of the layout.
mxStackLayout.prototype.border
Border to be added if fill is true.
mxStackLayout.prototype.marginTop
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.marginBottom
Top margin for the child area.
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.
mxStackLayout.prototype.fill
Boolean indicating if dimension should be changed to fill out the parent cell.
mxStackLayout.prototype.resizeParent
If the parent should be resized to match the width/height of the stack.
mxStackLayout.prototype.resizeLast
If the last element should be resized to fill out the parent.
mxStackLayout.prototype.wrap
Value at which a new column or row should be created.
mxStackLayout.prototype.borderCollapse
If the strokeWidth should be ignored.
mxStackLayout.prototype.isHorizontal = function()
Returns horizontal.
mxStackLayout.prototype.moveCell = function(cell,
x,
y)
Implements mxGraphLayout.moveCell.
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.
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.
mxStackLayout.prototype.execute = function(parent)
Implements mxGraphLayout.execute.
mxGraphLayout.prototype.execute = function(parent)
Executes the layout algorithm for the children of the given parent.
+
Base class for all layout algorithms in mxGraph.
function mxStackLayout(graph,
horizontal,
spacing,
x0,
y0,
border)
Constructs a new stack layout layout for the specified graph, spacing, orientation and offset.
mxStackLayout.prototype.horizontal
Specifies the orientation of the layout.
mxStackLayout.prototype.spacing
Specifies the spacing between the cells.
mxStackLayout.prototype.x0
Specifies the horizontal origin of the layout.
mxStackLayout.prototype.y0
Specifies the vertical origin of the layout.
mxStackLayout.prototype.border
Border to be added if fill is true.
mxStackLayout.prototype.marginTop
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.marginBottom
Top margin for the child area.
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.
mxStackLayout.prototype.fill
Boolean indicating if dimension should be changed to fill out the parent cell.
mxStackLayout.prototype.resizeParent
If the parent should be resized to match the width/height of the stack.
mxStackLayout.prototype.resizeParentMax
Use maximum of existing value and new value for resize of parent.
mxStackLayout.prototype.resizeLast
If the last element should be resized to fill out the parent.
mxStackLayout.prototype.wrap
Value at which a new column or row should be created.
mxStackLayout.prototype.borderCollapse
If the strokeWidth should be ignored.
mxStackLayout.prototype.isHorizontal = function()
Returns horizontal.
mxStackLayout.prototype.moveCell = function(cell,
x,
y)
Implements mxGraphLayout.moveCell.
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.
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.
mxStackLayout.prototype.execute = function(parent)
Implements mxGraphLayout.execute.
mxGraphLayout.prototype.execute = function(parent)
Executes the layout algorithm for the children of the given parent.
diff --git a/docs/js-api/files/model/mxCell-js.html b/docs/js-api/files/model/mxCell-js.html index 8cbf33abf..6634ddbb4 100644 --- a/docs/js-api/files/model/mxCell-js.html +++ b/docs/js-api/files/model/mxCell-js.html @@ -161,7 +161,7 @@ graph.cellLabelChanged = function(cell, newValue, autoSize) - diff --git a/docs/js-api/files/model/mxCellPath-js.html b/docs/js-api/files/model/mxCellPath-js.html index 3e872a813..19f7f38f3 100644 --- a/docs/js-api/files/model/mxCellPath-js.html +++ b/docs/js-api/files/model/mxCellPath-js.html @@ -33,7 +33,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/model/mxGeometry-js.html b/docs/js-api/files/model/mxGeometry-js.html index b823563ea..f868f811b 100644 --- a/docs/js-api/files/model/mxGeometry-js.html +++ b/docs/js-api/files/model/mxGeometry-js.html @@ -57,7 +57,7 @@ geometry.setTerminalPoint(new mxPoint(x3, y3), false);

Cont

- diff --git a/docs/js-api/files/model/mxGraphModel-js.html b/docs/js-api/files/model/mxGraphModel-js.html index ad8879d4e..d8bc1d3c3 100644 --- a/docs/js-api/files/model/mxGraphModel-js.html +++ b/docs/js-api/files/model/mxGraphModel-js.html @@ -377,7 +377,7 @@ finally - diff --git a/docs/js-api/files/mxClient-js.html b/docs/js-api/files/mxClient-js.html index e3d98cda5..9d6378e7c 100644 --- a/docs/js-api/files/mxClient-js.html +++ b/docs/js-api/files/mxClient-js.html @@ -15,7 +15,7 @@ if (browserType) {document.write("
");if (browserV

Variables

-

VERSION

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

versionMajor.versionMinor.buildNumber.revisionNumber

Current version is 3.1.3.0.

+

VERSION

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

versionMajor.versionMinor.buildNumber.revisionNumber

Current version is 3.2.0.0.

IS_IE

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

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

@@ -124,7 +124,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/shape/mxActor-js.html b/docs/js-api/files/shape/mxActor-js.html index 6bca92521..d73c00fc7 100644 --- a/docs/js-api/files/shape/mxActor-js.html +++ b/docs/js-api/files/shape/mxActor-js.html @@ -39,7 +39,7 @@ SampleShape.prototype.redrawPath = function(path, x, y, w, h) - diff --git a/docs/js-api/files/shape/mxArrow-js.html b/docs/js-api/files/shape/mxArrow-js.html index 7e1f0f5e2..feff942d5 100644 --- a/docs/js-api/files/shape/mxArrow-js.html +++ b/docs/js-api/files/shape/mxArrow-js.html @@ -27,7 +27,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/shape/mxArrowConnector-js.html b/docs/js-api/files/shape/mxArrowConnector-js.html index 670cec60b..6d236cde9 100644 --- a/docs/js-api/files/shape/mxArrowConnector-js.html +++ b/docs/js-api/files/shape/mxArrowConnector-js.html @@ -43,7 +43,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/shape/mxCloud-js.html b/docs/js-api/files/shape/mxCloud-js.html index 084e83970..e6763cc4e 100644 --- a/docs/js-api/files/shape/mxCloud-js.html +++ b/docs/js-api/files/shape/mxCloud-js.html @@ -25,7 +25,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/shape/mxConnector-js.html b/docs/js-api/files/shape/mxConnector-js.html index 33d4d1d4b..e2b3d5c66 100644 --- a/docs/js-api/files/shape/mxConnector-js.html +++ b/docs/js-api/files/shape/mxConnector-js.html @@ -29,7 +29,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/shape/mxCylinder-js.html b/docs/js-api/files/shape/mxCylinder-js.html index 2a2904852..50195ccad 100644 --- a/docs/js-api/files/shape/mxCylinder-js.html +++ b/docs/js-api/files/shape/mxCylinder-js.html @@ -35,7 +35,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/shape/mxDoubleEllipse-js.html b/docs/js-api/files/shape/mxDoubleEllipse-js.html index 3e8911089..d7fdcdc22 100644 --- a/docs/js-api/files/shape/mxDoubleEllipse-js.html +++ b/docs/js-api/files/shape/mxDoubleEllipse-js.html @@ -52,7 +52,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/shape/mxEllipse-js.html b/docs/js-api/files/shape/mxEllipse-js.html index 75d7db9a7..a1f803499 100644 --- a/docs/js-api/files/shape/mxEllipse-js.html +++ b/docs/js-api/files/shape/mxEllipse-js.html @@ -25,7 +25,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/shape/mxHexagon-js.html b/docs/js-api/files/shape/mxHexagon-js.html index 7489fe057..aea4a701e 100644 --- a/docs/js-api/files/shape/mxHexagon-js.html +++ b/docs/js-api/files/shape/mxHexagon-js.html @@ -25,7 +25,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/shape/mxImageShape-js.html b/docs/js-api/files/shape/mxImageShape-js.html index 226c6c25f..62966425b 100644 --- a/docs/js-api/files/shape/mxImageShape-js.html +++ b/docs/js-api/files/shape/mxImageShape-js.html @@ -41,7 +41,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/shape/mxLabel-js.html b/docs/js-api/files/shape/mxLabel-js.html index 911078a6a..fb36d8ae8 100644 --- a/docs/js-api/files/shape/mxLabel-js.html +++ b/docs/js-api/files/shape/mxLabel-js.html @@ -53,7 +53,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/shape/mxLine-js.html b/docs/js-api/files/shape/mxLine-js.html index ad9adfede..3aa3f09e5 100644 --- a/docs/js-api/files/shape/mxLine-js.html +++ b/docs/js-api/files/shape/mxLine-js.html @@ -25,7 +25,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/shape/mxMarker-js.html b/docs/js-api/files/shape/mxMarker-js.html index 3c524e0e1..43f963bde 100644 --- a/docs/js-api/files/shape/mxMarker-js.html +++ b/docs/js-api/files/shape/mxMarker-js.html @@ -29,7 +29,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/shape/mxPolyline-js.html b/docs/js-api/files/shape/mxPolyline-js.html index 1f7bca57f..b5427efcb 100644 --- a/docs/js-api/files/shape/mxPolyline-js.html +++ b/docs/js-api/files/shape/mxPolyline-js.html @@ -35,7 +35,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/shape/mxRectangleShape-js.html b/docs/js-api/files/shape/mxRectangleShape-js.html index 51cc7e5aa..2446a06e6 100644 --- a/docs/js-api/files/shape/mxRectangleShape-js.html +++ b/docs/js-api/files/shape/mxRectangleShape-js.html @@ -29,7 +29,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/shape/mxRhombus-js.html b/docs/js-api/files/shape/mxRhombus-js.html index bd83179af..9c2fc266b 100644 --- a/docs/js-api/files/shape/mxRhombus-js.html +++ b/docs/js-api/files/shape/mxRhombus-js.html @@ -25,7 +25,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/shape/mxShape-js.html b/docs/js-api/files/shape/mxShape-js.html index 95f50c6ff..23344ad13 100644 --- a/docs/js-api/files/shape/mxShape-js.html +++ b/docs/js-api/files/shape/mxShape-js.html @@ -167,7 +167,7 @@ style[mxConstants.STYLE_SHAPE] = 'customShape'; - @@ -175,7 +175,7 @@ HideAllBut([9], 13);// -->
-
function mxShape(stencil)
Constructs a new shape.
mxShape.prototype.dialect
Holds the dialect in which the shape is to be painted.
mxShape.prototype.scale
Holds the scale in which the shape is being painted.
mxShape.prototype.antiAlias
Rendering hint for configuring the canvas.
mxShape.prototype.bounds
Holds the mxRectangle that specifies the bounds of this shape.
Extends mxPoint to implement a 2-dimensional rectangle with double precision coordinates.
mxShape.prototype.points
Holds the array of mxPoints that specify the points of this shape.
Implements a 2-dimensional vector with double precision coordinates.
mxShape.prototype.node
Holds the outermost DOM node that represents this shape.
mxShape.prototype.state
Optional reference to the corresponding mxCellState.
Represents the current state of a cell in a given mxGraphView.
mxShape.prototype.style
Optional reference to the style of the corresponding mxCellState.
mxShape.prototype.boundingBox
Contains the bounding box of the shape, that is, the smallest rectangle that includes all pixels of the shape.
mxShape.prototype.stencil
Holds the mxStencil that defines the shape.
Implements a generic shape which is based on a XML node as a description.
mxShape.prototype.svgStrokeTolerance
Event-tolerance for SVG strokes (in px).
mxShape.prototype.pointerEvents
Specifies if pointer events should be handled.
mxShape.prototype.svgPointerEvents
Specifies if pointer events should be handled.
mxShape.prototype.shapePointerEvents
Specifies if pointer events outside of shape should be handled.
mxShape.prototype.stencilPointerEvents
Specifies if pointer events outside of stencils should be handled.
mxShape.prototype.vmlScale
Scale for improving the precision of VML rendering.
mxShape.prototype.outline
Specifies if the shape should be drawn as an outline.
mxShape.prototype.visible
Specifies if the shape is visible.
mxShape.prototype.init = function(container)
Initializes the shape by creaing the DOM node using create and adding it into the given container.
mxShape.prototype.create = function(container)
Creates and returns the DOM node(s) for the shape in the given container.
mxShape.prototype.isParseVml = function()
Specifies if any VML should be added via insertAdjacentHtml to the DOM.
mxShape.prototype.isHtmlAllowed = function()
Returns true if HTML is allowed for this shape.
mxShape.prototype.getSvgScreenOffset = function()
Returns 0, or 0.5 if strokewidth % 2 == 1.
mxShape.prototype.createSvg = function()
Creates and returns the SVG node(s) to represent this shape.
mxShape.prototype.createVml = function()
Creates and returns the VML node to represent this shape.
mxShape.prototype.createHtml = function()
Creates and returns the HTML DOM node(s) to represent this shape.
mxShape.prototype.reconfigure = function()
Reconfigures this shape.
mxShape.prototype.redraw = function()
Creates and returns the SVG node(s) to represent this shape.
mxShape.prototype.clear = function()
Removes all child nodes and resets all CSS.
mxShape.prototype.updateBoundsFromPoints = function()
Updates the bounds based on the points.
mxShape.prototype.getLabelBounds = function(rect)
Returns the mxRectangle for the label bounds of this shape, based on the given scaled and translated bounds of the shape.
mxShape.prototype.checkBounds = function()
Returns true if the bounds are not null and all of its variables are numeric.
mxShape.prototype.createVmlGroup = function()
Returns the temporary element used for rendering in IE8 standards mode.
mxShape.prototype.redrawShape = function()
Updates the SVG or VML shape.
mxShape.prototype.createCanvas = function()
Destroys the given canvas which was used for drawing.
mxShape.prototype.createSvgCanvas = function()
Creates and returns an mxSvgCanvas2D for rendering this shape.
Extends mxAbstractCanvas2D to implement a canvas for SVG.
mxShape.prototype.createVmlCanvas = function()
Creates and returns an mxVmlCanvas2D for rendering this shape.
Implements a canvas to be used for rendering VML.
mxShape.prototype.updateVmlContainer = function()
Updates the bounds of the VML container.
mxShape.prototype.redrawHtmlShape = function()
Allow optimization by replacing VML with HTML.
mxShape.prototype.updateHtmlFilters = function(node)
Allow optimization by replacing VML with HTML.
mxShape.prototype.destroyCanvas = function(canvas)
Destroys the given canvas which was used for drawing.
mxShape.prototype.paint = function(c)
Generic rendering code.
mxShape.prototype.configureCanvas = function(c,
x,
y,
w,
h)
Sets the state of the canvas for drawing the shape.
mxShape.prototype.getGradientBounds = function(c,
x,
y,
w,
h)
Returns the bounding box for the gradient box for this shape.
mxShape.prototype.updateTransform = function(c,
x,
y,
w,
h)
Sets the scale and rotation on the given canvas.
mxShape.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Paints the vertex shape.
mxShape.prototype.paintBackground = function(c,
x,
y,
w,
h)
Hook for subclassers.
mxShape.prototype.paintForeground = function(c,
x,
y,
w,
h)
Hook for subclassers.
mxShape.prototype.paintEdgeShape = function(c,
pts)
Hook for subclassers.
mxShape.prototype.getArcSize = function(w,
h)
Returns the arc size for the given dimension.
mxShape.prototype.paintGlassEffect = function(c,
x,
y,
w,
h,
arc)
Paints the glass gradient effect.
mxShape.prototype.addPoints = function(c,
pts,
rounded,
arcSize,
close)
Paints the given points with rounded corners.
mxShape.prototype.apply = function(state)
Applies the style of the given mxCellState to the shape.
mxShape.prototype.setCursor = function(cursor)
Sets the cursor on the given shape.
mxShape.prototype.getCursor = function()
Returns the current cursor.
mxShape.prototype.updateBoundingBox = function()
Updates the boundingBox for this shape using createBoundingBox and augmentBoundingBox and stores the result in boundingBox.
mxShape.prototype.createBoundingBox = function()
Returns a new rectangle that represents the bounding box of the bare shape with no shadows or strokewidths.
mxShape.prototype.augmentBoundingBox = function(bbox)
Augments the bounding box with the strokewidth and shadow offsets.
mxShape.prototype.isPaintBoundsInverted = function()
Returns true if the bounds should be inverted.
mxShape.prototype.getRotation = function()
Returns the rotation from the style.
mxShape.prototype.getTextRotation = function()
Returns the rotation for the text label.
mxShape.prototype.getShapeRotation = function()
Returns the actual rotation of the shape.
mxShape.prototype.createTransparentSvgRectangle = function(x,
y,
w,
h)
Adds a transparent rectangle that catches all events.
mxShape.prototype.setTransparentBackgroundImage = function(node)
Sets a transparent background CSS style to catch all events.
mxShape.prototype.releaseSvgGradients = function(grads)
Paints the line shape.
mxShape.prototype.destroy = function()
Destroys the shape by removing it from the DOM and releasing the DOM node associated with the shape using mxEvent.release.
release: function(element)
Removes the known listeners from the given DOM node and its descendants.
Renders cells into a document object model.
Extends mxEventSource to implement a graph component for the browser.
Extends mxShape to implement an actor shape.
Extends mxShape to implement an cylinder shape.
Defines various global constants.
Defines the key for the fill color.
Defines the key for the gradient color.
Defines the key for the gradient direction.
Defines the key for the opacity style.
Defines the key for the strokeColor style.
Defines the key for the strokeWidth style.
Defines the key for the shadow style.
Defines the key for the dashed style.
Defines the key for the spacing.
Defines the key for the startSize style.
Defines the key for the endSize style.
Defines the key for the rounded style.
Defines the key for the start arrow marker.
Defines the key for the end arrow marker.
Defines the key for the rotation style.
Defines the key for the direction style.
Defines the key for the glass style.
+
function mxShape(stencil)
Constructs a new shape.
mxShape.prototype.dialect
Holds the dialect in which the shape is to be painted.
mxShape.prototype.scale
Holds the scale in which the shape is being painted.
mxShape.prototype.antiAlias
Rendering hint for configuring the canvas.
mxShape.prototype.bounds
Holds the mxRectangle that specifies the bounds of this shape.
Extends mxPoint to implement a 2-dimensional rectangle with double precision coordinates.
mxShape.prototype.points
Holds the array of mxPoints that specify the points of this shape.
Implements a 2-dimensional vector with double precision coordinates.
mxShape.prototype.node
Holds the outermost DOM node that represents this shape.
mxShape.prototype.state
Optional reference to the corresponding mxCellState.
Represents the current state of a cell in a given mxGraphView.
mxShape.prototype.style
Optional reference to the style of the corresponding mxCellState.
mxShape.prototype.boundingBox
Contains the bounding box of the shape, that is, the smallest rectangle that includes all pixels of the shape.
mxShape.prototype.stencil
Holds the mxStencil that defines the shape.
Implements a generic shape which is based on a XML node as a description.
mxShape.prototype.svgStrokeTolerance
Event-tolerance for SVG strokes (in px).
mxShape.prototype.pointerEvents
Specifies if pointer events should be handled.
mxShape.prototype.svgPointerEvents
Specifies if pointer events should be handled.
mxShape.prototype.shapePointerEvents
Specifies if pointer events outside of shape should be handled.
mxShape.prototype.stencilPointerEvents
Specifies if pointer events outside of stencils should be handled.
mxShape.prototype.vmlScale
Scale for improving the precision of VML rendering.
mxShape.prototype.outline
Specifies if the shape should be drawn as an outline.
mxShape.prototype.visible
Specifies if the shape is visible.
mxShape.prototype.init = function(container)
Initializes the shape by creaing the DOM node using create and adding it into the given container.
mxShape.prototype.create = function(container)
Creates and returns the DOM node(s) for the shape in the given container.
mxShape.prototype.isParseVml = function()
Specifies if any VML should be added via insertAdjacentHtml to the DOM.
mxShape.prototype.isHtmlAllowed = function()
Returns true if HTML is allowed for this shape.
mxShape.prototype.getSvgScreenOffset = function()
Returns 0, or 0.5 if strokewidth % 2 == 1.
mxShape.prototype.createSvg = function()
Creates and returns the SVG node(s) to represent this shape.
mxShape.prototype.createVml = function()
Creates and returns the VML node to represent this shape.
mxShape.prototype.createHtml = function()
Creates and returns the HTML DOM node(s) to represent this shape.
mxShape.prototype.reconfigure = function()
Reconfigures this shape.
mxShape.prototype.redraw = function()
Creates and returns the SVG node(s) to represent this shape.
mxShape.prototype.clear = function()
Removes all child nodes and resets all CSS.
mxShape.prototype.updateBoundsFromPoints = function()
Updates the bounds based on the points.
mxShape.prototype.getLabelBounds = function(rect)
Returns the mxRectangle for the label bounds of this shape, based on the given scaled and translated bounds of the shape.
mxShape.prototype.checkBounds = function()
Returns true if the bounds are not null and all of its variables are numeric.
mxShape.prototype.createVmlGroup = function()
Returns the temporary element used for rendering in IE8 standards mode.
mxShape.prototype.redrawShape = function()
Updates the SVG or VML shape.
mxShape.prototype.createCanvas = function()
Destroys the given canvas which was used for drawing.
mxShape.prototype.createSvgCanvas = function()
Creates and returns an mxSvgCanvas2D for rendering this shape.
Extends mxAbstractCanvas2D to implement a canvas for SVG.
mxShape.prototype.createVmlCanvas = function()
Creates and returns an mxVmlCanvas2D for rendering this shape.
Implements a canvas to be used for rendering VML.
mxShape.prototype.updateVmlContainer = function()
Updates the bounds of the VML container.
mxShape.prototype.redrawHtmlShape = function()
Allow optimization by replacing VML with HTML.
mxShape.prototype.updateHtmlFilters = function(node)
Allow optimization by replacing VML with HTML.
mxShape.prototype.destroyCanvas = function(canvas)
Destroys the given canvas which was used for drawing.
mxShape.prototype.paint = function(c)
Generic rendering code.
mxShape.prototype.configureCanvas = function(c,
x,
y,
w,
h)
Sets the state of the canvas for drawing the shape.
mxShape.prototype.getGradientBounds = function(c,
x,
y,
w,
h)
Returns the bounding box for the gradient box for this shape.
mxShape.prototype.updateTransform = function(c,
x,
y,
w,
h)
Sets the scale and rotation on the given canvas.
mxShape.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Paints the vertex shape.
mxShape.prototype.paintBackground = function(c,
x,
y,
w,
h)
Hook for subclassers.
mxShape.prototype.paintForeground = function(c,
x,
y,
w,
h)
Hook for subclassers.
mxShape.prototype.paintEdgeShape = function(c,
pts)
Hook for subclassers.
mxShape.prototype.getArcSize = function(w,
h)
Returns the arc size for the given dimension.
mxShape.prototype.paintGlassEffect = function(c,
x,
y,
w,
h,
arc)
Paints the glass gradient effect.
mxShape.prototype.addPoints = function(c,
pts,
rounded,
arcSize,
close)
Paints the given points with rounded corners.
mxShape.prototype.apply = function(state)
Applies the style of the given mxCellState to the shape.
mxShape.prototype.setCursor = function(cursor)
Sets the cursor on the given shape.
mxShape.prototype.getCursor = function()
Returns the current cursor.
mxShape.prototype.updateBoundingBox = function()
Updates the boundingBox for this shape using createBoundingBox and augmentBoundingBox and stores the result in boundingBox.
mxShape.prototype.createBoundingBox = function()
Returns a new rectangle that represents the bounding box of the bare shape with no shadows or strokewidths.
mxShape.prototype.augmentBoundingBox = function(bbox)
Augments the bounding box with the strokewidth and shadow offsets.
mxShape.prototype.isPaintBoundsInverted = function()
Returns true if the bounds should be inverted.
mxShape.prototype.getRotation = function()
Returns the rotation from the style.
mxShape.prototype.getTextRotation = function()
Returns the rotation for the text label.
mxShape.prototype.getShapeRotation = function()
Returns the actual rotation of the shape.
mxShape.prototype.createTransparentSvgRectangle = function(x,
y,
w,
h)
Adds a transparent rectangle that catches all events.
mxShape.prototype.setTransparentBackgroundImage = function(node)
Sets a transparent background CSS style to catch all events.
mxShape.prototype.releaseSvgGradients = function(grads)
Paints the line shape.
mxShape.prototype.destroy = function()
Destroys the shape by removing it from the DOM and releasing the DOM node associated with the shape using mxEvent.release.
release: function(element)
Removes the known listeners from the given DOM node and its descendants.
Renders cells into a document object model.
Extends mxEventSource to implement a graph component for the browser.
Extends mxShape to implement an actor shape.
Extends mxShape to implement an cylinder shape.
Defines various global constants.
Defines the key for the fill color.
Defines the key for the gradient color.
Defines the key for the gradient direction.
Defines the key for the opacity style.
Defines the key for the strokeColor style.
Defines the key for the strokeWidth style.
Defines the key for the shadow style.
Defines the key for the dashed style.
Defines the key for the spacing.
Defines the key for the startSize style.
Defines the key for the endSize style.
Defines the key for the rounded style.
Defines the key for the start arrow marker.
Defines the key for the end arrow marker.
Defines the key for the rotation style.
Defines the key for the direction style.
Defines the key for the glass style.
diff --git a/docs/js-api/files/shape/mxStencil-js.html b/docs/js-api/files/shape/mxStencil-js.html index 001a428f7..0cec8d7ac 100644 --- a/docs/js-api/files/shape/mxStencil-js.html +++ b/docs/js-api/files/shape/mxStencil-js.html @@ -11,11 +11,11 @@ if (browserType) {document.write("
");if (browserV -

mxStencil

Implements a generic shape which is based on a XML node as a description.  The node contains a background and a foreground node, which contain the definition to render the respective part of the shape.  Note that the fill, stroke or fillstroke of the background is be the first statement of the foreground.  This is because the content of the background node maybe used to not only render the shape itself, but also its shadow and other elements which do not require a fill, stroke or fillstroke.

The shape uses a coordinate system with a width of 100 and a height of 100 by default.  This can be changed by setting the w and h attribute of the shape element.  The aspect attribute can be set to “variable” (default) or “fixed”.  If fixed is used, then the aspect which is defined via the w and h attribute is kept constant while the shape is scaled.

The possible contents of the background and foreground elements are rect, ellipse, roundrect, text, image, include-shape or paths.  A path element contains move, line, curve, quad, arc and close elements.  The rect, ellipse and roundrect elements may be thought of as special path elements.  All these path elements must be followed by either fill, stroke or fillstroke (note that text, image and include-shape or not path elements).

The background element can be empty or contain at most one path element.  It should not contain a text, image or include-shape element.  If the background element is empty, then no shadow or glass effect will be rendered.  If the background element is non-empty, then the corresponding fill, stroke or fillstroke should be the first element in the subsequent foreground element.

The format of the XML is “a simplified HTML 5 Canvas”.  Each command changes the “current” state, so eg. a linecap, linejoin will be used for all subsequent line drawing, unless a save/restore appears, which saves/restores a state in a stack.

The connections section contains the fixed connection points for a stencil.  The perimeter attribute of the constraint element should have a value of 0 or 1 (default), where 1 (true) specifies that the given point should be projected into the perimeter of the given shape.

The x- and y-coordinates are typically between 0 and 1 and define the location of the connection point relative to the width and height of the shape.

The dashpattern directive sets the current dashpattern.  The format for the pattern attribute is a space-separated sequence of numbers, eg.  5 5 5 5, that specifies the lengths of alternating dashes and spaces in dashed lines.  The dashpattern should be used together with the dashed directive to enabled/disable the dashpattern.  The default dashpattern is 3 3.

The strokewidth attribute defines a strokewidth behaviour for the shape.  It can contain a numeric value or the keyword “inherit”, which means that the strokeWidth of the cell is only changed on scaling, not on resizing.  If numeric values are used, the strokeWidth of the cell is changed on both scaling and resizing and the value defines the multiple that is applied to the width.

To support i18n in the text element, use the localized attribute of 1 to use the str as a key in mxResources.get.  To handle all str attributes of all text nodes like this, set the mxStencil.defaultLocalized value to true.

Summary
mxStencilImplements a generic shape which is based on a XML node as a description.
Functions
mxStencilConstructs a new generic shape by setting desc to the given XML node and invoking parseDescription and parseConstraints.
Variables
defaultLocalizedStatic global variable that specifies the default value for the localized attribute of the text element.
Functions
allowEvalStatic global switch that specifies if the use of eval is allowed for evaluating text content.
Variables
descHolds the XML node with the stencil description.
constraintsHolds an array of mxConnectionConstraints as defined in the shape.
aspectHolds the aspect of the shape.
w0Holds the width of the shape.
h0Holds the height of the shape.
bgNodesHolds the XML node with the stencil description.
fgNodesHolds the XML node with the stencil description.
strokewidthHolds the strokewidth direction from the description.
Functions
parseDescriptionReads w0, h0, aspect, bgNodes and fgNodes from desc.
parseConstraintsReads the constraints from desc into constraints using parseConstraint.
parseConstraintParses the given XML node and returns its mxConnectionConstraint.
evaluateTextAttributeGets the given attribute as a text.
evaluateAttributeGets the attribute for the given name from the given node.
drawShapeDraws this stencil inside the given bounds.
drawShapeDraws this stencil inside the given bounds.
computeAspectReturns 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.
drawNodeDraws this stencil inside the given bounds.
+

mxStencil

Implements a generic shape which is based on a XML node as a description.

shape

The outer element is shape, that has attributes

  • ”name”, string, required.  The stencil name that uniquely identifies the shape.
  • ”w” and “h” are optional decimal view bounds.  This defines your co-ordinate system for the graphics operations in the shape.  The default is 100,100.
  • ”aspect”, optional string.  Either “variable”, the default, or “fixed”.  Fixed means always render the shape with the aspect ratio defined by the ratio w/h.  Variable causes the ratio to match that of the geometry of the current vertex.
  • ”strokewidth”, optional string.  Either an integer or the string “inherit”.  “inherit” indicates that the strokeWidth of the cell is only changed on scaling, not on resizing.  If numeric values are used, the strokeWidth of the cell is changed on both scaling and resizing and the value defines the multiple that is applied to the width.

connections

If you want to define specific fixed connection points on the shape use the connections element.  Each constraint element within connections defines a fixed connection point on the shape.  Constraints have attributes:

  • ”perimeter”, required.  1 or 0.  0 sets the connection point where specified by x,y.  1 Causes the position of the connection point to be extrapolated from the center of the shape, through x,y to the point of intersection with the perimeter of the shape.
  • ”x” and “y” are the position of the fixed point relative to the bounds of the shape.  They can be automatically adjusted if perimeter=1.  So, (0,0) is top left, (0.5,0.5) the center, (1,0.5) the center of the right hand edge of the bounds, etc.  Values may be less than 0 or greater than 1 to be positioned outside of the shape.
  • ”name”, optional string.  A unique identifier for the port on the shape.

background and foreground

The path of the graphics drawing is split into two elements, foreground and background.  The split is to define which part any shadow applied to the shape is derived from (the background).  This, generally, means the background is the line tracing of the outside of the shape, but not always.

Any stroke, fill or fillstroke of a background must be the first element of the foreground element, they must not used within background.  If the background is empty, this is not required.

Because the background cannot have any fill or stroke, it can contain only one path, rect, roundrect or ellipse element (or none).  It can also not include image, text or include-shape.

Note that the state, styling and drawing in mxGraph stencils is very close in design to that of HTML 5 canvas.  Tutorials on this subject, if you’re not familiar with the topic, will give a good high-level introduction to the concepts used.

State

Rendering within the foreground and background elements has the concept of state.  There are two types of operations other than state save/load, styling and drawing.  The styling operations change the current state, so you can save the current state with <save/> and pull the last saved state from the state stack using <restore/>.

Styling

The elements that change colors within the current state all take a hash prefixed hex color code (“#FFEA80”).

  • strokecolor, this sets the color that drawing paths will be rendered in when a stroke or fillstroke command is issued.
  • fillcolor, this sets the color that the inside of closed paths will be rendered in when a fill or fillstroke command is issued.
  • fontcolor, this sets the color that fonts are rendered in when text is drawn.

alpha defines the degree of transparency used between 1.0 for fully opaque and 0.0 for fully transparent.

strokewidth defines the integer thickness of drawing elements rendered by stroking.

dashed is “1” for dashing enabled and “0” for disabled.

When dashed is enabled the current dash pattern, defined by dashpattern, is used on strokes. dashpattern is a sequence of space separated “on, off” lengths that define what distance to paint the stroke for, then what distance to paint nothing for, repeat...  The default is “3 3”.  You could define a more complex pattern with “5 3 2 6”, for example.  Generally, it makes sense to have an even number of elements in the dashpattern, but that’s not required.

linejoin, linecap and miterlimit are best explained by the Mozilla page on Canvas styling (about halfway down).  The values are all the same except we use “flat” for linecap, instead of Canvas’ “butt”.

For font styling there are.

  • fontsize, an integer,
  • fontstyle, an ORed bit pattern of bold (1), italic (2) and underline (4), i.e bold underline is “5”.
  • fontfamily, is a string defining the typeface to be used.

Drawing

Most drawing is contained within a path element.  Again, the graphic primitives are very similar to that of HTML 5 canvas.

  • move to attributes required decimals (x,y).
  • line to attributes required decimals (x,y).
  • quad to required decimals (x2,y2) via control point required decimals (x1,y1).
  • curve to required decimals (x3,y3), via control points required decimals (x1,y1) and (x2,y2).
  • arc, this doesn’t follow the HTML Canvas signatures, instead it’s a copy of the SVG arc command.  The SVG specification documentation gives the best description of its behaviors.  The attributes are named identically, they are decimals and all required.
  • close ends the current subpath and causes an automatic straight line to be drawn from the current point to the initial point of the current subpath.

Complex drawing

In addition to the graphics primitive operations there are non-primitive operations.  These provide an easy method to draw some basic shapes.

  • rect, attributes “x”, “y”, “w”, “h”, all required decimals
  • roundrect, attributes “x”, “y”, “w”, “h”, all required decimals.  Also “arcsize” an optional decimal attribute defining how large, the corner curves are.
  • ellipse, attributes “x”, “y”, “w”, “h”, all required decimals.

Note that these 3 shapes and all paths must be followed by either a fill, stroke, or fillstroke.

Text

text elements have the following attributes.

  • ”str”, the text string to display, required.
  • ”x” and “y”, the decimal location (x,y) of the text element, required.
  • ”align”, the horizontal alignment of the text element, either “left”, “center” or “right”.  Optional, default is “left”.
  • ”valign”, the vertical alignment of the text element, either “top”, “middle” or “bottom”.  Optional, default is “top”.
  • ”localized”, 0 or 1, if 1 then the “str” actually contains a key to use to fetch the value out of mxResources.  Optional, default is mxStencil.defaultLocalized.
  • ”vertical”, 0 or 1, if 1 the label is rendered vertically (rotated by 90 degrees).  Optional, default is 0.
  • ”rotation”, angle in degrees (0 to 360).  The angle to rotate the text by.  Optional, default is 0.
  • ”align-shape”, 0 or 1, if 0 ignore the rotation of the shape when setting the text rotation.  Optional, default is 1.

Images

image elements can either be external URLs, or data URIs, where supported (not in IE 7-).  Attributes are:

  • ”src”, required string.  Either a data URI or URL.
  • ”x”, “y”, required decimals.  The (x,y) position of the image.
  • ”w”, “h”, required decimals.  The width and height of the image.
  • ”flipH” and “flipV”, optional 0 or 1.  Whether to flip the image along the horizontal/vertical axis.  Default is 0 for both.

Sub-shapes

include-shape allow stencils to be rendered within the current stencil by referencing the sub-stencil by name.  Attributes are:

  • ”name”, required string.  The unique shape name of the stencil.
  • ”x”, “y”, “w”, “h”, required decimals.  The (x,y) position of the sub-shape and its width and height.
Summary
mxStencilImplements a generic shape which is based on a XML node as a description.
Functions
mxStencilConstructs a new generic shape by setting desc to the given XML node and invoking parseDescription and parseConstraints.
Variables
defaultLocalizedStatic global variable that specifies the default value for the localized attribute of the text element.
Functions
allowEvalStatic global switch that specifies if the use of eval is allowed for evaluating text content and images.
Variables
descHolds the XML node with the stencil description.
constraintsHolds an array of mxConnectionConstraints as defined in the shape.
aspectHolds the aspect of the shape.
w0Holds the width of the shape.
h0Holds the height of the shape.
bgNodesHolds the XML node with the stencil description.
fgNodesHolds the XML node with the stencil description.
strokewidthHolds the strokewidth direction from the description.
Functions
parseDescriptionReads w0, h0, aspect, bgNodes and fgNodes from desc.
parseConstraintsReads the constraints from desc into constraints using parseConstraint.
parseConstraintParses the given XML node and returns its mxConnectionConstraint.
evaluateTextAttributeGets the given attribute as a text.
evaluateAttributeGets the attribute for the given name from the given node.
drawShapeDraws this stencil inside the given bounds.
drawShapeDraws this stencil inside the given bounds.
computeAspectReturns 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.
drawNodeDraws this stencil inside the given bounds.

Functions

-

mxStencil

function mxStencil(desc)

Constructs a new generic shape by setting desc to the given XML node and invoking parseDescription and parseConstraints.

Parameters

descXML node that contains the stencil description.
+

mxStencil

function mxStencil(desc)

Constructs a new generic shape by setting desc to the given XML node and invoking parseDescription and parseConstraints.

Parameters

descXML node that contains the stencil description.

Variables

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

Functions

-

allowEval

Static global switch that specifies if the use of eval is allowed for evaluating text content.  Default is true.  Set this to false if stencils may contain user input (see the section on security in the manual).

+

allowEval

Static global switch that specifies if the use of eval is allowed for evaluating text content and images.  Default is false.  Set this to true if stencils can not contain user input.

Variables

desc

mxStencil.prototype.desc

Holds the XML node with the stencil description.

-

constraints

mxStencil.prototype.constraints

Holds an array of mxConnectionConstraints as defined in the shape.

+

constraints

mxStencil.prototype.constraints

Holds an array of mxConnectionConstraints as defined in the shape.

aspect

mxStencil.prototype.aspect

Holds the aspect of the shape.  Default is ‘auto’.

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

Functions

-

parseDescription

mxStencil.prototype.parseDescription = function()

Reads w0, h0, aspect, bgNodes and fgNodes from desc.

+

parseDescription

mxStencil.prototype.parseDescription = function()

Reads w0, h0, aspect, bgNodes and fgNodes from desc.

-

parseConstraints

mxStencil.prototype.parseConstraints = function()

Reads the constraints from desc into constraints using parseConstraint.

+

parseConstraints

mxStencil.prototype.parseConstraints = function()

Reads the constraints from desc into constraints using parseConstraint.

-

parseConstraint

mxStencil.prototype.parseConstraint = function(node)

Parses the given XML node and returns its mxConnectionConstraint.

+

parseConstraint

mxStencil.prototype.parseConstraint = function(node)

Parses the given XML node and returns its mxConnectionConstraint.

-

evaluateTextAttribute

mxStencil.prototype.evaluateTextAttribute = function(node,
attribute,
state)

Gets the given attribute as a text.  The return value from evaluateAttribute is used as a key to mxResources.get if the localized attribute in the text node is 1 or if defaultLocalized is true.

+

evaluateTextAttribute

mxStencil.prototype.evaluateTextAttribute = function(node,
attribute,
state)

Gets the given attribute as a text.  The return value from evaluateAttribute is used as a key to mxResources.get if the localized attribute in the text node is 1 or if defaultLocalized is true.

evaluateAttribute

mxStencil.prototype.evaluateAttribute = function(node,
attribute,
shape)

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.

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

drawShape

Draws this stencil inside the given bounds.

-

computeAspect

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.

Parameters

shapemxShape to be drawn.
boundsmxRectangle that should contain the stencil.
directionOptional direction of the shape to be darwn.
+

computeAspect

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.

Parameters

shapemxShape to be drawn.
boundsmxRectangle that should contain the stencil.
directionOptional direction of the shape to be darwn.

drawNode

mxStencil.prototype.drawNode = function(canvas,
shape,
node,
aspect,
disableShadow)

Draws this stencil inside the given bounds.

@@ -69,7 +69,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/shape/mxStencilRegistry-js.html b/docs/js-api/files/shape/mxStencilRegistry-js.html index 702473e25..1102133f3 100644 --- a/docs/js-api/files/shape/mxStencilRegistry-js.html +++ b/docs/js-api/files/shape/mxStencilRegistry-js.html @@ -25,7 +25,7 @@ if (browserType) {document.write("
");if (browserV - @@ -33,7 +33,7 @@ HideAllBut([9], 13);// -->
-
addStencil: function(name,
stencil)
Adds the given mxStencil.
Implements a generic shape which is based on a XML node as a description.
getStencil: function(name)
Returns the mxStencil for the given name.
+
addStencil: function(name,
stencil)
Adds the given mxStencil.
Implements a generic shape which is based on a XML node as a description.
getStencil: function(name)
Returns the mxStencil for the given name.
diff --git a/docs/js-api/files/shape/mxSwimlane-js.html b/docs/js-api/files/shape/mxSwimlane-js.html index 7a9ca651e..5560d11b3 100644 --- a/docs/js-api/files/shape/mxSwimlane-js.html +++ b/docs/js-api/files/shape/mxSwimlane-js.html @@ -49,7 +49,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/shape/mxText-js.html b/docs/js-api/files/shape/mxText-js.html index 969e966d3..e9d3a6000 100644 --- a/docs/js-api/files/shape/mxText-js.html +++ b/docs/js-api/files/shape/mxText-js.html @@ -89,7 +89,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/shape/mxTriangle-js.html b/docs/js-api/files/shape/mxTriangle-js.html index 114832aa1..e11cb3c65 100644 --- a/docs/js-api/files/shape/mxTriangle-js.html +++ b/docs/js-api/files/shape/mxTriangle-js.html @@ -25,7 +25,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/util/mxAbstractCanvas2D-js.html b/docs/js-api/files/util/mxAbstractCanvas2D-js.html index a26fbc4ab..b5cb41e54 100644 --- a/docs/js-api/files/util/mxAbstractCanvas2D-js.html +++ b/docs/js-api/files/util/mxAbstractCanvas2D-js.html @@ -131,7 +131,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/util/mxAnimation-js.html b/docs/js-api/files/util/mxAnimation-js.html index 675898685..66bb6991f 100644 --- a/docs/js-api/files/util/mxAnimation-js.html +++ b/docs/js-api/files/util/mxAnimation-js.html @@ -39,7 +39,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/util/mxAutoSaveManager-js.html b/docs/js-api/files/util/mxAutoSaveManager-js.html index ae238329c..f2ddc175e 100644 --- a/docs/js-api/files/util/mxAutoSaveManager-js.html +++ b/docs/js-api/files/util/mxAutoSaveManager-js.html @@ -62,7 +62,7 @@ mgr.save = function() - diff --git a/docs/js-api/files/util/mxClipboard-js.html b/docs/js-api/files/util/mxClipboard-js.html index 6157bc654..c96419ca7 100644 --- a/docs/js-api/files/util/mxClipboard-js.html +++ b/docs/js-api/files/util/mxClipboard-js.html @@ -89,7 +89,7 @@ mxClipboard.paste = function(graph) - diff --git a/docs/js-api/files/util/mxConstants-js.html b/docs/js-api/files/util/mxConstants-js.html index f7ebe7d9c..413134ef7 100644 --- a/docs/js-api/files/util/mxConstants-js.html +++ b/docs/js-api/files/util/mxConstants-js.html @@ -11,7 +11,7 @@ if (browserType) {document.write("
");if (browserV -

mxConstants

Defines various global constants.

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

mxConstants

Defines various global constants.

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

Variables

@@ -359,33 +359,33 @@ if (browserType) {document.write("
");if (browserV

STYLE_FONTSIZE

Defines the key for the fontSize style (in points).  The type of the value is int.  Value is <code>fontSize</code>.

-

STYLE_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.  Value is <code>fontStyle</code>.

+

STYLE_FONTSTYLE

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

STYLE_ASPECT

Defines the key for the aspect style.  Possible values are empty or fixed.  If fixed is used then the aspect ratio of the cell will be maintained when resizing.  Default is empty.  Value is <code>aspect</code>.

-

STYLE_AUTOSIZE

Defines the key for the autosize style.  This specifies if a cell should be resized automatically if the value has changed.  Possible values are 0 or 1.  Default is 0.  See mxGraph.isAutoSizeCell.  This is normally combined with STYLE_RESIZABLE to disable manual sizing.  Value is <code>autosize</code>.

+

STYLE_AUTOSIZE

Defines the key for the autosize style.  This specifies if a cell should be resized automatically if the value has changed.  Possible values are 0 or 1.  Default is 0.  See mxGraph.isAutoSizeCell.  This is normally combined with STYLE_RESIZABLE to disable manual sizing.  Value is <code>autosize</code>.

-

STYLE_FOLDABLE

Defines the key for the foldable style.  This specifies if a cell is foldable using a folding icon.  Possible values are 0 or 1.  Default is 1.  See mxGraph.isCellFoldable.  Value is <code>foldable</code>.

+

STYLE_FOLDABLE

Defines the key for the foldable style.  This specifies if a cell is foldable using a folding icon.  Possible values are 0 or 1.  Default is 1.  See mxGraph.isCellFoldable.  Value is <code>foldable</code>.

-

STYLE_EDITABLE

Defines the key for the editable style.  This specifies if the value of a cell can be edited using the in-place editor.  Possible values are 0 or 1.  Default is 1.  See mxGraph.isCellEditable.  Value is <code>editable</code>.

+

STYLE_EDITABLE

Defines the key for the editable style.  This specifies if the value of a cell can be edited using the in-place editor.  Possible values are 0 or 1.  Default is 1.  See mxGraph.isCellEditable.  Value is <code>editable</code>.

-

STYLE_BENDABLE

Defines the key for the bendable style.  This specifies if the control points of an edge can be moved.  Possible values are 0 or 1.  Default is 1.  See mxGraph.isCellBendable.  Value is <code>bendable</code>.

+

STYLE_BENDABLE

Defines the key for the bendable style.  This specifies if the control points of an edge can be moved.  Possible values are 0 or 1.  Default is 1.  See mxGraph.isCellBendable.  Value is <code>bendable</code>.

-

STYLE_MOVABLE

Defines the key for the movable style.  This specifies if a cell can be moved.  Possible values are 0 or 1.  Default is 1.  See mxGraph.isCellMovable.  Value is <code>movable</code>.

+

STYLE_MOVABLE

Defines the key for the movable style.  This specifies if a cell can be moved.  Possible values are 0 or 1.  Default is 1.  See mxGraph.isCellMovable.  Value is <code>movable</code>.

-

STYLE_RESIZABLE

Defines the key for the resizable style.  This specifies if a cell can be resized.  Possible values are 0 or 1.  Default is 1.  See mxGraph.isCellResizable.  Value is <code>resizable</code>.

+

STYLE_RESIZABLE

Defines the key for the resizable style.  This specifies if a cell can be resized.  Possible values are 0 or 1.  Default is 1.  See mxGraph.isCellResizable.  Value is <code>resizable</code>.

-

STYLE_ROTATABLE

Defines the key for the rotatable style.  This specifies if a cell can be rotated.  Possible values are 0 or 1.  Default is 1.  See mxGraph.isCellRotatable.  Value is <code>rotatable</code>.

+

STYLE_ROTATABLE

Defines the key for the rotatable style.  This specifies if a cell can be rotated.  Possible values are 0 or 1.  Default is 1.  See mxGraph.isCellRotatable.  Value is <code>rotatable</code>.

-

STYLE_CLONEABLE

Defines the key for the cloneable style.  This specifies if a cell can be cloned.  Possible values are 0 or 1.  Default is 1.  See mxGraph.isCellCloneable.  Value is <code>cloneable</code>.

+

STYLE_CLONEABLE

Defines the key for the cloneable style.  This specifies if a cell can be cloned.  Possible values are 0 or 1.  Default is 1.  See mxGraph.isCellCloneable.  Value is <code>cloneable</code>.

-

STYLE_DELETABLE

Defines the key for the deletable style.  This specifies if a cell can be deleted.  Possible values are 0 or 1.  Default is 1.  See mxGraph.isCellDeletable.  Value is <code>deletable</code>.

+

STYLE_DELETABLE

Defines the key for the deletable style.  This specifies if a cell can be deleted.  Possible values are 0 or 1.  Default is 1.  See mxGraph.isCellDeletable.  Value is <code>deletable</code>.

STYLE_SHAPE

Defines the key for the shape.  Possible values are all constants with a SHAPE-prefix or any newly defined shape names.  Value is <code>shape</code>.

-

STYLE_EDGE

Defines the key for the edge style.  Possible values are the functions defined in mxEdgeStyle.  Value is <code>edgeStyle</code>.

+

STYLE_EDGE

Defines the key for the edge style.  Possible values are the functions defined in mxEdgeStyle.  Value is <code>edgeStyle</code>.

-

STYLE_LOOP

Defines the key for the loop style.  Possible values are the functions defined in mxEdgeStyle.  Value is <code>loopStyle</code>.

+

STYLE_LOOP

Defines the key for the loop style.  Possible values are the functions defined in mxEdgeStyle.  Value is <code>loopStyle</code>.

STYLE_ROUTING_CENTER_X

Defines the key for the horizontal routing center.  Possible values are between -0.5 and 0.5.  This is the relative offset from the center used for connecting edges.  The type of this value is numeric.  Value is <code>routingCenterX</code>.

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

FONT_UNDERLINE

Constant for underlined fonts.  Default is 4.

-

FONT_SHADOW

Constant for fonts with a shadow.  Default is 8.

+

SHAPE_RECTANGLE

Name under which mxRectangleShape is registered in mxCellRenderer.  Default is rectangle.

-

SHAPE_RECTANGLE

Name under which mxRectangleShape is registered in mxCellRenderer.  Default is rectangle.

+

SHAPE_ELLIPSE

Name under which mxEllipse is registered in mxCellRenderer.  Default is ellipse.

-

SHAPE_ELLIPSE

Name under which mxEllipse is registered in mxCellRenderer.  Default is ellipse.

+

SHAPE_DOUBLE_ELLIPSE

Name under which mxDoubleEllipse is registered in mxCellRenderer.  Default is doubleEllipse.

-

SHAPE_DOUBLE_ELLIPSE

Name under which mxDoubleEllipse is registered in mxCellRenderer.  Default is doubleEllipse.

+

SHAPE_RHOMBUS

Name under which mxRhombus is registered in mxCellRenderer.  Default is rhombus.

-

SHAPE_RHOMBUS

Name under which mxRhombus is registered in mxCellRenderer.  Default is rhombus.

+

SHAPE_LINE

Name under which mxLine is registered in mxCellRenderer.  Default is line.

-

SHAPE_LINE

Name under which mxLine is registered in mxCellRenderer.  Default is line.

+

SHAPE_IMAGE

Name under which mxImageShape is registered in mxCellRenderer.  Default is image.

-

SHAPE_IMAGE

Name under which mxImageShape is registered in mxCellRenderer.  Default is image.

+

SHAPE_ARROW

Name under which mxArrow is registered in mxCellRenderer.  Default is arrow.

-

SHAPE_ARROW

Name under which mxArrow is registered in mxCellRenderer.  Default is arrow.

+

SHAPE_ARROW_CONNECTOR

Name under which mxArrowConnector is registered in mxCellRenderer.  Default is arrowConnector.

-

SHAPE_ARROW_CONNECTOR

Name under which mxArrowConnector is registered in mxCellRenderer.  Default is arrowConnector.

+

SHAPE_LABEL

Name under which mxLabel is registered in mxCellRenderer.  Default is label.

-

SHAPE_LABEL

Name under which mxLabel is registered in mxCellRenderer.  Default is label.

+

SHAPE_CYLINDER

Name under which mxCylinder is registered in mxCellRenderer.  Default is cylinder.

-

SHAPE_CYLINDER

Name under which mxCylinder is registered in mxCellRenderer.  Default is cylinder.

+

SHAPE_SWIMLANE

Name under which mxSwimlane is registered in mxCellRenderer.  Default is swimlane.

-

SHAPE_SWIMLANE

Name under which mxSwimlane is registered in mxCellRenderer.  Default is swimlane.

+

SHAPE_CONNECTOR

Name under which mxConnector is registered in mxCellRenderer.  Default is connector.

-

SHAPE_CONNECTOR

Name under which mxConnector is registered in mxCellRenderer.  Default is connector.

+

SHAPE_ACTOR

Name under which mxActor is registered in mxCellRenderer.  Default is actor.

-

SHAPE_ACTOR

Name under which mxActor is registered in mxCellRenderer.  Default is actor.

+

SHAPE_CLOUD

Name under which mxCloud is registered in mxCellRenderer.  Default is cloud.

-

SHAPE_CLOUD

Name under which mxCloud is registered in mxCellRenderer.  Default is cloud.

+

SHAPE_TRIANGLE

Name under which mxTriangle is registered in mxCellRenderer.  Default is triangle.

-

SHAPE_TRIANGLE

Name under which mxTriangle is registered in mxCellRenderer.  Default is triangle.

- -

SHAPE_HEXAGON

Name under which mxHexagon is registered in mxCellRenderer.  Default is hexagon.

+

SHAPE_HEXAGON

Name under which mxHexagon is registered in mxCellRenderer.  Default is hexagon.

ARROW_CLASSIC

Constant for classic arrow markers.

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

TEXT_DIRECTION_DEFAULT

Constant for text direction default.  Default is an empty string.  Use this value to use the default text direction of the operating system.

-

TEXT_DIRECTION_AUTO

Constant for text direction automatic.  Default is auto.  Use this value to find the direction for a given text with mxText.getAutoDirection.

+

TEXT_DIRECTION_AUTO

Constant for text direction automatic.  Default is auto.  Use this value to find the direction for a given text with mxText.getAutoDirection.

TEXT_DIRECTION_LTR

Constant for text direction left to right.  Default is ltr.  Use this value for left to right text direction.

@@ -517,7 +515,7 @@ if (browserType) {document.write("
");if (browserV - @@ -525,7 +523,7 @@ HideAllBut([10], 13);// -->
-
Defines the key for the text direction style.
Extends mxShape to implement an image shape with a label.
Extends mxShape to implement a rectangle shape.
Renders cells into a document object model.
Extends mxShape to implement an ellipse shape.
Extends mxShape to implement a double ellipse shape.
Extends mxShape to implement a rhombus (aka diamond) shape.
Extends mxShape to implement a horizontal line shape.
Extends mxShape to implement an image shape.
Extends mxShape to implement an arrow shape.
Extends mxShape to implement an new rounded arrow shape with support for waypoints and double arrows.
Extends mxShape to implement an cylinder shape.
Extends mxShape to implement a swimlane shape.
Extends mxShape to implement a connector shape.
Extends mxShape to implement an actor shape.
Extends mxActor to implement a cloud shape.
Implementation of the triangle shape.
Implementation of the hexagon shape.
PERIMETER_TRIANGLE: 'trianglePerimeter' }
Name of the triangle perimeter.
Graph event handler that reconnects edges and modifies control points and the edge label location.
Defines the key for the segment style.
Provides various perimeter functions to be used in a style as the value of mxConstants.STYLE_PERIMETER.
Singleton class that acts as a global converter from string to object values in a style.
Defines the default value for the STYLE_TEXT_DIRECTION if no value is defined for it in the style.
mxGraph.prototype.isLabelClipped = function(cell)
Returns true if the overflow portion of labels should be hidden.
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.isWrapping = function(cell)
This enables wrapping for HTML labels.
Constant for direction east.
Constant for direction west.
Constant for direction north.
Constant for direction south.
Defines the key for the fill color.
Defines the key for the gradient color.
Name under which mxSwimlane is registered in mxCellRenderer.
Constant for left horizontal alignment.
Constant for center horizontal alignment.
Constant for right horizontal alignment.
Defines the key for the horizontal label position of vertices.
Constant for top vertical alignment.
Constant for middle vertical alignment.
Constant for bottom vertical alignment.
Defines the key for the vertical label position of vertices.
Defines the key for the align style.
Defines the key for the verticalAlign style.
Name under which mxLabel is registered in mxCellRenderer.
Defines the key for the end arrow marker.
Creates a new image export instance to be used with an export canvas.
Defines the key for the shape.
Constant for elbow horizontal.
Constant for elbow vertical.
Constant for bold fonts.
Constant for italic fonts.
Constant for underlined fonts.
Constant for fonts with a shadow.
mxGraph.prototype.isAutoSizeCell = function(cell)
Returns true if the size of the given cell should automatically be updated after a change of the label.
Defines the key for the resizable style.
mxGraph.prototype.isCellFoldable = function(cell,
collapse)
Returns true if the given cell is foldable.
mxGraph.prototype.isCellEditable = function(cell)
Returns true if the given cell is editable.
mxGraph.prototype.isCellBendable = function(cell)
Returns true if the given cell is bendable.
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.isCellCloneable = function(cell)
Returns true if the given cell is cloneable.
mxGraph.prototype.isCellDeletable = function(cell)
Returns true if the given cell is moveable.
Provides various edge styles to be used as the values for mxConstants.STYLE_EDGE in a cell style.
mxText.prototype.getAutoDirection = function()
Used to determine the automatic text direction.
+
Defines the key for the text direction style.
Extends mxShape to implement an image shape with a label.
Extends mxShape to implement a rectangle shape.
Renders cells into a document object model.
Extends mxShape to implement an ellipse shape.
Extends mxShape to implement a double ellipse shape.
Extends mxShape to implement a rhombus (aka diamond) shape.
Extends mxShape to implement a horizontal line shape.
Extends mxShape to implement an image shape.
Extends mxShape to implement an arrow shape.
Extends mxShape to implement an new rounded arrow shape with support for waypoints and double arrows.
Extends mxShape to implement an cylinder shape.
Extends mxShape to implement a swimlane shape.
Extends mxShape to implement a connector shape.
Extends mxShape to implement an actor shape.
Extends mxActor to implement a cloud shape.
Implementation of the triangle shape.
Implementation of the hexagon shape.
PERIMETER_TRIANGLE: 'trianglePerimeter' }
Name of the triangle perimeter.
Graph event handler that reconnects edges and modifies control points and the edge label location.
Defines the key for the segment style.
Provides various perimeter functions to be used in a style as the value of mxConstants.STYLE_PERIMETER.
Singleton class that acts as a global converter from string to object values in a style.
Defines the default value for the STYLE_TEXT_DIRECTION if no value is defined for it in the style.
mxGraph.prototype.isLabelClipped = function(cell)
Returns true if the overflow portion of labels should be hidden.
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.isWrapping = function(cell)
This enables wrapping for HTML labels.
Constant for direction east.
Constant for direction west.
Constant for direction north.
Constant for direction south.
Defines the key for the fill color.
Defines the key for the gradient color.
Name under which mxSwimlane is registered in mxCellRenderer.
Constant for left horizontal alignment.
Constant for center horizontal alignment.
Constant for right horizontal alignment.
Defines the key for the horizontal label position of vertices.
Constant for top vertical alignment.
Constant for middle vertical alignment.
Constant for bottom vertical alignment.
Defines the key for the vertical label position of vertices.
Defines the key for the align style.
Defines the key for the verticalAlign style.
Name under which mxLabel is registered in mxCellRenderer.
Defines the key for the end arrow marker.
Creates a new image export instance to be used with an export canvas.
Defines the key for the shape.
Constant for elbow horizontal.
Constant for elbow vertical.
Constant for bold fonts.
Constant for italic fonts.
Constant for underlined fonts.
mxGraph.prototype.isAutoSizeCell = function(cell)
Returns true if the size of the given cell should automatically be updated after a change of the label.
Defines the key for the resizable style.
mxGraph.prototype.isCellFoldable = function(cell,
collapse)
Returns true if the given cell is foldable.
mxGraph.prototype.isCellEditable = function(cell)
Returns true if the given cell is editable.
mxGraph.prototype.isCellBendable = function(cell)
Returns true if the given cell is bendable.
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.isCellCloneable = function(cell)
Returns true if the given cell is cloneable.
mxGraph.prototype.isCellDeletable = function(cell)
Returns true if the given cell is moveable.
Provides various edge styles to be used as the values for mxConstants.STYLE_EDGE in a cell style.
mxText.prototype.getAutoDirection = function()
Used to determine the automatic text direction.
diff --git a/docs/js-api/files/util/mxDictionary-js.html b/docs/js-api/files/util/mxDictionary-js.html index bae4d95ac..a04826e37 100644 --- a/docs/js-api/files/util/mxDictionary-js.html +++ b/docs/js-api/files/util/mxDictionary-js.html @@ -39,7 +39,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/util/mxDivResizer-js.html b/docs/js-api/files/util/mxDivResizer-js.html index 4ba486212..f7ad38c01 100644 --- a/docs/js-api/files/util/mxDivResizer-js.html +++ b/docs/js-api/files/util/mxDivResizer-js.html @@ -44,7 +44,7 @@ resizer.resize(); - diff --git a/docs/js-api/files/util/mxDragSource-js.html b/docs/js-api/files/util/mxDragSource-js.html index 6bbde279b..b25b17964 100644 --- a/docs/js-api/files/util/mxDragSource-js.html +++ b/docs/js-api/files/util/mxDragSource-js.html @@ -117,7 +117,7 @@ dragSource.mouseDown = function(evt) - diff --git a/docs/js-api/files/util/mxEffects-js.html b/docs/js-api/files/util/mxEffects-js.html index dbc994d6f..5f74e4c02 100644 --- a/docs/js-api/files/util/mxEffects-js.html +++ b/docs/js-api/files/util/mxEffects-js.html @@ -35,7 +35,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/util/mxEvent-js.html b/docs/js-api/files/util/mxEvent-js.html index 6e6839ca9..a286c8797 100644 --- a/docs/js-api/files/util/mxEvent-js.html +++ b/docs/js-api/files/util/mxEvent-js.html @@ -279,7 +279,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/util/mxEventObject-js.html b/docs/js-api/files/util/mxEventObject-js.html index 51f932a49..647917578 100644 --- a/docs/js-api/files/util/mxEventObject-js.html +++ b/docs/js-api/files/util/mxEventObject-js.html @@ -44,7 +44,7 @@ INV: evt.isConsumed() == true - diff --git a/docs/js-api/files/util/mxEventSource-js.html b/docs/js-api/files/util/mxEventSource-js.html index 5ae13a367..fa2804f34 100644 --- a/docs/js-api/files/util/mxEventSource-js.html +++ b/docs/js-api/files/util/mxEventSource-js.html @@ -50,7 +50,7 @@ MyClass.prototype.constructor = MyClass;

Kn - diff --git a/docs/js-api/files/util/mxForm-js.html b/docs/js-api/files/util/mxForm-js.html index 70750b160..3c539190a 100644 --- a/docs/js-api/files/util/mxForm-js.html +++ b/docs/js-api/files/util/mxForm-js.html @@ -47,7 +47,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/util/mxGuide-js.html b/docs/js-api/files/util/mxGuide-js.html index 2b59d8775..53c8324d1 100644 --- a/docs/js-api/files/util/mxGuide-js.html +++ b/docs/js-api/files/util/mxGuide-js.html @@ -53,7 +53,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/util/mxImage-js.html b/docs/js-api/files/util/mxImage-js.html index 382acca9f..087864dc5 100644 --- a/docs/js-api/files/util/mxImage-js.html +++ b/docs/js-api/files/util/mxImage-js.html @@ -31,7 +31,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/util/mxImageBundle-js.html b/docs/js-api/files/util/mxImageBundle-js.html index edd7ef59a..3c64507d5 100644 --- a/docs/js-api/files/util/mxImageBundle-js.html +++ b/docs/js-api/files/util/mxImageBundle-js.html @@ -63,7 +63,7 @@ all data URIs should be limited to 32 KB. - diff --git a/docs/js-api/files/util/mxImageExport-js.html b/docs/js-api/files/util/mxImageExport-js.html index 158835e29..ca9cdb8a9 100644 --- a/docs/js-api/files/util/mxImageExport-js.html +++ b/docs/js-api/files/util/mxImageExport-js.html @@ -58,7 +58,7 @@ new mxXmlRequest('export', 'format=png&w=' + w + - diff --git a/docs/js-api/files/util/mxLog-js.html b/docs/js-api/files/util/mxLog-js.html index 06d9d8be9..e7bfe277c 100644 --- a/docs/js-api/files/util/mxLog-js.html +++ b/docs/js-api/files/util/mxLog-js.html @@ -62,7 +62,7 @@ mxLog.warn('Hello, World!');
- diff --git a/docs/js-api/files/util/mxMorphing-js.html b/docs/js-api/files/util/mxMorphing-js.html index 1c6591128..cfbc1131c 100644 --- a/docs/js-api/files/util/mxMorphing-js.html +++ b/docs/js-api/files/util/mxMorphing-js.html @@ -64,7 +64,7 @@ finally - diff --git a/docs/js-api/files/util/mxMouseEvent-js.html b/docs/js-api/files/util/mxMouseEvent-js.html index 7515098d6..0ebdbe360 100644 --- a/docs/js-api/files/util/mxMouseEvent-js.html +++ b/docs/js-api/files/util/mxMouseEvent-js.html @@ -75,7 +75,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/util/mxObjectIdentity-js.html b/docs/js-api/files/util/mxObjectIdentity-js.html index 519882fbb..afcd74453 100644 --- a/docs/js-api/files/util/mxObjectIdentity-js.html +++ b/docs/js-api/files/util/mxObjectIdentity-js.html @@ -31,7 +31,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/util/mxPanningManager-js.html b/docs/js-api/files/util/mxPanningManager-js.html index 794da8b49..b0ed4a153 100644 --- a/docs/js-api/files/util/mxPanningManager-js.html +++ b/docs/js-api/files/util/mxPanningManager-js.html @@ -29,7 +29,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/util/mxPoint-js.html b/docs/js-api/files/util/mxPoint-js.html index c65cd5669..93876efd5 100644 --- a/docs/js-api/files/util/mxPoint-js.html +++ b/docs/js-api/files/util/mxPoint-js.html @@ -35,7 +35,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/util/mxPopupMenu-js.html b/docs/js-api/files/util/mxPopupMenu-js.html index 45d3230a9..50e20023f 100644 --- a/docs/js-api/files/util/mxPopupMenu-js.html +++ b/docs/js-api/files/util/mxPopupMenu-js.html @@ -88,7 +88,7 @@ mxPopupMenu.prototype.showMenu = function() - diff --git a/docs/js-api/files/util/mxRectangle-js.html b/docs/js-api/files/util/mxRectangle-js.html index bbcbbb27c..1cc5c0f1e 100644 --- a/docs/js-api/files/util/mxRectangle-js.html +++ b/docs/js-api/files/util/mxRectangle-js.html @@ -49,7 +49,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/util/mxResources-js.html b/docs/js-api/files/util/mxResources-js.html index 8bdc6316a..bb7d79e8a 100644 --- a/docs/js-api/files/util/mxResources-js.html +++ b/docs/js-api/files/util/mxResources-js.html @@ -47,7 +47,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/util/mxSvgCanvas2D-js.html b/docs/js-api/files/util/mxSvgCanvas2D-js.html index d4aaab693..47bd34d36 100644 --- a/docs/js-api/files/util/mxSvgCanvas2D-js.html +++ b/docs/js-api/files/util/mxSvgCanvas2D-js.html @@ -146,7 +146,7 @@ var svgCanvas = new mxSvgCanvas2D(root);

A description of t

- diff --git a/docs/js-api/files/util/mxToolbar-js.html b/docs/js-api/files/util/mxToolbar-js.html index 1f2a41c5b..1de7b6636 100644 --- a/docs/js-api/files/util/mxToolbar-js.html +++ b/docs/js-api/files/util/mxToolbar-js.html @@ -63,7 +63,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/util/mxUndoManager-js.html b/docs/js-api/files/util/mxUndoManager-js.html index 16734bae3..60eb397cb 100644 --- a/docs/js-api/files/util/mxUndoManager-js.html +++ b/docs/js-api/files/util/mxUndoManager-js.html @@ -65,7 +65,7 @@ graph.getView().addListener(mxEvent.UNDO, listener);

The co

- diff --git a/docs/js-api/files/util/mxUndoableEdit-js.html b/docs/js-api/files/util/mxUndoableEdit-js.html index 2acf353c8..4b5ae74c9 100644 --- a/docs/js-api/files/util/mxUndoableEdit-js.html +++ b/docs/js-api/files/util/mxUndoableEdit-js.html @@ -74,7 +74,7 @@ graph.model.execute(new CustomChange(graph.model, name)); - diff --git a/docs/js-api/files/util/mxUrlConverter-js.html b/docs/js-api/files/util/mxUrlConverter-js.html index a70c28f76..763bd1934 100644 --- a/docs/js-api/files/util/mxUrlConverter-js.html +++ b/docs/js-api/files/util/mxUrlConverter-js.html @@ -47,7 +47,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/util/mxUtils-js.html b/docs/js-api/files/util/mxUtils-js.html index b79c77ce3..903301a7d 100644 --- a/docs/js-api/files/util/mxUtils-js.html +++ b/docs/js-api/files/util/mxUtils-js.html @@ -309,7 +309,7 @@ document.body.appendChild(img);

Parameters< - diff --git a/docs/js-api/files/util/mxVmlCanvas2D-js.html b/docs/js-api/files/util/mxVmlCanvas2D-js.html index b9914626b..22c3a1e79 100644 --- a/docs/js-api/files/util/mxVmlCanvas2D-js.html +++ b/docs/js-api/files/util/mxVmlCanvas2D-js.html @@ -98,7 +98,7 @@ mxVmlCanvas2D.prototype.image = function(x, y, w, h, src, aspect, flipH, flipV) - diff --git a/docs/js-api/files/util/mxWindow-js.html b/docs/js-api/files/util/mxWindow-js.html index 576970a14..aa20285e5 100644 --- a/docs/js-api/files/util/mxWindow-js.html +++ b/docs/js-api/files/util/mxWindow-js.html @@ -175,7 +175,7 @@ wnd.setVisible(true);

To limit the movement of a window, eg

- diff --git a/docs/js-api/files/util/mxXmlCanvas2D-js.html b/docs/js-api/files/util/mxXmlCanvas2D-js.html index 5b7920078..b208a363b 100644 --- a/docs/js-api/files/util/mxXmlCanvas2D-js.html +++ b/docs/js-api/files/util/mxXmlCanvas2D-js.html @@ -117,7 +117,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/util/mxXmlRequest-js.html b/docs/js-api/files/util/mxXmlRequest-js.html index bf734db59..a379579ce 100644 --- a/docs/js-api/files/util/mxXmlRequest-js.html +++ b/docs/js-api/files/util/mxXmlRequest-js.html @@ -94,7 +94,7 @@ new mxXmlRequest(url, 'xml='+xml).send();

Sends an encoded

- diff --git a/docs/js-api/files/view/mxCellEditor-js.html b/docs/js-api/files/view/mxCellEditor-js.html index ea4c48065..9b6101a13 100644 --- a/docs/js-api/files/view/mxCellEditor-js.html +++ b/docs/js-api/files/view/mxCellEditor-js.html @@ -132,7 +132,7 @@ graph.fireMouseEvent = function(evtName, me, sender) - diff --git a/docs/js-api/files/view/mxCellOverlay-js.html b/docs/js-api/files/view/mxCellOverlay-js.html index 5261aef94..1b8c1f66c 100644 --- a/docs/js-api/files/view/mxCellOverlay-js.html +++ b/docs/js-api/files/view/mxCellOverlay-js.html @@ -68,7 +68,7 @@ overlay.addListener(mxEvent.CLICK, function(sender, evt) - diff --git a/docs/js-api/files/view/mxCellRenderer-js.html b/docs/js-api/files/view/mxCellRenderer-js.html index 4e544bf34..709db9188 100644 --- a/docs/js-api/files/view/mxCellRenderer-js.html +++ b/docs/js-api/files/view/mxCellRenderer-js.html @@ -11,11 +11,11 @@ if (browserType) {document.write("
");if (browserV -

mxCellRenderer

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

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

mxLog.show();
+

mxCellRenderer

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

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

mxLog.show();
 for (var i in mxCellRenderer.prototype.defaultShapes)
 {
   mxLog.debug(i);
-}
Summary
mxCellRendererRenders cells into a document object model.
Functions
mxCellRendererarrow, rectangle, ellipse, rhombus, image, line, label, cylinder, swimlane, connector, actor and cloud.
Variables
defaultEdgeShapeDefines the default shape for edges.
defaultVertexShapeDefines the default shape for vertices.
defaultTextShapeDefines the default shape for labels.
legacyControlPositionSpecifies if the folding icon should ignore the horizontal orientation of a swimlane.
legacySpacingSpecifies if spacing and label position should be ignored if overflow is fill or width.
defaultShapesStatic array that contains the globally registered shapes which are known to all instances of this class.
antiAliasAnti-aliasing option for new shapes.
Functions
registerShapeRegisters the given constructor under the specified key in this instance of the renderer.
initializeShapeInitializes the shape in the given state by calling its init method with the correct container after configuring it using configureShape.
createShapeCreates and returns the shape for the given cell state.
createIndicatorShapeCreates the indicator shape for the given cell state.
getShapeReturns the shape for the given name from defaultShapes.
getShapeConstructorReturns the constructor to be used for creating the shape.
configureShapeConfigures the shape for the given cell state.
postConfigureShapeReplaces any reserved words used for attributes, eg.
resolveColorResolves special keywords ‘inherit’, ‘indicated’ and ‘swimlane’ and sets the respective color on the shape.
getLabelValueReturns the value to be used for the label.
createLabelCreates the label for the given cell state.
initializeLabelInitiailzes the label with a suitable container.
createCellOverlaysCreates the actual shape for showing the overlay for the given cell state.
initializeOverlayInitializes the given overlay.
installOverlayListenersInstalls the listeners for the given mxCellState, mxCellOverlay and mxShape that represents the overlay.
createControlCreates the control for the given cell state.
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.
legacySpacingSpecifies if spacing and label position should be ignored if overflow is fill or width.
defaultShapesStatic array that contains the globally registered shapes which are known to all instances of this class.
antiAliasAnti-aliasing option for new shapes.
Functions
registerShapeRegisters the given constructor under the specified key in this instance of the renderer.
initializeShapeInitializes the shape in the given state by calling its init method with the correct container after configuring it using configureShape.
createShapeCreates and returns the shape for the given cell state.
createIndicatorShapeCreates the indicator shape for the given cell state.
getShapeReturns the shape for the given name from defaultShapes.
getShapeConstructorReturns the constructor to be used for creating the shape.
configureShapeConfigures the shape for the given cell state.
postConfigureShapeReplaces any reserved words used for attributes, eg.
resolveColorResolves special keywords ‘inherit’, ‘indicated’ and ‘swimlane’ and sets the respective color on the shape.
getLabelValueReturns the value to be used for the label.
createLabelCreates the label for the given cell state.
initializeLabelInitiailzes the label with a suitable container.
createCellOverlaysCreates the actual shape for showing the overlay for the given cell state.
initializeOverlayInitializes the given overlay.
installOverlayListenersInstalls the listeners for the given mxCellState, mxCellOverlay and mxShape that represents the overlay.
createControlCreates the control for the given cell state.
createControlClickHandlerHook for creating the click handler for the folding icon.
initControlInitializes the given control and returns the corresponding DOM node.
isShapeEventReturns true if the event is for the shape of the given state.
isLabelEventReturns true if the event is for the label of the given state.
installListenersInstalls the event listeners for the given cell state.
redrawLabelRedraws the label for the given cell state.
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,85 +23,87 @@ for (var i in mxCellRenderer.prototype.defaultShapes)

Variables

-

defaultEdgeShape

mxCellRenderer.prototype.defaultEdgeShape

Defines the default shape for edges.  Default is mxConnector.

+

defaultEdgeShape

mxCellRenderer.prototype.defaultEdgeShape

Defines the default shape for edges.  Default is mxConnector.

-

defaultVertexShape

mxCellRenderer.prototype.defaultVertexShape

Defines the default shape for vertices.  Default is mxRectangleShape.

+

defaultVertexShape

mxCellRenderer.prototype.defaultVertexShape

Defines the default shape for vertices.  Default is mxRectangleShape.

-

defaultTextShape

mxCellRenderer.prototype.defaultTextShape

Defines the default shape for labels.  Default is mxText.

+

defaultTextShape

mxCellRenderer.prototype.defaultTextShape

Defines the default shape for labels.  Default is mxText.

legacyControlPosition

mxCellRenderer.prototype.legacyControlPosition

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

legacySpacing

mxCellRenderer.prototype.legacySpacing

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

-

defaultShapes

mxCellRenderer.prototype.defaultShapes

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

+

defaultShapes

mxCellRenderer.prototype.defaultShapes

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

antiAlias

mxCellRenderer.prototype.antiAlias

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

Functions

-

registerShape

mxCellRenderer.registerShape = function(key,
shape)

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

Example

mxCellRenderer.registerShape(mxConstants.SHAPE_RECTANGLE, mxRectangleShape);

Parameters

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

registerShape

mxCellRenderer.registerShape = function(key,
shape)

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

Example

mxCellRenderer.registerShape(mxConstants.SHAPE_RECTANGLE, mxRectangleShape);

Parameters

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

initializeShape

mxCellRenderer.prototype.initializeShape = function(state)

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

Parameters

statemxCellState for which the shape should be initialized.
+

initializeShape

mxCellRenderer.prototype.initializeShape = function(state)

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

Parameters

statemxCellState for which the shape should be initialized.
-

createShape

mxCellRenderer.prototype.createShape = function(state)

Creates and returns the shape for the given cell state.

Parameters

statemxCellState for which the shape should be created.
+

createShape

mxCellRenderer.prototype.createShape = function(state)

Creates and returns the shape for the given cell state.

Parameters

statemxCellState for which the shape should be created.
-

createIndicatorShape

mxCellRenderer.prototype.createIndicatorShape = function(state)

Creates the indicator shape for the given cell state.

Parameters

statemxCellState for which the indicator shape should be created.
+

createIndicatorShape

mxCellRenderer.prototype.createIndicatorShape = function(state)

Creates the indicator shape for the given cell state.

Parameters

statemxCellState for which the indicator shape should be created.
-

getShape

mxCellRenderer.prototype.getShape = function(name)

Returns the shape for the given name from defaultShapes.

+

getShape

mxCellRenderer.prototype.getShape = function(name)

Returns the shape for the given name from defaultShapes.

getShapeConstructor

mxCellRenderer.prototype.getShapeConstructor = function(state)

Returns the constructor to be used for creating the shape.

-

configureShape

mxCellRenderer.prototype.configureShape = function(state)

Configures the shape for the given cell state.

Parameters

statemxCellState for which the shape should be configured.
+

configureShape

mxCellRenderer.prototype.configureShape = function(state)

Configures the shape for the given cell state.

Parameters

statemxCellState for which the shape should be configured.

postConfigureShape

mxCellRenderer.prototype.postConfigureShape = function(state)

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

resolveColor

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

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

-

getLabelValue

mxCellRenderer.prototype.getLabelValue = function(state)

Returns the value to be used for the label.

Parameters

statemxCellState for which the label should be created.
+

getLabelValue

mxCellRenderer.prototype.getLabelValue = function(state)

Returns the value to be used for the label.

Parameters

statemxCellState for which the label should be created.
-

createLabel

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

Creates the label for the given cell state.

Parameters

statemxCellState for which the label should be created.
+

createLabel

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

Creates the label for the given cell state.

Parameters

statemxCellState for which the label should be created.
-

initializeLabel

mxCellRenderer.prototype.initializeLabel = function(state)

Initiailzes the label with a suitable container.

Parameters

statemxCellState whose label should be initialized.
+

initializeLabel

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

Initiailzes the label with a suitable container.

Parameters

statemxCellState whose label should be initialized.
-

createCellOverlays

mxCellRenderer.prototype.createCellOverlays = function(state)

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

Parameters

statemxCellState for which the overlay should be created.
+

createCellOverlays

mxCellRenderer.prototype.createCellOverlays = function(state)

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

Parameters

statemxCellState for which the overlay should be created.
-

initializeOverlay

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

Initializes the given overlay.

Parameters

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

initializeOverlay

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

Initializes the given overlay.

Parameters

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

installOverlayListeners

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

+

installOverlayListeners

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

-

createControl

mxCellRenderer.prototype.createControl = function(state)

Creates the control for the given cell state.

Parameters

statemxCellState for which the control should be created.
+

createControl

mxCellRenderer.prototype.createControl = function(state)

Creates the control for the given cell state.

Parameters

statemxCellState for which the control should be created.
-

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

createControlClickHandler

mxCellRenderer.prototype.createControlClickHandler = function(state)

Hook for creating the click handler for the folding icon.

Parameters

statemxCellState whose control click handler should be returned.
-

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

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

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

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

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

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

redrawLabel

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

Redraws the label for the given cell state.

Parameters

statemxCellState whose label should be redrawn.
+

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

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

redrawLabel

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

Redraws the label for the given cell state.

Parameters

statemxCellState whose label should be redrawn.
-

getLabelBounds

mxCellRenderer.prototype.getLabelBounds = function(state)

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

Parameters

statemxCellState whose label bounds should be returned.
+

getTextScale

mxCellRenderer.prototype.getTextScale = function(state)

Returns the scaling used for the label of the given state

Parameters

statemxCellState whose label scale should be returned.
-

rotateLabelBounds

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

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

Parameters

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

getLabelBounds

mxCellRenderer.prototype.getLabelBounds = function(state)

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

Parameters

statemxCellState whose label bounds should be returned.
-

redrawCellOverlays

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

Redraws the overlays for the given cell state.

Parameters

statemxCellState whose overlays should be redrawn.
+

rotateLabelBounds

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

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

Parameters

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

redrawControl

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

Redraws the control for the given cell state.

Parameters

statemxCellState whose control should be redrawn.
+

redrawCellOverlays

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

Redraws the overlays for the given cell state.

Parameters

statemxCellState whose overlays should be redrawn.
+ +

redrawControl

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

Redraws the control for the given cell state.

Parameters

statemxCellState whose control should be redrawn.

getControlBounds

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

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

-

insertStateAfter

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

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

Parameters

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

insertStateAfter

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

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

Parameters

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

getShapesForState

mxCellRenderer.prototype.getShapesForState = function(state)

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

Parameters

statemxCellState whose shapes should be returned.
+

getShapesForState

mxCellRenderer.prototype.getShapesForState = function(state)

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

Parameters

statemxCellState whose shapes should be returned.
-

redraw

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

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

Parameters

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

redraw

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

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

Parameters

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

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.
@@ -109,7 +111,7 @@ for (var i in mxCellRenderer.prototype.defaultShapes) - @@ -117,7 +119,7 @@ HideAllBut([11], 13);// -->
-
function mxCellRenderer()
arrow, rectangle, ellipse, rhombus, image, line, label, cylinder, swimlane, connector, actor and cloud.
mxCellRenderer.prototype.defaultEdgeShape
Defines the default shape for edges.
mxCellRenderer.prototype.defaultVertexShape
Defines the default shape for vertices.
mxCellRenderer.prototype.defaultTextShape
Defines the default shape for labels.
mxCellRenderer.prototype.legacyControlPosition
Specifies if the folding icon should ignore the horizontal orientation of a swimlane.
mxCellRenderer.prototype.legacySpacing
Specifies if spacing and label position should be ignored if overflow is fill or width.
mxCellRenderer.prototype.defaultShapes
Static array that contains the globally registered shapes which are known to all instances of this class.
mxCellRenderer.prototype.antiAlias
Anti-aliasing option for new shapes.
mxCellRenderer.registerShape = function(key,
shape)
Registers the given constructor under the specified key in this instance of the renderer.
mxCellRenderer.prototype.initializeShape = function(state)
Initializes the shape in the given state by calling its init method with the correct container after configuring it using configureShape.
mxCellRenderer.prototype.configureShape = function(state)
Configures the shape for the given cell state.
mxCellRenderer.prototype.createShape = function(state)
Creates and returns the shape for the given cell state.
mxCellRenderer.prototype.createIndicatorShape = function(state)
Creates the indicator shape for the given cell state.
mxCellRenderer.prototype.getShape = function(name)
Returns the shape for the given name from defaultShapes.
mxCellRenderer.prototype.getShapeConstructor = function(state)
Returns the constructor to be used for creating the shape.
mxCellRenderer.prototype.postConfigureShape = function(state)
Replaces any reserved words used for attributes, eg.
mxCellRenderer.prototype.resolveColor = function(state,
field,
key)
Resolves special keywords ‘inherit’, ‘indicated’ and ‘swimlane’ and sets the respective color on the shape.
mxCellRenderer.prototype.getLabelValue = function(state)
Returns the value to be used for the label.
mxCellRenderer.prototype.createLabel = function(state,
value)
Creates the label for the given cell state.
mxCellRenderer.prototype.initializeLabel = function(state)
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.legacySpacing
Specifies if spacing and label position should be ignored if overflow is fill or width.
mxCellRenderer.prototype.defaultShapes
Static array that contains the globally registered shapes which are known to all instances of this class.
mxCellRenderer.prototype.antiAlias
Anti-aliasing option for new shapes.
mxCellRenderer.registerShape = function(key,
shape)
Registers the given constructor under the specified key in this instance of the renderer.
mxCellRenderer.prototype.initializeShape = function(state)
Initializes the shape in the given state by calling its init method with the correct container after configuring it using configureShape.
mxCellRenderer.prototype.configureShape = function(state)
Configures the shape for the given cell state.
mxCellRenderer.prototype.createShape = function(state)
Creates and returns the shape for the given cell state.
mxCellRenderer.prototype.createIndicatorShape = function(state)
Creates the indicator shape for the given cell state.
mxCellRenderer.prototype.getShape = function(name)
Returns the shape for the given name from defaultShapes.
mxCellRenderer.prototype.getShapeConstructor = function(state)
Returns the constructor to be used for creating the shape.
mxCellRenderer.prototype.postConfigureShape = function(state)
Replaces any reserved words used for attributes, eg.
mxCellRenderer.prototype.resolveColor = function(state,
field,
key)
Resolves special keywords ‘inherit’, ‘indicated’ and ‘swimlane’ and sets the respective color on the shape.
mxCellRenderer.prototype.getLabelValue = function(state)
Returns the value to be used for the label.
mxCellRenderer.prototype.createLabel = function(state,
value)
Creates the label for the given cell state.
mxCellRenderer.prototype.initializeLabel = function(state,
shape)
Initiailzes the label with a suitable container.
mxCellRenderer.prototype.createCellOverlays = function(state)
Creates the actual shape for showing the overlay for the given cell state.
mxCellRenderer.prototype.initializeOverlay = function(state,
overlay)
Initializes the given overlay.
Represents the current state of a cell in a given mxGraphView.
Extends mxEventSource to implement a graph overlay, represented by an icon and a tooltip.
Base class for all shapes.
mxCellRenderer.prototype.createControl = function(state)
Creates the control for the given cell state.
mxCellRenderer.prototype.createControlClickHandler = function(state)
Hook for creating the click handler for the folding icon.
mxCellRenderer.prototype.initControl = function(state,
control,
handleEvents,
clickHandler)
Initializes the given control and returns the corresponding DOM node.
mxCellRenderer.prototype.isShapeEvent = function(state,
evt)
Returns true if the event is for the shape of the given state.
mxCellRenderer.prototype.isLabelEvent = function(state,
evt)
Returns true if the event is for the label of the given state.
mxCellRenderer.prototype.installListeners = function(state)
Installs the event listeners for the given cell state.
mxCellRenderer.prototype.redrawLabel = function(state,
forced)
Redraws the label for the given cell state.
mxCellRenderer.prototype.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/mxCellState-js.html b/docs/js-api/files/view/mxCellState-js.html index 4146b9b7a..e5312f1c9 100644 --- a/docs/js-api/files/view/mxCellState-js.html +++ b/docs/js-api/files/view/mxCellState-js.html @@ -77,7 +77,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/view/mxCellStatePreview-js.html b/docs/js-api/files/view/mxCellStatePreview-js.html index 4d10488d9..00ed41636 100644 --- a/docs/js-api/files/view/mxCellStatePreview-js.html +++ b/docs/js-api/files/view/mxCellStatePreview-js.html @@ -45,7 +45,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/view/mxConnectionConstraint-js.html b/docs/js-api/files/view/mxConnectionConstraint-js.html index 48f5fd523..d6408a15e 100644 --- a/docs/js-api/files/view/mxConnectionConstraint-js.html +++ b/docs/js-api/files/view/mxConnectionConstraint-js.html @@ -29,7 +29,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/view/mxEdgeStyle-js.html b/docs/js-api/files/view/mxEdgeStyle-js.html index af50f50af..c81e8b036 100644 --- a/docs/js-api/files/view/mxEdgeStyle-js.html +++ b/docs/js-api/files/view/mxEdgeStyle-js.html @@ -50,7 +50,7 @@ style[mxConstants.STYLE_EDGE] = mxEdgeStyle.MyStyle;

Note t

- diff --git a/docs/js-api/files/view/mxGraph-js.html b/docs/js-api/files/view/mxGraph-js.html index d4abcae2f..9a980f8d4 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,119 +44,119 @@ 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.EDITING_STARTEDFires after the in-place editor starts in startEditingAtCell.
mxEvent.EDITING_STOPPEDFires after the in-place editor stops in stopEditing.
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 (including via foldCells).
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).
createTooltipHandlerCreates and returns a new mxTooltipHandler to be used in this graph.
createSelectionCellsHandlerCreates and returns a new mxTooltipHandler to be used in this graph.
createConnectionHandlerCreates and returns a new mxConnectionHandler to be used in this graph.
createGraphHandlerCreates and returns a new mxGraphHandler to be used in this graph.
createPanningHandlerCreates and returns a new mxPanningHandler to be used in this graph.
createPopupMenuHandlerCreates and returns a new mxPopupMenuHandler to be used in this graph.
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 and fires a <editingStopped> event.
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 and returns the new value as 0 or 1.
toggleCellStylesToggles the boolean value for the given key in the style of the given cells and returns the new value as 0 or 1.
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 groups to include all children and returns the passed-in cells.
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
getOutlineConstraintReturns the constraint used to connect to the outline of the given state.
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.
centerCenters the graph in the container.
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.
setConstrainChildrenSets constrainChildren.
setConstrainChildrenOnResizeSets constrainChildrenOnResize.
isConstrainChildrenOnResizeReturns constrainChildrenOnResize.
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 child vertices and edges of the given parent that are contained in the given rectangle.
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.
createVertexHandlerHooks to create a new mxVertexHandler for the given mxCellState.
createEdgeHandlerHooks to create a new mxEdgeHandler for the given mxCellState.
createEdgeSegmentHandlerHooks to create a new <mxEdgeSegmentHandler> for the given mxCellState.
createElbowEdgeHandlerHooks to create a new mxElbowEdgeHandler for the given mxCellState.
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 event should be ignored in fireMouseEvent.
fireMouseEventDispatches the given event in the graph event dispatch loop.
consumeMouseEventDestroys the graph and all its resources.
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.EDITING_STARTEDFires after the in-place editor starts in startEditingAtCell.
mxEvent.EDITING_STOPPEDFires after the in-place editor stops in stopEditing.
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 (including via foldCells).
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).
createTooltipHandlerCreates and returns a new mxTooltipHandler to be used in this graph.
createSelectionCellsHandlerCreates and returns a new mxTooltipHandler to be used in this graph.
createConnectionHandlerCreates and returns a new mxConnectionHandler to be used in this graph.
createGraphHandlerCreates and returns a new mxGraphHandler to be used in this graph.
createPanningHandlerCreates and returns a new mxPanningHandler to be used in this graph.
createPopupMenuHandlerCreates and returns a new mxPopupMenuHandler to be used in this graph.
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 and fires a <editingStopped> event.
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 and returns the new value as 0 or 1.
toggleCellStylesToggles the boolean value for the given key in the style of the given cells and returns the new value as 0 or 1.
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 groups to include all children and returns the passed-in cells.
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
getOutlineConstraintReturns the constraint used to connect to the outline of the given state.
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.
centerCenters the graph in the container.
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.
isExtendParentsOnMoveReturns extendParentsOnAdd.
setExtendParentsOnMoveSets 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.
setConstrainChildrenSets constrainChildren.
setConstrainChildrenOnResizeSets constrainChildrenOnResize.
isConstrainChildrenOnResizeReturns constrainChildrenOnResize.
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 child vertices and edges of the given parent that are contained in the given rectangle.
getCellsBeyondReturns the children of the given parent that are contained in the halfpane from the given point (x0, y0) rightwards or downwards depending on rightHalfpane and bottomHalfpane.
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.
createVertexHandlerHooks to create a new mxVertexHandler for the given mxCellState.
createEdgeHandlerHooks to create a new mxEdgeHandler for the given mxCellState.
createEdgeSegmentHandlerHooks to create a new <mxEdgeSegmentHandler> for the given mxCellState.
createElbowEdgeHandlerHooks to create a new mxElbowEdgeHandler for the given mxCellState.
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 event should be ignored in fireMouseEvent.
fireMouseEventDispatches the given event in the graph event dispatch loop.
consumeMouseEventDestroys the graph and all its resources.
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.EDITING_STARTED

Fires after 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.EDITING_STARTED

Fires after 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.EDITING_STOPPED

Fires after the in-place editor stops in stopEditing.

+

mxEvent.EDITING_STOPPED

Fires after the in-place editor stops in stopEditing.

-

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.

@@ -186,19 +186,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’.

@@ -206,101 +206,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.  This is ignored if dropEnabled is false.  If enabled, it will call splitEdge to carry out the drop operation.  Default is true.

+

splitEnabled

mxGraph.prototype.splitEnabled

Specifies if dropping onto edges should be enabled.  This is ignored if dropEnabled is false.  If enabled, it will call splitEdge to carry out the drop operation.  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.  If keepEdgesInForeground and keepEdgesInBackground are both true then the normal order is applied.  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.

+

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 (including via foldCells).  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 (including via foldCells).  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.

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

@@ -328,31 +328,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’.

@@ -362,79 +362,79 @@ 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()

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

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

-

createTooltipHandler

mxGraph.prototype.createTooltipHandler = function()

Creates and returns a new mxTooltipHandler to be used in this graph.

+

createTooltipHandler

mxGraph.prototype.createTooltipHandler = function()

Creates and returns a new mxTooltipHandler to be used in this graph.

-

createSelectionCellsHandler

mxGraph.prototype.createSelectionCellsHandler = function()

Creates and returns a new mxTooltipHandler to be used in this graph.

+

createSelectionCellsHandler

mxGraph.prototype.createSelectionCellsHandler = function()

Creates and returns a new mxTooltipHandler to be used in this graph.

-

createConnectionHandler

mxGraph.prototype.createConnectionHandler = function()

Creates and returns a new mxConnectionHandler to be used in this graph.

+

createConnectionHandler

mxGraph.prototype.createConnectionHandler = function()

Creates and returns a new mxConnectionHandler to be used in this graph.

-

createGraphHandler

mxGraph.prototype.createGraphHandler = function()

Creates and returns a new mxGraphHandler to be used in this graph.

+

createGraphHandler

mxGraph.prototype.createGraphHandler = function()

Creates and returns a new mxGraphHandler to be used in this graph.

-

createPanningHandler

mxGraph.prototype.createPanningHandler = function()

Creates and returns a new mxPanningHandler to be used in this graph.

+

createPanningHandler

mxGraph.prototype.createPanningHandler = function()

Creates and returns a new mxPanningHandler to be used in this graph.

-

createPopupMenuHandler

mxGraph.prototype.createPopupMenuHandler = function()

Creates and returns a new mxPopupMenuHandler to be used in this graph.

+

createPopupMenuHandler

mxGraph.prototype.createPopupMenuHandler = function()

Creates and returns a new mxPopupMenuHandler to be used in this graph.

-

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>.  After editing was started, a <editingStarted> event is fired.

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>.  After editing was started, a <editingStarted> event is fired.

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 and fires a <editingStopped> event.

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
@@ -443,13 +443,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
@@ -459,7 +459,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)
 {
@@ -475,47 +475,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 and returns the new value as 0 or 1.  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 and returns the new value as 0 or 1.  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 and returns the new value as 0 or 1.  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 and returns the new value as 0 or 1.  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)
   {
@@ -531,29 +531,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);
@@ -564,56 +564,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,
topBorder,
rightBorder,
bottomBorder,
leftBorder)

Updates the bounds of the given groups to include all children and returns the passed-in cells.  Call this with the groups in parent to child order, top-most group first, the cells are processed in reverse order and cells with no children are ignored.

Parameters

cellsThe groups whose bounds should be updated.  If this is null, then the selection cells are used.
borderOptional border to be added in the group.  Default is 0.
moveGroupOptional boolean that allows the group to be moved.  Default is false.
topBorderOptional top border to be added in the group.  Default is 0.
rightBorderOptional top border to be added in the group.  Default is 0.
bottomBorderOptional top border to be added in the group.  Default is 0.
leftBorderOptional top border to be added in the group.  Default is 0.

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,
evt)

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.
evtOptional native event that triggered the invocation.
-

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.

@@ -621,11 +621,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);
@@ -637,13 +637,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');
 
@@ -669,61 +669,61 @@ 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

getOutlineConstraint

mxGraph.prototype.getOutlineConstraint = function(point,
terminalState,
me)

Returns the constraint used to connect to the outline of the given state.

-

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)
 {
@@ -738,32 +738,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)
@@ -772,47 +772,47 @@ 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 in 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 in 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.

center

mxGraph.prototype.center = function(horizontal,
vertical)

Centers the graph in the container.

Parameters

horizontalOptional boolean that specifies if the graph should be centered horizontally.  Default is true.
verticalOptional boolean that specifies if the graph should be centered vertically.  Default is true.
-

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.

@@ -826,9 +826,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 &&
@@ -842,30 +842,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);
 
@@ -892,15 +892,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"
 
@@ -915,353 +915,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(cell)

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

+

isExtendParentsOnMove

mxGraph.prototype.isExtendParentsOnMove = function()

Returns extendParentsOnAdd.

-

setExtendParentsOnAdd

Sets extendParentsOnAdd.

Parameters

valueNew boolean value for extendParentsOnAdd.
+

setExtendParentsOnMove

mxGraph.prototype.setExtendParentsOnMove = function(value)

Sets extendParentsOnAdd.

Parameters

valueNew boolean value for extendParentsOnAdd.
-

isRecursiveResize

mxGraph.prototype.isRecursiveResize = function(state)

Returns recursiveResize.

Parameters

statemxCellState that is being resized.
+

isRecursiveResize

mxGraph.prototype.isRecursiveResize = function(state)

Returns recursiveResize.

Parameters

statemxCellState that is being resized.
-

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.

-

setConstrainChildren

mxGraph.prototype.setConstrainChildren = function(value)

Sets constrainChildren.

+

setConstrainChildren

mxGraph.prototype.setConstrainChildren = function(value)

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

-

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,
clone)

Returns the given cell if it is a drop target for the given cells or the nearest ancestor that may be used as a drop target for the given cells.  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.
cloneOptional boolean to indicate of cells will be cloned.
+

getDropTarget

mxGraph.prototype.getDropTarget = function(cells,
evt,
cell,
clone)

Returns the given cell if it is a drop target for the given cells or the nearest ancestor that may be used as a drop target for the given cells.  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.
cloneOptional boolean to indicate of cells will be cloned.

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 current root of the view or the root of the model.
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 current root of the view or the root of the model.
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 child vertices and edges of the given parent that are contained in the given rectangle.  The result is added to the optional result array, which is returned.  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 that should be used as the root of the recursion.  Default is current root of the view or the root of the model.
resultOptional array to store the result in.
+

getCells

mxGraph.prototype.getCells = function(x,
y,
width,
height,
parent,
result)

Returns the child vertices and edges of the given parent that are contained in the given rectangle.  The result is added to the optional result array, which is returned.  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 that should be used as the root of the recursion.  Default is current root of the view or the root of the model.
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 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.

@@ -1273,51 +1273,51 @@ 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.  For vertices, only cells with no children are selected.

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.  For vertices, only cells with no children are selected.

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

createVertexHandler

mxGraph.prototype.createVertexHandler = function(state)

Hooks to create a new mxVertexHandler for the given mxCellState.

Parameters

statemxCellState to create the handler for.
+

createVertexHandler

mxGraph.prototype.createVertexHandler = function(state)

Hooks to create a new mxVertexHandler for the given mxCellState.

Parameters

statemxCellState to create the handler for.
-

createEdgeHandler

mxGraph.prototype.createEdgeHandler = function(state)

Hooks to create a new mxEdgeHandler for the given mxCellState.

Parameters

statemxCellState to create the handler for.
+

createEdgeHandler

mxGraph.prototype.createEdgeHandler = function(state)

Hooks to create a new mxEdgeHandler for the given mxCellState.

Parameters

statemxCellState to create the handler for.
-

createEdgeSegmentHandler

mxGraph.prototype.createEdgeSegmentHandler = function(state)

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

Parameters

statemxCellState to create the handler for.
+

createEdgeSegmentHandler

mxGraph.prototype.createEdgeSegmentHandler = function(state)

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

Parameters

statemxCellState to create the handler for.
-

createElbowEdgeHandler

mxGraph.prototype.createElbowEdgeHandler = function(state)

Hooks to create a new mxElbowEdgeHandler for the given mxCellState.

Parameters

statemxCellState to create the handler for.
+

createElbowEdgeHandler

mxGraph.prototype.createElbowEdgeHandler = function(state)

Hooks to create a new mxElbowEdgeHandler for the given mxCellState.

Parameters

statemxCellState to create the handler for.

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 event should be ignored in fireMouseEvent.  This implementation returns true for select, option and input (if not of type checkbox, radio, button, submit or file) event sources if the event is not a mouse event or a left mouse button press event.

Parameters

evtNameThe name of the event.
memxMouseEvent that should be ignored.
+

isEventSourceIgnored

mxGraph.prototype.isEventSourceIgnored = function(evtName,
me)

Returns true if the event should be ignored in fireMouseEvent.  This implementation returns true for select, option and input (if not of type checkbox, radio, button, submit or file) event sources if the event is not a mouse event or a left mouse button press event.

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.

consumeMouseEvent

mxGraph.prototype.consumeMouseEvent = function(evtName,
me,
sender)

Destroys the graph and all its resources.

-

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'));
@@ -1337,7 +1337,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.

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

Variables

-

allowEval

mxGraphView.prototype.allowEval

Specifies if string values in cell styles should be evaluated using mxUtils.eval.  This will only be used if the string values can’t be mapped to objects using mxStyleRegistry.  Default is false.  NOTE: Enabling this switch carries a possible security risk (see the section on security in the manual).

+

allowEval

mxGraphView.prototype.allowEval

Specifies if string values in cell styles should be evaluated using mxUtils.eval.  This will only be used if the string values can’t be mapped to objects using mxStyleRegistry.  Default is false.  NOTE: Enabling this switch carries a possible security risk.

captureDocumentGesture

mxGraphView.prototype.captureDocumentGesture

Specifies if a gesture should be captured when it goes outside of the graph container.  Default is true.

@@ -269,7 +269,7 @@ mxGraphView.prototype.getPerimeterBounds = function(terminal, edge, isSource) - diff --git a/docs/js-api/files/view/mxLayoutManager-js.html b/docs/js-api/files/view/mxLayoutManager-js.html index a08137eaf..979ac64e1 100644 --- a/docs/js-api/files/view/mxLayoutManager-js.html +++ b/docs/js-api/files/view/mxLayoutManager-js.html @@ -15,11 +15,11 @@ if (browserType) {document.write("
");if (browserV layoutMgr.getLayout = function(cell) { return layout; -};
Summary
mxLayoutManager
Events
mxEvent.LAYOUT_CELLSFires between begin- and endUpdate after all cells have been layouted in layoutCells.
Functions
mxLayoutManagerConstructs a new automatic layout for the given graph.
Variables
graphReference to the enclosing mxGraph.
bubblingSpecifies if the layout should bubble along the cell hierarchy.
enabledSpecifies if event handling is enabled.
updateHandlerHolds the function that handles the endUpdate event.
moveHandlerHolds the function that handles the move event.
Functions
isEnabledReturns true if events are handled.
setEnabledEnables or disables event handling.
isBubblingReturns 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.
setBubblingSets bubbling.
getGraphReturns the graph that this layout operates on.
setGraphSets the graph that the layouts operate on.
getLayoutReturns the layout to be executed for the given graph and parent.
beforeUndoCalled from the undoHandler.
cellsMovedCalled from the moveHandler.
getCellsForEditReturns the cells to be layouted for the given sequence of changes.
getCellsForChangeExecutes all layouts which have been scheduled during the changes.
layoutCellsExecutes all layouts which have been scheduled during the changes.
executeLayoutExecutes the given layout on the given parent.
destroyRemoves all handlers from the graph and deletes the reference to it.
+};
Summary
mxLayoutManager
Events
mxEvent.LAYOUT_CELLSFires between begin- and endUpdate after all cells have been layouted in layoutCells.
Functions
mxLayoutManagerConstructs a new automatic layout for the given graph.
Variables
graphReference to the enclosing mxGraph.
bubblingSpecifies if the layout should bubble along the cell hierarchy.
enabledSpecifies if event handling is enabled.
updateHandlerHolds the function that handles the endUpdate event.
moveHandlerHolds the function that handles the move event.
Functions
isEnabledReturns true if events are handled.
setEnabledEnables or disables event handling.
isBubblingReturns 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.
setBubblingSets bubbling.
getGraphReturns the graph that this layout operates on.
setGraphSets the graph that the layouts operate on.
getLayoutReturns the layout to be executed for the given graph and parent.
beforeUndoCalled from the undoHandler.
executeLayoutExecutes the given layout on the given parent.
cellsMovedCalled from the moveHandler.
getCellsForEditReturns the cells to be layouted for the given sequence of changes.
getCellsForChangeExecutes all layouts which have been scheduled during the changes.
layoutCellsExecutes all layouts which have been scheduled during the changes.
executeLayoutExecutes the given layout on the given parent.
destroyRemoves all handlers from the graph and deletes the reference to it.

Events

-

mxEvent.LAYOUT_CELLS

Fires between begin- and endUpdate after all cells have been layouted in layoutCells.  The <code>cells</code> property contains all cells that have been passed to layoutCells.

+

mxEvent.LAYOUT_CELLS

Fires between begin- and endUpdate after all cells have been layouted in layoutCells.  The <code>cells</code> property contains all cells that have been passed to layoutCells.

Functions

@@ -27,7 +27,7 @@ layoutMgr.getLayout = function(cell)

Variables

-

graph

mxLayoutManager.prototype.graph

Reference to the enclosing mxGraph.

+

graph

mxLayoutManager.prototype.graph

Reference to the enclosing mxGraph.

bubbling

mxLayoutManager.prototype.bubbling

Specifies if the layout should bubble along the cell hierarchy.  Default is true.

@@ -39,13 +39,13 @@ layoutMgr.getLayout = function(cell)

Functions

-

isEnabled

mxLayoutManager.prototype.isEnabled = function()

Returns true if events are handled.  This implementation returns enabled.

+

isEnabled

mxLayoutManager.prototype.isEnabled = function()

Returns true if events are handled.  This implementation returns enabled.

-

setEnabled

mxLayoutManager.prototype.setEnabled = function(enabled)

Enables or disables event handling.  This implementation updates enabled.

Parameters

enabledBoolean that specifies the new enabled state.
+

setEnabled

mxLayoutManager.prototype.setEnabled = function(enabled)

Enables or disables event handling.  This implementation updates enabled.

Parameters

enabledBoolean that specifies the new enabled state.
-

isBubbling

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.  This implementation returns bubbling.

+

isBubbling

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.  This implementation returns bubbling.

-

setBubbling

mxLayoutManager.prototype.setBubbling = function(value)

Sets bubbling.

+

setBubbling

mxLayoutManager.prototype.setBubbling = function(value)

Sets bubbling.

getGraph

mxLayoutManager.prototype.getGraph = function()

Returns the graph that this layout operates on.

@@ -53,9 +53,11 @@ layoutMgr.getLayout = function(cell)

getLayout

mxLayoutManager.prototype.getLayout = function(parent)

Returns the layout to be executed for the given graph and parent.

-

beforeUndo

mxLayoutManager.prototype.beforeUndo = function(undoableEdit)

Called from the undoHandler.

Parameters

cellArray of mxCells that have been moved.
evtMouse event that represents the mousedown.
+

beforeUndo

mxLayoutManager.prototype.beforeUndo = function(undoableEdit)

Called from the undoHandler.

Parameters

cellArray of mxCells that have been moved.
evtMouse event that represents the mousedown.
-

cellsMoved

mxLayoutManager.prototype.cellsMoved = function(cells,
evt)

Called from the moveHandler.

Parameters

cellArray of mxCells that have been moved.
evtMouse event that represents the mousedown.
+

executeLayout

mxLayoutManager.prototype.executeLayoutForCells = function(cells)

Executes the given layout on the given parent.

+ +

cellsMoved

mxLayoutManager.prototype.cellsMoved = function(cells,
evt)

Called from the moveHandler.

Parameters

cellArray of mxCells that have been moved.
evtMouse event that represents the mousedown.

getCellsForEdit

Returns the cells to be layouted for the given sequence of changes.

@@ -65,7 +67,7 @@ layoutMgr.getLayout = function(cell)

executeLayout

mxLayoutManager.prototype.executeLayout = function(layout,
parent)

Executes the given layout on the given parent.

-

destroy

mxLayoutManager.prototype.destroy = function()

Removes all handlers from the graph and deletes the reference to it.

+

destroy

mxLayoutManager.prototype.destroy = function()

Removes all handlers from the graph and deletes the reference to it.

@@ -73,7 +75,7 @@ layoutMgr.getLayout = function(cell) - @@ -81,7 +83,7 @@ HideAllBut([11], 13);// -->
-
mxLayoutManager.prototype.layoutCells = function(cells)
Executes all layouts which have been scheduled during the changes.
function mxLayoutManager(graph)
Constructs a new automatic layout for the given graph.
mxLayoutManager.prototype.graph
Reference to the enclosing mxGraph.
Extends mxEventSource to implement a graph component for the browser.
mxLayoutManager.prototype.bubbling
Specifies if the layout should bubble along the cell hierarchy.
mxLayoutManager.prototype.enabled
Specifies if event handling is enabled.
mxLayoutManager.prototype.updateHandler
Holds the function that handles the endUpdate event.
mxLayoutManager.prototype.moveHandler
Holds the function that handles the move event.
mxLayoutManager.prototype.isEnabled = function()
Returns true if events are handled.
mxLayoutManager.prototype.setEnabled = function(enabled)
Enables or disables event handling.
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.
mxLayoutManager.prototype.setBubbling = function(value)
Sets bubbling.
mxLayoutManager.prototype.getGraph = function()
Returns the graph that this layout operates on.
mxLayoutManager.prototype.setGraph = function(graph)
Sets the graph that the layouts operate on.
mxLayoutManager.prototype.getLayout = function(parent)
Returns the layout to be executed for the given graph and parent.
mxLayoutManager.prototype.beforeUndo = function(undoableEdit)
Called from the undoHandler.
mxLayoutManager.prototype.cellsMoved = function(cells,
evt)
Called from the moveHandler.
mxLayoutManager.prototype.getCellsForChange = function(change)
Executes all layouts which have been scheduled during the changes.
mxLayoutManager.prototype.executeLayout = function(layout,
parent)
Executes the given layout on the given parent.
mxLayoutManager.prototype.destroy = function()
Removes all handlers from the graph and deletes the reference to it.
Cells are the elements of the graph model.
+
mxLayoutManager.prototype.layoutCells = function(cells)
Executes all layouts which have been scheduled during the changes.
function mxLayoutManager(graph)
Constructs a new automatic layout for the given graph.
mxLayoutManager.prototype.graph
Reference to the enclosing mxGraph.
Extends mxEventSource to implement a graph component for the browser.
mxLayoutManager.prototype.bubbling
Specifies if the layout should bubble along the cell hierarchy.
mxLayoutManager.prototype.enabled
Specifies if event handling is enabled.
mxLayoutManager.prototype.updateHandler
Holds the function that handles the endUpdate event.
mxLayoutManager.prototype.moveHandler
Holds the function that handles the move event.
mxLayoutManager.prototype.isEnabled = function()
Returns true if events are handled.
mxLayoutManager.prototype.setEnabled = function(enabled)
Enables or disables event handling.
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.
mxLayoutManager.prototype.setBubbling = function(value)
Sets bubbling.
mxLayoutManager.prototype.getGraph = function()
Returns the graph that this layout operates on.
mxLayoutManager.prototype.setGraph = function(graph)
Sets the graph that the layouts operate on.
mxLayoutManager.prototype.getLayout = function(parent)
Returns the layout to be executed for the given graph and parent.
mxLayoutManager.prototype.beforeUndo = function(undoableEdit)
Called from the undoHandler.
mxLayoutManager.prototype.executeLayoutForCells = function(cells)
Executes the given layout on the given parent.
mxLayoutManager.prototype.cellsMoved = function(cells,
evt)
Called from the moveHandler.
mxLayoutManager.prototype.getCellsForChange = function(change)
Executes all layouts which have been scheduled during the changes.
mxLayoutManager.prototype.destroy = function()
Removes all handlers from the graph and deletes the reference to it.
Cells are the elements of the graph model.
diff --git a/docs/js-api/files/view/mxMultiplicity-js.html b/docs/js-api/files/view/mxMultiplicity-js.html index 4d2e011f0..874ef52e1 100644 --- a/docs/js-api/files/view/mxMultiplicity-js.html +++ b/docs/js-api/files/view/mxMultiplicity-js.html @@ -58,7 +58,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/view/mxOutline-js.html b/docs/js-api/files/view/mxOutline-js.html index f131b3d7d..38b0cbbd9 100644 --- a/docs/js-api/files/view/mxOutline-js.html +++ b/docs/js-api/files/view/mxOutline-js.html @@ -109,7 +109,7 @@ if (!nav.suspended) - diff --git a/docs/js-api/files/view/mxPerimeter-js.html b/docs/js-api/files/view/mxPerimeter-js.html index 1ffd31279..9561d470e 100644 --- a/docs/js-api/files/view/mxPerimeter-js.html +++ b/docs/js-api/files/view/mxPerimeter-js.html @@ -38,7 +38,7 @@ style[mxConstants.STYLE_PERIMETER] = mxPerimeter.CustomPerimeter;Generated by Natural Docs
- diff --git a/docs/js-api/files/view/mxPrintPreview-js.html b/docs/js-api/files/view/mxPrintPreview-js.html index 588121e84..3591fc651 100644 --- a/docs/js-api/files/view/mxPrintPreview-js.html +++ b/docs/js-api/files/view/mxPrintPreview-js.html @@ -135,7 +135,7 @@ preview.open();
- diff --git a/docs/js-api/files/view/mxSpaceManager-js.html b/docs/js-api/files/view/mxSpaceManager-js.html deleted file mode 100644 index 27b6ca566..000000000 --- a/docs/js-api/files/view/mxSpaceManager-js.html +++ /dev/null @@ -1,95 +0,0 @@ - - -mxSpaceManager - - - - - - - - - -

mxSpaceManager

In charge of moving cells after a resize.

Summary
mxSpaceManagerIn charge of moving cells after a resize.
Functions
mxSpaceManagerConstructs a new automatic layout for the given graph.
Variables
graphReference to the enclosing mxGraph.
enabledSpecifies if event handling is enabled.
shiftRightwardsSpecifies if event handling is enabled.
shiftDownwardsSpecifies if event handling is enabled.
extendParentsSpecifies if event handling is enabled.
resizeHandlerHolds the function that handles the move event.
foldHandlerHolds the function that handles the fold event.
Functions
isCellIgnoredSets the graph that the layouts operate on.
isCellShiftableSets the graph that the layouts operate on.
isEnabledReturns true if events are handled.
setEnabledEnables or disables event handling.
isShiftRightwardsReturns true if events are handled.
setShiftRightwardsEnables or disables event handling.
isShiftDownwardsReturns true if events are handled.
setShiftDownwardsEnables or disables event handling.
isExtendParentsReturns true if events are handled.
setShiftDownwardsEnables or disables event handling.
getGraphReturns the graph that this layout operates on.
setGraphSets the graph that the layouts operate on.
cellsResizedCalled from <moveCellsIntoParent> to invoke the <move> hook in the automatic layout of each modified cell’s parent.
cellResizedCalled from <moveCellsIntoParent> to invoke the <move> hook in the automatic layout of each modified cell’s parent.
shiftCellCalled from <moveCellsIntoParent> to invoke the <move> hook in the automatic layout of each modified cell’s parent.
getCellsToShiftReturns the cells to shift after a resize of the specified mxCellState.
destroyRemoves all handlers from the graph and deletes the reference to it.
- -

Functions

- -

mxSpaceManager

function mxSpaceManager(graph,
shiftRightwards,
shiftDownwards,
extendParents)

Constructs a new automatic layout for the given graph.

Arguments

graphReference to the enclosing graph.
- -

Variables

- -

graph

mxSpaceManager.prototype.graph

Reference to the enclosing mxGraph.

- -

enabled

mxSpaceManager.prototype.enabled

Specifies if event handling is enabled.  Default is true.

- -

shiftRightwards

mxSpaceManager.prototype.shiftRightwards

Specifies if event handling is enabled.  Default is true.

- -

shiftDownwards

mxSpaceManager.prototype.shiftDownwards

Specifies if event handling is enabled.  Default is true.

- -

extendParents

mxSpaceManager.prototype.extendParents

Specifies if event handling is enabled.  Default is true.

- -

resizeHandler

mxSpaceManager.prototype.resizeHandler

Holds the function that handles the move event.

- -

foldHandler

mxSpaceManager.prototype.foldHandler

Holds the function that handles the fold event.

- -

Functions

- -

isCellIgnored

mxSpaceManager.prototype.isCellIgnored = function(cell)

Sets the graph that the layouts operate on.

- -

isCellShiftable

mxSpaceManager.prototype.isCellShiftable = function(cell)

Sets the graph that the layouts operate on.

- -

isEnabled

mxSpaceManager.prototype.isEnabled = function()

Returns true if events are handled.  This implementation returns enabled.

- -

setEnabled

mxSpaceManager.prototype.setEnabled = function(value)

Enables or disables event handling.  This implementation updates enabled.

Parameters

enabledBoolean that specifies the new enabled state.
- -

isShiftRightwards

mxSpaceManager.prototype.isShiftRightwards = function()

Returns true if events are handled.  This implementation returns enabled.

- -

setShiftRightwards

mxSpaceManager.prototype.setShiftRightwards = function(value)

Enables or disables event handling.  This implementation updates enabled.

Parameters

enabledBoolean that specifies the new enabled state.
- -

isShiftDownwards

mxSpaceManager.prototype.isShiftDownwards = function()

Returns true if events are handled.  This implementation returns enabled.

- -

setShiftDownwards

mxSpaceManager.prototype.setShiftDownwards = function(value)

Enables or disables event handling.  This implementation updates enabled.

Parameters

enabledBoolean that specifies the new enabled state.
- -

isExtendParents

mxSpaceManager.prototype.isExtendParents = function()

Returns true if events are handled.  This implementation returns enabled.

- -

setShiftDownwards

Enables or disables event handling.  This implementation updates enabled.

Parameters

enabledBoolean that specifies the new enabled state.
- -

getGraph

mxSpaceManager.prototype.getGraph = function()

Returns the graph that this layout operates on.

- -

setGraph

mxSpaceManager.prototype.setGraph = function(graph)

Sets the graph that the layouts operate on.

- -

cellsResized

mxSpaceManager.prototype.cellsResized = function(cells)

Called from <moveCellsIntoParent> to invoke the <move> hook in the automatic layout of each modified cell’s parent.  The event is used to define the x- and y-coordinates passed to the move function.

Parameters

cellArray of mxCells that have been resized.
- -

cellResized

mxSpaceManager.prototype.cellResized = function(cell)

Called from <moveCellsIntoParent> to invoke the <move> hook in the automatic layout of each modified cell’s parent.  The event is used to define the x- and y-coordinates passed to the move function.

Parameters

cellmxCell that has been resized.
- -

shiftCell

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.  The event is used to define the x- and y-coordinates passed to the move function.

Parameters

cellArray of mxCells that have been moved.
evtMouse event that represents the mousedown.
- -

getCellsToShift

mxSpaceManager.prototype.getCellsToShift = function(state)

Returns the cells to shift after a resize of the specified mxCellState.

- -

destroy

mxSpaceManager.prototype.destroy = function()

Removes all handlers from the graph and deletes the reference to it.

- -
- - - - - - - - - - -
function mxSpaceManager(graph,
shiftRightwards,
shiftDownwards,
extendParents)
Constructs a new automatic layout for the given graph.
mxSpaceManager.prototype.graph
Reference to the enclosing mxGraph.
Extends mxEventSource to implement a graph component for the browser.
mxSpaceManager.prototype.enabled
Specifies if event handling is enabled.
mxSpaceManager.prototype.shiftRightwards
Specifies if event handling is enabled.
mxSpaceManager.prototype.shiftDownwards
Specifies if event handling is enabled.
mxSpaceManager.prototype.extendParents
Specifies if event handling is enabled.
mxSpaceManager.prototype.resizeHandler
Holds the function that handles the move event.
mxSpaceManager.prototype.foldHandler
Holds the function that handles the fold event.
mxSpaceManager.prototype.isCellIgnored = function(cell)
Sets the graph that the layouts operate on.
mxSpaceManager.prototype.isCellShiftable = function(cell)
Sets the graph that the layouts operate on.
mxSpaceManager.prototype.isEnabled = function()
Returns true if events are handled.
mxSpaceManager.prototype.setEnabled = function(value)
Enables or disables event handling.
mxSpaceManager.prototype.isShiftRightwards = function()
Returns true if events are handled.
mxSpaceManager.prototype.setShiftRightwards = function(value)
Enables or disables event handling.
mxSpaceManager.prototype.isShiftDownwards = function()
Returns true if events are handled.
mxSpaceManager.prototype.setShiftDownwards = function(value)
Enables or disables event handling.
mxSpaceManager.prototype.isExtendParents = function()
Returns true if events are handled.
mxSpaceManager.prototype.getGraph = function()
Returns the graph that this layout operates on.
mxSpaceManager.prototype.setGraph = function(graph)
Sets the graph that the layouts operate on.
mxSpaceManager.prototype.cellsResized = function(cells)
Called from moveCellsIntoParent to invoke the move hook in the automatic layout of each modified cell’s parent.
mxSpaceManager.prototype.cellResized = function(cell)
Called from moveCellsIntoParent to invoke the move hook in the automatic layout of each modified cell’s parent.
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.getCellsToShift = function(state)
Returns the cells to shift after a resize of the specified mxCellState.
Represents the current state of a cell in a given mxGraphView.
mxSpaceManager.prototype.destroy = function()
Removes all handlers from the graph and deletes the reference to it.
Cells are the elements of the graph model.
- - - - - - - - \ No newline at end of file diff --git a/docs/js-api/files/view/mxStyleRegistry-js.html b/docs/js-api/files/view/mxStyleRegistry-js.html index 960684c7d..0744b40c6 100644 --- a/docs/js-api/files/view/mxStyleRegistry-js.html +++ b/docs/js-api/files/view/mxStyleRegistry-js.html @@ -31,7 +31,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/view/mxStylesheet-js.html b/docs/js-api/files/view/mxStylesheet-js.html index 7d6d7ccfb..73d6a1a37 100644 --- a/docs/js-api/files/view/mxStylesheet-js.html +++ b/docs/js-api/files/view/mxStylesheet-js.html @@ -48,7 +48,7 @@ graph.getStylesheet().putCellStyle('rounded', style);

In th

- diff --git a/docs/js-api/files/view/mxSwimlaneManager-js.html b/docs/js-api/files/view/mxSwimlaneManager-js.html index cd6a92dd1..f40b8a354 100644 --- a/docs/js-api/files/view/mxSwimlaneManager-js.html +++ b/docs/js-api/files/view/mxSwimlaneManager-js.html @@ -75,7 +75,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/view/mxTemporaryCellStates-js.html b/docs/js-api/files/view/mxTemporaryCellStates-js.html index e177a24e0..b44fb71bb 100644 --- a/docs/js-api/files/view/mxTemporaryCellStates-js.html +++ b/docs/js-api/files/view/mxTemporaryCellStates-js.html @@ -37,7 +37,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Classes.html b/docs/js-api/index/Classes.html index f7e6b347f..81cd3676d 100644 --- a/docs/js-api/index/Classes.html +++ b/docs/js-api/index/Classes.html @@ -11,9 +11,9 @@ if (browserType) {document.write("
");if (browserV -
Class 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
 MedianCellSorter
 mxAbstractCanvas2D
 mxActor
 mxAnimation
 mxArrow
 mxArrowConnector
 mxAutoSaveManager
 mxCell
 mxCellAttributeChange
 mxCellCodec
 mxCellEditor
 mxCellHighlight
 mxCellMarker
 mxCellOverlay
 mxCellPath
 mxCellRenderer
 mxCellState
 mxCellStatePreview
 mxCellTracker
 mxChildChange
 mxChildChangeCodec
 mxCircleLayout
 mxClient
 mxClipboard
 mxCloud
 mxCodec
 mxCodecRegistry
 mxCollapseChange
 mxCompactTreeLayout
 mxCompositeLayout
 mxConnectionConstraint
 mxConnectionHandler
 mxConnector
 mxConstants
 mxConstraintHandler
 mxCoordinateAssignment
 mxCurrentRootChange
 mxCylinder
 mxDefaultKeyHandler
 mxDefaultKeyHandlerCodec
 mxDefaultPopupMenu
 mxDefaultPopupMenuCodec
 mxDefaultToolbar
 mxDefaultToolbarCodec
 mxDictionary
 mxDivResizer
 mxDoubleEllipse
 mxDragSource
 mxEdgeHandler
 mxEdgeLabelLayout
 mxEdgeStyle
 mxEditor
 mxEditorCodec
 mxEffects
 mxElbowEdgeHandler
 mxEllipse
 mxEvent
 mxEventObject
 mxEventSource
 mxFastOrganicLayout
 mxForm
 mxGenericChangeCodec
 mxGeometry
 mxGeometryChange
 mxGraph
 mxGraphAbstractHierarchyCell
 mxGraphCodec
 mxGraphHandler
 mxGraphHierarchyEdge
 mxGraphHierarchyModel
 mxGraphHierarchyNode
 mxGraphLayout
 mxGraphModel
 mxGraphSelectionModel
 mxGraphView
 mxGraphViewCodec
 mxGuide
 mxHandle
 mxHexagon
 mxHierarchicalLayout
 mxHierarchicalLayoutStage
 mxImage
 mxImageBundle
 mxImageExport
 mxImageShape
 mxKeyHandler
 mxLabel
 mxLayoutManager
 mxLine
 mxLog
 mxMarker
 mxMedianHybridCrossingReduction
 mxMinimumCycleRemover
 mxModelCodec
 mxMorphing
 mxMouseEvent
 mxMultiplicity
 mxObjectCodec
 mxObjectIdentity
 mxOutline
 mxPanningHandler
 mxPanningManager
 mxParallelEdgeLayout
 mxPartitionLayout
 mxPerimeter
 mxPoint
 mxPolyline
 mxPopupMenu
 mxPopupMenuHandler
 mxPrintPreview
 mxRadialTreeLayout
 mxRectangle
 mxRectangleShape
 mxResources
 mxRhombus
 mxRootChange
 mxRootChangeCodec
 mxRubberband
 mxSelectionCellsHandler
 mxSelectionChange
 mxShape
 mxSpaceManager
 mxStackLayout
 mxStencil
 mxStencilRegistry
 mxStyleChange
 mxStyleRegistry
 mxStylesheet
 mxStylesheetCodec
 mxSvgCanvas2D
 mxSwimlane
 mxSwimlaneLayout
 mxSwimlaneManager
 mxSwimlaneModel
 mxSwimlaneOrdering
 mxTemporaryCellStates
 mxTerminalChange
 mxTerminalChangeCodec
 mxText
 mxToolbar
 mxTooltipHandler
 mxTriangle
 mxUndoableEdit
 mxUndoManager
 mxUrlConverter
 mxUtils
 mxValueChange
 mxVertexHandler
 mxVisibleChange
 mxVmlCanvas2D
 mxWindow
 mxXmlCanvas2D
 mxXmlRequest
+
Class 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
 MedianCellSorter
 mxAbstractCanvas2D
 mxActor
 mxAnimation
 mxArrow
 mxArrowConnector
 mxAutoSaveManager
 mxCell
 mxCellAttributeChange
 mxCellCodec
 mxCellEditor
 mxCellHighlight
 mxCellMarker
 mxCellOverlay
 mxCellPath
 mxCellRenderer
 mxCellState
 mxCellStatePreview
 mxCellTracker
 mxChildChange
 mxChildChangeCodec
 mxCircleLayout
 mxClient
 mxClipboard
 mxCloud
 mxCodec
 mxCodecRegistry
 mxCollapseChange
 mxCompactTreeLayout
 mxCompositeLayout
 mxConnectionConstraint
 mxConnectionHandler
 mxConnector
 mxConstants
 mxConstraintHandler
 mxCoordinateAssignment
 mxCurrentRootChange
 mxCylinder
 mxDefaultKeyHandler
 mxDefaultKeyHandlerCodec
 mxDefaultPopupMenu
 mxDefaultPopupMenuCodec
 mxDefaultToolbar
 mxDefaultToolbarCodec
 mxDictionary
 mxDivResizer
 mxDoubleEllipse
 mxDragSource
 mxEdgeHandler
 mxEdgeLabelLayout
 mxEdgeStyle
 mxEditor
 mxEditorCodec
 mxEffects
 mxElbowEdgeHandler
 mxEllipse
 mxEvent
 mxEventObject
 mxEventSource
 mxFastOrganicLayout
 mxForm
 mxGenericChangeCodec
 mxGeometry
 mxGeometryChange
 mxGraph
 mxGraphAbstractHierarchyCell
 mxGraphCodec
 mxGraphHandler
 mxGraphHierarchyEdge
 mxGraphHierarchyModel
 mxGraphHierarchyNode
 mxGraphLayout
 mxGraphModel
 mxGraphSelectionModel
 mxGraphView
 mxGraphViewCodec
 mxGuide
 mxHandle
 mxHexagon
 mxHierarchicalLayout
 mxHierarchicalLayoutStage
 mxImage
 mxImageBundle
 mxImageExport
 mxImageShape
 mxKeyHandler
 mxLabel
 mxLayoutManager
 mxLine
 mxLog
 mxMarker
 mxMedianHybridCrossingReduction
 mxMinimumCycleRemover
 mxModelCodec
 mxMorphing
 mxMouseEvent
 mxMultiplicity
 mxObjectCodec
 mxObjectIdentity
 mxOutline
 mxPanningHandler
 mxPanningManager
 mxParallelEdgeLayout
 mxPartitionLayout
 mxPerimeter
 mxPoint
 mxPolyline
 mxPopupMenu
 mxPopupMenuHandler
 mxPrintPreview
 mxRadialTreeLayout
 mxRectangle
 mxRectangleShape
 mxResources
 mxRhombus
 mxRootChange
 mxRootChangeCodec
 mxRubberband
 mxSelectionCellsHandler
 mxSelectionChange
 mxShape
 mxStackLayout
 mxStencil
 mxStencilRegistry
 mxStyleChange
 mxStyleRegistry
 mxStylesheet
 mxStylesheetCodec
 mxSvgCanvas2D
 mxSwimlane
 mxSwimlaneLayout
 mxSwimlaneManager
 mxSwimlaneModel
 mxSwimlaneOrdering
 mxTemporaryCellStates
 mxTerminalChange
 mxTerminalChangeCodec
 mxText
 mxToolbar
 mxTooltipHandler
 mxTriangle
 mxUndoableEdit
 mxUndoManager
 mxUrlConverter
 mxUtils
 mxValueChange
 mxVertexHandler
 mxVisibleChange
 mxVmlCanvas2D
 mxWindow
 mxXmlCanvas2D
 mxXmlRequest
-
A utility class used to track cells whilst sorting occurs on the median values.
Base class for all canvases.
Extends mxShape to implement an actor shape.
Implements a basic animation in JavaScript.
Extends mxShape to implement an arrow shape.
Extends mxShape to implement an new rounded arrow shape with support for waypoints and double arrows.
Manager for automatically saving diagrams.
Cells are the elements of the graph model.
Action to change the attribute of a cell’s user object.
Codec for mxCells.
In-place editor for the graph.
A helper class to highlight cells.
A helper class to process mouse locations and highlight cells.
Extends mxEventSource to implement a graph overlay, represented by an icon and a tooltip.
Implements a mechanism for temporary cell Ids.
Renders cells into a document object model.
Represents the current state of a cell in a given mxGraphView.
Implements a live preview for moving cells.
Event handler that highlights cells.
Action to add or remove a child in a model.
Codec for mxChildChanges.
Extends mxGraphLayout to implement a circluar layout for a given radius.
Bootstrapping mechanism for the mxGraph thin client.
Singleton that implements a clipboard for graph cells.
Extends mxActor to implement a cloud shape.
XML codec for JavaScript object graphs.
Singleton class that acts as a global registry for codecs.
Action to change a cell’s collapsed state in a model.
Extends mxGraphLayout to implement a compact tree (Moen) algorithm.
Allows to compose multiple layouts into a single layout.
Defines an object that contains the constraints about how to connect one side of an edge to its terminal.
Graph event handler that creates new connections.
Extends mxShape to implement a connector shape.
Defines various global constants.
Handles constraints on connection targets.
Sets the horizontal locations of node and edge dummy nodes on each layer.
Action to change the current root in a view.
Extends mxShape to implement an cylinder shape.
Binds keycodes to actionnames in an editor.
Custom codec for configuring mxDefaultKeyHandlers.
Creates popupmenus for mouse events.
Custom codec for configuring mxDefaultPopupMenus.
Toolbar for the 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.
Extends mxShape to implement a double 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.
Graph event handler that reconnects edges and modifies control points and the edge label location.
Extends mxGraphLayout to implement an 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.
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.
Cross-browser DOM event support.
The mxEventObject is a wrapper for all properties of a single event.
Base class for objects that dispatch named events.
Extends mxGraphLayout to implement a fast organic layout algorithm.
A simple class for creating HTML forms.
Codec for mxValueChanges, mxStyleChanges, mxGeometryChanges, mxCollapseChanges and mxVisibleChanges.
Extends mxRectangle to represent the geometry of a cell.
Action to change a cell’s geometry in a model.
Extends mxEventSource to implement a graph component for the browser.
An abstraction of an internal hierarchy node or edge
Codec for mxGraphs.
Graph event handler that handles selection.
An abstraction of a hierarchical edge for the hierarchy layout
Internal model of a hierarchical graph.
An abstraction of a hierarchical edge for the hierarchy layout
Base class for all layout algorithms in mxGraph.
Extends mxEventSource to implement a graph model.
Implements the selection model for a graph.
Extends mxEventSource to implement a view for a graph.
Custom encoder for mxGraphViews.
Implements the alignment of selection cells to other cells in the graph.
Implements a single custom handle for vertices.
Implementation of the hexagon shape.
A hierarchical layout algorithm.
The specific layout interface for hierarchical layouts.
Encapsulates the URL, width and height of an image.
Maps from keys to base64 encoded images or file locations.
Creates a new image export instance to be used with an export canvas.
Extends mxShape to implement an image shape.
Event handler that listens to keystroke events.
Extends mxShape to implement an image shape with a label.
Extends mxShape to implement a horizontal line shape.
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.
An implementation of the first stage of the Sugiyama layout.
Codec for mxGraphModels.
Implements animation for morphing cells.
Base class for all mouse events in mxGraph.
Defines invalid connections along with the error messages that they produce.
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.
Identity for JavaScript objects.
Implements an outline (aka overview) for a graph.
Event handler that pans and creates popupmenus.
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.
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.
Extends mxShape to implement a polyline (a line with multiple points).
Basic popup menu.
Event handler that creates popupmenus.
Implements printing of a diagram across multiple pages.
Extends mxGraphLayout to implement a radial tree algorithm.
Extends mxPoint to implement a 2-dimensional rectangle with double precision coordinates.
Extends mxShape to implement a rectangle shape.
Implements internationalization.
Extends mxShape to implement a rhombus (aka diamond) shape.
Action to change the root in a model.
Codec for mxRootChanges.
Event handler that selects rectangular regions.
An event handler that manages cell handlers and invokes their mouse event processing functions.
Action to change the current root in a view.
Base class for all shapes.
In charge of moving cells after a resize.
Extends mxGraphLayout to create a horizontal or vertical stack of the child vertices.
Implements a generic shape which is based on a XML node as a description.
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.
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.
Codec for mxStylesheets.
Extends mxAbstractCanvas2D to implement a canvas for SVG.
Extends mxShape to implement a swimlane shape.
A 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.
Internal model of a hierarchical graph.
An implementation of the first stage of the Sugiyama layout.
Extends mxPoint to implement a 2-dimensional rectangle with double precision coordinates.
Action to change a terminal in a model.
Codec for mxTerminalChanges.
Extends mxShape to implement a text shape.
Creates a toolbar inside a given DOM node.
Graph event handler that displays tooltips.
Implementation of the triangle shape.
Implements a composite undoable edit.
Implements a command history.
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.
Event handler for resizing cells.
Action to change a cell’s visible state in a model.
Implements a canvas to be used for rendering VML.
Basic window inside a document.
Base class for all canvases.
XML HTTP request wrapper.
+
A utility class used to track cells whilst sorting occurs on the median values.
Base class for all canvases.
Extends mxShape to implement an actor shape.
Implements a basic animation in JavaScript.
Extends mxShape to implement an arrow shape.
Extends mxShape to implement an new rounded arrow shape with support for waypoints and double arrows.
Manager for automatically saving diagrams.
Cells are the elements of the graph model.
Action to change the attribute of a cell’s user object.
Codec for mxCells.
In-place editor for the graph.
A helper class to highlight cells.
A helper class to process mouse locations and highlight cells.
Extends mxEventSource to implement a graph overlay, represented by an icon and a tooltip.
Implements a mechanism for temporary cell Ids.
Renders cells into a document object model.
Represents the current state of a cell in a given mxGraphView.
Implements a live preview for moving cells.
Event handler that highlights cells.
Action to add or remove a child in a model.
Codec for mxChildChanges.
Extends mxGraphLayout to implement a circluar layout for a given radius.
Bootstrapping mechanism for the mxGraph thin client.
Singleton that implements a clipboard for graph cells.
Extends mxActor to implement a cloud shape.
XML codec for JavaScript object graphs.
Singleton class that acts as a global registry for codecs.
Action to change a cell’s collapsed state in a model.
Extends mxGraphLayout to implement a compact tree (Moen) algorithm.
Allows to compose multiple layouts into a single layout.
Defines an object that contains the constraints about how to connect one side of an edge to its terminal.
Graph event handler that creates new connections.
Extends mxShape to implement a connector shape.
Defines various global constants.
Handles constraints on connection targets.
Sets the horizontal locations of node and edge dummy nodes on each layer.
Action to change the current root in a view.
Extends mxShape to implement an cylinder shape.
Binds keycodes to actionnames in an editor.
Custom codec for configuring mxDefaultKeyHandlers.
Creates popupmenus for mouse events.
Custom codec for configuring mxDefaultPopupMenus.
Toolbar for the 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.
Extends mxShape to implement a double 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.
Graph event handler that reconnects edges and modifies control points and the edge label location.
Extends mxGraphLayout to implement an 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.
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.
Cross-browser DOM event support.
The mxEventObject is a wrapper for all properties of a single event.
Base class for objects that dispatch named events.
Extends mxGraphLayout to implement a fast organic layout algorithm.
A simple class for creating HTML forms.
Codec for mxValueChanges, mxStyleChanges, mxGeometryChanges, mxCollapseChanges and mxVisibleChanges.
Extends mxRectangle to represent the geometry of a cell.
Action to change a cell’s geometry in a model.
Extends mxEventSource to implement a graph component for the browser.
An abstraction of an internal hierarchy node or edge
Codec for mxGraphs.
Graph event handler that handles selection.
An abstraction of a hierarchical edge for the hierarchy layout
Internal model of a hierarchical graph.
An abstraction of a hierarchical edge for the hierarchy layout
Base class for all layout algorithms in mxGraph.
Extends mxEventSource to implement a graph model.
Implements the selection model for a graph.
Extends mxEventSource to implement a view for a graph.
Custom encoder for mxGraphViews.
Implements the alignment of selection cells to other cells in the graph.
Implements a single custom handle for vertices.
Implementation of the hexagon shape.
A hierarchical layout algorithm.
The specific layout interface for hierarchical layouts.
Encapsulates the URL, width and height of an image.
Maps from keys to base64 encoded images or file locations.
Creates a new image export instance to be used with an export canvas.
Extends mxShape to implement an image shape.
Event handler that listens to keystroke events.
Extends mxShape to implement an image shape with a label.
Extends mxShape to implement a horizontal line shape.
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.
An implementation of the first stage of the Sugiyama layout.
Codec for mxGraphModels.
Implements animation for morphing cells.
Base class for all mouse events in mxGraph.
Defines invalid connections along with the error messages that they produce.
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.
Identity for JavaScript objects.
Implements an outline (aka overview) for a graph.
Event handler that pans and creates popupmenus.
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.
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.
Extends mxShape to implement a polyline (a line with multiple points).
Basic popup menu.
Event handler that creates popupmenus.
Implements printing of a diagram across multiple pages.
Extends mxGraphLayout to implement a radial tree algorithm.
Extends mxPoint to implement a 2-dimensional rectangle with double precision coordinates.
Extends mxShape to implement a rectangle shape.
Implements internationalization.
Extends mxShape to implement a rhombus (aka diamond) shape.
Action to change the root in a model.
Codec for mxRootChanges.
Event handler that selects rectangular regions.
An event handler that manages cell handlers and invokes their mouse event processing functions.
Action to change the current root in a view.
Base class for all shapes.
Extends mxGraphLayout to create a horizontal or vertical stack of the child vertices.
Implements a generic shape which is based on a XML node as a description.
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.
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.
Codec for mxStylesheets.
Extends mxAbstractCanvas2D to implement a canvas for SVG.
Extends mxShape to implement a swimlane shape.
A 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.
Internal model of a hierarchical graph.
An implementation of the first stage of the Sugiyama layout.
Extends mxPoint to implement a 2-dimensional rectangle with double precision coordinates.
Action to change a terminal in a model.
Codec for mxTerminalChanges.
Extends mxShape to implement a text shape.
Creates a toolbar inside a given DOM node.
Graph event handler that displays tooltips.
Implementation of the triangle shape.
Implements a composite undoable edit.
Implements a command history.
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.
Event handler for resizing cells.
Action to change a cell’s visible state in a model.
Implements a canvas to be used for rendering VML.
Basic window inside a document.
Base class for all canvases.
XML HTTP request wrapper.
@@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Classes2.html b/docs/js-api/index/Classes2.html index 040b5f07b..5a7581366 100644 --- a/docs/js-api/index/Classes2.html +++ b/docs/js-api/index/Classes2.html @@ -11,9 +11,9 @@ if (browserType) {document.write("
");if (browserV -
Class 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
 WeightedCellSorter
+
Class 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
 WeightedCellSorter
-
A utility class used to track cells whilst sorting occurs on the weighted sum of their connected edges.
+
A utility class used to track cells whilst sorting occurs on the weighted sum of their connected edges.
@@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Cookies.html b/docs/js-api/index/Cookies.html index eadbe47ce..e4877d32c 100644 --- a/docs/js-api/index/Cookies.html +++ b/docs/js-api/index/Cookies.html @@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Events.html b/docs/js-api/index/Events.html index 194ddfa6d..a41489766 100644 --- a/docs/js-api/index/Events.html +++ b/docs/js-api/index/Events.html @@ -85,7 +85,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Files.html b/docs/js-api/index/Files.html index c9006d3f2..8dcf2f617 100644 --- a/docs/js-api/index/Files.html +++ b/docs/js-api/index/Files.html @@ -25,7 +25,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Functions.html b/docs/js-api/index/Functions.html index 952fab438..aff68dc9e 100644 --- a/docs/js-api/index/Functions.html +++ b/docs/js-api/index/Functions.html @@ -13,7 +13,7 @@ if (browserType) {document.write("
");if (browserV
Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
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
 addPoints, mxShape
 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, mxCompactTreeLayout
 afterDecode
 afterEncode
 alert, mxUtils
 alignCells, mxGraph
 allowEval, mxStencil
 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,
clip)
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,
active)
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.
mxShape.prototype.addPoints = function(c,
pts,
rounded,
arcSize,
close)
Paints the given points with rounded corners.
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.
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.
Static global switch that specifies if the use of eval is allowed for evaluating text content.
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(cells,
border,
topBorder,
rightBorder,
bottomBorder,
leftBorder)
Shortcut to mxGraph.updateGroupBounds with moveGroup set to true.
mxCompactTreeLayout.prototype.attachParent = function(node,
height)
mxArrow.prototype.augmentBoundingBox = function(bbox)
Augments the bounding box with the edge width and markers.
mxArrowConnector.prototype.augmentBoundingBox = function(bbox)
Augments the bounding box with the edge width and markers.
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,
clip)
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,
active)
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.
mxShape.prototype.addPoints = function(c,
pts,
rounded,
arcSize,
close)
Paints the given points with rounded corners.
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.
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.
Static global switch that specifies if the use of eval is allowed for evaluating text content and images.
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(cells,
border,
topBorder,
rightBorder,
bottomBorder,
leftBorder)
Shortcut to mxGraph.updateGroupBounds with moveGroup set to true.
mxCompactTreeLayout.prototype.attachParent = function(node,
height)
mxArrow.prototype.augmentBoundingBox = function(bbox)
Augments the bounding box with the edge width and markers.
mxArrowConnector.prototype.augmentBoundingBox = function(bbox)
Augments the bounding box with the edge width and markers.
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.
@@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Functions10.html b/docs/js-api/index/Functions10.html index ec8d3e13e..74e212a79 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.
@@ -29,7 +29,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Functions11.html b/docs/js-api/index/Functions11.html index 422aca913..7891bbddf 100644 --- a/docs/js-api/index/Functions11.html +++ b/docs/js-api/index/Functions11.html @@ -11,9 +11,9 @@ if (browserType) {document.write("
");if (browserV -
Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
M
 makeDraggable, mxUtils
 map, mxDictionary
 mark
 markCell, mxCellMarker
 maxChainDfs, mxSwimlaneModel
 MedianCellSorter, MedianCellSorter
 medianPos, mxCoordinateAssignment
 medianRank, mxMedianHybridCrossingReduction
 medianValue, mxMedianHybridCrossingReduction
 medianXValue, mxCoordinateAssignment
 merge, mxCompactTreeLayout
 mergeChildren, mxGraphModel
 minNode, mxCoordinateAssignment
 minPath, mxCoordinateAssignment
 mixedModeHtml, mxShape
 mod, mxUtils
 mouseDown
 mouseMove
 mouseUp
 move, mxGuide
 moveCell
 moveCells
 moveChildren, mxVertexHandler
 moveLabel, mxEdgeHandler
 moveNode, mxCompactTreeLayout
 moveState, mxCellStatePreview
 moveTo
 mxAbstractCanvas2D, mxAbstractCanvas2D
 mxActor, mxActor
 mxAnimation, mxAnimation
 mxArrow, mxArrow
 mxArrowConnector, mxArrowConnector
 mxAutoSaveManager, mxAutoSaveManager
 mxCell, mxCell
 mxCellAttributeChange, mxCellAttributeChange
 mxCellEditor, mxCellEditor
 mxCellHighlight, mxCellHighlight
 mxCellMarker, mxCellMarker
 mxCellOverlay, mxCellOverlay
 mxCellRenderer, mxCellRenderer
 mxCellState, mxCellState
 mxCellStatePreview, mxCellStatePreview
 mxCellTracker, mxCellTracker
 mxChildChange, mxChildChange
 mxCircleLayout, mxCircleLayout
 mxCloud, mxCloud
 mxCodec, mxCodec
 mxCollapseChange, mxCollapseChange
 mxCompactTreeLayout
 mxCompositeLayout, mxCompositeLayout
 mxConnectionConstraint, mxConnectionConstraint
 mxConnectionHandler, mxConnectionHandler
 mxConnector, mxConnector
 mxConstraintHandler, mxConstraintHandler
 mxCoordinateAssignment, mxCoordinateAssignment
 mxCurrentRootChange
 mxCylinder, mxCylinder
 mxDefaultKeyHandler, mxDefaultKeyHandler
 mxDefaultPopupMenu, mxDefaultPopupMenu
 mxDefaultToolbar, mxDefaultToolbar
 mxDivResizer, mxDivResizer
 mxDoubleEllipse, mxDoubleEllipse
 mxDragSource, mxDragSource
 mxEdgeHandler
 mxEdgeLabelLayout, mxEdgeLabelLayout
 mxEditor, mxEditor
 mxEllipse, mxEllipse
 mxEventObject, mxEventObject
 mxEventSource
 mxForm, mxForm
 mxGenericChangeCodec, mxGenericChangeCodec
 mxGeometry, mxGeometry
 mxGeometryChange, mxGeometryChange
 mxGraph, mxGraph
 mxGraphAbstractHierarchyCell, mxGraphAbstractHierarchyCell
 mxGraphHandler, mxGraphHandler
 mxGraphHierarchyEdge, mxGraphHierarchyEdge
 mxGraphHierarchyModel, mxGraphHierarchyModel
 mxGraphHierarchyNode, mxGraphHierarchyNode
 mxGraphLayout, mxGraphLayout
 mxGraphModel, mxGraphModel
 mxGraphSelectionModel, mxGraphSelectionModel
 mxGraphView, mxGraphView
 mxGuide, mxGuide
 mxHandle, mxHandle
 mxHexagon, mxHexagon
 mxHierarchicalLayout, mxHierarchicalLayout
 mxHierarchicalLayoutStage, mxHierarchicalLayoutStage
 mxImage, mxImage
 mxImageExport, mxImageExport
 mxImageShape, mxImageShape
 mxKeyHandler, mxKeyHandler
 mxLabel, mxLabel
 mxLayoutManager, mxLayoutManager
 mxLine, mxLine
 mxMedianHybridCrossingReduction, mxMedianHybridCrossingReduction
 mxMinimumCycleRemover, mxMinimumCycleRemover
 mxMorphing, mxMorphing
 mxMouseEvent, mxMouseEvent
 mxMultiplicity, mxMultiplicity
 mxObjectCodec, mxObjectCodec
 mxOutline, mxOutline
 mxPanningHandler, mxPanningHandler
 mxPartitionLayout, mxPartitionLayout
 mxPoint, mxPoint
 mxPolyline, mxPolyline
 mxPopupMenu, mxPopupMenu
 mxPopupMenuHandler, mxPopupMenuHandler
 mxPrintPreview, mxPrintPreview
 mxRadialTreeLayout, mxRadialTreeLayout
 mxRectangle
 mxRectangleShape, mxRectangleShape
 mxRhombus, mxRhombus
 mxRootChange, mxRootChange
 mxRubberband, mxRubberband
 mxShape, mxShape
 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
 mxArrowConnector, mxArrowConnector
 mxAutoSaveManager, mxAutoSaveManager
 mxCell, mxCell
 mxCellAttributeChange, mxCellAttributeChange
 mxCellEditor, mxCellEditor
 mxCellHighlight, mxCellHighlight
 mxCellMarker, mxCellMarker
 mxCellOverlay, mxCellOverlay
 mxCellRenderer, mxCellRenderer
 mxCellState, mxCellState
 mxCellStatePreview, mxCellStatePreview
 mxCellTracker, mxCellTracker
 mxChildChange, mxChildChange
 mxCircleLayout, mxCircleLayout
 mxCloud, mxCloud
 mxCodec, mxCodec
 mxCollapseChange, mxCollapseChange
 mxCompactTreeLayout
 mxCompositeLayout, mxCompositeLayout
 mxConnectionConstraint, mxConnectionConstraint
 mxConnectionHandler, mxConnectionHandler
 mxConnector, mxConnector
 mxConstraintHandler, mxConstraintHandler
 mxCoordinateAssignment, mxCoordinateAssignment
 mxCurrentRootChange
 mxCylinder, mxCylinder
 mxDefaultKeyHandler, mxDefaultKeyHandler
 mxDefaultPopupMenu, mxDefaultPopupMenu
 mxDefaultToolbar, mxDefaultToolbar
 mxDivResizer, mxDivResizer
 mxDoubleEllipse, mxDoubleEllipse
 mxDragSource, mxDragSource
 mxEdgeHandler
 mxEdgeLabelLayout, mxEdgeLabelLayout
 mxEditor, mxEditor
 mxEllipse, mxEllipse
 mxEventObject, mxEventObject
 mxEventSource
 mxForm, mxForm
 mxGenericChangeCodec, mxGenericChangeCodec
 mxGeometry, mxGeometry
 mxGeometryChange, mxGeometryChange
 mxGraph, mxGraph
 mxGraphAbstractHierarchyCell, mxGraphAbstractHierarchyCell
 mxGraphHandler, mxGraphHandler
 mxGraphHierarchyEdge, mxGraphHierarchyEdge
 mxGraphHierarchyModel, mxGraphHierarchyModel
 mxGraphHierarchyNode, mxGraphHierarchyNode
 mxGraphLayout, mxGraphLayout
 mxGraphModel, mxGraphModel
 mxGraphSelectionModel, mxGraphSelectionModel
 mxGraphView, mxGraphView
 mxGuide, mxGuide
 mxHandle, mxHandle
 mxHexagon, mxHexagon
 mxHierarchicalLayout, mxHierarchicalLayout
 mxHierarchicalLayoutStage, mxHierarchicalLayoutStage
 mxImage, mxImage
 mxImageExport, mxImageExport
 mxImageShape, mxImageShape
 mxKeyHandler, mxKeyHandler
 mxLabel, mxLabel
 mxLayoutManager, mxLayoutManager
 mxLine, mxLine
 mxMedianHybridCrossingReduction, mxMedianHybridCrossingReduction
 mxMinimumCycleRemover, mxMinimumCycleRemover
 mxMorphing, mxMorphing
 mxMouseEvent, mxMouseEvent
 mxMultiplicity, mxMultiplicity
 mxObjectCodec, mxObjectCodec
 mxOutline, mxOutline
 mxPanningHandler, mxPanningHandler
 mxPartitionLayout, mxPartitionLayout
 mxPoint, mxPoint
 mxPolyline, mxPolyline
 mxPopupMenu, mxPopupMenu
 mxPopupMenuHandler, mxPopupMenuHandler
 mxPrintPreview, mxPrintPreview
 mxRadialTreeLayout, mxRadialTreeLayout
 mxRectangle
 mxRectangleShape, mxRectangleShape
 mxRhombus, mxRhombus
 mxRootChange, mxRootChange
 mxRubberband, mxRubberband
 mxShape, mxShape
 mxStackLayout, mxStackLayout
 mxStencil, mxStencil
 mxStyleChange, mxStyleChange
 mxStylesheet, mxStylesheet
 mxSvgCanvas2D, mxSvgCanvas2D
 mxSwimlane, mxSwimlane
 mxSwimlaneLayout, mxSwimlaneLayout
 mxSwimlaneManager, mxSwimlaneManager
 mxSwimlaneModel, mxSwimlaneModel
 mxSwimlaneOrdering, mxSwimlaneOrdering
 mxTerminalChange, mxTerminalChange
 mxText, mxText
 mxToolbar, mxToolbar
 mxTooltipHandler, mxTooltipHandler
 mxTriangle, mxTriangle
 mxUndoableEdit, mxUndoableEdit
 mxUndoManager, mxUndoManager
 mxValueChange, mxValueChange
 mxVertexHandler, mxVertexHandler
 mxVisibleChange, mxVisibleChange
 mxWindow, mxWindow
 mxXmlCanvas2D, mxXmlCanvas2D
 mxXmlRequest, mxXmlRequest
-
makeDraggable: function(element,
graphF,
funct,
dragElement,
dx,
dy,
autoscroll,
scalePreview,
highlightDropTargets,
getDropTarget)
Configures the given DOM element to act as a drag source for the specified graph.
Stores the (key, value) pairs in this dictionary.
Marks the markedState and fires a mark event.
mxCellMarker.prototype.mark = function()
Marks the markedState and fires a mark event.
mxCellMarker.prototype.markCell = function(cell,
color)
Marks the given cell using the given color, or validColor if no color is specified.
mxSwimlaneModel.prototype.maxChainDfs = function(parent,
root,
connectingEdge,
seen,
chainCount)
Performs a depth first search on the internal hierarchy model.
function MedianCellSorter()
Constructs a new median cell sorter.
mxCoordinateAssignment.prototype.medianPos = function(i,
model)
Performs one median positioning sweep in one direction
mxMedianHybridCrossingReduction.prototype.medianRank = function(rankValue,
downwardSweep)
Attempts to minimise the median placement of connected cells on this rank and one of the adjacent ranks
mxMedianHybridCrossingReduction.prototype.medianValue = function(
   connectedCells,
   rankValue
)
Calculates the median rank order positioning for the specified cell using the connected cells on the specified rank.
mxCoordinateAssignment.prototype.medianXValue = function(connectedCells,
rankValue)
Calculates the median position of the connected cell on the specified rank
mxCompactTreeLayout.prototype.merge = function(p1,
p2)
mxGraphModel.prototype.mergeChildren = function(from,
to,
cloneAllEdges)
Merges the children of the given cell into the given target cell inside this model.
mxCoordinateAssignment.prototype.minNode = function(model)
Performs one median positioning sweep in both directions
mxCoordinateAssignment.prototype.minPath = function(graph,
model)
Straightens out chains of virtual nodes where possibleacade to those stored after this layout processing step has completed.
Allow optimization by replacing VML with HTML.
mod: function(n,
m)
Returns the remainder of division of n by m.
mxCellTracker.prototype.mouseDown = function(sender,
me)
Ignores the event.
mxConnectionHandler.prototype.mouseDown = function(sender,
me)
Handles the event by initiating a new connection.
mxDragSource.prototype.mouseDown = function(evt)
Returns the drop target for the given graph and coordinates.
mxEdgeHandler.prototype.mouseDown = function(sender,
me)
Handles the event by checking if a special element of the handler was clicked, in which case the index parameter is non-null.
mxGraphHandler.prototype.mouseDown = function(sender,
me)
Handles the event by selecing the given cell and creating a handle for it.
mxOutline.prototype.mouseDown = function(sender,
me)
Handles the event by starting a translation or zoom.
mxPanningHandler.prototype.mouseDown = function(sender,
me)
Handles the event by initiating the panning.
mxPopupMenuHandler.prototype.mouseDown = function(sender,
me)
Handles the event by initiating the panning.
mxRubberband.prototype.mouseDown = function(sender,
me)
Handles the event by initiating a rubberband selection.
mxSelectionCellsHandler.prototype.mouseDown = function(sender,
me)
Redirects the given event to the handlers.
mxTooltipHandler.prototype.mouseDown = function(sender,
me)
Handles the event by initiating a rubberband selection.
mxVertexHandler.prototype.mouseDown = function(sender,
me)
Handles the event if a handle has been clicked.
mxCellTracker.prototype.mouseMove = function(sender,
me)
Handles the event by highlighting the cell under the mousepointer if it is over the hotspot region of the cell.
mxConnectionHandler.prototype.mouseMove = function(sender,
me)
Handles the event by updating the preview edge or by highlighting a possible source or target terminal.
mxDragSource.prototype.mouseMove = function(evt)
Gets the graph for the given event using getGraphForEvent, updates the currentGraph, calling dragEnter and dragExit on the new and old graph, respectively, and invokes dragOver if currentGraph is not null.
mxEdgeHandler.prototype.mouseMove = function(sender,
me)
Handles the event by updating the preview.
mxGraphHandler.prototype.mouseMove = function(sender,
me)
Handles the event by highlighting possible drop targets and updating the preview.
mxOutline.prototype.mouseMove = function(sender,
me)
Handles the event by previewing the viewrect in graph and updating the rectangle that represents the viewrect in the outline.
mxPanningHandler.prototype.mouseMove = function(sender,
me)
Handles the event by updating the panning on the graph.
mxPopupMenuHandler.prototype.mouseMove = function(sender,
me)
Handles the event by updating the panning on the graph.
mxRubberband.prototype.mouseMove = function(sender,
me)
Handles the event by updating therubberband selection.
mxSelectionCellsHandler.prototype.mouseMove = function(sender,
me)
Redirects the given event to the handlers.
mxTooltipHandler.prototype.mouseMove = function(sender,
me)
Handles the event by updating the rubberband selection.
mxVertexHandler.prototype.mouseMove = function(sender,
me)
Handles the event by updating the preview.
mxCellTracker.prototype.mouseUp = function(sender,
me)
Handles the event by reseting the highlight.
mxConnectionHandler.prototype.mouseUp = function(sender,
me)
Handles the event by inserting the new connection.
mxDragSource.prototype.mouseUp = function(evt)
Processes the mouse up event and invokes drop, dragExit and stopDrag as required.
mxEdgeHandler.prototype.mouseUp = function(sender,
me)
Handles the event to applying the previewed changes on the edge by using moveLabel, connect or changePoints.
mxGraphHandler.prototype.mouseUp = function(sender,
me)
Handles the event by applying the changes to the selection cells.
mxOutline.prototype.mouseUp = function(sender,
me)
Handles the event by applying the translation or zoom to graph.
mxPanningHandler.prototype.mouseUp = function(sender,
me)
Handles the event by setting the translation on the view or showing the popupmenu.
mxPopupMenuHandler.prototype.mouseUp = function(sender,
me)
Handles the event by setting the translation on the view or showing the popupmenu.
mxRubberband.prototype.mouseUp = function(sender,
me)
Handles the event by selecting the region of the rubberband using mxGraph.selectRegion.
mxSelectionCellsHandler.prototype.mouseUp = function(sender,
me)
Redirects the given event to the handlers.
mxTooltipHandler.prototype.mouseUp = function(sender,
me)
Handles the event by resetting the tooltip timer or hiding the existing tooltip.
mxVertexHandler.prototype.mouseUp = function(sender,
me)
Handles the event by applying the changes to the geometry.
mxGuide.prototype.move = function(bounds,
delta,
gridEnabled)
Moves the bounds by the given mxPoint and returnt the snapped point.
mxCompositeLayout.prototype.moveCell = function(cell,
x,
y)
Implements mxGraphLayout.moveCell by calling move on master or the first layout in layouts.
mxGraphLayout.prototype.moveCell = function(cell,
x,
y)
Notified when a cell is being moved in a parent that has automatic layout to update the cell state (eg.
mxPartitionLayout.prototype.moveCell = function(cell,
x,
y)
Implements mxGraphLayout.moveCell.
mxStackLayout.prototype.moveCell = function(cell,
x,
y)
Implements mxGraphLayout.moveCell.
mxGraph.prototype.moveCells = function(cells,
dx,
dy,
clone,
target,
evt)
Moves or clones the specified cells and moves the cells or clones by the given amount, adding them to the optional target cell.
mxGraphHandler.prototype.moveCells = function(cells,
dx,
dy,
clone,
target,
evt)
Moves the given cells by the specified amount.
mxVertexHandler.prototype.moveChildren = function(cell,
dx,
dy)
Moves the children of the given cell by the given vector.
mxEdgeHandler.prototype.moveLabel = function(edgeState,
x,
y)
Changes the coordinates for the label of the given edge.
mxCompactTreeLayout.prototype.moveNode = function(node,
dx,
dy)
Moves the specified node and all of its children by the given amount.
mxCellStatePreview.prototype.moveState = function(state,
dx,
dy,
add,
includeEdges)
mxAbstractCanvas2D.prototype.moveTo = function(x,
y)
Moves the current path the given coordinates.
mxXmlCanvas2D.prototype.moveTo = function(x,
y)
Moves the current path the given point.
function mxAbstractCanvas2D()
Constructs a new abstract canvas.
function mxActor(bounds,
fill,
stroke,
strokewidth)
Constructs a new actor shape.
function mxAnimation(delay)
Constructs an animation.
function mxArrow(points,
fill,
stroke,
strokewidth,
arrowWidth,
spacing,
endSize)
Constructs a new arrow shape.
function mxArrowConnector(points,
fill,
stroke,
strokewidth,
arrowWidth,
spacing,
endSize)
Constructs a new arrow shape.
function mxAutoSaveManager(graph)
Constructs a new automatic layout for the given graph.
function mxCell(value,
geometry,
style)
Constructs a new cell to be used in a graph model.
function mxCellAttributeChange(cell,
attribute,
value)
Constructs a change of a attribute of the DOM node stored as the value of the given mxCell.
function mxCellEditor(graph)
Constructs a new in-place editor for the specified graph.
function mxCellHighlight(graph,
highlightColor,
strokeWidth,
dashed)
Constructs a cell highlight.
function mxCellMarker(graph,
validColor,
invalidColor,
hotspot)
Constructs a new cell marker.
function mxCellOverlay(image,
tooltip,
align,
verticalAlign,
offset,
cursor)
Constructs a new overlay using the given image and tooltip.
function mxCellRenderer()
arrow, rectangle, ellipse, rhombus, image, line, label, cylinder, swimlane, connector, actor and cloud.
function mxCellState(view,
cell,
style)
Constructs a new object that represents the current state of the given cell in the specified view.
function mxCellStatePreview(graph)
Constructs a move preview for the given graph.
function mxCellTracker(graph,
color,
funct)
Constructs an event handler that highlights cells.
function mxChildChange(model,
parent,
child,
index)
Constructs a change of a child in the specified model.
function mxCircleLayout(graph,
radius)
Constructs a new circular layout for the specified radius.
function mxCloud(bounds,
fill,
stroke,
strokewidth)
Constructs a new cloud shape.
function mxCodec(document)
Constructs an XML encoder/decoder for the specified owner document.
function mxCollapseChange(model,
cell,
collapsed)
Constructs a change of a collapsed state in the specified model.
function mxCompactTreeLayout(graph,
horizontal,
invert)
Constructs a new compact tree layout for the specified graph and orientation.
Constructs a new fast organic layout for the specified graph.
Constructs a new fast organic layout for the specified graph.
function mxCompositeLayout(graph,
layouts,
master)
Constructs a new layout using the given layouts.
function mxConnectionConstraint(point,
perimeter)
Constructs a new connection constraint for the given point and boolean arguments.
function mxConnectionHandler(graph,
factoryMethod)
Constructs an event handler that connects vertices using the specified factory method to create the new edges.
function mxConnector(points,
stroke,
strokewidth)
Constructs a new connector shape.
function mxConstraintHandler(graph)
Constructs an new constraint handler.
function mxCoordinateAssignment(layout,
intraCellSpacing,
interRankCellSpacing,
orientation,
initialX,
parallelEdgeSpacing)
Creates a coordinate assignment.
function mxCurrentRootChange(view,
root)
Constructs a change of the current root in the given view.
Constructs a change of the current root in the given view.
function mxCylinder(bounds,
fill,
stroke,
strokewidth)
Constructs a new cylinder shape.
function mxDefaultKeyHandler(editor)
Constructs a new default key handler for the mxEditor.graph in the given mxEditor.
function mxDefaultPopupMenu(config)
Constructs a new popupmenu-factory based on given configuration.
function mxDefaultToolbar(container,
editor)
Constructs a new toolbar for the given container and editor.
function mxDivResizer(div,
container)
Constructs an object that maintains the size of a div element when the window is being resized.
function mxDoubleEllipse(bounds,
fill,
stroke,
strokewidth)
Constructs a new ellipse shape.
function mxDragSource(element,
dropHandler)
Constructs a new drag source for the given element.
function mxEdgeHandler(state)
Constructs an edge handler for the specified mxCellState.
Constructs an edge handler for the specified mxCellState.
function mxEdgeLabelLayout(graph,
radius)
Constructs a new edge label layout.
function mxEditor(config)
Constructs a new editor.
function mxEllipse(bounds,
fill,
stroke,
strokewidth)
Constructs a new ellipse shape.
function mxEventObject(name)
Constructs a new event object with the specified name.
Constructs a new dictionary which allows object to be used as keys.
function mxEventSource(eventSource)
Constructs a new event source.
function mxForm(className)
Creates a HTML table using the specified classname.
var mxGenericChangeCodec = function(obj,
variable)
Factory function that creates a mxObjectCodec for the specified change and fieldname.
function mxGeometry(x,
y,
width,
height)
Constructs a new object to describe the size and location of a vertex or the control points of an edge.
function mxGeometryChange(model,
cell,
geometry)
Constructs a change of a geometry in the specified model.
function mxGraph(container,
model,
renderHint,
stylesheet)
Constructs a new mxGraph in the specified container.
function mxGraphAbstractHierarchyCell()
Constructs a new hierarchical layout algorithm.
function mxGraphHandler(graph)
Constructs an event handler that creates handles for the selection cells.
function mxGraphHierarchyEdge(edges)
Constructs a hierarchy edge
function mxGraphHierarchyModel(layout,
vertices,
roots,
parent,
tightenToSource)
Creates an internal ordered graph model using the vertices passed in.
function mxGraphHierarchyNode(cell)
Constructs an internal node to represent the specified real graph cell
function mxGraphLayout(graph)
Constructs a new layout using the given layouts.
function mxGraphModel(root)
Constructs a new graph model.
function mxGraphSelectionModel(graph)
Constructs a new graph selection model for the given mxGraph.
function mxGraphView(graph)
Constructs a new view for the given mxGraph.
function mxGuide(graph,
states)
Constructs a new guide object.
function mxHandle(state,
cursor,
image)
Constructs a new handle for the given state.
function mxHexagon()
Constructs a new hexagon shape.
function mxHierarchicalLayout(graph,
orientation,
deterministic)
Constructs a new hierarchical layout algorithm.
function mxHierarchicalLayoutStage()
Constructs a new hierarchical layout stage.
function mxImage(src,
width,
height)
Constructs a new image.
function mxImageExport()
Constructs a new image export.
function mxImageShape(bounds,
image,
fill,
stroke,
strokewidth)
Constructs a new image shape.
function mxKeyHandler(graph,
target)
Constructs an event handler that executes functions bound to specific keystrokes.
function mxLabel(bounds,
fill,
stroke,
strokewidth)
Constructs a new label shape.
function mxLayoutManager(graph)
Constructs a new automatic layout for the given graph.
function mxLine(bounds,
stroke,
strokewidth)
Constructs a new line shape.
function mxMedianHybridCrossingReduction(layout)
Creates a coordinate assignment.
function mxMinimumCycleRemover(layout)
Creates a cycle remover for the given internal model.
function mxMorphing(graph,
steps,
ease,
delay)
Constructs an animation.
function mxMouseEvent(evt,
state)
Constructs a new event object for the given arguments.
function mxMultiplicity(source,
type,
attr,
value,
min,
max,
validNeighbors,
countError,
typeError,
validNeighborsAllowed)
Instantiate class mxMultiplicity in order to describe allowed connections in a graph.
function mxObjectCodec(template,
exclude,
idrefs,
mapping)
Constructs a new codec for the specified template object.
function mxOutline(source,
container)
Constructs a new outline for the specified graph inside the given container.
Constructs an event handler that creates a mxPopupMenu and pans the graph.
function mxPartitionLayout(graph,
horizontal,
spacing,
border)
Constructs a new stack layout layout for the specified graph, spacing, orientation and offset.
function mxPoint(x,
y)
Constructs a new point for the optional x and y coordinates.
function mxPolyline(points,
stroke,
strokewidth)
Constructs a new polyline shape.
Constructs a popupmenu.
function mxPopupMenuHandler(graph,
factoryMethod)
Constructs an event handler that creates a mxPopupMenu.
function mxPrintPreview(graph,
scale,
pageFormat,
border,
x0,
y0,
borderColor,
title,
pageSelector)
Constructs a new print preview for the given parameters.
function mxRadialTreeLayout(graph)
Constructs a new radial tree layout for the specified graph
function mxRectangle(x,
y,
width,
height)
Constructs a new rectangle for the optional parameters.
Constructs a new rectangle for the optional parameters.
function mxRectangleShape(bounds,
fill,
stroke,
strokewidth)
Constructs a new rectangle shape.
function mxRhombus(bounds,
fill,
stroke,
strokewidth)
Constructs a new rhombus shape.
function mxRootChange(model,
root)
Constructs a change of the root in the specified model.
function mxRubberband(graph)
Constructs an event handler that selects rectangular regions in the graph using rubberband selection.
function mxShape(stencil)
Constructs a new shape.
function 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,
textDirection)
Constructs a new text shape.
function mxToolbar(container)
Constructs a toolbar in the specified container.
function mxTooltipHandler(graph,
delay)
Constructs an event handler that displays tooltips with the specified delay (in milliseconds).
function mxTriangle()
Constructs a new triangle shape.
function mxUndoableEdit(source,
significant)
Constructs a new undoable edit for the given source.
function mxUndoManager(size)
Constructs a new undo manager with the given history size.
function mxValueChange(model,
cell,
value)
Constructs a change of a user object in the specified model.
function mxVertexHandler(state)
Constructs an event handler that allows to resize vertices and groups.
function mxVisibleChange(model,
cell,
visible)
Constructs a change of a visible state in the specified model.
function mxWindow(title,
content,
x,
y,
width,
height,
minimizable,
movable,
replaceNode,
style)
Constructs a new window with the given dimension and title to display the specified content.
function mxXmlCanvas2D(root)
Constructs a new abstract canvas.
function mxXmlRequest(url,
params,
method,
async,
username,
password)
Constructs an XML HTTP request.
+
makeDraggable: function(element,
graphF,
funct,
dragElement,
dx,
dy,
autoscroll,
scalePreview,
highlightDropTargets,
getDropTarget)
Configures the given DOM element to act as a drag source for the specified graph.
Stores the (key, value) pairs in this dictionary.
Marks the markedState and fires a mark event.
mxCellMarker.prototype.mark = function()
Marks the markedState and fires a mark event.
mxCellMarker.prototype.markCell = function(cell,
color)
Marks the given cell using the given color, or validColor if no color is specified.
mxSwimlaneModel.prototype.maxChainDfs = function(parent,
root,
connectingEdge,
seen,
chainCount)
Performs a depth first search on the internal hierarchy model.
function MedianCellSorter()
Constructs a new median cell sorter.
mxCoordinateAssignment.prototype.medianPos = function(i,
model)
Performs one median positioning sweep in one direction
mxMedianHybridCrossingReduction.prototype.medianRank = function(rankValue,
downwardSweep)
Attempts to minimise the median placement of connected cells on this rank and one of the adjacent ranks
mxMedianHybridCrossingReduction.prototype.medianValue = function(
   connectedCells,
   rankValue
)
Calculates the median rank order positioning for the specified cell using the connected cells on the specified rank.
mxCoordinateAssignment.prototype.medianXValue = function(connectedCells,
rankValue)
Calculates the median position of the connected cell on the specified rank
mxCompactTreeLayout.prototype.merge = function(p1,
p2)
mxGraphModel.prototype.mergeChildren = function(from,
to,
cloneAllEdges)
Merges the children of the given cell into the given target cell inside this model.
mxCoordinateAssignment.prototype.minNode = function(model)
Performs one median positioning sweep in both directions
mxCoordinateAssignment.prototype.minPath = function(graph,
model)
Straightens out chains of virtual nodes where possibleacade to those stored after this layout processing step has completed.
Allow optimization by replacing VML with HTML.
mod: function(n,
m)
Returns the remainder of division of n by m.
mxCellTracker.prototype.mouseDown = function(sender,
me)
Ignores the event.
mxConnectionHandler.prototype.mouseDown = function(sender,
me)
Handles the event by initiating a new connection.
mxDragSource.prototype.mouseDown = function(evt)
Returns the drop target for the given graph and coordinates.
mxEdgeHandler.prototype.mouseDown = function(sender,
me)
Handles the event by checking if a special element of the handler was clicked, in which case the index parameter is non-null.
mxGraphHandler.prototype.mouseDown = function(sender,
me)
Handles the event by selecing the given cell and creating a handle for it.
mxOutline.prototype.mouseDown = function(sender,
me)
Handles the event by starting a translation or zoom.
mxPanningHandler.prototype.mouseDown = function(sender,
me)
Handles the event by initiating the panning.
mxPopupMenuHandler.prototype.mouseDown = function(sender,
me)
Handles the event by initiating the panning.
mxRubberband.prototype.mouseDown = function(sender,
me)
Handles the event by initiating a rubberband selection.
mxSelectionCellsHandler.prototype.mouseDown = function(sender,
me)
Redirects the given event to the handlers.
mxTooltipHandler.prototype.mouseDown = function(sender,
me)
Handles the event by initiating a rubberband selection.
mxVertexHandler.prototype.mouseDown = function(sender,
me)
Handles the event if a handle has been clicked.
mxCellTracker.prototype.mouseMove = function(sender,
me)
Handles the event by highlighting the cell under the mousepointer if it is over the hotspot region of the cell.
mxConnectionHandler.prototype.mouseMove = function(sender,
me)
Handles the event by updating the preview edge or by highlighting a possible source or target terminal.
mxDragSource.prototype.mouseMove = function(evt)
Gets the graph for the given event using getGraphForEvent, updates the currentGraph, calling dragEnter and dragExit on the new and old graph, respectively, and invokes dragOver if currentGraph is not null.
mxEdgeHandler.prototype.mouseMove = function(sender,
me)
Handles the event by updating the preview.
mxGraphHandler.prototype.mouseMove = function(sender,
me)
Handles the event by highlighting possible drop targets and updating the preview.
mxOutline.prototype.mouseMove = function(sender,
me)
Handles the event by previewing the viewrect in graph and updating the rectangle that represents the viewrect in the outline.
mxPanningHandler.prototype.mouseMove = function(sender,
me)
Handles the event by updating the panning on the graph.
mxPopupMenuHandler.prototype.mouseMove = function(sender,
me)
Handles the event by updating the panning on the graph.
mxRubberband.prototype.mouseMove = function(sender,
me)
Handles the event by updating therubberband selection.
mxSelectionCellsHandler.prototype.mouseMove = function(sender,
me)
Redirects the given event to the handlers.
mxTooltipHandler.prototype.mouseMove = function(sender,
me)
Handles the event by updating the rubberband selection.
mxVertexHandler.prototype.mouseMove = function(sender,
me)
Handles the event by updating the preview.
mxCellTracker.prototype.mouseUp = function(sender,
me)
Handles the event by reseting the highlight.
mxConnectionHandler.prototype.mouseUp = function(sender,
me)
Handles the event by inserting the new connection.
mxDragSource.prototype.mouseUp = function(evt)
Processes the mouse up event and invokes drop, dragExit and stopDrag as required.
mxEdgeHandler.prototype.mouseUp = function(sender,
me)
Handles the event to applying the previewed changes on the edge by using moveLabel, connect or changePoints.
mxGraphHandler.prototype.mouseUp = function(sender,
me)
Handles the event by applying the changes to the selection cells.
mxOutline.prototype.mouseUp = function(sender,
me)
Handles the event by applying the translation or zoom to graph.
mxPanningHandler.prototype.mouseUp = function(sender,
me)
Handles the event by setting the translation on the view or showing the popupmenu.
mxPopupMenuHandler.prototype.mouseUp = function(sender,
me)
Handles the event by setting the translation on the view or showing the popupmenu.
mxRubberband.prototype.mouseUp = function(sender,
me)
Handles the event by selecting the region of the rubberband using mxGraph.selectRegion.
mxSelectionCellsHandler.prototype.mouseUp = function(sender,
me)
Redirects the given event to the handlers.
mxTooltipHandler.prototype.mouseUp = function(sender,
me)
Handles the event by resetting the tooltip timer or hiding the existing tooltip.
mxVertexHandler.prototype.mouseUp = function(sender,
me)
Handles the event by applying the changes to the geometry.
mxGuide.prototype.move = function(bounds,
delta,
gridEnabled)
Moves the bounds by the given mxPoint and returnt the snapped point.
mxCompositeLayout.prototype.moveCell = function(cell,
x,
y)
Implements mxGraphLayout.moveCell by calling move on master or the first layout in layouts.
mxGraphLayout.prototype.moveCell = function(cell,
x,
y)
Notified when a cell is being moved in a parent that has automatic layout to update the cell state (eg.
mxPartitionLayout.prototype.moveCell = function(cell,
x,
y)
Implements mxGraphLayout.moveCell.
mxStackLayout.prototype.moveCell = function(cell,
x,
y)
Implements mxGraphLayout.moveCell.
mxGraph.prototype.moveCells = function(cells,
dx,
dy,
clone,
target,
evt)
Moves or clones the specified cells and moves the cells or clones by the given amount, adding them to the optional target cell.
mxGraphHandler.prototype.moveCells = function(cells,
dx,
dy,
clone,
target,
evt)
Moves the given cells by the specified amount.
mxVertexHandler.prototype.moveChildren = function(cell,
dx,
dy)
Moves the children of the given cell by the given vector.
mxEdgeHandler.prototype.moveLabel = function(edgeState,
x,
y)
Changes the coordinates for the label of the given edge.
mxCompactTreeLayout.prototype.moveNode = function(node,
dx,
dy)
Moves the specified node and all of its children by the given amount.
mxCellStatePreview.prototype.moveState = function(state,
dx,
dy,
add,
includeEdges)
mxAbstractCanvas2D.prototype.moveTo = function(x,
y)
Moves the current path the given coordinates.
mxXmlCanvas2D.prototype.moveTo = function(x,
y)
Moves the current path the given point.
function mxAbstractCanvas2D()
Constructs a new abstract canvas.
function mxActor(bounds,
fill,
stroke,
strokewidth)
Constructs a new actor shape.
function mxAnimation(delay)
Constructs an animation.
function mxArrow(points,
fill,
stroke,
strokewidth,
arrowWidth,
spacing,
endSize)
Constructs a new arrow shape.
function mxArrowConnector(points,
fill,
stroke,
strokewidth,
arrowWidth,
spacing,
endSize)
Constructs a new arrow shape.
function mxAutoSaveManager(graph)
Constructs a new automatic layout for the given graph.
function mxCell(value,
geometry,
style)
Constructs a new cell to be used in a graph model.
function mxCellAttributeChange(cell,
attribute,
value)
Constructs a change of a attribute of the DOM node stored as the value of the given mxCell.
function mxCellEditor(graph)
Constructs a new in-place editor for the specified graph.
function mxCellHighlight(graph,
highlightColor,
strokeWidth,
dashed)
Constructs a cell highlight.
function mxCellMarker(graph,
validColor,
invalidColor,
hotspot)
Constructs a new cell marker.
function mxCellOverlay(image,
tooltip,
align,
verticalAlign,
offset,
cursor)
Constructs a new overlay using the given image and tooltip.
function mxCellRenderer()
arrow, rectangle, ellipse, rhombus, image, line, label, cylinder, swimlane, connector, actor and cloud.
function mxCellState(view,
cell,
style)
Constructs a new object that represents the current state of the given cell in the specified view.
function mxCellStatePreview(graph)
Constructs a move preview for the given graph.
function mxCellTracker(graph,
color,
funct)
Constructs an event handler that highlights cells.
function mxChildChange(model,
parent,
child,
index)
Constructs a change of a child in the specified model.
function mxCircleLayout(graph,
radius)
Constructs a new circular layout for the specified radius.
function mxCloud(bounds,
fill,
stroke,
strokewidth)
Constructs a new cloud shape.
function mxCodec(document)
Constructs an XML encoder/decoder for the specified owner document.
function mxCollapseChange(model,
cell,
collapsed)
Constructs a change of a collapsed state in the specified model.
function mxCompactTreeLayout(graph,
horizontal,
invert)
Constructs a new compact tree layout for the specified graph and orientation.
Constructs a new fast organic layout for the specified graph.
Constructs a new fast organic layout for the specified graph.
function mxCompositeLayout(graph,
layouts,
master)
Constructs a new layout using the given layouts.
function mxConnectionConstraint(point,
perimeter)
Constructs a new connection constraint for the given point and boolean arguments.
function mxConnectionHandler(graph,
factoryMethod)
Constructs an event handler that connects vertices using the specified factory method to create the new edges.
function mxConnector(points,
stroke,
strokewidth)
Constructs a new connector shape.
function mxConstraintHandler(graph)
Constructs an new constraint handler.
function mxCoordinateAssignment(layout,
intraCellSpacing,
interRankCellSpacing,
orientation,
initialX,
parallelEdgeSpacing)
Creates a coordinate assignment.
function mxCurrentRootChange(view,
root)
Constructs a change of the current root in the given view.
Constructs a change of the current root in the given view.
function mxCylinder(bounds,
fill,
stroke,
strokewidth)
Constructs a new cylinder shape.
function mxDefaultKeyHandler(editor)
Constructs a new default key handler for the mxEditor.graph in the given mxEditor.
function mxDefaultPopupMenu(config)
Constructs a new popupmenu-factory based on given configuration.
function mxDefaultToolbar(container,
editor)
Constructs a new toolbar for the given container and editor.
function mxDivResizer(div,
container)
Constructs an object that maintains the size of a div element when the window is being resized.
function mxDoubleEllipse(bounds,
fill,
stroke,
strokewidth)
Constructs a new ellipse shape.
function mxDragSource(element,
dropHandler)
Constructs a new drag source for the given element.
function mxEdgeHandler(state)
Constructs an edge handler for the specified mxCellState.
Constructs an edge handler for the specified mxCellState.
function mxEdgeLabelLayout(graph,
radius)
Constructs a new edge label layout.
function mxEditor(config)
Constructs a new editor.
function mxEllipse(bounds,
fill,
stroke,
strokewidth)
Constructs a new ellipse shape.
function mxEventObject(name)
Constructs a new event object with the specified name.
Constructs a new dictionary which allows object to be used as keys.
function mxEventSource(eventSource)
Constructs a new event source.
function mxForm(className)
Creates a HTML table using the specified classname.
var mxGenericChangeCodec = function(obj,
variable)
Factory function that creates a mxObjectCodec for the specified change and fieldname.
function mxGeometry(x,
y,
width,
height)
Constructs a new object to describe the size and location of a vertex or the control points of an edge.
function mxGeometryChange(model,
cell,
geometry)
Constructs a change of a geometry in the specified model.
function mxGraph(container,
model,
renderHint,
stylesheet)
Constructs a new mxGraph in the specified container.
function mxGraphAbstractHierarchyCell()
Constructs a new hierarchical layout algorithm.
function mxGraphHandler(graph)
Constructs an event handler that creates handles for the selection cells.
function mxGraphHierarchyEdge(edges)
Constructs a hierarchy edge
function mxGraphHierarchyModel(layout,
vertices,
roots,
parent,
tightenToSource)
Creates an internal ordered graph model using the vertices passed in.
function mxGraphHierarchyNode(cell)
Constructs an internal node to represent the specified real graph cell
function mxGraphLayout(graph)
Constructs a new layout using the given layouts.
function mxGraphModel(root)
Constructs a new graph model.
function mxGraphSelectionModel(graph)
Constructs a new graph selection model for the given mxGraph.
function mxGraphView(graph)
Constructs a new view for the given mxGraph.
function mxGuide(graph,
states)
Constructs a new guide object.
function mxHandle(state,
cursor,
image)
Constructs a new handle for the given state.
function mxHexagon()
Constructs a new hexagon shape.
function mxHierarchicalLayout(graph,
orientation,
deterministic)
Constructs a new hierarchical layout algorithm.
function mxHierarchicalLayoutStage()
Constructs a new hierarchical layout stage.
function mxImage(src,
width,
height)
Constructs a new image.
function mxImageExport()
Constructs a new image export.
function mxImageShape(bounds,
image,
fill,
stroke,
strokewidth)
Constructs a new image shape.
function mxKeyHandler(graph,
target)
Constructs an event handler that executes functions bound to specific keystrokes.
function mxLabel(bounds,
fill,
stroke,
strokewidth)
Constructs a new label shape.
function mxLayoutManager(graph)
Constructs a new automatic layout for the given graph.
function mxLine(bounds,
stroke,
strokewidth)
Constructs a new line shape.
function mxMedianHybridCrossingReduction(layout)
Creates a coordinate assignment.
function mxMinimumCycleRemover(layout)
Creates a cycle remover for the given internal model.
function mxMorphing(graph,
steps,
ease,
delay)
Constructs an animation.
function mxMouseEvent(evt,
state)
Constructs a new event object for the given arguments.
function mxMultiplicity(source,
type,
attr,
value,
min,
max,
validNeighbors,
countError,
typeError,
validNeighborsAllowed)
Instantiate class mxMultiplicity in order to describe allowed connections in a graph.
function mxObjectCodec(template,
exclude,
idrefs,
mapping)
Constructs a new codec for the specified template object.
function mxOutline(source,
container)
Constructs a new outline for the specified graph inside the given container.
Constructs an event handler that creates a mxPopupMenu and pans the graph.
function mxPartitionLayout(graph,
horizontal,
spacing,
border)
Constructs a new stack layout layout for the specified graph, spacing, orientation and offset.
function mxPoint(x,
y)
Constructs a new point for the optional x and y coordinates.
function mxPolyline(points,
stroke,
strokewidth)
Constructs a new polyline shape.
Constructs a popupmenu.
function mxPopupMenuHandler(graph,
factoryMethod)
Constructs an event handler that creates a mxPopupMenu.
function mxPrintPreview(graph,
scale,
pageFormat,
border,
x0,
y0,
borderColor,
title,
pageSelector)
Constructs a new print preview for the given parameters.
function mxRadialTreeLayout(graph)
Constructs a new radial tree layout for the specified graph
function mxRectangle(x,
y,
width,
height)
Constructs a new rectangle for the optional parameters.
Constructs a new rectangle for the optional parameters.
function mxRectangleShape(bounds,
fill,
stroke,
strokewidth)
Constructs a new rectangle shape.
function mxRhombus(bounds,
fill,
stroke,
strokewidth)
Constructs a new rhombus shape.
function mxRootChange(model,
root)
Constructs a change of the root in the specified model.
function mxRubberband(graph)
Constructs an event handler that selects rectangular regions in the graph using rubberband selection.
function mxShape(stencil)
Constructs a new shape.
function mxStackLayout(graph,
horizontal,
spacing,
x0,
y0,
border)
Constructs a new stack layout layout for the specified graph, spacing, orientation and offset.
function mxStencil(desc)
Constructs a new generic shape by setting desc to the given XML node and invoking parseDescription and parseConstraints.
function mxStyleChange(model,
cell,
style)
Constructs a change of a style in the specified model.
function mxStylesheet()
Constructs a new stylesheet and assigns default styles.
function mxSvgCanvas2D(root,
styleEnabled)
Constructs a new SVG canvas.
function mxSwimlane(bounds,
fill,
stroke,
strokewidth)
Constructs a new swimlane shape.
function mxSwimlaneLayout(graph,
orientation,
deterministic)
Constructs a new hierarchical layout algorithm.
function mxSwimlaneManager(graph,
horizontal,
addEnabled,
resizeEnabled)
Constructs a new swimlane manager for the given graph.
function mxSwimlaneModel(layout,
vertices,
roots,
parent,
tightenToSource)
Creates an internal ordered graph model using the vertices passed in.
function mxSwimlaneOrdering(layout)
Creates a cycle remover for the given internal model.
function mxTerminalChange(model,
cell,
terminal,
source)
Constructs a change of a terminal in the specified model.
function mxText(value,
bounds,
align,
valign,
color,
family,
size,
fontStyle,
spacing,
spacingTop,
spacingRight,
spacingBottom,
spacingLeft,
horizontal,
background,
border,
wrap,
clipped,
overflow,
labelPadding,
textDirection)
Constructs a new text shape.
function mxToolbar(container)
Constructs a toolbar in the specified container.
function mxTooltipHandler(graph,
delay)
Constructs an event handler that displays tooltips with the specified delay (in milliseconds).
function mxTriangle()
Constructs a new triangle shape.
function mxUndoableEdit(source,
significant)
Constructs a new undoable edit for the given source.
function mxUndoManager(size)
Constructs a new undo manager with the given history size.
function mxValueChange(model,
cell,
value)
Constructs a change of a user object in the specified model.
function mxVertexHandler(state)
Constructs an event handler that allows to resize vertices and groups.
function mxVisibleChange(model,
cell,
visible)
Constructs a change of a visible state in the specified model.
function mxWindow(title,
content,
x,
y,
width,
height,
minimizable,
movable,
replaceNode,
style)
Constructs a new window with the given dimension and title to display the specified content.
function mxXmlCanvas2D(root)
Constructs a new abstract canvas.
function mxXmlRequest(url,
params,
method,
async,
username,
password)
Constructs an XML HTTP request.
@@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Functions12.html b/docs/js-api/index/Functions12.html index 00144bab0..328e6d880 100644 --- a/docs/js-api/index/Functions12.html +++ b/docs/js-api/index/Functions12.html @@ -11,13 +11,13 @@ if (browserType) {document.write("
");if (browserV -
Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
N
 notify, mxUndoableEdit
O
 offset, mxCompactTreeLayout
 onEncode, mxRootChangeCodec
 onInit
 open
 orderCells, mxGraph
 OrthConnector, mxEdgeStyle
 outline, mxOutline
+
Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
N
 notify, mxUndoableEdit
O
 offset, mxCompactTreeLayout
 onEncode, mxRootChangeCodec
 onInit
 open
 orderCells, mxGraph
 OrthConnector, mxEdgeStyle
 outline, mxOutline
-
mxUndoableEdit.prototype.notify = function()
Hook to notify any listeners of the changes after an undo or redo has been carried out.
+
mxUndoableEdit.prototype.notify = function()
Hook to notify any listeners of the changes after an undo or redo has been carried out.
-
mxCompactTreeLayout.prototype.offset = function(p1,
p2,
a1,
a2,
b1,
b2)
Encodes the child recursively.
Called from within the constructor.
Called from within the constructor.
mxEditor.prototype.open = function (filename)
Opens the specified file synchronously and parses it using readGraphModel.
mxPrintPreview.prototype.open = function(css)
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.
@@ -25,7 +25,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Functions13.html b/docs/js-api/index/Functions13.html index ebbec2265..b9db5aaac 100644 --- a/docs/js-api/index/Functions13.html +++ b/docs/js-api/index/Functions13.html @@ -11,9 +11,9 @@ if (browserType) {document.write("
");if (browserV -
Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
P
 paint
 paintBackground
 paintEdgeShape
 paintForeground
 paintGlassEffect, mxShape
 paintImage, mxLabel
 paintIndicator, mxLabel
 paintLine, mxPolyline
 paintRoundedSwimlane, mxSwimlane
 paintSwimlane, mxSwimlane
 paintVertexShape
 panGraph
 para, mxUtils
 parentForCellChanged, mxGraphModel
 parse, mxResources
 parseConstraint, mxStencil
 parseConstraints, mxStencil
 parseDescription, mxStencil
 parseXml, mxUtils
 paste, mxClipboard
 placeLabels, mxEdgeLabelLayout
 placementStage
 plainText, mxVmlCanvas2D
 popup
 positionChanged, mxHandle
 post, mxUtils
 postConfigureShape, mxCellRenderer
 postDiagram, mxEditor
 postProcessCellStyle, mxGraph
 print, mxPrintPreview
 printScreen, mxUtils
 process, mxCellMarker
 processChange, mxGraph
 processEvent, mxHandle
 processInclude, mxObjectCodec
 processReversedEdge, mxCoordinateAssignment
 prompt, mxUtils
 ptLineDist, mxUtils
 ptSegDistSq, mxUtils
 put, mxDictionary
 putCellStyle, mxStylesheet
 putDefaultEdgeStyle, mxStylesheet
 putDefaultVertexStyle, mxStylesheet
 putImage, mxImageBundle
 putObject, mxCodec
 putValue, mxStyleRegistry
+
Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
P
 paint
 paintBackground
 paintEdgeShape
 paintForeground
 paintGlassEffect, mxShape
 paintImage, mxLabel
 paintIndicator, mxLabel
 paintLine, mxPolyline
 paintRoundedSwimlane, mxSwimlane
 paintSwimlane, mxSwimlane
 paintVertexShape
 panGraph
 para, mxUtils
 parentForCellChanged, mxGraphModel
 parse, mxResources
 parseConstraint, mxStencil
 parseConstraints, mxStencil
 parseDescription, mxStencil
 parseXml, mxUtils
 paste, mxClipboard
 placeLabels, mxEdgeLabelLayout
 placementStage
 plainText, mxVmlCanvas2D
 popup
 positionChanged, mxHandle
 post, mxUtils
 postConfigureShape, mxCellRenderer
 postDiagram, mxEditor
 postProcessCellStyle, mxGraph
 print, mxPrintPreview
 printScreen, mxUtils
 process, mxCellMarker
 processChange, mxGraph
 processEvent, mxHandle
 processInclude, mxObjectCodec
 processReversedEdge, mxCoordinateAssignment
 prompt, mxUtils
 ptLineDist, mxUtils
 ptSegDistSq, mxUtils
 put, mxDictionary
 putCellStyle, mxStylesheet
 putDefaultEdgeStyle, mxStylesheet
 putDefaultVertexStyle, mxStylesheet
 putImage, mxImageBundle
 putObject, mxCodec
 putValue, mxStyleRegistry
-
mxShape.prototype.paint = function(c)
Generic rendering code.
mxText.prototype.paint = function(c)
Generic rendering code.
mxDoubleEllipse.prototype.paintBackground = function(c,
x,
y,
w,
h)
Paints the background.
mxRectangleShape.prototype.paintBackground = function(c,
x,
y,
w,
h)
Generic background painting implementation.
mxShape.prototype.paintBackground = function(c,
x,
y,
w,
h)
Hook for subclassers.
mxArrow.prototype.paintEdgeShape = function(c,
pts)
Paints the line shape.
mxArrowConnector.prototype.paintEdgeShape = function(c,
pts)
Paints the line shape.
mxConnector.prototype.paintEdgeShape = function(c,
pts)
Paints the line shape.
mxPolyline.prototype.paintEdgeShape = function(c,
pts)
Paints the line shape.
mxShape.prototype.paintEdgeShape = function(c,
pts)
Hook for subclassers.
mxDoubleEllipse.prototype.paintForeground = function(c,
x,
y,
w,
h)
Paints the foreground.
mxLabel.prototype.paintForeground = function(c,
x,
y,
w,
h)
Generic background painting implementation.
mxRectangleShape.prototype.paintForeground = function(c,
x,
y,
w,
h)
Generic background painting implementation.
mxShape.prototype.paintForeground = function(c,
x,
y,
w,
h)
Hook for subclassers.
mxShape.prototype.paintGlassEffect = function(c,
x,
y,
w,
h,
arc)
Paints the glass gradient effect.
mxLabel.prototype.paintImage = function(c,
x,
y,
w,
h)
Generic background painting implementation.
mxLabel.prototype.paintIndicator = function(c,
x,
y,
w,
h)
Generic background painting implementation.
mxPolyline.prototype.paintLine = function(c,
pts,
rounded)
Paints the line shape.
mxSwimlane.prototype.paintRoundedSwimlane = function(c,
x,
y,
w,
h,
start,
r,
fill,
swimlaneLine)
Paints the swimlane vertex shape.
mxSwimlane.prototype.paintSwimlane = function(c,
x,
y,
w,
h,
start,
fill,
swimlaneLine)
Paints the swimlane vertex shape.
mxActor.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Redirects to redrawPath for subclasses to work.
mxCylinder.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Redirects to redrawPath for subclasses to work.
mxEllipse.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Paints the ellipse shape.
mxImageShape.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Generic background painting implementation.
mxLine.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Redirects to redrawPath for subclasses to work.
mxRhombus.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Generic painting implementation.
mxShape.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Paints the vertex shape.
Paints the swimlane vertex shape.
mxGraph.prototype.panGraph = function(dx,
dy)
Shifts the graph display by the given amount.
mxPanningHandler.prototype.panGraph = function(dx,
dy)
Pans graph by the given amount.
para: function(parent,
text)
Appends a new paragraph with the given text to the specified parent and returns the paragraph.
mxGraphModel.prototype.parentForCellChanged = function(cell,
parent,
index)
Inner callback to update the parent of a cell using mxCell.insert on the parent and return the previous parent.
parse: function(text)
Parses the key, value pairs in the specified text and stores them as local resources.
mxStencil.prototype.parseConstraint = function(node)
Parses the given XML node and returns its mxConnectionConstraint.
mxStencil.prototype.parseConstraints = function()
Reads the constraints from desc into constraints using parseConstraint.
mxStencil.prototype.parseDescription = function()
Reads w0, h0, aspect, bgNodes and fgNodes from desc.
parseXml: function()
Parses the specified XML string into a new XML document and returns the new document.
paste: function(graph)
Pastes the cells into the specified graph restoring the relation to parents, if possible.
mxEdgeLabelLayout.prototype.placeLabels = function(v,
e)
Places the labels of the given edges.
mxHierarchicalLayout.prototype.placementStage = function(initialX,
parent)
Executes the placement stage using mxCoordinateAssignment.
mxSwimlaneLayout.prototype.placementStage = function(initialX,
parent)
Executes the placement stage using mxCoordinateAssignment.
mxVmlCanvas2D.prototype.plainText = function(x,
y,
w,
h,
str,
align,
valign,
wrap,
format,
overflow,
clip,
rotation,
dir)
Paints the outline of the current path.
mxPopupMenu.prototype.popup = function(x,
y,
cell,
evt)
Shows the popup menu for the given event and cell.
popup: function(content,
isInternalWindow)
Shows the specified text content in a new mxWindow or a new browser window if isInternalWindow is false.
mxHandle.prototype.positionChanged = function()
Called after setPosition has been called in processEvent.
post: function(url,
params,
onload,
onerror)
Posts the specified params to the given URL asynchronously and invokes the given functions depending on the request status.
mxCellRenderer.prototype.postConfigureShape = function(state)
Replaces any reserved words used for attributes, eg.
mxEditor.prototype.postDiagram = function (url,
data)
Hook for subclassers to override the posting of a diagram represented by the given node to the given URL.
mxGraph.prototype.postProcessCellStyle = function(style)
Tries to resolve the value for the image style in the image bundles and turns short data URIs as defined in mxImageBundle to data URIs as defined in RFC 2397 of the IETF.
mxPrintPreview.prototype.print = function(css)
Opens the print preview and shows the print dialog.
printScreen: function(graph)
Prints the specified graph using a new window and the built-in print dialog.
mxCellMarker.prototype.process = function(me)
Processes the given event and cell and marks the state returned by getState with the color returned by getMarkerColor.
mxGraph.prototype.processChange = function(change)
Processes the given change and invalidates the respective cached data in view.
mxHandle.prototype.processEvent = function(me)
Processes the given mxMouseEvent and invokes setPosition.
mxObjectCodec.prototype.processInclude = function(dec,
node,
into)
Returns true if the given node is an include directive and executes the include by decoding the XML document.
mxCoordinateAssignment.prototype.processReversedEdge = function(graph,
model)
Hook to add additional processing
prompt: function(message,
defaultValue)
Displays the given message in a prompt dialog.
ptLineDist: function(x1,
y1,
x2,
y2,
px,
py)
Returns the distance between a line defined by two points and a point.
ptSegDistSq: function(x1,
y1,
x2,
y2,
px,
py)
Returns the square distance between a segment and a point.
mxDictionary.prototype.put = function(key,
value)
Stores the value under the given key and returns the previous value for that key.
mxStylesheet.prototype.putCellStyle = function(name,
style)
Stores the given map of key, value pairs under the given name in styles.
mxStylesheet.prototype.putDefaultEdgeStyle = function(style)
Sets the default style for edges using defaultEdge as the stylename.
mxStylesheet.prototype.putDefaultVertexStyle = function(style)
Sets the default style for vertices using defaultVertex as the stylename.
mxImageBundle.prototype.putImage = function(key,
value,
fallback)
Adds the specified entry to the map.
mxCodec.prototype.putObject = function(id,
obj)
Assoiates the given object with the given ID and returns the given object.
putValue: function(name,
obj)
Puts the given object into the registry under the given name.
+
mxShape.prototype.paint = function(c)
Generic rendering code.
mxText.prototype.paint = function(c)
Generic rendering code.
mxDoubleEllipse.prototype.paintBackground = function(c,
x,
y,
w,
h)
Paints the background.
mxRectangleShape.prototype.paintBackground = function(c,
x,
y,
w,
h)
Generic background painting implementation.
mxShape.prototype.paintBackground = function(c,
x,
y,
w,
h)
Hook for subclassers.
mxArrow.prototype.paintEdgeShape = function(c,
pts)
Paints the line shape.
mxArrowConnector.prototype.paintEdgeShape = function(c,
pts)
Paints the line shape.
mxConnector.prototype.paintEdgeShape = function(c,
pts)
Paints the line shape.
mxPolyline.prototype.paintEdgeShape = function(c,
pts)
Paints the line shape.
mxShape.prototype.paintEdgeShape = function(c,
pts)
Hook for subclassers.
mxDoubleEllipse.prototype.paintForeground = function(c,
x,
y,
w,
h)
Paints the foreground.
mxLabel.prototype.paintForeground = function(c,
x,
y,
w,
h)
Generic background painting implementation.
mxRectangleShape.prototype.paintForeground = function(c,
x,
y,
w,
h)
Generic background painting implementation.
mxShape.prototype.paintForeground = function(c,
x,
y,
w,
h)
Hook for subclassers.
mxShape.prototype.paintGlassEffect = function(c,
x,
y,
w,
h,
arc)
Paints the glass gradient effect.
mxLabel.prototype.paintImage = function(c,
x,
y,
w,
h)
Generic background painting implementation.
mxLabel.prototype.paintIndicator = function(c,
x,
y,
w,
h)
Generic background painting implementation.
mxPolyline.prototype.paintLine = function(c,
pts,
rounded)
Paints the line shape.
mxSwimlane.prototype.paintRoundedSwimlane = function(c,
x,
y,
w,
h,
start,
r,
fill,
swimlaneLine)
Paints the swimlane vertex shape.
mxSwimlane.prototype.paintSwimlane = function(c,
x,
y,
w,
h,
start,
fill,
swimlaneLine)
Paints the swimlane vertex shape.
mxActor.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Redirects to redrawPath for subclasses to work.
mxCylinder.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Redirects to redrawPath for subclasses to work.
mxEllipse.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Paints the ellipse shape.
mxImageShape.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Generic background painting implementation.
mxLine.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Redirects to redrawPath for subclasses to work.
mxRhombus.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Generic painting implementation.
mxShape.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Paints the vertex shape.
Paints the swimlane vertex shape.
mxGraph.prototype.panGraph = function(dx,
dy)
Shifts the graph display by the given amount.
mxPanningHandler.prototype.panGraph = function(dx,
dy)
Pans graph by the given amount.
para: function(parent,
text)
Appends a new paragraph with the given text to the specified parent and returns the paragraph.
mxGraphModel.prototype.parentForCellChanged = function(cell,
parent,
index)
Inner callback to update the parent of a cell using mxCell.insert on the parent and return the previous parent.
parse: function(text)
Parses the key, value pairs in the specified text and stores them as local resources.
mxStencil.prototype.parseConstraint = function(node)
Parses the given XML node and returns its mxConnectionConstraint.
mxStencil.prototype.parseConstraints = function()
Reads the constraints from desc into constraints using parseConstraint.
mxStencil.prototype.parseDescription = function()
Reads w0, h0, aspect, bgNodes and fgNodes from desc.
parseXml: function()
Parses the specified XML string into a new XML document and returns the new document.
paste: function(graph)
Pastes the cells into the specified graph restoring the relation to parents, if possible.
mxEdgeLabelLayout.prototype.placeLabels = function(v,
e)
Places the labels of the given edges.
mxHierarchicalLayout.prototype.placementStage = function(initialX,
parent)
Executes the placement stage using mxCoordinateAssignment.
mxSwimlaneLayout.prototype.placementStage = function(initialX,
parent)
Executes the placement stage using mxCoordinateAssignment.
mxVmlCanvas2D.prototype.plainText = function(x,
y,
w,
h,
str,
align,
valign,
wrap,
format,
overflow,
clip,
rotation,
dir)
Paints the outline of the current path.
mxPopupMenu.prototype.popup = function(x,
y,
cell,
evt)
Shows the popup menu for the given event and cell.
popup: function(content,
isInternalWindow)
Shows the specified text content in a new mxWindow or a new browser window if isInternalWindow is false.
mxHandle.prototype.positionChanged = function()
Called after setPosition has been called in processEvent.
post: function(url,
params,
onload,
onerror)
Posts the specified params to the given URL asynchronously and invokes the given functions depending on the request status.
mxCellRenderer.prototype.postConfigureShape = function(state)
Replaces any reserved words used for attributes, eg.
mxEditor.prototype.postDiagram = function (url,
data)
Hook for subclassers to override the posting of a diagram represented by the given node to the given URL.
mxGraph.prototype.postProcessCellStyle = function(style)
Tries to resolve the value for the image style in the image bundles and turns short data URIs as defined in mxImageBundle to data URIs as defined in RFC 2397 of the IETF.
mxPrintPreview.prototype.print = function(css)
Opens the print preview and shows the print dialog.
printScreen: function(graph)
Prints the specified graph using a new window and the built-in print dialog.
mxCellMarker.prototype.process = function(me)
Processes the given event and cell and marks the state returned by getState with the color returned by getMarkerColor.
mxGraph.prototype.processChange = function(change)
Processes the given change and invalidates the respective cached data in view.
mxHandle.prototype.processEvent = function(me)
Processes the given mxMouseEvent and invokes setPosition.
mxObjectCodec.prototype.processInclude = function(dec,
node,
into)
Returns true if the given node is an include directive and executes the include by decoding the XML document.
mxCoordinateAssignment.prototype.processReversedEdge = function(graph,
model)
Hook to add additional processing
prompt: function(message,
defaultValue)
Displays the given message in a prompt dialog.
ptLineDist: function(x1,
y1,
x2,
y2,
px,
py)
Returns the distance between a line defined by two points and a point.
ptSegDistSq: function(x1,
y1,
x2,
y2,
px,
py)
Returns the square distance between a segment and a point.
mxDictionary.prototype.put = function(key,
value)
Stores the value under the given key and returns the previous value for that key.
mxStylesheet.prototype.putCellStyle = function(name,
style)
Stores the given map of key, value pairs under the given name in styles.
mxStylesheet.prototype.putDefaultEdgeStyle = function(style)
Sets the default style for edges using defaultEdge as the stylename.
mxStylesheet.prototype.putDefaultVertexStyle = function(style)
Sets the default style for vertices using defaultVertex as the stylename.
mxImageBundle.prototype.putImage = function(key,
value,
fallback)
Adds the specified entry to the map.
mxCodec.prototype.putObject = function(id,
obj)
Assoiates the given object with the given ID and returns the given object.
putValue: function(name,
obj)
Puts the given object into the registry under the given name.
@@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Functions14.html b/docs/js-api/index/Functions14.html index d01d8afba..d479f1e2e 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.
@@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Functions15.html b/docs/js-api/index/Functions15.html index 3cc787088..2c8cb88e9 100644 --- a/docs/js-api/index/Functions15.html +++ b/docs/js-api/index/Functions15.html @@ -11,9 +11,9 @@ if (browserType) {document.write("
");if (browserV -
Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
R
 rankCoordinates, mxCoordinateAssignment
 rankMedianPosition, mxCoordinateAssignment
 readGraphModel, mxEditor
 reconfigure, mxShape
 rect
 rectangleIntersectsSegment, mxUtils
 RectanglePerimeter, mxPerimeter
 redirectMouseEvents, mxEvent
 redo
 redraw
 redrawBackgroundImage, mxGraphView
 redrawCellOverlays, mxCellRenderer
 redrawControl, mxCellRenderer
 redrawHandles
 redrawHtml, mxShape
 redrawHtmlShape
 redrawIcons, mxConnectionHandler
 redrawInnerBends
 redrawLabel, mxCellRenderer
 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
 removeDragElement, mxDragSource
 removeEdge, mxCell
 removeFromParent, mxCell
 removeFromTerminal, mxCell
 removeGestureListeners, mxEvent
 removeHint
 removeImageBundle, mxGraph
 removeListener
 removeListeners, mxDragSource
 removeMouseListener, mxGraph
 removePoint, mxEdgeHandler
 removeSelectionCell, mxGraph
 removeSelectionCells, mxGraph
 removeState, mxGraphView
 removeStateForCell, mxGraph
 removeStylename, mxUtils
 removeWhitespace, mxUtils
 renderPage, mxPrintPreview
 repaint
 repositionValid, mxCoordinateAssignment
 reset
 resetEdge, mxGraph
 resetEdges, mxGraph
 resetFirstTime, mxEditor
 resetHistory, mxEditor
 resetMode, mxToolbar
 resetTimer, mxTooltipHandler
 resetValidationState, mxGraphView
 resize
 resizeCell
 resizeCells, mxGraph
 resizeChildCells, mxGraph
 resizeHeight, mxDivResizer
 resizeSwimlane, mxSwimlaneManager
 resizeWidth, mxDivResizer
 resolve, mxCellPath
 resolveColor, mxCellRenderer
 restore
 restoreClone, mxGraphModel
 revalidate, mxGraphView
 revalidateState, mxCellStatePreview
 reversePortConstraints, mxUtils
 RhombusPerimeter, mxPerimeter
 rootChanged, mxGraphModel
 rotate
 rotate90, mxRectangle
 rotateCell, mxVertexHandler
 rotateClick, mxVertexHandler
 rotateLabelBounds, mxCellRenderer
 rotatePoint
 roundAngle, mxVertexHandler
 roundLength
 roundrect
 route, mxParallelEdgeLayout
 rtrim, mxUtils
 run
+
Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
R
 rankCoordinates, mxCoordinateAssignment
 rankMedianPosition, mxCoordinateAssignment
 readGraphModel, mxEditor
 reconfigure, mxShape
 rect
 rectangleIntersectsSegment, mxUtils
 RectanglePerimeter, mxPerimeter
 redirectMouseEvents, mxEvent
 redo
 redraw
 redrawBackgroundImage, mxGraphView
 redrawCellOverlays, mxCellRenderer
 redrawControl, mxCellRenderer
 redrawHandles
 redrawHtml, mxShape
 redrawHtmlShape
 redrawIcons, mxConnectionHandler
 redrawInnerBends
 redrawLabel, mxCellRenderer
 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
 removeDragElement, mxDragSource
 removeEdge, mxCell
 removeFromParent, mxCell
 removeFromTerminal, mxCell
 removeGestureListeners, mxEvent
 removeHint
 removeImageBundle, mxGraph
 removeListener
 removeListeners, mxDragSource
 removeMouseListener, mxGraph
 removePoint, mxEdgeHandler
 removeSelectionCell, mxGraph
 removeSelectionCells, mxGraph
 removeState, mxGraphView
 removeStateForCell, mxGraph
 removeStylename, mxUtils
 removeWhitespace, mxUtils
 renderPage, mxPrintPreview
 repaint
 repositionValid, mxCoordinateAssignment
 reset
 resetEdge, mxGraph
 resetEdges, mxGraph
 resetFirstTime, mxEditor
 resetHistory, mxEditor
 resetMode, mxToolbar
 resetTimer, mxTooltipHandler
 resetValidationState, mxGraphView
 resize
 resizeCell
 resizeCells, mxGraph
 resizeChildCells, mxGraph
 resizeHeight, mxDivResizer
 resizeSwimlane, mxSwimlaneManager
 resizeWidth, mxDivResizer
 resolve, mxCellPath
 resolveColor, mxCellRenderer
 restore
 restoreClone, mxGraphModel
 revalidate, mxGraphView
 revalidateState, mxCellStatePreview
 reversePortConstraints, mxUtils
 RhombusPerimeter, mxPerimeter
 rootChanged, mxGraphModel
 rotate
 rotate90, mxRectangle
 rotateCell, mxVertexHandler
 rotateClick, mxVertexHandler
 rotateLabelBounds, mxCellRenderer
 rotatePoint
 roundAngle, mxVertexHandler
 roundLength
 roundrect
 route, mxParallelEdgeLayout
 rtrim, mxUtils
 run
-
mxCoordinateAssignment.prototype.rankCoordinates = function(rankValue,
graph,
model)
Sets up the layout in an initial positioning.
mxCoordinateAssignment.prototype.rankMedianPosition = function(rankValue,
model,
nextRankValue)
Performs median minimisation over one rank.
mxEditor.prototype.readGraphModel = function (node)
Reads the specified XML node into the existing graph model and resets the command history and modified state.
mxShape.prototype.reconfigure = function()
Reconfigures this shape.
mxSvgCanvas2D.prototype.rect = function(x,
y,
w,
h)
Private helper function to create SVG elements
mxVmlCanvas2D.prototype.rect = function(x,
y,
w,
h)
Sets the current path to a rectangle.
mxXmlCanvas2D.prototype.rect = function(x,
y,
w,
h)
Puts a rectangle into the drawing buffer.
rectangleIntersectsSegment: function(bounds,
p1,
p2)
Returns true if the given rectangle intersects the given segment.
RectanglePerimeter: function (bounds,
vertex,
next,
orthogonal)
Describes a rectangular perimeter for the given bounds.
redirectMouseEvents: function(node,
graph,
state,
down,
move,
up,
dblClick)
Redirects the mouse events from the given DOM node to the graph dispatch loop using the event and given state as event arguments.
mxEditor.prototype.redo = function ()
Redo the last change in graph.
mxUndoableEdit.prototype.redo = function()
Redoes all changes in this edit.
mxUndoManager.prototype.redo = function()
Redoes the last change.
mxEdgeSegmentHandler.prototype.redraw = function()
Overridden to invoke refresh before the redraw.
mxCellRenderer.prototype.redraw = function(state,
force,
rendering)
Updates the bounds or points and scale of the shapes for the given cell state.
mxEdgeHandler.prototype.redraw = function()
Redraws the preview, and the bends- and label control points.
mxHandle.prototype.redraw = function()
Renders the shape for this handle.
mxImageShape.prototype.redrawHtmlShape = function()
Overrides mxShape.redraw to preserve the aspect ratio of images.
mxLabel.prototype.redraw = function()
Reconfigures this shape.
mxShape.prototype.redraw = function()
Creates and returns the SVG node(s) to represent this shape.
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.
mxEdgeHandler.prototype.refresh = function()
Refreshes the bends of this handler.
mxGraph.prototype.refresh = function(cell)
Clears all cell states or the states for the hierarchy starting at the given cell and validates the graph.
mxGraphView.prototype.refresh = function()
Clears the view if currentRoot is not null and revalidates.
mxOutline.prototype.refresh = function()
Invokes update and revalidate the outline.
mxSelectionCellsHandler.prototype.refresh = function()
Reloads or updates all handlers.
mxEditor.prototype.refreshTasks = function (div)
Updates the contents of the tasks window using createTasks.
register: function(codec)
Registers a new codec and associates the name of the template constructor in the codec with the codec object.
mxCellRenderer.registerShape = function(key,
shape)
Registers the given constructor under the specified key in this instance of the renderer.
relativeCcw: function(x1,
y1,
x2,
y2,
px,
py)
Returns 1 if the given point on the right side of the segment, 0 if its on the segment, and -1 if the point is on the left side of the segment.
release: function(element)
Removes the known listeners from the given DOM node and its descendants.
mxShape.prototype.releaseSvgGradients = function(grads)
Paints the line shape.
mxCell.prototype.remove = function(index)
Removes the child at the specified index from the child array and returns the child that was removed.
mxDictionary.prototype.remove = function(key)
Removes the value for the given key and returns the value that has been removed.
mxGraphModel.prototype.remove = function(cell)
Removes the specified cell from the model using mxChildChange and adds the change to the current transaction.
remove: function(obj,
array)
Removes all occurrences of the given object in the given array or object.
removeAllListeners: function(element)
Removes all listeners from the given element.
removeAllStylenames: function(style)
Removes all stylenames from the given style and returns the updated style.
mxGraphSelectionModel.prototype.removeCell = function(cell)
Removes the specified mxCell from the selection and fires a select event for the remaining cells.
mxGraph.prototype.removeCellOverlay = function(cell,
overlay)
Removes and returns the given mxCellOverlay from the given cell.
mxGraph.prototype.removeCellOverlays = function(cell)
Removes all mxCellOverlays from the given cell.
removeCells: function(graph,
cells)
Hook to remove the given cells from the given graph after a cut operation.
mxGraph.prototype.removeCells = function(cells,
includeEdges)
Removes the given cells from the graph including all connected edges if includeEdges is true.
mxGraphSelectionModel.prototype.removeCells = function(cells)
mxGraph.prototype.removeCellsFromParent = function(cells)
Removes the specified cells from their parents and adds them to the default parent.
removeCursors: function(element)
Removes the cursors from the style of the given DOM node and its descendants.
mxDragSource.prototype.removeDragElement = function()
Removes and destroys the dragElement.
mxCell.prototype.removeEdge = function(edge,
isOutgoing)
Removes the specified edge from the edge array and returns the edge.
mxCell.prototype.removeFromParent = function()
Removes the cell from its parent.
mxCell.prototype.removeFromTerminal = function(isSource)
Removes the edge from its source or target terminal.
removeGestureListeners: function(node,
startListener,
moveListener,
endListener)
Removes the given listeners from mousedown, mousemove, mouseup and the respective touch events if mxClient.IS_TOUCH is true.
mxEdgeHandler.prototype.removeHint = function()
Hooks for subclassers to hide details when the handler gets inactive.
mxGraphHandler.prototype.removeHint = function()
Hooks for subclassers to hide details when the handler gets inactive.
mxVertexHandler.prototype.removeHint = function()
Hooks for subclassers to hide details when the handler gets inactive.
mxGraph.prototype.removeImageBundle = function(bundle)
Removes the specified mxImageBundle.
removeListener: function()
Removes the specified listener from the given element.
mxEventSource.prototype.removeListener = function(funct)
Removes all occurrences of the given listener from eventListeners.
mxDragSource.prototype.removeListeners = function()
Actives the given graph as a drop target.
mxGraph.prototype.removeMouseListener = function(listener)
Removes the specified graph listener.
mxEdgeHandler.prototype.removePoint = function(state,
index)
Removes the control point at the given index from the given state.
mxGraph.prototype.removeSelectionCell = function(cell)
Removes the given cell from the selection.
mxGraph.prototype.removeSelectionCells = function(cells)
Removes the given cells from the selection.
mxGraphView.prototype.removeState = function(cell)
Removes and returns the mxCellState for the given cell.
mxGraph.prototype.removeStateForCell = function(cell)
Removes all cached information for the given cell and its descendants.
removeStylename: function(style,
stylename)
Removes all occurrences of the specified stylename in the given style and returns the updated style.
removeWhitespace: function(node,
before)
Removes the sibling text nodes for the given node that only consists of tabs, newlines and spaces.
mxPrintPreview.prototype.renderPage = function(w,
h,
dx,
dy,
content)
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.
mxDragSource.prototype.reset = function()
Stops and removes everything and restores the state of the object.
mxEdgeHandler.prototype.reset = function()
Resets the state of this handler.
mxGraphHandler.prototype.reset = function()
Resets the state of this handler.
mxHandle.prototype.reset = function()
Resets the state of this handle by setting its visibility to true.
mxRubberband.prototype.reset = function()
Resets the state of the rubberband selection.
mxSelectionCellsHandler.prototype.reset = function()
Resets all handlers.
mxSvgCanvas2D.prototype.reset = function()
Returns any offsets for rendering pixels.
mxTooltipHandler.prototype.reset = function(me,
restart)
Resets and/or restarts the timer to trigger the display of the tooltip.
mxVertexHandler.prototype.reset = function()
Resets the state of this handler.
mxGraph.prototype.resetEdge = function(edge)
Resets the control points of the given edge.
mxGraph.prototype.resetEdges = function(cells)
Resets the control points of the edges that are connected to the given cells if not both ends of the edge are in the given cells array.
mxEditor.prototype.resetFirstTime = function ()
Resets the cookie that is used to remember if the editor has already been used.
mxEditor.prototype.resetHistory = function ()
Resets the command history, modified state and counters.
mxToolbar.prototype.resetMode = function(forced)
Selects the default mode and resets the state of the previously selected mode.
mxTooltipHandler.prototype.resetTimer = function()
Resets the timer.
mxGraphView.prototype.resetValidationState = function()
Resets the current validation state.
mxCellEditor.prototype.resize = function()
Returns modified.
mxDivResizer.prototype.resize = function()
Updates the style of the DIV after the window has been resized.
mxGraph.prototype.resizeCell = function(cell,
bounds,
recurse)
Sets the bounds of the given cell using resizeCells.
mxVertexHandler.prototype.resizeCell = function(cell,
dx,
dy,
index,
gridEnabled,
constrained,
recurse)
Uses the given vector to change the bounds of the given cell in the graph using mxGraph.resizeCell.
mxGraph.prototype.resizeCells = function(cells,
bounds,
recurse)
Sets the bounds of the given cells and fires a mxEvent.RESIZE_CELLS event while the transaction is in progress.
mxGraph.prototype.resizeChildCells = function(cell,
newGeo)
Resizes the child cells of the given cell for the given new geometry with respect to the current geometry of the cell.
Boolean specifying if the height should be updated.
mxSwimlaneManager.prototype.resizeSwimlane = function(swimlane,
w,
h,
parentHorizontal)
Called from cellsResized for all swimlanes that are not ignored to update the size of the siblings and the size of the parent swimlanes, recursively, if bubbling is true.
Boolean specifying if the width should be updated.
resolve: function(root,
path)
Returns the cell for the specified cell path using the given root as the root of the path.
mxCellRenderer.prototype.resolveColor = function(state,
field,
key)
Resolves special keywords ‘inherit’, ‘indicated’ and ‘swimlane’ and sets the respective color on the shape.
mxAbstractCanvas2D.prototype.restore = function()
Restores the current state.
mxXmlCanvas2D.prototype.restore = function()
Restores the drawing state.
mxGraphModel.prototype.restoreClone = function(clone,
cell,
mapping)
Inner helper method for restoring the connections in a network of cloned cells.
mxGraphView.prototype.revalidate = function()
Revalidates the complete view with all cell states.
mxCellStatePreview.prototype.revalidateState = function(state,
dx,
dy,
visitor)
reversePortConstraints: function(constraint)
Reverse the port constraint bitmask.
RhombusPerimeter: function (bounds,
vertex,
next,
orthogonal)
Describes a rhombus (aka diamond) perimeter.
mxGraphModel.prototype.rootChanged = function(root)
Inner callback to change the root of the model and update the internal datastructures, such as cells and nextId.
mxGeometry.prototype.rotate = function(angle,
cx)
Rotates the geometry by the given angle around the given center.
mxSvgCanvas2D.prototype.rotate = function(theta,
flipH,
flipV,
cx,
cy)
Sets the rotation of the canvas.
mxVmlCanvas2D.prototype.rotate = function(theta,
flipH,
flipV,
cx,
cy)
Sets the rotation of the canvas.
mxXmlCanvas2D.prototype.rotate = function(theta,
flipH,
flipV,
cx,
cy)
Rotates and/or flips the output around a given center.
mxRectangle.prototype.rotate90 = function()
Rotates this rectangle by 90 degree around its center point.
Rotates the given cell to the given rotation.
mxVertexHandler.prototype.rotateClick = function()
Hook for subclassers to implement a single click on the rotation handle.
mxCellRenderer.prototype.rotateLabelBounds = function(state,
bounds)
Adds the shape rotation to the given label bounds and applies the alignment and offsets.
mxAbstractCanvas2D.prototype.rotatePoint = function(x,
y,
theta,
cx,
cy)
Rotates the given point and returns the result as an mxPoint.
mxHandle.prototype.rotatePoint = function(pt,
alpha)
Rotates the point by the given angle.
mxVertexHandler.prototype.roundAngle = function(angle)
Hook for rounding the angle.
mxEdgeHandler.prototype.roundLength = function(length)
Hook for rounding the unscaled width or height.
mxGraphHandler.prototype.roundLength = function(length)
Hook for rounding the unscaled vector.
mxVertexHandler.prototype.roundLength = function(length)
Hook for rounding the unscaled width or height.
mxSvgCanvas2D.prototype.roundrect = function(x,
y,
w,
h,
dx,
dy)
Private helper function to create SVG elements
mxVmlCanvas2D.prototype.roundrect = function(x,
y,
w,
h,
dx,
dy)
Sets the current path to a rounded rectangle.
mxXmlCanvas2D.prototype.roundrect = function(x,
y,
w,
h,
dx,
dy)
Puts a rounded rectangle into the drawing buffer.
mxParallelEdgeLayout.prototype.route = function(edge,
x,
y)
Routes the given edge via the given point.
rtrim: function(str,
chars)
Strips all whitespaces from the end of the string.
mxHierarchicalLayout.prototype.run = function(parent)
The API method used to exercise the layout upon the graph description and produce a separate description of the vertex position and edge routing changes made.
mxSwimlaneLayout.prototype.run = function(parent)
The API method used to exercise the layout upon the graph description and produce a separate description of the vertex position and edge routing changes made.
+
mxCoordinateAssignment.prototype.rankCoordinates = function(rankValue,
graph,
model)
Sets up the layout in an initial positioning.
mxCoordinateAssignment.prototype.rankMedianPosition = function(rankValue,
model,
nextRankValue)
Performs median minimisation over one rank.
mxEditor.prototype.readGraphModel = function (node)
Reads the specified XML node into the existing graph model and resets the command history and modified state.
mxShape.prototype.reconfigure = function()
Reconfigures this shape.
mxSvgCanvas2D.prototype.rect = function(x,
y,
w,
h)
Private helper function to create SVG elements
mxVmlCanvas2D.prototype.rect = function(x,
y,
w,
h)
Sets the current path to a rectangle.
mxXmlCanvas2D.prototype.rect = function(x,
y,
w,
h)
Puts a rectangle into the drawing buffer.
rectangleIntersectsSegment: function(bounds,
p1,
p2)
Returns true if the given rectangle intersects the given segment.
RectanglePerimeter: function (bounds,
vertex,
next,
orthogonal)
Describes a rectangular perimeter for the given bounds.
redirectMouseEvents: function(node,
graph,
state,
down,
move,
up,
dblClick)
Redirects the mouse events from the given DOM node to the graph dispatch loop using the event and given state as event arguments.
mxEditor.prototype.redo = function ()
Redo the last change in graph.
mxUndoableEdit.prototype.redo = function()
Redoes all changes in this edit.
mxUndoManager.prototype.redo = function()
Redoes the last change.
mxEdgeSegmentHandler.prototype.redraw = function()
Overridden to invoke refresh before the redraw.
mxCellRenderer.prototype.redraw = function(state,
force,
rendering)
Updates the bounds or points and scale of the shapes for the given cell state.
mxEdgeHandler.prototype.redraw = function()
Redraws the preview, and the bends- and label control points.
mxHandle.prototype.redraw = function()
Renders the shape for this handle.
mxImageShape.prototype.redrawHtmlShape = function()
Overrides mxShape.redraw to preserve the aspect ratio of images.
mxLabel.prototype.redraw = function()
Reconfigures this shape.
mxShape.prototype.redraw = function()
Creates and returns the SVG node(s) to represent this shape.
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.
mxEdgeHandler.prototype.refresh = function()
Refreshes the bends of this handler.
mxGraph.prototype.refresh = function(cell)
Clears all cell states or the states for the hierarchy starting at the given cell and validates the graph.
mxGraphView.prototype.refresh = function()
Clears the view if currentRoot is not null and revalidates.
mxOutline.prototype.refresh = function()
Invokes update and revalidate the outline.
mxSelectionCellsHandler.prototype.refresh = function()
Reloads or updates all handlers.
mxEditor.prototype.refreshTasks = function (div)
Updates the contents of the tasks window using createTasks.
register: function(codec)
Registers a new codec and associates the name of the template constructor in the codec with the codec object.
mxCellRenderer.registerShape = function(key,
shape)
Registers the given constructor under the specified key in this instance of the renderer.
relativeCcw: function(x1,
y1,
x2,
y2,
px,
py)
Returns 1 if the given point on the right side of the segment, 0 if its on the segment, and -1 if the point is on the left side of the segment.
release: function(element)
Removes the known listeners from the given DOM node and its descendants.
mxShape.prototype.releaseSvgGradients = function(grads)
Paints the line shape.
mxCell.prototype.remove = function(index)
Removes the child at the specified index from the child array and returns the child that was removed.
mxDictionary.prototype.remove = function(key)
Removes the value for the given key and returns the value that has been removed.
mxGraphModel.prototype.remove = function(cell)
Removes the specified cell from the model using mxChildChange and adds the change to the current transaction.
remove: function(obj,
array)
Removes all occurrences of the given object in the given array or object.
removeAllListeners: function(element)
Removes all listeners from the given element.
removeAllStylenames: function(style)
Removes all stylenames from the given style and returns the updated style.
mxGraphSelectionModel.prototype.removeCell = function(cell)
Removes the specified mxCell from the selection and fires a select event for the remaining cells.
mxGraph.prototype.removeCellOverlay = function(cell,
overlay)
Removes and returns the given mxCellOverlay from the given cell.
mxGraph.prototype.removeCellOverlays = function(cell)
Removes all mxCellOverlays from the given cell.
removeCells: function(graph,
cells)
Hook to remove the given cells from the given graph after a cut operation.
mxGraph.prototype.removeCells = function(cells,
includeEdges)
Removes the given cells from the graph including all connected edges if includeEdges is true.
mxGraphSelectionModel.prototype.removeCells = function(cells)
mxGraph.prototype.removeCellsFromParent = function(cells)
Removes the specified cells from their parents and adds them to the default parent.
removeCursors: function(element)
Removes the cursors from the style of the given DOM node and its descendants.
mxDragSource.prototype.removeDragElement = function()
Removes and destroys the dragElement.
mxCell.prototype.removeEdge = function(edge,
isOutgoing)
Removes the specified edge from the edge array and returns the edge.
mxCell.prototype.removeFromParent = function()
Removes the cell from its parent.
mxCell.prototype.removeFromTerminal = function(isSource)
Removes the edge from its source or target terminal.
removeGestureListeners: function(node,
startListener,
moveListener,
endListener)
Removes the given listeners from mousedown, mousemove, mouseup and the respective touch events if mxClient.IS_TOUCH is true.
mxEdgeHandler.prototype.removeHint = function()
Hooks for subclassers to hide details when the handler gets inactive.
mxGraphHandler.prototype.removeHint = function()
Hooks for subclassers to hide details when the handler gets inactive.
mxVertexHandler.prototype.removeHint = function()
Hooks for subclassers to hide details when the handler gets inactive.
mxGraph.prototype.removeImageBundle = function(bundle)
Removes the specified mxImageBundle.
removeListener: function()
Removes the specified listener from the given element.
mxEventSource.prototype.removeListener = function(funct)
Removes all occurrences of the given listener from eventListeners.
mxDragSource.prototype.removeListeners = function()
Actives the given graph as a drop target.
mxGraph.prototype.removeMouseListener = function(listener)
Removes the specified graph listener.
mxEdgeHandler.prototype.removePoint = function(state,
index)
Removes the control point at the given index from the given state.
mxGraph.prototype.removeSelectionCell = function(cell)
Removes the given cell from the selection.
mxGraph.prototype.removeSelectionCells = function(cells)
Removes the given cells from the selection.
mxGraphView.prototype.removeState = function(cell)
Removes and returns the mxCellState for the given cell.
mxGraph.prototype.removeStateForCell = function(cell)
Removes all cached information for the given cell and its descendants.
removeStylename: function(style,
stylename)
Removes all occurrences of the specified stylename in the given style and returns the updated style.
removeWhitespace: function(node,
before)
Removes the sibling text nodes for the given node that only consists of tabs, newlines and spaces.
mxPrintPreview.prototype.renderPage = function(w,
h,
dx,
dy,
content)
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.
mxDragSource.prototype.reset = function()
Stops and removes everything and restores the state of the object.
mxEdgeHandler.prototype.reset = function()
Resets the state of this handler.
mxGraphHandler.prototype.reset = function()
Resets the state of this handler.
mxHandle.prototype.reset = function()
Resets the state of this handle by setting its visibility to true.
mxRubberband.prototype.reset = function()
Resets the state of the rubberband selection.
mxSelectionCellsHandler.prototype.reset = function()
Resets all handlers.
mxSvgCanvas2D.prototype.reset = function()
Returns any offsets for rendering pixels.
mxTooltipHandler.prototype.reset = function(me,
restart)
Resets and/or restarts the timer to trigger the display of the tooltip.
mxVertexHandler.prototype.reset = function()
Resets the state of this handler.
mxGraph.prototype.resetEdge = function(edge)
Resets the control points of the given edge.
mxGraph.prototype.resetEdges = function(cells)
Resets the control points of the edges that are connected to the given cells if not both ends of the edge are in the given cells array.
mxEditor.prototype.resetFirstTime = function ()
Resets the cookie that is used to remember if the editor has already been used.
mxEditor.prototype.resetHistory = function ()
Resets the command history, modified state and counters.
mxToolbar.prototype.resetMode = function(forced)
Selects the default mode and resets the state of the previously selected mode.
mxTooltipHandler.prototype.resetTimer = function()
Resets the timer.
mxGraphView.prototype.resetValidationState = function()
Resets the current validation state.
mxCellEditor.prototype.resize = function()
Returns modified.
mxDivResizer.prototype.resize = function()
Updates the style of the DIV after the window has been resized.
mxGraph.prototype.resizeCell = function(cell,
bounds,
recurse)
Sets the bounds of the given cell using resizeCells.
mxVertexHandler.prototype.resizeCell = function(cell,
dx,
dy,
index,
gridEnabled,
constrained,
recurse)
Uses the given vector to change the bounds of the given cell in the graph using mxGraph.resizeCell.
mxGraph.prototype.resizeCells = function(cells,
bounds,
recurse)
Sets the bounds of the given cells and fires a mxEvent.RESIZE_CELLS event while the transaction is in progress.
mxGraph.prototype.resizeChildCells = function(cell,
newGeo)
Resizes the child cells of the given cell for the given new geometry with respect to the current geometry of the cell.
Boolean specifying if the height should be updated.
mxSwimlaneManager.prototype.resizeSwimlane = function(swimlane,
w,
h,
parentHorizontal)
Called from cellsResized for all swimlanes that are not ignored to update the size of the siblings and the size of the parent swimlanes, recursively, if bubbling is true.
Boolean specifying if the width should be updated.
resolve: function(root,
path)
Returns the cell for the specified cell path using the given root as the root of the path.
mxCellRenderer.prototype.resolveColor = function(state,
field,
key)
Resolves special keywords ‘inherit’, ‘indicated’ and ‘swimlane’ and sets the respective color on the shape.
mxAbstractCanvas2D.prototype.restore = function()
Restores the current state.
mxXmlCanvas2D.prototype.restore = function()
Restores the drawing state.
mxGraphModel.prototype.restoreClone = function(clone,
cell,
mapping)
Inner helper method for restoring the connections in a network of cloned cells.
mxGraphView.prototype.revalidate = function()
Revalidates the complete view with all cell states.
mxCellStatePreview.prototype.revalidateState = function(state,
dx,
dy,
visitor)
reversePortConstraints: function(constraint)
Reverse the port constraint bitmask.
RhombusPerimeter: function (bounds,
vertex,
next,
orthogonal)
Describes a rhombus (aka diamond) perimeter.
mxGraphModel.prototype.rootChanged = function(root)
Inner callback to change the root of the model and update the internal datastructures, such as cells and nextId.
mxGeometry.prototype.rotate = function(angle,
cx)
Rotates the geometry by the given angle around the given center.
mxSvgCanvas2D.prototype.rotate = function(theta,
flipH,
flipV,
cx,
cy)
Sets the rotation of the canvas.
mxVmlCanvas2D.prototype.rotate = function(theta,
flipH,
flipV,
cx,
cy)
Sets the rotation of the canvas.
mxXmlCanvas2D.prototype.rotate = function(theta,
flipH,
flipV,
cx,
cy)
Rotates and/or flips the output around a given center.
mxRectangle.prototype.rotate90 = function()
Rotates this rectangle by 90 degree around its center point.
Rotates the given cell to the given rotation.
mxVertexHandler.prototype.rotateClick = function()
Hook for subclassers to implement a single click on the rotation handle.
mxCellRenderer.prototype.rotateLabelBounds = function(state,
bounds)
Adds the shape rotation to the given label bounds and applies the alignment and offsets.
mxAbstractCanvas2D.prototype.rotatePoint = function(x,
y,
theta,
cx,
cy)
Rotates the given point and returns the result as an mxPoint.
mxHandle.prototype.rotatePoint = function(pt,
alpha)
Rotates the point by the given angle.
mxVertexHandler.prototype.roundAngle = function(angle)
Hook for rounding the angle.
mxEdgeHandler.prototype.roundLength = function(length)
Hook for rounding the unscaled width or height.
mxGraphHandler.prototype.roundLength = function(length)
Hook for rounding the unscaled vector.
mxVertexHandler.prototype.roundLength = function(length)
Hook for rounding the unscaled width or height.
mxSvgCanvas2D.prototype.roundrect = function(x,
y,
w,
h,
dx,
dy)
Private helper function to create SVG elements
mxVmlCanvas2D.prototype.roundrect = function(x,
y,
w,
h,
dx,
dy)
Sets the current path to a rounded rectangle.
mxXmlCanvas2D.prototype.roundrect = function(x,
y,
w,
h,
dx,
dy)
Puts a rounded rectangle into the drawing buffer.
mxParallelEdgeLayout.prototype.route = function(edge,
x,
y)
Routes the given edge via the given point.
rtrim: function(str,
chars)
Strips all whitespaces from the end of the string.
mxHierarchicalLayout.prototype.run = function(parent)
The API method used to exercise the layout upon the graph description and produce a separate description of the vertex position and edge routing changes made.
mxSwimlaneLayout.prototype.run = function(parent)
The API method used to exercise the layout upon the graph description and produce a separate description of the vertex position and edge routing changes made.
@@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Functions16.html b/docs/js-api/index/Functions16.html index 3d95fab37..4c8a3246d 100644 --- a/docs/js-api/index/Functions16.html +++ b/docs/js-api/index/Functions16.html @@ -11,9 +11,9 @@ if (browserType) {document.write("
");if (browserV -
Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
S
 save
 scale
 scaleAndTranslate, mxGraphView
 scaleCell, mxGraph
 scrollCellToVisible, mxGraph
 scrollPointToVisible, mxGraph
 scrollRectToVisible, mxGraph
 SegmentConnector, mxEdgeStyle
 selectAll, mxGraph
 selectCell, mxGraph
 selectCellForEvent, mxGraph
 selectCells
 selectCellsForEvent, mxGraph
 selectChildCell, mxGraph
 selectDelayed, mxGraphHandler
 selectMode, mxToolbar
 selectNextCell, mxGraph
 selectParentCell, mxGraph
 selectPreviousCell, mxGraph
 selectRegion, mxGraph
 selectVertices, mxGraph
 send, mxXmlRequest
 setAbsoluteTerminalPoint, mxCellState
 setAddEnabled, mxSwimlaneManager
 setAllowDanglingEdges, mxGraph
 setAllowEval, mxGraphView
 setAllowLoops, mxGraph
 setAlpha
 setAttribute
 setAutoSizeCells, mxGraph
 setBackgroundImage, mxGraph
 setBaseDomain, mxUrlConverter
 setBaseUrl, mxUrlConverter
 setBinary, mxXmlRequest
 setBorder, mxGraph
 setBubbling, mxLayoutManager
 setCell, mxGraphSelectionModel
 setCellHeights, mxCompactTreeLayout
 setCellLocations, mxCoordinateAssignment
 setCells
 setCellsBendable, mxGraph
 setCellsCloneable, mxGraph
 setCellsDeletable, mxGraph
 setCellsDisconnectable, mxGraph
 setCellsEditable, mxGraph
 setCellsMovable, mxGraph
 setCellsResizable, mxGraph
 setCellsSelectable, mxGraph
 setCellStyle, mxGraph
 setCellStyleFlags
 setCellStyles
 setCellWarning, mxGraph
 setCloneEnabled, mxGraphHandler
 setCloneInvalidEdges, mxGraph
 setClosable, mxWindow
 setCollapsed
 setConnectable
 setConnectableEdges, mxGraph
 setConnectionConstraint, mxGraph
 setConstrainChildren, mxGraph
 setConstrainChildrenOnResize, mxGraph
 setCreateIds, mxGraphModel
 setCreateTarget, mxConnectionHandler
 setCurrentRoot, mxGraphView
 setCurrentState, mxCellMarker
 setCursor
 setDashed
 setDashPattern
 setDefaultParent, mxGraph
 setDisconnectOnMove, mxGraph
 setDropEnabled, mxGraph
 setEdge, mxCell
 setEdgePoints, mxGraphLayout
 setEdgePosition, mxCoordinateAssignment
 setEdgeStyleEnabled, mxGraphLayout
 setEnabled
 setEnterStopsCellEditing, mxGraph
 setEscapeEnabled, mxGraph
 setEventsEnabled, mxEventSource
 setEventSource, mxEventSource
 setExtendParents, mxGraph
 setExtendParentsOnAdd, mxGraph
 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
 setInnerHtml, mxText
 setInvokesStopCellEditing, mxGraph
 setLineCap
 setLineJoin
 setLink
 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
 setPinchEnabled, mxPanningHandler
 setPortsEnabled, mxGraph
 setPosition, mxHandle
 setPrefixedStyle, mxUtils
 setPreviewColor, mxEdgeHandler
 setRect, mxRectangle
 setRecursiveResize, mxGraph
 setRemoveCellsFromParent, mxGraphHandler
 setRendering, mxGraphView
 setRequestHeaders, mxXmlRequest
 setResizable, mxWindow
 setResizeContainer, mxGraph
 setResizeEnabled, mxSwimlaneManager
 setRoot, mxGraphModel
 setScale, mxGraphView
 setScrollable, mxWindow
 setSelectEnabled, mxGraphHandler
 setSelectionCell, mxGraph
 setSelectionCells, mxGraph
 setSelectionModel, mxGraph
 setShadow
 setShadowAlpha
 setShadowColor
 setShadowOffset
 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
 snapPoint, mxHandle
 snapToPreview, mxConnectionHandler
 sortCells, mxUtils
 sortOutgoingEdges, mxCompactTreeLayout
 source, mxOutline
 splitEdge, mxGraph
 start
 startAnimation, mxAnimation
 startDrag, mxDragSource
 startEditing
 startEditingAtCell, mxGraph
 stateValidated, mxGraphView
 stopAnimation, mxAnimation
 stopDrag, mxDragSource
 stopEditing
 stopRecursion, mxMorphing
 stroke
 styleForCellChanged, mxGraphModel
 styles, mxStylesheet
 submit, mxUtils
 swap, mxGeometry
 swapBounds, mxGraph
 swapStyles, mxEditor
 swimlaneAdded, mxSwimlaneManager
+
Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
S
 save
 scale
 scaleAndTranslate, mxGraphView
 scaleCell, mxGraph
 scrollCellToVisible, mxGraph
 scrollPointToVisible, mxGraph
 scrollRectToVisible, mxGraph
 SegmentConnector, mxEdgeStyle
 selectAll, mxGraph
 selectCell, mxGraph
 selectCellForEvent, mxGraph
 selectCells
 selectCellsForEvent, mxGraph
 selectChildCell, mxGraph
 selectDelayed, mxGraphHandler
 selectMode, mxToolbar
 selectNextCell, mxGraph
 selectParentCell, mxGraph
 selectPreviousCell, mxGraph
 selectRegion, mxGraph
 selectVertices, mxGraph
 send, mxXmlRequest
 setAbsoluteTerminalPoint, mxCellState
 setAddEnabled, mxSwimlaneManager
 setAllowDanglingEdges, mxGraph
 setAllowEval, mxGraphView
 setAllowLoops, mxGraph
 setAlpha
 setAttribute
 setAutoSizeCells, mxGraph
 setBackgroundImage, mxGraph
 setBaseDomain, mxUrlConverter
 setBaseUrl, mxUrlConverter
 setBinary, mxXmlRequest
 setBorder, mxGraph
 setBubbling, mxLayoutManager
 setCell, mxGraphSelectionModel
 setCellHeights, mxCompactTreeLayout
 setCellLocations, mxCoordinateAssignment
 setCells
 setCellsBendable, mxGraph
 setCellsCloneable, mxGraph
 setCellsDeletable, mxGraph
 setCellsDisconnectable, mxGraph
 setCellsEditable, mxGraph
 setCellsMovable, mxGraph
 setCellsResizable, mxGraph
 setCellsSelectable, mxGraph
 setCellStyle, mxGraph
 setCellStyleFlags
 setCellStyles
 setCellWarning, mxGraph
 setCloneEnabled, mxGraphHandler
 setCloneInvalidEdges, mxGraph
 setClosable, mxWindow
 setCollapsed
 setConnectable
 setConnectableEdges, mxGraph
 setConnectionConstraint, mxGraph
 setConstrainChildren, mxGraph
 setConstrainChildrenOnResize, mxGraph
 setCreateIds, mxGraphModel
 setCreateTarget, mxConnectionHandler
 setCurrentRoot, mxGraphView
 setCurrentState, mxCellMarker
 setCursor
 setDashed
 setDashPattern
 setDefaultParent, mxGraph
 setDisconnectOnMove, mxGraph
 setDropEnabled, mxGraph
 setEdge, mxCell
 setEdgePoints, mxGraphLayout
 setEdgePosition, mxCoordinateAssignment
 setEdgeStyleEnabled, mxGraphLayout
 setEnabled
 setEnterStopsCellEditing, mxGraph
 setEscapeEnabled, mxGraph
 setEventsEnabled, mxEventSource
 setEventSource, mxEventSource
 setExtendParents, mxGraph
 setExtendParentsOnAdd, mxGraph
 setExtendParentsOnMove, mxGraph
 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
 setInnerHtml, mxText
 setInvokesStopCellEditing, mxGraph
 setLineCap
 setLineJoin
 setLink
 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
 setPinchEnabled, mxPanningHandler
 setPortsEnabled, mxGraph
 setPosition, mxHandle
 setPrefixedStyle, mxUtils
 setPreviewColor, mxEdgeHandler
 setRect, mxRectangle
 setRecursiveResize, mxGraph
 setRemoveCellsFromParent, mxGraphHandler
 setRendering, mxGraphView
 setRequestHeaders, mxXmlRequest
 setResizable, mxWindow
 setResizeContainer, mxGraph
 setResizeEnabled, mxSwimlaneManager
 setRoot, mxGraphModel
 setScale, mxGraphView
 setScrollable, mxWindow
 setSelectEnabled, mxGraphHandler
 setSelectionCell, mxGraph
 setSelectionCells, mxGraph
 setSelectionModel, mxGraph
 setShadow
 setShadowAlpha
 setShadowColor
 setShadowOffset
 setSingleSelection, mxGraphSelectionModel
 setSize, mxWindow
 setSplitEnabled, mxGraph
 setStates
 setStatus, mxEditor
 setStatusContainer, mxEditor
 setStrokeColor
 setStrokeWidth
 setStyle
 setStyleFlag, mxUtils
 setStylesheet, mxGraph
 setSwimlaneNesting, mxGraph
 setSwimlaneSelectionEnabled, mxGraph
 setTerminal
 setTerminalPoint, mxGeometry
 setTerminals, mxGraphModel
 setTextContent, mxUtils
 setTitle, mxWindow
 setTitleContainer, mxEditor
 setTolerance, mxGraph
 setToolbarContainer, mxEditor
 setTooltips, mxGraph
 setTranslate, mxGraphView
 setTransparentBackgroundImage, mxShape
 setValue
 setVertex, mxCell
 setVertexLabelsMovable, mxGraph
 setVertexLocation
 setVisible
 setVisibleTerminalState, mxCellState
 setX, mxGraphAbstractHierarchyCell
 setY, mxGraphAbstractHierarchyCell
 setZoomEnabled, mxOutline
 shouldRemoveCellsFromParent, mxGraphHandler
 show
 showHelp, mxEditor
 showMenu, mxPopupMenu
 showOutline, mxEditor
 showProperties, mxEditor
 showSubmenu, mxPopupMenu
 showTasks, mxEditor
 SideToSide, mxEdgeStyle
 simulate, mxXmlRequest
 sizeDidChange, mxGraph
 snap
 snapPoint, mxHandle
 snapToPreview, mxConnectionHandler
 sortCells, mxUtils
 sortOutgoingEdges, mxCompactTreeLayout
 source, mxOutline
 splitEdge, mxGraph
 start
 startAnimation, mxAnimation
 startDrag, mxDragSource
 startEditing
 startEditingAtCell, mxGraph
 stateValidated, mxGraphView
 stopAnimation, mxAnimation
 stopDrag, mxDragSource
 stopEditing
 stopRecursion, mxMorphing
 stroke
 styleForCellChanged, mxGraphModel
 styles, mxStylesheet
 submit, mxUtils
 swap, mxGeometry
 swapBounds, mxGraph
 swapStyles, mxEditor
 swimlaneAdded, mxSwimlaneManager
-
mxAbstractCanvas2D.prototype.save = function()
Saves the current state.
mxAutoSaveManager.prototype.save = function()
Empty hook that is called if the graph should be saved.
mxEditor.prototype.save = function (url,
linefeed)
Posts the string returned by writeGraphModel to the given URL or the URL returned by getUrlPost.
mxXmlCanvas2D.prototype.save = function()
Saves the drawing state.
mxAbstractCanvas2D.prototype.scale = function(value)
Scales the current state.
mxGeometry.prototype.scale = function(sx,
sy,
fixedAspect)
Scales the geometry by the given amount.
mxXmlCanvas2D.prototype.scale = function(value)
Scales the output.
mxGraphView.prototype.scaleAndTranslate = function(scale,
dx,
dy)
Sets the scale and translation and fires a scale and translate event before calling revalidate followed by mxGraph.sizeDidChange.
mxGraph.prototype.scaleCell = function(cell,
dx,
dy,
recurse)
Scales the points, position and size of the given cell according to the given vertical and horizontal scaling factors.
mxGraph.prototype.scrollCellToVisible = function(cell,
center)
Pans the graph so that it shows the given cell.
mxGraph.prototype.scrollPointToVisible = function(x,
y,
extend,
border)
Scrolls the graph to the given point, extending the graph container if specified.
mxGraph.prototype.scrollRectToVisible = function(rect)
Pans the graph so that it shows the given rectangle.
SegmentConnector: function(state,
source,
target,
hints,
result)
Implements an orthogonal edge style.
mxGraph.prototype.selectAll = function(parent)
Selects all children of the given parent cell or the children of the default parent if no parent is specified.
mxGraph.prototype.selectCell = function(isNext,
isParent,
isChild)
Selects the next, parent, first child or previous cell, if all arguments are false.
mxGraph.prototype.selectCellForEvent = function(cell,
evt)
Selects the given cell by either adding it to the selection or replacing the selection depending on whether the given mouse event is a toggle event.
mxConnectionHandler.prototype.selectCells = function(edge,
target)
Selects the given edge after adding a new connection.
mxGraph.prototype.selectCells = function(vertices,
edges,
parent)
Selects all vertices and/or edges depending on the given boolean arguments recursively, starting at the given parent or the default parent if no parent is specified.
mxGraph.prototype.selectCellsForEvent = function(cells,
evt)
Selects the given cells by either adding them to the selection or replacing the selection depending on whether the given mouse event is a toggle event.
mxGraph.prototype.selectChildCell = function()
Selects the first child cell.
mxGraphHandler.prototype.selectDelayed = function(me)
Implements the delayed selection for the given mouse event.
mxToolbar.prototype.selectMode = function(domNode,
funct)
Resets the state of the previously selected mode and displays the given DOM node as selected.
mxGraph.prototype.selectNextCell = function()
Selects the next cell.
mxGraph.prototype.selectParentCell = function()
Selects the parent cell.
mxGraph.prototype.selectPreviousCell = function()
Selects the previous cell.
mxGraph.prototype.selectRegion = function(rect,
evt)
Selects and returns the cells inside the given rectangle for the specified event.
mxGraph.prototype.selectVertices = function(parent)
Select all vertices inside the given parent or the default parent.
mxXmlRequest.prototype.send = function(onload,
onerror)
Send the request to the target URL using the specified functions to process the response asychronously.
mxCellState.prototype.setAbsoluteTerminalPoint = function (point,
isSource)
Sets the first or last point in absolutePoints depending on isSource.
mxSwimlaneManager.prototype.setAddEnabled = function(value)
Sets addEnabled.
mxGraph.prototype.setAllowDanglingEdges = function(value)
Specifies if dangling edges are allowed, that is, if edges are allowed that do not have a source and/or target terminal defined.
mxGraphView.prototype.setAllowEval = function(value)
Sets allowEval.
mxGraph.prototype.setAllowLoops = function(value)
Specifies if loops are allowed.
mxAbstractCanvas2D.prototype.setAlpha = function(value)
Sets the current alpha.
mxXmlCanvas2D.prototype.setAlpha = function(value)
Sets the current alpha.
mxCell.prototype.setAttribute = function(name,
value)
Sets the specified attribute on the user object if it is an XML node.
mxCodec.prototype.setAttribute = function(node,
attribute,
value)
Sets the attribute on the specified node to value.
mxGraph.prototype.setAutoSizeCells = function(value)
Specifies if cell sizes should be automatically updated after a label change.
mxGraph.prototype.setBackgroundImage = function(image)
Sets the new backgroundImage.
mxUrlConverter.prototype.setBaseDomain = function(value)
Sets baseDomain.
mxUrlConverter.prototype.setBaseUrl = function(value)
Sets baseUrl.
mxXmlRequest.prototype.setBinary = function(value)
Sets binary.
mxGraph.prototype.setBorder = function(value)
Sets the value of border.
mxLayoutManager.prototype.setBubbling = function(value)
Sets bubbling.
mxGraphSelectionModel.prototype.setCell = function(cell)
Selects the specified mxCell using setCells.
mxCompactTreeLayout.prototype.setCellHeights = function(node,
rank)
Set the cells heights (relative to the layout direction) when the tops of each rank are to be aligned
mxCoordinateAssignment.prototype.setCellLocations = function(graph,
model)
Sets the cell locations in the facade to those stored after this layout processing step has completed.
setCells: function(cells)
Sets the cells in the clipboard.
mxGraphSelectionModel.prototype.setCells = function(cells)
Selects the given array of mxCells and fires a change event.
mxGraph.prototype.setCellsBendable = function(value)
Specifies if the graph should allow bending of edges.
mxGraph.prototype.setCellsCloneable = function(value)
Specifies if the graph should allow cloning of cells by holding down the control key while cells are being moved.
mxGraph.prototype.setCellsDeletable = function(value)
Sets cellsDeletable.
mxGraph.prototype.setCellsDisconnectable = function(value)
Sets cellsDisconnectable.
mxGraph.prototype.setCellsEditable = function(value)
Specifies if the graph should allow in-place editing for cell labels.
mxGraph.prototype.setCellsMovable = function(value)
Specifies if the graph should allow moving of cells.
mxGraph.prototype.setCellsResizable = function(value)
Specifies if the graph should allow resizing of cells.
mxGraph.prototype.setCellsSelectable = function(value)
Sets cellsSelectable.
mxGraph.prototype.setCellStyle = function(style,
cells)
Sets the style of the specified cells.
mxGraph.prototype.setCellStyleFlags = function(key,
flag,
value,
cells)
Sets or toggles the given bit for the given key in the styles of the specified cells.
setCellStyleFlags: function(model,
cells,
key,
flag,
value)
Sets or toggles the flag bit for the given key in the cell’s styles.
mxGraph.prototype.setCellStyles = function(key,
value,
cells)
Sets the key to value in the styles of the given cells.
setCellStyles: function(model,
cells,
key,
value)
Assigns the value for the given key in the styles of the given cells, or removes the key from the styles if the value is null.
mxGraph.prototype.setCellWarning = function(cell,
warning,
img,
isSelect)
Creates an overlay for the given cell using the warning and image or warningImage and returns the new mxCellOverlay.
mxGraphHandler.prototype.setCloneEnabled = function(value)
Sets cloneEnabled.
mxGraph.prototype.setCloneInvalidEdges = function(value)
Specifies if edges should be inserted when cloned but not valid wrt.
mxWindow.prototype.setClosable = function(closable)
Sets the image associated with the window.
mxCell.prototype.setCollapsed = function(collapsed)
Sets the collapsed state.
mxGraphModel.prototype.setCollapsed = function(cell,
collapsed)
Sets the collapsed state of the given mxCell using mxCollapseChange and adds the change to the current transaction.
mxCell.prototype.setConnectable = function(connectable)
Sets the connectable state.
mxGraph.prototype.setConnectable = function(connectable)
Specifies if the graph should allow new connections.
mxGraph.prototype.setConnectableEdges = function(value)
Specifies if edges should be connectable.
mxGraph.prototype.setConnectionConstraint = function(edge,
terminal,
source,
constraint)
Sets the mxConnectionConstraint that describes the given connection point.
mxGraph.prototype.setConstrainChildren = function(value)
Sets constrainChildren.
mxGraph.prototype.setConstrainChildrenOnResize = function(value)
Sets constrainChildrenOnResize.
mxGraphModel.prototype.setCreateIds = function(value)
Sets createIds.
mxConnectionHandler.prototype.setCreateTarget = function(value)
Sets createTarget.
mxGraphView.prototype.setCurrentRoot = function(root)
Sets and returns the current root and fires an undo event before calling mxGraph.sizeDidChange.
mxCellMarker.prototype.setCurrentState = function(state,
me,
color)
Sets and marks the current valid state.
mxCellState.prototype.setCursor = function (cursor)
Sets the given cursor on the shape and text shape.
mxShape.prototype.setCursor = function(cursor)
Sets the cursor on the given shape.
mxAbstractCanvas2D.prototype.setDashed = function(value)
Enables or disables dashed lines.
mxXmlCanvas2D.prototype.setDashed = function(value)
Enables or disables dashed lines.
mxAbstractCanvas2D.prototype.setDashPattern = function(value)
Sets the current dash pattern.
mxXmlCanvas2D.prototype.setDashPattern = function(value)
Sets the current dash pattern.
mxGraph.prototype.setDefaultParent = function(cell)
Sets the defaultParent to the given cell.
mxGraph.prototype.setDisconnectOnMove = function(value)
Specifies if edges should be disconnected when moved.
mxGraph.prototype.setDropEnabled = function(value)
Specifies if the graph should allow dropping of cells onto or into other cells.
mxCell.prototype.setEdge = function(edge)
Specifies if the cell is an edge.
mxGraphLayout.prototype.setEdgePoints = function(edge,
points)
Replaces the array of mxPoints in the geometry of the given edge with the given array of mxPoints.
mxCoordinateAssignment.prototype.setEdgePosition = function(cell)
Fixes the control points
mxGraphLayout.prototype.setEdgeStyleEnabled = function(edge,
value)
Disables or enables the edge style of the given edge.
mxAutoSaveManager.prototype.setEnabled = function(value)
Enables or disables event handling.
mxCellMarker.prototype.setEnabled = function(enabled)
Enables or disables event handling.
mxConnectionHandler.prototype.setEnabled = function(enabled)
Enables or disables event handling.
mxConstraintHandler.prototype.setEnabled = function(enabled)
Enables or disables event handling.
mxDragSource.prototype.setEnabled = function(value)
Sets enabled.
mxGraph.prototype.setEnabled = function(value)
Specifies if the graph should allow any interactions.
mxGraphHandler.prototype.setEnabled = function(value)
Sets enabled.
mxKeyHandler.prototype.setEnabled = function(enabled)
Enables or disables event handling by updating enabled.
mxLayoutManager.prototype.setEnabled = function(enabled)
Enables or disables event handling.
mxOutline.prototype.setEnabled = function(value)
Enables or disables event handling.
mxPopupMenu.prototype.setEnabled = function(enabled)
Enables or disables event handling.
mxRubberband.prototype.setEnabled = function(enabled)
Enables or disables event handling.
mxSelectionCellsHandler.prototype.setEnabled = function(value)
Sets enabled.
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.
Sets the inner HTML of the given element to the value.
mxGraph.prototype.setInvokesStopCellEditing = function(value)
Sets invokesStopCellEditing.
mxAbstractCanvas2D.prototype.setLineCap = function(value)
Sets the current line cap.
mxXmlCanvas2D.prototype.setLineCap = function(value)
Sets the line cap.
mxAbstractCanvas2D.prototype.setLineJoin = function(value)
Sets the current line join.
mxXmlCanvas2D.prototype.setLineJoin = function(value)
Sets the line join.
mxAbstractCanvas2D.prototype.setLink = function(link)
Sets the current link.
mxSvgCanvas2D.prototype.setLink = function(link)
Experimental implementation for hyperlinks.
mxWindow.prototype.setLocation = function(x,
y)
Sets the upper, left corner of the window.
Sets if any cell may be moved, sized, bended, disconnected, edited or selected.
mxWindow.prototype.setMaximizable = function(maximizable)
Sets if the window is maximizable.
mxWindow.prototype.setMinimizable = function(minimizable)
Sets if the window is minimizable.
mxAbstractCanvas2D.prototype.setMiterLimit = function(value)
Sets the current miter limit.
mxXmlCanvas2D.prototype.setMiterLimit = function(value)
Sets the miter limit.
mxEditor.prototype.setMode = function(modename)
Puts the graph into the specified mode.
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.
mxPanningHandler.prototype.setPinchEnabled = function(value)
Sets pinchEnabled.
mxGraph.prototype.setPortsEnabled = function(value)
Specifies if the ports should be enabled.
mxHandle.prototype.setPosition = function(bounds,
pt,
me)
Hooks for subclassers to update the style in the state.
setPrefixedStyle: function()
Adds the given style with the standard name and an optional vendor prefix for the current browser.
mxEdgeHandler.prototype.setPreviewColor = function(color)
Sets the color of the preview to the given value.
mxRectangle.prototype.setRect = function(x,
y,
w,
h)
Sets this rectangle to the specified values
mxGraph.prototype.setRecursiveResize = function(value)
Sets recursiveResize.
mxGraphHandler.prototype.setRemoveCellsFromParent = function(value)
Sets removeCellsFromParent.
mxGraphView.prototype.setRendering = function(value)
Sets rendering.
mxXmlRequest.prototype.setRequestHeaders = function(request,
params)
Sets the headers for the given request and parameters.
mxWindow.prototype.setResizable = function(resizable)
Sets if the window should be resizable.
mxGraph.prototype.setResizeContainer = function(value)
Sets resizeContainer.
mxSwimlaneManager.prototype.setResizeEnabled = function(value)
Sets resizeEnabled.
mxGraphModel.prototype.setRoot = function(root)
Sets the root of the model using mxRootChange and adds the change to the current transaction.
mxGraphView.prototype.setScale = function(value)
Sets the scale and fires a scale event before calling revalidate followed by mxGraph.sizeDidChange.
mxWindow.prototype.setScrollable = function(scrollable)
Sets if the window contents should be scrollable.
mxGraphHandler.prototype.setSelectEnabled = function(value)
Sets selectEnabled.
mxGraph.prototype.setSelectionCell = function(cell)
Sets the selection cell.
mxGraph.prototype.setSelectionCells = function(cells)
Sets the selection cell.
mxGraph.prototype.setSelectionModel = function(selectionModel)
Sets the mxSelectionModel that contains the selection.
mxAbstractCanvas2D.prototype.setShadow = function(enabled)
Enables or disables and configures the current shadow.
mxXmlCanvas2D.prototype.setShadow = function(value)
Enables or disables shadows.
mxAbstractCanvas2D.prototype.setShadowAlpha = function(value)
Enables or disables and configures the current shadow.
mxXmlCanvas2D.prototype.setShadowAlpha = function(value)
Sets the current shadows alpha.
mxAbstractCanvas2D.prototype.setShadowColor = function(value)
Enables or disables and configures the current shadow.
mxXmlCanvas2D.prototype.setShadowColor = function(value)
Sets the current shadow color.
mxAbstractCanvas2D.prototype.setShadowOffset = function(dx,
dy)
Enables or disables and configures the current shadow.
mxXmlCanvas2D.prototype.setShadowOffset = function(dx,
dy)
Sets the current shadow offset.
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.
mxHandle.prototype.setVisible = function(visible)
Shows or hides this handle.
setVisible: function(visible)
Shows or hides the console.
mxWindow.prototype.setVisible = function(visible)
Shows or hides the window depending on the given flag.
mxCellState.prototype.setVisibleTerminalState = function (terminalState,
source)
Sets the visible source or target terminal state.
mxGraphAbstractHierarchyCell.prototype.setX = function(layer,
value)
Set the value of x for the specified layer
mxGraphAbstractHierarchyCell.prototype.setY = function(layer,
value)
Set the value of y for the specified layer
mxOutline.prototype.setZoomEnabled = function(value)
Enables or disables the zoom handling by showing or hiding the respective handle.
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.
mxHandle.prototype.snapPoint = function(pt,
ignore)
Snaps the given point to the grid if ignore is false.
mxConnectionHandler.prototype.snapToPreview = function(me,
point)
Called to snap the given point to the current preview.
sortCells: function(cells,
ascending)
Sorts the given cells according to the order in the cell hierarchy.
mxCompactTreeLayout.prototype.sortOutgoingEdges = function(source,
edges)
Called if sortEdges is true to sort the array of outgoing edges in place.
Reference to the source mxGraph.
mxGraph.prototype.splitEdge = function(edge,
cells,
newEdge,
dx,
dy)
Splits the given edge by adding the newEdge between the previous source and the given cell and reconnecting the source of the given edge to the given cell.
mxConnectionHandler.prototype.start = function(state,
x,
y,
edgeState)
Starts a new connection for the given state and coordinates.
mxEdgeHandler.prototype.start = function(x,
y,
index)
Starts the handling of the mouse gesture.
mxGraphHandler.prototype.start = function(cell,
x,
y)
Starts the handling of the mouse gesture.
mxPanningHandler.prototype.start = function(me)
Starts panning at the given event.
mxRubberband.prototype.start = function(x,
y)
Sets the start point for the rubberband selection.
mxVertexHandler.prototype.start = function(x,
y,
index)
Starts the handling of the mouse gesture.
mxAnimation.prototype.startAnimation = function()
Starts the animation by repeatedly invoking updateAnimation.
mxDragSource.prototype.startDrag = function(evt)
Creates the dragElement using createDragElement.
mxCellEditor.prototype.startEditing = function(cell,
trigger)
Starts the editor for the given cell.
mxGraph.prototype.startEditing = function(evt)
Calls startEditingAtCell using the given cell or the first selection cell.
mxGraph.prototype.startEditingAtCell = function(cell,
evt)
Fires a startEditing event and invokes mxCellEditor.startEditing on editor.
mxGraphView.prototype.stateValidated = function(state)
Invoked when a state has been processed in validatePoints.
mxAnimation.prototype.stopAnimation = function()
Stops the animation by deleting the timer and fires an mxEvent.DONE.
mxDragSource.prototype.stopDrag = function()
Invokes removeDragElement.
mxCellEditor.prototype.stopEditing = function(cancel)
Stops the editor and applies the value if cancel is false.
mxGraph.prototype.stopEditing = function(cancel)
Stops the current editing and fires a editingStopped event.
mxMorphing.prototype.stopRecursion = function(state,
delta)
Returns true if the animation should not recursively find more deltas for children if the given parent state has been animated.
mxSvgCanvas2D.prototype.stroke = function()
Paints the outline of the current path.
mxVmlCanvas2D.prototype.stroke = function()
Paints the outline of the current path.
mxXmlCanvas2D.prototype.stroke = function()
Paints the outline of the current drawing buffer.
mxGraphModel.prototype.styleForCellChanged = function(cell,
style)
Inner callback to update the style of the given mxCell using mxCell.setStyle and return the previous style.
Maps from names to cell styles.
submit: function(url,
params,
doc,
target)
Submits the given parameters to the specified URL using mxXmlRequest.simulate and returns the mxXmlRequest.
mxGeometry.prototype.swap = function()
Swaps the x, y, width and height with the values stored in alternateBounds and puts the previous values into alternateBounds as a rectangle.
mxGraph.prototype.swapBounds = function(cell,
willCollapse)
Swaps the alternate and the actual bounds in the geometry of the given cell invoking updateAlternateBounds before carrying out the swap.
mxEditor.prototype.swapStyles = function (first,
second)
Swaps the styles for the given names in the graph’s stylesheet and refreshes the graph.
mxSwimlaneManager.prototype.swimlaneAdded = function(swimlane)
Updates the size of the given swimlane to match that of any existing siblings swimlanes.
+
mxAbstractCanvas2D.prototype.save = function()
Saves the current state.
mxAutoSaveManager.prototype.save = function()
Empty hook that is called if the graph should be saved.
mxEditor.prototype.save = function (url,
linefeed)
Posts the string returned by writeGraphModel to the given URL or the URL returned by getUrlPost.
mxXmlCanvas2D.prototype.save = function()
Saves the drawing state.
mxAbstractCanvas2D.prototype.scale = function(value)
Scales the current state.
mxGeometry.prototype.scale = function(sx,
sy,
fixedAspect)
Scales the geometry by the given amount.
mxXmlCanvas2D.prototype.scale = function(value)
Scales the output.
mxGraphView.prototype.scaleAndTranslate = function(scale,
dx,
dy)
Sets the scale and translation and fires a scale and translate event before calling revalidate followed by mxGraph.sizeDidChange.
mxGraph.prototype.scaleCell = function(cell,
dx,
dy,
recurse)
Scales the points, position and size of the given cell according to the given vertical and horizontal scaling factors.
mxGraph.prototype.scrollCellToVisible = function(cell,
center)
Pans the graph so that it shows the given cell.
mxGraph.prototype.scrollPointToVisible = function(x,
y,
extend,
border)
Scrolls the graph to the given point, extending the graph container if specified.
mxGraph.prototype.scrollRectToVisible = function(rect)
Pans the graph so that it shows the given rectangle.
SegmentConnector: function(state,
source,
target,
hints,
result)
Implements an orthogonal edge style.
mxGraph.prototype.selectAll = function(parent)
Selects all children of the given parent cell or the children of the default parent if no parent is specified.
mxGraph.prototype.selectCell = function(isNext,
isParent,
isChild)
Selects the next, parent, first child or previous cell, if all arguments are false.
mxGraph.prototype.selectCellForEvent = function(cell,
evt)
Selects the given cell by either adding it to the selection or replacing the selection depending on whether the given mouse event is a toggle event.
mxConnectionHandler.prototype.selectCells = function(edge,
target)
Selects the given edge after adding a new connection.
mxGraph.prototype.selectCells = function(vertices,
edges,
parent)
Selects all vertices and/or edges depending on the given boolean arguments recursively, starting at the given parent or the default parent if no parent is specified.
mxGraph.prototype.selectCellsForEvent = function(cells,
evt)
Selects the given cells by either adding them to the selection or replacing the selection depending on whether the given mouse event is a toggle event.
mxGraph.prototype.selectChildCell = function()
Selects the first child cell.
mxGraphHandler.prototype.selectDelayed = function(me)
Implements the delayed selection for the given mouse event.
mxToolbar.prototype.selectMode = function(domNode,
funct)
Resets the state of the previously selected mode and displays the given DOM node as selected.
mxGraph.prototype.selectNextCell = function()
Selects the next cell.
mxGraph.prototype.selectParentCell = function()
Selects the parent cell.
mxGraph.prototype.selectPreviousCell = function()
Selects the previous cell.
mxGraph.prototype.selectRegion = function(rect,
evt)
Selects and returns the cells inside the given rectangle for the specified event.
mxGraph.prototype.selectVertices = function(parent)
Select all vertices inside the given parent or the default parent.
mxXmlRequest.prototype.send = function(onload,
onerror)
Send the request to the target URL using the specified functions to process the response asychronously.
mxCellState.prototype.setAbsoluteTerminalPoint = function (point,
isSource)
Sets the first or last point in absolutePoints depending on isSource.
mxSwimlaneManager.prototype.setAddEnabled = function(value)
Sets addEnabled.
mxGraph.prototype.setAllowDanglingEdges = function(value)
Specifies if dangling edges are allowed, that is, if edges are allowed that do not have a source and/or target terminal defined.
mxGraphView.prototype.setAllowEval = function(value)
Sets allowEval.
mxGraph.prototype.setAllowLoops = function(value)
Specifies if loops are allowed.
mxAbstractCanvas2D.prototype.setAlpha = function(value)
Sets the current alpha.
mxXmlCanvas2D.prototype.setAlpha = function(value)
Sets the current alpha.
mxCell.prototype.setAttribute = function(name,
value)
Sets the specified attribute on the user object if it is an XML node.
mxCodec.prototype.setAttribute = function(node,
attribute,
value)
Sets the attribute on the specified node to value.
mxGraph.prototype.setAutoSizeCells = function(value)
Specifies if cell sizes should be automatically updated after a label change.
mxGraph.prototype.setBackgroundImage = function(image)
Sets the new backgroundImage.
mxUrlConverter.prototype.setBaseDomain = function(value)
Sets baseDomain.
mxUrlConverter.prototype.setBaseUrl = function(value)
Sets baseUrl.
mxXmlRequest.prototype.setBinary = function(value)
Sets binary.
mxGraph.prototype.setBorder = function(value)
Sets the value of border.
mxLayoutManager.prototype.setBubbling = function(value)
Sets bubbling.
mxGraphSelectionModel.prototype.setCell = function(cell)
Selects the specified mxCell using setCells.
mxCompactTreeLayout.prototype.setCellHeights = function(node,
rank)
Set the cells heights (relative to the layout direction) when the tops of each rank are to be aligned
mxCoordinateAssignment.prototype.setCellLocations = function(graph,
model)
Sets the cell locations in the facade to those stored after this layout processing step has completed.
setCells: function(cells)
Sets the cells in the clipboard.
mxGraphSelectionModel.prototype.setCells = function(cells)
Selects the given array of mxCells and fires a change event.
mxGraph.prototype.setCellsBendable = function(value)
Specifies if the graph should allow bending of edges.
mxGraph.prototype.setCellsCloneable = function(value)
Specifies if the graph should allow cloning of cells by holding down the control key while cells are being moved.
mxGraph.prototype.setCellsDeletable = function(value)
Sets cellsDeletable.
mxGraph.prototype.setCellsDisconnectable = function(value)
Sets cellsDisconnectable.
mxGraph.prototype.setCellsEditable = function(value)
Specifies if the graph should allow in-place editing for cell labels.
mxGraph.prototype.setCellsMovable = function(value)
Specifies if the graph should allow moving of cells.
mxGraph.prototype.setCellsResizable = function(value)
Specifies if the graph should allow resizing of cells.
mxGraph.prototype.setCellsSelectable = function(value)
Sets cellsSelectable.
mxGraph.prototype.setCellStyle = function(style,
cells)
Sets the style of the specified cells.
mxGraph.prototype.setCellStyleFlags = function(key,
flag,
value,
cells)
Sets or toggles the given bit for the given key in the styles of the specified cells.
setCellStyleFlags: function(model,
cells,
key,
flag,
value)
Sets or toggles the flag bit for the given key in the cell’s styles.
mxGraph.prototype.setCellStyles = function(key,
value,
cells)
Sets the key to value in the styles of the given cells.
setCellStyles: function(model,
cells,
key,
value)
Assigns the value for the given key in the styles of the given cells, or removes the key from the styles if the value is null.
mxGraph.prototype.setCellWarning = function(cell,
warning,
img,
isSelect)
Creates an overlay for the given cell using the warning and image or warningImage and returns the new mxCellOverlay.
mxGraphHandler.prototype.setCloneEnabled = function(value)
Sets cloneEnabled.
mxGraph.prototype.setCloneInvalidEdges = function(value)
Specifies if edges should be inserted when cloned but not valid wrt.
mxWindow.prototype.setClosable = function(closable)
Sets the image associated with the window.
mxCell.prototype.setCollapsed = function(collapsed)
Sets the collapsed state.
mxGraphModel.prototype.setCollapsed = function(cell,
collapsed)
Sets the collapsed state of the given mxCell using mxCollapseChange and adds the change to the current transaction.
mxCell.prototype.setConnectable = function(connectable)
Sets the connectable state.
mxGraph.prototype.setConnectable = function(connectable)
Specifies if the graph should allow new connections.
mxGraph.prototype.setConnectableEdges = function(value)
Specifies if edges should be connectable.
mxGraph.prototype.setConnectionConstraint = function(edge,
terminal,
source,
constraint)
Sets the mxConnectionConstraint that describes the given connection point.
mxGraph.prototype.setConstrainChildren = function(value)
Sets constrainChildren.
mxGraph.prototype.setConstrainChildrenOnResize = function(value)
Sets constrainChildrenOnResize.
mxGraphModel.prototype.setCreateIds = function(value)
Sets createIds.
mxConnectionHandler.prototype.setCreateTarget = function(value)
Sets createTarget.
mxGraphView.prototype.setCurrentRoot = function(root)
Sets and returns the current root and fires an undo event before calling mxGraph.sizeDidChange.
mxCellMarker.prototype.setCurrentState = function(state,
me,
color)
Sets and marks the current valid state.
mxCellState.prototype.setCursor = function (cursor)
Sets the given cursor on the shape and text shape.
mxShape.prototype.setCursor = function(cursor)
Sets the cursor on the given shape.
mxAbstractCanvas2D.prototype.setDashed = function(value)
Enables or disables dashed lines.
mxXmlCanvas2D.prototype.setDashed = function(value)
Enables or disables dashed lines.
mxAbstractCanvas2D.prototype.setDashPattern = function(value)
Sets the current dash pattern.
mxXmlCanvas2D.prototype.setDashPattern = function(value)
Sets the current dash pattern.
mxGraph.prototype.setDefaultParent = function(cell)
Sets the defaultParent to the given cell.
mxGraph.prototype.setDisconnectOnMove = function(value)
Specifies if edges should be disconnected when moved.
mxGraph.prototype.setDropEnabled = function(value)
Specifies if the graph should allow dropping of cells onto or into other cells.
mxCell.prototype.setEdge = function(edge)
Specifies if the cell is an edge.
mxGraphLayout.prototype.setEdgePoints = function(edge,
points)
Replaces the array of mxPoints in the geometry of the given edge with the given array of mxPoints.
mxCoordinateAssignment.prototype.setEdgePosition = function(cell)
Fixes the control points
mxGraphLayout.prototype.setEdgeStyleEnabled = function(edge,
value)
Disables or enables the edge style of the given edge.
mxAutoSaveManager.prototype.setEnabled = function(value)
Enables or disables event handling.
mxCellMarker.prototype.setEnabled = function(enabled)
Enables or disables event handling.
mxConnectionHandler.prototype.setEnabled = function(enabled)
Enables or disables event handling.
mxConstraintHandler.prototype.setEnabled = function(enabled)
Enables or disables event handling.
mxDragSource.prototype.setEnabled = function(value)
Sets enabled.
mxGraph.prototype.setEnabled = function(value)
Specifies if the graph should allow any interactions.
mxGraphHandler.prototype.setEnabled = function(value)
Sets enabled.
mxKeyHandler.prototype.setEnabled = function(enabled)
Enables or disables event handling by updating enabled.
mxLayoutManager.prototype.setEnabled = function(enabled)
Enables or disables event handling.
mxOutline.prototype.setEnabled = function(value)
Enables or disables event handling.
mxPopupMenu.prototype.setEnabled = function(enabled)
Enables or disables event handling.
mxRubberband.prototype.setEnabled = function(enabled)
Enables or disables event handling.
mxSelectionCellsHandler.prototype.setEnabled = function(value)
Sets enabled.
mxSwimlaneManager.prototype.setEnabled = function(value)
Enables or disables event handling.
mxTooltipHandler.prototype.setEnabled = function(enabled)
Enables or disables event handling.
mxUrlConverter.prototype.setEnabled = function(value)
Sets enabled.
mxGraph.prototype.setEnterStopsCellEditing = function(value)
Sets enterStopsCellEditing.
mxGraph.prototype.setEscapeEnabled = function(value)
Sets escapeEnabled.
mxEventSource.prototype.setEventsEnabled = function(value)
Sets eventsEnabled.
mxEventSource.prototype.setEventSource = function(value)
Sets eventSource.
mxGraph.prototype.setExtendParents = function(value)
Sets extendParents.
mxGraph.prototype.setExtendParentsOnAdd = function(value)
Sets extendParentsOnAdd.
mxGraph.prototype.setExtendParentsOnMove = function(value)
Sets extendParentsOnAdd.
mxAbstractCanvas2D.prototype.setFillColor = function(value)
Sets the current fill color.
mxXmlCanvas2D.prototype.setFillColor = function(value)
Sets the current fill color.
mxXmlCanvas2D.prototype.setFontBackgroundColor = function(value)
Sets the current font background color.
mxXmlCanvas2D.prototype.setFontBorderColor = function(value)
Sets the current font border color.
mxAbstractCanvas2D.prototype.setFontColor = function(value)
Sets the current font color.
mxXmlCanvas2D.prototype.setFontColor = function(value)
Sets the current font color.
mxAbstractCanvas2D.prototype.setFontFamily = function(value)
Sets the current font family.
mxXmlCanvas2D.prototype.setFontFamily = function(value)
Sets the current font family.
mxAbstractCanvas2D.prototype.setFontSize = function(value)
Sets the current font size.
mxXmlCanvas2D.prototype.setFontSize = function(value)
Sets the current font size.
mxAbstractCanvas2D.prototype.setFontStyle = function(value)
Sets the current font style.
mxXmlCanvas2D.prototype.setFontStyle = function(value)
Sets the current font style.
mxGraphAbstractHierarchyCell.prototype.setGeneralPurposeVariable = function(
   layer,
   value
)
Set the value of temp for the specified layer
mxGraphHierarchyEdge.prototype.setGeneralPurposeVariable = function(layer,
value)
Set the value of temp for the specified layer
mxGraphHierarchyNode.prototype.setGeneralPurposeVariable = function(layer,
value)
Set the value of temp for the specified layer
mxCell.prototype.setGeometry = function(geometry)
Sets the mxGeometry to be used as the geometry.
mxGraphModel.prototype.setGeometry = function(cell,
geometry)
Sets the mxGeometry of the given mxCell.
mxAbstractCanvas2D.prototype.setGradient = function(color1,
color2,
x,
y,
w,
h,
direction,
alpha1,
alpha2)
Sets the current gradient.
mxXmlCanvas2D.prototype.setGradient = function(color1,
color2,
x,
y,
w,
h,
direction,
alpha1,
alpha2)
Sets the gradient.
mxAutoSaveManager.prototype.setGraph = function(graph)
Sets the graph that the layouts operate on.
mxLayoutManager.prototype.setGraph = function(graph)
Sets the graph that the layouts operate on.
mxSwimlaneManager.prototype.setGraph = function(graph)
Sets the graph that the manager operates on.
mxGraphView.prototype.setGraphBounds = function(value)
Sets graphBounds.
mxEditor.prototype.setGraphContainer = function (container)
Sets the graph’s container using mxGraph.init.
mxDragSource.prototype.setGridEnabled = function(value)
Sets gridEnabled.
mxGraph.prototype.setGridEnabled = function(value)
Specifies if the grid should be enabled.
mxGraph.prototype.setGridSize = function(value)
Sets gridSize.
mxDragSource.prototype.setGuidesEnabled = function(value)
Sets guidesEnabled.
mxTooltipHandler.prototype.setHideOnHover = function(value)
Sets hideOnHover.
mxCellHighlight.prototype.setHighlightColor = function(color)
Sets the color of the rectangle used to highlight drop targets.
mxGraphHandler.prototype.setHighlightColor = function(color)
Sets the color of the rectangle used to highlight drop targets.
mxSwimlaneManager.prototype.setHorizontal = function(value)
Sets horizontal.
mxCellMarker.prototype.setHotspot = function(hotspot)
Sets the hotspot.
mxCellMarker.prototype.setHotspotEnabled = function(enabled)
Specifies whether the hotspot should be used in intersects.
mxGraph.prototype.setHtmlLabels = function(value)
Sets htmlLabels.
mxCell.prototype.setId = function(id)
Sets the Id of the cell to the given string.
mxWindow.prototype.setImage = function(image)
Sets the image associated with the window.
Sets the inner HTML of the given element to the value.
mxGraph.prototype.setInvokesStopCellEditing = function(value)
Sets invokesStopCellEditing.
mxAbstractCanvas2D.prototype.setLineCap = function(value)
Sets the current line cap.
mxXmlCanvas2D.prototype.setLineCap = function(value)
Sets the line cap.
mxAbstractCanvas2D.prototype.setLineJoin = function(value)
Sets the current line join.
mxXmlCanvas2D.prototype.setLineJoin = function(value)
Sets the line join.
mxAbstractCanvas2D.prototype.setLink = function(link)
Sets the current link.
mxSvgCanvas2D.prototype.setLink = function(link)
Experimental implementation for hyperlinks.
mxWindow.prototype.setLocation = function(x,
y)
Sets the upper, left corner of the window.
Sets if any cell may be moved, sized, bended, disconnected, edited or selected.
mxWindow.prototype.setMaximizable = function(maximizable)
Sets if the window is maximizable.
mxWindow.prototype.setMinimizable = function(minimizable)
Sets if the window is minimizable.
mxAbstractCanvas2D.prototype.setMiterLimit = function(value)
Sets the current miter limit.
mxXmlCanvas2D.prototype.setMiterLimit = function(value)
Sets the miter limit.
mxEditor.prototype.setMode = function(modename)
Puts the graph into the specified mode.
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.
mxPanningHandler.prototype.setPinchEnabled = function(value)
Sets pinchEnabled.
mxGraph.prototype.setPortsEnabled = function(value)
Specifies if the ports should be enabled.
mxHandle.prototype.setPosition = function(bounds,
pt,
me)
Hooks for subclassers to update the style in the state.
setPrefixedStyle: function()
Adds the given style with the standard name and an optional vendor prefix for the current browser.
mxEdgeHandler.prototype.setPreviewColor = function(color)
Sets the color of the preview to the given value.
mxRectangle.prototype.setRect = function(x,
y,
w,
h)
Sets this rectangle to the specified values
mxGraph.prototype.setRecursiveResize = function(value)
Sets recursiveResize.
mxGraphHandler.prototype.setRemoveCellsFromParent = function(value)
Sets removeCellsFromParent.
mxGraphView.prototype.setRendering = function(value)
Sets rendering.
mxXmlRequest.prototype.setRequestHeaders = function(request,
params)
Sets the headers for the given request and parameters.
mxWindow.prototype.setResizable = function(resizable)
Sets if the window should be resizable.
mxGraph.prototype.setResizeContainer = function(value)
Sets resizeContainer.
mxSwimlaneManager.prototype.setResizeEnabled = function(value)
Sets resizeEnabled.
mxGraphModel.prototype.setRoot = function(root)
Sets the root of the model using mxRootChange and adds the change to the current transaction.
mxGraphView.prototype.setScale = function(value)
Sets the scale and fires a scale event before calling revalidate followed by mxGraph.sizeDidChange.
mxWindow.prototype.setScrollable = function(scrollable)
Sets if the window contents should be scrollable.
mxGraphHandler.prototype.setSelectEnabled = function(value)
Sets selectEnabled.
mxGraph.prototype.setSelectionCell = function(cell)
Sets the selection cell.
mxGraph.prototype.setSelectionCells = function(cells)
Sets the selection cell.
mxGraph.prototype.setSelectionModel = function(selectionModel)
Sets the mxSelectionModel that contains the selection.
mxAbstractCanvas2D.prototype.setShadow = function(enabled)
Enables or disables and configures the current shadow.
mxXmlCanvas2D.prototype.setShadow = function(value)
Enables or disables shadows.
mxAbstractCanvas2D.prototype.setShadowAlpha = function(value)
Enables or disables and configures the current shadow.
mxXmlCanvas2D.prototype.setShadowAlpha = function(value)
Sets the current shadows alpha.
mxAbstractCanvas2D.prototype.setShadowColor = function(value)
Enables or disables and configures the current shadow.
mxXmlCanvas2D.prototype.setShadowColor = function(value)
Sets the current shadow color.
mxAbstractCanvas2D.prototype.setShadowOffset = function(dx,
dy)
Enables or disables and configures the current shadow.
mxXmlCanvas2D.prototype.setShadowOffset = function(dx,
dy)
Sets the current shadow offset.
mxGraphSelectionModel.prototype.setSingleSelection = function(singleSelection)
Sets the singleSelection flag.
mxWindow.prototype.setSize = function(width,
height)
Sets the size of the window.
mxGraph.prototype.setSplitEnabled = function(value)
Specifies if the graph should allow dropping of cells onto or into other cells.
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.
mxHandle.prototype.setVisible = function(visible)
Shows or hides this handle.
setVisible: function(visible)
Shows or hides the console.
mxWindow.prototype.setVisible = function(visible)
Shows or hides the window depending on the given flag.
mxCellState.prototype.setVisibleTerminalState = function (terminalState,
source)
Sets the visible source or target terminal state.
mxGraphAbstractHierarchyCell.prototype.setX = function(layer,
value)
Set the value of x for the specified layer
mxGraphAbstractHierarchyCell.prototype.setY = function(layer,
value)
Set the value of y for the specified layer
mxOutline.prototype.setZoomEnabled = function(value)
Enables or disables the zoom handling by showing or hiding the respective handle.
mxGraphHandler.prototype.shouldRemoveCellsFromParent = function(parent,
cells,
evt)
Returns true if the given cells should be removed from the parent for the specified mousereleased event.
mxCellStatePreview.prototype.show = function(visitor)
show: function()
Shows the console.
mxMorphing.prototype.show = function(move)
Shows the changes in the given mxCellStatePreview.
mxTooltipHandler.prototype.show = function(tip,
x,
y)
Shows the tooltip for the specified cell and optional index at the specified location (with a vertical offset of 10 pixels).
show: function(graph,
doc,
x0,
y0,
w,
h)
Copies the styles and the markup from the graph’s container into the given document and removes all cursor styles.
mxWindow.prototype.show = function()
Shows the window.
mxEditor.prototype.showHelp = function (tasks)
Shows the help window.
mxPopupMenu.prototype.showMenu = function()
Shows the menu.
mxEditor.prototype.showOutline = function ()
Shows the outline window.
mxEditor.prototype.showProperties = function (cell)
Creates and shows the properties dialog for the given cell.
mxPopupMenu.prototype.showSubmenu = function(parent,
row)
Shows the submenu inside the given parent row.
mxEditor.prototype.showTasks = function ()
Shows the tasks window.
SideToSide: function (state,
source,
target,
points,
result)
Implements a vertical elbow edge.
mxXmlRequest.prototype.simulate = function(doc,
target)
Creates and posts a request to the given target URL using a dynamically created form inside the given document.
mxGraph.prototype.sizeDidChange = function()
Called when the size of the graph has changed.
mxGraph.prototype.snap = function(value)
Snaps the given numeric value to the grid if gridEnabled is true.
mxGraphHandler.prototype.snap = function(vector)
Snaps the given vector to the grid and returns the given mxPoint instance.
mxHandle.prototype.snapPoint = function(pt,
ignore)
Snaps the given point to the grid if ignore is false.
mxConnectionHandler.prototype.snapToPreview = function(me,
point)
Called to snap the given point to the current preview.
sortCells: function(cells,
ascending)
Sorts the given cells according to the order in the cell hierarchy.
mxCompactTreeLayout.prototype.sortOutgoingEdges = function(source,
edges)
Called if sortEdges is true to sort the array of outgoing edges in place.
Reference to the source mxGraph.
mxGraph.prototype.splitEdge = function(edge,
cells,
newEdge,
dx,
dy)
Splits the given edge by adding the newEdge between the previous source and the given cell and reconnecting the source of the given edge to the given cell.
mxConnectionHandler.prototype.start = function(state,
x,
y,
edgeState)
Starts a new connection for the given state and coordinates.
mxEdgeHandler.prototype.start = function(x,
y,
index)
Starts the handling of the mouse gesture.
mxGraphHandler.prototype.start = function(cell,
x,
y)
Starts the handling of the mouse gesture.
mxPanningHandler.prototype.start = function(me)
Starts panning at the given event.
mxRubberband.prototype.start = function(x,
y)
Sets the start point for the rubberband selection.
mxVertexHandler.prototype.start = function(x,
y,
index)
Starts the handling of the mouse gesture.
mxAnimation.prototype.startAnimation = function()
Starts the animation by repeatedly invoking updateAnimation.
mxDragSource.prototype.startDrag = function(evt)
Creates the dragElement using createDragElement.
mxCellEditor.prototype.startEditing = function(cell,
trigger)
Starts the editor for the given cell.
mxGraph.prototype.startEditing = function(evt)
Calls startEditingAtCell using the given cell or the first selection cell.
mxGraph.prototype.startEditingAtCell = function(cell,
evt)
Fires a startEditing event and invokes mxCellEditor.startEditing on editor.
mxGraphView.prototype.stateValidated = function(state)
Invoked when a state has been processed in validatePoints.
mxAnimation.prototype.stopAnimation = function()
Stops the animation by deleting the timer and fires an mxEvent.DONE.
mxDragSource.prototype.stopDrag = function()
Invokes removeDragElement.
mxCellEditor.prototype.stopEditing = function(cancel)
Stops the editor and applies the value if cancel is false.
mxGraph.prototype.stopEditing = function(cancel)
Stops the current editing and fires a editingStopped event.
mxMorphing.prototype.stopRecursion = function(state,
delta)
Returns true if the animation should not recursively find more deltas for children if the given parent state has been animated.
mxSvgCanvas2D.prototype.stroke = function()
Paints the outline of the current path.
mxVmlCanvas2D.prototype.stroke = function()
Paints the outline of the current path.
mxXmlCanvas2D.prototype.stroke = function()
Paints the outline of the current drawing buffer.
mxGraphModel.prototype.styleForCellChanged = function(cell,
style)
Inner callback to update the style of the given mxCell using mxCell.setStyle and return the previous style.
Maps from names to cell styles.
submit: function(url,
params,
doc,
target)
Submits the given parameters to the specified URL using mxXmlRequest.simulate and returns the mxXmlRequest.
mxGeometry.prototype.swap = function()
Swaps the x, y, width and height with the values stored in alternateBounds and puts the previous values into alternateBounds as a rectangle.
mxGraph.prototype.swapBounds = function(cell,
willCollapse)
Swaps the alternate and the actual bounds in the geometry of the given cell invoking updateAlternateBounds before carrying out the swap.
mxEditor.prototype.swapStyles = function (first,
second)
Swaps the styles for the given names in the graph’s stylesheet and refreshes the graph.
mxSwimlaneManager.prototype.swimlaneAdded = function(swimlane)
Updates the size of the given swimlane to match that of any existing siblings swimlanes.
@@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Functions17.html b/docs/js-api/index/Functions17.html index c4a0882ef..dd4ed5eec 100644 --- a/docs/js-api/index/Functions17.html +++ b/docs/js-api/index/Functions17.html @@ -11,9 +11,9 @@ if (browserType) {document.write("
");if (browserV -
Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
T
 tapAndHold, mxGraph
 terminalForCellChanged, mxGraphModel
 text
 toDegree, mxUtils
 toggleCells, mxGraph
 toggleCellStyle, mxGraph
 toggleCellStyleFlags, mxGraph
 toggleCellStyles, mxGraph
 TopToBottom, mxEdgeStyle
 toRadians, mxUtils
 toString
 transformControlPoint, mxGraphView
 translate
 translateCell, mxGraph
 translateState, mxCellStatePreview
 transpose, mxMedianHybridCrossingReduction
 traverse
 treeLayout, mxEditor
 TrianglePerimeter, mxPerimeter
 trim
+
Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
T
 tapAndHold, mxGraph
 terminalForCellChanged, mxGraphModel
 text
 toDegree, mxUtils
 toggleCells, mxGraph
 toggleCellStyle, mxGraph
 toggleCellStyleFlags, mxGraph
 toggleCellStyles, mxGraph
 TopToBottom, mxEdgeStyle
 toRadians, mxUtils
 toString
 transformControlPoint, mxGraphView
 translate
 translateCell, mxGraph
 translateState, mxCellStatePreview
 transpose, mxMedianHybridCrossingReduction
 traverse
 treeLayout, mxEditor
 TrianglePerimeter, mxPerimeter
 trim
-
mxGraph.prototype.tapAndHold = function(me)
Handles the mxMouseEvent by highlighting the mxCellState.
mxGraphModel.prototype.terminalForCellChanged = function(edge,
terminal,
isSource)
Inner helper function to update the terminal of the edge using mxCell.insertEdge and return the previous terminal.
mxSvgCanvas2D.prototype.text = function(x,
y,
w,
h,
str,
align,
valign,
wrap,
format,
overflow,
clip,
rotation,
dir)
Paints the given text.
mxVmlCanvas2D.prototype.text = function(x,
y,
w,
h,
str,
align,
valign,
wrap,
format,
overflow,
clip,
rotation,
dir)
Paints the given text.
mxXmlCanvas2D.prototype.text = function(x,
y,
w,
h,
str,
align,
valign,
wrap,
format,
overflow,
clip,
rotation,
dir)
Paints the given text.
toDegree: function(rad)
Converts the given radians to degree.
mxGraph.prototype.toggleCells = function(show,
cells,
includeEdges)
Sets the visible state of the specified cells and all connected edges if includeEdges is true.
mxGraph.prototype.toggleCellStyle = function(key,
defaultValue,
cell)
Toggles the boolean value for the given key in the style of the given cell and returns the new value as 0 or 1.
mxGraph.prototype.toggleCellStyleFlags = function(key,
flag,
cells)
Toggles the given bit for the given key in the styles of the specified cells.
mxGraph.prototype.toggleCellStyles = function(key,
defaultValue,
cells)
Toggles the boolean value for the given key in the style of the given cells and returns the new value as 0 or 1.
TopToBottom: function(state,
source,
target,
points,
result)
Implements a horizontal elbow edge.
toRadians: function(deg)
Converts the given degree to radians.
mxCellOverlay.prototype.toString = function()
Returns the textual representation of the overlay to be used as the tooltip.
toString: function(obj)
Returns a textual representation of the specified object.
mxGraphView.prototype.transformControlPoint = function(state,
pt)
Transforms the given control point to an absolute point.
mxAbstractCanvas2D.prototype.translate = function(dx,
dy)
Translates the current state.
mxGeometry.prototype.translate = function(dx,
dy)
Translates the geometry by the specified amount.
mxXmlCanvas2D.prototype.translate = function(dx,
dy)
Translates the output.
mxGraph.prototype.translateCell = function(cell,
dx,
dy)
Translates the geometry of the given cell and stores the new, translated geometry in the model as an atomic change.
mxCellStatePreview.prototype.translateState = function(state,
dx,
dy)
mxMedianHybridCrossingReduction.prototype.transpose = function(
   mainLoopIteration,
   model
)
Takes each possible adjacent cell pair on each rank and checks if swapping them around reduces the number of crossing
mxGraph.prototype.traverse = function(vertex,
directed,
func,
edge,
visited)
Traverses the (directed) graph invoking the given function for each visited vertex and edge.
mxGraphLayout.traverse = function(vertex,
directed,
func,
edge,
visited)
Traverses the (directed) graph invoking the given function for each visited vertex and edge.
mxEditor.prototype.treeLayout = function (cell,
horizontal)
Executes a vertical or horizontal compact tree layout using the specified cell as an argument.
TrianglePerimeter: function (bounds,
vertex,
next,
orthogonal)
Describes a triangle perimeter.
mxUndoManager.prototype.trim = function()
Removes all pending steps after indexOfNextAdd from the history, invoking die on each edit.
trim: function(str,
chars)
Strips all whitespaces from both end of the string.
+
mxGraph.prototype.tapAndHold = function(me)
Handles the mxMouseEvent by highlighting the mxCellState.
mxGraphModel.prototype.terminalForCellChanged = function(edge,
terminal,
isSource)
Inner helper function to update the terminal of the edge using mxCell.insertEdge and return the previous terminal.
mxSvgCanvas2D.prototype.text = function(x,
y,
w,
h,
str,
align,
valign,
wrap,
format,
overflow,
clip,
rotation,
dir)
Paints the given text.
mxVmlCanvas2D.prototype.text = function(x,
y,
w,
h,
str,
align,
valign,
wrap,
format,
overflow,
clip,
rotation,
dir)
Paints the given text.
mxXmlCanvas2D.prototype.text = function(x,
y,
w,
h,
str,
align,
valign,
wrap,
format,
overflow,
clip,
rotation,
dir)
Paints the given text.
toDegree: function(rad)
Converts the given radians to degree.
mxGraph.prototype.toggleCells = function(show,
cells,
includeEdges)
Sets the visible state of the specified cells and all connected edges if includeEdges is true.
mxGraph.prototype.toggleCellStyle = function(key,
defaultValue,
cell)
Toggles the boolean value for the given key in the style of the given cell and returns the new value as 0 or 1.
mxGraph.prototype.toggleCellStyleFlags = function(key,
flag,
cells)
Toggles the given bit for the given key in the styles of the specified cells.
mxGraph.prototype.toggleCellStyles = function(key,
defaultValue,
cells)
Toggles the boolean value for the given key in the style of the given cells and returns the new value as 0 or 1.
TopToBottom: function(state,
source,
target,
points,
result)
Implements a horizontal elbow edge.
toRadians: function(deg)
Converts the given degree to radians.
mxCellOverlay.prototype.toString = function()
Returns the textual representation of the overlay to be used as the tooltip.
toString: function(obj)
Returns a textual representation of the specified object.
mxGraphView.prototype.transformControlPoint = function(state,
pt)
Transforms the given control point to an absolute point.
mxAbstractCanvas2D.prototype.translate = function(dx,
dy)
Translates the current state.
mxGeometry.prototype.translate = function(dx,
dy)
Translates the geometry by the specified amount.
mxXmlCanvas2D.prototype.translate = function(dx,
dy)
Translates the output.
mxGraph.prototype.translateCell = function(cell,
dx,
dy)
Translates the geometry of the given cell and stores the new, translated geometry in the model as an atomic change.
mxCellStatePreview.prototype.translateState = function(state,
dx,
dy)
mxMedianHybridCrossingReduction.prototype.transpose = function(
   mainLoopIteration,
   model
)
Takes each possible adjacent cell pair on each rank and checks if swapping them around reduces the number of crossing
mxGraph.prototype.traverse = function(vertex,
directed,
func,
edge,
visited)
Traverses the (directed) graph invoking the given function for each visited vertex and edge.
mxGraphLayout.traverse = function(vertex,
directed,
func,
edge,
visited)
Traverses the (directed) graph invoking the given function for each visited vertex and edge.
mxEditor.prototype.treeLayout = function (cell,
horizontal)
Executes a vertical or horizontal compact tree layout using the specified cell as an argument.
TrianglePerimeter: function (bounds,
vertex,
next,
orthogonal)
Describes a triangle perimeter.
mxUndoManager.prototype.trim = function()
Removes all pending steps after indexOfNextAdd from the history, invoking die on each edit.
trim: function(str,
chars)
Strips all whitespaces from both end of the string.
@@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Functions18.html b/docs/js-api/index/Functions18.html index 9d62d4613..97732ddcf 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
 updateCachedBounds, mxCellState
 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
 updateHint
 updateHtmlCanvasSize, mxGraphView
 updateHtmlFilter, mxText
 updateHtmlFilters, mxShape
 updateHtmlTransform, mxText
 updateIcons, mxConnectionHandler
 updateMinBounds, mxVertexHandler
 updateMouseEvent, mxGraph
 updatePageBreaks, mxGraph
 updateParentHighlight, mxVertexHandler
 updatePoints, mxGraphView
 updatePreviewShape, mxGraphHandler
 updatePreviewState
 updateSize, mxText
 updateStroke, mxSvgCanvas2D
 updateStrokeAttributes, mxSvgCanvas2D
 updateTransform, mxShape
 updateValue, mxText
 updateVertexLabelOffset, mxGraphView
 updateVertexState, mxGraphView
 updateVmlContainer
 updatingDocumentResource, mxGraphView
 useGuidesForEvent, mxGraphHandler
+
Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
U
 undo
 undoableEditHappened, mxUndoManager
 ungroupCells, mxGraph
 union, mxVertexHandler
 unmark, mxCellMarker
 update
 updateAlternateBounds, mxGraph
 updateAnimation
 updateBaseUrl, mxUrlConverter
 updateBoundingBox
 updateBoundsFromPoints, mxShape
 updateCachedBounds, mxCellState
 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
 updateHint
 updateHtmlCanvasSize, mxGraphView
 updateHtmlFilter, mxText
 updateHtmlFilters, mxShape
 updateHtmlTransform, mxText
 updateIcons, mxConnectionHandler
 updateMinBounds, mxVertexHandler
 updateMouseEvent, mxGraph
 updatePageBreaks, mxGraph
 updateParentHighlight, mxVertexHandler
 updatePoints, mxGraphView
 updatePreviewShape, mxGraphHandler
 updatePreviewState
 updateSize, mxText
 updateStroke, mxSvgCanvas2D
 updateStrokeAttributes, mxSvgCanvas2D
 updateTransform, mxShape
 updateValue, mxText
 updateVertexLabelOffset, mxGraphView
 updateVertexState, mxGraphView
 updateVmlContainer
 updatingDocumentResource, mxGraphView
 useGuidesForEvent, mxGraphHandler
-
mxEditor.prototype.undo = function ()
Undo the last change in graph.
mxUndoableEdit.prototype.undo = function()
Undoes all changes in this edit.
mxUndoManager.prototype.undo = function()
Undoes the last change.
mxUndoManager.prototype.undoableEditHappened = function(undoableEdit)
Method to be called to add new undoable edits to the history.
mxGraph.prototype.ungroupCells = function(cells)
Ungroups the given cells by moving the children the children to their parents parent and removing the empty groups.
mxVertexHandler.prototype.union = function(bounds,
dx,
dy,
index,
gridEnabled,
scale,
tr,
constrained)
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.
mxCellState.prototype.updateCachedBounds = function()
Updates the cellBounds and paintBounds.
mxGraph.prototype.updateCellSize = function(cell,
ignoreChildren)
Updates the size of the given cell in the model using cellSizeUpdated.
mxGraphView.prototype.updateCellState = function(state)
Updates the given mxCellState.
mxGraphView.prototype.updateContainerStyle = function(container)
Updates the style of the container after installing the SVG DOM elements.
mxConnectionHandler.prototype.updateCurrentState = function(me,
point)
Updates the current state for a given mouse move event by using the marker.
mxGraphView.prototype.updateEdgeBounds = function(state)
Updates the given state using the bounding box of t he absolute points.
mxGraphView.prototype.updateEdgeLabelOffset = function(state)
Updates mxCellState.absoluteOffset for the given state.
mxGraphModel.prototype.updateEdgeParent = function(edge,
root)
Inner callback to update the parent of the specified mxCell to the nearest-common-ancestor of its two terminals.
mxGraphModel.prototype.updateEdgeParents = function(cell,
root)
Updates the parent for all edges that are connected to cell or one of its descendants using updateEdgeParent.
mxGraphView.prototype.updateEdgeState = function(state,
geo)
Validates the given cell state.
mxSvgCanvas2D.prototype.updateFill = function()
Transfers the stroke attributes from state to node.
mxGraphView.prototype.updateFixedTerminalPoint = function(edge,
terminal,
source,
constraint)
Sets the fixed source or target terminal point on the given edge.
mxGraphView.prototype.updateFixedTerminalPoints = function(edge,
source,
target)
Sets the initial absolute terminal points in the given state before the edge style is computed.
mxGraphView.prototype.updateFloatingTerminalPoint = function(edge,
start,
end,
source)
Updates the absolute terminal point in the given state for the given start and end state, where start is the source if source is true.
mxGraphView.prototype.updateFloatingTerminalPoints = function(state,
source,
target)
Updates the terminal points in the given state after the edge style was computed for the edge.
mxSvgCanvas2D.prototype.updateFont = function(node)
Updates the text properties for the given node.
mxText.prototype.updateFont = function(node)
Updates the HTML node(s) to reflect the latest bounds and scale.
mxGraph.prototype.updateGroupBounds = function(cells,
border,
moveGroup,
topBorder,
rightBorder,
bottomBorder,
leftBorder)
Updates the bounds of the given groups to include all children and returns the passed-in cells.
mxSwimlaneLayout.prototype.updateGroupBounds = function()
Updates the bounds of the given array of groups so that it includes all child vertices.
mxEdgeHandler.prototype.updateHint = function(me,
point)
Hook for subclassers do show details while the handler is active.
mxGraphHandler.prototype.updateHint = function(me)
Hook for subclassers do show details while the handler is active.
mxVertexHandler.prototype.updateHint = function(me)
Hook for subclassers do show details while the handler is active.
mxGraphView.prototype.updateHtmlCanvasSize = function(width,
height)
Updates the size of the HTML canvas.
mxText.prototype.updateHtmlFilter = function()
Rotated text rendering quality is bad for IE9 quirks/IE8 standards
mxShape.prototype.updateHtmlFilters = function(node)
Allow optimization by replacing VML with HTML.
mxText.prototype.updateHtmlTransform = function()
Returns the spacing as an mxPoint.
mxConnectionHandler.prototype.updateIcons = function(state,
icons,
me)
Hook to update the icon position(s) based on a mouseOver event.
mxVertexHandler.prototype.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.
mxVertexHandler.prototype.updateParentHighlight = function()
Updates the highlight of the parent if parentHighlightEnabled is true.
mxGraphView.prototype.updatePoints = function(edge,
points,
source,
target)
Updates the absolute points in the given state using the specified array of mxPoints as the relative points.
mxGraphHandler.prototype.updatePreviewShape = function()
Updates the bounds of the preview shape.
mxEdgeSegmentHandler.prototype.updatePreviewState = function(edge,
point,
terminalState,
me)
Overridden to perform optimization of the edge style result.
mxEdgeHandler.prototype.updatePreviewState = function(edge,
point,
terminalState,
me)
Updates the given preview state taking into account the state of the constraint handler.
mxText.prototype.updateSize = function(node,
enableWrap)
Updates the HTML node(s) to reflect the latest bounds and scale.
mxSvgCanvas2D.prototype.updateStroke = function()
Transfers the stroke attributes from state to node.
mxSvgCanvas2D.prototype.updateStrokeAttributes = function()
Transfers the stroke attributes from state to node.
mxShape.prototype.updateTransform = function(c,
x,
y,
w,
h)
Sets the scale and rotation on the given canvas.
mxText.prototype.updateValue = function()
Updates the HTML node(s) to reflect the latest bounds and scale.
mxGraphView.prototype.updateVertexLabelOffset = function(state)
Updates the absoluteOffset of the given vertex cell state.
mxGraphView.prototype.updateVertexState = function(state,
geo)
Validates the given cell state.
mxShape.prototype.updateVmlContainer = function()
Updates the bounds of the VML container.
mxText.prototype.updateVmlContainer = function()
Sets the width and height of the container to 1px.
Specifies the resource key for the status message while the document is being updated.
mxGraphHandler.prototype.useGuidesForEvent = function(me)
Returns true if the guides should be used for the given mxMouseEvent.
+
mxEditor.prototype.undo = function ()
Undo the last change in graph.
mxUndoableEdit.prototype.undo = function()
Undoes all changes in this edit.
mxUndoManager.prototype.undo = function()
Undoes the last change.
mxUndoManager.prototype.undoableEditHappened = function(undoableEdit)
Method to be called to add new undoable edits to the history.
mxGraph.prototype.ungroupCells = function(cells)
Ungroups the given cells by moving the children the children to their parents parent and removing the empty groups.
mxVertexHandler.prototype.union = function(bounds,
dx,
dy,
index,
gridEnabled,
scale,
tr,
constrained)
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.
mxCellState.prototype.updateCachedBounds = function()
Updates the cellBounds and paintBounds.
mxGraph.prototype.updateCellSize = function(cell,
ignoreChildren)
Updates the size of the given cell in the model using cellSizeUpdated.
mxGraphView.prototype.updateCellState = function(state)
Updates the given mxCellState.
mxGraphView.prototype.updateContainerStyle = function(container)
Updates the style of the container after installing the SVG DOM elements.
mxConnectionHandler.prototype.updateCurrentState = function(me,
point)
Updates the current state for a given mouse move event by using the marker.
mxGraphView.prototype.updateEdgeBounds = function(state)
Updates the given state using the bounding box of t he absolute points.
mxGraphView.prototype.updateEdgeLabelOffset = function(state)
Updates mxCellState.absoluteOffset for the given state.
mxGraphModel.prototype.updateEdgeParent = function(edge,
root)
Inner callback to update the parent of the specified mxCell to the nearest-common-ancestor of its two terminals.
mxGraphModel.prototype.updateEdgeParents = function(cell,
root)
Updates the parent for all edges that are connected to cell or one of its descendants using updateEdgeParent.
mxGraphView.prototype.updateEdgeState = function(state,
geo)
Validates the given cell state.
mxSvgCanvas2D.prototype.updateFill = function()
Transfers the stroke attributes from state to node.
mxGraphView.prototype.updateFixedTerminalPoint = function(edge,
terminal,
source,
constraint)
Sets the fixed source or target terminal point on the given edge.
mxGraphView.prototype.updateFixedTerminalPoints = function(edge,
source,
target)
Sets the initial absolute terminal points in the given state before the edge style is computed.
mxGraphView.prototype.updateFloatingTerminalPoint = function(edge,
start,
end,
source)
Updates the absolute terminal point in the given state for the given start and end state, where start is the source if source is true.
mxGraphView.prototype.updateFloatingTerminalPoints = function(state,
source,
target)
Updates the terminal points in the given state after the edge style was computed for the edge.
mxSvgCanvas2D.prototype.updateFont = function(node)
Updates the text properties for the given node.
mxText.prototype.updateFont = function(node)
Updates the HTML node(s) to reflect the latest bounds and scale.
mxGraph.prototype.updateGroupBounds = function(cells,
border,
moveGroup,
topBorder,
rightBorder,
bottomBorder,
leftBorder)
Updates the bounds of the given groups to include all children and returns the passed-in cells.
mxSwimlaneLayout.prototype.updateGroupBounds = function()
Updates the bounds of the given array of groups so that it includes all child vertices.
mxEdgeHandler.prototype.updateHint = function(me,
point)
Hook for subclassers do show details while the handler is active.
mxGraphHandler.prototype.updateHint = function(me)
Hook for subclassers do show details while the handler is active.
mxVertexHandler.prototype.updateHint = function(me)
Hook for subclassers do show details while the handler is active.
mxGraphView.prototype.updateHtmlCanvasSize = function(width,
height)
Updates the size of the HTML canvas.
mxText.prototype.updateHtmlFilter = function()
Rotated text rendering quality is bad for IE9 quirks/IE8 standards
mxShape.prototype.updateHtmlFilters = function(node)
Allow optimization by replacing VML with HTML.
mxText.prototype.updateHtmlTransform = function()
Returns the spacing as an mxPoint.
mxConnectionHandler.prototype.updateIcons = function(state,
icons,
me)
Hook to update the icon position(s) based on a mouseOver event.
mxVertexHandler.prototype.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.
mxVertexHandler.prototype.updateParentHighlight = function()
Updates the highlight of the parent if parentHighlightEnabled is true.
mxGraphView.prototype.updatePoints = function(edge,
points,
source,
target)
Updates the absolute points in the given state using the specified array of mxPoints as the relative points.
mxGraphHandler.prototype.updatePreviewShape = function()
Updates the bounds of the preview shape.
mxEdgeSegmentHandler.prototype.updatePreviewState = function(edge,
point,
terminalState,
me)
Overridden to perform optimization of the edge style result.
mxEdgeHandler.prototype.updatePreviewState = function(edge,
point,
terminalState,
me)
Updates the given preview state taking into account the state of the constraint handler.
mxText.prototype.updateSize = function(node,
enableWrap)
Updates the HTML node(s) to reflect the latest bounds and scale.
mxSvgCanvas2D.prototype.updateStroke = function()
Transfers the stroke attributes from state to node.
mxSvgCanvas2D.prototype.updateStrokeAttributes = function()
Transfers the stroke attributes from state to node.
mxShape.prototype.updateTransform = function(c,
x,
y,
w,
h)
Sets the scale and rotation on the given canvas.
mxText.prototype.updateValue = function()
Updates the HTML node(s) to reflect the latest bounds and scale.
mxGraphView.prototype.updateVertexLabelOffset = function(state)
Updates the absoluteOffset of the given vertex cell state.
mxGraphView.prototype.updateVertexState = function(state,
geo)
Validates the given cell state.
mxShape.prototype.updateVmlContainer = function()
Updates the bounds of the VML container.
mxText.prototype.updateVmlContainer = function()
Sets the width and height of the container to 1px.
Specifies the resource key for the status message while the document is being updated.
mxGraphHandler.prototype.useGuidesForEvent = function(me)
Returns true if the guides should be used for the given mxMouseEvent.
@@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Functions19.html b/docs/js-api/index/Functions19.html index 771149430..f08f896a3 100644 --- a/docs/js-api/index/Functions19.html +++ b/docs/js-api/index/Functions19.html @@ -11,17 +11,17 @@ if (browserType) {document.write("
");if (browserV -
Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
V
 validate, mxGraphView
 validateBackground, mxGraphView
 validateBackgroundImage, mxGraphView
 validateBackgroundPage, mxGraphView
 validateCell
 validateCellState, mxGraphView
 validateConnection
 validateEdge, mxGraph
 validateGraph, mxGraph
 validationAlert, mxGraph
 valueChanged, mxCell
 valueForCellChanged, mxGraphModel
 verticalLayout, mxCompactTreeLayout
 visibleStateForCellChanged, mxGraphModel
 visit
W
 warn, mxLog
 WeightedCellSorter, WeightedCellSorter
 weightedMedian, mxMedianHybridCrossingReduction
 write
 writeAttribute, mxObjectCodec
 writeComplexAttribute, mxObjectCodec
 writeDefaults, mxXmlCanvas2D
 writeGraphModel, mxEditor
 writeHead, mxPrintPreview
 writeln
 writePrimitiveAttribute, mxObjectCodec
Z
 zoom, mxGraph
 zoomActual, mxGraph
 zoomIn, mxGraph
 zoomOut, mxGraph
 zoomTo, mxGraph
 zoomToRect, mxGraph
+
Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
V
 validate, mxGraphView
 validateBackground, mxGraphView
 validateBackgroundImage, mxGraphView
 validateBackgroundPage, mxGraphView
 validateCell
 validateCellState, mxGraphView
 validateConnection
 validateEdge, mxGraph
 validateGraph, mxGraph
 validationAlert, mxGraph
 valueChanged, mxCell
 valueForCellChanged, mxGraphModel
 verticalLayout, mxCompactTreeLayout
 visibleStateForCellChanged, mxGraphModel
 visit
W
 warn, mxLog
 WeightedCellSorter, WeightedCellSorter
 weightedMedian, mxMedianHybridCrossingReduction
 write
 writeAttribute, mxObjectCodec
 writeComplexAttribute, mxObjectCodec
 writeDefaults, mxXmlCanvas2D
 writeGraphModel, mxEditor
 writeHead, mxPrintPreview
 writeln
 writePrimitiveAttribute, mxObjectCodec
Z
 zoom, mxGraph
 zoomActual, mxGraph
 zoomIn, mxGraph
 zoomOut, mxGraph
 zoomTo, mxGraph
 zoomToRect, mxGraph
-
mxGraphView.prototype.validate = function(cell)
Calls validateCell and validateCellState and updates the graphBounds using getBoundingBox.
mxGraphView.prototype.validateBackground = function()
Calls validateBackgroundImage and validateBackgroundPage.
mxGraphView.prototype.validateBackgroundImage = function()
Validates the background image.
mxGraphView.prototype.validateBackgroundPage = function()
Validates the background page.
mxGraph.prototype.validateCell = function(cell,
context)
Hook method for subclassers to return an error message for the given cell and validation context.
mxGraphView.prototype.validateCell = function(cell,
visible)
Recursively creates the cell state for the given cell if visible is true and the given cell is visible.
mxGraphView.prototype.validateCellState = function(cell,
recurse)
Validates and repaints the mxCellState for the given mxCell.
mxConnectionHandler.prototype.validateConnection = function(source,
target)
Returns the error message or an empty string if the connection for the given source target pair is not valid.
mxEdgeHandler.prototype.validateConnection = function(source,
target)
Returns the error message or an empty string if the connection for the given source, target pair is not valid.
mxGraph.prototype.validateEdge = function(edge,
source,
target)
Hook method for subclassers to return an error message for the given edge and terminals.
mxGraph.prototype.validateGraph = function(cell,
context)
Validates the graph by validating each descendant of the given cell or the root of the model.
mxGraph.prototype.validationAlert = function(message)
Displays the given validation error in a dialog.
mxCell.prototype.valueChanged = function(newValue)
Changes the user object after an in-place edit and returns the previous value.
mxGraphModel.prototype.valueForCellChanged = function(cell,
value)
Inner callback to update the user object of the given mxCell using mxCell.valueChanged and return the previous value, that is, the return value of mxCell.valueChanged.
mxCompactTreeLayout.prototype.verticalLayout = function(node,
parent,
x0,
y0,
bounds)
mxGraphModel.prototype.visibleStateForCellChanged = function(cell,
visible)
Inner callback to update the visible state of the given mxCell using mxCell.setCollapsed and return the previous visible state.
mxDictionary.prototype.visit = function(visitor)
Visits all entries in the dictionary using the given function with the following signature: function(key, value) where key is a string and value is an object.
mxGraphHierarchyModel.prototype.visit = function(visitor,
dfsRoots,
trackAncestors,
seenNodes)
A depth first search through the internal heirarchy model.
mxSwimlaneModel.prototype.visit = function(visitor,
dfsRoots,
trackAncestors,
seenNodes)
A depth first search through the internal heirarchy model.
+
mxGraphView.prototype.validate = function(cell)
Calls validateCell and validateCellState and updates the graphBounds using getBoundingBox.
mxGraphView.prototype.validateBackground = function()
Calls validateBackgroundImage and validateBackgroundPage.
mxGraphView.prototype.validateBackgroundImage = function()
Validates the background image.
mxGraphView.prototype.validateBackgroundPage = function()
Validates the background page.
mxGraph.prototype.validateCell = function(cell,
context)
Hook method for subclassers to return an error message for the given cell and validation context.
mxGraphView.prototype.validateCell = function(cell,
visible)
Recursively creates the cell state for the given cell if visible is true and the given cell is visible.
mxGraphView.prototype.validateCellState = function(cell,
recurse)
Validates and repaints the mxCellState for the given mxCell.
mxConnectionHandler.prototype.validateConnection = function(source,
target)
Returns the error message or an empty string if the connection for the given source target pair is not valid.
mxEdgeHandler.prototype.validateConnection = function(source,
target)
Returns the error message or an empty string if the connection for the given source, target pair is not valid.
mxGraph.prototype.validateEdge = function(edge,
source,
target)
Hook method for subclassers to return an error message for the given edge and terminals.
mxGraph.prototype.validateGraph = function(cell,
context)
Validates the graph by validating each descendant of the given cell or the root of the model.
mxGraph.prototype.validationAlert = function(message)
Displays the given validation error in a dialog.
mxCell.prototype.valueChanged = function(newValue)
Changes the user object after an in-place edit and returns the previous value.
mxGraphModel.prototype.valueForCellChanged = function(cell,
value)
Inner callback to update the user object of the given mxCell using mxCell.valueChanged and return the previous value, that is, the return value of mxCell.valueChanged.
mxCompactTreeLayout.prototype.verticalLayout = function(node,
parent,
x0,
y0,
bounds)
mxGraphModel.prototype.visibleStateForCellChanged = function(cell,
visible)
Inner callback to update the visible state of the given mxCell using mxCell.setCollapsed and return the previous visible state.
mxDictionary.prototype.visit = function(visitor)
Visits all entries in the dictionary using the given function with the following signature: function(key, value) where key is a string and value is an object.
mxGraphHierarchyModel.prototype.visit = function(visitor,
dfsRoots,
trackAncestors,
seenNodes)
A depth first search through the internal heirarchy model.
mxSwimlaneModel.prototype.visit = function(visitor,
dfsRoots,
trackAncestors,
seenNodes)
A depth first search through the internal heirarchy model.
-
warn: function()
Adds all arguments to the console if WARN is enabled.
function WeightedCellSorter(cell,
weightedValue)
Constructs a new weighted cell sorted for the given cell and weight.
mxMedianHybridCrossingReduction.prototype.weightedMedian = function(iteration,
model)
Sweeps up or down the layout attempting to minimise the median placement of connected cells on adjacent ranks
write: function()
Adds the specified strings to the console.
write: function(parent,
text)
Creates a text node for the given string and appends it to the given parent.
mxObjectCodec.prototype.writeAttribute = function(enc,
obj,
name,
value,
node)
Writes the given value into node using writePrimitiveAttribute or writeComplexAttribute depending on the type of the value.
mxObjectCodec.prototype.writeComplexAttribute = function(enc,
obj,
name,
value,
node)
Writes the given value as a child node of the given node.
mxXmlCanvas2D.prototype.writeDefaults = function()
mxEditor.prototype.writeGraphModel = function (linefeed)
Hook to create the string representation of the diagram.
mxPrintPreview.prototype.writeHead = function(doc,
css)
Writes the HEAD section into the given document, without the opening and closing HEAD tags.
writeln: function()
Adds the specified strings to the console, appending a linefeed at the end of each string.
writeln: function(parent,
text)
Creates a text node for the given string and appends it to the given parent with an additional linefeed.
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.
@@ -29,7 +29,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Functions2.html b/docs/js-api/index/Functions2.html index 4706d27ba..4872dee27 100644 --- a/docs/js-api/index/Functions2.html +++ b/docs/js-api/index/Functions2.html @@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Functions3.html b/docs/js-api/index/Functions3.html index 102583bfa..b1110f0af 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
 calcRowDims, mxRadialTreeLayout
 calculateCrossings, mxMedianHybridCrossingReduction
 calculatedWeightedValue, mxCoordinateAssignment
 calculateRankCrossing, mxMedianHybridCrossingReduction
 calculateWidestRank, mxCoordinateAssignment
 canExportCell, mxGraph
 canImportCell, mxGraph
 canRedo, mxUndoManager
 canUndo, mxUndoManager
 cascadeOpacity
 cellAdded
 cellCloned, mxGraphModel
 cellConnected, mxGraph
 cellLabelChanged, mxGraph
 cellRemoved
 cellResized
 cellsAdded
 cellsFolded, mxGraph
 cellSizeUpdated, mxGraph
 cellsMoved
 cellsOrdered, mxGraph
 cellsRemoved, mxGraph
 cellsResized
 cellsToggled, mxGraph
 center, mxGraph
 changePoints, mxEdgeHandler
 changeSelection, mxGraphSelectionModel
 changeTerminalPoint, mxEdgeHandler
 check, mxMultiplicity
 checkBounds
 checkLabelHandle, mxEdgeHandler
 checkNeighbors, mxMultiplicity
 checkTerminal, mxMultiplicity
 checkTolerance, mxVertexHandler
 checkType, mxMultiplicity
 circle, mxCircleLayout
 clear
 clearCellOverlays, mxGraph
 clearSelection
 click, mxGraph
 clone
 cloneCell, mxGraphModel
 cloneCellImpl, mxGraphModel
 cloneCells
 clonePreviewState, mxEdgeHandler
 cloneTemplate, mxObjectCodec
 cloneValue, mxCell
 close
 collapsedStateForCellChanged, mxGraphModel
 compare
 computeAspect, mxStencil
 configure, mxEditor
 configureCanvas
 configureShape, mxCellRenderer
 confirm, mxUtils
 connect
 connectCell, mxGraph
 constrainChild, mxGraph
 constrainChildCells, mxGraph
 consume
 consumeCycleAttribute, mxEditor
 consumeMouseEvent, mxGraph
 consumePanningTrigger, mxPanningHandler
 contains
 convert, mxUrlConverter
 convertAttributeFromXml, mxObjectCodec
 convertAttributeToXml, mxObjectCodec
 convertHtml, mxSvgCanvas2D
 convertPoint
 convertValueToString, mxGraph
 convertWaypoint, mxConnectionHandler
 copy, mxClipboard
 copyStyle, mxHandle
 create
 createBackgroundPageShape, mxGraphView
 createBends
 createBoundingBox, mxShape
 createBounds, mxVertexHandler
 createCanvas, mxShape
 createCellEditor, mxGraph
 createCellOverlays, mxCellRenderer
 createCellRenderer, mxGraph
 createClip, mxSvgCanvas2D
 createConditions, mxDefaultPopupMenu
 createConnectionHandler, mxGraph
 createControl, mxCellRenderer
 createCustomHandles
 createDashPattern, mxSvgCanvas2D
 createDefaultEdgeStyle, mxStylesheet
 createDefaultVertexStyle, mxStylesheet
 createDiagramLayout, mxEditor
 createDiv, mxSvgCanvas2D
 createDragElement, mxDragSource
 createEdge
 createEdgeHandler, mxGraph
 createEdgeSegmentHandler, mxGraph
 createEdgeState, mxConnectionHandler
 createElbowEdgeHandler, mxGraph
 createElement
 createFill, mxVmlCanvas2D
 createGradientId, mxSvgCanvas2D
 createGraph
 createGraphHandler, mxGraph
 createGraphView, mxGraph
 createGroup, mxEditor
 createGroupCell, mxGraph
 createGuideShape, mxGuide
 createHandler, mxGraph
 createHandlers, mxGraph
 createHandleShape, mxEdgeHandler
 createHtml
 createHtmlPane, mxGraphView
 createIcons, mxConnectionHandler
 createId, mxGraphModel
 createImage, mxUtils
 createIndicatorShape, mxCellRenderer
 createInternalCells
 createLabel, mxCellRenderer
 createLabelHandleShape, mxEdgeHandler
 createLayoutManager, mxEditor
 createLine, mxCompactTreeLayout
 createMarker
 createMenu, mxDefaultPopupMenu
 createNode, mxCompactTreeLayout
 createPageSelector, mxPrintPreview
 createPanningHandler, mxGraph
 createPanningManager, mxGraph
 createParentHighlightShape, mxVertexHandler
 createPopupMenu, mxEditor
 createPopupMenuHandler, mxGraph
 createPreviewElement, mxDragSource
 createPreviewShape, mxGraphHandler
 createProperties, mxEditor
 createRect, mxVmlCanvas2D
 createRoot, mxGraphModel
 createSelectionCellsHandler, mxGraph
 createSelectionModel, mxGraph
 createSelectionShape
 createShadow
 createShadowFill, mxVmlCanvas2D
 createShadowStroke, mxVmlCanvas2D
 createShape
 createSizer
 createSizerShape, mxVertexHandler
 createState
 createStroke, mxVmlCanvas2D
 createStyle, mxSvgCanvas2D
 createStylesheet, mxGraph
 createSubmenu, mxPopupMenu
 createSvg, mxShape
 createSvgCanvas, mxShape
 createSvgGradient, mxSvgCanvas2D
 createSwimlaneLayout, mxEditor
 createSwimlaneManager, mxEditor
 createTargetVertex, mxConnectionHandler
 createTasks, mxEditor
 createText, mxVmlCanvas2D
 createTextDiv, mxCellEditor
 createTolerance, mxSvgCanvas2D
 createToolbar, mxEditor
 createTooltipHandler, mxGraph
 createTransparentFill, mxVmlCanvas2D
 createTransparentSvgRectangle, mxShape
 createUndoableEdit, mxGraphModel
 createUrlConverter, mxAbstractCanvas2D
 createVertex, mxGraph
 createVertexHandler, mxGraph
 createVirtualBend, mxElbowEdgeHandler
 createVirtualBends, mxEdgeHandler
 createVml, mxShape
 createVmlCanvas, mxShape
 createVmlElement, mxVmlCanvas2D
 createVmlGroup, mxShape
 createVmlPane, mxGraphView
 createXmlDocument, mxUtils
 crossingStage
 curveTo
 cut, mxClipboard
 cycleAttribute, mxEditor
 cycleStage
+
Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
C
 calcAttraction, mxFastOrganicLayout
 calcPositions, mxFastOrganicLayout
 calcRepulsion, mxFastOrganicLayout
 calcRowDims, mxRadialTreeLayout
 calculateCrossings, mxMedianHybridCrossingReduction
 calculatedWeightedValue, mxCoordinateAssignment
 calculateRankCrossing, mxMedianHybridCrossingReduction
 calculateWidestRank, mxCoordinateAssignment
 canExportCell, mxGraph
 canImportCell, mxGraph
 canRedo, mxUndoManager
 canUndo, mxUndoManager
 cascadeOpacity
 cellAdded
 cellCloned, mxGraphModel
 cellConnected, mxGraph
 cellLabelChanged, mxGraph
 cellRemoved
 cellResized, mxGraph
 cellsAdded
 cellsFolded, mxGraph
 cellSizeUpdated, mxGraph
 cellsMoved
 cellsOrdered, mxGraph
 cellsRemoved, mxGraph
 cellsResized
 cellsToggled, mxGraph
 center, mxGraph
 changePoints, mxEdgeHandler
 changeSelection, mxGraphSelectionModel
 changeTerminalPoint, mxEdgeHandler
 check, mxMultiplicity
 checkBounds
 checkLabelHandle, mxEdgeHandler
 checkNeighbors, mxMultiplicity
 checkTerminal, mxMultiplicity
 checkTolerance, mxVertexHandler
 checkType, mxMultiplicity
 circle, mxCircleLayout
 clear
 clearCellOverlays, mxGraph
 clearSelection
 click, mxGraph
 clone
 cloneCell, mxGraphModel
 cloneCellImpl, mxGraphModel
 cloneCells
 clonePreviewState, mxEdgeHandler
 cloneTemplate, mxObjectCodec
 cloneValue, mxCell
 close
 collapsedStateForCellChanged, mxGraphModel
 compare
 computeAspect, mxStencil
 configure, mxEditor
 configureCanvas
 configureShape, mxCellRenderer
 confirm, mxUtils
 connect
 connectCell, mxGraph
 constrainChild, mxGraph
 constrainChildCells, mxGraph
 consume
 consumeCycleAttribute, mxEditor
 consumeMouseEvent, mxGraph
 consumePanningTrigger, mxPanningHandler
 contains
 convert, mxUrlConverter
 convertAttributeFromXml, mxObjectCodec
 convertAttributeToXml, mxObjectCodec
 convertHtml, mxSvgCanvas2D
 convertPoint
 convertValueToString, mxGraph
 convertWaypoint, mxConnectionHandler
 copy, mxClipboard
 copyStyle, mxHandle
 create
 createBackgroundPageShape, mxGraphView
 createBends
 createBoundingBox, mxShape
 createBounds, mxVertexHandler
 createCanvas, mxShape
 createCellEditor, mxGraph
 createCellOverlays, mxCellRenderer
 createCellRenderer, mxGraph
 createClip, mxSvgCanvas2D
 createConditions, mxDefaultPopupMenu
 createConnectionHandler, mxGraph
 createControl, mxCellRenderer
 createControlClickHandler, mxCellRenderer
 createCustomHandles
 createDashPattern, mxSvgCanvas2D
 createDefaultEdgeStyle, mxStylesheet
 createDefaultVertexStyle, mxStylesheet
 createDiagramLayout, mxEditor
 createDiv, mxSvgCanvas2D
 createDragElement, mxDragSource
 createEdge
 createEdgeHandler, mxGraph
 createEdgeSegmentHandler, mxGraph
 createEdgeState, mxConnectionHandler
 createElbowEdgeHandler, mxGraph
 createElement
 createFill, mxVmlCanvas2D
 createGradientId, mxSvgCanvas2D
 createGraph
 createGraphHandler, mxGraph
 createGraphView, mxGraph
 createGroup, mxEditor
 createGroupCell, mxGraph
 createGuideShape, mxGuide
 createHandler, mxGraph
 createHandlers, mxGraph
 createHandleShape, mxEdgeHandler
 createHtml
 createHtmlPane, mxGraphView
 createIcons, mxConnectionHandler
 createId, mxGraphModel
 createImage, mxUtils
 createIndicatorShape, mxCellRenderer
 createInternalCells
 createLabel, mxCellRenderer
 createLabelHandleShape, mxEdgeHandler
 createLayoutManager, mxEditor
 createLine, mxCompactTreeLayout
 createMarker
 createMenu, mxDefaultPopupMenu
 createNode, mxCompactTreeLayout
 createPageSelector, mxPrintPreview
 createPanningHandler, mxGraph
 createPanningManager, mxGraph
 createParentHighlightShape, mxVertexHandler
 createPopupMenu, mxEditor
 createPopupMenuHandler, mxGraph
 createPreviewElement, mxDragSource
 createPreviewShape, mxGraphHandler
 createProperties, mxEditor
 createRect, mxVmlCanvas2D
 createRoot, mxGraphModel
 createSelectionCellsHandler, mxGraph
 createSelectionModel, mxGraph
 createSelectionShape
 createShadow
 createShadowFill, mxVmlCanvas2D
 createShadowStroke, mxVmlCanvas2D
 createShape
 createSizer
 createSizerShape, mxVertexHandler
 createState
 createStroke, mxVmlCanvas2D
 createStyle, mxSvgCanvas2D
 createStylesheet, mxGraph
 createSubmenu, mxPopupMenu
 createSvg, mxShape
 createSvgCanvas, mxShape
 createSvgGradient, mxSvgCanvas2D
 createSwimlaneLayout, mxEditor
 createSwimlaneManager, mxEditor
 createTargetVertex, mxConnectionHandler
 createTasks, mxEditor
 createText, mxVmlCanvas2D
 createTextDiv, mxCellEditor
 createTolerance, mxSvgCanvas2D
 createToolbar, mxEditor
 createTooltipHandler, mxGraph
 createTransparentFill, mxVmlCanvas2D
 createTransparentSvgRectangle, mxShape
 createUndoableEdit, mxGraphModel
 createUrlConverter, mxAbstractCanvas2D
 createVertex, mxGraph
 createVertexHandler, mxGraph
 createVirtualBend, mxElbowEdgeHandler
 createVirtualBends, mxEdgeHandler
 createVml, mxShape
 createVmlCanvas, mxShape
 createVmlElement, mxVmlCanvas2D
 createVmlGroup, mxShape
 createVmlPane, mxGraphView
 createXmlDocument, mxUtils
 crossingStage
 curveTo
 cut, mxClipboard
 cycleAttribute, mxEditor
 cycleStage
-
mxFastOrganicLayout.prototype.calcAttraction = function()
Calculates the attractive forces between all laid out nodes linked by edges
mxFastOrganicLayout.prototype.calcPositions = function()
Takes the displacements calculated for each cell and applies them to the local cache of cell positions.
mxFastOrganicLayout.prototype.calcRepulsion = function()
Calculates the repulsive forces between all laid out nodes
mxRadialTreeLayout.prototype.calcRowDims = function(row,
rowNum)
Recursive function to calculate the dimensions of each row
mxMedianHybridCrossingReduction.prototype.calculateCrossings = function(model)
Calculates the total number of edge crossing in the current graph.
mxCoordinateAssignment.prototype.calculatedWeightedValue = function(
   currentCell,
   collection
)
Calculates the priority the specified cell has based on the type of its cell and the cells it is connected to on the next layer
mxMedianHybridCrossingReduction.prototype.calculateRankCrossing = function(
   i,
   model
)
Calculates the number of edges crossings between the specified rank and the rank below it.
mxCoordinateAssignment.prototype.calculateWidestRank = function(graph,
model)
Calculates the width rank in the hierarchy.
mxGraph.prototype.canExportCell = function(cell)
Returns true if the given cell may be exported to the clipboard.
mxGraph.prototype.canImportCell = function(cell)
Returns true if the given cell may be imported from the clipboard.
mxUndoManager.prototype.canRedo = function()
Returns true if a redo is possible.
mxUndoManager.prototype.canUndo = function()
Returns true if an undo is possible.
cascadeOpacity: function(graph,
cell,
opacity)
Sets the opacity on the given cell and its descendants.
cascadeOpacity: function(graph,
cell,
opacity)
See mxEffects.cascadeOpacity.
mxGraphModel.prototype.cellAdded = function(cell)
Inner callback to update cells when a cell has been added.
mxGraphSelectionModel.prototype.cellAdded = function(cell)
Inner callback to add the specified mxCell to the selection.
mxGraphModel.prototype.cellCloned = function(cell)
Hook for cloning the cell.
mxGraph.prototype.cellConnected = function(edge,
terminal,
source,
constraint)
Sets the new terminal for the given edge and resets the edge points if resetEdgesOnConnect is true.
mxGraph.prototype.cellLabelChanged = function(cell,
value,
autoSize)
Sets the new label for a cell.
mxGraphModel.prototype.cellRemoved = function(cell)
Inner callback to update cells when a cell has been removed.
mxGraphSelectionModel.prototype.cellRemoved = function(cell)
Inner callback to remove the specified mxCell from the selection.
mxGraph.prototype.cellResized = function(cell,
bounds,
ignoreRelative,
recurse)
Resizes the parents recursively so that they contain the complete area of the resized child cell.
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.
mxGraph.prototype.center = function(horizontal,
vertical)
Centers the graph in the container.
mxEdgeHandler.prototype.changePoints = function(edge,
points,
clone)
Changes the control points of the given edge in the graph model.
mxGraphSelectionModel.prototype.changeSelection = function(added,
removed)
Inner callback to add the specified mxCell to the selection.
mxEdgeHandler.prototype.changeTerminalPoint = function(edge,
point,
isSource,
clone)
Changes the terminal point of the given edge.
mxMultiplicity.prototype.check = function(graph,
edge,
source,
target,
sourceOut,
targetIn)
Checks the multiplicity for the given arguments and returns the error for the given connection or null if the multiplicity does not apply.
mxShape.prototype.checkBounds = function()
Returns true if the bounds are not null and all of its variables are numeric.
mxText.prototype.checkBounds = function()
Returns true if the bounds are not null and all of its variables are numeric.
mxEdgeHandler.prototype.checkLabelHandle = function(b)
Checks if the label handle intersects the given bounds and moves it if it intersects.
mxMultiplicity.prototype.checkNeighbors = function(graph,
edge,
source,
target)
Checks if there are any valid neighbours in validNeighbors.
mxMultiplicity.prototype.checkTerminal = function(graph,
terminal,
edge)
Checks the given terminal cell and returns true if this rule applies.
mxVertexHandler.prototype.checkTolerance = function(me)
Checks if the coordinates for the given event are within the mxGraph.tolerance.
mxMultiplicity.prototype.checkType = function(graph,
value,
type,
attr,
attrValue)
Checks the type of the given value.
mxCircleLayout.prototype.circle = function(vertices,
r,
left,
top)
Executes the circular layout for the specified array of vertices and the given radius.
mxDictionary.prototype.clear = function()
Clears the dictionary.
mxGraphModel.prototype.clear = function()
Sets a new root using createRoot.
mxGraphSelectionModel.prototype.clear = function()
Clears the selection and fires a change event if the selection was not empty.
mxGraphView.prototype.clear = function(cell,
force,
recurse)
Removes the state of the given cell and all descendants if the given cell is not the current root.
clear: function(obj)
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.
mxGraph.prototype.connectCell = function(edge,
terminal,
source,
constraint)
Connects the specified end of the given edge to the given terminal using cellConnected and fires mxEvent.CONNECT_CELL while the transaction is in progress.
mxGraph.prototype.constrainChild = function(cell)
Keeps the given cell inside the bounds returned by getCellContainmentArea for its parent, according to the rules defined by getOverlap and isConstrainChild.
mxGraph.prototype.constrainChildCells = function(cell)
Constrains the children of the given cell using constrainChild.
consume: function(evt,
preventDefault,
stopPropagation)
Consumes the given event.
mxEventObject.prototype.consume = function()
Consumes the event.
mxMouseEvent.prototype.consume = function(preventDefault)
Sets consumed to true and invokes preventDefault on the native event if such a method is defined.
mxEditor.prototype.consumeCycleAttribute = function (cell)
Returns the next attribute in cycleAttributeValues or null, if not attribute should be used in the specified cell.
mxGraph.prototype.consumeMouseEvent = function(evtName,
me,
sender)
Destroys the graph and all its resources.
mxPanningHandler.prototype.consumePanningTrigger = function(me)
Consumes the given mxMouseEvent if it was a panning trigger in mouseDown.
mxGraphModel.prototype.contains = function(cell)
Returns true if the model contains the given mxCell.
contains: function(bounds,
x,
y)
Returns true if the specified point (x, y) is contained in the given rectangle.
mxUrlConverter.prototype.convert = function(url)
Converts the given URL to an absolute URL with protol and domain.
mxObjectCodec.prototype.convertAttributeFromXml = function(dec,
attr,
obj)
Converts booleans and numeric values to the respective types.
mxObjectCodec.prototype.convertAttributeToXml = function(enc,
obj,
name,
value)
Converts true to “1” and false to “0” is isBooleanAttribute returns true.
mxSvgCanvas2D.prototype.convertHtml = function(val)
Converts the given HTML string to XHTML.
mxEdgeHandler.prototype.convertPoint = function(point,
gridEnabled)
Converts the given point in-place from screen to unscaled, untranslated graph coordinates and applies the grid.
mxElbowEdgeHandler.prototype.convertPoint = function(point,
gridEnabled)
Converts the given point in-place from screen to unscaled, untranslated graph coordinates and applies the grid.
convertPoint: function(container,
x,
y)
Converts the specified point (x, y) using the offset of the specified container and returns a new mxPoint with the result.
mxGraph.prototype.convertValueToString = function(cell)
Returns the textual representation for the given cell.
mxConnectionHandler.prototype.convertWaypoint = function(point)
Converts the given point from screen coordinates to model coordinates.
copy: function(graph,
cells)
Copies the given array of mxCells from the specified graph to cells.
mxHandle.prototype.copyStyle = function(key)
Sets the cell style with the given name to the corresponding value in state.
create: function(cell)
Creates the cell path for the given cell.
mxGraphView.prototype.createHtml = function()
Creates the DOM nodes for the HTML display.
mxShape.prototype.create = function(container)
Creates and returns the DOM node(s) for the shape in the given container.
mxXmlRequest.prototype.create = function()
Creates and returns the inner request object.
mxGraphView.prototype.createBackgroundPageShape = function(bounds)
Creates and returns the shape used as the background page.
Adds custom bends for the center of each segment.
mxEdgeHandler.prototype.createBends = function()
Creates and returns the bends used for modifying the edge.
mxElbowEdgeHandler.prototype.createBends = function()
Overrides mxEdgeHandler.createBends to create custom bends.
mxShape.prototype.createBoundingBox = function()
Returns a new rectangle that represents the bounding box of the bare shape with no shadows or strokewidths.
Helper method to create an mxRectangle around the given centerpoint with a width and height of 2*s or 6, if no s is given.
mxShape.prototype.createCanvas = function()
Destroys the given canvas which was used for drawing.
mxGraph.prototype.createCellEditor = function()
Creates a new mxCellEditor to be used in this graph.
mxCellRenderer.prototype.createCellOverlays = function(state)
Creates the actual shape for showing the overlay for the given cell state.
mxGraph.prototype.createCellRenderer = function()
Creates a new mxCellRenderer to be used in this graph.
mxSvgCanvas2D.prototype.createClip = function(x,
y,
w,
h)
Creates a clip for the given coordinates.
mxDefaultPopupMenu.prototype.createConditions = function(editor,
cell,
evt)
Evaluates the default conditions for the given context.
mxGraph.prototype.createConnectionHandler = function()
Creates and returns a new mxConnectionHandler to be used in this graph.
mxCellRenderer.prototype.createControl = function(state)
Creates the control for the given cell state.
mxEdgeHandler.prototype.createCustomHandles = function()
Returns an array of custom handles.
mxVertexHandler.prototype.createCustomHandles = function()
Returns an array of custom handles.
mxSvgCanvas2D.prototype.createDashPattern = function(scale)
Creates the SVG dash pattern for the given state.
mxStylesheet.prototype.createDefaultEdgeStyle = function()
Creates and returns the default edge style.
mxStylesheet.prototype.createDefaultVertexStyle = function()
Creates and returns the default vertex style.
mxEditor.prototype.createDiagramLayout = function ()
Creates the layout instance used to layout the swimlanes in the diagram.
mxSvgCanvas2D.prototype.createDiv = function(str,
align,
valign,
style,
overflow)
Private helper function to create SVG elements
mxDragSource.prototype.createDragElement = function(evt)
Creates and returns a clone of the dragElementPrototype or the element if the former is not defined.
mxConnectionHandler.prototype.createEdge = function(value,
source,
target,
style)
Creates and returns a new edge using factoryMethod if one exists.
mxEditor.prototype.createEdge = function (source,
target)
Uses defaultEdge as the prototype for creating new edges in the connection handler of the graph.
mxGraph.prototype.createEdge = function(parent,
id,
value,
source,
target,
style)
Hook method that creates the new edge for insertEdge.
mxGraph.prototype.createEdgeHandler = function(state)
Hooks to create a new mxEdgeHandler for the given mxCellState.
mxGraph.prototype.createEdgeSegmentHandler = function(state)
Hooks to create a new mxEdgeSegmentHandler for the given mxCellState.
mxConnectionHandler.prototype.createEdgeState = function(me)
Hook to return an mxCellState which may be used during the preview.
mxGraph.prototype.createElbowEdgeHandler = function(state)
Hooks to create a new mxElbowEdgeHandler for the given mxCellState.
mxSvgCanvas2D.prototype.createElement = function(tagName,
namespace)
Private helper function to create SVG elements
mxVmlCanvas2D.prototype.createElement = function(name)
Creates the given element using the document.
mxXmlCanvas2D.prototype.createElement = function(name)
Creates the given element using the owner document of root.
mxVmlCanvas2D.prototype.createFill = function()
Creates a fill for the current state.
mxSvgCanvas2D.prototype.createGradientId = function(start,
end,
alpha1,
alpha2,
direction)
Private helper function to create SVG elements
mxEditor.prototype.createGraph = function ()
Creates the graph for the editor.
mxOutline.prototype.createGraph = function(container)
Creates the mxGraph used in the outline.
mxGraph.prototype.createGraphHandler = function()
Creates and returns a new mxGraphHandler to be used in this graph.
mxGraph.prototype.createGraphView = function()
Creates a new mxGraphView to be used in this graph.
mxEditor.prototype.createGroup = function ()
Creates and returns a clone of defaultGroup to be used as a new group cell in group.
mxGraph.prototype.createGroupCell = function(cells)
Hook for creating the group cell to hold the given array of mxCells if no group cell was given to the group function.
mxGuide.prototype.createGuideShape = function(horizontal)
Returns the mxShape to be used for painting the respective guide.
mxGraph.prototype.createHandler = function(state)
Creates a new handler for the given cell state.
mxGraph.prototype.createHandlers = function()
Creates the tooltip-, panning-, connection- and graph-handler (in this order).
mxEdgeHandler.prototype.createHandleShape = function(index)
Creates the shape used to display the given bend.
mxImageShape.prototype.createHtml = function()
Creates and returns the HTML DOM node(s) to represent this shape.
mxShape.prototype.createHtml = function()
Creates and returns the HTML DOM node(s) to represent this shape.
mxGraphView.prototype.createHtmlPane = function(width,
height)
Creates and returns a drawing pane in HTML (DIV).
mxConnectionHandler.prototype.createIcons = function(state)
Creates the array mxImageShapes that represent the connect icons for the given mxCellState.
mxGraphModel.prototype.createId = function(cell)
Hook method to create an Id for the specified cell.
createImage: function(src)
Creates and returns an image (IMG node) or VML image (v:image) in IE6 in quirks mode.
mxCellRenderer.prototype.createIndicatorShape = function(state)
Creates the indicator shape for the given cell state.
mxGraphHierarchyModel.prototype.createInternalCells = function(layout,
vertices,
internalVertices)
Creates all edges in the internal model
mxSwimlaneModel.prototype.createInternalCells = function(layout,
vertices,
internalVertices)
Creates all edges in the internal model
mxCellRenderer.prototype.createLabel = function(state,
value)
Creates the label for the given cell state.
mxEdgeHandler.prototype.createLabelHandleShape = function()
Creates the shape used to display the the label handle.
mxEditor.prototype.createLayoutManager = function (graph)
Creates a layout manager for the swimlane and diagram layouts, that is, the locally defined inter- and intraswimlane layouts.
mxCompactTreeLayout.prototype.createLine = function(dx,
dy,
next)
mxConnectionHandler.prototype.createMarker = function()
Creates and returns the mxCellMarker used in marker.
mxConnector.prototype.createMarker = function(c,
pts,
source)
Prepares the marker by adding offsets in pts and returning a function to paint the marker.
mxEdgeHandler.prototype.createMarker = function()
Creates and returns the mxCellMarker used in marker.
createMarker: function(canvas,
shape,
type,
pe,
unitX,
unitY,
size,
source,
sw,
filled)
Returns a function to paint the given marker.
mxDefaultPopupMenu.prototype.createMenu = function(editor,
menu,
cell,
evt)
This function is called from mxEditor to add items to the given menu based on config.
mxCompactTreeLayout.prototype.createNode = function(cell)
mxPrintPreview.prototype.createPageSelector = function(vpages,
hpages)
Creates the page selector table.
mxGraph.prototype.createPanningHandler = function()
Creates and returns a new mxPanningHandler to be used in this graph.
mxGraph.prototype.createPanningManager = function()
Creates and returns an mxPanningManager.
mxVertexHandler.prototype.createParentHighlightShape = function(bounds)
Creates the shape used to draw the selection border.
mxEditor.prototype.createPopupMenu = function (menu,
cell,
evt)
Uses popupHandler to create the menu in the graph’s panning handler.
mxGraph.prototype.createPopupMenuHandler = function()
Creates and returns a new mxPopupMenuHandler to be used in this graph.
mxDragSource.prototype.createPreviewElement = function(graph)
Creates and returns an element which can be used as a preview in the given graph.
mxGraphHandler.prototype.createPreviewShape = function(bounds)
Creates the shape used to draw the preview for the given bounds.
mxEditor.prototype.createProperties = function (cell)
Creates and returns the DOM node that represents the contents of the properties dialog for the given cell.
mxVmlCanvas2D.prototype.createRect = function(nodeName,
x,
y,
w,
h)
Sets the glass gradient.
mxGraphModel.prototype.createRoot = function()
Creates a new root cell with a default layer (child 0).
mxGraph.prototype.createSelectionCellsHandler = function()
Creates and returns a new mxTooltipHandler to be used in this graph.
mxGraph.prototype.createSelectionModel = function()
Creates a new mxGraphSelectionModel to be used in this graph.
Creates the shape used to draw the selection border.
mxVertexHandler.prototype.createSelectionShape = function(bounds)
Creates the shape used to draw the selection border.
mxSvgCanvas2D.prototype.createShadow = function(node)
Creates a shadow for the given node.
mxVmlCanvas2D.prototype.createShadow = function(node,
filled,
stroked)
Creates a shadow for the given node.
mxVmlCanvas2D.prototype.createShadowFill = function()
Creates the fill for the shadow.
mxVmlCanvas2D.prototype.createShadowStroke = function()
Creates the stroke for the shadow.
mxCellHighlight.prototype.createShape = function()
Creates and returns the highlight shape for the given state.
mxCellRenderer.prototype.createShape = function(state)
Creates and returns the shape for the given cell state.
mxConnectionHandler.prototype.createShape = function()
Creates the preview shape for new connections.
mxHandle.prototype.createShape = function(html)
Creates and returns the shape for this handle.
mxRubberband.prototype.createShape = function()
Creates the rubberband selection shape.
mxOutline.prototype.createSizer = function()
Creates the shape used as the sizer.
mxVertexHandler.prototype.createSizer = function(cursor,
index,
size,
fillColor)
Creates a sizer handle for the specified cursor and index and returns the new mxRectangleShape that represents the handle.
mxVertexHandler.prototype.createSizerShape = function(bounds,
index,
fillColor)
Creates the shape used for the sizer handle for the specified bounds an index.
mxAbstractCanvas2D.prototype.createState = function()
Creates the state of the this canvas.
mxGraphView.prototype.createState = function(cell)
Creates and returns an mxCellState for the given cell and initializes it using mxCellRenderer.initialize.
mxVmlCanvas2D.prototype.createStroke = function()
Creates a fill for the current state.
mxSvgCanvas2D.prototype.createStyle = function(x)
Creates the optional style section.
mxGraph.prototype.createStylesheet = function()
Creates a new mxGraphSelectionModel to be used in this graph.
mxPopupMenu.prototype.createSubmenu = function(parent)
Creates the nodes required to add submenu items inside the given parent item.
mxShape.prototype.createSvg = function()
Creates and returns the SVG node(s) to represent this shape.
mxShape.prototype.createSvgCanvas = function()
Creates and returns an mxSvgCanvas2D for rendering this shape.
mxSvgCanvas2D.prototype.createSvgGradient = function(start,
end,
alpha1,
alpha2,
direction)
Creates the given SVG gradient.
mxEditor.prototype.createSwimlaneLayout = function ()
Creates the layout instance used to layout the children of each swimlane.
mxEditor.prototype.createSwimlaneManager = function (graph)
Sets the graph’s container using mxGraph.init.
mxConnectionHandler.prototype.createTargetVertex = function(evt,
source)
Hook method for creating new vertices on the fly if no target was under the mouse.
mxEditor.prototype.createTasks = function (div)
Updates the contents of the given DOM node to display the tasks associated with the current editor state.
Creates the innermost element that contains the HTML text.
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.
mxGraph.prototype.createTooltipHandler = function()
Creates and returns a new mxTooltipHandler to be used in this graph.
mxVmlCanvas2D.prototype.createTransparentFill = function()
Creates a transparent fill.
mxShape.prototype.createTransparentSvgRectangle = function(x,
y,
w,
h)
Adds a transparent rectangle that catches all events.
mxGraphModel.prototype.createUndoableEdit = function()
Creates a new mxUndoableEdit that implements the notify function to fire a change and notify event through the mxUndoableEdit’s source.
mxAbstractCanvas2D.prototype.createUrlConverter = function()
Create a new mxUrlConverter and returns it.
mxGraph.prototype.createVertex = function(parent,
id,
value,
x,
y,
width,
height,
style,
relative)
Hook method that creates the new vertex for insertVertex.
mxGraph.prototype.createVertexHandler = function(state)
Hooks to create a new mxVertexHandler for the given mxCellState.
mxElbowEdgeHandler.prototype.createVirtualBend = function(dblClickHandler)
Creates a virtual bend that supports double clicking and calls mxGraph.flipEdge.
mxEdgeHandler.prototype.createVirtualBends = function()
Creates and returns the bends used for modifying the edge.
mxShape.prototype.createVml = function()
Creates and returns the VML node to represent this shape.
mxShape.prototype.createVmlCanvas = function()
Creates and returns an mxVmlCanvas2D for rendering this shape.
mxVmlCanvas2D.prototype.createVmlElement = function(name)
Creates a new element using createElement and prefixes the given name with mxClient.VML_PREFIX.
mxShape.prototype.createVmlGroup = function()
Returns the temporary element used for rendering in IE8 standards mode.
mxGraphView.prototype.createVmlPane = function(width,
height)
Creates a drawing pane in VML (group).
createXmlDocument: function()
Returns a new, empty XML document.
mxHierarchicalLayout.prototype.crossingStage = function(parent)
Executes the crossing stage using mxMedianHybridCrossingReduction.
mxSwimlaneLayout.prototype.crossingStage = function(parent)
Executes the crossing stage using mxMedianHybridCrossingReduction.
mxAbstractCanvas2D.prototype.curveTo = function(x1,
y1,
x2,
y2,
x3,
y3)
Adds a bezier curve to the current path.
mxXmlCanvas2D.prototype.curveTo = function(x1,
y1,
x2,
y2,
x3,
y3)
Adds a bezier curve to the current path.
cut: function(graph,
cells)
Cuts the given array of mxCells from the specified graph.
mxEditor.prototype.cycleAttribute = function (cell)
Uses the returned value from consumeCycleAttribute as the value for the cycleAttributeName key in the given cell’s style.
mxHierarchicalLayout.prototype.cycleStage = function(parent)
Executes the cycle stage using mxMinimumCycleRemover.
mxSwimlaneLayout.prototype.cycleStage = function(parent)
Executes the cycle stage using mxMinimumCycleRemover.
+
mxFastOrganicLayout.prototype.calcAttraction = function()
Calculates the attractive forces between all laid out nodes linked by edges
mxFastOrganicLayout.prototype.calcPositions = function()
Takes the displacements calculated for each cell and applies them to the local cache of cell positions.
mxFastOrganicLayout.prototype.calcRepulsion = function()
Calculates the repulsive forces between all laid out nodes
mxRadialTreeLayout.prototype.calcRowDims = function(row,
rowNum)
Recursive function to calculate the dimensions of each row
mxMedianHybridCrossingReduction.prototype.calculateCrossings = function(model)
Calculates the total number of edge crossing in the current graph.
mxCoordinateAssignment.prototype.calculatedWeightedValue = function(
   currentCell,
   collection
)
Calculates the priority the specified cell has based on the type of its cell and the cells it is connected to on the next layer
mxMedianHybridCrossingReduction.prototype.calculateRankCrossing = function(
   i,
   model
)
Calculates the number of edges crossings between the specified rank and the rank below it.
mxCoordinateAssignment.prototype.calculateWidestRank = function(graph,
model)
Calculates the width rank in the hierarchy.
mxGraph.prototype.canExportCell = function(cell)
Returns true if the given cell may be exported to the clipboard.
mxGraph.prototype.canImportCell = function(cell)
Returns true if the given cell may be imported from the clipboard.
mxUndoManager.prototype.canRedo = function()
Returns true if a redo is possible.
mxUndoManager.prototype.canUndo = function()
Returns true if an undo is possible.
cascadeOpacity: function(graph,
cell,
opacity)
Sets the opacity on the given cell and its descendants.
cascadeOpacity: function(graph,
cell,
opacity)
See mxEffects.cascadeOpacity.
mxGraphModel.prototype.cellAdded = function(cell)
Inner callback to update cells when a cell has been added.
mxGraphSelectionModel.prototype.cellAdded = function(cell)
Inner callback to add the specified mxCell to the selection.
mxGraphModel.prototype.cellCloned = function(cell)
Hook for cloning the cell.
mxGraph.prototype.cellConnected = function(edge,
terminal,
source,
constraint)
Sets the new terminal for the given edge and resets the edge points if resetEdgesOnConnect is true.
mxGraph.prototype.cellLabelChanged = function(cell,
value,
autoSize)
Sets the new label for a cell.
mxGraphModel.prototype.cellRemoved = function(cell)
Inner callback to update cells when a cell has been removed.
mxGraphSelectionModel.prototype.cellRemoved = function(cell)
Inner callback to remove the specified mxCell from the selection.
mxGraph.prototype.cellResized = function(cell,
bounds,
ignoreRelative,
recurse)
Resizes the parents recursively so that they contain the complete area of the resized child cell.
mxGraph.prototype.cellsAdded = function(cells,
parent,
index,
source,
target,
absolute,
constrain)
Adds the specified cells to the given parent.
mxSwimlaneManager.prototype.cellsAdded = function(cells)
Called if any cells have been added.
mxGraph.prototype.cellsFolded = function(cells,
collapse,
recurse,
checkFoldable)
Sets the collapsed state of the specified cells.
mxGraph.prototype.cellSizeUpdated = function(cell,
ignoreChildren)
Updates the size of the given cell in the model using getPreferredSizeForCell to get the new size.
mxGraph.prototype.cellsMoved = function(cells,
dx,
dy,
disconnect,
constrain,
extend)
Moves the specified cells by the given vector, disconnecting the cells using disconnectGraph is disconnect is true.
mxLayoutManager.prototype.cellsMoved = function(cells,
evt)
Called from the moveHandler.
mxGraph.prototype.cellsOrdered = function(cells,
back)
Moves the given cells to the front or back.
mxGraph.prototype.cellsRemoved = function(cells)
Removes the given cells from the model.
mxGraph.prototype.cellsResized = function(cells,
bounds,
recurse)
Sets the bounds of the given cells and fires a mxEvent.CELLS_RESIZED event.
mxSwimlaneManager.prototype.cellsResized = function(cells)
Called if any cells have been resizes.
mxGraph.prototype.cellsToggled = function(cells,
show)
Sets the visible state of the specified cells.
mxGraph.prototype.center = function(horizontal,
vertical)
Centers the graph in the container.
mxEdgeHandler.prototype.changePoints = function(edge,
points,
clone)
Changes the control points of the given edge in the graph model.
mxGraphSelectionModel.prototype.changeSelection = function(added,
removed)
Inner callback to add the specified mxCell to the selection.
mxEdgeHandler.prototype.changeTerminalPoint = function(edge,
point,
isSource,
clone)
Changes the terminal point of the given edge.
mxMultiplicity.prototype.check = function(graph,
edge,
source,
target,
sourceOut,
targetIn)
Checks the multiplicity for the given arguments and returns the error for the given connection or null if the multiplicity does not apply.
mxShape.prototype.checkBounds = function()
Returns true if the bounds are not null and all of its variables are numeric.
mxText.prototype.checkBounds = function()
Returns true if the bounds are not null and all of its variables are numeric.
mxEdgeHandler.prototype.checkLabelHandle = function(b)
Checks if the label handle intersects the given bounds and moves it if it intersects.
mxMultiplicity.prototype.checkNeighbors = function(graph,
edge,
source,
target)
Checks if there are any valid neighbours in validNeighbors.
mxMultiplicity.prototype.checkTerminal = function(graph,
terminal,
edge)
Checks the given terminal cell and returns true if this rule applies.
mxVertexHandler.prototype.checkTolerance = function(me)
Checks if the coordinates for the given event are within the mxGraph.tolerance.
mxMultiplicity.prototype.checkType = function(graph,
value,
type,
attr,
attrValue)
Checks the type of the given value.
mxCircleLayout.prototype.circle = function(vertices,
r,
left,
top)
Executes the circular layout for the specified array of vertices and the given radius.
mxDictionary.prototype.clear = function()
Clears the dictionary.
mxGraphModel.prototype.clear = function()
Sets a new root using createRoot.
mxGraphSelectionModel.prototype.clear = function()
Clears the selection and fires a change event if the selection was not empty.
mxGraphView.prototype.clear = function(cell,
force,
recurse)
Removes the state of the given cell and all descendants if the given cell is not the current root.
clear: function(obj)
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.
mxGraph.prototype.connectCell = function(edge,
terminal,
source,
constraint)
Connects the specified end of the given edge to the given terminal using cellConnected and fires mxEvent.CONNECT_CELL while the transaction is in progress.
mxGraph.prototype.constrainChild = function(cell)
Keeps the given cell inside the bounds returned by getCellContainmentArea for its parent, according to the rules defined by getOverlap and isConstrainChild.
mxGraph.prototype.constrainChildCells = function(cell)
Constrains the children of the given cell using constrainChild.
consume: function(evt,
preventDefault,
stopPropagation)
Consumes the given event.
mxEventObject.prototype.consume = function()
Consumes the event.
mxMouseEvent.prototype.consume = function(preventDefault)
Sets consumed to true and invokes preventDefault on the native event if such a method is defined.
mxEditor.prototype.consumeCycleAttribute = function (cell)
Returns the next attribute in cycleAttributeValues or null, if not attribute should be used in the specified cell.
mxGraph.prototype.consumeMouseEvent = function(evtName,
me,
sender)
Destroys the graph and all its resources.
mxPanningHandler.prototype.consumePanningTrigger = function(me)
Consumes the given mxMouseEvent if it was a panning trigger in mouseDown.
mxGraphModel.prototype.contains = function(cell)
Returns true if the model contains the given mxCell.
contains: function(bounds,
x,
y)
Returns true if the specified point (x, y) is contained in the given rectangle.
mxUrlConverter.prototype.convert = function(url)
Converts the given URL to an absolute URL with protol and domain.
mxObjectCodec.prototype.convertAttributeFromXml = function(dec,
attr,
obj)
Converts booleans and numeric values to the respective types.
mxObjectCodec.prototype.convertAttributeToXml = function(enc,
obj,
name,
value)
Converts true to “1” and false to “0” is isBooleanAttribute returns true.
mxSvgCanvas2D.prototype.convertHtml = function(val)
Converts the given HTML string to XHTML.
mxEdgeHandler.prototype.convertPoint = function(point,
gridEnabled)
Converts the given point in-place from screen to unscaled, untranslated graph coordinates and applies the grid.
mxElbowEdgeHandler.prototype.convertPoint = function(point,
gridEnabled)
Converts the given point in-place from screen to unscaled, untranslated graph coordinates and applies the grid.
convertPoint: function(container,
x,
y)
Converts the specified point (x, y) using the offset of the specified container and returns a new mxPoint with the result.
mxGraph.prototype.convertValueToString = function(cell)
Returns the textual representation for the given cell.
mxConnectionHandler.prototype.convertWaypoint = function(point)
Converts the given point from screen coordinates to model coordinates.
copy: function(graph,
cells)
Copies the given array of mxCells from the specified graph to cells.
mxHandle.prototype.copyStyle = function(key)
Sets the cell style with the given name to the corresponding value in state.
create: function(cell)
Creates the cell path for the given cell.
mxGraphView.prototype.createHtml = function()
Creates the DOM nodes for the HTML display.
mxShape.prototype.create = function(container)
Creates and returns the DOM node(s) for the shape in the given container.
mxXmlRequest.prototype.create = function()
Creates and returns the inner request object.
mxGraphView.prototype.createBackgroundPageShape = function(bounds)
Creates and returns the shape used as the background page.
Adds custom bends for the center of each segment.
mxEdgeHandler.prototype.createBends = function()
Creates and returns the bends used for modifying the edge.
mxElbowEdgeHandler.prototype.createBends = function()
Overrides mxEdgeHandler.createBends to create custom bends.
mxShape.prototype.createBoundingBox = function()
Returns a new rectangle that represents the bounding box of the bare shape with no shadows or strokewidths.
Helper method to create an mxRectangle around the given centerpoint with a width and height of 2*s or 6, if no s is given.
mxShape.prototype.createCanvas = function()
Destroys the given canvas which was used for drawing.
mxGraph.prototype.createCellEditor = function()
Creates a new mxCellEditor to be used in this graph.
mxCellRenderer.prototype.createCellOverlays = function(state)
Creates the actual shape for showing the overlay for the given cell state.
mxGraph.prototype.createCellRenderer = function()
Creates a new mxCellRenderer to be used in this graph.
mxSvgCanvas2D.prototype.createClip = function(x,
y,
w,
h)
Creates a clip for the given coordinates.
mxDefaultPopupMenu.prototype.createConditions = function(editor,
cell,
evt)
Evaluates the default conditions for the given context.
mxGraph.prototype.createConnectionHandler = function()
Creates and returns a new mxConnectionHandler to be used in this graph.
mxCellRenderer.prototype.createControl = function(state)
Creates the control for the given cell state.
mxCellRenderer.prototype.createControlClickHandler = function(state)
Hook for creating the click handler for the folding icon.
mxEdgeHandler.prototype.createCustomHandles = function()
Returns an array of custom handles.
mxVertexHandler.prototype.createCustomHandles = function()
Returns an array of custom handles.
mxSvgCanvas2D.prototype.createDashPattern = function(scale)
Creates the SVG dash pattern for the given state.
mxStylesheet.prototype.createDefaultEdgeStyle = function()
Creates and returns the default edge style.
mxStylesheet.prototype.createDefaultVertexStyle = function()
Creates and returns the default vertex style.
mxEditor.prototype.createDiagramLayout = function ()
Creates the layout instance used to layout the swimlanes in the diagram.
mxSvgCanvas2D.prototype.createDiv = function(str,
align,
valign,
style,
overflow)
Private helper function to create SVG elements
mxDragSource.prototype.createDragElement = function(evt)
Creates and returns a clone of the dragElementPrototype or the element if the former is not defined.
mxConnectionHandler.prototype.createEdge = function(value,
source,
target,
style)
Creates and returns a new edge using factoryMethod if one exists.
mxEditor.prototype.createEdge = function (source,
target)
Uses defaultEdge as the prototype for creating new edges in the connection handler of the graph.
mxGraph.prototype.createEdge = function(parent,
id,
value,
source,
target,
style)
Hook method that creates the new edge for insertEdge.
mxGraph.prototype.createEdgeHandler = function(state)
Hooks to create a new mxEdgeHandler for the given mxCellState.
mxGraph.prototype.createEdgeSegmentHandler = function(state)
Hooks to create a new mxEdgeSegmentHandler for the given mxCellState.
mxConnectionHandler.prototype.createEdgeState = function(me)
Hook to return an mxCellState which may be used during the preview.
mxGraph.prototype.createElbowEdgeHandler = function(state)
Hooks to create a new mxElbowEdgeHandler for the given mxCellState.
mxSvgCanvas2D.prototype.createElement = function(tagName,
namespace)
Private helper function to create SVG elements
mxVmlCanvas2D.prototype.createElement = function(name)
Creates the given element using the document.
mxXmlCanvas2D.prototype.createElement = function(name)
Creates the given element using the owner document of root.
mxVmlCanvas2D.prototype.createFill = function()
Creates a fill for the current state.
mxSvgCanvas2D.prototype.createGradientId = function(start,
end,
alpha1,
alpha2,
direction)
Private helper function to create SVG elements
mxEditor.prototype.createGraph = function ()
Creates the graph for the editor.
mxOutline.prototype.createGraph = function(container)
Creates the mxGraph used in the outline.
mxGraph.prototype.createGraphHandler = function()
Creates and returns a new mxGraphHandler to be used in this graph.
mxGraph.prototype.createGraphView = function()
Creates a new mxGraphView to be used in this graph.
mxEditor.prototype.createGroup = function ()
Creates and returns a clone of defaultGroup to be used as a new group cell in group.
mxGraph.prototype.createGroupCell = function(cells)
Hook for creating the group cell to hold the given array of mxCells if no group cell was given to the group function.
mxGuide.prototype.createGuideShape = function(horizontal)
Returns the mxShape to be used for painting the respective guide.
mxGraph.prototype.createHandler = function(state)
Creates a new handler for the given cell state.
mxGraph.prototype.createHandlers = function()
Creates the tooltip-, panning-, connection- and graph-handler (in this order).
mxEdgeHandler.prototype.createHandleShape = function(index)
Creates the shape used to display the given bend.
mxImageShape.prototype.createHtml = function()
Creates and returns the HTML DOM node(s) to represent this shape.
mxShape.prototype.createHtml = function()
Creates and returns the HTML DOM node(s) to represent this shape.
mxGraphView.prototype.createHtmlPane = function(width,
height)
Creates and returns a drawing pane in HTML (DIV).
mxConnectionHandler.prototype.createIcons = function(state)
Creates the array mxImageShapes that represent the connect icons for the given mxCellState.
mxGraphModel.prototype.createId = function(cell)
Hook method to create an Id for the specified cell.
createImage: function(src)
Creates and returns an image (IMG node) or VML image (v:image) in IE6 in quirks mode.
mxCellRenderer.prototype.createIndicatorShape = function(state)
Creates the indicator shape for the given cell state.
mxGraphHierarchyModel.prototype.createInternalCells = function(layout,
vertices,
internalVertices)
Creates all edges in the internal model
mxSwimlaneModel.prototype.createInternalCells = function(layout,
vertices,
internalVertices)
Creates all edges in the internal model
mxCellRenderer.prototype.createLabel = function(state,
value)
Creates the label for the given cell state.
mxEdgeHandler.prototype.createLabelHandleShape = function()
Creates the shape used to display the the label handle.
mxEditor.prototype.createLayoutManager = function (graph)
Creates a layout manager for the swimlane and diagram layouts, that is, the locally defined inter- and intraswimlane layouts.
mxCompactTreeLayout.prototype.createLine = function(dx,
dy,
next)
mxConnectionHandler.prototype.createMarker = function()
Creates and returns the mxCellMarker used in marker.
mxConnector.prototype.createMarker = function(c,
pts,
source)
Prepares the marker by adding offsets in pts and returning a function to paint the marker.
mxEdgeHandler.prototype.createMarker = function()
Creates and returns the mxCellMarker used in marker.
createMarker: function(canvas,
shape,
type,
pe,
unitX,
unitY,
size,
source,
sw,
filled)
Returns a function to paint the given marker.
mxDefaultPopupMenu.prototype.createMenu = function(editor,
menu,
cell,
evt)
This function is called from mxEditor to add items to the given menu based on config.
mxCompactTreeLayout.prototype.createNode = function(cell)
mxPrintPreview.prototype.createPageSelector = function(vpages,
hpages)
Creates the page selector table.
mxGraph.prototype.createPanningHandler = function()
Creates and returns a new mxPanningHandler to be used in this graph.
mxGraph.prototype.createPanningManager = function()
Creates and returns an mxPanningManager.
mxVertexHandler.prototype.createParentHighlightShape = function(bounds)
Creates the shape used to draw the selection border.
mxEditor.prototype.createPopupMenu = function (menu,
cell,
evt)
Uses popupHandler to create the menu in the graph’s panning handler.
mxGraph.prototype.createPopupMenuHandler = function()
Creates and returns a new mxPopupMenuHandler to be used in this graph.
mxDragSource.prototype.createPreviewElement = function(graph)
Creates and returns an element which can be used as a preview in the given graph.
mxGraphHandler.prototype.createPreviewShape = function(bounds)
Creates the shape used to draw the preview for the given bounds.
mxEditor.prototype.createProperties = function (cell)
Creates and returns the DOM node that represents the contents of the properties dialog for the given cell.
mxVmlCanvas2D.prototype.createRect = function(nodeName,
x,
y,
w,
h)
Sets the glass gradient.
mxGraphModel.prototype.createRoot = function()
Creates a new root cell with a default layer (child 0).
mxGraph.prototype.createSelectionCellsHandler = function()
Creates and returns a new mxTooltipHandler to be used in this graph.
mxGraph.prototype.createSelectionModel = function()
Creates a new mxGraphSelectionModel to be used in this graph.
Creates the shape used to draw the selection border.
mxVertexHandler.prototype.createSelectionShape = function(bounds)
Creates the shape used to draw the selection border.
mxSvgCanvas2D.prototype.createShadow = function(node)
Creates a shadow for the given node.
mxVmlCanvas2D.prototype.createShadow = function(node,
filled,
stroked)
Creates a shadow for the given node.
mxVmlCanvas2D.prototype.createShadowFill = function()
Creates the fill for the shadow.
mxVmlCanvas2D.prototype.createShadowStroke = function()
Creates the stroke for the shadow.
mxCellHighlight.prototype.createShape = function()
Creates and returns the highlight shape for the given state.
mxCellRenderer.prototype.createShape = function(state)
Creates and returns the shape for the given cell state.
mxConnectionHandler.prototype.createShape = function()
Creates the preview shape for new connections.
mxHandle.prototype.createShape = function(html)
Creates and returns the shape for this handle.
mxRubberband.prototype.createShape = function()
Creates the rubberband selection shape.
mxOutline.prototype.createSizer = function()
Creates the shape used as the sizer.
mxVertexHandler.prototype.createSizer = function(cursor,
index,
size,
fillColor)
Creates a sizer handle for the specified cursor and index and returns the new mxRectangleShape that represents the handle.
mxVertexHandler.prototype.createSizerShape = function(bounds,
index,
fillColor)
Creates the shape used for the sizer handle for the specified bounds an index.
mxAbstractCanvas2D.prototype.createState = function()
Creates the state of the this canvas.
mxGraphView.prototype.createState = function(cell)
Creates and returns an mxCellState for the given cell and initializes it using mxCellRenderer.initialize.
mxVmlCanvas2D.prototype.createStroke = function()
Creates a fill for the current state.
mxSvgCanvas2D.prototype.createStyle = function(x)
Creates the optional style section.
mxGraph.prototype.createStylesheet = function()
Creates a new mxGraphSelectionModel to be used in this graph.
mxPopupMenu.prototype.createSubmenu = function(parent)
Creates the nodes required to add submenu items inside the given parent item.
mxShape.prototype.createSvg = function()
Creates and returns the SVG node(s) to represent this shape.
mxShape.prototype.createSvgCanvas = function()
Creates and returns an mxSvgCanvas2D for rendering this shape.
mxSvgCanvas2D.prototype.createSvgGradient = function(start,
end,
alpha1,
alpha2,
direction)
Creates the given SVG gradient.
mxEditor.prototype.createSwimlaneLayout = function ()
Creates the layout instance used to layout the children of each swimlane.
mxEditor.prototype.createSwimlaneManager = function (graph)
Sets the graph’s container using mxGraph.init.
mxConnectionHandler.prototype.createTargetVertex = function(evt,
source)
Hook method for creating new vertices on the fly if no target was under the mouse.
mxEditor.prototype.createTasks = function (div)
Updates the contents of the given DOM node to display the tasks associated with the current editor state.
Creates the innermost element that contains the HTML text.
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.
mxGraph.prototype.createTooltipHandler = function()
Creates and returns a new mxTooltipHandler to be used in this graph.
mxVmlCanvas2D.prototype.createTransparentFill = function()
Creates a transparent fill.
mxShape.prototype.createTransparentSvgRectangle = function(x,
y,
w,
h)
Adds a transparent rectangle that catches all events.
mxGraphModel.prototype.createUndoableEdit = function()
Creates a new mxUndoableEdit that implements the notify function to fire a change and notify event through the mxUndoableEdit’s source.
mxAbstractCanvas2D.prototype.createUrlConverter = function()
Create a new mxUrlConverter and returns it.
mxGraph.prototype.createVertex = function(parent,
id,
value,
x,
y,
width,
height,
style,
relative)
Hook method that creates the new vertex for insertVertex.
mxGraph.prototype.createVertexHandler = function(state)
Hooks to create a new mxVertexHandler for the given mxCellState.
mxElbowEdgeHandler.prototype.createVirtualBend = function(dblClickHandler)
Creates a virtual bend that supports double clicking and calls mxGraph.flipEdge.
mxEdgeHandler.prototype.createVirtualBends = function()
Creates and returns the bends used for modifying the edge.
mxShape.prototype.createVml = function()
Creates and returns the VML node to represent this shape.
mxShape.prototype.createVmlCanvas = function()
Creates and returns an mxVmlCanvas2D for rendering this shape.
mxVmlCanvas2D.prototype.createVmlElement = function(name)
Creates a new element using createElement and prefixes the given name with mxClient.VML_PREFIX.
mxShape.prototype.createVmlGroup = function()
Returns the temporary element used for rendering in IE8 standards mode.
mxGraphView.prototype.createVmlPane = function(width,
height)
Creates a drawing pane in VML (group).
createXmlDocument: function()
Returns a new, empty XML document.
mxHierarchicalLayout.prototype.crossingStage = function(parent)
Executes the crossing stage using mxMedianHybridCrossingReduction.
mxSwimlaneLayout.prototype.crossingStage = function(parent)
Executes the crossing stage using mxMedianHybridCrossingReduction.
mxAbstractCanvas2D.prototype.curveTo = function(x1,
y1,
x2,
y2,
x3,
y3)
Adds a bezier curve to the current path.
mxXmlCanvas2D.prototype.curveTo = function(x1,
y1,
x2,
y2,
x3,
y3)
Adds a bezier curve to the current path.
cut: function(graph,
cells)
Cuts the given array of mxCells from the specified graph.
mxEditor.prototype.cycleAttribute = function (cell)
Uses the returned value from consumeCycleAttribute as the value for the cycleAttributeName key in the given cell’s style.
mxHierarchicalLayout.prototype.cycleStage = function(parent)
Executes the cycle stage using mxMinimumCycleRemover.
mxSwimlaneLayout.prototype.cycleStage = function(parent)
Executes the cycle stage using mxMinimumCycleRemover.
@@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Functions4.html b/docs/js-api/index/Functions4.html index 8dd4ca987..f71e5924f 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
 decodeChild
 decodeChildren, mxObjectCodec
 decodeNode, mxObjectCodec
 decodeRoot, mxModelCodec
 decodeTemplates, mxEditorCodec
 destroy
 destroyBends, mxEdgeHandler
 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
 drawCellState, mxImageExport
 drawHighlight, mxCellHighlight
 drawNode, mxStencil
 drawOverlays, mxImageExport
 drawPreview
 drawShape
 drawState, mxImageExport
 drawText, 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
 decodeChild
 decodeChildren, mxObjectCodec
 decodeNode, mxObjectCodec
 decodeRoot, mxModelCodec
 decodeTemplates, mxEditorCodec
 destroy
 destroyBends, mxEdgeHandler
 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
 drawCellState, mxImageExport
 drawHighlight, mxCellHighlight
 drawNode, mxStencil
 drawOverlays, mxImageExport
 drawPreview
 drawShape
 drawState, mxImageExport
 drawText, 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.
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.
mxHandle.prototype.destroy = function()
Destroys this handle.
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.
mxEdgeHandler.prototype.destroyBends = function(bends)
Destroys all elements in bends.
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)
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.
mxImageExport.prototype.drawCellState = function(state,
canvas)
Draws the given state to the given canvas.
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.
mxImageExport.prototype.drawShape = function(state,
canvas)
Draws the shape of the given state.
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.
mxImageExport.prototype.drawText = function(state,
canvas)
Draws the text of the given state.
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.
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.
mxHandle.prototype.destroy = function()
Destroys this handle.
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.
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.
mxEdgeHandler.prototype.destroyBends = function(bends)
Destroys all elements in bends.
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)
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.
mxImageExport.prototype.drawCellState = function(state,
canvas)
Draws the given state to the given canvas.
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.
mxImageExport.prototype.drawShape = function(state,
canvas)
Draws the shape of the given state.
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.
mxImageExport.prototype.drawText = function(state,
canvas)
Draws the text of the given state.
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.
@@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Functions5.html b/docs/js-api/index/Functions5.html index 4f38ac3cc..47bf83d0c 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
 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
 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.
codec.encodeObject = function(enc,
obj,
node)
Encodes the given mxGraphModel by writing a (flat) XML sequence of cell nodes as produced by the mxCellCodec.
mxObjectCodec.prototype.encodeObject = function(enc,
obj,
node)
Encodes the value of each member in then given obj into the given node using encodeValue.
mxObjectCodec.prototype.encodeValue = function(enc,
obj,
name,
value,
node)
Converts the given value according to the mappings and id-refs in this codec and uses writeAttribute to write the attribute into the given node.
mxAbstractCanvas2D.prototype.end = function()
Empty implementation for backwards compatibility.
mxGraphModel.prototype.endUpdate = function()
Decrements the updateLevel by one and fires an undo event if the updateLevel reaches 0.
enter: function(string)
Writes the specified string to the console if TRACE is true and returns the current time in milliseconds.
mxGraph.prototype.enterGroup = function(cell)
Uses the given cell as the root of the displayed cell hierarchy.
EntityRelation: function (state,
source,
target,
points,
result)
Implements an entity relation style for edges (as used in database schema diagrams).
equalEntries: function(a,
b)
Returns true if all entries of the given objects are equal.
equalPoints: function(a,
b)
Compares all mxPoints in the given lists.
mxGeometry.prototype.equals = function(obj)
Returns true if the given object equals this geometry.
mxPoint.prototype.equals = function(obj)
Returns true if the given object equals this point.
mxRectangle.prototype.equals = function(obj)
Returns true if the given object equals this rectangle.
error: function(message,
width,
close,
icon)
Displays the given error message in a new mxWindow of the given width.
mxGraph.prototype.escape = function(evt)
Processes an escape keystroke.
mxKeyHandler.prototype.escape = function(evt)
Hook to process ESCAPE keystrokes.
eval: function(expr)
Evaluates the given expression using eval and returns the JavaScript object that represents the expression result.
mxStencil.prototype.evaluateAttribute = function(node,
attribute,
shape)
Gets the attribute for the given name from the given node.
mxStencil.prototype.evaluateTextAttribute = function(node,
attribute,
state)
Gets the given attribute as a text.
mxCellAttributeChange.prototype.execute = function()
Changes the attribute of the cell’s user object by using mxCell.setAttribute.
mxChildChange.prototype.execute = function()
Changes the parent of child using mxGraphModel.parentForCellChanged and removes or restores the cell’s connections.
mxCircleLayout.prototype.execute = function(parent)
Implements mxGraphLayout.execute.
mxCollapseChange.prototype.execute = function()
Changes the collapsed state of cell to previous using mxGraphModel.collapsedStateForCellChanged.
mxCompactTreeLayout.prototype.execute = function(parent,
root)
Implements mxGraphLayout.execute.
mxCompositeLayout.prototype.execute = function(parent)
Implements mxGraphLayout.execute by executing all layouts in a single transaction.
mxCoordinateAssignment.prototype.execute = function(parent)
A basic horizontal coordinate assignment algorithm
mxCurrentRootChange.prototype.execute = function()
Changes the current root of the view.
mxEdgeLabelLayout.prototype.execute = function(parent)
Implements mxGraphLayout.execute.
mxEditor.prototype.execute = function (actionname,
cell,
evt)
Executes the function with the given name in actions passing the editor instance and given cell as the first and second argument.
mxFastOrganicLayout.prototype.execute = function(parent)
Implements mxGraphLayout.execute.
mxGeometryChange.prototype.execute = function()
Changes the geometry of cell ro previous using mxGraphModel.geometryForCellChanged.
mxGraphLayout.prototype.execute = function(parent)
Executes the layout algorithm for the children of the given parent.
mxGraphModel.prototype.execute = function(change)
Executes the given edit and fires events if required.
mxHandle.prototype.execute = function()
Hook for subclassers to execute the handle.
mxHierarchicalLayout.prototype.execute = function(parent,
roots)
Executes the layout for the children of the specified parent.
mxHierarchicalLayoutStage.prototype.execute = function(parent)
Takes the graph detail and configuration information within the facade and creates the resulting laid out graph within that facade for further use.
mxMedianHybridCrossingReduction.prototype.execute = function(parent)
Performs a vertex ordering within ranks as described by Gansner et al 1993
mxMinimumCycleRemover.prototype.execute = function(parent)
Takes the graph detail and configuration information within the facade and creates the resulting laid out graph within that facade for further use.
mxParallelEdgeLayout.prototype.execute = function(parent)
Implements mxGraphLayout.execute.
mxPartitionLayout.prototype.execute = function(parent)
Implements mxGraphLayout.execute.
mxRadialTreeLayout.prototype.execute = function(parent,
root)
Implements mxGraphLayout.execute.
mxRootChange.prototype.execute = function()
Carries out a change of the root using mxGraphModel.rootChanged.
mxSelectionChange.prototype.execute = function()
Changes the current root of the view.
mxStackLayout.prototype.execute = function(parent)
Implements mxGraphLayout.execute.
mxStyleChange.prototype.execute = function()
Changes the style of cell to previous using mxGraphModel.styleForCellChanged.
mxSwimlaneLayout.prototype.execute = function(parent,
swimlanes)
Executes the layout for the children of the specified parent.
mxSwimlaneOrdering.prototype.execute = function(parent)
Takes the graph detail and configuration information within the facade and creates the resulting laid out graph within that facade for further use.
mxTerminalChange.prototype.execute = function()
Changes the terminal of cell to previous using mxGraphModel.terminalForCellChanged.
mxValueChange.prototype.execute = function()
Changes the value of cell to previous using mxGraphModel.valueForCellChanged.
mxVisibleChange.prototype.execute = function()
Changes the visible state of cell to previous using mxGraphModel.visibleStateForCellChanged.
mxLayoutManager.prototype.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.
codec.encodeObject = function(enc,
obj,
node)
Encodes the given mxGraphModel by writing a (flat) XML sequence of cell nodes as produced by the mxCellCodec.
mxObjectCodec.prototype.encodeObject = function(enc,
obj,
node)
Encodes the value of each member in then given obj into the given node using encodeValue.
mxObjectCodec.prototype.encodeValue = function(enc,
obj,
name,
value,
node)
Converts the given value according to the mappings and id-refs in this codec and uses writeAttribute to write the attribute into the given node.
mxAbstractCanvas2D.prototype.end = function()
Empty implementation for backwards compatibility.
mxGraphModel.prototype.endUpdate = function()
Decrements the updateLevel by one and fires an undo event if the updateLevel reaches 0.
enter: function(string)
Writes the specified string to the console if TRACE is true and returns the current time in milliseconds.
mxGraph.prototype.enterGroup = function(cell)
Uses the given cell as the root of the displayed cell hierarchy.
EntityRelation: function (state,
source,
target,
points,
result)
Implements an entity relation style for edges (as used in database schema diagrams).
equalEntries: function(a,
b)
Returns true if all entries of the given objects are equal.
equalPoints: function(a,
b)
Compares all mxPoints in the given lists.
mxGeometry.prototype.equals = function(obj)
Returns true if the given object equals this geometry.
mxPoint.prototype.equals = function(obj)
Returns true if the given object equals this point.
mxRectangle.prototype.equals = function(obj)
Returns true if the given object equals this rectangle.
error: function(message,
width,
close,
icon)
Displays the given error message in a new mxWindow of the given width.
mxGraph.prototype.escape = function(evt)
Processes an escape keystroke.
mxKeyHandler.prototype.escape = function(evt)
Hook to process ESCAPE keystrokes.
eval: function(expr)
Evaluates the given expression using eval and returns the JavaScript object that represents the expression result.
mxStencil.prototype.evaluateAttribute = function(node,
attribute,
shape)
Gets the attribute for the given name from the given node.
mxStencil.prototype.evaluateTextAttribute = function(node,
attribute,
state)
Gets the given attribute as a text.
mxCellAttributeChange.prototype.execute = function()
Changes the attribute of the cell’s user object by using mxCell.setAttribute.
mxChildChange.prototype.execute = function()
Changes the parent of child using mxGraphModel.parentForCellChanged and removes or restores the cell’s connections.
mxCircleLayout.prototype.execute = function(parent)
Implements mxGraphLayout.execute.
mxCollapseChange.prototype.execute = function()
Changes the collapsed state of cell to previous using mxGraphModel.collapsedStateForCellChanged.
mxCompactTreeLayout.prototype.execute = function(parent,
root)
Implements mxGraphLayout.execute.
mxCompositeLayout.prototype.execute = function(parent)
Implements mxGraphLayout.execute by executing all layouts in a single transaction.
mxCoordinateAssignment.prototype.execute = function(parent)
A basic horizontal coordinate assignment algorithm
mxCurrentRootChange.prototype.execute = function()
Changes the current root of the view.
mxEdgeLabelLayout.prototype.execute = function(parent)
Implements mxGraphLayout.execute.
mxEditor.prototype.execute = function (actionname,
cell,
evt)
Executes the function with the given name in actions passing the editor instance and given cell as the first and second argument.
mxFastOrganicLayout.prototype.execute = function(parent)
Implements mxGraphLayout.execute.
mxGeometryChange.prototype.execute = function()
Changes the geometry of cell ro previous using mxGraphModel.geometryForCellChanged.
mxGraphLayout.prototype.execute = function(parent)
Executes the layout algorithm for the children of the given parent.
mxGraphModel.prototype.execute = function(change)
Executes the given edit and fires events if required.
mxHandle.prototype.execute = function()
Hook for subclassers to execute the handle.
mxHierarchicalLayout.prototype.execute = function(parent,
roots)
Executes the layout for the children of the specified parent.
mxHierarchicalLayoutStage.prototype.execute = function(parent)
Takes the graph detail and configuration information within the facade and creates the resulting laid out graph within that facade for further use.
mxMedianHybridCrossingReduction.prototype.execute = function(parent)
Performs a vertex ordering within ranks as described by Gansner et al 1993
mxMinimumCycleRemover.prototype.execute = function(parent)
Takes the graph detail and configuration information within the facade and creates the resulting laid out graph within that facade for further use.
mxParallelEdgeLayout.prototype.execute = function(parent)
Implements mxGraphLayout.execute.
mxPartitionLayout.prototype.execute = function(parent)
Implements mxGraphLayout.execute.
mxRadialTreeLayout.prototype.execute = function(parent,
root)
Implements mxGraphLayout.execute.
mxRootChange.prototype.execute = function()
Carries out a change of the root using mxGraphModel.rootChanged.
mxSelectionChange.prototype.execute = function()
Changes the current root of the view.
mxStackLayout.prototype.execute = function(parent)
Implements mxGraphLayout.execute.
mxStyleChange.prototype.execute = function()
Changes the style of cell to previous using mxGraphModel.styleForCellChanged.
mxSwimlaneLayout.prototype.execute = function(parent,
swimlanes)
Executes the layout for the children of the specified parent.
mxSwimlaneOrdering.prototype.execute = function(parent)
Takes the graph detail and configuration information within the facade and creates the resulting laid out graph within that facade for further use.
mxTerminalChange.prototype.execute = function()
Changes the terminal of cell to previous using mxGraphModel.terminalForCellChanged.
mxValueChange.prototype.execute = function()
Changes the value of cell to previous using mxGraphModel.valueForCellChanged.
mxVisibleChange.prototype.execute = function()
Changes the visible state of cell to previous using mxGraphModel.visibleStateForCellChanged.
mxLayoutManager.prototype.executeLayoutForCells = function(cells)
Executes the given layout on the given parent.
mxGraph.prototype.exitGroup = function()
Changes the current root to the next valid root in the displayed cell hierarchy.
extend: function(ctor,
superCtor)
Assigns a copy of the superclass prototype to the subclass prototype.
mxGraphHierarchyModel.prototype.extendedDfs = function(parent,
root,
connectingEdge,
visitor,
seen,
ancestors,
childHash,
layer)
Performs a depth first search on the internal hierarchy model.
mxSwimlaneModel.prototype.extendedDfs = function(parent,
root,
connectingEdge,
visitor,
seen,
ancestors,
childHash,
layer)
Performs a depth first search on the internal hierarchy model.
mxGraph.prototype.extendParent = function(cell)
Resizes the parents recursively so that they contain the complete area of the resized child cell.
@@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Functions6.html b/docs/js-api/index/Functions6.html index ee936df32..ae45f259a 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
 flipPoint, mxHandle
 focusLost, mxCellEditor
 foldCells, mxGraph
 format
 fromRectangle, 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
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
 flipPoint, mxHandle
 focusLost, mxCellEditor
 foldCells, mxGraph
 format
 fromRectangle, mxRectangle
-
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.
mxHandle.prototype.flipPoint = function(pt)
Flips the given point vertically and/or horizontally.
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.
mxSvgCanvas2D.prototype.format = function(value)
Rounds all numbers to 2 decimal points.
mxXmlCanvas2D.prototype.format = function(value)
Returns a formatted number with 2 decimal places.
mxRectangle.fromRectangle = function(rect)
Returns a new mxRectangle which is a copy of the given rectangle.
+
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.
mxHandle.prototype.flipPoint = function(pt)
Flips the given point vertically and/or horizontally.
mxCellEditor.prototype.focusLost = function()
Called if the textarea has lost focus.
mxGraph.prototype.foldCells = function(collapse,
recurse,
cells,
checkFoldable,
evt)
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.
mxSvgCanvas2D.prototype.format = function(value)
Rounds all numbers to 2 decimal points.
mxXmlCanvas2D.prototype.format = function(value)
Returns a formatted number with 2 decimal places.
mxRectangle.fromRectangle = function(rect)
Returns a new mxRectangle which is a copy of the given rectangle.
@@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Functions7.html b/docs/js-api/index/Functions7.html index a89c5a8b4..9c93cd881 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
 getAutoDirection, mxText
 getBackgroundImage, mxGraph
 getBackgroundPageBounds, mxGraphView
 getBackgroundPane, mxGraphView
 getBaseDomain, mxUrlConverter
 getBaseUrl
 getBorder, mxGraph
 getBorderSizes, mxGraph
 getBoundingBox
 getBoundingBoxFromGeometry, mxGraph
 getBounds
 getBoundsForGroup, mxGraph
 getCanvas, mxGraphView
 getCell
 getCellAt
 getCellBounds
 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
 getCurrentHtmlValue, mxCellEditor
 getCurrentPoints
 getCurrentRoot, mxGraph
 getCurrentStrokeWidth, mxSvgCanvas2D
 getCurrentStyle, mxUtils
 getCurrentValue, mxCellEditor
 getCursor, mxShape
 getCursorForBend, mxElbowEdgeHandler
 getCursorForCell, mxGraph
 getCursorForMouseEvent, mxGraph
 getDecoratorPane, mxGraphView
 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
 getEditingCell, mxCellEditor
 getEditingValue, mxGraph
 getEditorBounds, mxCellEditor
 getElement, mxWindow
 getElementById, mxCodec
 getEmptyBounds, mxGraphView
 getEmptyLabelText, mxCellEditor
 getEndArrowWidth, mxArrowConnector
 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
 getLinkForCellState, mxImageExport
 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
 getOutlineConstraint, mxGraph
 getOutlineOffset, mxOutline
 getOverlap, mxGraph
 getOverlayPane, mxGraphView
 getPaintBounds, mxCellState
 getParent
 getParentOffset, mxGraphLayout
 getParentPath, mxCellPath
 getParents, mxGraphModel
 getParentSize, mxStackLayout
 getPerimeterBounds
 getPerimeterFunction, mxGraphView
 getPerimeterPoint, mxGraphView
 getPoint
 getPointForEvent
 getPosition, mxHandle
 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
 getStartArrowWidth, mxArrowConnector
 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
 getTopmostCells, mxGraphModel
 getTotalRotation, mxHandle
 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
 getAutoDirection, mxText
 getBackgroundImage, mxGraph
 getBackgroundPageBounds, mxGraphView
 getBackgroundPane, mxGraphView
 getBaseDomain, mxUrlConverter
 getBaseUrl
 getBorder, mxGraph
 getBorderSizes, mxGraph
 getBoundingBox
 getBoundingBoxFromGeometry, mxGraph
 getBounds
 getBoundsForGroup, mxGraph
 getCanvas, mxGraphView
 getCell
 getCellAt
 getCellBounds
 getCellContainmentArea, mxGraph
 getCellForPopupEvent, mxPopupMenuHandler
 getCellGeometry, mxGraph
 getCellOverlays, mxGraph
 getCells
 getCellsBeyond, mxGraph
 getCellsForChange, mxLayoutManager
 getCellsForEdit, mxLayoutManager
 getCellsForGroup, mxGraph
 getCellStates, mxGraphView
 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
 getCurrentHtmlValue, mxCellEditor
 getCurrentPoints
 getCurrentRoot, mxGraph
 getCurrentStrokeWidth, mxSvgCanvas2D
 getCurrentStyle, mxUtils
 getCurrentValue, mxCellEditor
 getCursor, mxShape
 getCursorForBend, mxElbowEdgeHandler
 getCursorForCell, mxGraph
 getCursorForMouseEvent, mxGraph
 getDecoratorPane, mxGraphView
 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
 getEditingCell, mxCellEditor
 getEditingValue, mxGraph
 getEditorBounds, mxCellEditor
 getElement, mxWindow
 getElementById, mxCodec
 getEmptyBounds, mxGraphView
 getEmptyLabelText, mxCellEditor
 getEndArrowWidth, mxArrowConnector
 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
 getLinkForCellState, mxImageExport
 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
 getOutlineConstraint, mxGraph
 getOutlineOffset, mxOutline
 getOverlap, mxGraph
 getOverlayPane, mxGraphView
 getPaintBounds, mxCellState
 getParent
 getParentOffset, mxGraphLayout
 getParentPath, mxCellPath
 getParents, mxGraphModel
 getParentSize, mxStackLayout
 getPerimeterBounds
 getPerimeterFunction, mxGraphView
 getPerimeterPoint, mxGraphView
 getPoint
 getPointForEvent
 getPosition, mxHandle
 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
 getStartArrowWidth, mxArrowConnector
 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
 getTopmostCells, mxGraphModel
 getTotalRotation, mxHandle
 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.
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(evt)
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.
mxText.prototype.getAutoDirection = function()
Used to determine the automatic text direction.
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.
mxSvgCanvas2D.prototype.getBaseUrl = function()
Returns the URL of the page without the hash part.
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 union of the mxCellStates for the given array of mxCells.
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,
cx)
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 union of all mxCellStates 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 overlay- and decoratorpanes.
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.
mxConnectionHandler.prototype.getCellAt = function(x,
y)
Creates and returns the mxCellMarker used in marker.
mxEdgeHandler.prototype.getCellAt = function(x,
y)
Creates and returns the mxCellMarker used in marker.
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.
mxCellState.prototype.getCellBounds = function ()
Returns the unscaled, untranslated bounds.
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 child vertices and edges of the given parent that are contained in the given rectangle.
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.
mxCellEditor.prototype.getCurrentHtmlValue = function()
Returns the current value as HTML to measure the text size.
mxEdgeSegmentHandler.prototype.getCurrentPoints = function()
Returns the current absolute points.
mxGraph.prototype.getCurrentRoot = function()
Returns the current root of the displayed cell hierarchy.
mxSvgCanvas2D.prototype.getCurrentStrokeWidth = function()
Returns the current stroke width (>= 1), ie.
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.
mxGraphView.prototype.getDecoratorPane = function()
Returns the DOM node that represents the topmost drawing layer.
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,
evt)
Returns the drop target for the given graph and coordinates.
mxGraph.prototype.getDropTarget = function(cells,
evt,
cell,
clone)
Returns the given cell if it is a drop target for the given cells or the nearest ancestor that may be used as a drop target for the given cells.
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.
mxArrowConnector.prototype.getEdgeWidth = function()
Returns the width of the body of the edge
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.
mxGraphView.prototype.getEmptyBounds = function()
Returns the bounds for an empty graph.
mxCellEditor.prototype.getEmptyLabelText = function (cell)
Returns the initial label value to be used of the label of the given cell is empty.
mxArrowConnector.prototype.getEndArrowWidth = function()
Returns the width of the end arrow
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.
mxDoubleEllipse.prototype.getLabelBounds = function(rect)
Returns the bounds for the label.
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.
mxImageExport.prototype.getLinkForCellState = function(state,
canvas)
Returns the link for the given cell state and canvas.
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.
mxGraph.prototype.getOutlineConstraint = function(point,
terminalState,
me)
Returns the constraint used to connect to the outline of the given state.
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 layer above the drawing layer.
mxCellState.prototype.getPaintBounds = function ()
Returns the unscaled, untranslated paint bounds.
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.
mxHandle.prototype.getPosition = function(bounds)
Hook for subclassers to return the current position of the handle.
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(pt,
me)
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.
mxHandle.prototype.getRotation = function()
Returns the rotation defined in the style of the cell.
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.
mxArrowConnector.prototype.getStartArrowWidth = function()
Returns the width of the start arrow
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(me)
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.
mxEdgeSegmentHandler.prototype.getTooltipForNode = function(node)
Returns no tooltips.
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.
mxHandle.prototype.getTotalRotation = function()
Returns the rotation from the style and the rotation from the direction of the cell.
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.
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(evt)
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.
mxText.prototype.getAutoDirection = function()
Used to determine the automatic text direction.
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.
mxSvgCanvas2D.prototype.getBaseUrl = function()
Returns the URL of the page without the hash part.
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 union of the mxCellStates for the given array of mxCells.
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,
cx)
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 union of all mxCellStates 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 overlay- and decoratorpanes.
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.
mxConnectionHandler.prototype.getCellAt = function(x,
y)
Creates and returns the mxCellMarker used in marker.
mxEdgeHandler.prototype.getCellAt = function(x,
y)
Creates and returns the mxCellMarker used in marker.
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.
mxCellState.prototype.getCellBounds = function ()
Returns the unscaled, untranslated bounds.
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 child vertices and edges of the given parent that are contained in the given rectangle.
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 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.
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.
mxCellEditor.prototype.getCurrentHtmlValue = function()
Returns the current value as HTML to measure the text size.
mxEdgeSegmentHandler.prototype.getCurrentPoints = function()
Returns the current absolute points.
mxGraph.prototype.getCurrentRoot = function()
Returns the current root of the displayed cell hierarchy.
mxSvgCanvas2D.prototype.getCurrentStrokeWidth = function()
Returns the current stroke width (>= 1), ie.
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.
mxGraphView.prototype.getDecoratorPane = function()
Returns the DOM node that represents the topmost drawing layer.
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,
evt)
Returns the drop target for the given graph and coordinates.
mxGraph.prototype.getDropTarget = function(cells,
evt,
cell,
clone)
Returns the given cell if it is a drop target for the given cells or the nearest ancestor that may be used as a drop target for the given cells.
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.
mxArrowConnector.prototype.getEdgeWidth = function()
Returns the width of the body of the edge
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.
mxGraphView.prototype.getEmptyBounds = function()
Returns the bounds for an empty graph.
mxCellEditor.prototype.getEmptyLabelText = function (cell)
Returns the initial label value to be used of the label of the given cell is empty.
mxArrowConnector.prototype.getEndArrowWidth = function()
Returns the width of the end arrow
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.
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.
mxDoubleEllipse.prototype.getLabelBounds = function(rect)
Returns the bounds for the label.
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.
mxImageExport.prototype.getLinkForCellState = function(state,
canvas)
Returns the link for the given cell state and canvas.
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.
mxGraph.prototype.getOutlineConstraint = function(point,
terminalState,
me)
Returns the constraint used to connect to the outline of the given state.
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 layer above the drawing layer.
mxCellState.prototype.getPaintBounds = function ()
Returns the unscaled, untranslated paint bounds.
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.
mxHandle.prototype.getPosition = function(bounds)
Hook for subclassers to return the current position of the handle.
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(pt,
me)
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.
mxHandle.prototype.getRotation = function()
Returns the rotation defined in the style of the cell.
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.
mxArrowConnector.prototype.getStartArrowWidth = function()
Returns the width of the start arrow
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(me)
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.
mxEdgeSegmentHandler.prototype.getTooltipForNode = function(node)
Returns no tooltips.
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.
mxHandle.prototype.getTotalRotation = function()
Returns the rotation from the style and the rotation from the direction of the cell.
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.
@@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Functions8.html b/docs/js-api/index/Functions8.html index aaf833b2b..598a6901d 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
 HexagonPerimeter, mxPerimeter
 hide
 hideHandles
 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
 HexagonPerimeter, mxPerimeter
 hide
 hideHandles
 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.
HexagonPerimeter: function (bounds,
vertex,
next,
orthogonal)
Describes a hexagon perimeter.
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.
Shortcut to hideSizers.
Shortcut to hideSizers.
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.
HexagonPerimeter: function (bounds,
vertex,
next,
orthogonal)
Describes a hexagon perimeter.
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.
Shortcut to hideSizers.
Shortcut to hideSizers.
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.
@@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Functions9.html b/docs/js-api/index/Functions9.html index b3faf5149..68b9886a0 100644 --- a/docs/js-api/index/Functions9.html +++ b/docs/js-api/index/Functions9.html @@ -11,9 +11,9 @@ if (browserType) {document.write("
");if (browserV -
Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
I
 image
 importCells, mxGraph
 importNode, mxUtils
 include, mxClient
 indexOf, mxUtils
 indexOfStylename, mxUtils
 info, mxLog
 init
 initBend, mxEdgeHandler
 initControl, mxCellRenderer
 initialCoords, mxCoordinateAssignment
 initializeLabel, mxCellRenderer
 initializeOverlay, mxCellRenderer
 initializeShape, mxCellRenderer
 initialRank
 initShape, mxHandle
 insert
 insertBackgroundImage, mxPrintPreview
 insertEdge
 insertIntoGraph, mxCodec
 insertStateAfter, mxCellRenderer
 insertVertex, mxGraph
 installChangeHandler, mxEditor
 installCloseHandler, mxWindow
 installDblClickHandler, mxEditor
 installDrillHandler, mxEditor
 installDropHandler, mxDefaultToolbar
 installInsertHandler, mxEditor
 installListeners
 installMaximizeHandler, mxWindow
 installMinimizeHandler, mxWindow
 installMoveHandler, mxWindow
 installOverlayListeners, mxCellRenderer
 installUndoHandler, mxEditor
 intersection, mxUtils
 intersects
 invalidate, mxGraphView
 invert, mxGraphHierarchyEdge
 isActive
 isAddEnabled, mxSwimlaneManager
 isAddPointEvent, mxEdgeHandler
 isAddVirtualBendEvent, mxEdgeHandler
 isAllowDanglingEdges, mxGraph
 isAllowEval, mxGraphView
 isAllowLoops, mxGraph
 isAllowOverlapParent, mxGraph
 isAltDown, mxEvent
 isAncestor
 isAncestorNode, mxUtils
 isArrowRounded, mxArrowConnector
 isAutoSizeCell, mxGraph
 isAutoSizeCells, mxGraph
 isBinary, mxXmlRequest
 isBooleanAttribute, mxObjectCodec
 isBrowserSupported, mxClient
 isBubbling, mxLayoutManager
 isCellBendable, mxGraph
 isCellCloneable, mxGraph
 isCellCodec
 isCellCollapsed
 isCellConnectable, mxGraph
 isCellDeletable, mxGraph
 isCellDisconnectable, mxGraph
 isCellEditable, mxGraph
 isCellFoldable, mxGraph
 isCellHorizontal, mxSwimlaneManager
 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
 isCustomHandleEvent
 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
 isHtmlRequired, mxHandle
 isImmediateConnectSource, mxConnectionHandler
 isInvokesStopCellEditing, mxGraph
 isKeepFocusEvent, mxConstraintHandler
 isLabelClipped, mxGraph
 isLabelEvent, mxCellRenderer
 isLabelMovable, mxGraph
 isLanguageSupported, mxResources
 isLayer, mxGraphModel
 isLeftMouseButton, mxEvent
 isLivePreviewBorder, mxVertexHandler
 isLoop, mxGraph
 isMarkerEnd, mxArrowConnector
 isMarkerStart, mxArrowConnector
 isMenuShowing, mxPopupMenu
 isMetaDown, mxEvent
 isMiddleMouseButton, mxEvent
 isModified
 isMouseEvent, mxEvent
 isMoveEnabled, mxGraphHandler
 isMoveIconToFrontForState, mxConnectionHandler
 isMultigraph, mxGraph
 isMultiTouchEvent, mxEvent
 isNaN, mxUtils
 isNode, mxUtils
 isNumeric, mxUtils
 isNumericAttribute, mxObjectCodec
 isOpenEnded, mxArrowConnector
 isOrthogonal, mxGraph
 isOutlineConnectEvent
 isPaintBoundsInverted
 isPanningEnabled, mxPanningHandler
 isPanningTrigger, mxPanningHandler
 isParseVml
 isPinchEnabled, mxPanningHandler
 isPopupTrigger
 isPort
 isPortsEnabled, mxGraph
 isPropertiesVisible, mxEditor
 isReady, mxXmlRequest
 isRecursiveResize, mxGraph
 isReference
 isRelativeUrl, mxUrlConverter
 isRemoveCellsFromParent, mxGraphHandler
 isRemovePointEvent, mxEdgeHandler
 isRendering, mxGraphView
 isResizable, mxWindow
 isResizeContainer, mxGraph
 isResizeEnabled, mxSwimlaneManager
 isRightMouseButton, mxEvent
 isRoot, mxGraphModel
 isRotationHandleVisible, mxVertexHandler
 isRunning, mxAnimation
 isScrollEvent, mxGraphView
 isSelected, mxGraphSelectionModel
 isSelectEnabled, mxGraphHandler
 isSelectionDashed
 isSelectionEmpty, mxGraph
 isSelectOnPopup, mxPopupMenuHandler
 isSelectText, mxCellEditor
 isShapeEvent, mxCellRenderer
 isShiftDown, mxEvent
 isShiftDownwards, mxSpaceManager
 isShiftRightwards, mxSpaceManager
 isSignificant, mxUndoableEdit
 isSingleSelection, mxGraphSelectionModel
 isSizerVisible, mxVertexHandler
 isSnapToTerminalsEvent, mxEdgeHandler
 isSource, mxMouseEvent
 isSplitEnabled, mxGraph
 isSplitTarget, mxGraph
 isStartEvent, mxConnectionHandler
 isStateIgnored, mxConstraintHandler
 isStopEditingEvent, mxCellEditor
 isStopEvent, mxConnectionHandler
 isSwimlane, mxGraph
 isSwimlaneIgnored, mxSwimlaneManager
 isSwimlaneNesting, mxGraph
 isSwimlaneSelectionEnabled, mxGraph
 isSyntheticEventIgnored, mxGraph
 isTerminalPointMovable, mxGraph
 isToggleEvent, mxGraph
 isTouchEvent, mxEvent
 isValidAncestor, mxGraph
 isValidConnection, mxGraph
 isValidDropTarget, mxGraph
 isValidRoot, mxGraph
 isValidSource
 isValidState, mxCellMarker
 isValidTarget
 isVertex
 isVertexIgnored
 isVertexLabelsMovable, mxGraph
 isVertexMovable, mxGraphLayout
 isVirtualBendsEnabled, mxEdgeHandler
 isVisible
 isVml, mxUtils
 isWrapping, mxGraph
+
Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
I
 image
 importCells, mxGraph
 importNode, mxUtils
 include, mxClient
 indexOf, mxUtils
 indexOfStylename, mxUtils
 info, mxLog
 init
 initBend, mxEdgeHandler
 initControl, mxCellRenderer
 initialCoords, mxCoordinateAssignment
 initializeLabel, mxCellRenderer
 initializeOverlay, mxCellRenderer
 initializeShape, mxCellRenderer
 initialRank
 initShape, mxHandle
 insert
 insertBackgroundImage, mxPrintPreview
 insertEdge
 insertIntoGraph, mxCodec
 insertStateAfter, mxCellRenderer
 insertVertex, mxGraph
 installChangeHandler, mxEditor
 installCloseHandler, mxWindow
 installDblClickHandler, mxEditor
 installDrillHandler, mxEditor
 installDropHandler, mxDefaultToolbar
 installInsertHandler, mxEditor
 installListeners
 installMaximizeHandler, mxWindow
 installMinimizeHandler, mxWindow
 installMoveHandler, mxWindow
 installOverlayListeners, mxCellRenderer
 installUndoHandler, mxEditor
 intersection, mxUtils
 intersects
 invalidate, mxGraphView
 invert, mxGraphHierarchyEdge
 isActive
 isAddEnabled, mxSwimlaneManager
 isAddPointEvent, mxEdgeHandler
 isAddVirtualBendEvent, mxEdgeHandler
 isAllowDanglingEdges, mxGraph
 isAllowEval, mxGraphView
 isAllowLoops, mxGraph
 isAllowOverlapParent, mxGraph
 isAltDown, mxEvent
 isAncestor
 isAncestorNode, mxUtils
 isArrowRounded, mxArrowConnector
 isAutoSizeCell, mxGraph
 isAutoSizeCells, mxGraph
 isBinary, mxXmlRequest
 isBooleanAttribute, mxObjectCodec
 isBrowserSupported, mxClient
 isBubbling, mxLayoutManager
 isCellBendable, mxGraph
 isCellCloneable, mxGraph
 isCellCodec
 isCellCollapsed
 isCellConnectable, mxGraph
 isCellDeletable, mxGraph
 isCellDisconnectable, mxGraph
 isCellEditable, mxGraph
 isCellFoldable, mxGraph
 isCellHorizontal, mxSwimlaneManager
 isCellLocked, mxGraph
 isCellMovable, mxGraph
 isCellResizable, mxGraph
 isCellRotatable, mxGraph
 isCellsBendable, mxGraph
 isCellsCloneable, mxGraph
 isCellsDeletable, mxGraph
 isCellsDisconnectable, mxGraph
 isCellsEditable, mxGraph
 isCellSelectable, mxGraph
 isCellSelected, mxGraph
 isCellsLocked, mxGraph
 isCellsMovable, mxGraph
 isCellsResizable, mxGraph
 isCellsSelectable, mxGraph
 isCellVisible, mxGraph
 isCloneEnabled, mxGraphHandler
 isCloneEvent, mxGraph
 isCloneInvalidEdges, mxGraph
 isCollapsed
 isConnectable
 isConnectableCell
 isConnectableEdges, mxGraph
 isConnecting, mxConnectionHandler
 isConstrainChild, mxGraph
 isConstrainChildren, mxGraph
 isConstrainChildrenOnResize, mxGraph
 isConstrainedEvent
 isConsumed
 isContainerEvent, mxGraphView
 isControlDown
 isCreateIds, mxGraphModel
 isCreateTarget, mxConnectionHandler
 isCustomHandleEvent
 isDelayedSelection, mxGraphHandler
 isDisconnectOnMove, mxGraph
 isDropEnabled, mxGraph
 isEdge
 isEdgeIgnored, mxGraphLayout
 isEdgeLabelsMovable, mxGraph
 isEdgeValid, mxGraph
 isEditing, mxGraph
 isEmpty
 isEnabled
 isEnabledForEvent, mxGuide
 isEnterStopsCellEditing, mxGraph
 isEscapeEnabled, mxGraph
 isEventIgnored
 isEventsEnabled, mxEventSource
 isEventSource, mxCellEditor
 isEventSourceIgnored, mxGraph
 isExcluded
 isExtendParent, mxGraph
 isExtendParents, mxGraph
 isExtendParentsOnAdd, mxGraph
 isExtendParentsOnMove, mxGraph
 isForcePanningEvent, mxPanningHandler
 isForceRubberbandEvent, mxRubberband
 isGraphEvent, mxKeyHandler
 isGridEnabled
 isGridEnabledEvent, mxGraph
 isGuidesEnabled, mxDragSource
 isHandleEnabled, mxEdgeHandler
 isHandleVisible, mxEdgeHandler
 isHideLabel, mxCellEditor
 isHideOnHover, mxTooltipHandler
 isHorizontal
 isHotspotEnabled, mxCellMarker
 isHtmlAllowed
 isHtmlLabel, mxGraph
 isHtmlLabels, mxGraph
 isHtmlRequired, mxHandle
 isImmediateConnectSource, mxConnectionHandler
 isInvokesStopCellEditing, mxGraph
 isKeepFocusEvent, mxConstraintHandler
 isLabelClipped, mxGraph
 isLabelEvent, mxCellRenderer
 isLabelMovable, mxGraph
 isLanguageSupported, mxResources
 isLayer, mxGraphModel
 isLeftMouseButton, mxEvent
 isLivePreviewBorder, mxVertexHandler
 isLoop, mxGraph
 isMarkerEnd, mxArrowConnector
 isMarkerStart, mxArrowConnector
 isMenuShowing, mxPopupMenu
 isMetaDown, mxEvent
 isMiddleMouseButton, mxEvent
 isModified
 isMouseEvent, mxEvent
 isMoveEnabled, mxGraphHandler
 isMoveIconToFrontForState, mxConnectionHandler
 isMultigraph, mxGraph
 isMultiTouchEvent, mxEvent
 isNaN, mxUtils
 isNode, mxUtils
 isNumeric, mxUtils
 isNumericAttribute, mxObjectCodec
 isOpenEnded, mxArrowConnector
 isOrthogonal, mxGraph
 isOutlineConnectEvent
 isPaintBoundsInverted
 isPanningEnabled, mxPanningHandler
 isPanningTrigger, mxPanningHandler
 isParseVml
 isPinchEnabled, mxPanningHandler
 isPopupTrigger
 isPort
 isPortsEnabled, mxGraph
 isPropertiesVisible, mxEditor
 isReady, mxXmlRequest
 isRecursiveResize, mxGraph
 isReference
 isRelativeUrl, mxUrlConverter
 isRemoveCellsFromParent, mxGraphHandler
 isRemovePointEvent, mxEdgeHandler
 isRendering, mxGraphView
 isResizable, mxWindow
 isResizeContainer, mxGraph
 isResizeEnabled, mxSwimlaneManager
 isRightMouseButton, mxEvent
 isRoot, mxGraphModel
 isRotationHandleVisible, mxVertexHandler
 isRunning, mxAnimation
 isScrollEvent, mxGraphView
 isSelected, mxGraphSelectionModel
 isSelectEnabled, mxGraphHandler
 isSelectionDashed
 isSelectionEmpty, mxGraph
 isSelectOnPopup, mxPopupMenuHandler
 isSelectText, mxCellEditor
 isShapeEvent, mxCellRenderer
 isShiftDown, mxEvent
 isSignificant, mxUndoableEdit
 isSingleSelection, mxGraphSelectionModel
 isSizerVisible, mxVertexHandler
 isSnapToTerminalsEvent, mxEdgeHandler
 isSource, mxMouseEvent
 isSplitEnabled, mxGraph
 isSplitTarget, mxGraph
 isStartEvent, mxConnectionHandler
 isStateIgnored, mxConstraintHandler
 isStopEditingEvent, mxCellEditor
 isStopEvent, mxConnectionHandler
 isSwimlane, mxGraph
 isSwimlaneIgnored, mxSwimlaneManager
 isSwimlaneNesting, mxGraph
 isSwimlaneSelectionEnabled, mxGraph
 isSyntheticEventIgnored, mxGraph
 isTerminalPointMovable, mxGraph
 isToggleEvent, mxGraph
 isTouchEvent, mxEvent
 isValidAncestor, mxGraph
 isValidConnection, mxGraph
 isValidDropTarget, mxGraph
 isValidRoot, mxGraph
 isValidSource
 isValidState, mxCellMarker
 isValidTarget
 isVertex
 isVertexIgnored
 isVertexLabelsMovable, mxGraph
 isVertexMovable, mxGraphLayout
 isVirtualBendsEnabled, mxEdgeHandler
 isVisible
 isVml, mxUtils
 isWrapping, mxGraph
-
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.
importNode: function(doc,
node,
allChildren)
Cross browser implementation for document.importNode.
include: function(src)
Dynamically adds a script node to the document header.
indexOf: function(array,
obj)
Returns the index of obj in array or -1 if the array does not contain the given object.
indexOfStylename: function(style,
stylename)
Returns the index of the given stylename in the given style.
info: function()
Writes the current navigator information to the console.
mxCellEditor.prototype.init = function ()
Creates the textarea and installs the event listeners.
mxConnectionHandler.prototype.init = function()
Initializes the shapes required for this connection handler.
mxEdgeHandler.prototype.init = function()
Initializes the shapes required for this edge handler.
mxGraph.prototype.init = function(container)
Initializes the container and creates the respective datastructures.
mxGraphView.prototype.init = function()
Initializes the graph event dispatch loop for the specified container and invokes create to create the required DOM nodes for the display.
mxHandle.prototype.init = function()
Creates and initializes the shapes required for this handle.
mxLabel.prototype.init = function(container)
Initializes the shape and the indicator.
init: function()
Initializes the DOM node for the console.
mxOutline.prototype.init = function(container)
Initializes the outline inside the given container.
mxPopupMenu.prototype.init = function()
Initializes the shapes required for this vertex handler.
mxPopupMenuHandler.prototype.init = function()
Initializes the shapes required for this vertex handler.
mxShape.prototype.init = function(container)
Initializes the shape by creaing the DOM node using create and adding it into the given container.
mxTooltipHandler.prototype.init = function()
Initializes the DOM nodes required for this tooltip handler.
mxVertexHandler.prototype.init = function()
Initializes the shapes required for this vertex handler.
mxWindow.prototype.init = function(x,
y,
width,
height,
style)
Initializes the DOM tree that represents the window.
mxEdgeHandler.prototype.initBend = function(bend,
dblClick)
Helper method to initialize the given bend.
mxCellRenderer.prototype.initControl = function(state,
control,
handleEvents,
clickHandler)
Initializes the given control and returns the corresponding DOM node.
mxCoordinateAssignment.prototype.initialCoords = function(facade,
model)
Sets up the layout in an initial positioning.
mxCellRenderer.prototype.initializeLabel = function(state)
Initiailzes the label with a suitable container.
mxCellRenderer.prototype.initializeOverlay = function(state,
overlay)
Initializes the given overlay.
mxCellRenderer.prototype.initializeShape = function(state)
Initializes the shape in the given state by calling its init method with the correct container after configuring it using configureShape.
mxGraphHierarchyModel.prototype.initialRank = function()
Basic determination of minimum layer ranking by working from from sources or sinks and working through each node in the relevant edge direction.
mxSwimlaneModel.prototype.initialRank = function()
Basic determination of minimum layer ranking by working from from sources or sinks and working through each node in the relevant edge direction.
mxHandle.prototype.initShape = function(html)
Initializes shape and sets its cursor.
mxCell.prototype.insert = function(child,
index)
Inserts the specified child into the child array at the specified index and updates the parent reference of the child.
mxDefaultToolbar.prototype.insert = function(vertex,
evt,
target)
Handles a drop by inserting the given vertex into the given parent cell or the default parent if no parent is specified.
mxPrintPreview.prototype.insertBackgroundImage = function(div,
dx,
dy)
Inserts the background image into the given div.
mxCell.prototype.insertEdge = function(edge,
isOutgoing)
Inserts the specified edge into the edge array and returns the edge.
mxConnectionHandler.prototype.insertEdge = function(parent,
id,
value,
source,
target,
style)
Creates, inserts and returns the new edge for the given parameters.
mxGraph.prototype.insertEdge = function(parent,
id,
value,
source,
target,
style)
Adds a new edge into the given parent mxCell using value as the user object and the given source and target as the terminals of the new edge.
mxCodec.prototype.insertIntoGraph = function(cell)
Inserts the given cell into its parent and terminal cells.
mxCellRenderer.prototype.insertStateAfter = function(state,
node,
htmlNode)
Inserts the given array of mxShapes after the given nodes in the DOM.
mxGraph.prototype.insertVertex = function(parent,
id,
value,
x,
y,
width,
height,
style,
relative)
Adds a new vertex into the given parent mxCell using value as the user object and the given coordinates as the mxGeometry of the new vertex.
mxEditor.prototype.installChangeHandler = function (graph)
Installs the listeners required to automatically validate the graph.
mxWindow.prototype.installCloseHandler = function()
Adds the closeImage as a new image node in closeImg and installs the close event.
mxEditor.prototype.installDblClickHandler = function (graph)
Overrides mxGraph.dblClick to invoke dblClickAction on a cell and reset the selection tool in the toolbar.
mxEditor.prototype.installDrillHandler = function (graph)
Installs listeners for dispatching the root event.
mxDefaultToolbar.prototype.installDropHandler = function (img,
dropHandler)
Makes the given img draggable using the given function for handling a drop event.
mxEditor.prototype.installInsertHandler = function (graph)
Installs the handler for invoking insertFunction if one is defined.
mxCellEditor.prototype.installListeners = function(elt)
Installs listeners for focus, change and standard key event handling.
mxCellRenderer.prototype.installListeners = function(state)
Installs the event listeners for the given cell state.
mxGraphView.prototype.installListeners = function()
Installs the required listeners in the container.
mxWindow.prototype.installMaximizeHandler = function()
Installs the event listeners required for maximizing the window.
mxWindow.prototype.installMinimizeHandler = function()
Installs the event listeners required for minimizing the window.
mxWindow.prototype.installMoveHandler = function()
Installs the event listeners required for moving the window.
Installs the listeners for the given mxCellState, mxCellOverlay and mxShape that represents the overlay.
mxEditor.prototype.installUndoHandler = function (graph)
Adds the undoManager to the graph model and the view.
intersection: function (x0,
y0,
x1,
y1,
x2,
y2,
x3,
y3)
Returns the intersection of two lines as an mxPoint.
mxCellMarker.prototype.intersects = function(state,
me)
Returns true if the given coordinate pair intersects the given state.
mxGraph.prototype.intersects = function(state,
x,
y)
Returns the bottom-most cell that intersects the given point (x, y) in the cell hierarchy that starts at the given parent.
intersects: function(a,
b)
Returns true if the two rectangles intersect.
mxGraphView.prototype.invalidate = function(cell,
recurse,
includeEdges)
Invalidates the state of the given cell, all its descendants and connected edges.
mxGraphHierarchyEdge.prototype.invert = function(layer)
Inverts the direction of this internal edge(s)
mxDragSource.prototype.isActive = function()
Returns true if this drag source is active.
mxPanningHandler.prototype.isActive = function()
Returns true if the handler is currently active.
mxSwimlaneManager.prototype.isAddEnabled = function()
Returns addEnabled.
mxEdgeHandler.prototype.isAddPointEvent = function(evt)
Returns true if the given event is a trigger to add a new point.
mxEdgeHandler.prototype.isAddVirtualBendEvent = function(me)
Returns true if the given event allows virtual bends to be added.
mxGraph.prototype.isAllowDanglingEdges = function()
Returns allowDanglingEdges as a boolean.
mxGraphView.prototype.isAllowEval = function()
Returns allowEval.
mxGraph.prototype.isAllowLoops = function()
Returns allowLoops as a boolean.
mxGraph.prototype.isAllowOverlapParent = function(cell)
Returns true if the given cell is allowed to be placed outside of the parents area.
isAltDown: function(evt)
Returns true if the alt key is pressed for the given event.
mxGraphHierarchyNode.prototype.isAncestor = function(otherNode)
mxGraphModel.prototype.isAncestor = function(parent,
child)
Returns true if the given parent is an ancestor of the given child.
isAncestorNode: function(ancestor,
child)
Returns true if the given ancestor is an ancestor of the given DOM node in the DOM.
mxArrowConnector.prototype.isArrowRounded = function()
Returns wether the arrow is rounded
mxGraph.prototype.isAutoSizeCell = function(cell)
Returns true if the size of the given cell should automatically be updated after a change of the label.
mxGraph.prototype.isAutoSizeCells = function()
Returns autoSizeCells.
mxXmlRequest.prototype.isBinary = function()
Returns binary.
mxObjectCodec.prototype.isBooleanAttribute = function(enc,
obj,
name,
value)
Returns true if the given object attribute is a boolean value.
isBrowserSupported: function()
Returns true if the current browser is supported, that is, if mxClient.IS_VML or mxClient.IS_SVG is true.
mxLayoutManager.prototype.isBubbling = function()
Returns true if a layout should bubble, that is, if the parent layout should be executed whenever a cell layout (layout of the children of a cell) has been executed.
mxGraph.prototype.isCellBendable = function(cell)
Returns true if the given cell is bendable.
mxGraph.prototype.isCellCloneable = function(cell)
Returns true if the given cell is cloneable.
codec.isCellCodec = function()
Returns true since this is a cell codec.
mxCodec.prototype.isCellCodec = function(codec)
Returns true if the given codec is a cell codec.
mxGraph.prototype.isCellCollapsed = function(cell)
Returns true if the given cell is collapsed in this graph.
mxGraphView.prototype.isCellCollapsed = function(cell)
Returns true if the children of the given cell should not be visible in the view.
mxGraph.prototype.isCellConnectable = function(cell)
Returns true if the given cell is connectable in this graph.
mxGraph.prototype.isCellDeletable = function(cell)
Returns true if the given cell is moveable.
mxGraph.prototype.isCellDisconnectable = function(cell,
terminal,
source)
Returns true if the given cell is disconnectable from the source or target terminal.
mxGraph.prototype.isCellEditable = function(cell)
Returns true if the given cell is editable.
mxGraph.prototype.isCellFoldable = function(cell,
collapse)
Returns true if the given cell is foldable.
mxSwimlaneManager.prototype.isCellHorizontal = function(cell)
Returns true if the given cell is horizontal.
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.
mxEdgeHandler.prototype.isCustomHandleEvent = function(me)
Returns true if the given event allows custom handles to be changed.
mxVertexHandler.prototype.isCustomHandleEvent = function(me)
Returns true if the given event allows custom handles to be changed.
mxGraphHandler.prototype.isDelayedSelection = function(cell)
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 event should be ignored in fireMouseEvent.
codec.isExcluded = function(obj,
attr,
value,
isWrite)
Excludes user objects that are XML nodes.
mxObjectCodec.prototype.isExcluded = function(obj,
attr,
value,
write)
Returns true if the given attribute is to be ignored by the codec.
mxGraph.prototype.isExtendParent = function(cell)
Returns true if the parent of the given cell should be extended if the child has been resized so that it overlaps the parent.
mxGraph.prototype.isExtendParents = function()
Returns extendParents.
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.
mxHandle.prototype.isHtmlRequired = function()
Returns true if this handle should be rendered in HTML.
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.
mxConstraintHandler.prototype.isKeepFocusEvent = function(me)
Returns true if the current focused state should not be changed for the given event.
mxGraph.prototype.isLabelClipped = function(cell)
Returns true if the overflow portion of labels should be hidden.
mxCellRenderer.prototype.isLabelEvent = function(state,
evt)
Returns true if the event is for the label of the given state.
mxGraph.prototype.isLabelMovable = function(cell)
Returns true if the given edges’s label is moveable.
isLanguageSupported: function(lan)
Hook for subclassers to disable support for a given language.
mxGraphModel.prototype.isLayer = function(cell)
Returns true if isRoot returns true for the parent of the given cell.
isLeftMouseButton: function(evt)
Returns true if the left mouse button is pressed for the given event.
mxVertexHandler.prototype.isLivePreviewBorder = function()
Called if livePreview is enabled to check if a border should be painted.
mxGraph.prototype.isLoop = function(state)
Returns true if the given cell state is a loop.
mxArrowConnector.prototype.isMarkerEnd = function()
Returns whether the end marker is drawn
mxArrowConnector.prototype.isMarkerStart = function()
Returns whether the start marker is drawn
mxPopupMenu.prototype.isMenuShowing = function()
Returns true if the menu is showing.
isMetaDown: function(evt)
Returns true if the meta key is pressed for the given event.
isMiddleMouseButton: function(evt)
Returns true if the middle mouse button is pressed for the given event.
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.
isMultiTouchEvent: function(evt)
Returns true if the event was generated using a touch device (not a pen or mouse).
isNaN: function(value)
Returns true if the given value is of type number and isNaN returns true.
isNode: function(value,
nodeName,
attributeName,
attributeValue)
Returns true if the given value is an XML node with the node name and if the optional attribute has the specified value.
isNumeric: function(n)
Returns true if the specified value is numeric, that is, if it is not null, not an empty string, not a HEX number and isNaN returns false.
mxObjectCodec.prototype.isNumericAttribute = function(dec,
attr,
obj)
Returns true if the given XML attribute is a numeric value.
mxArrowConnector.prototype.isOpenEnded = function()
Returns whether the ends of the shape are drawn
mxGraph.prototype.isOrthogonal = function(edge)
Returns true if perimeter points should be computed such that the resulting edge has only horizontal or vertical segments.
mxConnectionHandler.prototype.isOutlineConnectEvent = function(me)
Returns true if outlineConnect is true and the source of the event is the outline shape or shift is pressed.
mxEdgeHandler.prototype.isOutlineConnectEvent = function(me)
Returns true if outlineConnect is true and the source of the event is the outline shape or shift is pressed.
mxPolyline.prototype.isPaintBoundsInverted = function()
Returns false.
mxShape.prototype.isPaintBoundsInverted = function()
Returns true if the bounds should be inverted.
mxText.prototype.isPaintBoundsInverted = function()
Inverts the bounds if mxShape.isBoundsInverted returns true or if the horizontal style is false.
mxPanningHandler.prototype.isPanningEnabled = function()
Returns panningEnabled.
mxPanningHandler.prototype.isPanningTrigger = function(me)
Returns true if the given event is a panning trigger for the optional given cell.
mxShape.prototype.isParseVml = function()
Specifies if any VML should be added via insertAdjacentHtml to the DOM.
mxText.prototype.isParseVml = function()
Text shapes do not contain VML markup and do not need to be parsed.
mxPanningHandler.prototype.isPinchEnabled = function()
Returns pinchEnabled.
isPopupTrigger: function(evt)
Returns true if the event is a popup trigger.
mxMouseEvent.prototype.isPopupTrigger = function()
Returns true if the event is a popup trigger.
mxPopupMenu.prototype.isPopupTrigger = function(me)
Returns true if the given event is a popupmenu trigger for the optional given cell.
mxGraph.prototype.isPort = function(cell)
Returns true if the given cell is a “port”, that is, when connecting to it, the cell returned by getTerminalForPort should be used as the terminal and the port should be referenced by the ID in either the mxConstants.STYLE_SOURCE_PORT or the or the mxConstants.STYLE_TARGET_PORT.
mxHierarchicalLayout.prototype.isPort = function(cell)
Returns true if the given cell is a “port”, that is, when connecting to it, its parent is the connecting vertex in terms of graph traversal
mxSwimlaneLayout.prototype.isPort = function(cell)
Returns true if the given cell is a “port”, that is, when connecting to it, its parent is the connecting vertex in terms of graph traversal
mxGraph.prototype.isPortsEnabled = function()
Returns portsEnabled as a boolean.
mxEditor.prototype.isPropertiesVisible = function ()
Returns true if the properties dialog is currently visible.
mxXmlRequest.prototype.isReady = function()
Returns true if the response is ready.
mxGraph.prototype.isRecursiveResize = function(state)
Returns recursiveResize.
codec.isReference = function(obj,
attr,
value,
isWrite)
Returns true for the child attribute if the child cell had a previous parent or if we’re reading the child as an attribute rather than a child node, in which case it’s always a reference.
mxObjectCodec.prototype.isReference = function(obj,
attr,
value,
write)
Returns true if the given fieldname is to be treated as a textual reference (ID).
mxUrlConverter.prototype.isRelativeUrl = function(url)
Returns true if the given URL is relative.
mxGraphHandler.prototype.isRemoveCellsFromParent = function()
Returns removeCellsFromParent.
mxEdgeHandler.prototype.isRemovePointEvent = function(evt)
Returns true if the given event is a trigger to remove a point.
mxGraphView.prototype.isRendering = function()
Returns rendering.
mxWindow.prototype.isResizable = function()
Returns true if the window is resizable.
mxGraph.prototype.isResizeContainer = function()
Returns resizeContainer.
mxSwimlaneManager.prototype.isResizeEnabled = function()
Returns resizeEnabled.
isRightMouseButton: function(evt)
Returns true if the right mouse button was pressed.
mxGraphModel.prototype.isRoot = function(cell)
Returns true if the given cell is the root of the model and a non-null value.
mxVertexHandler.prototype.isRotationHandleVisible = function()
Returns true if the rotation handle should be showing.
mxAnimation.prototype.isRunning = function()
Returns true if the animation is running.
mxGraphView.prototype.isScrollEvent = function(evt)
Returns true if the event origin is one of the scrollbars of the container in IE.
mxGraphSelectionModel.prototype.isSelected = function(cell)
Returns true if the given mxCell is selected.
mxGraphHandler.prototype.isSelectEnabled = function()
Returns selectEnabled.
mxEdgeHandler.prototype.isSelectionDashed = function()
Returns mxConstants.EDGE_SELECTION_DASHED.
mxVertexHandler.prototype.isSelectionDashed = function()
Returns mxConstants.VERTEX_SELECTION_DASHED.
mxGraph.prototype.isSelectionEmpty = function()
Returns true if the selection is empty.
mxPopupMenuHandler.prototype.isSelectOnPopup = function(me)
Hook for returning if a cell should be selected for a given mxMouseEvent.
mxCellEditor.prototype.isSelectText = function()
Returns selectText.
mxCellRenderer.prototype.isShapeEvent = function(state,
evt)
Returns true if the event is for the shape of the given state.
isShiftDown: function(evt)
Returns true if the shift key is pressed for the given event.
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.
mxEdgeHandler.prototype.isSnapToTerminalsEvent = function(me)
Returns true if snapToTerminals is true and if alt is not pressed.
mxMouseEvent.prototype.isSource = function(shape)
Returns true if the given mxShape is the source of evt.
mxGraph.prototype.isSplitEnabled = function()
Returns splitEnabled as a boolean.
mxGraph.prototype.isSplitTarget = function(target,
cells,
evt)
Returns true if the given edge may be splitted into two edges with the given cell as a new terminal between the two.
mxConnectionHandler.prototype.isStartEvent = function(me)
Returns true if the given mouse down event should start this handler.
mxConstraintHandler.prototype.isStateIgnored = function(state,
source)
Returns true if the given state should be ignored.
mxCellEditor.prototype.isStopEditingEvent = function(evt)
Returns true if the given keydown event should stop cell editing.
mxConnectionHandler.prototype.isStopEvent = function(me)
Returns true if the given mouse up event should stop this handler.
mxGraph.prototype.isSwimlane = function (cell)
Returns true if the given cell is a swimlane in the graph.
mxSwimlaneManager.prototype.isSwimlaneIgnored = function(swimlane)
Returns true if the given swimlane should be ignored.
mxGraph.prototype.isSwimlaneNesting = function()
Returns swimlaneNesting as a boolean.
mxGraph.prototype.isSwimlaneSelectionEnabled = function()
Returns swimlaneSelectionEnabled as a boolean.
mxGraph.prototype.isSyntheticEventIgnored = function(evtName,
me,
sender)
Hook for ignoring synthetic mouse events after touchend in Firefox.
mxGraph.prototype.isTerminalPointMovable = function(cell,
source)
Returns true if the given terminal point is movable.
mxGraph.prototype.isToggleEvent = function(evt)
Returns true if the given event is a toggle event.
isTouchEvent: function(evt)
Returns true if the event was generated using a touch device (not a pen or mouse).
mxGraph.prototype.isValidAncestor = function(cell,
parent,
recurse)
Returns whether or not the specified parent is a valid ancestor of the specified cell, either direct or indirectly based on whether ancestor recursion is enabled.
mxGraph.prototype.isValidConnection = function(source,
target)
Returns true if the given target cell is a valid target for source.
mxGraph.prototype.isValidDropTarget = function(cell,
cells,
evt)
Returns true if the given cell is a valid drop target for the specified cells.
mxGraph.prototype.isValidRoot = function(cell)
Returns true if the given cell is a valid root for the cell display hierarchy.
mxConnectionHandler.prototype.isValidSource = function(cell,
me)
Returns mxGraph.isValidSource for the given source terminal.
mxGraph.prototype.isValidSource = function(cell)
Returns true if the given cell is a valid source for new connections.
mxCellMarker.prototype.isValidState = function(state)
Returns true if the given mxCellState is a valid state.
mxConnectionHandler.prototype.isValidTarget = function(cell)
Returns true.
mxGraph.prototype.isValidTarget = function(cell)
Returns isValidSource for the given cell.
mxCell.prototype.isVertex = function()
Returns true if the cell is a vertex.
mxGraphAbstractHierarchyCell.prototype.isVertex = function()
Returns whether or not this cell is a node
mxGraphHierarchyNode.prototype.isVertex = function()
Returns true.
mxGraphModel.prototype.isVertex = function(cell)
Returns true if the given cell is a vertex.
mxCompactTreeLayout.prototype.isVertexIgnored = function(vertex)
Returns a boolean indicating if the given mxCell should be ignored as a vertex.
mxFastOrganicLayout.prototype.isVertexIgnored = function(vertex)
Returns a boolean indicating if the given mxCell should be ignored as a vertex.
mxGraphLayout.prototype.isVertexIgnored = function(vertex)
Returns a boolean indicating if the given mxCell should be ignored by the algorithm.
mxRadialTreeLayout.prototype.isVertexIgnored = function(vertex)
Returns a boolean indicating if the given mxCell should be ignored as a vertex.
mxGraph.prototype.isVertexLabelsMovable = function()
Returns vertexLabelsMovable.
mxGraphLayout.prototype.isVertexMovable = function(cell)
Returns a boolean indicating if the given mxCell is movable or bendable by the algorithm.
mxEdgeHandler.prototype.isVirtualBendsEnabled = function(evt)
Returns true if virtual bends should be added.
mxCell.prototype.isVisible = function()
Returns true if the cell is visibile.
mxGraphModel.prototype.isVisible = function(cell)
Returns true if the given mxCell is visible.
isVisible: function()
Returns true if the console is visible.
mxWindow.prototype.isVisible = function()
Returns true if the window is visible.
isVml: function(node)
Returns true if the given node is in the VML namespace.
mxGraph.prototype.isWrapping = function(cell)
This enables wrapping for HTML labels.
+
mxSvgCanvas2D.prototype.image = function(x,
y,
w,
h,
src,
aspect,
flipH,
flipV)
Private helper function to create SVG elements
mxVmlCanvas2D.prototype.image = function(x,
y,
w,
h,
src,
aspect,
flipH,
flipV)
Paints an image.
mxXmlCanvas2D.prototype.image = function(x,
y,
w,
h,
src,
aspect,
flipH,
flipV)
Paints an image.
mxGraph.prototype.importCells = function(cells,
dx,
dy,
target,
evt)
Clones and inserts the given cells into the graph using the move method and returns the inserted cells.
importNode: function(doc,
node,
allChildren)
Cross browser implementation for document.importNode.
include: function(src)
Dynamically adds a script node to the document header.
indexOf: function(array,
obj)
Returns the index of obj in array or -1 if the array does not contain the given object.
indexOfStylename: function(style,
stylename)
Returns the index of the given stylename in the given style.
info: function()
Writes the current navigator information to the console.
mxCellEditor.prototype.init = function ()
Creates the textarea and installs the event listeners.
mxConnectionHandler.prototype.init = function()
Initializes the shapes required for this connection handler.
mxEdgeHandler.prototype.init = function()
Initializes the shapes required for this edge handler.
mxGraph.prototype.init = function(container)
Initializes the container and creates the respective datastructures.
mxGraphView.prototype.init = function()
Initializes the graph event dispatch loop for the specified container and invokes create to create the required DOM nodes for the display.
mxHandle.prototype.init = function()
Creates and initializes the shapes required for this handle.
mxLabel.prototype.init = function(container)
Initializes the shape and the indicator.
init: function()
Initializes the DOM node for the console.
mxOutline.prototype.init = function(container)
Initializes the outline inside the given container.
mxPopupMenu.prototype.init = function()
Initializes the shapes required for this vertex handler.
mxPopupMenuHandler.prototype.init = function()
Initializes the shapes required for this vertex handler.
mxShape.prototype.init = function(container)
Initializes the shape by creaing the DOM node using create and adding it into the given container.
mxTooltipHandler.prototype.init = function()
Initializes the DOM nodes required for this tooltip handler.
mxVertexHandler.prototype.init = function()
Initializes the shapes required for this vertex handler.
mxWindow.prototype.init = function(x,
y,
width,
height,
style)
Initializes the DOM tree that represents the window.
mxEdgeHandler.prototype.initBend = function(bend,
dblClick)
Helper method to initialize the given bend.
mxCellRenderer.prototype.initControl = function(state,
control,
handleEvents,
clickHandler)
Initializes the given control and returns the corresponding DOM node.
mxCoordinateAssignment.prototype.initialCoords = function(facade,
model)
Sets up the layout in an initial positioning.
mxCellRenderer.prototype.initializeLabel = function(state,
shape)
Initiailzes the label with a suitable container.
mxCellRenderer.prototype.initializeOverlay = function(state,
overlay)
Initializes the given overlay.
mxCellRenderer.prototype.initializeShape = function(state)
Initializes the shape in the given state by calling its init method with the correct container after configuring it using configureShape.
mxGraphHierarchyModel.prototype.initialRank = function()
Basic determination of minimum layer ranking by working from from sources or sinks and working through each node in the relevant edge direction.
mxSwimlaneModel.prototype.initialRank = function()
Basic determination of minimum layer ranking by working from from sources or sinks and working through each node in the relevant edge direction.
mxHandle.prototype.initShape = function(html)
Initializes shape and sets its cursor.
mxCell.prototype.insert = function(child,
index)
Inserts the specified child into the child array at the specified index and updates the parent reference of the child.
mxDefaultToolbar.prototype.insert = function(vertex,
evt,
target)
Handles a drop by inserting the given vertex into the given parent cell or the default parent if no parent is specified.
mxPrintPreview.prototype.insertBackgroundImage = function(div,
dx,
dy)
Inserts the background image into the given div.
mxCell.prototype.insertEdge = function(edge,
isOutgoing)
Inserts the specified edge into the edge array and returns the edge.
mxConnectionHandler.prototype.insertEdge = function(parent,
id,
value,
source,
target,
style)
Creates, inserts and returns the new edge for the given parameters.
mxGraph.prototype.insertEdge = function(parent,
id,
value,
source,
target,
style)
Adds a new edge into the given parent mxCell using value as the user object and the given source and target as the terminals of the new edge.
mxCodec.prototype.insertIntoGraph = function(cell)
Inserts the given cell into its parent and terminal cells.
mxCellRenderer.prototype.insertStateAfter = function(state,
node,
htmlNode)
Inserts the given array of mxShapes after the given nodes in the DOM.
mxGraph.prototype.insertVertex = function(parent,
id,
value,
x,
y,
width,
height,
style,
relative)
Adds a new vertex into the given parent mxCell using value as the user object and the given coordinates as the mxGeometry of the new vertex.
mxEditor.prototype.installChangeHandler = function (graph)
Installs the listeners required to automatically validate the graph.
mxWindow.prototype.installCloseHandler = function()
Adds the closeImage as a new image node in closeImg and installs the close event.
mxEditor.prototype.installDblClickHandler = function (graph)
Overrides mxGraph.dblClick to invoke dblClickAction on a cell and reset the selection tool in the toolbar.
mxEditor.prototype.installDrillHandler = function (graph)
Installs listeners for dispatching the root event.
mxDefaultToolbar.prototype.installDropHandler = function (img,
dropHandler)
Makes the given img draggable using the given function for handling a drop event.
mxEditor.prototype.installInsertHandler = function (graph)
Installs the handler for invoking insertFunction if one is defined.
mxCellEditor.prototype.installListeners = function(elt)
Installs listeners for focus, change and standard key event handling.
mxCellRenderer.prototype.installListeners = function(state)
Installs the event listeners for the given cell state.
mxGraphView.prototype.installListeners = function()
Installs the required listeners in the container.
mxWindow.prototype.installMaximizeHandler = function()
Installs the event listeners required for maximizing the window.
mxWindow.prototype.installMinimizeHandler = function()
Installs the event listeners required for minimizing the window.
mxWindow.prototype.installMoveHandler = function()
Installs the event listeners required for moving the window.
Installs the listeners for the given mxCellState, mxCellOverlay and mxShape that represents the overlay.
mxEditor.prototype.installUndoHandler = function (graph)
Adds the undoManager to the graph model and the view.
intersection: function (x0,
y0,
x1,
y1,
x2,
y2,
x3,
y3)
Returns the intersection of two lines as an mxPoint.
mxCellMarker.prototype.intersects = function(state,
me)
Returns true if the given coordinate pair intersects the given state.
mxGraph.prototype.intersects = function(state,
x,
y)
Returns the bottom-most cell that intersects the given point (x, y) in the cell hierarchy that starts at the given parent.
intersects: function(a,
b)
Returns true if the two rectangles intersect.
mxGraphView.prototype.invalidate = function(cell,
recurse,
includeEdges)
Invalidates the state of the given cell, all its descendants and connected edges.
mxGraphHierarchyEdge.prototype.invert = function(layer)
Inverts the direction of this internal edge(s)
mxDragSource.prototype.isActive = function()
Returns true if this drag source is active.
mxPanningHandler.prototype.isActive = function()
Returns true if the handler is currently active.
mxSwimlaneManager.prototype.isAddEnabled = function()
Returns addEnabled.
mxEdgeHandler.prototype.isAddPointEvent = function(evt)
Returns true if the given event is a trigger to add a new point.
mxEdgeHandler.prototype.isAddVirtualBendEvent = function(me)
Returns true if the given event allows virtual bends to be added.
mxGraph.prototype.isAllowDanglingEdges = function()
Returns allowDanglingEdges as a boolean.
mxGraphView.prototype.isAllowEval = function()
Returns allowEval.
mxGraph.prototype.isAllowLoops = function()
Returns allowLoops as a boolean.
mxGraph.prototype.isAllowOverlapParent = function(cell)
Returns true if the given cell is allowed to be placed outside of the parents area.
isAltDown: function(evt)
Returns true if the alt key is pressed for the given event.
mxGraphHierarchyNode.prototype.isAncestor = function(otherNode)
mxGraphModel.prototype.isAncestor = function(parent,
child)
Returns true if the given parent is an ancestor of the given child.
isAncestorNode: function(ancestor,
child)
Returns true if the given ancestor is an ancestor of the given DOM node in the DOM.
mxArrowConnector.prototype.isArrowRounded = function()
Returns wether the arrow is rounded
mxGraph.prototype.isAutoSizeCell = function(cell)
Returns true if the size of the given cell should automatically be updated after a change of the label.
mxGraph.prototype.isAutoSizeCells = function()
Returns autoSizeCells.
mxXmlRequest.prototype.isBinary = function()
Returns binary.
mxObjectCodec.prototype.isBooleanAttribute = function(enc,
obj,
name,
value)
Returns true if the given object attribute is a boolean value.
isBrowserSupported: function()
Returns true if the current browser is supported, that is, if mxClient.IS_VML or mxClient.IS_SVG is true.
mxLayoutManager.prototype.isBubbling = function()
Returns true if a layout should bubble, that is, if the parent layout should be executed whenever a cell layout (layout of the children of a cell) has been executed.
mxGraph.prototype.isCellBendable = function(cell)
Returns true if the given cell is bendable.
mxGraph.prototype.isCellCloneable = function(cell)
Returns true if the given cell is cloneable.
codec.isCellCodec = function()
Returns true since this is a cell codec.
mxCodec.prototype.isCellCodec = function(codec)
Returns true if the given codec is a cell codec.
mxGraph.prototype.isCellCollapsed = function(cell)
Returns true if the given cell is collapsed in this graph.
mxGraphView.prototype.isCellCollapsed = function(cell)
Returns true if the children of the given cell should not be visible in the view.
mxGraph.prototype.isCellConnectable = function(cell)
Returns true if the given cell is connectable in this graph.
mxGraph.prototype.isCellDeletable = function(cell)
Returns true if the given cell is moveable.
mxGraph.prototype.isCellDisconnectable = function(cell,
terminal,
source)
Returns true if the given cell is disconnectable from the source or target terminal.
mxGraph.prototype.isCellEditable = function(cell)
Returns true if the given cell is editable.
mxGraph.prototype.isCellFoldable = function(cell,
collapse)
Returns true if the given cell is foldable.
mxSwimlaneManager.prototype.isCellHorizontal = function(cell)
Returns true if the given cell is horizontal.
mxGraph.prototype.isCellLocked = function(cell)
Returns true if the given cell may not be moved, sized, bended, disconnected, edited or selected.
mxGraph.prototype.isCellMovable = function(cell)
Returns true if the given cell is moveable.
mxGraph.prototype.isCellResizable = function(cell)
Returns true if the given cell is resizable.
mxGraph.prototype.isCellRotatable = function(cell)
Returns true if the given cell is rotatable.
mxGraph.prototype.isCellsBendable = function()
Returns cellsBenadable.
mxGraph.prototype.isCellsCloneable = function()
Returns cellsCloneable, that is, if the graph allows cloning of cells by using control-drag.
mxGraph.prototype.isCellsDeletable = function()
Returns cellsDeletable.
mxGraph.prototype.isCellsDisconnectable = function()
Returns cellsDisconnectable.
mxGraph.prototype.isCellsEditable = function()
Returns cellsEditable.
mxGraph.prototype.isCellSelectable = function(cell)
Returns true if the given cell is selectable.
mxGraph.prototype.isCellSelected = function(cell)
Returns true if the given cell is selected.
mxGraph.prototype.isCellsLocked = function()
Returns true if the given cell may not be moved, sized, bended, disconnected, edited or selected.
mxGraph.prototype.isCellsMovable = function()
Returns cellsMovable.
mxGraph.prototype.isCellsResizable = function()
Returns cellsResizable.
mxGraph.prototype.isCellsSelectable = function()
Returns cellsSelectable.
mxGraph.prototype.isCellVisible = function(cell)
Returns true if the given cell is visible in this graph.
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.
mxEdgeHandler.prototype.isCustomHandleEvent = function(me)
Returns true if the given event allows custom handles to be changed.
mxVertexHandler.prototype.isCustomHandleEvent = function(me)
Returns true if the given event allows custom handles to be changed.
mxGraphHandler.prototype.isDelayedSelection = function(cell,
me)
Hook to return true for delayed selections.
mxGraph.prototype.isDisconnectOnMove = function()
Returns disconnectOnMove as a boolean.
mxGraph.prototype.isDropEnabled = function()
Returns dropEnabled as a boolean.
mxCell.prototype.isEdge = function()
Returns true if the cell is an edge.
mxGraphAbstractHierarchyCell.prototype.isEdge = function()
Returns whether or not this cell is an edge
mxGraphHierarchyEdge.prototype.isEdge = function()
Returns true.
mxGraphModel.prototype.isEdge = function(cell)
Returns true if the given cell is an edge.
mxGraphLayout.prototype.isEdgeIgnored = function(edge)
Returns a boolean indicating if the given mxCell should be ignored by the algorithm.
mxGraph.prototype.isEdgeLabelsMovable = function()
Returns edgeLabelsMovable.
mxGraph.prototype.isEdgeValid = function(edge,
source,
target)
Checks if the return value of getEdgeValidationError for the given arguments is null.
mxGraph.prototype.isEditing = function(cell)
Returns true if the given cell is currently being edited.
mxCellStatePreview.prototype.isEmpty = function()
Returns true if this contains no entries.
isEmpty: function()
Returns true if the clipboard currently has not data stored.
mxGraphSelectionModel.prototype.isEmpty = function()
Returns true if no cells are currently selected.
mxUndoableEdit.prototype.isEmpty = function()
Returns true if the this edit contains no changes.
mxUndoManager.prototype.isEmpty = function()
Returns true if the history is empty.
mxAutoSaveManager.prototype.isEnabled = function()
Returns true if events are handled.
mxCellMarker.prototype.isEnabled = function()
Returns true if events are handled.
mxConnectionHandler.prototype.isEnabled = function()
Returns true if events are handled.
mxConstraintHandler.prototype.isEnabled = function()
Returns true if events are handled.
mxDragSource.prototype.isEnabled = function()
Returns enabled.
mxGraph.prototype.isEnabled = function()
Returns true if the graph is enabled.
mxGraphHandler.prototype.isEnabled = function()
Returns enabled.
mxKeyHandler.prototype.isEnabled = function()
Returns true if events are handled.
mxLayoutManager.prototype.isEnabled = function()
Returns true if events are handled.
mxOutline.prototype.isEnabled = function()
Returns true if events are handled.
mxPopupMenu.prototype.isEnabled = function()
Returns true if events are handled.
mxRubberband.prototype.isEnabled = function()
Returns true if events are handled.
mxSelectionCellsHandler.prototype.isEnabled = function()
Returns enabled.
mxSwimlaneManager.prototype.isEnabled = function()
Returns true if events are handled.
mxTooltipHandler.prototype.isEnabled = function()
Returns true if events are handled.
mxUrlConverter.prototype.isEnabled = function()
Returns enabled.
mxGuide.prototype.isEnabledForEvent = function(evt)
Returns true if the guide should be enabled for the given native event.
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 event should be ignored in fireMouseEvent.
codec.isExcluded = function(obj,
attr,
value,
isWrite)
Excludes user objects that are XML nodes.
mxObjectCodec.prototype.isExcluded = function(obj,
attr,
value,
write)
Returns true if the given attribute is to be ignored by the codec.
mxGraph.prototype.isExtendParent = function(cell)
Returns true if the parent of the given cell should be extended if the child has been resized so that it overlaps the parent.
mxGraph.prototype.isExtendParents = function()
Returns extendParents.
mxGraph.prototype.isExtendParentsOnAdd = function(cell)
Returns extendParentsOnAdd.
mxGraph.prototype.isExtendParentsOnMove = function()
Returns extendParentsOnAdd.
mxPanningHandler.prototype.isForcePanningEvent = function(me)
Returns true if the given mxMouseEvent should start panning.
mxRubberband.prototype.isForceRubberbandEvent = function(me)
Returns true if the given mxMouseEvent should start rubberband selection.
mxKeyHandler.prototype.isGraphEvent = function(evt)
Returns true if the event should be processed by this handler, that is, if the event source is either the target, one of its direct children, a descendant of the mxGraph.container, or the mxGraph.cellEditor of the graph.
mxDragSource.prototype.isGridEnabled = function()
Returns gridEnabled.
mxGraph.prototype.isGridEnabled = function()
Returns gridEnabled as a boolean.
mxGraph.prototype.isGridEnabledEvent = function(evt)
Returns true if the given mouse event should be aligned to the grid.
mxDragSource.prototype.isGuidesEnabled = function()
Returns guidesEnabled.
mxEdgeHandler.prototype.isHandleEnabled = function(index)
Creates the shape used to display the given bend.
mxEdgeHandler.prototype.isHandleVisible = function(index)
Returns true if the handle at the given index is visible.
mxCellEditor.prototype.isHideLabel = function(state)
Returns true if the label should be hidden while the cell is being edited.
mxTooltipHandler.prototype.isHideOnHover = function()
Returns hideOnHover.
mxCompactTreeLayout.prototype.isHorizontal = function()
Returns horizontal.
mxPartitionLayout.prototype.isHorizontal = function()
Returns horizontal.
mxStackLayout.prototype.isHorizontal = function()
Returns horizontal.
mxSwimlaneManager.prototype.isHorizontal = function()
Returns horizontal.
mxCellMarker.prototype.isHotspotEnabled = function()
Returns true if hotspot is used in intersects.
mxImageShape.prototype.isHtmlAllowed = function()
Returns true if HTML is allowed for this shape.
mxLabel.prototype.isHtmlAllowed = function()
Returns true for non-rounded, non-rotated shapes with no glass gradient and no indicator shape.
mxRectangleShape.prototype.isHtmlAllowed = function()
Returns true for non-rounded, non-rotated shapes with no glass gradient.
mxShape.prototype.isHtmlAllowed = function()
Returns true if HTML is allowed for this shape.
mxText.prototype.isHtmlAllowed = function()
Returns true if HTML is allowed for this shape.
mxGraph.prototype.isHtmlLabel = function(cell)
Returns true if the label must be rendered as HTML markup.
mxGraph.prototype.isHtmlLabels = function()
Returns htmlLabels.
mxHandle.prototype.isHtmlRequired = function()
Returns true if this handle should be rendered in HTML.
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.
mxConstraintHandler.prototype.isKeepFocusEvent = function(me)
Returns true if the current focused state should not be changed for the given event.
mxGraph.prototype.isLabelClipped = function(cell)
Returns true if the overflow portion of labels should be hidden.
mxCellRenderer.prototype.isLabelEvent = function(state,
evt)
Returns true if the event is for the label of the given state.
mxGraph.prototype.isLabelMovable = function(cell)
Returns true if the given edges’s label is moveable.
isLanguageSupported: function(lan)
Hook for subclassers to disable support for a given language.
mxGraphModel.prototype.isLayer = function(cell)
Returns true if isRoot returns true for the parent of the given cell.
isLeftMouseButton: function(evt)
Returns true if the left mouse button is pressed for the given event.
mxVertexHandler.prototype.isLivePreviewBorder = function()
Called if livePreview is enabled to check if a border should be painted.
mxGraph.prototype.isLoop = function(state)
Returns true if the given cell state is a loop.
mxArrowConnector.prototype.isMarkerEnd = function()
Returns whether the end marker is drawn
mxArrowConnector.prototype.isMarkerStart = function()
Returns whether the start marker is drawn
mxPopupMenu.prototype.isMenuShowing = function()
Returns true if the menu is showing.
isMetaDown: function(evt)
Returns true if the meta key is pressed for the given event.
isMiddleMouseButton: function(evt)
Returns true if the middle mouse button is pressed for the given event.
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.
isMultiTouchEvent: function(evt)
Returns true if the event was generated using a touch device (not a pen or mouse).
isNaN: function(value)
Returns true if the given value is of type number and isNaN returns true.
isNode: function(value,
nodeName,
attributeName,
attributeValue)
Returns true if the given value is an XML node with the node name and if the optional attribute has the specified value.
isNumeric: function(n)
Returns true if the specified value is numeric, that is, if it is not null, not an empty string, not a HEX number and isNaN returns false.
mxObjectCodec.prototype.isNumericAttribute = function(dec,
attr,
obj)
Returns true if the given XML attribute is a numeric value.
mxArrowConnector.prototype.isOpenEnded = function()
Returns whether the ends of the shape are drawn
mxGraph.prototype.isOrthogonal = function(edge)
Returns true if perimeter points should be computed such that the resulting edge has only horizontal or vertical segments.
mxConnectionHandler.prototype.isOutlineConnectEvent = function(me)
Returns true if outlineConnect is true and the source of the event is the outline shape or shift is pressed.
mxEdgeHandler.prototype.isOutlineConnectEvent = function(me)
Returns true if outlineConnect is true and the source of the event is the outline shape or shift is pressed.
mxPolyline.prototype.isPaintBoundsInverted = function()
Returns false.
mxShape.prototype.isPaintBoundsInverted = function()
Returns true if the bounds should be inverted.
mxText.prototype.isPaintBoundsInverted = function()
Inverts the bounds if mxShape.isBoundsInverted returns true or if the horizontal style is false.
mxPanningHandler.prototype.isPanningEnabled = function()
Returns panningEnabled.
mxPanningHandler.prototype.isPanningTrigger = function(me)
Returns true if the given event is a panning trigger for the optional given cell.
mxShape.prototype.isParseVml = function()
Specifies if any VML should be added via insertAdjacentHtml to the DOM.
mxText.prototype.isParseVml = function()
Text shapes do not contain VML markup and do not need to be parsed.
mxPanningHandler.prototype.isPinchEnabled = function()
Returns pinchEnabled.
isPopupTrigger: function(evt)
Returns true if the event is a popup trigger.
mxMouseEvent.prototype.isPopupTrigger = function()
Returns true if the event is a popup trigger.
mxPopupMenu.prototype.isPopupTrigger = function(me)
Returns true if the given event is a popupmenu trigger for the optional given cell.
mxGraph.prototype.isPort = function(cell)
Returns true if the given cell is a “port”, that is, when connecting to it, the cell returned by getTerminalForPort should be used as the terminal and the port should be referenced by the ID in either the mxConstants.STYLE_SOURCE_PORT or the or the mxConstants.STYLE_TARGET_PORT.
mxHierarchicalLayout.prototype.isPort = function(cell)
Returns true if the given cell is a “port”, that is, when connecting to it, its parent is the connecting vertex in terms of graph traversal
mxSwimlaneLayout.prototype.isPort = function(cell)
Returns true if the given cell is a “port”, that is, when connecting to it, its parent is the connecting vertex in terms of graph traversal
mxGraph.prototype.isPortsEnabled = function()
Returns portsEnabled as a boolean.
mxEditor.prototype.isPropertiesVisible = function ()
Returns true if the properties dialog is currently visible.
mxXmlRequest.prototype.isReady = function()
Returns true if the response is ready.
mxGraph.prototype.isRecursiveResize = function(state)
Returns recursiveResize.
codec.isReference = function(obj,
attr,
value,
isWrite)
Returns true for the child attribute if the child cell had a previous parent or if we’re reading the child as an attribute rather than a child node, in which case it’s always a reference.
mxObjectCodec.prototype.isReference = function(obj,
attr,
value,
write)
Returns true if the given fieldname is to be treated as a textual reference (ID).
mxUrlConverter.prototype.isRelativeUrl = function(url)
Returns true if the given URL is relative.
mxGraphHandler.prototype.isRemoveCellsFromParent = function()
Returns removeCellsFromParent.
mxEdgeHandler.prototype.isRemovePointEvent = function(evt)
Returns true if the given event is a trigger to remove a point.
mxGraphView.prototype.isRendering = function()
Returns rendering.
mxWindow.prototype.isResizable = function()
Returns true if the window is resizable.
mxGraph.prototype.isResizeContainer = function()
Returns resizeContainer.
mxSwimlaneManager.prototype.isResizeEnabled = function()
Returns resizeEnabled.
isRightMouseButton: function(evt)
Returns true if the right mouse button was pressed.
mxGraphModel.prototype.isRoot = function(cell)
Returns true if the given cell is the root of the model and a non-null value.
mxVertexHandler.prototype.isRotationHandleVisible = function()
Returns true if the rotation handle should be showing.
mxAnimation.prototype.isRunning = function()
Returns true if the animation is running.
mxGraphView.prototype.isScrollEvent = function(evt)
Returns true if the event origin is one of the scrollbars of the container in IE.
mxGraphSelectionModel.prototype.isSelected = function(cell)
Returns true if the given mxCell is selected.
mxGraphHandler.prototype.isSelectEnabled = function()
Returns selectEnabled.
mxEdgeHandler.prototype.isSelectionDashed = function()
Returns mxConstants.EDGE_SELECTION_DASHED.
mxVertexHandler.prototype.isSelectionDashed = function()
Returns mxConstants.VERTEX_SELECTION_DASHED.
mxGraph.prototype.isSelectionEmpty = function()
Returns true if the selection is empty.
mxPopupMenuHandler.prototype.isSelectOnPopup = function(me)
Hook for returning if a cell should be selected for a given mxMouseEvent.
mxCellEditor.prototype.isSelectText = function()
Returns selectText.
mxCellRenderer.prototype.isShapeEvent = function(state,
evt)
Returns true if the event is for the shape of the given state.
isShiftDown: function(evt)
Returns true if the shift key is pressed for the given event.
mxUndoableEdit.prototype.isSignificant = function()
Returns significant.
mxGraphSelectionModel.prototype.isSingleSelection = function()
Returns singleSelection as a boolean.
mxVertexHandler.prototype.isSizerVisible = function(index)
Returns true if the sizer for the given index is visible.
mxEdgeHandler.prototype.isSnapToTerminalsEvent = function(me)
Returns true if snapToTerminals is true and if alt is not pressed.
mxMouseEvent.prototype.isSource = function(shape)
Returns true if the given mxShape is the source of evt.
mxGraph.prototype.isSplitEnabled = function()
Returns splitEnabled as a boolean.
mxGraph.prototype.isSplitTarget = function(target,
cells,
evt)
Returns true if the given edge may be splitted into two edges with the given cell as a new terminal between the two.
mxConnectionHandler.prototype.isStartEvent = function(me)
Returns true if the given mouse down event should start this handler.
mxConstraintHandler.prototype.isStateIgnored = function(state,
source)
Returns true if the given state should be ignored.
mxCellEditor.prototype.isStopEditingEvent = function(evt)
Returns true if the given keydown event should stop cell editing.
mxConnectionHandler.prototype.isStopEvent = function(me)
Returns true if the given mouse up event should stop this handler.
mxGraph.prototype.isSwimlane = function (cell)
Returns true if the given cell is a swimlane in the graph.
mxSwimlaneManager.prototype.isSwimlaneIgnored = function(swimlane)
Returns true if the given swimlane should be ignored.
mxGraph.prototype.isSwimlaneNesting = function()
Returns swimlaneNesting as a boolean.
mxGraph.prototype.isSwimlaneSelectionEnabled = function()
Returns swimlaneSelectionEnabled as a boolean.
mxGraph.prototype.isSyntheticEventIgnored = function(evtName,
me,
sender)
Hook for ignoring synthetic mouse events after touchend in Firefox.
mxGraph.prototype.isTerminalPointMovable = function(cell,
source)
Returns true if the given terminal point is movable.
mxGraph.prototype.isToggleEvent = function(evt)
Returns true if the given event is a toggle event.
isTouchEvent: function(evt)
Returns true if the event was generated using a touch device (not a pen or mouse).
mxGraph.prototype.isValidAncestor = function(cell,
parent,
recurse)
Returns whether or not the specified parent is a valid ancestor of the specified cell, either direct or indirectly based on whether ancestor recursion is enabled.
mxGraph.prototype.isValidConnection = function(source,
target)
Returns true if the given target cell is a valid target for source.
mxGraph.prototype.isValidDropTarget = function(cell,
cells,
evt)
Returns true if the given cell is a valid drop target for the specified cells.
mxGraph.prototype.isValidRoot = function(cell)
Returns true if the given cell is a valid root for the cell display hierarchy.
mxConnectionHandler.prototype.isValidSource = function(cell,
me)
Returns mxGraph.isValidSource for the given source terminal.
mxGraph.prototype.isValidSource = function(cell)
Returns true if the given cell is a valid source for new connections.
mxCellMarker.prototype.isValidState = function(state)
Returns true if the given mxCellState is a valid state.
mxConnectionHandler.prototype.isValidTarget = function(cell)
Returns true.
mxGraph.prototype.isValidTarget = function(cell)
Returns isValidSource for the given cell.
mxCell.prototype.isVertex = function()
Returns true if the cell is a vertex.
mxGraphAbstractHierarchyCell.prototype.isVertex = function()
Returns whether or not this cell is a node
mxGraphHierarchyNode.prototype.isVertex = function()
Returns true.
mxGraphModel.prototype.isVertex = function(cell)
Returns true if the given cell is a vertex.
mxCompactTreeLayout.prototype.isVertexIgnored = function(vertex)
Returns a boolean indicating if the given mxCell should be ignored as a vertex.
mxFastOrganicLayout.prototype.isVertexIgnored = function(vertex)
Returns a boolean indicating if the given mxCell should be ignored as a vertex.
mxGraphLayout.prototype.isVertexIgnored = function(vertex)
Returns a boolean indicating if the given mxCell should be ignored by the algorithm.
mxRadialTreeLayout.prototype.isVertexIgnored = function(vertex)
Returns a boolean indicating if the given mxCell should be ignored as a vertex.
mxGraph.prototype.isVertexLabelsMovable = function()
Returns vertexLabelsMovable.
mxGraphLayout.prototype.isVertexMovable = function(cell)
Returns a boolean indicating if the given mxCell is movable or bendable by the algorithm.
mxEdgeHandler.prototype.isVirtualBendsEnabled = function(evt)
Returns true if virtual bends should be added.
mxCell.prototype.isVisible = function()
Returns true if the cell is visibile.
mxGraphModel.prototype.isVisible = function(cell)
Returns true if the given mxCell is visible.
isVisible: function()
Returns true if the console is visible.
mxWindow.prototype.isVisible = function()
Returns true if the window is visible.
isVml: function(node)
Returns true if the given node is in the VML namespace.
mxGraph.prototype.isWrapping = function(cell)
This enables wrapping for HTML labels.
@@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/General.html b/docs/js-api/index/General.html index c4e81bbec..1f332211f 100644 --- a/docs/js-api/index/General.html +++ b/docs/js-api/index/General.html @@ -13,7 +13,7 @@ if (browserType) {document.write("
");if (browserV
Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
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
 addPoints, mxShape
 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, mxCompactTreeLayout
 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
 allowHandleBoundsCheck
 allowLoops, mxGraph
 allowNegativeCoordinates, mxGraph
 alreadyConnectedResource, mxGraph
 alt, mxImageBundle
 alternateBounds, mxGeometry
 alternateEdgeStyle, mxGraph
 angleOffset, mxRadialTreeLayout
 animateCell, mxMorphing
 animateChanges
 antiAlias
 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
 autoRadius, mxRadialTreeLayout
 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,
clip)
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,
active)
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.
mxShape.prototype.addPoints = function(c,
pts,
rounded,
arcSize,
close)
Paints the given points with rounded corners.
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.
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.
mxDefaultToolbarCodec.allowEval
Static global switch that specifies if the use of eval is allowed for evaluating text content.
mxGraphView.prototype.allowEval
Specifies if string values in cell styles should be evaluated using mxUtils.eval.
mxObjectCodec.allowEval
Static global switch that specifies if expressions in arrays are allowed.
Static global switch that specifies if the use of eval is allowed for evaluating text content.
mxStylesheetCodec.allowEval
Static global switch that specifies if the use of eval is allowed for evaluating text content.
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.
mxRadialTreeLayout.prototype.angleOffset
The initial offset to compute the angle position.
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.
mxCellRenderer.prototype.antiAlias
Anti-aliasing option for new shapes.
mxShape.prototype.antiAlias
Rendering hint for configuring the canvas.
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(cells,
border,
topBorder,
rightBorder,
bottomBorder,
leftBorder)
Shortcut to mxGraph.updateGroupBounds with moveGroup set to true.
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.
mxArrow.prototype.augmentBoundingBox = function(bbox)
Augments the bounding box with the edge width and markers.
mxArrowConnector.prototype.augmentBoundingBox = function(bbox)
Augments the bounding box with the edge width and markers.
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.
mxRadialTreeLayout.prototype.autoRadius
Specifies if the radios should be computed automatically
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,
clip)
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,
active)
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.
mxShape.prototype.addPoints = function(c,
pts,
rounded,
arcSize,
close)
Paints the given points with rounded corners.
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.
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.
mxDefaultToolbarCodec.allowEval
Static global switch that specifies if the use of eval is allowed for evaluating text content.
mxGraphView.prototype.allowEval
Specifies if string values in cell styles should be evaluated using mxUtils.eval.
mxObjectCodec.allowEval
Static global switch that specifies if expressions in arrays are allowed.
Static global switch that specifies if the use of eval is allowed for evaluating text content and images.
mxStylesheetCodec.allowEval
Static global switch that specifies if the use of eval is allowed for evaluating text content.
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.
mxRadialTreeLayout.prototype.angleOffset
The initial offset to compute the angle position.
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.
mxCellRenderer.prototype.antiAlias
Anti-aliasing option for new shapes.
mxShape.prototype.antiAlias
Rendering hint for configuring the canvas.
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(cells,
border,
topBorder,
rightBorder,
bottomBorder,
leftBorder)
Shortcut to mxGraph.updateGroupBounds with moveGroup set to true.
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.
mxArrow.prototype.augmentBoundingBox = function(bbox)
Augments the bounding box with the edge width and markers.
mxArrowConnector.prototype.augmentBoundingBox = function(bbox)
Augments the bounding box with the edge width and markers.
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.
mxRadialTreeLayout.prototype.autoRadius
Specifies if the radios should be computed automatically
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.
@@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/General10.html b/docs/js-api/index/General10.html index eb43507d4..a9e1f35a5 100644 --- a/docs/js-api/index/General10.html +++ b/docs/js-api/index/General10.html @@ -11,17 +11,17 @@ if (browserType) {document.write("
");if (browserV -
Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
J
 jettyPositions, mxCoordinateAssignment
 join, mxCompactTreeLayout
K
 keepEdgesInBackground, mxGraph
 keepEdgesInForeground, mxGraph
 keepFirstLocation, mxStackLayout
 keepOnTop, mxCellHighlight
 keepSelectionVisibleOnZoom, mxGraph
 keyDown, mxKeyHandler
 keyHandler, mxEditor
L
 LABEL_CHANGED
 LABEL_HANDLE, mxEvent
 LABEL_HANDLE_FILLCOLOR, mxConstants
 LABEL_HANDLE_SIZE, mxConstants
 labelChanged, mxGraph
 labels, mxPopupMenu
 labelShape, mxEdgeHandler
 labelsVisible
 language, mxClient
 languages, mxClient
 lastForegroundHtmlNode, mxGraphView
 lastForegroundNode, mxGraphView
 lastHtmlNode, mxGraphView
 lastNode, mxGraphView
 lastSavedResource, mxEditor
 lastSnapshot, mxAutoSaveManager
 lastTouchTime, mxGraph
 lastTouchX, mxGraph
 lastX, mxAbstractCanvas2D
 lastY, mxAbstractCanvas2D
 layeringStage
 layout
 LAYOUT_CELLS
 layoutCells, mxLayoutManager
 layoutDiagram, mxEditor
 layoutLeaf, mxCompactTreeLayout
 layouts, mxCompositeLayout
 layoutSwimlanes, mxEditor
 leave, mxLog
 legacyControlPosition, mxCellRenderer
 legacySpacing, mxCellRenderer
 length, mxCellState
 levelDistance
 limitX, mxCoordinateAssignment
 LINE_ARCSIZE, mxConstants
 LINE_HEIGHT, mxConstants
 lineFeed, mxEditor
 lineHeightCorrection, mxSvgCanvas2D
 lineOp
 lineTo
 link
 linkAction, mxUtils
 linkInvoke, mxUtils
 livePreview, 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
 lastForegroundHtmlNode, mxGraphView
 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
 legacySpacing, mxCellRenderer
 length, mxCellState
 levelDistance
 limitX, mxCoordinateAssignment
 LINE_ARCSIZE, mxConstants
 LINE_HEIGHT, mxConstants
 lineFeed, mxEditor
 lineHeightCorrection, mxSvgCanvas2D
 lineOp
 lineTo
 link
 linkAction, mxUtils
 linkInvoke, mxUtils
 livePreview, 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.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.
+
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.lastForegroundHtmlNode
During validation, this contains the last edge HTML DOM node that was processed.
mxGraphView.prototype.lastForegroundNode
During validation, this contains the last edge’s DOM node that was processed.
mxGraphView.prototype.lastHtmlNode
During validation, this contains the last HTML DOM node that was processed.
mxGraphView.prototype.lastNode
During validation, this contains the last DOM node that was processed.
mxEditor.prototype.lastSavedResource
Specifies the resource key for the last saved info.
mxAutoSaveManager.prototype.lastSnapshot
Used for autosaving.
mxGraph.prototype.lastTouchTime
Holds the time of the last touch event for double click detection.
Holds the x-coordinate of the last touch event for double tap detection.
mxAbstractCanvas2D.prototype.lastX
Holds the last x coordinate.
mxAbstractCanvas2D.prototype.lastY
Holds the last y coordinate.
mxHierarchicalLayout.prototype.layeringStage = function()
Implements first stage of a Sugiyama layout.
mxSwimlaneLayout.prototype.layeringStage = function()
Implements first stage of a Sugiyama layout.
mxCompactTreeLayout.prototype.layout = function(node)
Starts the actual compact tree layout algorithm at the given node.
mxCoordinateAssignment.prototype.layout
Reference to the enclosing mxHierarchicalLayout.
mxMedianHybridCrossingReduction.prototype.layout
Reference to the enclosing mxHierarchicalLayout.
mxMinimumCycleRemover.prototype.layout
Reference to the enclosing mxHierarchicalLayout.
mxParallelEdgeLayout.prototype.layout = function(parallels)
Lays out the parallel edges in the given array.
mxSwimlaneOrdering.prototype.layout
Reference to the enclosing mxHierarchicalLayout.
Specifies the event name for layoutCells.
Fires between begin- and endUpdate after all cells have been layouted in layoutCells.
mxLayoutManager.prototype.layoutCells = function(cells)
Executes all layouts which have been scheduled during the changes.
mxEditor.prototype.layoutDiagram
Specifies if the top-level elements in the diagram should be layed out using a vertical or horizontal stack depending on the setting of horizontalFlow.
mxCompactTreeLayout.prototype.layoutLeaf = function(node)
mxCompositeLayout.prototype.layouts
Holds the array of mxGraphLayouts that this layout contains.
mxEditor.prototype.layoutSwimlanes
Specifies if the children of swimlanes should be layed out, either vertically or horizontally depending on horizontalFlow.
leave: function(string,
t0)
Writes the specified string to the console if TRACE is true and computes the difference between the current time and t0 in milliseconds.
mxCellRenderer.prototype.legacyControlPosition
Specifies if the folding icon should ignore the horizontal orientation of a swimlane.
mxCellRenderer.prototype.legacySpacing
Specifies if spacing and label position should be ignored if overflow is fill or width.
mxCellState.prototype.length
Caches the length of an edge.
mxCompactTreeLayout.prototype.levelDistance
Holds the levelDistance.
mxRadialTreeLayout.prototype.levelDistance
Holds the levelDistance.
mxCoordinateAssignment.prototype.limitX
The maximum x value this positioning lays up to
Defines the size of the arcs for rounded edges.
Defines the default line height for text labels.
Character to be used for encoding linefeeds in save.
mxSvgCanvas2D.prototype.lineHeightCorrection
Correction factor for mxConstants.LINE_HEIGHT in HTML output.
mxAbstractCanvas2D.prototype.lineOp
Contains the string used for moving in paths.
mxVmlCanvas2D.prototype.lineOp
Contains the string used for moving in paths.
mxAbstractCanvas2D.prototype.lineTo = function(x,
y)
Draws a line to the given coordinates.
mxXmlCanvas2D.prototype.lineTo = function(x,
y)
Draws a line to the given coordinates.
link: function(rel,
href,
doc)
Adds a link node to the head of the document.
link: function(parent,
text,
funct,
pad)
Adds a hyperlink to the specified parent and invokes the given function when the link is clicked.
linkAction: function(parent,
text,
editor,
action,
pad)
Adds a hyperlink to the specified parent that invokes action on the specified editor.
linkInvoke: function(parent,
text,
editor,
functName,
arg,
pad)
Adds a hyperlink to the specified parent that invokes the specified function on the editor passing along the specified argument.
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.lastForegroundHtmlNode
During validation, this contains the last edge HTML DOM node that was processed.
mxGraphView.prototype.lastForegroundNode
During validation, this contains the last edge’s DOM node that was processed.
mxGraphView.prototype.lastHtmlNode
During validation, this contains the last HTML DOM node that was processed.
mxGraphView.prototype.lastNode
During validation, this contains the last DOM node that was processed.
mxEditor.prototype.lastSavedResource
Specifies the resource key for the last saved info.
mxAutoSaveManager.prototype.lastSnapshot
Used for autosaving.
mxGraph.prototype.lastTouchTime
Holds the time of the last touch event for double click detection.
Holds the x-coordinate of the last touch event for double tap detection.
mxAbstractCanvas2D.prototype.lastX
Holds the last x coordinate.
mxAbstractCanvas2D.prototype.lastY
Holds the last y coordinate.
mxHierarchicalLayout.prototype.layeringStage = function()
Implements first stage of a Sugiyama layout.
mxSwimlaneLayout.prototype.layeringStage = function()
Implements first stage of a Sugiyama layout.
mxCompactTreeLayout.prototype.layout = function(node)
Starts the actual compact tree layout algorithm at the given node.
mxCoordinateAssignment.prototype.layout
Reference to the enclosing mxHierarchicalLayout.
mxMedianHybridCrossingReduction.prototype.layout
Reference to the enclosing mxHierarchicalLayout.
mxMinimumCycleRemover.prototype.layout
Reference to the enclosing mxHierarchicalLayout.
mxParallelEdgeLayout.prototype.layout = function(parallels)
Lays out the parallel edges in the given array.
mxSwimlaneOrdering.prototype.layout
Reference to the enclosing mxHierarchicalLayout.
Specifies the event name for layoutCells.
Fires between begin- and endUpdate after all cells have been layouted in layoutCells.
mxLayoutManager.prototype.layoutCells = function(cells)
Executes all layouts which have been scheduled during the changes.
mxEditor.prototype.layoutDiagram
Specifies if the top-level elements in the diagram should be layed out using a vertical or horizontal stack depending on the setting of horizontalFlow.
mxCompactTreeLayout.prototype.layoutLeaf = function(node)
mxCompositeLayout.prototype.layouts
Holds the array of mxGraphLayouts that this layout contains.
mxEditor.prototype.layoutSwimlanes
Specifies if the children of swimlanes should be layed out, either vertically or horizontally depending on horizontalFlow.
leave: function(string,
t0)
Writes the specified string to the console if TRACE is true and computes the difference between the current time and t0 in milliseconds.
mxCellRenderer.prototype.legacyControlPosition
Specifies if the folding icon should ignore the horizontal orientation of a swimlane.
mxCellRenderer.prototype.legacySpacing
Specifies if spacing and label position should be ignored if overflow is fill or width.
mxCellState.prototype.length
Caches the length of an edge.
mxCompactTreeLayout.prototype.levelDistance
Holds the levelDistance.
mxRadialTreeLayout.prototype.levelDistance
Holds the levelDistance.
mxCoordinateAssignment.prototype.limitX
The maximum x value this positioning lays up to
Defines the size of the arcs for rounded edges.
Defines the default line height for text labels.
Character to be used for encoding linefeeds in save.
mxSvgCanvas2D.prototype.lineHeightCorrection
Correction factor for mxConstants.LINE_HEIGHT in HTML output.
mxAbstractCanvas2D.prototype.lineOp
Contains the string used for moving in paths.
mxVmlCanvas2D.prototype.lineOp
Contains the string used for moving in paths.
mxAbstractCanvas2D.prototype.lineTo = function(x,
y)
Draws a line to the given coordinates.
mxXmlCanvas2D.prototype.lineTo = function(x,
y)
Draws a line to the given coordinates.
link: function(rel,
href,
doc)
Adds a link node to the head of the document.
link: function(parent,
text,
funct,
pad)
Adds a hyperlink to the specified parent and invokes the given function when the link is clicked.
linkAction: function(parent,
text,
editor,
action,
pad)
Adds a hyperlink to the specified parent that invokes action on the specified editor.
linkInvoke: function(parent,
text,
editor,
functName,
arg,
pad)
Adds a hyperlink to the specified parent that invokes the specified function on the editor passing along the specified argument.
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.
@@ -29,7 +29,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/General11.html b/docs/js-api/index/General11.html index 8eddf6fc9..c76503021 100644 --- a/docs/js-api/index/General11.html +++ b/docs/js-api/index/General11.html @@ -11,9 +11,9 @@ if (browserType) {document.write("
");if (browserV -
Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
M
 maintainEdgeParent, mxGraphModel
 maintainParentLocation
 maintainSwimlanes, mxEditor
 makeDraggable, mxUtils
 manageLabelHandle, mxEdgeHandler
 manageSizers, mxVertexHandler
 map, mxDictionary
 mapping, mxObjectCodec
 marginBottom, 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
 maxScale, mxPanningHandler
 MedianCellSorter
 medianPos, mxCoordinateAssignment
 medianRank, mxMedianHybridCrossingReduction
 medianValue
 medianXValue, mxCoordinateAssignment
 merge, mxCompactTreeLayout
 mergeChildren, mxGraphModel
 mergeRemoveEnabled, mxEdgeHandler
 method, mxXmlRequest
 min, mxMultiplicity
 MIN_HOTSPOT_SIZE, mxConstants
 minDistanceLimit, mxFastOrganicLayout
 minDistanceLimitSquared, mxFastOrganicLayout
 minEdgeJetty
 minFitScale, mxGraph
 MINIMIZE
 minimizeImage, mxWindow
 minimumContainerSize, mxGraph
 minimumGraphSize, mxGraph
 minimumSize
 minNode, mxCoordinateAssignment
 minPageBreakDist, mxGraph
 minPath, mxCoordinateAssignment
 minRank, mxGraphAbstractHierarchyCell
 minResize, mxCellEditor
 minScale, mxPanningHandler
 mixedModeHtml, mxShape
 mod, mxUtils
 model
 modified
 MOUSE_DOWN, mxEvent
 MOUSE_MOVE, mxEvent
 MOUSE_UP, mxEvent
 mouseDown
 mouseDownCounter, mxConnectionHandler
 mouseListeners, mxGraph
 mouseMove
 mouseUp
 move, mxGuide
 MOVE
 MOVE_CELLS
 MOVE_END
 MOVE_START
 moveCell
 moveCells
 moveChildren, mxVertexHandler
 moveCircle, mxCircleLayout
 moveEnabled, mxGraphHandler
 moveHandler
 moveIconBack, mxConnectionHandler
 moveIconFront, mxConnectionHandler
 moveLabel, mxEdgeHandler
 moveNode, mxCompactTreeLayout
 moveOp
 moveParent
 movePreviewAway, mxConnectionHandler
 movePropertiesDialog, mxEditor
 moveState, mxCellStatePreview
 moveTo
 moveTree, mxCompactTreeLayout
 multigraph, mxGraph
 multiplicities, mxGraph
 mxAbstractCanvas2D
 mxActor
 mxAnimation
 mxArrow
 mxArrowConnector
 mxAutoSaveManager
 mxCell
 mxCellAttributeChange
 mxCellCodec
 mxCellEditor
 mxCellHighlight
 mxCellMarker
 mxCellOverlay
 mxCellPath
 mxCellRenderer
 mxCellState
 mxCellStatePreview
 mxCellTracker
 mxChildChange
 mxChildChangeCodec
 mxCircleLayout
 mxClient
 mxClipboard
 mxCloud
 mxCodec
 mxCodecRegistry
 mxCollapseChange
 mxCompactTreeLayout
 mxCompositeLayout
 mxConnectionConstraint
 mxConnectionHandler
 mxConnector
 mxConstants
 mxConstraintHandler
 mxCoordinateAssignment
 mxCurrentRootChange
 mxCylinder
 mxDefaultKeyHandler
 mxDefaultKeyHandlerCodec
 mxDefaultPopupMenu
 mxDefaultPopupMenuCodec
 mxDefaultToolbar
 mxDefaultToolbarCodec
 mxDictionary
 mxDivResizer
 mxDoubleEllipse
 mxDragSource
 mxEdgeHandler
 mxEdgeLabelLayout
 mxEdgeSegmentHandler.js
 mxEdgeStyle
 mxEditor
 mxEditorCodec
 mxEffects
 mxElbowEdgeHandler
 mxEllipse
 mxEvent
 mxEventObject
 mxEventSource
 mxFastOrganicLayout
 mxForm
 mxGenericChangeCodec
 mxGeometry
 mxGeometryChange
 mxGraph
 mxgraph=seen
 mxGraphAbstractHierarchyCell
 mxGraphCodec
 mxGraphHandler
 mxGraphHierarchyEdge
 mxGraphHierarchyModel
 mxGraphHierarchyNode
 mxGraphLayout
 mxGraphModel
 mxGraphSelectionModel
 mxGraphView
 mxGraphViewCodec
 mxGuide
 mxHandle
 mxHexagon
 mxHierarchicalLayout
 mxHierarchicalLayoutStage
 mxImage
 mxImageBundle
 mxImageExport
 mxImageShape
 mxKeyHandler
 mxLabel
 mxLayoutManager
 mxLine
 mxLoadResources, mxClient
 mxLoadStylesheets, mxClient
 mxLog
 mxMarker
 mxMedianHybridCrossingReduction
 mxMinimumCycleRemover
 mxModelCodec
 mxMorphing
 mxMouseEvent
 mxMultiplicity
 mxObjectCodec
 mxObjectIdentity
 mxOutline
 mxPanningHandler
 mxPanningManager
 mxParallelEdgeLayout
 mxPartitionLayout
 mxPerimeter
 mxPoint
 mxPolyline
 mxPopupMenu
 mxPopupMenuHandler
 mxPrintPreview
 mxRadialTreeLayout
 mxRectangle
 mxRectangleShape
 mxResourceExtension, mxClient
 mxResources
 mxRhombus
 mxRootChange
 mxRootChangeCodec
 mxRubberband
 mxSelectionCellsHandler
 mxSelectionChange
 mxShape
 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
 maintainParentLocation
 maintainSwimlanes, mxEditor
 makeDraggable, mxUtils
 manageLabelHandle, mxEdgeHandler
 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
 maxScale, mxPanningHandler
 MedianCellSorter
 medianPos, mxCoordinateAssignment
 medianRank, mxMedianHybridCrossingReduction
 medianValue
 medianXValue, mxCoordinateAssignment
 merge, mxCompactTreeLayout
 mergeChildren, mxGraphModel
 mergeRemoveEnabled, mxEdgeHandler
 method, mxXmlRequest
 min, mxMultiplicity
 MIN_HOTSPOT_SIZE, mxConstants
 minDistanceLimit, mxFastOrganicLayout
 minDistanceLimitSquared, mxFastOrganicLayout
 minEdgeJetty
 minFitScale, mxGraph
 MINIMIZE
 minimizeImage, mxWindow
 minimumContainerSize, mxGraph
 minimumGraphSize, mxGraph
 minimumSize
 minNode, mxCoordinateAssignment
 minPageBreakDist, mxGraph
 minPath, mxCoordinateAssignment
 minRank, mxGraphAbstractHierarchyCell
 minResize, mxCellEditor
 minScale, mxPanningHandler
 mixedModeHtml, mxShape
 mod, mxUtils
 model
 modified
 MOUSE_DOWN, mxEvent
 MOUSE_MOVE, mxEvent
 MOUSE_UP, mxEvent
 mouseDown
 mouseDownCounter, mxConnectionHandler
 mouseListeners, mxGraph
 mouseMove
 mouseUp
 move, mxGuide
 MOVE
 MOVE_CELLS
 MOVE_END
 MOVE_START
 moveCell
 moveCells
 moveChildren, mxVertexHandler
 moveCircle, mxCircleLayout
 moveEnabled, mxGraphHandler
 moveHandler
 moveIconBack, mxConnectionHandler
 moveIconFront, mxConnectionHandler
 moveLabel, mxEdgeHandler
 moveNode, mxCompactTreeLayout
 moveOp
 moveParent
 movePreviewAway, mxConnectionHandler
 movePropertiesDialog, mxEditor
 moveState, mxCellStatePreview
 moveTo
 moveTree, mxCompactTreeLayout
 multigraph, mxGraph
 multiplicities, mxGraph
 mxAbstractCanvas2D
 mxActor
 mxAnimation
 mxArrow
 mxArrowConnector
 mxAutoSaveManager
 mxCell
 mxCellAttributeChange
 mxCellCodec
 mxCellEditor
 mxCellHighlight
 mxCellMarker
 mxCellOverlay
 mxCellPath
 mxCellRenderer
 mxCellState
 mxCellStatePreview
 mxCellTracker
 mxChildChange
 mxChildChangeCodec
 mxCircleLayout
 mxClient
 mxClipboard
 mxCloud
 mxCodec
 mxCodecRegistry
 mxCollapseChange
 mxCompactTreeLayout
 mxCompositeLayout
 mxConnectionConstraint
 mxConnectionHandler
 mxConnector
 mxConstants
 mxConstraintHandler
 mxCoordinateAssignment
 mxCurrentRootChange
 mxCylinder
 mxDefaultKeyHandler
 mxDefaultKeyHandlerCodec
 mxDefaultPopupMenu
 mxDefaultPopupMenuCodec
 mxDefaultToolbar
 mxDefaultToolbarCodec
 mxDictionary
 mxDivResizer
 mxDoubleEllipse
 mxDragSource
 mxEdgeHandler
 mxEdgeLabelLayout
 mxEdgeSegmentHandler.js
 mxEdgeStyle
 mxEditor
 mxEditorCodec
 mxEffects
 mxElbowEdgeHandler
 mxEllipse
 mxEvent
 mxEventObject
 mxEventSource
 mxFastOrganicLayout
 mxForm
 mxGenericChangeCodec
 mxGeometry
 mxGeometryChange
 mxGraph
 mxgraph=seen
 mxGraphAbstractHierarchyCell
 mxGraphCodec
 mxGraphHandler
 mxGraphHierarchyEdge
 mxGraphHierarchyModel
 mxGraphHierarchyNode
 mxGraphLayout
 mxGraphModel
 mxGraphSelectionModel
 mxGraphView
 mxGraphViewCodec
 mxGuide
 mxHandle
 mxHexagon
 mxHierarchicalLayout
 mxHierarchicalLayoutStage
 mxImage
 mxImageBundle
 mxImageExport
 mxImageShape
 mxKeyHandler
 mxLabel
 mxLayoutManager
 mxLine
 mxLoadResources, mxClient
 mxLoadStylesheets, mxClient
 mxLog
 mxMarker
 mxMedianHybridCrossingReduction
 mxMinimumCycleRemover
 mxModelCodec
 mxMorphing
 mxMouseEvent
 mxMultiplicity
 mxObjectCodec
 mxObjectIdentity
 mxOutline
 mxPanningHandler
 mxPanningManager
 mxParallelEdgeLayout
 mxPartitionLayout
 mxPerimeter
 mxPoint
 mxPolyline
 mxPopupMenu
 mxPopupMenuHandler
 mxPrintPreview
 mxRadialTreeLayout
 mxRectangle
 mxRectangleShape
 mxResourceExtension, mxClient
 mxResources
 mxRhombus
 mxRootChange
 mxRootChangeCodec
 mxRubberband
 mxSelectionCellsHandler
 mxSelectionChange
 mxShape
 mxStackLayout
 mxStencil
 mxStencilRegistry
 mxStyleChange
 mxStyleRegistry
 mxStylesheet
 mxStylesheetCodec
 mxSvgCanvas2D
 mxSwimlane
 mxSwimlaneLayout
 mxSwimlaneManager
 mxSwimlaneModel
 mxSwimlaneOrdering
 mxTemporaryCellStates
 mxTerminalChange
 mxTerminalChangeCodec
 mxText
 mxToolbar
 mxTooltipHandler
 mxTransient, mxCell
 mxTriangle
 mxUndoableEdit
 mxUndoManager
 mxUrlConverter
 mxUtils
 mxValueChange
 mxVertexHandler
 mxVisibleChange
 mxVmlCanvas2D
 mxWindow
 mxXmlCanvas2D
 mxXmlRequest
-
mxGraphModel.prototype.maintainEdgeParent
Specifies if edges should automatically be moved into the nearest common ancestor of their terminals.
mxCompactTreeLayout.prototype.maintainParentLocation
Specifies if the parent location should be maintained, so that the top, left corner stays the same before and after execution of the layout.
mxCompactTreeLayout.prototype.maintainParentLocation
Specifies if the parent location should be maintained, so that the top, left corner stays the same before and after execution of the layout.
mxEditor.prototype.maintainSwimlanes
Specifies if the swimlanes should be kept at the same width or height depending on the setting of horizontalFlow.
makeDraggable: function(element,
graphF,
funct,
dragElement,
dx,
dy,
autoscroll,
scalePreview,
highlightDropTargets,
getDropTarget)
Configures the given DOM element to act as a drag source for the specified graph.
mxEdgeHandler.prototype.manageLabelHandle
Specifies if the label handle should be moved if it intersects with another handle.
mxVertexHandler.prototype.manageSizers
Specifies if sizers should be hidden and spaced if the vertex is small.
Stores the (key, value) pairs in this dictionary.
mxObjectCodec.prototype.mapping
Maps from from fieldnames to XML attribute names.
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
mxPanningHandler.prototype.maxScale
Specifies the maximum scale.
A utility class used to track cells whilst sorting occurs on the median values.
function MedianCellSorter()
Constructs a new median cell sorter.
mxCoordinateAssignment.prototype.medianPos = function(i,
model)
Performs one median positioning sweep in one direction
mxMedianHybridCrossingReduction.prototype.medianRank = function(rankValue,
downwardSweep)
Attempts to minimise the median placement of connected cells on this rank and one of the adjacent ranks
MedianCellSorter.prototype.medianValue
The weighted value of the cell stored.
mxMedianHybridCrossingReduction.prototype.medianValue = function(
   connectedCells,
   rankValue
)
Calculates the median rank order positioning for the specified cell using the connected cells on the specified rank.
mxCoordinateAssignment.prototype.medianXValue = function(connectedCells,
rankValue)
Calculates the median position of the connected cell on the specified rank
mxCompactTreeLayout.prototype.merge = function(p1,
p2)
mxGraphModel.prototype.mergeChildren = function(from,
to,
cloneAllEdges)
Merges the children of the given cell into the given target cell inside this model.
mxEdgeHandler.prototype.mergeRemoveEnabled
Specifies if removing bends by dropping them on other bends is enabled.
mxXmlRequest.prototype.method
Specifies the request method.
mxMultiplicity.prototype.min
Defines the minimum number of connections for which this rule applies.
Defines the minimum size in pixels of the portion of the cell which is to be used as a connectable region.
mxFastOrganicLayout.prototype.minDistanceLimit
Minimal distance limit.
mxFastOrganicLayout.prototype.minDistanceLimitSquared
Cached version of minDistanceLimit squared.
mxCompactTreeLayout.prototype.minEdgeJetty
The minimum distance for an edge jetty from a vertex.
mxCoordinateAssignment.prototype.minEdgeJetty
The minimum distance for an edge jetty from a vertex
mxGraph.prototype.minFitScale
Specifies the minimum scale to be applied in fit.
Specifies the event name for minimize.
Fires after the window is minimized.
mxWindow.prototype.minimizeImage
URL of the image to be used for the minimize icon in the titlebar.
mxGraph.prototype.minimumContainerSize
mxRectangle that specifies the minimum size of the container if resizeContainer is true.
mxGraph.prototype.minimumGraphSize
mxRectangle that specifies the minimum size of the graph.
mxGraphHandler.prototype.minimumSize
Specifies the minimum number of pixels for the width and height of a selection border.
mxWindow.prototype.minimumSize
mxRectangle that specifies the minimum width and height of the window.
mxCoordinateAssignment.prototype.minNode = function(model)
Performs one median positioning sweep in both directions
mxGraph.prototype.minPageBreakDist
Specifies the minimum distance for page breaks to be visible.
mxCoordinateAssignment.prototype.minPath = function(graph,
model)
Straightens out chains of virtual nodes where possibleacade to those stored after this layout processing step has completed.
mxGraphAbstractHierarchyCell.prototype.minRank
The minimum rank this cell occupies.
mxCellEditor.prototype.minResize
Defines the minimum width and height to be used in resize.
mxPanningHandler.prototype.minScale
Specifies the minimum scale.
Allow optimization by replacing VML with HTML.
mod: function(n,
m)
Returns the remainder of division of n by m.
mxGraph.prototype.model
Holds the mxGraphModel that contains the cells to be displayed.
mxHierarchicalLayout.prototype.model
The internal mxGraphHierarchyModel formed of the layout.
mxSwimlaneLayout.prototype.model
The internal mxSwimlaneModel formed of the layout.
mxCellEditor.prototype.modified
Specifies if the label has been modified.
mxEditor.prototype.modified
True if the graph has been modified since it was last saved.
Specifies the event name for mouseDown.
Specifies the event name for mouseMove.
Specifies the event name for mouseUp.
mxCellTracker.prototype.mouseDown = function(sender,
me)
Ignores the event.
mxConnectionHandler.prototype.mouseDown = function(sender,
me)
Handles the event by initiating a new connection.
mxDragSource.prototype.mouseDown = function(evt)
Returns the drop target for the given graph and coordinates.
mxEdgeHandler.prototype.mouseDown = function(sender,
me)
Handles the event by checking if a special element of the handler was clicked, in which case the index parameter is non-null.
mxGraphHandler.prototype.mouseDown = function(sender,
me)
Handles the event by selecing the given cell and creating a handle for it.
mxOutline.prototype.mouseDown = function(sender,
me)
Handles the event by starting a translation or zoom.
mxPanningHandler.prototype.mouseDown = function(sender,
me)
Handles the event by initiating the panning.
mxPopupMenuHandler.prototype.mouseDown = function(sender,
me)
Handles the event by initiating the panning.
mxRubberband.prototype.mouseDown = function(sender,
me)
Handles the event by initiating a rubberband selection.
mxSelectionCellsHandler.prototype.mouseDown = function(sender,
me)
Redirects the given event to the handlers.
mxTooltipHandler.prototype.mouseDown = function(sender,
me)
Handles the event by initiating a rubberband selection.
mxVertexHandler.prototype.mouseDown = function(sender,
me)
Handles the event if a handle has been clicked.
mxConnectionHandler.prototype.mouseDownCounter
Counts the number of mouseDown events since the start.
mxGraph.prototype.mouseListeners
Holds the mouse event listeners.
mxCellTracker.prototype.mouseMove = function(sender,
me)
Handles the event by highlighting the cell under the mousepointer if it is over the hotspot region of the cell.
mxConnectionHandler.prototype.mouseMove = function(sender,
me)
Handles the event by updating the preview edge or by highlighting a possible source or target terminal.
mxDragSource.prototype.mouseMove = function(evt)
Gets the graph for the given event using getGraphForEvent, updates the currentGraph, calling dragEnter and dragExit on the new and old graph, respectively, and invokes dragOver if currentGraph is not null.
mxEdgeHandler.prototype.mouseMove = function(sender,
me)
Handles the event by updating the preview.
mxGraphHandler.prototype.mouseMove = function(sender,
me)
Handles the event by highlighting possible drop targets and updating the preview.
mxOutline.prototype.mouseMove = function(sender,
me)
Handles the event by previewing the viewrect in graph and updating the rectangle that represents the viewrect in the outline.
mxPanningHandler.prototype.mouseMove = function(sender,
me)
Handles the event by updating the panning on the graph.
mxPopupMenuHandler.prototype.mouseMove = function(sender,
me)
Handles the event by updating the panning on the graph.
mxRubberband.prototype.mouseMove = function(sender,
me)
Handles the event by updating therubberband selection.
mxSelectionCellsHandler.prototype.mouseMove = function(sender,
me)
Redirects the given event to the handlers.
mxTooltipHandler.prototype.mouseMove = function(sender,
me)
Handles the event by updating the rubberband selection.
mxVertexHandler.prototype.mouseMove = function(sender,
me)
Handles the event by updating the preview.
mxCellTracker.prototype.mouseUp = function(sender,
me)
Handles the event by reseting the highlight.
mxConnectionHandler.prototype.mouseUp = function(sender,
me)
Handles the event by inserting the new connection.
mxDragSource.prototype.mouseUp = function(evt)
Processes the mouse up event and invokes drop, dragExit and stopDrag as required.
mxEdgeHandler.prototype.mouseUp = function(sender,
me)
Handles the event to applying the previewed changes on the edge by using moveLabel, connect or changePoints.
mxGraphHandler.prototype.mouseUp = function(sender,
me)
Handles the event by applying the changes to the selection cells.
mxOutline.prototype.mouseUp = function(sender,
me)
Handles the event by applying the translation or zoom to graph.
mxPanningHandler.prototype.mouseUp = function(sender,
me)
Handles the event by setting the translation on the view or showing the popupmenu.
mxPopupMenuHandler.prototype.mouseUp = function(sender,
me)
Handles the event by setting the translation on the view or showing the popupmenu.
mxRubberband.prototype.mouseUp = function(sender,
me)
Handles the event by selecting the region of the rubberband using mxGraph.selectRegion.
mxSelectionCellsHandler.prototype.mouseUp = function(sender,
me)
Redirects the given event to the handlers.
mxTooltipHandler.prototype.mouseUp = function(sender,
me)
Handles the event by resetting the tooltip timer or hiding the existing tooltip.
mxVertexHandler.prototype.mouseUp = function(sender,
me)
Handles the event by applying the changes to the geometry.
mxGuide.prototype.move = function(bounds,
delta,
gridEnabled)
Moves the bounds by the given mxPoint and returnt the snapped point.
Specifies the event name for move.
Fires while the window is being moved.
Specifies the event name for moveCells.
Fires between begin- and endUpdate in moveCells.
Specifies the event name for moveEnd.
Fires after the window is moved.
Specifies the event name for moveStart.
Fires before the window is moved.
mxCompositeLayout.prototype.moveCell = function(cell,
x,
y)
Implements mxGraphLayout.moveCell by calling move on master or the first layout in layouts.
mxGraphLayout.prototype.moveCell = function(cell,
x,
y)
Notified when a cell is being moved in a parent that has automatic layout to update the cell state (eg.
mxPartitionLayout.prototype.moveCell = function(cell,
x,
y)
Implements mxGraphLayout.moveCell.
mxStackLayout.prototype.moveCell = function(cell,
x,
y)
Implements mxGraphLayout.moveCell.
mxGraph.prototype.moveCells = function(cells,
dx,
dy,
clone,
target,
evt)
Moves or clones the specified cells and moves the cells or clones by the given amount, adding them to the optional target cell.
mxGraphHandler.prototype.moveCells = function(cells,
dx,
dy,
clone,
target,
evt)
Moves the given cells by the specified amount.
mxVertexHandler.prototype.moveChildren = function(cell,
dx,
dy)
Moves the children of the given cell by the given vector.
mxCircleLayout.prototype.moveCircle
Boolean specifying if the circle should be moved to the top, left corner specified by x0 and y0.
mxGraphHandler.prototype.moveEnabled
Specifies if moving is enabled.
mxLayoutManager.prototype.moveHandler
Holds the function that handles the move event.
Holds the function that handles the move event.
mxConnectionHandler.prototype.moveIconBack
Specifies if icons should be moved to the back of the overlay pane.
mxConnectionHandler.prototype.moveIconFront
Specifies if icons should be displayed inside the graph container instead of the overlay pane.
mxEdgeHandler.prototype.moveLabel = function(edgeState,
x,
y)
Changes the coordinates for the label of the given edge.
mxCompactTreeLayout.prototype.moveNode = function(node,
dx,
dy)
Moves the specified node and all of its children by the given amount.
mxAbstractCanvas2D.prototype.moveOp
Contains the string used for moving in paths.
mxVmlCanvas2D.prototype.moveOp
Contains the string used for moving in paths.
mxHierarchicalLayout.prototype.moveParent
Specifies if the parent should be moved if resizeParent is enabled.
mxSwimlaneLayout.prototype.moveParent
Specifies if the parent should be moved if resizeParent is enabled.
mxConnectionHandler.prototype.movePreviewAway
Switch to enable moving the preview away from the mousepointer.
mxEditor.prototype.movePropertiesDialog
Specifies if the properties dialog should be automatically moved near the cell it is displayed for, otherwise the dialog is not moved.
mxCellStatePreview.prototype.moveState = function(state,
dx,
dy,
add,
includeEdges)
mxAbstractCanvas2D.prototype.moveTo = function(x,
y)
Moves the current path the given coordinates.
mxXmlCanvas2D.prototype.moveTo = function(x,
y)
Moves the current path the given point.
mxCompactTreeLayout.prototype.moveTree
Specifies if the tree should be moved to the top, left corner if it is inside a top-level layer.
mxGraph.prototype.multigraph
Specifies if multiple edges in the same direction between the same pair of vertices are allowed.
mxGraph.prototype.multiplicities
An array of mxMultiplicities describing the allowed connections in a graph.
Base class for all canvases.
function mxAbstractCanvas2D()
Constructs a new abstract canvas.
Extends mxShape to implement an actor shape.
function mxActor(bounds,
fill,
stroke,
strokewidth)
Constructs a new actor shape.
Implements a basic animation in JavaScript.
function mxAnimation(delay)
Constructs an animation.
Extends mxShape to implement an arrow shape.
function mxArrow(points,
fill,
stroke,
strokewidth,
arrowWidth,
spacing,
endSize)
Constructs a new arrow shape.
Extends mxShape to implement an new rounded arrow shape with support for waypoints and double arrows.
function mxArrowConnector(points,
fill,
stroke,
strokewidth,
arrowWidth,
spacing,
endSize)
Constructs a new arrow shape.
Manager for automatically saving diagrams.
function mxAutoSaveManager(graph)
Constructs a new automatic layout for the given graph.
Cells are the elements of the graph model.
function mxCell(value,
geometry,
style)
Constructs a new cell to be used in a graph model.
Action to change the attribute of a cell’s user object.
function mxCellAttributeChange(cell,
attribute,
value)
Constructs a change of a attribute of the DOM node stored as the value of the given mxCell.
Codec for mxCells.
In-place editor for the graph.
function mxCellEditor(graph)
Constructs a new in-place editor for the specified graph.
A helper class to highlight cells.
function mxCellHighlight(graph,
highlightColor,
strokeWidth,
dashed)
Constructs a cell highlight.
A helper class to process mouse locations and highlight cells.
function mxCellMarker(graph,
validColor,
invalidColor,
hotspot)
Constructs a new cell marker.
Extends mxEventSource to implement a graph overlay, represented by an icon and a tooltip.
function mxCellOverlay(image,
tooltip,
align,
verticalAlign,
offset,
cursor)
Constructs a new overlay using the given image and tooltip.
Implements a mechanism for temporary cell Ids.
Renders cells into a document object model.
function mxCellRenderer()
arrow, rectangle, ellipse, rhombus, image, line, label, cylinder, swimlane, connector, actor and cloud.
Represents the current state of a cell in a given mxGraphView.
function mxCellState(view,
cell,
style)
Constructs a new object that represents the current state of the given cell in the specified view.
Implements a live preview for moving cells.
function mxCellStatePreview(graph)
Constructs a move preview for the given graph.
Event handler that highlights cells.
function mxCellTracker(graph,
color,
funct)
Constructs an event handler that highlights cells.
Action to add or remove a child in a model.
function mxChildChange(model,
parent,
child,
index)
Constructs a change of a child in the specified model.
Codec for mxChildChanges.
Extends mxGraphLayout to implement a circluar layout for a given radius.
function mxCircleLayout(graph,
radius)
Constructs a new circular layout for the specified radius.
Bootstrapping mechanism for the mxGraph thin client.
Singleton that implements a clipboard for graph cells.
Extends mxActor to implement a cloud shape.
function mxCloud(bounds,
fill,
stroke,
strokewidth)
Constructs a new cloud shape.
XML codec for JavaScript object graphs.
function mxCodec(document)
Constructs an XML encoder/decoder for the specified owner document.
Singleton class that acts as a global registry for codecs.
Action to change a cell’s collapsed state in a model.
function mxCollapseChange(model,
cell,
collapsed)
Constructs a change of a collapsed state in the specified model.
Extends mxGraphLayout to implement a compact tree (Moen) algorithm.
function mxCompactTreeLayout(graph,
horizontal,
invert)
Constructs a new compact tree layout for the specified graph and orientation.
Constructs a new fast organic layout for the specified graph.
Constructs a new fast organic layout for the specified graph.
Allows to compose multiple layouts into a single layout.
function mxCompositeLayout(graph,
layouts,
master)
Constructs a new layout using the given layouts.
Defines an object that contains the constraints about how to connect one side of an edge to its terminal.
function mxConnectionConstraint(point,
perimeter)
Constructs a new connection constraint for the given point and boolean arguments.
Graph event handler that creates new connections.
function mxConnectionHandler(graph,
factoryMethod)
Constructs an event handler that connects vertices using the specified factory method to create the new edges.
Extends mxShape to implement a connector shape.
function mxConnector(points,
stroke,
strokewidth)
Constructs a new connector shape.
Defines various global constants.
Handles constraints on connection targets.
function mxConstraintHandler(graph)
Constructs an new constraint handler.
Sets the horizontal locations of node and edge dummy nodes on each layer.
function mxCoordinateAssignment(layout,
intraCellSpacing,
interRankCellSpacing,
orientation,
initialX,
parallelEdgeSpacing)
Creates a coordinate assignment.
Action to change the current root in a view.
function mxCurrentRootChange(view,
root)
Constructs a change of the current root in the given view.
Constructs a change of the current root in the given view.
Extends mxShape to implement an cylinder shape.
function mxCylinder(bounds,
fill,
stroke,
strokewidth)
Constructs a new cylinder shape.
Binds keycodes to actionnames in an editor.
function mxDefaultKeyHandler(editor)
Constructs a new default key handler for the mxEditor.graph in the given mxEditor.
Custom codec for configuring mxDefaultKeyHandlers.
Creates popupmenus for mouse events.
function mxDefaultPopupMenu(config)
Constructs a new popupmenu-factory based on given configuration.
Custom codec for configuring mxDefaultPopupMenus.
Toolbar for the editor.
function mxDefaultToolbar(container,
editor)
Constructs a new toolbar for the given container and editor.
Custom codec for configuring mxDefaultToolbars.
A wrapper class for an associative array with object keys.
Maintains the size of a div element in Internet Explorer.
function mxDivResizer(div,
container)
Constructs an object that maintains the size of a div element when the window is being resized.
Extends mxShape to implement a double ellipse shape.
function mxDoubleEllipse(bounds,
fill,
stroke,
strokewidth)
Constructs a new ellipse shape.
Wrapper to create a drag source from a DOM element so that the element can be dragged over a graph and dropped into the graph as a new cell.
function mxDragSource(element,
dropHandler)
Constructs a new drag source for the given element.
Graph event handler that reconnects edges and modifies control points and the edge label location.
function mxEdgeHandler(state)
Constructs an edge handler for the specified mxCellState.
Constructs an edge handler for the specified mxCellState.
Extends mxGraphLayout to implement an edge label layout.
function mxEdgeLabelLayout(graph,
radius)
Constructs a new edge label layout.
Provides various edge styles to be used as the values for mxConstants.STYLE_EDGE in a cell style.
Extends mxEventSource to implement a application wrapper for a graph that adds actions, I/O using mxCodec, auto-layout using mxLayoutManager, command history using undoManager, and standard dialogs and widgets, eg.
function mxEditor(config)
Constructs a new editor.
Codec for mxEditors.
Provides animation effects.
Graph event handler that reconnects edges and modifies control points and the edge label location.
Extends mxShape to implement an ellipse shape.
function mxEllipse(bounds,
fill,
stroke,
strokewidth)
Constructs a new ellipse shape.
Cross-browser DOM event support.
The mxEventObject is a wrapper for all properties of a single event.
function mxEventObject(name)
Constructs a new event object with the specified name.
Base class for objects that dispatch named events.
Constructs a new dictionary which allows object to be used as keys.
function mxEventSource(eventSource)
Constructs a new event source.
Extends mxGraphLayout to implement a fast organic layout algorithm.
A simple class for creating HTML forms.
function mxForm(className)
Creates a HTML table using the specified classname.
Codec for mxValueChanges, mxStyleChanges, mxGeometryChanges, mxCollapseChanges and mxVisibleChanges.
var mxGenericChangeCodec = function(obj,
variable)
Factory function that creates a mxObjectCodec for the specified change and fieldname.
Extends mxRectangle to represent the geometry of a cell.
function mxGeometry(x,
y,
width,
height)
Constructs a new object to describe the size and location of a vertex or the control points of an edge.
Action to change a cell’s geometry in a model.
function mxGeometryChange(model,
cell,
geometry)
Constructs a change of a geometry in the specified model.
Extends mxEventSource to implement a graph component for the browser.
function mxGraph(container,
model,
renderHint,
stylesheet)
Constructs a new mxGraph in the specified container.
Set when the editor is started.
An abstraction of an internal hierarchy node or edge
function mxGraphAbstractHierarchyCell()
Constructs a new hierarchical layout algorithm.
Codec for mxGraphs.
Graph event handler that handles selection.
function mxGraphHandler(graph)
Constructs an event handler that creates handles for the selection cells.
An abstraction of a hierarchical edge for the hierarchy layout
function mxGraphHierarchyEdge(edges)
Constructs a hierarchy edge
Internal model of a hierarchical graph.
function mxGraphHierarchyModel(layout,
vertices,
roots,
parent,
tightenToSource)
Creates an internal ordered graph model using the vertices passed in.
An abstraction of a hierarchical edge for the hierarchy layout
function mxGraphHierarchyNode(cell)
Constructs an internal node to represent the specified real graph cell
Base class for all layout algorithms in mxGraph.
function mxGraphLayout(graph)
Constructs a new layout using the given layouts.
Extends mxEventSource to implement a graph model.
function mxGraphModel(root)
Constructs a new graph model.
Implements the selection model for a graph.
function mxGraphSelectionModel(graph)
Constructs a new graph selection model for the given mxGraph.
Extends mxEventSource to implement a view for a graph.
function mxGraphView(graph)
Constructs a new view for the given mxGraph.
Custom encoder for mxGraphViews.
Implements the alignment of selection cells to other cells in the graph.
function mxGuide(graph,
states)
Constructs a new guide object.
Implements a single custom handle for vertices.
function mxHandle(state,
cursor,
image)
Constructs a new handle for the given state.
Implementation of the hexagon shape.
function mxHexagon()
Constructs a new hexagon shape.
A hierarchical layout algorithm.
function mxHierarchicalLayout(graph,
orientation,
deterministic)
Constructs a new hierarchical layout algorithm.
The specific layout interface for hierarchical layouts.
function mxHierarchicalLayoutStage()
Constructs a new hierarchical layout stage.
Encapsulates the URL, width and height of an image.
function mxImage(src,
width,
height)
Constructs a new image.
Maps from keys to base64 encoded images or file locations.
Creates a new image export instance to be used with an export canvas.
function mxImageExport()
Constructs a new image export.
Extends mxShape to implement an image shape.
function mxImageShape(bounds,
image,
fill,
stroke,
strokewidth)
Constructs a new image shape.
Event handler that listens to keystroke events.
function mxKeyHandler(graph,
target)
Constructs an event handler that executes functions bound to specific keystrokes.
Extends mxShape to implement an image shape with a label.
function mxLabel(bounds,
fill,
stroke,
strokewidth)
Constructs a new label shape.
function mxLayoutManager(graph)
Constructs a new automatic layout for the given graph.
Extends mxShape to implement a horizontal line shape.
function mxLine(bounds,
stroke,
strokewidth)
Constructs a new line shape.
Optional global config variable to toggle loading of the two resource files in mxGraph and mxEditor.
Optional global config variable to toggle loading of the CSS files when the library is initialized.
A singleton class that implements a simple console.
A static class that implements all markers for VML and SVG using a registry.
Sets the horizontal locations of node and edge dummy nodes on each layer.
function mxMedianHybridCrossingReduction(layout)
Creates a coordinate assignment.
An implementation of the first stage of the Sugiyama layout.
function mxMinimumCycleRemover(layout)
Creates a cycle remover for the given internal model.
Codec for mxGraphModels.
Implements animation for morphing cells.
function mxMorphing(graph,
steps,
ease,
delay)
Constructs an animation.
Base class for all mouse events in mxGraph.
function mxMouseEvent(evt,
state)
Constructs a new event object for the given arguments.
Defines invalid connections along with the error messages that they produce.
function mxMultiplicity(source,
type,
attr,
value,
min,
max,
validNeighbors,
countError,
typeError,
validNeighborsAllowed)
Instantiate class mxMultiplicity in order to describe allowed connections in a graph.
Generic codec for JavaScript objects that implements a mapping between JavaScript objects and XML nodes that maps each field or element to an attribute or child node, and vice versa.
function mxObjectCodec(template,
exclude,
idrefs,
mapping)
Constructs a new codec for the specified template object.
Identity for JavaScript objects.
Implements an outline (aka overview) for a graph.
function mxOutline(source,
container)
Constructs a new outline for the specified graph inside the given container.
Event handler that pans and creates popupmenus.
Constructs an event handler that creates a mxPopupMenu and pans the graph.
Implements a handler for panning.
Extends mxGraphLayout for arranging parallel edges.
Extends mxGraphLayout for partitioning the parent cell vertically or horizontally by filling the complete area with the child cells.
function mxPartitionLayout(graph,
horizontal,
spacing,
border)
Constructs a new stack layout layout for the specified graph, spacing, orientation and offset.
Provides various perimeter functions to be used in a style as the value of mxConstants.STYLE_PERIMETER.
Implements a 2-dimensional vector with double precision coordinates.
function mxPoint(x,
y)
Constructs a new point for the optional x and y coordinates.
Extends mxShape to implement a polyline (a line with multiple points).
function mxPolyline(points,
stroke,
strokewidth)
Constructs a new polyline shape.
Basic popup menu.
Constructs a popupmenu.
Event handler that creates popupmenus.
function mxPopupMenuHandler(graph,
factoryMethod)
Constructs an event handler that creates a mxPopupMenu.
Implements printing of a diagram across multiple pages.
function mxPrintPreview(graph,
scale,
pageFormat,
border,
x0,
y0,
borderColor,
title,
pageSelector)
Constructs a new print preview for the given parameters.
Extends mxGraphLayout to implement a radial tree algorithm.
function mxRadialTreeLayout(graph)
Constructs a new radial tree layout for the specified graph
Extends mxPoint to implement a 2-dimensional rectangle with double precision coordinates.
function mxRectangle(x,
y,
width,
height)
Constructs a new rectangle for the optional parameters.
Constructs a new rectangle for the optional parameters.
Extends mxShape to implement a rectangle shape.
function mxRectangleShape(bounds,
fill,
stroke,
strokewidth)
Constructs a new rectangle shape.
Optional global config variable to specify the extension of resource files.
Implements internationalization.
Extends mxShape to implement a rhombus (aka diamond) shape.
function mxRhombus(bounds,
fill,
stroke,
strokewidth)
Constructs a new rhombus shape.
Action to change the root in a model.
function mxRootChange(model,
root)
Constructs a change of the root in the specified model.
Codec for mxRootChanges.
Event handler that selects rectangular regions.
function mxRubberband(graph)
Constructs an event handler that selects rectangular regions in the graph using rubberband selection.
An event handler that manages cell handlers and invokes their mouse event processing functions.
Action to change the current root in a view.
Base class for all shapes.
function mxShape(stencil)
Constructs a new shape.
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,
textDirection)
Constructs a new text shape.
Creates a toolbar inside a given DOM node.
function mxToolbar(container)
Constructs a toolbar in the specified container.
Graph event handler that displays tooltips.
function mxTooltipHandler(graph,
delay)
Constructs an event handler that displays tooltips with the specified delay (in milliseconds).
mxCell.prototype.mxTransient
List of members that should not be cloned inside clone.
Implementation of the triangle shape.
function mxTriangle()
Constructs a new triangle shape.
Implements a composite undoable edit.
function mxUndoableEdit(source,
significant)
Constructs a new undoable edit for the given source.
Implements a command history.
function mxUndoManager(size)
Constructs a new undo manager with the given history size.
Converts relative and absolute URLs to absolute URLs with protocol and domain.
A singleton class that provides cross-browser helper methods.
Action to change a user object in a model.
function mxValueChange(model,
cell,
value)
Constructs a change of a user object in the specified model.
Event handler for resizing cells.
function mxVertexHandler(state)
Constructs an event handler that allows to resize vertices and groups.
Action to change a cell’s visible state in a model.
function mxVisibleChange(model,
cell,
visible)
Constructs a change of a visible state in the specified model.
Implements a canvas to be used for rendering VML.
Basic window inside a document.
function mxWindow(title,
content,
x,
y,
width,
height,
minimizable,
movable,
replaceNode,
style)
Constructs a new window with the given dimension and title to display the specified content.
Base class for all canvases.
function mxXmlCanvas2D(root)
Constructs a new abstract canvas.
XML HTTP request wrapper.
function mxXmlRequest(url,
params,
method,
async,
username,
password)
Constructs an XML HTTP request.
+
mxGraphModel.prototype.maintainEdgeParent
Specifies if edges should automatically be moved into the nearest common ancestor of their terminals.
mxCompactTreeLayout.prototype.maintainParentLocation
Specifies if the parent location should be maintained, so that the top, left corner stays the same before and after execution of the layout.
mxCompactTreeLayout.prototype.maintainParentLocation
Specifies if the parent location should be maintained, so that the top, left corner stays the same before and after execution of the layout.
mxEditor.prototype.maintainSwimlanes
Specifies if the swimlanes should be kept at the same width or height depending on the setting of horizontalFlow.
makeDraggable: function(element,
graphF,
funct,
dragElement,
dx,
dy,
autoscroll,
scalePreview,
highlightDropTargets,
getDropTarget)
Configures the given DOM element to act as a drag source for the specified graph.
mxEdgeHandler.prototype.manageLabelHandle
Specifies if the label handle should be moved if it intersects with another handle.
mxVertexHandler.prototype.manageSizers
Specifies if sizers should be hidden and spaced if the vertex is small.
Stores the (key, value) pairs in this dictionary.
mxObjectCodec.prototype.mapping
Maps from from fieldnames to XML attribute names.
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
mxPanningHandler.prototype.maxScale
Specifies the maximum scale.
A utility class used to track cells whilst sorting occurs on the median values.
function MedianCellSorter()
Constructs a new median cell sorter.
mxCoordinateAssignment.prototype.medianPos = function(i,
model)
Performs one median positioning sweep in one direction
mxMedianHybridCrossingReduction.prototype.medianRank = function(rankValue,
downwardSweep)
Attempts to minimise the median placement of connected cells on this rank and one of the adjacent ranks
MedianCellSorter.prototype.medianValue
The weighted value of the cell stored.
mxMedianHybridCrossingReduction.prototype.medianValue = function(
   connectedCells,
   rankValue
)
Calculates the median rank order positioning for the specified cell using the connected cells on the specified rank.
mxCoordinateAssignment.prototype.medianXValue = function(connectedCells,
rankValue)
Calculates the median position of the connected cell on the specified rank
mxCompactTreeLayout.prototype.merge = function(p1,
p2)
mxGraphModel.prototype.mergeChildren = function(from,
to,
cloneAllEdges)
Merges the children of the given cell into the given target cell inside this model.
mxEdgeHandler.prototype.mergeRemoveEnabled
Specifies if removing bends by dropping them on other bends is enabled.
mxXmlRequest.prototype.method
Specifies the request method.
mxMultiplicity.prototype.min
Defines the minimum number of connections for which this rule applies.
Defines the minimum size in pixels of the portion of the cell which is to be used as a connectable region.
mxFastOrganicLayout.prototype.minDistanceLimit
Minimal distance limit.
mxFastOrganicLayout.prototype.minDistanceLimitSquared
Cached version of minDistanceLimit squared.
mxCompactTreeLayout.prototype.minEdgeJetty
The minimum distance for an edge jetty from a vertex.
mxCoordinateAssignment.prototype.minEdgeJetty
The minimum distance for an edge jetty from a vertex
mxGraph.prototype.minFitScale
Specifies the minimum scale to be applied in fit.
Specifies the event name for minimize.
Fires after the window is minimized.
mxWindow.prototype.minimizeImage
URL of the image to be used for the minimize icon in the titlebar.
mxGraph.prototype.minimumContainerSize
mxRectangle that specifies the minimum size of the container if resizeContainer is true.
mxGraph.prototype.minimumGraphSize
mxRectangle that specifies the minimum size of the graph.
mxGraphHandler.prototype.minimumSize
Specifies the minimum number of pixels for the width and height of a selection border.
mxWindow.prototype.minimumSize
mxRectangle that specifies the minimum width and height of the window.
mxCoordinateAssignment.prototype.minNode = function(model)
Performs one median positioning sweep in both directions
mxGraph.prototype.minPageBreakDist
Specifies the minimum distance for page breaks to be visible.
mxCoordinateAssignment.prototype.minPath = function(graph,
model)
Straightens out chains of virtual nodes where possibleacade to those stored after this layout processing step has completed.
mxGraphAbstractHierarchyCell.prototype.minRank
The minimum rank this cell occupies.
mxCellEditor.prototype.minResize
Defines the minimum width and height to be used in resize.
mxPanningHandler.prototype.minScale
Specifies the minimum scale.
Allow optimization by replacing VML with HTML.
mod: function(n,
m)
Returns the remainder of division of n by m.
mxGraph.prototype.model
Holds the mxGraphModel that contains the cells to be displayed.
mxHierarchicalLayout.prototype.model
The internal mxGraphHierarchyModel formed of the layout.
mxSwimlaneLayout.prototype.model
The internal mxSwimlaneModel formed of the layout.
mxCellEditor.prototype.modified
Specifies if the label has been modified.
mxEditor.prototype.modified
True if the graph has been modified since it was last saved.
Specifies the event name for mouseDown.
Specifies the event name for mouseMove.
Specifies the event name for mouseUp.
mxCellTracker.prototype.mouseDown = function(sender,
me)
Ignores the event.
mxConnectionHandler.prototype.mouseDown = function(sender,
me)
Handles the event by initiating a new connection.
mxDragSource.prototype.mouseDown = function(evt)
Returns the drop target for the given graph and coordinates.
mxEdgeHandler.prototype.mouseDown = function(sender,
me)
Handles the event by checking if a special element of the handler was clicked, in which case the index parameter is non-null.
mxGraphHandler.prototype.mouseDown = function(sender,
me)
Handles the event by selecing the given cell and creating a handle for it.
mxOutline.prototype.mouseDown = function(sender,
me)
Handles the event by starting a translation or zoom.
mxPanningHandler.prototype.mouseDown = function(sender,
me)
Handles the event by initiating the panning.
mxPopupMenuHandler.prototype.mouseDown = function(sender,
me)
Handles the event by initiating the panning.
mxRubberband.prototype.mouseDown = function(sender,
me)
Handles the event by initiating a rubberband selection.
mxSelectionCellsHandler.prototype.mouseDown = function(sender,
me)
Redirects the given event to the handlers.
mxTooltipHandler.prototype.mouseDown = function(sender,
me)
Handles the event by initiating a rubberband selection.
mxVertexHandler.prototype.mouseDown = function(sender,
me)
Handles the event if a handle has been clicked.
mxConnectionHandler.prototype.mouseDownCounter
Counts the number of mouseDown events since the start.
mxGraph.prototype.mouseListeners
Holds the mouse event listeners.
mxCellTracker.prototype.mouseMove = function(sender,
me)
Handles the event by highlighting the cell under the mousepointer if it is over the hotspot region of the cell.
mxConnectionHandler.prototype.mouseMove = function(sender,
me)
Handles the event by updating the preview edge or by highlighting a possible source or target terminal.
mxDragSource.prototype.mouseMove = function(evt)
Gets the graph for the given event using getGraphForEvent, updates the currentGraph, calling dragEnter and dragExit on the new and old graph, respectively, and invokes dragOver if currentGraph is not null.
mxEdgeHandler.prototype.mouseMove = function(sender,
me)
Handles the event by updating the preview.
mxGraphHandler.prototype.mouseMove = function(sender,
me)
Handles the event by highlighting possible drop targets and updating the preview.
mxOutline.prototype.mouseMove = function(sender,
me)
Handles the event by previewing the viewrect in graph and updating the rectangle that represents the viewrect in the outline.
mxPanningHandler.prototype.mouseMove = function(sender,
me)
Handles the event by updating the panning on the graph.
mxPopupMenuHandler.prototype.mouseMove = function(sender,
me)
Handles the event by updating the panning on the graph.
mxRubberband.prototype.mouseMove = function(sender,
me)
Handles the event by updating therubberband selection.
mxSelectionCellsHandler.prototype.mouseMove = function(sender,
me)
Redirects the given event to the handlers.
mxTooltipHandler.prototype.mouseMove = function(sender,
me)
Handles the event by updating the rubberband selection.
mxVertexHandler.prototype.mouseMove = function(sender,
me)
Handles the event by updating the preview.
mxCellTracker.prototype.mouseUp = function(sender,
me)
Handles the event by reseting the highlight.
mxConnectionHandler.prototype.mouseUp = function(sender,
me)
Handles the event by inserting the new connection.
mxDragSource.prototype.mouseUp = function(evt)
Processes the mouse up event and invokes drop, dragExit and stopDrag as required.
mxEdgeHandler.prototype.mouseUp = function(sender,
me)
Handles the event to applying the previewed changes on the edge by using moveLabel, connect or changePoints.
mxGraphHandler.prototype.mouseUp = function(sender,
me)
Handles the event by applying the changes to the selection cells.
mxOutline.prototype.mouseUp = function(sender,
me)
Handles the event by applying the translation or zoom to graph.
mxPanningHandler.prototype.mouseUp = function(sender,
me)
Handles the event by setting the translation on the view or showing the popupmenu.
mxPopupMenuHandler.prototype.mouseUp = function(sender,
me)
Handles the event by setting the translation on the view or showing the popupmenu.
mxRubberband.prototype.mouseUp = function(sender,
me)
Handles the event by selecting the region of the rubberband using mxGraph.selectRegion.
mxSelectionCellsHandler.prototype.mouseUp = function(sender,
me)
Redirects the given event to the handlers.
mxTooltipHandler.prototype.mouseUp = function(sender,
me)
Handles the event by resetting the tooltip timer or hiding the existing tooltip.
mxVertexHandler.prototype.mouseUp = function(sender,
me)
Handles the event by applying the changes to the geometry.
mxGuide.prototype.move = function(bounds,
delta,
gridEnabled)
Moves the bounds by the given mxPoint and returnt the snapped point.
Specifies the event name for move.
Fires while the window is being moved.
Specifies the event name for moveCells.
Fires between begin- and endUpdate in moveCells.
Specifies the event name for moveEnd.
Fires after the window is moved.
Specifies the event name for moveStart.
Fires before the window is moved.
mxCompositeLayout.prototype.moveCell = function(cell,
x,
y)
Implements mxGraphLayout.moveCell by calling move on master or the first layout in layouts.
mxGraphLayout.prototype.moveCell = function(cell,
x,
y)
Notified when a cell is being moved in a parent that has automatic layout to update the cell state (eg.
mxPartitionLayout.prototype.moveCell = function(cell,
x,
y)
Implements mxGraphLayout.moveCell.
mxStackLayout.prototype.moveCell = function(cell,
x,
y)
Implements mxGraphLayout.moveCell.
mxGraph.prototype.moveCells = function(cells,
dx,
dy,
clone,
target,
evt)
Moves or clones the specified cells and moves the cells or clones by the given amount, adding them to the optional target cell.
mxGraphHandler.prototype.moveCells = function(cells,
dx,
dy,
clone,
target,
evt)
Moves the given cells by the specified amount.
mxVertexHandler.prototype.moveChildren = function(cell,
dx,
dy)
Moves the children of the given cell by the given vector.
mxCircleLayout.prototype.moveCircle
Boolean specifying if the circle should be moved to the top, left corner specified by x0 and y0.
mxGraphHandler.prototype.moveEnabled
Specifies if moving is enabled.
mxLayoutManager.prototype.moveHandler
Holds the function that handles the move event.
Holds the function that handles the move event.
mxConnectionHandler.prototype.moveIconBack
Specifies if icons should be moved to the back of the overlay pane.
mxConnectionHandler.prototype.moveIconFront
Specifies if icons should be displayed inside the graph container instead of the overlay pane.
mxEdgeHandler.prototype.moveLabel = function(edgeState,
x,
y)
Changes the coordinates for the label of the given edge.
mxCompactTreeLayout.prototype.moveNode = function(node,
dx,
dy)
Moves the specified node and all of its children by the given amount.
mxAbstractCanvas2D.prototype.moveOp
Contains the string used for moving in paths.
mxVmlCanvas2D.prototype.moveOp
Contains the string used for moving in paths.
mxHierarchicalLayout.prototype.moveParent
Specifies if the parent should be moved if resizeParent is enabled.
mxSwimlaneLayout.prototype.moveParent
Specifies if the parent should be moved if resizeParent is enabled.
mxConnectionHandler.prototype.movePreviewAway
Switch to enable moving the preview away from the mousepointer.
mxEditor.prototype.movePropertiesDialog
Specifies if the properties dialog should be automatically moved near the cell it is displayed for, otherwise the dialog is not moved.
mxCellStatePreview.prototype.moveState = function(state,
dx,
dy,
add,
includeEdges)
mxAbstractCanvas2D.prototype.moveTo = function(x,
y)
Moves the current path the given coordinates.
mxXmlCanvas2D.prototype.moveTo = function(x,
y)
Moves the current path the given point.
mxCompactTreeLayout.prototype.moveTree
Specifies if the tree should be moved to the top, left corner if it is inside a top-level layer.
mxGraph.prototype.multigraph
Specifies if multiple edges in the same direction between the same pair of vertices are allowed.
mxGraph.prototype.multiplicities
An array of mxMultiplicities describing the allowed connections in a graph.
Base class for all canvases.
function mxAbstractCanvas2D()
Constructs a new abstract canvas.
Extends mxShape to implement an actor shape.
function mxActor(bounds,
fill,
stroke,
strokewidth)
Constructs a new actor shape.
Implements a basic animation in JavaScript.
function mxAnimation(delay)
Constructs an animation.
Extends mxShape to implement an arrow shape.
function mxArrow(points,
fill,
stroke,
strokewidth,
arrowWidth,
spacing,
endSize)
Constructs a new arrow shape.
Extends mxShape to implement an new rounded arrow shape with support for waypoints and double arrows.
function mxArrowConnector(points,
fill,
stroke,
strokewidth,
arrowWidth,
spacing,
endSize)
Constructs a new arrow shape.
Manager for automatically saving diagrams.
function mxAutoSaveManager(graph)
Constructs a new automatic layout for the given graph.
Cells are the elements of the graph model.
function mxCell(value,
geometry,
style)
Constructs a new cell to be used in a graph model.
Action to change the attribute of a cell’s user object.
function mxCellAttributeChange(cell,
attribute,
value)
Constructs a change of a attribute of the DOM node stored as the value of the given mxCell.
Codec for mxCells.
In-place editor for the graph.
function mxCellEditor(graph)
Constructs a new in-place editor for the specified graph.
A helper class to highlight cells.
function mxCellHighlight(graph,
highlightColor,
strokeWidth,
dashed)
Constructs a cell highlight.
A helper class to process mouse locations and highlight cells.
function mxCellMarker(graph,
validColor,
invalidColor,
hotspot)
Constructs a new cell marker.
Extends mxEventSource to implement a graph overlay, represented by an icon and a tooltip.
function mxCellOverlay(image,
tooltip,
align,
verticalAlign,
offset,
cursor)
Constructs a new overlay using the given image and tooltip.
Implements a mechanism for temporary cell Ids.
Renders cells into a document object model.
function mxCellRenderer()
arrow, rectangle, ellipse, rhombus, image, line, label, cylinder, swimlane, connector, actor and cloud.
Represents the current state of a cell in a given mxGraphView.
function mxCellState(view,
cell,
style)
Constructs a new object that represents the current state of the given cell in the specified view.
Implements a live preview for moving cells.
function mxCellStatePreview(graph)
Constructs a move preview for the given graph.
Event handler that highlights cells.
function mxCellTracker(graph,
color,
funct)
Constructs an event handler that highlights cells.
Action to add or remove a child in a model.
function mxChildChange(model,
parent,
child,
index)
Constructs a change of a child in the specified model.
Codec for mxChildChanges.
Extends mxGraphLayout to implement a circluar layout for a given radius.
function mxCircleLayout(graph,
radius)
Constructs a new circular layout for the specified radius.
Bootstrapping mechanism for the mxGraph thin client.
Singleton that implements a clipboard for graph cells.
Extends mxActor to implement a cloud shape.
function mxCloud(bounds,
fill,
stroke,
strokewidth)
Constructs a new cloud shape.
XML codec for JavaScript object graphs.
function mxCodec(document)
Constructs an XML encoder/decoder for the specified owner document.
Singleton class that acts as a global registry for codecs.
Action to change a cell’s collapsed state in a model.
function mxCollapseChange(model,
cell,
collapsed)
Constructs a change of a collapsed state in the specified model.
Extends mxGraphLayout to implement a compact tree (Moen) algorithm.
function mxCompactTreeLayout(graph,
horizontal,
invert)
Constructs a new compact tree layout for the specified graph and orientation.
Constructs a new fast organic layout for the specified graph.
Constructs a new fast organic layout for the specified graph.
Allows to compose multiple layouts into a single layout.
function mxCompositeLayout(graph,
layouts,
master)
Constructs a new layout using the given layouts.
Defines an object that contains the constraints about how to connect one side of an edge to its terminal.
function mxConnectionConstraint(point,
perimeter)
Constructs a new connection constraint for the given point and boolean arguments.
Graph event handler that creates new connections.
function mxConnectionHandler(graph,
factoryMethod)
Constructs an event handler that connects vertices using the specified factory method to create the new edges.
Extends mxShape to implement a connector shape.
function mxConnector(points,
stroke,
strokewidth)
Constructs a new connector shape.
Defines various global constants.
Handles constraints on connection targets.
function mxConstraintHandler(graph)
Constructs an new constraint handler.
Sets the horizontal locations of node and edge dummy nodes on each layer.
function mxCoordinateAssignment(layout,
intraCellSpacing,
interRankCellSpacing,
orientation,
initialX,
parallelEdgeSpacing)
Creates a coordinate assignment.
Action to change the current root in a view.
function mxCurrentRootChange(view,
root)
Constructs a change of the current root in the given view.
Constructs a change of the current root in the given view.
Extends mxShape to implement an cylinder shape.
function mxCylinder(bounds,
fill,
stroke,
strokewidth)
Constructs a new cylinder shape.
Binds keycodes to actionnames in an editor.
function mxDefaultKeyHandler(editor)
Constructs a new default key handler for the mxEditor.graph in the given mxEditor.
Custom codec for configuring mxDefaultKeyHandlers.
Creates popupmenus for mouse events.
function mxDefaultPopupMenu(config)
Constructs a new popupmenu-factory based on given configuration.
Custom codec for configuring mxDefaultPopupMenus.
Toolbar for the editor.
function mxDefaultToolbar(container,
editor)
Constructs a new toolbar for the given container and editor.
Custom codec for configuring mxDefaultToolbars.
A wrapper class for an associative array with object keys.
Maintains the size of a div element in Internet Explorer.
function mxDivResizer(div,
container)
Constructs an object that maintains the size of a div element when the window is being resized.
Extends mxShape to implement a double ellipse shape.
function mxDoubleEllipse(bounds,
fill,
stroke,
strokewidth)
Constructs a new ellipse shape.
Wrapper to create a drag source from a DOM element so that the element can be dragged over a graph and dropped into the graph as a new cell.
function mxDragSource(element,
dropHandler)
Constructs a new drag source for the given element.
Graph event handler that reconnects edges and modifies control points and the edge label location.
function mxEdgeHandler(state)
Constructs an edge handler for the specified mxCellState.
Constructs an edge handler for the specified mxCellState.
Extends mxGraphLayout to implement an edge label layout.
function mxEdgeLabelLayout(graph,
radius)
Constructs a new edge label layout.
Provides various edge styles to be used as the values for mxConstants.STYLE_EDGE in a cell style.
Extends mxEventSource to implement a application wrapper for a graph that adds actions, I/O using mxCodec, auto-layout using mxLayoutManager, command history using undoManager, and standard dialogs and widgets, eg.
function mxEditor(config)
Constructs a new editor.
Codec for mxEditors.
Provides animation effects.
Graph event handler that reconnects edges and modifies control points and the edge label location.
Extends mxShape to implement an ellipse shape.
function mxEllipse(bounds,
fill,
stroke,
strokewidth)
Constructs a new ellipse shape.
Cross-browser DOM event support.
The mxEventObject is a wrapper for all properties of a single event.
function mxEventObject(name)
Constructs a new event object with the specified name.
Base class for objects that dispatch named events.
Constructs a new dictionary which allows object to be used as keys.
function mxEventSource(eventSource)
Constructs a new event source.
Extends mxGraphLayout to implement a fast organic layout algorithm.
A simple class for creating HTML forms.
function mxForm(className)
Creates a HTML table using the specified classname.
Codec for mxValueChanges, mxStyleChanges, mxGeometryChanges, mxCollapseChanges and mxVisibleChanges.
var mxGenericChangeCodec = function(obj,
variable)
Factory function that creates a mxObjectCodec for the specified change and fieldname.
Extends mxRectangle to represent the geometry of a cell.
function mxGeometry(x,
y,
width,
height)
Constructs a new object to describe the size and location of a vertex or the control points of an edge.
Action to change a cell’s geometry in a model.
function mxGeometryChange(model,
cell,
geometry)
Constructs a change of a geometry in the specified model.
Extends mxEventSource to implement a graph component for the browser.
function mxGraph(container,
model,
renderHint,
stylesheet)
Constructs a new mxGraph in the specified container.
Set when the editor is started.
An abstraction of an internal hierarchy node or edge
function mxGraphAbstractHierarchyCell()
Constructs a new hierarchical layout algorithm.
Codec for mxGraphs.
Graph event handler that handles selection.
function mxGraphHandler(graph)
Constructs an event handler that creates handles for the selection cells.
An abstraction of a hierarchical edge for the hierarchy layout
function mxGraphHierarchyEdge(edges)
Constructs a hierarchy edge
Internal model of a hierarchical graph.
function mxGraphHierarchyModel(layout,
vertices,
roots,
parent,
tightenToSource)
Creates an internal ordered graph model using the vertices passed in.
An abstraction of a hierarchical edge for the hierarchy layout
function mxGraphHierarchyNode(cell)
Constructs an internal node to represent the specified real graph cell
Base class for all layout algorithms in mxGraph.
function mxGraphLayout(graph)
Constructs a new layout using the given layouts.
Extends mxEventSource to implement a graph model.
function mxGraphModel(root)
Constructs a new graph model.
Implements the selection model for a graph.
function mxGraphSelectionModel(graph)
Constructs a new graph selection model for the given mxGraph.
Extends mxEventSource to implement a view for a graph.
function mxGraphView(graph)
Constructs a new view for the given mxGraph.
Custom encoder for mxGraphViews.
Implements the alignment of selection cells to other cells in the graph.
function mxGuide(graph,
states)
Constructs a new guide object.
Implements a single custom handle for vertices.
function mxHandle(state,
cursor,
image)
Constructs a new handle for the given state.
Implementation of the hexagon shape.
function mxHexagon()
Constructs a new hexagon shape.
A hierarchical layout algorithm.
function mxHierarchicalLayout(graph,
orientation,
deterministic)
Constructs a new hierarchical layout algorithm.
The specific layout interface for hierarchical layouts.
function mxHierarchicalLayoutStage()
Constructs a new hierarchical layout stage.
Encapsulates the URL, width and height of an image.
function mxImage(src,
width,
height)
Constructs a new image.
Maps from keys to base64 encoded images or file locations.
Creates a new image export instance to be used with an export canvas.
function mxImageExport()
Constructs a new image export.
Extends mxShape to implement an image shape.
function mxImageShape(bounds,
image,
fill,
stroke,
strokewidth)
Constructs a new image shape.
Event handler that listens to keystroke events.
function mxKeyHandler(graph,
target)
Constructs an event handler that executes functions bound to specific keystrokes.
Extends mxShape to implement an image shape with a label.
function mxLabel(bounds,
fill,
stroke,
strokewidth)
Constructs a new label shape.
function mxLayoutManager(graph)
Constructs a new automatic layout for the given graph.
Extends mxShape to implement a horizontal line shape.
function mxLine(bounds,
stroke,
strokewidth)
Constructs a new line shape.
Optional global config variable to toggle loading of the two resource files in mxGraph and mxEditor.
Optional global config variable to toggle loading of the CSS files when the library is initialized.
A singleton class that implements a simple console.
A static class that implements all markers for VML and SVG using a registry.
Sets the horizontal locations of node and edge dummy nodes on each layer.
function mxMedianHybridCrossingReduction(layout)
Creates a coordinate assignment.
An implementation of the first stage of the Sugiyama layout.
function mxMinimumCycleRemover(layout)
Creates a cycle remover for the given internal model.
Codec for mxGraphModels.
Implements animation for morphing cells.
function mxMorphing(graph,
steps,
ease,
delay)
Constructs an animation.
Base class for all mouse events in mxGraph.
function mxMouseEvent(evt,
state)
Constructs a new event object for the given arguments.
Defines invalid connections along with the error messages that they produce.
function mxMultiplicity(source,
type,
attr,
value,
min,
max,
validNeighbors,
countError,
typeError,
validNeighborsAllowed)
Instantiate class mxMultiplicity in order to describe allowed connections in a graph.
Generic codec for JavaScript objects that implements a mapping between JavaScript objects and XML nodes that maps each field or element to an attribute or child node, and vice versa.
function mxObjectCodec(template,
exclude,
idrefs,
mapping)
Constructs a new codec for the specified template object.
Identity for JavaScript objects.
Implements an outline (aka overview) for a graph.
function mxOutline(source,
container)
Constructs a new outline for the specified graph inside the given container.
Event handler that pans and creates popupmenus.
Constructs an event handler that creates a mxPopupMenu and pans the graph.
Implements a handler for panning.
Extends mxGraphLayout for arranging parallel edges.
Extends mxGraphLayout for partitioning the parent cell vertically or horizontally by filling the complete area with the child cells.
function mxPartitionLayout(graph,
horizontal,
spacing,
border)
Constructs a new stack layout layout for the specified graph, spacing, orientation and offset.
Provides various perimeter functions to be used in a style as the value of mxConstants.STYLE_PERIMETER.
Implements a 2-dimensional vector with double precision coordinates.
function mxPoint(x,
y)
Constructs a new point for the optional x and y coordinates.
Extends mxShape to implement a polyline (a line with multiple points).
function mxPolyline(points,
stroke,
strokewidth)
Constructs a new polyline shape.
Basic popup menu.
Constructs a popupmenu.
Event handler that creates popupmenus.
function mxPopupMenuHandler(graph,
factoryMethod)
Constructs an event handler that creates a mxPopupMenu.
Implements printing of a diagram across multiple pages.
function mxPrintPreview(graph,
scale,
pageFormat,
border,
x0,
y0,
borderColor,
title,
pageSelector)
Constructs a new print preview for the given parameters.
Extends mxGraphLayout to implement a radial tree algorithm.
function mxRadialTreeLayout(graph)
Constructs a new radial tree layout for the specified graph
Extends mxPoint to implement a 2-dimensional rectangle with double precision coordinates.
function mxRectangle(x,
y,
width,
height)
Constructs a new rectangle for the optional parameters.
Constructs a new rectangle for the optional parameters.
Extends mxShape to implement a rectangle shape.
function mxRectangleShape(bounds,
fill,
stroke,
strokewidth)
Constructs a new rectangle shape.
Optional global config variable to specify the extension of resource files.
Implements internationalization.
Extends mxShape to implement a rhombus (aka diamond) shape.
function mxRhombus(bounds,
fill,
stroke,
strokewidth)
Constructs a new rhombus shape.
Action to change the root in a model.
function mxRootChange(model,
root)
Constructs a change of the root in the specified model.
Codec for mxRootChanges.
Event handler that selects rectangular regions.
function mxRubberband(graph)
Constructs an event handler that selects rectangular regions in the graph using rubberband selection.
An event handler that manages cell handlers and invokes their mouse event processing functions.
Action to change the current root in a view.
Base class for all shapes.
function mxShape(stencil)
Constructs a new shape.
Extends mxGraphLayout to create a horizontal or vertical stack of the child vertices.
function mxStackLayout(graph,
horizontal,
spacing,
x0,
y0,
border)
Constructs a new stack layout layout for the specified graph, spacing, orientation and offset.
Implements a generic shape which is based on a XML node as a description.
function mxStencil(desc)
Constructs a new generic shape by setting desc to the given XML node and invoking parseDescription and parseConstraints.
A singleton class that provides a registry for stencils and the methods for painting those stencils onto a canvas or into a DOM.
Action to change a cell’s style in a model.
function mxStyleChange(model,
cell,
style)
Constructs a change of a style in the specified model.
Singleton class that acts as a global converter from string to object values in a style.
Defines the appearance of the cells in a graph.
function mxStylesheet()
Constructs a new stylesheet and assigns default styles.
Codec for mxStylesheets.
Extends mxAbstractCanvas2D to implement a canvas for SVG.
function mxSvgCanvas2D(root,
styleEnabled)
Constructs a new SVG canvas.
Extends mxShape to implement a swimlane shape.
function mxSwimlane(bounds,
fill,
stroke,
strokewidth)
Constructs a new swimlane shape.
A hierarchical layout algorithm.
function mxSwimlaneLayout(graph,
orientation,
deterministic)
Constructs a new hierarchical layout algorithm.
Manager for swimlanes and nested swimlanes that sets the size of newly added swimlanes to that of their siblings, and propagates changes to the size of a swimlane to its siblings, if siblings is true, and its ancestors, if bubbling is true.
function mxSwimlaneManager(graph,
horizontal,
addEnabled,
resizeEnabled)
Constructs a new swimlane manager for the given graph.
Internal model of a hierarchical graph.
function mxSwimlaneModel(layout,
vertices,
roots,
parent,
tightenToSource)
Creates an internal ordered graph model using the vertices passed in.
An implementation of the first stage of the Sugiyama layout.
function mxSwimlaneOrdering(layout)
Creates a cycle remover for the given internal model.
Extends mxPoint to implement a 2-dimensional rectangle with double precision coordinates.
Action to change a terminal in a model.
function mxTerminalChange(model,
cell,
terminal,
source)
Constructs a change of a terminal in the specified model.
Codec for mxTerminalChanges.
Extends mxShape to implement a text shape.
function mxText(value,
bounds,
align,
valign,
color,
family,
size,
fontStyle,
spacing,
spacingTop,
spacingRight,
spacingBottom,
spacingLeft,
horizontal,
background,
border,
wrap,
clipped,
overflow,
labelPadding,
textDirection)
Constructs a new text shape.
Creates a toolbar inside a given DOM node.
function mxToolbar(container)
Constructs a toolbar in the specified container.
Graph event handler that displays tooltips.
function mxTooltipHandler(graph,
delay)
Constructs an event handler that displays tooltips with the specified delay (in milliseconds).
mxCell.prototype.mxTransient
List of members that should not be cloned inside clone.
Implementation of the triangle shape.
function mxTriangle()
Constructs a new triangle shape.
Implements a composite undoable edit.
function mxUndoableEdit(source,
significant)
Constructs a new undoable edit for the given source.
Implements a command history.
function mxUndoManager(size)
Constructs a new undo manager with the given history size.
Converts relative and absolute URLs to absolute URLs with protocol and domain.
A singleton class that provides cross-browser helper methods.
Action to change a user object in a model.
function mxValueChange(model,
cell,
value)
Constructs a change of a user object in the specified model.
Event handler for resizing cells.
function mxVertexHandler(state)
Constructs an event handler that allows to resize vertices and groups.
Action to change a cell’s visible state in a model.
function mxVisibleChange(model,
cell,
visible)
Constructs a change of a visible state in the specified model.
Implements a canvas to be used for rendering VML.
Basic window inside a document.
function mxWindow(title,
content,
x,
y,
width,
height,
minimizable,
movable,
replaceNode,
style)
Constructs a new window with the given dimension and title to display the specified content.
Base class for all canvases.
function mxXmlCanvas2D(root)
Constructs a new abstract canvas.
XML HTTP request wrapper.
function mxXmlRequest(url,
params,
method,
async,
username,
password)
Constructs an XML HTTP request.
@@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/General12.html b/docs/js-api/index/General12.html index d4df1688b..98aab59dd 100644 --- a/docs/js-api/index/General12.html +++ b/docs/js-api/index/General12.html @@ -11,13 +11,13 @@ if (browserType) {document.write("
");if (browserV -
Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
N
 name, mxEventObject
 nativeDoubleClickEnabled, mxGraph
 neighbours, mxFastOrganicLayout
 nestedBestRanks, mxMedianHybridCrossingReduction
 nextId, mxGraphModel
 nextLayerConnectedCache, mxCoordinateAssignment
 nextLayerConnectedCells, mxGraphAbstractHierarchyCell
 NO_FO, mxClient
 node
 nodeDistance
 NODETYPE_ATTRIBUTE, mxConstants
 NODETYPE_CDATA, mxConstants
 NODETYPE_COMMENT, mxConstants
 NODETYPE_DOCUMENT, mxConstants
 NODETYPE_DOCUMENT_FRAGMENT, mxConstants
 NODETYPE_DOCUMENTTYPE, mxConstants
 NODETYPE_ELEMENT, mxConstants
 NODETYPE_ENTITY, mxConstants
 NODETYPE_ENTITY_REFERENCE, mxConstants
 NODETYPE_NOTATION, mxConstants
 NODETYPE_PROCESSING_INSTRUCTION, mxConstants
 NODETYPE_TEXT, mxConstants
 NONE, mxConstants
 noReset, mxToolbar
 NORMALIZE
 normalizeImage, mxWindow
 normalKeys, mxKeyHandler
 notify, mxUndoableEdit
 NOTIFY
 NS_SVG, mxConstants
 NS_XHTML, mxConstants
 NS_XLINK, mxConstants
 nudge, WeightedCellSorter
O
 objects
 OFFICE_PREFIX, mxClient
 offset
 oldBounds, mxTemporaryCellStates
 oldScale, mxTemporaryCellStates
 oldStates, mxTemporaryCellStates
 onEncode, mxRootChangeCodec
 onInit
 open
 OPEN
 optimizeVmlReflows, mxGraphView
 Order, mxGraph
 ORDER_CELLS
 orderCells, mxGraph
 orientation
 origin, mxCellState
 OrthConnector, mxEdgeStyle
 outline
 OUTLINE_COLOR, mxConstants
 OUTLINE_HANDLE_FILLCOLOR, mxConstants
 OUTLINE_HANDLE_STROKECOLOR, mxConstants
 OUTLINE_HIGHLIGHT_COLOR, mxConstants
 OUTLINE_STROKEWIDTH, mxConstants
 outlineConnect
 outlineResource, mxEditor
 Overlays, mxGraph
+
Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
N
 name, mxEventObject
 nativeDoubleClickEnabled, mxGraph
 neighbours, mxFastOrganicLayout
 nestedBestRanks, mxMedianHybridCrossingReduction
 nextId, mxGraphModel
 nextLayerConnectedCache, mxCoordinateAssignment
 nextLayerConnectedCells, mxGraphAbstractHierarchyCell
 NO_FO, mxClient
 node
 nodeDistance
 NODETYPE_ATTRIBUTE, mxConstants
 NODETYPE_CDATA, mxConstants
 NODETYPE_COMMENT, mxConstants
 NODETYPE_DOCUMENT, mxConstants
 NODETYPE_DOCUMENT_FRAGMENT, mxConstants
 NODETYPE_DOCUMENTTYPE, mxConstants
 NODETYPE_ELEMENT, mxConstants
 NODETYPE_ENTITY, mxConstants
 NODETYPE_ENTITY_REFERENCE, mxConstants
 NODETYPE_NOTATION, mxConstants
 NODETYPE_PROCESSING_INSTRUCTION, mxConstants
 NODETYPE_TEXT, mxConstants
 NONE, mxConstants
 noReset, mxToolbar
 NORMALIZE
 normalizeImage, mxWindow
 normalKeys, mxKeyHandler
 notify, mxUndoableEdit
 NOTIFY
 NS_SVG, mxConstants
 NS_XHTML, mxConstants
 NS_XLINK, mxConstants
 nudge, WeightedCellSorter
O
 objects
 OFFICE_PREFIX, mxClient
 offset
 oldBounds, mxTemporaryCellStates
 oldScale, mxTemporaryCellStates
 oldStates, mxTemporaryCellStates
 onEncode, mxRootChangeCodec
 onInit
 open
 OPEN
 optimizeVmlReflows, mxGraphView
 Order, mxGraph
 ORDER_CELLS
 orderCells, mxGraph
 orientation
 origin, mxCellState
 OrthConnector, mxEdgeStyle
 outline
 OUTLINE_COLOR, mxConstants
 OUTLINE_HANDLE_FILLCOLOR, mxConstants
 OUTLINE_HANDLE_STROKECOLOR, mxConstants
 OUTLINE_HIGHLIGHT_COLOR, mxConstants
 OUTLINE_STROKEWIDTH, mxConstants
 outlineConnect
 outlineResource, mxEditor
 Overlays, mxGraph
-
mxEventObject.prototype.name
Holds the name.
Specifies if native double click events should be 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.
mxCompactTreeLayout.prototype.node
The internal node representation of the root cell.
mxShape.prototype.node
Holds the outermost DOM node that represents this shape.
mxCompactTreeLayout.prototype.nodeDistance
Holds the nodeDistance.
mxRadialTreeLayout.prototype.nodeDistance
Holds the nodeDistance.
DOM node of type ATTRIBUTE.
DOM node of type CDATA.
DOM node of type COMMENT.
DOM node of type DOCUMENT.
DOM node of type DOCUMENT_FRAGMENT.
DOM node of type DOCUMENTTYPE.
DOM node of type ELEMENT.
DOM node of type ENTITY.
DOM node of type ENTITY_REFERENCE.
DOM node of type NOTATION.
DOM node of type PROCESSING_INSTRUCTION.
DOM node of type TEXT.
Defines the value for none.
mxToolbar.prototype.noReset
Specifies if resetMode requires a forced flag of true for resetting the current mode in the toolbar.
Specifies the event name for normalize.
Fires after the window is normalized, that is, it returned from maximized or minimized state.
mxWindow.prototype.normalizeImage
URL of the image to be used for the normalize icon in the titlebar.
mxKeyHandler.prototype.normalKeys
Maps from keycodes to functions for non-pressed control keys.
mxUndoableEdit.prototype.notify = function()
Hook to notify any listeners of the changes after an undo or redo has been carried out.
Specifies the event name for notify.
Same as mxEvent.CHANGE, this event can be used for classes that need to implement a sync mechanism between this model and, say, a remote model.
Defines the SVG namespace.
Defines the XHTML namespace.
Defines the XLink namespace.
WeightedCellSorter.prototype.nudge
Whether or not to flip equal weight values.
+
mxEventObject.prototype.name
Holds the name.
Specifies if native double click events should be 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.
mxCompactTreeLayout.prototype.node
The internal node representation of the root cell.
mxShape.prototype.node
Holds the outermost DOM node that represents this shape.
mxCompactTreeLayout.prototype.nodeDistance
Holds the nodeDistance.
mxRadialTreeLayout.prototype.nodeDistance
Holds the nodeDistance.
DOM node of type ATTRIBUTE.
DOM node of type CDATA.
DOM node of type COMMENT.
DOM node of type DOCUMENT.
DOM node of type DOCUMENT_FRAGMENT.
DOM node of type DOCUMENTTYPE.
DOM node of type ELEMENT.
DOM node of type ENTITY.
DOM node of type ENTITY_REFERENCE.
DOM node of type NOTATION.
DOM node of type PROCESSING_INSTRUCTION.
DOM node of type TEXT.
Defines the value for none.
mxToolbar.prototype.noReset
Specifies if resetMode requires a forced flag of true for resetting the current mode in the toolbar.
Specifies the event name for normalize.
Fires after the window is normalized, that is, it returned from maximized or minimized state.
mxWindow.prototype.normalizeImage
URL of the image to be used for the normalize icon in the titlebar.
mxKeyHandler.prototype.normalKeys
Maps from keycodes to functions for non-pressed control keys.
mxUndoableEdit.prototype.notify = function()
Hook to notify any listeners of the changes after an undo or redo has been carried out.
Specifies the event name for notify.
Same as mxEvent.CHANGE, this event can be used for classes that need to implement a sync mechanism between this model and, say, a remote model.
Defines the SVG namespace.
Defines the XHTML namespace.
Defines the XLink namespace.
WeightedCellSorter.prototype.nudge
Whether or not to flip equal weight values.
-
mxCodec.prototype.objects
Maps from IDs to objects.
Contains all objects where any listener was added using addListener.
Prefix for VML office namespace in node names.
mxCellOverlay.prototype.offset
Holds the offset as an mxPoint.
mxCompactTreeLayout.prototype.offset = function(p1,
p2,
a1,
a2,
b1,
b2)
mxGeometry.prototype.offset
For edges, this holds the offset (in pixels) from the position defined by x and y on the edge.
mxTemporaryCellStates.prototype.oldBounds
Holds the height of the rectangle.
mxTemporaryCellStates.prototype.oldScale
Holds the height of the rectangle.
mxTemporaryCellStates.prototype.oldStates
Holds the height of the rectangle.
Encodes the child recursively.
Called from within the constructor.
Called from within the constructor.
mxEditor.prototype.open = function (filename)
Opens the specified file synchronously and parses it using readGraphModel.
mxPrintPreview.prototype.open = function(css)
Shows the print preview window.
Fires after a file was opened in open.
Specifies the event name for open.
mxGraphView.prototype.optimizeVmlReflows
Specifies if the canvas should be hidden while rendering in IE8 standards mode and quirks mode.
Specifies the event name for orderCells.
Fires between begin- and endUpdate in orderCells.
mxGraph.prototype.orderCells = function(back,
cells)
Moves the given cells to the front or back.
mxCoordinateAssignment.prototype.orientation
The position of the root ( start ) node(s) relative to the rest of the laid out graph.
mxHierarchicalLayout.prototype.orientation
The position of the root node(s) relative to the laid out graph in.
mxSwimlaneLayout.prototype.orientation
The position of the root node(s) relative to the laid out graph in.
mxCellState.prototype.origin
mxPoint that holds the origin for all child cells.
OrthConnector: function(state,
source,
target,
points,
result)
Implements a local orthogonal router between the given cells.
mxEditor.prototype.outline
Reference to the mxWindow that contains the outline.
Reference to the mxGraph that renders the outline.
mxShape.prototype.outline
Specifies if the shape should be drawn as an outline.
Defines the color to be used for the outline rectangle border.
Defines the color to be used for the outline sizer fill color.
Defines the color to be used for the outline sizer stroke color.
Specifies the default highlight color for shape outlines.
Defines the strokewidth to be used for the outline rectangle stroke width.
mxConnectionHandler.prototype.outlineConnect
Specifies if connections to the outline of a highlighted target should be enabled.
mxEdgeHandler.prototype.outlineConnect
Specifies if connections to the outline of a highlighted target should be enabled.
mxEditor.prototype.outlineResource
Specifies the resource key for the outline window title.
+
mxCodec.prototype.objects
Maps from IDs to objects.
Contains all objects where any listener was added using addListener.
Prefix for VML office namespace in node names.
mxCellOverlay.prototype.offset
Holds the offset as an mxPoint.
mxCompactTreeLayout.prototype.offset = function(p1,
p2,
a1,
a2,
b1,
b2)
mxGeometry.prototype.offset
For edges, this holds the offset (in pixels) from the position defined by x and y on the edge.
mxTemporaryCellStates.prototype.oldBounds
Holds the height of the rectangle.
mxTemporaryCellStates.prototype.oldScale
Holds the height of the rectangle.
mxTemporaryCellStates.prototype.oldStates
Holds the height of the rectangle.
Encodes the child recursively.
Called from within the constructor.
Called from within the constructor.
mxEditor.prototype.open = function (filename)
Opens the specified file synchronously and parses it using readGraphModel.
mxPrintPreview.prototype.open = function(css)
Shows the print preview window.
Fires after a file was opened in open.
Specifies the event name for open.
mxGraphView.prototype.optimizeVmlReflows
Specifies if the canvas should be hidden while rendering in IE8 standards mode and quirks mode.
Specifies the event name for orderCells.
Fires between begin- and endUpdate in orderCells.
mxGraph.prototype.orderCells = function(back,
cells)
Moves the given cells to the front or back.
mxCoordinateAssignment.prototype.orientation
The position of the root ( start ) node(s) relative to the rest of the laid out graph.
mxHierarchicalLayout.prototype.orientation
The position of the root node(s) relative to the laid out graph in.
mxSwimlaneLayout.prototype.orientation
The position of the root node(s) relative to the laid out graph in.
mxCellState.prototype.origin
mxPoint that holds the origin for all child cells.
OrthConnector: function(state,
source,
target,
points,
result)
Implements a local orthogonal router between the given cells.
mxEditor.prototype.outline
Reference to the mxWindow that contains the outline.
Reference to the mxGraph that renders the outline.
mxShape.prototype.outline
Specifies if the shape should be drawn as an outline.
Defines the color to be used for the outline rectangle border.
Defines the color to be used for the outline sizer fill color.
Defines the color to be used for the outline sizer stroke color.
Specifies the default highlight color for shape outlines.
Defines the strokewidth to be used for the outline rectangle stroke width.
mxConnectionHandler.prototype.outlineConnect
Specifies if connections to the outline of a highlighted target should be enabled.
mxEdgeHandler.prototype.outlineConnect
Specifies if connections to the outline of a highlighted target should be enabled.
mxEditor.prototype.outlineResource
Specifies the resource key for the outline window title.
@@ -25,7 +25,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/General13.html b/docs/js-api/index/General13.html index 8665911a3..4ba466776 100644 --- a/docs/js-api/index/General13.html +++ b/docs/js-api/index/General13.html @@ -11,9 +11,9 @@ if (browserType) {document.write("
");if (browserV -
Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
P
 PAGE_FORMAT_A4_PORTRAIT, mxConstants
 PAGE_FORMAT_LETTER_PORTRAIT, mxConstants
 pageBreakColor, mxGraph
 pageBreakDashed, mxGraph
 pageBreaksVisible, mxGraph
 pageCount, mxPrintPreview
 pageFormat
 pageScale, mxGraph
 pageSelector, mxPrintPreview
 pageVisible, mxGraph
 paint
 paintBackground
 paintEdgeShape
 paintForeground
 paintGlassEffect, mxShape
 paintImage, mxLabel
 paintIndicator, mxLabel
 paintLine, mxPolyline
 paintRoundedSwimlane, mxSwimlane
 paintSwimlane, mxSwimlane
 paintVertexShape
 PAN
 PAN_END
 PAN_START
 panDx, mxGraph
 panDy, mxGraph
 panGraph
 panningEnabled, mxPanningHandler
 para, mxUtils
 parallelEdgeSpacing
 params, mxXmlRequest
 parent
 parentBorder
 parentForCellChanged, mxGraphModel
 parentHighlightEnabled
 parentsChanged, mxCompactTreeLayout
 parse, mxResources
 parseConstraint, mxStencil
 parseConstraints, mxStencil
 parseDescription, mxStencil
 parseXml, mxUtils
 password, mxXmlRequest
 paste, mxClipboard
 path
 PATH_SEPARATOR, mxCellPath
 perimeter, mxConnectionConstraint
 PERIMETER_ELLIPSE, mxConstants
 PERIMETER_HEXAGON, mxConstants
 PERIMETER_RECTANGLE, mxConstants
 PERIMETER_RHOMBUS, mxConstants
 PERIMETER_TRIANGLE, mxConstants
 pinchEnabled, mxPanningHandler
 placeLabels, mxEdgeLabelLayout
 placementStage
 plainText, mxVmlCanvas2D
 point, mxConnectionConstraint
 pointerEvents
 pointerEventsValue, mxSvgCanvas2D
 pointImage, mxConstraintHandler
 points
 popup
 popupHandler, mxEditor
 portsEnabled, mxGraph
 positionChanged, mxHandle
 post, mxUtils
 POST
 postConfigureShape, mxCellRenderer
 postDiagram, mxEditor
 postfix, mxGraphModel
 postParameterName, mxEditor
 postProcessCellStyle, mxGraph
 preferHtml, mxEdgeHandler
 preferPageSize, mxGraph
 prefHozEdgeSep
 prefix, mxGraphModel
 prefVertEdgeOff
 preserveImageAspect, mxImageShape
 previewColor, mxGraphHandler
 previewElement, mxDragSource
 previewEnabled, mxPanningHandler
 previousLayerConnectedCache, mxCoordinateAssignment
 previousLayerConnectedCells, mxGraphAbstractHierarchyCell
 print, mxPrintPreview
 printBackgroundImage, mxPrintPreview
 printControls, mxPrintPreview
 printOverlays, mxPrintPreview
 printScreen, mxUtils
 process, mxCellMarker
 processChange, mxGraph
 processEvent, mxHandle
 processInclude, mxObjectCodec
 processReversedEdge, mxCoordinateAssignment
 prompt, mxUtils
 properties, mxEventObject
 propertiesHeight, mxEditor
 propertiesResource, mxEditor
 propertiesWidth, mxEditor
 ptLineDist, mxUtils
 ptSegDistSq, mxUtils
 put, mxDictionary
 putCellStyle, mxStylesheet
 putDefaultEdgeStyle, mxStylesheet
 putDefaultVertexStyle, mxStylesheet
 putImage, mxImageBundle
 putObject, mxCodec
 putValue, mxStyleRegistry
+
Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
P
 PAGE_FORMAT_A4_PORTRAIT, mxConstants
 PAGE_FORMAT_LETTER_PORTRAIT, mxConstants
 pageBreakColor, mxGraph
 pageBreakDashed, mxGraph
 pageBreaksVisible, mxGraph
 pageCount, mxPrintPreview
 pageFormat
 pageScale, mxGraph
 pageSelector, mxPrintPreview
 pageVisible, mxGraph
 paint
 paintBackground
 paintEdgeShape
 paintForeground
 paintGlassEffect, mxShape
 paintImage, mxLabel
 paintIndicator, mxLabel
 paintLine, mxPolyline
 paintRoundedSwimlane, mxSwimlane
 paintSwimlane, mxSwimlane
 paintVertexShape
 PAN
 PAN_END
 PAN_START
 panDx, mxGraph
 panDy, mxGraph
 panGraph
 panningEnabled, mxPanningHandler
 para, mxUtils
 parallelEdgeSpacing
 params, mxXmlRequest
 parent
 parentBorder
 parentForCellChanged, mxGraphModel
 parentHighlightEnabled
 parentsChanged, mxCompactTreeLayout
 parse, mxResources
 parseConstraint, mxStencil
 parseConstraints, mxStencil
 parseDescription, mxStencil
 parseXml, mxUtils
 password, mxXmlRequest
 paste, mxClipboard
 path
 PATH_SEPARATOR, mxCellPath
 perimeter, mxConnectionConstraint
 PERIMETER_ELLIPSE, mxConstants
 PERIMETER_HEXAGON, mxConstants
 PERIMETER_RECTANGLE, mxConstants
 PERIMETER_RHOMBUS, mxConstants
 PERIMETER_TRIANGLE, mxConstants
 pinchEnabled, mxPanningHandler
 placeLabels, mxEdgeLabelLayout
 placementStage
 plainText, mxVmlCanvas2D
 point, mxConnectionConstraint
 pointerEvents
 pointerEventsValue, mxSvgCanvas2D
 pointImage, mxConstraintHandler
 points
 popup
 popupHandler, mxEditor
 portsEnabled, mxGraph
 positionChanged, mxHandle
 post, mxUtils
 POST
 postConfigureShape, mxCellRenderer
 postDiagram, mxEditor
 postfix, mxGraphModel
 postParameterName, mxEditor
 postProcessCellStyle, mxGraph
 preferHtml, mxEdgeHandler
 preferPageSize, mxGraph
 prefHozEdgeSep
 prefix, mxGraphModel
 prefVertEdgeOff
 preserveImageAspect, mxImageShape
 previewColor, mxGraphHandler
 previewElement, mxDragSource
 previewEnabled, mxPanningHandler
 previousLayerConnectedCache, mxCoordinateAssignment
 previousLayerConnectedCells, mxGraphAbstractHierarchyCell
 print, mxPrintPreview
 printBackgroundImage, mxPrintPreview
 printControls, mxPrintPreview
 printOverlays, mxPrintPreview
 printScreen, mxUtils
 process, mxCellMarker
 processChange, mxGraph
 processEvent, mxHandle
 processInclude, mxObjectCodec
 processReversedEdge, mxCoordinateAssignment
 prompt, mxUtils
 properties, mxEventObject
 propertiesHeight, mxEditor
 propertiesResource, mxEditor
 propertiesWidth, mxEditor
 ptLineDist, mxUtils
 ptSegDistSq, mxUtils
 put, mxDictionary
 putCellStyle, mxStylesheet
 putDefaultEdgeStyle, mxStylesheet
 putDefaultVertexStyle, mxStylesheet
 putImage, mxImageBundle
 putObject, mxCodec
 putValue, mxStyleRegistry
-
Defines the rectangle for the A4 portrait page format.
Defines the rectangle for the Letter portrait page format.
mxGraph.prototype.pageBreakColor
Specifies the color for page breaks.
mxGraph.prototype.pageBreakDashed
Specifies the page breaks should be dashed.
mxGraph.prototype.pageBreaksVisible
Specifies if a dashed line should be drawn between multiple pages.
mxPrintPreview.prototype.pageCount
Holds the actual number of pages in the preview.
mxGraph.prototype.pageFormat
Specifies the page format for the background page.
mxPrintPreview.prototype.pageFormat
Holds the mxRectangle that defines the page format.
mxGraph.prototype.pageScale
Specifies the scale of the background page.
mxPrintPreview.prototype.pageSelector
Boolean that specifies if the page selector should be displayed.
mxGraph.prototype.pageVisible
Specifies if the background page should be visible.
mxShape.prototype.paint = function(c)
Generic rendering code.
mxText.prototype.paint = function(c)
Generic rendering code.
mxDoubleEllipse.prototype.paintBackground = function(c,
x,
y,
w,
h)
Paints the background.
mxRectangleShape.prototype.paintBackground = function(c,
x,
y,
w,
h)
Generic background painting implementation.
mxShape.prototype.paintBackground = function(c,
x,
y,
w,
h)
Hook for subclassers.
mxArrow.prototype.paintEdgeShape = function(c,
pts)
Paints the line shape.
mxArrowConnector.prototype.paintEdgeShape = function(c,
pts)
Paints the line shape.
mxConnector.prototype.paintEdgeShape = function(c,
pts)
Paints the line shape.
mxPolyline.prototype.paintEdgeShape = function(c,
pts)
Paints the line shape.
mxShape.prototype.paintEdgeShape = function(c,
pts)
Hook for subclassers.
mxDoubleEllipse.prototype.paintForeground = function(c,
x,
y,
w,
h)
Paints the foreground.
mxLabel.prototype.paintForeground = function(c,
x,
y,
w,
h)
Generic background painting implementation.
mxRectangleShape.prototype.paintForeground = function(c,
x,
y,
w,
h)
Generic background painting implementation.
mxShape.prototype.paintForeground = function(c,
x,
y,
w,
h)
Hook for subclassers.
mxShape.prototype.paintGlassEffect = function(c,
x,
y,
w,
h,
arc)
Paints the glass gradient effect.
mxLabel.prototype.paintImage = function(c,
x,
y,
w,
h)
Generic background painting implementation.
mxLabel.prototype.paintIndicator = function(c,
x,
y,
w,
h)
Generic background painting implementation.
mxPolyline.prototype.paintLine = function(c,
pts,
rounded)
Paints the line shape.
mxSwimlane.prototype.paintRoundedSwimlane = function(c,
x,
y,
w,
h,
start,
r,
fill,
swimlaneLine)
Paints the swimlane vertex shape.
mxSwimlane.prototype.paintSwimlane = function(c,
x,
y,
w,
h,
start,
fill,
swimlaneLine)
Paints the swimlane vertex shape.
mxActor.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Redirects to redrawPath for subclasses to work.
mxCylinder.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Redirects to redrawPath for subclasses to work.
mxEllipse.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Paints the ellipse shape.
mxImageShape.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Generic background painting implementation.
mxLine.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Redirects to redrawPath for subclasses to work.
mxRhombus.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Generic painting implementation.
mxShape.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Paints the vertex shape.
Paints the swimlane vertex shape.
Specifies the event name for pan.
Fires while handle is processing events.
Specifies the event name for panEnd.
Fires when the panning handler changes its active state to false.
Specifies the event name for panStart.
Fires when the panning handler changes its active state to true.
mxGraph.prototype.panDx
Current horizontal panning value.
mxGraph.prototype.panDy
Current vertical panning value.
mxGraph.prototype.panGraph = function(dx,
dy)
Shifts the graph display by the given amount.
mxPanningHandler.prototype.panGraph = function(dx,
dy)
Pans graph by the given amount.
mxPanningHandler.prototype.panningEnabled
Specifies if panning should be enabled.
para: function(parent,
text)
Appends a new paragraph with the given text to the specified parent and returns the paragraph.
mxCoordinateAssignment.prototype.parallelEdgeSpacing
The distance between each parallel edge on each ranks for long edges.
mxHierarchicalLayout.prototype.parallelEdgeSpacing
The distance between each parallel edge on each ranks for long edges
mxSwimlaneLayout.prototype.parallelEdgeSpacing
The distance between each parallel edge on each ranks for long edges
mxXmlRequest.prototype.params
Holds the form encoded data for the POST request.
mxCell.prototype.parent
Reference to the parent cell.
mxGraphHierarchyModel.prototype.parent
The parent cell whose children are being laid out
mxGraphLayout.prototype.parent
The parent cell of the layout, if any
mxSwimlaneModel.prototype.parent
The parent cell whose children are being laid out
mxHierarchicalLayout.prototype.parentBorder
The border to be added around the children if the parent is to be resized using resizeParent.
mxSwimlaneLayout.prototype.parentBorder
The border to be added around the children if the parent is to be resized using resizeParent.
mxGraphModel.prototype.parentForCellChanged = function(cell,
parent,
index)
Inner callback to update the parent of a cell using mxCell.insert on the parent and return the previous parent.
mxEdgeHandler.prototype.parentHighlightEnabled
Specifies if the parent should be highlighted if a child cell is selected.
mxVertexHandler.prototype.parentHighlightEnabled
Specifies if the parent should be highlighted if a child cell is selected.
mxCompactTreeLayout.prototype.parentsChanged
A set of the parents that need updating based on children process as part of the layout.
parse: function(text)
Parses the key, value pairs in the specified text and stores them as local resources.
mxStencil.prototype.parseConstraint = function(node)
Parses the given XML node and returns its mxConnectionConstraint.
mxStencil.prototype.parseConstraints = function()
Reads the constraints from desc into constraints using parseConstraint.
mxStencil.prototype.parseDescription = function()
Reads w0, h0, aspect, bgNodes and fgNodes from desc.
parseXml: function()
Parses the specified XML string into a new XML document and returns the new document.
mxXmlRequest.prototype.password
Specifies the password to be used for authentication.
paste: function(graph)
Pastes the cells into the specified graph restoring the relation to parents, if possible.
mxAbstractCanvas2D.prototype.path
Holds the current path as an array.
Holds the current DOM node.
Holds the current DOM node.
Defines the separator between the path components.
mxConnectionConstraint.prototype.perimeter
Boolean that specifies if the point should be projected onto the perimeter of the terminal.
Name of the ellipse perimeter.
Name of the hexagon perimeter.
Name of the rectangle perimeter.
Name of the rhombus perimeter.
PERIMETER_TRIANGLE: 'trianglePerimeter' }
Name of the triangle perimeter.
mxPanningHandler.prototype.pinchEnabled
Specifies if pinch gestures should be handled as zoom.
mxEdgeLabelLayout.prototype.placeLabels = function(v,
e)
Places the labels of the given edges.
mxHierarchicalLayout.prototype.placementStage = function(initialX,
parent)
Executes the placement stage using mxCoordinateAssignment.
mxSwimlaneLayout.prototype.placementStage = function(initialX,
parent)
Executes the placement stage using mxCoordinateAssignment.
mxVmlCanvas2D.prototype.plainText = function(x,
y,
w,
h,
str,
align,
valign,
wrap,
format,
overflow,
clip,
rotation,
dir)
Paints the outline of the current path.
mxConnectionConstraint.prototype.point
mxPoint that specifies the fixed location of the connection point.
mxAbstractCanvas2D.prototype.pointerEvents
Boolean value that specifies if events should be handled.
mxShape.prototype.pointerEvents
Specifies if pointer events should be handled.
mxSvgCanvas2D.prototype.pointerEventsValue
Default value for active pointer events.
mxConstraintHandler.prototype.pointImage
mxImage to be used as the image for fixed connection points.
mxGeometry.prototype.points
Array of mxPoints which specifies the control points along the edge.
mxShape.prototype.points
Holds the array of mxPoints that specify the points of this shape.
mxPopupMenu.prototype.popup = function(x,
y,
cell,
evt)
Shows the popup menu for the given event and cell.
popup: function(content,
isInternalWindow)
Shows the specified text content in a new mxWindow or a new browser window if isInternalWindow is false.
mxEditor.prototype.popupHandler
Holds a mxDefaultPopupMenu for displaying popupmenus.
mxGraph.prototype.portsEnabled
Specifies if ports are enabled.
mxHandle.prototype.positionChanged = function()
Called after setPosition has been called in processEvent.
post: function(url,
params,
onload,
onerror)
Posts the specified params to the given URL asynchronously and invokes the given functions depending on the request status.
Fires if a successful response was received in postDiagram.
Specifies the event name for post.
mxCellRenderer.prototype.postConfigureShape = function(state)
Replaces any reserved words used for attributes, eg.
mxEditor.prototype.postDiagram = function (url,
data)
Hook for subclassers to override the posting of a diagram represented by the given node to the given URL.
mxGraphModel.prototype.postfix
Defines the postfix of new Ids.
mxEditor.prototype.postParameterName
Specifies if the name of the post parameter that contains the diagram data in a post request to the server.
mxGraph.prototype.postProcessCellStyle = function(style)
Tries to resolve the value for the image style in the image bundles and turns short data URIs as defined in mxImageBundle to data URIs as defined in RFC 2397 of the IETF.
mxEdgeHandler.prototype.preferHtml
Specifies if bends should be added to the graph container.
mxGraph.prototype.preferPageSize
Specifies if the graph size should be rounded to the next page number in sizeDidChange.
mxCompactTreeLayout.prototype.prefHozEdgeSep
The preferred horizontal distance between edges exiting a vertex.
mxCoordinateAssignment.prototype.prefHozEdgeSep
The preferred horizontal distance between edges exiting a vertex
mxGraphModel.prototype.prefix
Defines the prefix of new Ids.
mxCompactTreeLayout.prototype.prefVertEdgeOff
The preferred vertical offset between edges exiting a vertex.
mxCoordinateAssignment.prototype.prefVertEdgeOff
The preferred vertical offset between edges exiting a vertex
mxImageShape.prototype.preserveImageAspect
Switch to preserve image aspect.
mxGraphHandler.prototype.previewColor
Specifies the color of the preview shape.
mxDragSource.prototype.previewElement
Optional mxRectangle that specifies the unscaled size of the preview.
mxPanningHandler.prototype.previewEnabled
Specifies if the panning should be previewed.
mxCoordinateAssignment.prototype.previousLayerConnectedCache
A store of connections to the layer below for speed
mxGraphAbstractHierarchyCell.prototype.previousLayerConnectedCells
A cached version of the cells this cell connects to on the next layer down
mxPrintPreview.prototype.print = function(css)
Opens the print preview and shows the print dialog.
mxPrintPreview.prototype.printBackgroundImage
Specifies if the background image should be printed.
mxPrintPreview.prototype.printControls
Specifies if controls (such as folding icons) should be printed.
mxPrintPreview.prototype.printOverlays
Specifies if overlays should be printed.
printScreen: function(graph)
Prints the specified graph using a new window and the built-in print dialog.
mxCellMarker.prototype.process = function(me)
Processes the given event and cell and marks the state returned by getState with the color returned by getMarkerColor.
mxGraph.prototype.processChange = function(change)
Processes the given change and invalidates the respective cached data in view.
mxHandle.prototype.processEvent = function(me)
Processes the given mxMouseEvent and invokes setPosition.
mxObjectCodec.prototype.processInclude = function(dec,
node,
into)
Returns true if the given node is an include directive and executes the include by decoding the XML document.
mxCoordinateAssignment.prototype.processReversedEdge = function(graph,
model)
Hook to add additional processing
prompt: function(message,
defaultValue)
Displays the given message in a prompt dialog.
mxEventObject.prototype.properties
Holds the properties as an associative array.
mxEditor.prototype.propertiesHeight
Specifies the height of the properties window in pixels.
mxEditor.prototype.propertiesResource
Specifies the resource key for the properties window title.
mxEditor.prototype.propertiesWidth
Specifies the width of the properties window in pixels.
ptLineDist: function(x1,
y1,
x2,
y2,
px,
py)
Returns the distance between a line defined by two points and a point.
ptSegDistSq: function(x1,
y1,
x2,
y2,
px,
py)
Returns the square distance between a segment and a point.
mxDictionary.prototype.put = function(key,
value)
Stores the value under the given key and returns the previous value for that key.
mxStylesheet.prototype.putCellStyle = function(name,
style)
Stores the given map of key, value pairs under the given name in styles.
mxStylesheet.prototype.putDefaultEdgeStyle = function(style)
Sets the default style for edges using defaultEdge as the stylename.
mxStylesheet.prototype.putDefaultVertexStyle = function(style)
Sets the default style for vertices using defaultVertex as the stylename.
mxImageBundle.prototype.putImage = function(key,
value,
fallback)
Adds the specified entry to the map.
mxCodec.prototype.putObject = function(id,
obj)
Assoiates the given object with the given ID and returns the given object.
putValue: function(name,
obj)
Puts the given object into the registry under the given name.
+
Defines the rectangle for the A4 portrait page format.
Defines the rectangle for the Letter portrait page format.
mxGraph.prototype.pageBreakColor
Specifies the color for page breaks.
mxGraph.prototype.pageBreakDashed
Specifies the page breaks should be dashed.
mxGraph.prototype.pageBreaksVisible
Specifies if a dashed line should be drawn between multiple pages.
mxPrintPreview.prototype.pageCount
Holds the actual number of pages in the preview.
mxGraph.prototype.pageFormat
Specifies the page format for the background page.
mxPrintPreview.prototype.pageFormat
Holds the mxRectangle that defines the page format.
mxGraph.prototype.pageScale
Specifies the scale of the background page.
mxPrintPreview.prototype.pageSelector
Boolean that specifies if the page selector should be displayed.
mxGraph.prototype.pageVisible
Specifies if the background page should be visible.
mxShape.prototype.paint = function(c)
Generic rendering code.
mxText.prototype.paint = function(c)
Generic rendering code.
mxDoubleEllipse.prototype.paintBackground = function(c,
x,
y,
w,
h)
Paints the background.
mxRectangleShape.prototype.paintBackground = function(c,
x,
y,
w,
h)
Generic background painting implementation.
mxShape.prototype.paintBackground = function(c,
x,
y,
w,
h)
Hook for subclassers.
mxArrow.prototype.paintEdgeShape = function(c,
pts)
Paints the line shape.
mxArrowConnector.prototype.paintEdgeShape = function(c,
pts)
Paints the line shape.
mxConnector.prototype.paintEdgeShape = function(c,
pts)
Paints the line shape.
mxPolyline.prototype.paintEdgeShape = function(c,
pts)
Paints the line shape.
mxShape.prototype.paintEdgeShape = function(c,
pts)
Hook for subclassers.
mxDoubleEllipse.prototype.paintForeground = function(c,
x,
y,
w,
h)
Paints the foreground.
mxLabel.prototype.paintForeground = function(c,
x,
y,
w,
h)
Generic background painting implementation.
mxRectangleShape.prototype.paintForeground = function(c,
x,
y,
w,
h)
Generic background painting implementation.
mxShape.prototype.paintForeground = function(c,
x,
y,
w,
h)
Hook for subclassers.
mxShape.prototype.paintGlassEffect = function(c,
x,
y,
w,
h,
arc)
Paints the glass gradient effect.
mxLabel.prototype.paintImage = function(c,
x,
y,
w,
h)
Generic background painting implementation.
mxLabel.prototype.paintIndicator = function(c,
x,
y,
w,
h)
Generic background painting implementation.
mxPolyline.prototype.paintLine = function(c,
pts,
rounded)
Paints the line shape.
mxSwimlane.prototype.paintRoundedSwimlane = function(c,
x,
y,
w,
h,
start,
r,
fill,
swimlaneLine)
Paints the swimlane vertex shape.
mxSwimlane.prototype.paintSwimlane = function(c,
x,
y,
w,
h,
start,
fill,
swimlaneLine)
Paints the swimlane vertex shape.
mxActor.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Redirects to redrawPath for subclasses to work.
mxCylinder.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Redirects to redrawPath for subclasses to work.
mxEllipse.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Paints the ellipse shape.
mxImageShape.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Generic background painting implementation.
mxLine.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Redirects to redrawPath for subclasses to work.
mxRhombus.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Generic painting implementation.
mxShape.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Paints the vertex shape.
Paints the swimlane vertex shape.
Specifies the event name for pan.
Fires while handle is processing events.
Specifies the event name for panEnd.
Fires when the panning handler changes its active state to false.
Specifies the event name for panStart.
Fires when the panning handler changes its active state to true.
mxGraph.prototype.panDx
Current horizontal panning value.
mxGraph.prototype.panDy
Current vertical panning value.
mxGraph.prototype.panGraph = function(dx,
dy)
Shifts the graph display by the given amount.
mxPanningHandler.prototype.panGraph = function(dx,
dy)
Pans graph by the given amount.
mxPanningHandler.prototype.panningEnabled
Specifies if panning should be enabled.
para: function(parent,
text)
Appends a new paragraph with the given text to the specified parent and returns the paragraph.
mxCoordinateAssignment.prototype.parallelEdgeSpacing
The distance between each parallel edge on each ranks for long edges.
mxHierarchicalLayout.prototype.parallelEdgeSpacing
The distance between each parallel edge on each ranks for long edges
mxSwimlaneLayout.prototype.parallelEdgeSpacing
The distance between each parallel edge on each ranks for long edges
mxXmlRequest.prototype.params
Holds the form encoded data for the POST request.
mxCell.prototype.parent
Reference to the parent cell.
mxGraphHierarchyModel.prototype.parent
The parent cell whose children are being laid out
mxGraphLayout.prototype.parent
The parent cell of the layout, if any
mxSwimlaneModel.prototype.parent
The parent cell whose children are being laid out
mxHierarchicalLayout.prototype.parentBorder
The border to be added around the children if the parent is to be resized using resizeParent.
mxSwimlaneLayout.prototype.parentBorder
The border to be added around the children if the parent is to be resized using resizeParent.
mxGraphModel.prototype.parentForCellChanged = function(cell,
parent,
index)
Inner callback to update the parent of a cell using mxCell.insert on the parent and return the previous parent.
mxEdgeHandler.prototype.parentHighlightEnabled
Specifies if the parent should be highlighted if a child cell is selected.
mxVertexHandler.prototype.parentHighlightEnabled
Specifies if the parent should be highlighted if a child cell is selected.
mxCompactTreeLayout.prototype.parentsChanged
A set of the parents that need updating based on children process as part of the layout.
parse: function(text)
Parses the key, value pairs in the specified text and stores them as local resources.
mxStencil.prototype.parseConstraint = function(node)
Parses the given XML node and returns its mxConnectionConstraint.
mxStencil.prototype.parseConstraints = function()
Reads the constraints from desc into constraints using parseConstraint.
mxStencil.prototype.parseDescription = function()
Reads w0, h0, aspect, bgNodes and fgNodes from desc.
parseXml: function()
Parses the specified XML string into a new XML document and returns the new document.
mxXmlRequest.prototype.password
Specifies the password to be used for authentication.
paste: function(graph)
Pastes the cells into the specified graph restoring the relation to parents, if possible.
mxAbstractCanvas2D.prototype.path
Holds the current path as an array.
Holds the current DOM node.
Holds the current DOM node.
Defines the separator between the path components.
mxConnectionConstraint.prototype.perimeter
Boolean that specifies if the point should be projected onto the perimeter of the terminal.
Name of the ellipse perimeter.
Name of the hexagon perimeter.
Name of the rectangle perimeter.
Name of the rhombus perimeter.
PERIMETER_TRIANGLE: 'trianglePerimeter' }
Name of the triangle perimeter.
mxPanningHandler.prototype.pinchEnabled
Specifies if pinch gestures should be handled as zoom.
mxEdgeLabelLayout.prototype.placeLabels = function(v,
e)
Places the labels of the given edges.
mxHierarchicalLayout.prototype.placementStage = function(initialX,
parent)
Executes the placement stage using mxCoordinateAssignment.
mxSwimlaneLayout.prototype.placementStage = function(initialX,
parent)
Executes the placement stage using mxCoordinateAssignment.
mxVmlCanvas2D.prototype.plainText = function(x,
y,
w,
h,
str,
align,
valign,
wrap,
format,
overflow,
clip,
rotation,
dir)
Paints the outline of the current path.
mxConnectionConstraint.prototype.point
mxPoint that specifies the fixed location of the connection point.
mxAbstractCanvas2D.prototype.pointerEvents
Boolean value that specifies if events should be handled.
mxShape.prototype.pointerEvents
Specifies if pointer events should be handled.
mxSvgCanvas2D.prototype.pointerEventsValue
Default value for active pointer events.
mxConstraintHandler.prototype.pointImage
mxImage to be used as the image for fixed connection points.
mxGeometry.prototype.points
Array of mxPoints which specifies the control points along the edge.
mxShape.prototype.points
Holds the array of mxPoints that specify the points of this shape.
mxPopupMenu.prototype.popup = function(x,
y,
cell,
evt)
Shows the popup menu for the given event and cell.
popup: function(content,
isInternalWindow)
Shows the specified text content in a new mxWindow or a new browser window if isInternalWindow is false.
mxEditor.prototype.popupHandler
Holds a mxDefaultPopupMenu for displaying popupmenus.
mxGraph.prototype.portsEnabled
Specifies if ports are enabled.
mxHandle.prototype.positionChanged = function()
Called after setPosition has been called in processEvent.
post: function(url,
params,
onload,
onerror)
Posts the specified params to the given URL asynchronously and invokes the given functions depending on the request status.
Fires if a successful response was received in postDiagram.
Specifies the event name for post.
mxCellRenderer.prototype.postConfigureShape = function(state)
Replaces any reserved words used for attributes, eg.
mxEditor.prototype.postDiagram = function (url,
data)
Hook for subclassers to override the posting of a diagram represented by the given node to the given URL.
mxGraphModel.prototype.postfix
Defines the postfix of new Ids.
mxEditor.prototype.postParameterName
Specifies if the name of the post parameter that contains the diagram data in a post request to the server.
mxGraph.prototype.postProcessCellStyle = function(style)
Tries to resolve the value for the image style in the image bundles and turns short data URIs as defined in mxImageBundle to data URIs as defined in RFC 2397 of the IETF.
mxEdgeHandler.prototype.preferHtml
Specifies if bends should be added to the graph container.
mxGraph.prototype.preferPageSize
Specifies if the graph size should be rounded to the next page number in sizeDidChange.
mxCompactTreeLayout.prototype.prefHozEdgeSep
The preferred horizontal distance between edges exiting a vertex.
mxCoordinateAssignment.prototype.prefHozEdgeSep
The preferred horizontal distance between edges exiting a vertex
mxGraphModel.prototype.prefix
Defines the prefix of new Ids.
mxCompactTreeLayout.prototype.prefVertEdgeOff
The preferred vertical offset between edges exiting a vertex.
mxCoordinateAssignment.prototype.prefVertEdgeOff
The preferred vertical offset between edges exiting a vertex
mxImageShape.prototype.preserveImageAspect
Switch to preserve image aspect.
mxGraphHandler.prototype.previewColor
Specifies the color of the preview shape.
mxDragSource.prototype.previewElement
Optional mxRectangle that specifies the unscaled size of the preview.
mxPanningHandler.prototype.previewEnabled
Specifies if the panning should be previewed.
mxCoordinateAssignment.prototype.previousLayerConnectedCache
A store of connections to the layer below for speed
mxGraphAbstractHierarchyCell.prototype.previousLayerConnectedCells
A cached version of the cells this cell connects to on the next layer down
mxPrintPreview.prototype.print = function(css)
Opens the print preview and shows the print dialog.
mxPrintPreview.prototype.printBackgroundImage
Specifies if the background image should be printed.
mxPrintPreview.prototype.printControls
Specifies if controls (such as folding icons) should be printed.
mxPrintPreview.prototype.printOverlays
Specifies if overlays should be printed.
printScreen: function(graph)
Prints the specified graph using a new window and the built-in print dialog.
mxCellMarker.prototype.process = function(me)
Processes the given event and cell and marks the state returned by getState with the color returned by getMarkerColor.
mxGraph.prototype.processChange = function(change)
Processes the given change and invalidates the respective cached data in view.
mxHandle.prototype.processEvent = function(me)
Processes the given mxMouseEvent and invokes setPosition.
mxObjectCodec.prototype.processInclude = function(dec,
node,
into)
Returns true if the given node is an include directive and executes the include by decoding the XML document.
mxCoordinateAssignment.prototype.processReversedEdge = function(graph,
model)
Hook to add additional processing
prompt: function(message,
defaultValue)
Displays the given message in a prompt dialog.
mxEventObject.prototype.properties
Holds the properties as an associative array.
mxEditor.prototype.propertiesHeight
Specifies the height of the properties window in pixels.
mxEditor.prototype.propertiesResource
Specifies the resource key for the properties window title.
mxEditor.prototype.propertiesWidth
Specifies the width of the properties window in pixels.
ptLineDist: function(x1,
y1,
x2,
y2,
px,
py)
Returns the distance between a line defined by two points and a point.
ptSegDistSq: function(x1,
y1,
x2,
y2,
px,
py)
Returns the square distance between a segment and a point.
mxDictionary.prototype.put = function(key,
value)
Stores the value under the given key and returns the previous value for that key.
mxStylesheet.prototype.putCellStyle = function(name,
style)
Stores the given map of key, value pairs under the given name in styles.
mxStylesheet.prototype.putDefaultEdgeStyle = function(style)
Sets the default style for edges using defaultEdge as the stylename.
mxStylesheet.prototype.putDefaultVertexStyle = function(style)
Sets the default style for vertices using defaultVertex as the stylename.
mxImageBundle.prototype.putImage = function(key,
value,
fallback)
Adds the specified entry to the map.
mxCodec.prototype.putObject = function(id,
obj)
Assoiates the given object with the given ID and returns the given object.
putValue: function(name,
obj)
Puts the given object into the registry under the given name.
@@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/General14.html b/docs/js-api/index/General14.html index c89fd9b78..03c3073c3 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.
@@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/General15.html b/docs/js-api/index/General15.html index 39ead9eaf..969a8025e 100644 --- a/docs/js-api/index/General15.html +++ b/docs/js-api/index/General15.html @@ -11,9 +11,9 @@ if (browserType) {document.write("
");if (browserV -
Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
R
 radius
 radiusSquared, mxFastOrganicLayout
 rankBottomY, mxCoordinateAssignment
 rankCoordinates, mxCoordinateAssignment
 rankIndex, WeightedCellSorter
 rankMedianPosition, mxCoordinateAssignment
 ranks
 ranksPerGroup, mxSwimlaneModel
 rankTopY, mxCoordinateAssignment
 rankWidths, mxCoordinateAssignment
 rankY, mxCoordinateAssignment
 readGraphModel, mxEditor
 RECEIVE, mxEvent
 reconfigure, mxShape
 rect
 RECTANGLE_ROUNDING_FACTOR, mxConstants
 rectangleIntersectsSegment, mxUtils
 RectanglePerimeter, mxPerimeter
 recursiveResize, mxGraph
 redirectMouseEvents, mxEvent
 redo
 REDO
 redone, mxUndoableEdit
 redraw
 redrawBackgroundImage, mxGraphView
 redrawCellOverlays, mxCellRenderer
 redrawControl, mxCellRenderer
 redrawHandles
 redrawHtml, mxShape
 redrawHtmlShape
 redrawIcons, mxConnectionHandler
 redrawInnerBends
 redrawLabel, mxCellRenderer
 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
 removeDragElement, mxDragSource
 removeEdge, mxCell
 removeEnabled, mxEdgeHandler
 removeFromParent, mxCell
 removeFromTerminal, mxCell
 removeGestureListeners, mxEvent
 removeHint
 removeImageBundle, mxGraph
 removeListener
 removeListeners, mxDragSource
 removeMouseListener, mxGraph
 removePoint, mxEdgeHandler
 removeSelectionCell, mxGraph
 removeSelectionCells, mxGraph
 removeState, mxGraphView
 removeStateForCell, mxGraph
 removeStylename, mxUtils
 removeWhitespace, mxUtils
 renderHint, mxGraph
 rendering, mxGraphView
 RENDERING_HINT_EXACT, mxConstants
 RENDERING_HINT_FASTER, mxConstants
 RENDERING_HINT_FASTEST, mxConstants
 renderPage, mxPrintPreview
 repaint
 replaceLinefeeds, mxText
 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, mxEvent
 revalidate, mxGraphView
 revalidateState, mxCellStatePreview
 reverse, mxObjectCodec
 reversePortConstraints, mxUtils
 RhombusPerimeter, mxPerimeter
 root
 ROOT
 rootChanged, mxGraphModel
 roots
 rootx, mxRadialTreeLayout
 rooty, mxRadialTreeLayout
 rotate
 rotate90, mxRectangle
 rotateCell, mxVertexHandler
 rotateClick, mxVertexHandler
 rotatedHtmlBackground, mxVmlCanvas2D
 rotateHtml, mxAbstractCanvas2D
 rotateLabelBounds, mxCellRenderer
 rotatePoint
 ROTATION_HANDLE, mxEvent
 rotationCursor, mxVertexHandler
 rotationEnabled
 rotationHandleVSpacing, mxVertexHandler
 rotationRaster, mxVertexHandler
 roundAngle, mxVertexHandler
 roundLength
 roundrect
 route, mxParallelEdgeLayout
 row, mxRadialTreeLayout
 rowMaxCenX, mxRadialTreeLayout
 rowMaxX, mxRadialTreeLayout
 rowMinCenX, mxRadialTreeLayout
 rowMinX, mxRadialTreeLayout
 rowRadi, mxRadialTreeLayout
 rtrim, mxUtils
 run
+
Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
R
 radius
 radiusSquared, mxFastOrganicLayout
 rankBottomY, mxCoordinateAssignment
 rankCoordinates, mxCoordinateAssignment
 rankIndex, WeightedCellSorter
 rankMedianPosition, mxCoordinateAssignment
 ranks
 ranksPerGroup, mxSwimlaneModel
 rankTopY, mxCoordinateAssignment
 rankWidths, mxCoordinateAssignment
 rankY, mxCoordinateAssignment
 readGraphModel, mxEditor
 RECEIVE, mxEvent
 reconfigure, mxShape
 rect
 RECTANGLE_ROUNDING_FACTOR, mxConstants
 rectangleIntersectsSegment, mxUtils
 RectanglePerimeter, mxPerimeter
 recursiveResize, mxGraph
 redirectMouseEvents, mxEvent
 redo
 REDO
 redone, mxUndoableEdit
 redraw
 redrawBackgroundImage, mxGraphView
 redrawCellOverlays, mxCellRenderer
 redrawControl, mxCellRenderer
 redrawHandles
 redrawHtml, mxShape
 redrawHtmlShape
 redrawIcons, mxConnectionHandler
 redrawInnerBends
 redrawLabel, mxCellRenderer
 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
 removeDragElement, mxDragSource
 removeEdge, mxCell
 removeEnabled, mxEdgeHandler
 removeFromParent, mxCell
 removeFromTerminal, mxCell
 removeGestureListeners, mxEvent
 removeHint
 removeImageBundle, mxGraph
 removeListener
 removeListeners, mxDragSource
 removeMouseListener, mxGraph
 removePoint, mxEdgeHandler
 removeSelectionCell, mxGraph
 removeSelectionCells, mxGraph
 removeState, mxGraphView
 removeStateForCell, mxGraph
 removeStylename, mxUtils
 removeWhitespace, mxUtils
 renderHint, mxGraph
 rendering, mxGraphView
 RENDERING_HINT_EXACT, mxConstants
 RENDERING_HINT_FASTER, mxConstants
 RENDERING_HINT_FASTEST, mxConstants
 renderPage, mxPrintPreview
 repaint
 replaceLinefeeds, mxText
 repositionValid, mxCoordinateAssignment
 request, mxXmlRequest
 reset
 RESET
 resetEdge, mxGraph
 resetEdges
 resetEdgesOnConnect, mxGraph
 resetEdgesOnMove, mxGraph
 resetEdgesOnResize, mxGraph
 resetFirstTime, mxEditor
 resetHandler
 resetHistory, mxEditor
 resetMode, mxToolbar
 resetTimer, mxTooltipHandler
 resetValidationState, mxGraphView
 resetViewOnRootChange, mxGraph
 resize
 RESIZE
 RESIZE_CELLS
 RESIZE_END
 RESIZE_START
 resizeCell
 resizeCells, mxGraph
 resizeChildCells, mxGraph
 resizeContainer, mxGraph
 resizeEnabled, mxSwimlaneManager
 resizeHeight, mxDivResizer
 resizeLast, mxStackLayout
 resizeParent
 resizeParentMax, mxStackLayout
 resizeSwimlane, mxSwimlaneManager
 resizeVertices, mxPartitionLayout
 resizeWidth, mxDivResizer
 resolve, mxCellPath
 resolveColor, mxCellRenderer
 resources, mxResources
 resourcesEncoded, mxResources
 restore
 restoreClone, mxGraphModel
 RESUME, mxEvent
 revalidate, mxGraphView
 revalidateState, mxCellStatePreview
 reverse, mxObjectCodec
 reversePortConstraints, mxUtils
 RhombusPerimeter, mxPerimeter
 root
 ROOT
 rootChanged, mxGraphModel
 roots
 rootx, mxRadialTreeLayout
 rooty, mxRadialTreeLayout
 rotate
 rotate90, mxRectangle
 rotateCell, mxVertexHandler
 rotateClick, mxVertexHandler
 rotatedHtmlBackground, mxVmlCanvas2D
 rotateHtml, mxAbstractCanvas2D
 rotateLabelBounds, mxCellRenderer
 rotatePoint
 ROTATION_HANDLE, mxEvent
 rotationCursor, mxVertexHandler
 rotationEnabled
 rotationHandleVSpacing, mxVertexHandler
 rotationRaster, mxVertexHandler
 roundAngle, mxVertexHandler
 roundLength
 roundrect
 route, mxParallelEdgeLayout
 row, mxRadialTreeLayout
 rowMaxCenX, mxRadialTreeLayout
 rowMaxX, mxRadialTreeLayout
 rowMinCenX, mxRadialTreeLayout
 rowMinX, mxRadialTreeLayout
 rowRadi, mxRadialTreeLayout
 rtrim, mxUtils
 run
-
mxCircleLayout.prototype.radius
Integer specifying the size of the radius.
mxFastOrganicLayout.prototype.radius
The approximate radius of each cell, nodes only.
mxFastOrganicLayout.prototype.radiusSquared
The approximate radius squared of each cell, nodes only.
mxCoordinateAssignment.prototype.rankBottomY
Internal cache of bottom-most value of Y for each rank
mxCoordinateAssignment.prototype.rankCoordinates = function(rankValue,
graph,
model)
Sets up the layout in an initial positioning.
WeightedCellSorter.prototype.rankIndex
The index this cell is in the model rank.
mxCoordinateAssignment.prototype.rankMedianPosition = function(rankValue,
model,
nextRankValue)
Performs median minimisation over one rank.
mxGraphHierarchyModel.prototype.ranks
Mapping from rank number to actual rank
mxSwimlaneModel.prototype.ranks
Mapping from rank number to actual rank
mxSwimlaneModel.prototype.ranksPerGroup
An array of the number of ranks within each swimlane
mxCoordinateAssignment.prototype.rankTopY
Internal cache of top-most values of Y for each rank
mxCoordinateAssignment.prototype.rankWidths
The width of all the ranks
mxCoordinateAssignment.prototype.rankY
The Y-coordinate of all the ranks
mxEditor.prototype.readGraphModel = function (node)
Reads the specified XML node into the existing graph model and resets the command history and modified state.
Specifies the event name for receive.
mxShape.prototype.reconfigure = function()
Reconfigures this shape.
mxSvgCanvas2D.prototype.rect = function(x,
y,
w,
h)
Private helper function to create SVG elements
mxVmlCanvas2D.prototype.rect = function(x,
y,
w,
h)
Sets the current path to a rectangle.
mxXmlCanvas2D.prototype.rect = function(x,
y,
w,
h)
Puts a rectangle into the drawing buffer.
Defines the rounding factor for rounded rectangles in percent between 0 and 1.
rectangleIntersectsSegment: function(bounds,
p1,
p2)
Returns true if the given rectangle intersects the given segment.
RectanglePerimeter: function (bounds,
vertex,
next,
orthogonal)
Describes a rectangular perimeter for the given bounds.
mxGraph.prototype.recursiveResize
Specifies the return value for isRecursiveResize.
redirectMouseEvents: function(node,
graph,
state,
down,
move,
up,
dblClick)
Redirects the mouse events from the given DOM node to the graph dispatch loop using the event and given state as event arguments.
mxEditor.prototype.redo = function ()
Redo the last change in graph.
mxUndoableEdit.prototype.redo = function()
Redoes all changes in this edit.
mxUndoManager.prototype.redo = function()
Redoes the last change.
Specifies the event name for redo.
Fires afer a significant edit was redone in redo.
mxUndoableEdit.prototype.redone
Specifies if this edit has been redone.
mxEdgeSegmentHandler.prototype.redraw = function()
Overridden to invoke refresh before the redraw.
mxCellRenderer.prototype.redraw = function(state,
force,
rendering)
Updates the bounds or points and scale of the shapes for the given cell state.
mxEdgeHandler.prototype.redraw = function()
Redraws the preview, and the bends- and label control points.
mxHandle.prototype.redraw = function()
Renders the shape for this handle.
mxImageShape.prototype.redrawHtmlShape = function()
Overrides mxShape.redraw to preserve the aspect ratio of images.
mxLabel.prototype.redraw = function()
Reconfigures this shape.
mxShape.prototype.redraw = function()
Creates and returns the SVG node(s) to represent this shape.
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.
mxEdgeHandler.prototype.refresh = function()
Refreshes the bends of this handler.
mxGraph.prototype.refresh = function(cell)
Clears all cell states or the states for the hierarchy starting at the given cell and validates the graph.
mxGraphView.prototype.refresh = function()
Clears the view if currentRoot is not null and revalidates.
mxOutline.prototype.refresh = function()
Invokes update and revalidate the outline.
mxSelectionCellsHandler.prototype.refresh = function()
Reloads or updates all handlers.
Specifies the event name for refresh.
Fires after refresh was executed.
mxSelectionCellsHandler.prototype.refreshHandler
Keeps a reference to an event listener for later removal.
mxEditor.prototype.refreshTasks = function (div)
Updates the contents of the tasks window using createTasks.
register: function(codec)
Registers a new codec and associates the name of the template constructor in the codec with the codec object.
mxCellRenderer.registerShape = function(key,
shape)
Registers the given constructor under the specified key in this instance of the renderer.
mxGeometry.prototype.relative
Specifies if the coordinates in the geometry are to be interpreted as relative coordinates.
relativeCcw: function(x1,
y1,
x2,
y2,
px,
py)
Returns 1 if the given point on the right side of the segment, 0 if its on the segment, and -1 if the point is on the left side of the segment.
release: function(element)
Removes the known listeners from the given DOM node and its descendants.
mxShape.prototype.releaseSvgGradients = function(grads)
Paints the line shape.
mxCell.prototype.remove = function(index)
Removes the child at the specified index from the child array and returns the child that was removed.
mxDictionary.prototype.remove = function(key)
Removes the value for the given key and returns the value that has been removed.
mxGraphModel.prototype.remove = function(cell)
Removes the specified cell from the model using mxChildChange and adds the change to the current transaction.
remove: function(obj,
array)
Removes all occurrences of the given object in the given array or object.
Specifies the event name for remove.
Fires if a cell has been remove from the selection.
Specifies the event name for removeCells.
Fires between begin- and endUpdate in removeCells.
Specifies the event name for removeCellsFromParent.
Fires between begin- and endUpdate in removeCellsFromParent.
Specifies the event name for removeOverlay.
Fires after an overlay is removed in removeCellOverlay and removeCellOverlays.
removeAllListeners: function(element)
Removes all listeners from the given element.
removeAllStylenames: function(style)
Removes all stylenames from the given style and returns the updated style.
mxGraphSelectionModel.prototype.removeCell = function(cell)
Removes the specified mxCell from the selection and fires a select event for the remaining cells.
mxGraph.prototype.removeCellOverlay = function(cell,
overlay)
Removes and returns the given mxCellOverlay from the given cell.
mxGraph.prototype.removeCellOverlays = function(cell)
Removes all mxCellOverlays from the given cell.
removeCells: function(graph,
cells)
Hook to remove the given cells from the given graph after a cut operation.
mxGraph.prototype.removeCells = function(cells,
includeEdges)
Removes the given cells from the graph including all connected edges if includeEdges is true.
mxGraphSelectionModel.prototype.removeCells = function(cells)
mxGraph.prototype.removeCellsFromParent = function(cells)
Removes the specified cells from their parents and adds them to the default parent.
mxGraphHandler.prototype.removeCellsFromParent
Specifies if cells may be moved out of their parents.
removeCursors: function(element)
Removes the cursors from the style of the given DOM node and its descendants.
mxDragSource.prototype.removeDragElement = function()
Removes and destroys the dragElement.
mxCell.prototype.removeEdge = function(edge,
isOutgoing)
Removes the specified edge from the edge array and returns the edge.
mxEdgeHandler.prototype.removeEnabled
Specifies if removing bends by shift-click is enabled.
mxCell.prototype.removeFromParent = function()
Removes the cell from its parent.
mxCell.prototype.removeFromTerminal = function(isSource)
Removes the edge from its source or target terminal.
removeGestureListeners: function(node,
startListener,
moveListener,
endListener)
Removes the given listeners from mousedown, mousemove, mouseup and the respective touch events if mxClient.IS_TOUCH is true.
mxEdgeHandler.prototype.removeHint = function()
Hooks for subclassers to hide details when the handler gets inactive.
mxGraphHandler.prototype.removeHint = function()
Hooks for subclassers to hide details when the handler gets inactive.
mxVertexHandler.prototype.removeHint = function()
Hooks for subclassers to hide details when the handler gets inactive.
mxGraph.prototype.removeImageBundle = function(bundle)
Removes the specified mxImageBundle.
removeListener: function()
Removes the specified listener from the given element.
mxEventSource.prototype.removeListener = function(funct)
Removes all occurrences of the given listener from eventListeners.
mxDragSource.prototype.removeListeners = function()
Actives the given graph as a drop target.
mxGraph.prototype.removeMouseListener = function(listener)
Removes the specified graph listener.
mxEdgeHandler.prototype.removePoint = function(state,
index)
Removes the control point at the given index from the given state.
mxGraph.prototype.removeSelectionCell = function(cell)
Removes the given cell from the selection.
mxGraph.prototype.removeSelectionCells = function(cells)
Removes the given cells from the selection.
mxGraphView.prototype.removeState = function(cell)
Removes and returns the mxCellState for the given cell.
mxGraph.prototype.removeStateForCell = function(cell)
Removes all cached information for the given cell and its descendants.
removeStylename: function(style,
stylename)
Removes all occurrences of the specified stylename in the given style and returns the updated style.
removeWhitespace: function(node,
before)
Removes the sibling text nodes for the given node that only consists of tabs, newlines and spaces.
mxGraph.prototype.renderHint
RenderHint as it was passed to the constructor.
mxGraphView.prototype.rendering
Specifies if shapes should be created, updated and destroyed using the methods of mxCellRenderer in graph.
Defines the exact rendering hint.
Defines the faster rendering hint.
Defines the fastest rendering hint.
mxPrintPreview.prototype.renderPage = function(w,
h,
dx,
dy,
content)
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.
mxDragSource.prototype.reset = function()
Stops and removes everything and restores the state of the object.
mxEdgeHandler.prototype.reset = function()
Resets the state of this handler.
mxGraphHandler.prototype.reset = function()
Resets the state of this handler.
mxHandle.prototype.reset = function()
Resets the state of this handle by setting its visibility to true.
mxRubberband.prototype.reset = function()
Resets the state of the rubberband selection.
mxSelectionCellsHandler.prototype.reset = function()
Resets all handlers.
mxSvgCanvas2D.prototype.reset = function()
Returns any offsets for rendering pixels.
mxTooltipHandler.prototype.reset = function(me,
restart)
Resets and/or restarts the timer to trigger the display of the tooltip.
mxVertexHandler.prototype.reset = function()
Resets the state of this handler.
Fires when the reset method is invoked.
RESET: 'reset' }
Specifies the event name for reset.
mxGraph.prototype.resetEdge = function(edge)
Resets the control points of the given edge.
mxCircleLayout.prototype.resetEdges
Specifies if all edge points of traversed edges should be removed.
mxCompactTreeLayout.prototype.resetEdges
Specifies if all edge points of traversed edges should be removed.
mxFastOrganicLayout.prototype.resetEdges
Specifies if all edge points of traversed edges should be removed.
mxGraph.prototype.resetEdges = function(cells)
Resets the control points of the edges that are connected to the given cells if not both ends of the edge are in the given cells array.
mxGraph.prototype.resetEdgesOnConnect
Specifies if edge control points should be reset after the the edge has been reconnected.
mxGraph.prototype.resetEdgesOnMove
Specifies if edge control points should be reset after the move of a connected cell.
mxGraph.prototype.resetEdgesOnResize
Specifies if edge control points should be reset after the resize of a connected cell.
mxEditor.prototype.resetFirstTime = function ()
Resets the cookie that is used to remember if the editor has already been used.
mxCellHighlight.prototype.resetHandler
Holds the handler that automatically invokes reset if the highlight should be hidden.
mxDefaultToolbar.prototype.resetHandler
Reference to the function used to reset the toolbar.
mxEditor.prototype.resetHistory = function ()
Resets the command history, modified state and counters.
mxToolbar.prototype.resetMode = function(forced)
Selects the default mode and resets the state of the previously selected mode.
mxTooltipHandler.prototype.resetTimer = function()
Resets the timer.
mxGraphView.prototype.resetValidationState = function()
Resets the current validation state.
mxGraph.prototype.resetViewOnRootChange
Specifies if the scale and translate should be reset if the root changes in the model.
mxCellEditor.prototype.resize = function()
Returns modified.
mxDivResizer.prototype.resize = function()
Updates the style of the DIV after the window has been resized.
Specifies the event name for resize.
Fires while the window is being resized.
Specifies the event name for resizeCells.
Fires between begin- and endUpdate in resizeCells.
Specifies the event name for resizeEnd.
Fires after the window is resized.
Specifies the event name for resizeStart.
Fires before the window is resized.
mxGraph.prototype.resizeCell = function(cell,
bounds,
recurse)
Sets the bounds of the given cell using resizeCells.
mxVertexHandler.prototype.resizeCell = function(cell,
dx,
dy,
index,
gridEnabled,
constrained,
recurse)
Uses the given vector to change the bounds of the given cell in the graph using mxGraph.resizeCell.
mxGraph.prototype.resizeCells = function(cells,
bounds,
recurse)
Sets the bounds of the given cells and fires a mxEvent.RESIZE_CELLS event while the transaction is in progress.
mxGraph.prototype.resizeChildCells = function(cell,
newGeo)
Resizes the child cells of the given cell for the given new geometry with respect to the current geometry of the cell.
mxGraph.prototype.resizeContainer
Specifies if the container should be resized to the graph size when the graph size has changed.
mxSwimlaneManager.prototype.resizeEnabled
Specifies if resizing of swimlanes should be handled.
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.
Specifies the event name for suspend.
mxGraphView.prototype.revalidate = function()
Revalidates the complete view with all cell states.
mxCellStatePreview.prototype.revalidateState = function(state,
dx,
dy,
visitor)
mxObjectCodec.prototype.reverse
Maps from from XML attribute names to fieldnames.
reversePortConstraints: function(constraint)
Reverse the port constraint bitmask.
RhombusPerimeter: function (bounds,
vertex,
next,
orthogonal)
Describes a rhombus (aka diamond) perimeter.
mxCompactTreeLayout.prototype.root
The cell to use as the root of the tree
mxGraphModel.prototype.root
Holds the root cell, which in turn contains the cells that represent the layers of the diagram as child cells.
this.root
Reference to the container for the SVG content.
this.root
Reference to the container for the SVG content.
this.root
Reference to the container for the SVG content.
Fires when the current root has changed, or when the title of the current root has changed.
Specifies the event name for root.
Fires if the root in the model has changed.
mxGraphModel.prototype.rootChanged = function(root)
Inner callback to change the root of the model and update the internal datastructures, such as cells and nextId.
mxGraphHierarchyModel.prototype.roots
Store of roots of this hierarchy model, these are real graph cells, not internal cells
mxHierarchicalLayout.prototype.roots
Holds the array of mxCell that this layout contains.
mxSwimlaneLayout.prototype.roots
Holds the array of mxCell that this layout contains.
mxSwimlaneModel.prototype.roots
Store of roots of this hierarchy model, these are real graph cells, not internal cells
mxRadialTreeLayout.prototype.rootx
The X co-ordinate of the root cell
mxRadialTreeLayout.prototype.rooty
The Y co-ordinate of the root cell
mxGeometry.prototype.rotate = function(angle,
cx)
Rotates the geometry by the given angle around the given center.
mxSvgCanvas2D.prototype.rotate = function(theta,
flipH,
flipV,
cx,
cy)
Sets the rotation of the canvas.
mxVmlCanvas2D.prototype.rotate = function(theta,
flipH,
flipV,
cx,
cy)
Sets the rotation of the canvas.
mxXmlCanvas2D.prototype.rotate = function(theta,
flipH,
flipV,
cx,
cy)
Rotates and/or flips the output around a given center.
mxRectangle.prototype.rotate90 = function()
Rotates this rectangle by 90 degree around its center point.
Rotates the given cell to the given rotation.
mxVertexHandler.prototype.rotateClick = function()
Hook for subclassers to implement a single click on the rotation handle.
mxVmlCanvas2D.prototype.rotatedHtmlBackground
Background color for rotated HTML.
mxAbstractCanvas2D.prototype.rotateHtml
Switch for rotation of HTML.
mxCellRenderer.prototype.rotateLabelBounds = function(state,
bounds)
Adds the shape rotation to the given label bounds and applies the alignment and offsets.
mxAbstractCanvas2D.prototype.rotatePoint = function(x,
y,
theta,
cx,
cy)
Rotates the given point and returns the result as an mxPoint.
mxHandle.prototype.rotatePoint = function(pt,
alpha)
Rotates the point by the given angle.
Index for the rotation handle in an mxMouseEvent.
mxVertexHandler.prototype.rotationCursor
Specifies the cursor for the rotation handle.
mxGraphHandler.prototype.rotationEnabled
Specifies if the bounding box should allow for rotation.
mxVertexHandler.prototype.rotationEnabled
Specifies if a rotation handle should be visible.
mxVertexHandler.prototype.rotationHandleVSpacing
Vertical spacing for rotation icon.
mxVertexHandler.prototype.rotationRaster
Specifies if rotation steps should be “rasterized” depening on the distance to the handle.
mxVertexHandler.prototype.roundAngle = function(angle)
Hook for rounding the angle.
mxEdgeHandler.prototype.roundLength = function(length)
Hook for rounding the unscaled width or height.
mxGraphHandler.prototype.roundLength = function(length)
Hook for rounding the unscaled vector.
mxVertexHandler.prototype.roundLength = function(length)
Hook for rounding the unscaled width or height.
mxSvgCanvas2D.prototype.roundrect = function(x,
y,
w,
h,
dx,
dy)
Private helper function to create SVG elements
mxVmlCanvas2D.prototype.roundrect = function(x,
y,
w,
h,
dx,
dy)
Sets the current path to a rounded rectangle.
mxXmlCanvas2D.prototype.roundrect = function(x,
y,
w,
h,
dx,
dy)
Puts a rounded rectangle into the drawing buffer.
mxParallelEdgeLayout.prototype.route = function(edge,
x,
y)
Routes the given edge via the given point.
mxRadialTreeLayout.prototype.row
Array of vertices on each row
mxRadialTreeLayout.prototype.rowMaxCenX
Array of x coordinate of rightmost vertex of each row
mxRadialTreeLayout.prototype.rowMaxX
Array of rightmost x coordinate of each row
mxRadialTreeLayout.prototype.rowMinCenX
Array of x coordinate of leftmost vertex of each row
mxRadialTreeLayout.prototype.rowMinX
Array of leftmost x coordinate of each row
mxRadialTreeLayout.prototype.rowRadi
Array of y deltas of each row behind root vertex, also the radius in the tree
rtrim: function(str,
chars)
Strips all whitespaces from the end of the string.
mxHierarchicalLayout.prototype.run = function(parent)
The API method used to exercise the layout upon the graph description and produce a separate description of the vertex position and edge routing changes made.
mxSwimlaneLayout.prototype.run = function(parent)
The API method used to exercise the layout upon the graph description and produce a separate description of the vertex position and edge routing changes made.
+
mxCircleLayout.prototype.radius
Integer specifying the size of the radius.
mxFastOrganicLayout.prototype.radius
The approximate radius of each cell, nodes only.
mxFastOrganicLayout.prototype.radiusSquared
The approximate radius squared of each cell, nodes only.
mxCoordinateAssignment.prototype.rankBottomY
Internal cache of bottom-most value of Y for each rank
mxCoordinateAssignment.prototype.rankCoordinates = function(rankValue,
graph,
model)
Sets up the layout in an initial positioning.
WeightedCellSorter.prototype.rankIndex
The index this cell is in the model rank.
mxCoordinateAssignment.prototype.rankMedianPosition = function(rankValue,
model,
nextRankValue)
Performs median minimisation over one rank.
mxGraphHierarchyModel.prototype.ranks
Mapping from rank number to actual rank
mxSwimlaneModel.prototype.ranks
Mapping from rank number to actual rank
mxSwimlaneModel.prototype.ranksPerGroup
An array of the number of ranks within each swimlane
mxCoordinateAssignment.prototype.rankTopY
Internal cache of top-most values of Y for each rank
mxCoordinateAssignment.prototype.rankWidths
The width of all the ranks
mxCoordinateAssignment.prototype.rankY
The Y-coordinate of all the ranks
mxEditor.prototype.readGraphModel = function (node)
Reads the specified XML node into the existing graph model and resets the command history and modified state.
Specifies the event name for receive.
mxShape.prototype.reconfigure = function()
Reconfigures this shape.
mxSvgCanvas2D.prototype.rect = function(x,
y,
w,
h)
Private helper function to create SVG elements
mxVmlCanvas2D.prototype.rect = function(x,
y,
w,
h)
Sets the current path to a rectangle.
mxXmlCanvas2D.prototype.rect = function(x,
y,
w,
h)
Puts a rectangle into the drawing buffer.
Defines the rounding factor for rounded rectangles in percent between 0 and 1.
rectangleIntersectsSegment: function(bounds,
p1,
p2)
Returns true if the given rectangle intersects the given segment.
RectanglePerimeter: function (bounds,
vertex,
next,
orthogonal)
Describes a rectangular perimeter for the given bounds.
mxGraph.prototype.recursiveResize
Specifies the return value for isRecursiveResize.
redirectMouseEvents: function(node,
graph,
state,
down,
move,
up,
dblClick)
Redirects the mouse events from the given DOM node to the graph dispatch loop using the event and given state as event arguments.
mxEditor.prototype.redo = function ()
Redo the last change in graph.
mxUndoableEdit.prototype.redo = function()
Redoes all changes in this edit.
mxUndoManager.prototype.redo = function()
Redoes the last change.
Specifies the event name for redo.
Fires afer a significant edit was redone in redo.
mxUndoableEdit.prototype.redone
Specifies if this edit has been redone.
mxEdgeSegmentHandler.prototype.redraw = function()
Overridden to invoke refresh before the redraw.
mxCellRenderer.prototype.redraw = function(state,
force,
rendering)
Updates the bounds or points and scale of the shapes for the given cell state.
mxEdgeHandler.prototype.redraw = function()
Redraws the preview, and the bends- and label control points.
mxHandle.prototype.redraw = function()
Renders the shape for this handle.
mxImageShape.prototype.redrawHtmlShape = function()
Overrides mxShape.redraw to preserve the aspect ratio of images.
mxLabel.prototype.redraw = function()
Reconfigures this shape.
mxShape.prototype.redraw = function()
Creates and returns the SVG node(s) to represent this shape.
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.
mxEdgeHandler.prototype.refresh = function()
Refreshes the bends of this handler.
mxGraph.prototype.refresh = function(cell)
Clears all cell states or the states for the hierarchy starting at the given cell and validates the graph.
mxGraphView.prototype.refresh = function()
Clears the view if currentRoot is not null and revalidates.
mxOutline.prototype.refresh = function()
Invokes update and revalidate the outline.
mxSelectionCellsHandler.prototype.refresh = function()
Reloads or updates all handlers.
Specifies the event name for refresh.
Fires after refresh was executed.
mxSelectionCellsHandler.prototype.refreshHandler
Keeps a reference to an event listener for later removal.
mxEditor.prototype.refreshTasks = function (div)
Updates the contents of the tasks window using createTasks.
register: function(codec)
Registers a new codec and associates the name of the template constructor in the codec with the codec object.
mxCellRenderer.registerShape = function(key,
shape)
Registers the given constructor under the specified key in this instance of the renderer.
mxGeometry.prototype.relative
Specifies if the coordinates in the geometry are to be interpreted as relative coordinates.
relativeCcw: function(x1,
y1,
x2,
y2,
px,
py)
Returns 1 if the given point on the right side of the segment, 0 if its on the segment, and -1 if the point is on the left side of the segment.
release: function(element)
Removes the known listeners from the given DOM node and its descendants.
mxShape.prototype.releaseSvgGradients = function(grads)
Paints the line shape.
mxCell.prototype.remove = function(index)
Removes the child at the specified index from the child array and returns the child that was removed.
mxDictionary.prototype.remove = function(key)
Removes the value for the given key and returns the value that has been removed.
mxGraphModel.prototype.remove = function(cell)
Removes the specified cell from the model using mxChildChange and adds the change to the current transaction.
remove: function(obj,
array)
Removes all occurrences of the given object in the given array or object.
Specifies the event name for remove.
Fires if a cell has been remove from the selection.
Specifies the event name for removeCells.
Fires between begin- and endUpdate in removeCells.
Specifies the event name for removeCellsFromParent.
Fires between begin- and endUpdate in removeCellsFromParent.
Specifies the event name for removeOverlay.
Fires after an overlay is removed in removeCellOverlay and removeCellOverlays.
removeAllListeners: function(element)
Removes all listeners from the given element.
removeAllStylenames: function(style)
Removes all stylenames from the given style and returns the updated style.
mxGraphSelectionModel.prototype.removeCell = function(cell)
Removes the specified mxCell from the selection and fires a select event for the remaining cells.
mxGraph.prototype.removeCellOverlay = function(cell,
overlay)
Removes and returns the given mxCellOverlay from the given cell.
mxGraph.prototype.removeCellOverlays = function(cell)
Removes all mxCellOverlays from the given cell.
removeCells: function(graph,
cells)
Hook to remove the given cells from the given graph after a cut operation.
mxGraph.prototype.removeCells = function(cells,
includeEdges)
Removes the given cells from the graph including all connected edges if includeEdges is true.
mxGraphSelectionModel.prototype.removeCells = function(cells)
mxGraph.prototype.removeCellsFromParent = function(cells)
Removes the specified cells from their parents and adds them to the default parent.
mxGraphHandler.prototype.removeCellsFromParent
Specifies if cells may be moved out of their parents.
removeCursors: function(element)
Removes the cursors from the style of the given DOM node and its descendants.
mxDragSource.prototype.removeDragElement = function()
Removes and destroys the dragElement.
mxCell.prototype.removeEdge = function(edge,
isOutgoing)
Removes the specified edge from the edge array and returns the edge.
mxEdgeHandler.prototype.removeEnabled
Specifies if removing bends by shift-click is enabled.
mxCell.prototype.removeFromParent = function()
Removes the cell from its parent.
mxCell.prototype.removeFromTerminal = function(isSource)
Removes the edge from its source or target terminal.
removeGestureListeners: function(node,
startListener,
moveListener,
endListener)
Removes the given listeners from mousedown, mousemove, mouseup and the respective touch events if mxClient.IS_TOUCH is true.
mxEdgeHandler.prototype.removeHint = function()
Hooks for subclassers to hide details when the handler gets inactive.
mxGraphHandler.prototype.removeHint = function()
Hooks for subclassers to hide details when the handler gets inactive.
mxVertexHandler.prototype.removeHint = function()
Hooks for subclassers to hide details when the handler gets inactive.
mxGraph.prototype.removeImageBundle = function(bundle)
Removes the specified mxImageBundle.
removeListener: function()
Removes the specified listener from the given element.
mxEventSource.prototype.removeListener = function(funct)
Removes all occurrences of the given listener from eventListeners.
mxDragSource.prototype.removeListeners = function()
Actives the given graph as a drop target.
mxGraph.prototype.removeMouseListener = function(listener)
Removes the specified graph listener.
mxEdgeHandler.prototype.removePoint = function(state,
index)
Removes the control point at the given index from the given state.
mxGraph.prototype.removeSelectionCell = function(cell)
Removes the given cell from the selection.
mxGraph.prototype.removeSelectionCells = function(cells)
Removes the given cells from the selection.
mxGraphView.prototype.removeState = function(cell)
Removes and returns the mxCellState for the given cell.
mxGraph.prototype.removeStateForCell = function(cell)
Removes all cached information for the given cell and its descendants.
removeStylename: function(style,
stylename)
Removes all occurrences of the specified stylename in the given style and returns the updated style.
removeWhitespace: function(node,
before)
Removes the sibling text nodes for the given node that only consists of tabs, newlines and spaces.
mxGraph.prototype.renderHint
RenderHint as it was passed to the constructor.
mxGraphView.prototype.rendering
Specifies if shapes should be created, updated and destroyed using the methods of mxCellRenderer in graph.
Defines the exact rendering hint.
Defines the faster rendering hint.
Defines the fastest rendering hint.
mxPrintPreview.prototype.renderPage = function(w,
h,
dx,
dy,
content)
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.
mxDragSource.prototype.reset = function()
Stops and removes everything and restores the state of the object.
mxEdgeHandler.prototype.reset = function()
Resets the state of this handler.
mxGraphHandler.prototype.reset = function()
Resets the state of this handler.
mxHandle.prototype.reset = function()
Resets the state of this handle by setting its visibility to true.
mxRubberband.prototype.reset = function()
Resets the state of the rubberband selection.
mxSelectionCellsHandler.prototype.reset = function()
Resets all handlers.
mxSvgCanvas2D.prototype.reset = function()
Returns any offsets for rendering pixels.
mxTooltipHandler.prototype.reset = function(me,
restart)
Resets and/or restarts the timer to trigger the display of the tooltip.
mxVertexHandler.prototype.reset = function()
Resets the state of this handler.
Fires when the reset method is invoked.
RESET: 'reset' }
Specifies the event name for reset.
mxGraph.prototype.resetEdge = function(edge)
Resets the control points of the given edge.
mxCircleLayout.prototype.resetEdges
Specifies if all edge points of traversed edges should be removed.
mxCompactTreeLayout.prototype.resetEdges
Specifies if all edge points of traversed edges should be removed.
mxFastOrganicLayout.prototype.resetEdges
Specifies if all edge points of traversed edges should be removed.
mxGraph.prototype.resetEdges = function(cells)
Resets the control points of the edges that are connected to the given cells if not both ends of the edge are in the given cells array.
mxGraph.prototype.resetEdgesOnConnect
Specifies if edge control points should be reset after the the edge has been reconnected.
mxGraph.prototype.resetEdgesOnMove
Specifies if edge control points should be reset after the move of a connected cell.
mxGraph.prototype.resetEdgesOnResize
Specifies if edge control points should be reset after the resize of a connected cell.
mxEditor.prototype.resetFirstTime = function ()
Resets the cookie that is used to remember if the editor has already been used.
mxCellHighlight.prototype.resetHandler
Holds the handler that automatically invokes reset if the highlight should be hidden.
mxDefaultToolbar.prototype.resetHandler
Reference to the function used to reset the toolbar.
mxEditor.prototype.resetHistory = function ()
Resets the command history, modified state and counters.
mxToolbar.prototype.resetMode = function(forced)
Selects the default mode and resets the state of the previously selected mode.
mxTooltipHandler.prototype.resetTimer = function()
Resets the timer.
mxGraphView.prototype.resetValidationState = function()
Resets the current validation state.
mxGraph.prototype.resetViewOnRootChange
Specifies if the scale and translate should be reset if the root changes in the model.
mxCellEditor.prototype.resize = function()
Returns modified.
mxDivResizer.prototype.resize = function()
Updates the style of the DIV after the window has been resized.
Specifies the event name for resize.
Fires while the window is being resized.
Specifies the event name for resizeCells.
Fires between begin- and endUpdate in resizeCells.
Specifies the event name for resizeEnd.
Fires after the window is resized.
Specifies the event name for resizeStart.
Fires before the window is resized.
mxGraph.prototype.resizeCell = function(cell,
bounds,
recurse)
Sets the bounds of the given cell using resizeCells.
mxVertexHandler.prototype.resizeCell = function(cell,
dx,
dy,
index,
gridEnabled,
constrained,
recurse)
Uses the given vector to change the bounds of the given cell in the graph using mxGraph.resizeCell.
mxGraph.prototype.resizeCells = function(cells,
bounds,
recurse)
Sets the bounds of the given cells and fires a mxEvent.RESIZE_CELLS event while the transaction is in progress.
mxGraph.prototype.resizeChildCells = function(cell,
newGeo)
Resizes the child cells of the given cell for the given new geometry with respect to the current geometry of the cell.
mxGraph.prototype.resizeContainer
Specifies if the container should be resized to the graph size when the graph size has changed.
mxSwimlaneManager.prototype.resizeEnabled
Specifies if resizing of swimlanes should be handled.
Boolean specifying if the height should be updated.
mxStackLayout.prototype.resizeLast
If the last element should be resized to fill out the parent.
mxCompactTreeLayout.prototype.resizeParent
If the parents should be resized to match the width/height of the children.
mxHierarchicalLayout.prototype.resizeParent
Specifies if the parent should be resized after the layout so that it contains all the child cells.
mxStackLayout.prototype.resizeParent
If the parent should be resized to match the width/height of the stack.
mxSwimlaneLayout.prototype.resizeParent
Specifies if the parent should be resized after the layout so that it contains all the child cells.
mxStackLayout.prototype.resizeParentMax
Use maximum of existing value and new value for resize of parent.
mxSwimlaneManager.prototype.resizeSwimlane = function(swimlane,
w,
h,
parentHorizontal)
Called from cellsResized for all swimlanes that are not ignored to update the size of the siblings and the size of the parent swimlanes, recursively, if bubbling is true.
mxPartitionLayout.prototype.resizeVertices
Boolean that specifies if vertices should be resized.
Boolean specifying if the width should be updated.
resolve: function(root,
path)
Returns the cell for the specified cell path using the given root as the root of the path.
mxCellRenderer.prototype.resolveColor = function(state,
field,
key)
Resolves special keywords ‘inherit’, ‘indicated’ and ‘swimlane’ and sets the respective color on the shape.
Associative array that maps from keys to values.
Specifies whether or not values in resource files are encoded with \u or percentage.
mxAbstractCanvas2D.prototype.restore = function()
Restores the current state.
mxXmlCanvas2D.prototype.restore = function()
Restores the drawing state.
mxGraphModel.prototype.restoreClone = function(clone,
cell,
mapping)
Inner helper method for restoring the connections in a network of cloned cells.
Specifies the event name for suspend.
mxGraphView.prototype.revalidate = function()
Revalidates the complete view with all cell states.
mxCellStatePreview.prototype.revalidateState = function(state,
dx,
dy,
visitor)
mxObjectCodec.prototype.reverse
Maps from from XML attribute names to fieldnames.
reversePortConstraints: function(constraint)
Reverse the port constraint bitmask.
RhombusPerimeter: function (bounds,
vertex,
next,
orthogonal)
Describes a rhombus (aka diamond) perimeter.
mxCompactTreeLayout.prototype.root
The cell to use as the root of the tree
mxGraphModel.prototype.root
Holds the root cell, which in turn contains the cells that represent the layers of the diagram as child cells.
this.root
Reference to the container for the SVG content.
this.root
Reference to the container for the SVG content.
this.root
Reference to the container for the SVG content.
Fires when the current root has changed, or when the title of the current root has changed.
Specifies the event name for root.
Fires if the root in the model has changed.
mxGraphModel.prototype.rootChanged = function(root)
Inner callback to change the root of the model and update the internal datastructures, such as cells and nextId.
mxGraphHierarchyModel.prototype.roots
Store of roots of this hierarchy model, these are real graph cells, not internal cells
mxHierarchicalLayout.prototype.roots
Holds the array of mxCell that this layout contains.
mxSwimlaneLayout.prototype.roots
Holds the array of mxCell that this layout contains.
mxSwimlaneModel.prototype.roots
Store of roots of this hierarchy model, these are real graph cells, not internal cells
mxRadialTreeLayout.prototype.rootx
The X co-ordinate of the root cell
mxRadialTreeLayout.prototype.rooty
The Y co-ordinate of the root cell
mxGeometry.prototype.rotate = function(angle,
cx)
Rotates the geometry by the given angle around the given center.
mxSvgCanvas2D.prototype.rotate = function(theta,
flipH,
flipV,
cx,
cy)
Sets the rotation of the canvas.
mxVmlCanvas2D.prototype.rotate = function(theta,
flipH,
flipV,
cx,
cy)
Sets the rotation of the canvas.
mxXmlCanvas2D.prototype.rotate = function(theta,
flipH,
flipV,
cx,
cy)
Rotates and/or flips the output around a given center.
mxRectangle.prototype.rotate90 = function()
Rotates this rectangle by 90 degree around its center point.
Rotates the given cell to the given rotation.
mxVertexHandler.prototype.rotateClick = function()
Hook for subclassers to implement a single click on the rotation handle.
mxVmlCanvas2D.prototype.rotatedHtmlBackground
Background color for rotated HTML.
mxAbstractCanvas2D.prototype.rotateHtml
Switch for rotation of HTML.
mxCellRenderer.prototype.rotateLabelBounds = function(state,
bounds)
Adds the shape rotation to the given label bounds and applies the alignment and offsets.
mxAbstractCanvas2D.prototype.rotatePoint = function(x,
y,
theta,
cx,
cy)
Rotates the given point and returns the result as an mxPoint.
mxHandle.prototype.rotatePoint = function(pt,
alpha)
Rotates the point by the given angle.
Index for the rotation handle in an mxMouseEvent.
mxVertexHandler.prototype.rotationCursor
Specifies the cursor for the rotation handle.
mxGraphHandler.prototype.rotationEnabled
Specifies if the bounding box should allow for rotation.
mxVertexHandler.prototype.rotationEnabled
Specifies if a rotation handle should be visible.
mxVertexHandler.prototype.rotationHandleVSpacing
Vertical spacing for rotation icon.
mxVertexHandler.prototype.rotationRaster
Specifies if rotation steps should be “rasterized” depening on the distance to the handle.
mxVertexHandler.prototype.roundAngle = function(angle)
Hook for rounding the angle.
mxEdgeHandler.prototype.roundLength = function(length)
Hook for rounding the unscaled width or height.
mxGraphHandler.prototype.roundLength = function(length)
Hook for rounding the unscaled vector.
mxVertexHandler.prototype.roundLength = function(length)
Hook for rounding the unscaled width or height.
mxSvgCanvas2D.prototype.roundrect = function(x,
y,
w,
h,
dx,
dy)
Private helper function to create SVG elements
mxVmlCanvas2D.prototype.roundrect = function(x,
y,
w,
h,
dx,
dy)
Sets the current path to a rounded rectangle.
mxXmlCanvas2D.prototype.roundrect = function(x,
y,
w,
h,
dx,
dy)
Puts a rounded rectangle into the drawing buffer.
mxParallelEdgeLayout.prototype.route = function(edge,
x,
y)
Routes the given edge via the given point.
mxRadialTreeLayout.prototype.row
Array of vertices on each row
mxRadialTreeLayout.prototype.rowMaxCenX
Array of x coordinate of rightmost vertex of each row
mxRadialTreeLayout.prototype.rowMaxX
Array of rightmost x coordinate of each row
mxRadialTreeLayout.prototype.rowMinCenX
Array of x coordinate of leftmost vertex of each row
mxRadialTreeLayout.prototype.rowMinX
Array of leftmost x coordinate of each row
mxRadialTreeLayout.prototype.rowRadi
Array of y deltas of each row behind root vertex, also the radius in the tree
rtrim: function(str,
chars)
Strips all whitespaces from the end of the string.
mxHierarchicalLayout.prototype.run = function(parent)
The API method used to exercise the layout upon the graph description and produce a separate description of the vertex position and edge routing changes made.
mxSwimlaneLayout.prototype.run = function(parent)
The API method used to exercise the layout upon the graph description and produce a separate description of the vertex position and edge routing changes made.
@@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/General16.html b/docs/js-api/index/General16.html index 2dbeb3c3f..5819ad2a0 100644 --- a/docs/js-api/index/General16.html +++ b/docs/js-api/index/General16.html @@ -11,9 +11,9 @@ if (browserType) {document.write("
");if (browserV -
Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
S
 save
 SAVE
 scale
 SCALE
 SCALE_AND_TRANSLATE
 scaleAndTranslate, mxGraphView
 scaleCell, mxGraph
 scaleGrid, mxGraphHandler
 screenX, mxPopupMenuHandler
 screenY, mxPopupMenuHandler
 scrollCellToVisible, mxGraph
 scrollOnMove, mxGraphHandler
 scrollPointToVisible, mxGraph
 scrollRectToVisible, mxGraph
 SegmentConnector, mxEdgeStyle
 segments, mxCellState
 select, mxConnectionHandler
 SELECT
 selectAll, mxGraph
 selectCell, mxGraph
 selectCellForEvent, mxGraph
 selectCells
 selectCellsForEvent, mxGraph
 selectChildCell, mxGraph
 selectDelayed, mxGraphHandler
 selectEnabled, mxGraphHandler
 Selection, mxGraph
 Selection state, mxGraph
 SELECTION_DASHED, mxConstants
 selectionModel, mxGraph
 selectMode, mxToolbar
 selectNextCell, mxGraph
 selectOnPopup, mxPopupMenuHandler
 selectParentCell, mxGraph
 selectPreviousCell, mxGraph
 selectRegion, mxGraph
 selectText, mxCellEditor
 selectVertices, mxGraph
 send, mxXmlRequest
 setAbsoluteTerminalPoint, mxCellState
 setAddEnabled, mxSwimlaneManager
 setAllowDanglingEdges, mxGraph
 setAllowEval, mxGraphView
 setAllowLoops, mxGraph
 setAlpha
 setAttribute
 setAutoSizeCells, mxGraph
 setBackgroundImage, mxGraph
 setBaseDomain, mxUrlConverter
 setBaseUrl, mxUrlConverter
 setBinary, mxXmlRequest
 setBorder, mxGraph
 setBubbling, mxLayoutManager
 setCell, mxGraphSelectionModel
 setCellHeights, mxCompactTreeLayout
 setCellLocations, mxCoordinateAssignment
 setCells
 setCellsBendable, mxGraph
 setCellsCloneable, mxGraph
 setCellsDeletable, mxGraph
 setCellsDisconnectable, mxGraph
 setCellsEditable, mxGraph
 setCellsMovable, mxGraph
 setCellsResizable, mxGraph
 setCellsSelectable, mxGraph
 setCellStyle, mxGraph
 setCellStyleFlags
 setCellStyles
 setCellWarning, mxGraph
 setCloneEnabled, mxGraphHandler
 setCloneInvalidEdges, mxGraph
 setClosable, mxWindow
 setCollapsed
 setConnectable
 setConnectableEdges, mxGraph
 setConnectionConstraint, mxGraph
 setConstrainChildren, mxGraph
 setConstrainChildrenOnResize, mxGraph
 setCreateIds, mxGraphModel
 setCreateTarget, mxConnectionHandler
 setCurrentRoot, mxGraphView
 setCurrentState, mxCellMarker
 setCursor
 setDashed
 setDashPattern
 setDefaultParent, mxGraph
 setDisconnectOnMove, mxGraph
 setDropEnabled, mxGraph
 setEdge, mxCell
 setEdgePoints, mxGraphLayout
 setEdgePosition, mxCoordinateAssignment
 setEdgeStyleEnabled, mxGraphLayout
 setEnabled
 setEnterStopsCellEditing, mxGraph
 setEscapeEnabled, mxGraph
 setEventsEnabled, mxEventSource
 setEventSource, mxEventSource
 setExtendParents, mxGraph
 setExtendParentsOnAdd, mxGraph
 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
 setInnerHtml, mxText
 setInvokesStopCellEditing, mxGraph
 setLineCap
 setLineJoin
 setLink
 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
 setPinchEnabled, mxPanningHandler
 setPortsEnabled, mxGraph
 setPosition, mxHandle
 setPrefixedStyle, mxUtils
 setPreviewColor, mxEdgeHandler
 setRect, mxRectangle
 setRecursiveResize, mxGraph
 setRemoveCellsFromParent, mxGraphHandler
 setRendering, mxGraphView
 setRequestHeaders, mxXmlRequest
 setResizable, mxWindow
 setResizeContainer, mxGraph
 setResizeEnabled, mxSwimlaneManager
 setRoot, mxGraphModel
 setScale, mxGraphView
 setScrollable, mxWindow
 setSelectEnabled, mxGraphHandler
 setSelectionCell, mxGraph
 setSelectionCells, mxGraph
 setSelectionModel, mxGraph
 setShadow
 setShadowAlpha
 setShadowColor
 setShadowOffset
 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_ARROW_CONNECTOR, mxConstants
 SHAPE_CLOUD, mxConstants
 SHAPE_CONNECTOR, mxConstants
 SHAPE_CYLINDER, mxConstants
 SHAPE_DOUBLE_ELLIPSE, mxConstants
 SHAPE_ELLIPSE, mxConstants
 SHAPE_HEXAGON, mxConstants
 SHAPE_IMAGE, mxConstants
 SHAPE_LABEL, mxConstants
 SHAPE_LINE, mxConstants
 SHAPE_RECTANGLE, mxConstants
 SHAPE_RHOMBUS, mxConstants
 SHAPE_SWIMLANE, mxConstants
 SHAPE_TRIANGLE, mxConstants
 shapePointerEvents, mxShape
 sharedDiv, mxRubberband
 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
 simulate, mxXmlRequest
 singleSelection, mxGraphSelectionModel
 singleSizer, mxVertexHandler
 size, mxUndoManager
 SIZE
 sizeDidChange, mxGraph
 sizerImage, mxOutline
 smartSeparators, mxPopupMenu
 snap
 snapPoint, mxHandle
 snapToPreview, mxConnectionHandler
 snapToTerminals, mxEdgeHandler
 sortCells, mxUtils
 sortEdges
 sortOutgoingEdges, mxCompactTreeLayout
 source
 sourcePoint, mxGeometry
 SOURCESCANSTARTRANK
 spacing
 SPLIT_EDGE
 splitEdge, mxGraph
 splitEnabled, mxGraph
 src, mxImage
 start
 START
 START_EDIT
 START_EDITING
 startAnimation, mxAnimation
 startDrag, mxDragSource
 startEditing
 startEditingAtCell, mxGraph
 startX, mxPanningHandler
 startY, mxPanningHandler
 state
 states
 stateValidated, mxGraphView
 status, mxEditor
 stencil, mxShape
 stencilPointerEvents, mxShape
 step, mxMorphing
 steps, mxMorphing
 STEPSIZE, mxClipboard
 stopAnimation, mxAnimation
 stopDrag, mxDragSource
 stopEditing
 stopRecursion, mxMorphing
 straightRemoveEnabled, mxEdgeHandler
 stroke
 strokeTolerance, mxSvgCanvas2D
 strokewidth, mxStencil
 style
 STYLE_ALIGN, mxConstants
 STYLE_ARCSIZE, mxConstants
 STYLE_ASPECT, mxConstants
 STYLE_AUTOSIZE, mxConstants
 STYLE_BENDABLE, mxConstants
 STYLE_CLONEABLE, mxConstants
 STYLE_CURVED, mxConstants
 STYLE_DASHED, mxConstants
 STYLE_DELETABLE, mxConstants
 STYLE_DIRECTION, mxConstants
 STYLE_EDGE, mxConstants
 STYLE_EDITABLE, mxConstants
 STYLE_ELBOW, mxConstants
 STYLE_ENDARROW, mxConstants
 STYLE_ENDFILL, mxConstants
 STYLE_ENDSIZE, mxConstants
 STYLE_ENTRY_PERIMETER, mxConstants
 STYLE_ENTRY_X, mxConstants
 STYLE_ENTRY_Y, mxConstants
 STYLE_EXIT_PERIMETER, mxConstants
 STYLE_EXIT_X, mxConstants
 STYLE_EXIT_Y, mxConstants
 STYLE_FILLCOLOR, mxConstants
 STYLE_FLIPH, mxConstants
 STYLE_FLIPV, mxConstants
 STYLE_FOLDABLE, mxConstants
 STYLE_FONTCOLOR, mxConstants
 STYLE_FONTFAMILY, mxConstants
 STYLE_FONTSIZE, mxConstants
 STYLE_FONTSTYLE, mxConstants
 STYLE_GLASS, mxConstants
 STYLE_GRADIENT_DIRECTION, mxConstants
 STYLE_GRADIENTCOLOR, mxConstants
 STYLE_HORIZONTAL, mxConstants
 STYLE_IMAGE, mxConstants
 STYLE_IMAGE_ALIGN, mxConstants
 STYLE_IMAGE_ASPECT, mxConstants
 STYLE_IMAGE_BACKGROUND, mxConstants
 STYLE_IMAGE_BORDER, mxConstants
 STYLE_IMAGE_HEIGHT, mxConstants
 STYLE_IMAGE_VERTICAL_ALIGN, mxConstants
 STYLE_IMAGE_WIDTH, mxConstants
 STYLE_INDICATOR_COLOR, mxConstants
 STYLE_INDICATOR_DIRECTION, mxConstants
 STYLE_INDICATOR_GRADIENTCOLOR, mxConstants
 STYLE_INDICATOR_HEIGHT, mxConstants
 STYLE_INDICATOR_IMAGE, mxConstants
 STYLE_INDICATOR_SHAPE, mxConstants
 STYLE_INDICATOR_SPACING, mxConstants
 STYLE_INDICATOR_STROKECOLOR, mxConstants
 STYLE_INDICATOR_WIDTH, mxConstants
 STYLE_LABEL_BACKGROUNDCOLOR, mxConstants
 STYLE_LABEL_BORDERCOLOR, mxConstants
 STYLE_LABEL_PADDING, mxConstants
 STYLE_LABEL_POSITION, mxConstants
 STYLE_LABEL_WIDTH, mxConstants
 STYLE_LOOP, mxConstants
 STYLE_MARGIN, mxConstants
 STYLE_MOVABLE, mxConstants
 STYLE_NOEDGESTYLE, mxConstants
 STYLE_NOLABEL, mxConstants
 STYLE_OPACITY, mxConstants
 STYLE_ORTHOGONAL, mxConstants
 STYLE_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_FILLCOLOR, mxConstants
 STYLE_SWIMLANE_LINE, mxConstants
 STYLE_TARGET_PERIMETER_SPACING, mxConstants
 STYLE_TARGET_PORT, mxConstants
 STYLE_TEXT_DIRECTION, mxConstants
 STYLE_TEXT_OPACITY, mxConstants
 STYLE_VERTICAL_ALIGN, mxConstants
 STYLE_VERTICAL_LABEL_POSITION, mxConstants
 STYLE_WHITE_SPACE, mxConstants
 styleEnabled, mxSvgCanvas2D
 styleForCellChanged, mxGraphModel
 styles, mxStylesheet
 stylesheet, mxGraph
 submenuImage, mxPopupMenu
 submit, mxUtils
 SUSPEND, mxEvent
 suspended, mxOutline
 svgPointerEvents, mxShape
 svgStrokeTolerance
 swap, mxGeometry
 swapBounds, mxGraph
 swapStyles, mxEditor
 swimlaneAdded, mxSwimlaneManager
 swimlaneIndicatorColorAttribute, mxGraph
 swimlaneNesting, mxGraph
 swimlaneRequired, mxEditor
 swimlanes, mxSwimlaneLayout
 swimlaneSelectionEnabled, mxGraph
 swimlaneSpacing, mxEditor
+
Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
S
 save
 SAVE
 scale
 SCALE
 SCALE_AND_TRANSLATE
 scaleAndTranslate, mxGraphView
 scaleCell, mxGraph
 scaleGrid, mxGraphHandler
 screenX, mxPopupMenuHandler
 screenY, mxPopupMenuHandler
 scrollCellToVisible, mxGraph
 scrollOnMove, mxGraphHandler
 scrollPointToVisible, mxGraph
 scrollRectToVisible, mxGraph
 SegmentConnector, mxEdgeStyle
 segments, mxCellState
 select, mxConnectionHandler
 SELECT
 selectAll, mxGraph
 selectCell, mxGraph
 selectCellForEvent, mxGraph
 selectCells
 selectCellsForEvent, mxGraph
 selectChildCell, mxGraph
 selectDelayed, mxGraphHandler
 selectEnabled, mxGraphHandler
 Selection, mxGraph
 Selection state, mxGraph
 SELECTION_DASHED, mxConstants
 selectionModel, mxGraph
 selectMode, mxToolbar
 selectNextCell, mxGraph
 selectOnPopup, mxPopupMenuHandler
 selectParentCell, mxGraph
 selectPreviousCell, mxGraph
 selectRegion, mxGraph
 selectText, mxCellEditor
 selectVertices, mxGraph
 send, mxXmlRequest
 setAbsoluteTerminalPoint, mxCellState
 setAddEnabled, mxSwimlaneManager
 setAllowDanglingEdges, mxGraph
 setAllowEval, mxGraphView
 setAllowLoops, mxGraph
 setAlpha
 setAttribute
 setAutoSizeCells, mxGraph
 setBackgroundImage, mxGraph
 setBaseDomain, mxUrlConverter
 setBaseUrl, mxUrlConverter
 setBinary, mxXmlRequest
 setBorder, mxGraph
 setBubbling, mxLayoutManager
 setCell, mxGraphSelectionModel
 setCellHeights, mxCompactTreeLayout
 setCellLocations, mxCoordinateAssignment
 setCells
 setCellsBendable, mxGraph
 setCellsCloneable, mxGraph
 setCellsDeletable, mxGraph
 setCellsDisconnectable, mxGraph
 setCellsEditable, mxGraph
 setCellsMovable, mxGraph
 setCellsResizable, mxGraph
 setCellsSelectable, mxGraph
 setCellStyle, mxGraph
 setCellStyleFlags
 setCellStyles
 setCellWarning, mxGraph
 setCloneEnabled, mxGraphHandler
 setCloneInvalidEdges, mxGraph
 setClosable, mxWindow
 setCollapsed
 setConnectable
 setConnectableEdges, mxGraph
 setConnectionConstraint, mxGraph
 setConstrainChildren, mxGraph
 setConstrainChildrenOnResize, mxGraph
 setCreateIds, mxGraphModel
 setCreateTarget, mxConnectionHandler
 setCurrentRoot, mxGraphView
 setCurrentState, mxCellMarker
 setCursor
 setDashed
 setDashPattern
 setDefaultParent, mxGraph
 setDisconnectOnMove, mxGraph
 setDropEnabled, mxGraph
 setEdge, mxCell
 setEdgePoints, mxGraphLayout
 setEdgePosition, mxCoordinateAssignment
 setEdgeStyleEnabled, mxGraphLayout
 setEnabled
 setEnterStopsCellEditing, mxGraph
 setEscapeEnabled, mxGraph
 setEventsEnabled, mxEventSource
 setEventSource, mxEventSource
 setExtendParents, mxGraph
 setExtendParentsOnAdd, mxGraph
 setExtendParentsOnMove, mxGraph
 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
 setInnerHtml, mxText
 setInvokesStopCellEditing, mxGraph
 setLineCap
 setLineJoin
 setLink
 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
 setPinchEnabled, mxPanningHandler
 setPortsEnabled, mxGraph
 setPosition, mxHandle
 setPrefixedStyle, mxUtils
 setPreviewColor, mxEdgeHandler
 setRect, mxRectangle
 setRecursiveResize, mxGraph
 setRemoveCellsFromParent, mxGraphHandler
 setRendering, mxGraphView
 setRequestHeaders, mxXmlRequest
 setResizable, mxWindow
 setResizeContainer, mxGraph
 setResizeEnabled, mxSwimlaneManager
 setRoot, mxGraphModel
 setScale, mxGraphView
 setScrollable, mxWindow
 setSelectEnabled, mxGraphHandler
 setSelectionCell, mxGraph
 setSelectionCells, mxGraph
 setSelectionModel, mxGraph
 setShadow
 setShadowAlpha
 setShadowColor
 setShadowOffset
 setSingleSelection, mxGraphSelectionModel
 setSize, mxWindow
 setSplitEnabled, mxGraph
 setStates
 setStatus, mxEditor
 setStatusContainer, mxEditor
 setStrokeColor
 setStrokeWidth
 setStyle
 setStyleFlag, mxUtils
 setStylesheet, mxGraph
 setSwimlaneNesting, mxGraph
 setSwimlaneSelectionEnabled, mxGraph
 setTerminal
 setTerminalPoint, mxGeometry
 setTerminals, mxGraphModel
 setTextContent, mxUtils
 setTitle, mxWindow
 setTitleContainer, mxEditor
 setTolerance, mxGraph
 setToolbarContainer, mxEditor
 setTooltips, mxGraph
 setTranslate, mxGraphView
 setTransparentBackgroundImage, mxShape
 setValue
 setVertex, mxCell
 setVertexLabelsMovable, mxGraph
 setVertexLocation
 setVisible
 setVisibleTerminalState, mxCellState
 setX, mxGraphAbstractHierarchyCell
 setY, mxGraphAbstractHierarchyCell
 setZoomEnabled, mxOutline
 SHADOW_OFFSET_X, mxConstants
 SHADOW_OFFSET_Y, mxConstants
 SHADOW_OPACITY, mxConstants
 SHADOWCOLOR, mxConstants
 shape
 SHAPE_ACTOR, mxConstants
 SHAPE_ARROW, mxConstants
 SHAPE_ARROW_CONNECTOR, mxConstants
 SHAPE_CLOUD, mxConstants
 SHAPE_CONNECTOR, mxConstants
 SHAPE_CYLINDER, mxConstants
 SHAPE_DOUBLE_ELLIPSE, mxConstants
 SHAPE_ELLIPSE, mxConstants
 SHAPE_HEXAGON, mxConstants
 SHAPE_IMAGE, mxConstants
 SHAPE_LABEL, mxConstants
 SHAPE_LINE, mxConstants
 SHAPE_RECTANGLE, mxConstants
 SHAPE_RHOMBUS, mxConstants
 SHAPE_SWIMLANE, mxConstants
 SHAPE_TRIANGLE, mxConstants
 shapePointerEvents, mxShape
 sharedDiv, mxRubberband
 shiftKeys, mxKeyHandler
 shouldRemoveCellsFromParent, mxGraphHandler
 show
 SHOW
 showHelp, mxEditor
 showMenu, mxPopupMenu
 showOutline, mxEditor
 showProperties, mxEditor
 showSubmenu, mxPopupMenu
 showTasks, mxEditor
 showViewport, mxOutline
 SideToSide, mxEdgeStyle
 significant, mxUndoableEdit
 simulate, mxXmlRequest
 singleSelection, mxGraphSelectionModel
 singleSizer, mxVertexHandler
 size, mxUndoManager
 SIZE
 sizeDidChange, mxGraph
 sizerImage, mxOutline
 smartSeparators, mxPopupMenu
 snap
 snapPoint, mxHandle
 snapToPreview, mxConnectionHandler
 snapToTerminals, mxEdgeHandler
 sortCells, mxUtils
 sortEdges
 sortOutgoingEdges, mxCompactTreeLayout
 source
 sourcePoint, mxGeometry
 SOURCESCANSTARTRANK
 spacing
 SPLIT_EDGE
 splitEdge, mxGraph
 splitEnabled, mxGraph
 src, mxImage
 start
 START
 START_EDIT
 START_EDITING
 startAnimation, mxAnimation
 startDrag, mxDragSource
 startEditing
 startEditingAtCell, mxGraph
 startX, mxPanningHandler
 startY, mxPanningHandler
 state
 states
 stateValidated, mxGraphView
 status, mxEditor
 stencil, mxShape
 stencilPointerEvents, mxShape
 step, mxMorphing
 steps, mxMorphing
 STEPSIZE, mxClipboard
 stopAnimation, mxAnimation
 stopDrag, mxDragSource
 stopEditing
 stopRecursion, mxMorphing
 straightRemoveEnabled, mxEdgeHandler
 stroke
 strokeTolerance, mxSvgCanvas2D
 strokewidth, mxStencil
 style
 STYLE_ALIGN, mxConstants
 STYLE_ARCSIZE, mxConstants
 STYLE_ASPECT, mxConstants
 STYLE_AUTOSIZE, mxConstants
 STYLE_BENDABLE, mxConstants
 STYLE_CLONEABLE, mxConstants
 STYLE_CURVED, mxConstants
 STYLE_DASHED, mxConstants
 STYLE_DELETABLE, mxConstants
 STYLE_DIRECTION, mxConstants
 STYLE_EDGE, mxConstants
 STYLE_EDITABLE, mxConstants
 STYLE_ELBOW, mxConstants
 STYLE_ENDARROW, mxConstants
 STYLE_ENDFILL, mxConstants
 STYLE_ENDSIZE, mxConstants
 STYLE_ENTRY_PERIMETER, mxConstants
 STYLE_ENTRY_X, mxConstants
 STYLE_ENTRY_Y, mxConstants
 STYLE_EXIT_PERIMETER, mxConstants
 STYLE_EXIT_X, mxConstants
 STYLE_EXIT_Y, mxConstants
 STYLE_FILLCOLOR, mxConstants
 STYLE_FLIPH, mxConstants
 STYLE_FLIPV, mxConstants
 STYLE_FOLDABLE, mxConstants
 STYLE_FONTCOLOR, mxConstants
 STYLE_FONTFAMILY, mxConstants
 STYLE_FONTSIZE, mxConstants
 STYLE_FONTSTYLE, mxConstants
 STYLE_GLASS, mxConstants
 STYLE_GRADIENT_DIRECTION, mxConstants
 STYLE_GRADIENTCOLOR, mxConstants
 STYLE_HORIZONTAL, mxConstants
 STYLE_IMAGE, mxConstants
 STYLE_IMAGE_ALIGN, mxConstants
 STYLE_IMAGE_ASPECT, mxConstants
 STYLE_IMAGE_BACKGROUND, mxConstants
 STYLE_IMAGE_BORDER, mxConstants
 STYLE_IMAGE_HEIGHT, mxConstants
 STYLE_IMAGE_VERTICAL_ALIGN, mxConstants
 STYLE_IMAGE_WIDTH, mxConstants
 STYLE_INDICATOR_COLOR, mxConstants
 STYLE_INDICATOR_DIRECTION, mxConstants
 STYLE_INDICATOR_GRADIENTCOLOR, mxConstants
 STYLE_INDICATOR_HEIGHT, mxConstants
 STYLE_INDICATOR_IMAGE, mxConstants
 STYLE_INDICATOR_SHAPE, mxConstants
 STYLE_INDICATOR_SPACING, mxConstants
 STYLE_INDICATOR_STROKECOLOR, mxConstants
 STYLE_INDICATOR_WIDTH, mxConstants
 STYLE_LABEL_BACKGROUNDCOLOR, mxConstants
 STYLE_LABEL_BORDERCOLOR, mxConstants
 STYLE_LABEL_PADDING, mxConstants
 STYLE_LABEL_POSITION, mxConstants
 STYLE_LABEL_WIDTH, mxConstants
 STYLE_LOOP, mxConstants
 STYLE_MARGIN, mxConstants
 STYLE_MOVABLE, mxConstants
 STYLE_NOEDGESTYLE, mxConstants
 STYLE_NOLABEL, mxConstants
 STYLE_OPACITY, mxConstants
 STYLE_ORTHOGONAL, mxConstants
 STYLE_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_FILLCOLOR, mxConstants
 STYLE_SWIMLANE_LINE, mxConstants
 STYLE_TARGET_PERIMETER_SPACING, mxConstants
 STYLE_TARGET_PORT, mxConstants
 STYLE_TEXT_DIRECTION, mxConstants
 STYLE_TEXT_OPACITY, mxConstants
 STYLE_VERTICAL_ALIGN, mxConstants
 STYLE_VERTICAL_LABEL_POSITION, mxConstants
 STYLE_WHITE_SPACE, mxConstants
 styleEnabled, mxSvgCanvas2D
 styleForCellChanged, mxGraphModel
 styles, mxStylesheet
 stylesheet, mxGraph
 submenuImage, mxPopupMenu
 submit, mxUtils
 SUSPEND, mxEvent
 suspended, mxOutline
 svgPointerEvents, mxShape
 svgStrokeTolerance
 swap, mxGeometry
 swapBounds, mxGraph
 swapStyles, mxEditor
 swimlaneAdded, mxSwimlaneManager
 swimlaneIndicatorColorAttribute, mxGraph
 swimlaneNesting, mxGraph
 swimlaneRequired, mxEditor
 swimlanes, mxSwimlaneLayout
 swimlaneSelectionEnabled, mxGraph
 swimlaneSpacing, mxEditor
-
mxAbstractCanvas2D.prototype.save = function()
Saves the current state.
mxAutoSaveManager.prototype.save = function()
Empty hook that is called if the graph should be saved.
mxEditor.prototype.save = function (url,
linefeed)
Posts the string returned by writeGraphModel to the given URL or the URL returned by getUrlPost.
mxXmlCanvas2D.prototype.save = function()
Saves the drawing state.
Fires after the current file was saved in save.
Specifies the event name for open.
mxAbstractCanvas2D.prototype.scale = function(value)
Scales the current state.
mxGeometry.prototype.scale = function(sx,
sy,
fixedAspect)
Scales the geometry by the given amount.
mxGraphView.prototype.scale
Specifies the scale.
mxPrintPreview.prototype.scale
Holds the scale of the print preview.
mxShape.prototype.scale
Holds the scale in which the shape is being painted.
mxXmlCanvas2D.prototype.scale = function(value)
Scales the output.
Specifies the event name for scale.
Fires after the scale was changed in setScale.
Specifies the event name for scaleAndTranslate.
Fires after the scale and translate have been changed in scaleAndTranslate.
mxGraphView.prototype.scaleAndTranslate = function(scale,
dx,
dy)
Sets the scale and translation and fires a scale and translate event before calling revalidate followed by mxGraph.sizeDidChange.
mxGraph.prototype.scaleCell = function(cell,
dx,
dy,
recurse)
Scales the points, position and size of the given cell according to the given vertical and horizontal scaling factors.
mxGraphHandler.prototype.scaleGrid
Specifies if the grid should be scaled.
mxPopupMenuHandler.prototype.screenX
Screen X-coordinate of the mouse down event.
mxPopupMenuHandler.prototype.screenY
Screen Y-coordinate of the mouse down event.
mxGraph.prototype.scrollCellToVisible = function(cell,
center)
Pans the graph so that it shows the given cell.
mxGraphHandler.prototype.scrollOnMove
Specifies if the view should be scrolled so that a moved cell is visible.
mxGraph.prototype.scrollPointToVisible = function(x,
y,
extend,
border)
Scrolls the graph to the given point, extending the graph container if specified.
mxGraph.prototype.scrollRectToVisible = function(rect)
Pans the graph so that it shows the given rectangle.
SegmentConnector: function(state,
source,
target,
hints,
result)
Implements an orthogonal edge style.
mxCellState.prototype.segments
Array of numbers that represent the cached length of each segment of the edge.
mxConnectionHandler.prototype.select
Specifies if new edges should be selected.
Specifies the event name for select.
Fires when an item was selected in the toolbar.
mxGraph.prototype.selectAll = function(parent)
Selects all children of the given parent cell or the children of the default parent if no parent is specified.
mxGraph.prototype.selectCell = function(isNext,
isParent,
isChild)
Selects the next, parent, first child or previous cell, if all arguments are false.
mxGraph.prototype.selectCellForEvent = function(cell,
evt)
Selects the given cell by either adding it to the selection or replacing the selection depending on whether the given mouse event is a toggle event.
mxConnectionHandler.prototype.selectCells = function(edge,
target)
Selects the given edge after adding a new connection.
mxGraph.prototype.selectCells = function(vertices,
edges,
parent)
Selects all vertices and/or edges depending on the given boolean arguments recursively, starting at the given parent or the default parent if no parent is specified.
mxGraph.prototype.selectCellsForEvent = function(cells,
evt)
Selects the given cells by either adding them to the selection or replacing the selection depending on whether the given mouse event is a toggle event.
mxGraph.prototype.selectChildCell = function()
Selects the first child cell.
mxGraphHandler.prototype.selectDelayed = function(me)
Implements the delayed selection for the given mouse event.
mxGraphHandler.prototype.selectEnabled
Specifies if selecting is enabled.
Defines the dashed state to be used for the vertex selection border.
mxGraph.prototype.selectionModel
Holds the mxGraphSelectionModel that models the current selection.
mxToolbar.prototype.selectMode = function(domNode,
funct)
Resets the state of the previously selected mode and displays the given DOM node as selected.
mxGraph.prototype.selectNextCell = function()
Selects the next cell.
mxPopupMenuHandler.prototype.selectOnPopup
Specifies if cells should be selected if a popupmenu is displayed for them.
mxGraph.prototype.selectParentCell = function()
Selects the parent cell.
mxGraph.prototype.selectPreviousCell = function()
Selects the previous cell.
mxGraph.prototype.selectRegion = function(rect,
evt)
Selects and returns the cells inside the given rectangle for the specified event.
mxCellEditor.prototype.selectText
Specifies if the text should be selected when editing starts.
mxGraph.prototype.selectVertices = function(parent)
Select all vertices inside the given parent or the default parent.
mxXmlRequest.prototype.send = function(onload,
onerror)
Send the request to the target URL using the specified functions to process the response asychronously.
mxCellState.prototype.setAbsoluteTerminalPoint = function (point,
isSource)
Sets the first or last point in absolutePoints depending on isSource.
mxSwimlaneManager.prototype.setAddEnabled = function(value)
Sets addEnabled.
mxGraph.prototype.setAllowDanglingEdges = function(value)
Specifies if dangling edges are allowed, that is, if edges are allowed that do not have a source and/or target terminal defined.
mxGraphView.prototype.setAllowEval = function(value)
Sets allowEval.
mxGraph.prototype.setAllowLoops = function(value)
Specifies if loops are allowed.
mxAbstractCanvas2D.prototype.setAlpha = function(value)
Sets the current alpha.
mxXmlCanvas2D.prototype.setAlpha = function(value)
Sets the current alpha.
mxCell.prototype.setAttribute = function(name,
value)
Sets the specified attribute on the user object if it is an XML node.
mxCodec.prototype.setAttribute = function(node,
attribute,
value)
Sets the attribute on the specified node to value.
mxGraph.prototype.setAutoSizeCells = function(value)
Specifies if cell sizes should be automatically updated after a label change.
mxGraph.prototype.setBackgroundImage = function(image)
Sets the new backgroundImage.
mxUrlConverter.prototype.setBaseDomain = function(value)
Sets baseDomain.
mxUrlConverter.prototype.setBaseUrl = function(value)
Sets baseUrl.
mxXmlRequest.prototype.setBinary = function(value)
Sets binary.
mxGraph.prototype.setBorder = function(value)
Sets the value of border.
mxLayoutManager.prototype.setBubbling = function(value)
Sets bubbling.
mxGraphSelectionModel.prototype.setCell = function(cell)
Selects the specified mxCell using setCells.
mxCompactTreeLayout.prototype.setCellHeights = function(node,
rank)
Set the cells heights (relative to the layout direction) when the tops of each rank are to be aligned
mxCoordinateAssignment.prototype.setCellLocations = function(graph,
model)
Sets the cell locations in the facade to those stored after this layout processing step has completed.
setCells: function(cells)
Sets the cells in the clipboard.
mxGraphSelectionModel.prototype.setCells = function(cells)
Selects the given array of mxCells and fires a change event.
mxGraph.prototype.setCellsBendable = function(value)
Specifies if the graph should allow bending of edges.
mxGraph.prototype.setCellsCloneable = function(value)
Specifies if the graph should allow cloning of cells by holding down the control key while cells are being moved.
mxGraph.prototype.setCellsDeletable = function(value)
Sets cellsDeletable.
mxGraph.prototype.setCellsDisconnectable = function(value)
Sets cellsDisconnectable.
mxGraph.prototype.setCellsEditable = function(value)
Specifies if the graph should allow in-place editing for cell labels.
mxGraph.prototype.setCellsMovable = function(value)
Specifies if the graph should allow moving of cells.
mxGraph.prototype.setCellsResizable = function(value)
Specifies if the graph should allow resizing of cells.
mxGraph.prototype.setCellsSelectable = function(value)
Sets cellsSelectable.
mxGraph.prototype.setCellStyle = function(style,
cells)
Sets the style of the specified cells.
mxGraph.prototype.setCellStyleFlags = function(key,
flag,
value,
cells)
Sets or toggles the given bit for the given key in the styles of the specified cells.
setCellStyleFlags: function(model,
cells,
key,
flag,
value)
Sets or toggles the flag bit for the given key in the cell’s styles.
mxGraph.prototype.setCellStyles = function(key,
value,
cells)
Sets the key to value in the styles of the given cells.
setCellStyles: function(model,
cells,
key,
value)
Assigns the value for the given key in the styles of the given cells, or removes the key from the styles if the value is null.
mxGraph.prototype.setCellWarning = function(cell,
warning,
img,
isSelect)
Creates an overlay for the given cell using the warning and image or warningImage and returns the new mxCellOverlay.
mxGraphHandler.prototype.setCloneEnabled = function(value)
Sets cloneEnabled.
mxGraph.prototype.setCloneInvalidEdges = function(value)
Specifies if edges should be inserted when cloned but not valid wrt.
mxWindow.prototype.setClosable = function(closable)
Sets the image associated with the window.
mxCell.prototype.setCollapsed = function(collapsed)
Sets the collapsed state.
mxGraphModel.prototype.setCollapsed = function(cell,
collapsed)
Sets the collapsed state of the given mxCell using mxCollapseChange and adds the change to the current transaction.
mxCell.prototype.setConnectable = function(connectable)
Sets the connectable state.
mxGraph.prototype.setConnectable = function(connectable)
Specifies if the graph should allow new connections.
mxGraph.prototype.setConnectableEdges = function(value)
Specifies if edges should be connectable.
mxGraph.prototype.setConnectionConstraint = function(edge,
terminal,
source,
constraint)
Sets the mxConnectionConstraint that describes the given connection point.
mxGraph.prototype.setConstrainChildren = function(value)
Sets constrainChildren.
mxGraph.prototype.setConstrainChildrenOnResize = function(value)
Sets constrainChildrenOnResize.
mxGraphModel.prototype.setCreateIds = function(value)
Sets createIds.
mxConnectionHandler.prototype.setCreateTarget = function(value)
Sets createTarget.
mxGraphView.prototype.setCurrentRoot = function(root)
Sets and returns the current root and fires an undo event before calling mxGraph.sizeDidChange.
mxCellMarker.prototype.setCurrentState = function(state,
me,
color)
Sets and marks the current valid state.
mxCellState.prototype.setCursor = function (cursor)
Sets the given cursor on the shape and text shape.
mxShape.prototype.setCursor = function(cursor)
Sets the cursor on the given shape.
mxAbstractCanvas2D.prototype.setDashed = function(value)
Enables or disables dashed lines.
mxXmlCanvas2D.prototype.setDashed = function(value)
Enables or disables dashed lines.
mxAbstractCanvas2D.prototype.setDashPattern = function(value)
Sets the current dash pattern.
mxXmlCanvas2D.prototype.setDashPattern = function(value)
Sets the current dash pattern.
mxGraph.prototype.setDefaultParent = function(cell)
Sets the defaultParent to the given cell.
mxGraph.prototype.setDisconnectOnMove = function(value)
Specifies if edges should be disconnected when moved.
mxGraph.prototype.setDropEnabled = function(value)
Specifies if the graph should allow dropping of cells onto or into other cells.
mxCell.prototype.setEdge = function(edge)
Specifies if the cell is an edge.
mxGraphLayout.prototype.setEdgePoints = function(edge,
points)
Replaces the array of mxPoints in the geometry of the given edge with the given array of mxPoints.
mxCoordinateAssignment.prototype.setEdgePosition = function(cell)
Fixes the control points
mxGraphLayout.prototype.setEdgeStyleEnabled = function(edge,
value)
Disables or enables the edge style of the given edge.
mxAutoSaveManager.prototype.setEnabled = function(value)
Enables or disables event handling.
mxCellMarker.prototype.setEnabled = function(enabled)
Enables or disables event handling.
mxConnectionHandler.prototype.setEnabled = function(enabled)
Enables or disables event handling.
mxConstraintHandler.prototype.setEnabled = function(enabled)
Enables or disables event handling.
mxDragSource.prototype.setEnabled = function(value)
Sets enabled.
mxGraph.prototype.setEnabled = function(value)
Specifies if the graph should allow any interactions.
mxGraphHandler.prototype.setEnabled = function(value)
Sets enabled.
mxKeyHandler.prototype.setEnabled = function(enabled)
Enables or disables event handling by updating enabled.
mxLayoutManager.prototype.setEnabled = function(enabled)
Enables or disables event handling.
mxOutline.prototype.setEnabled = function(value)
Enables or disables event handling.
mxPopupMenu.prototype.setEnabled = function(enabled)
Enables or disables event handling.
mxRubberband.prototype.setEnabled = function(enabled)
Enables or disables event handling.
mxSelectionCellsHandler.prototype.setEnabled = function(value)
Sets enabled.
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.
Sets the inner HTML of the given element to the value.
mxGraph.prototype.setInvokesStopCellEditing = function(value)
Sets invokesStopCellEditing.
mxAbstractCanvas2D.prototype.setLineCap = function(value)
Sets the current line cap.
mxXmlCanvas2D.prototype.setLineCap = function(value)
Sets the line cap.
mxAbstractCanvas2D.prototype.setLineJoin = function(value)
Sets the current line join.
mxXmlCanvas2D.prototype.setLineJoin = function(value)
Sets the line join.
mxAbstractCanvas2D.prototype.setLink = function(link)
Sets the current link.
mxSvgCanvas2D.prototype.setLink = function(link)
Experimental implementation for hyperlinks.
mxWindow.prototype.setLocation = function(x,
y)
Sets the upper, left corner of the window.
Sets if any cell may be moved, sized, bended, disconnected, edited or selected.
mxWindow.prototype.setMaximizable = function(maximizable)
Sets if the window is maximizable.
mxWindow.prototype.setMinimizable = function(minimizable)
Sets if the window is minimizable.
mxAbstractCanvas2D.prototype.setMiterLimit = function(value)
Sets the current miter limit.
mxXmlCanvas2D.prototype.setMiterLimit = function(value)
Sets the miter limit.
mxEditor.prototype.setMode = function(modename)
Puts the graph into the specified mode.
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.
mxPanningHandler.prototype.setPinchEnabled = function(value)
Sets pinchEnabled.
mxGraph.prototype.setPortsEnabled = function(value)
Specifies if the ports should be enabled.
mxHandle.prototype.setPosition = function(bounds,
pt,
me)
Hooks for subclassers to update the style in the state.
setPrefixedStyle: function()
Adds the given style with the standard name and an optional vendor prefix for the current browser.
mxEdgeHandler.prototype.setPreviewColor = function(color)
Sets the color of the preview to the given value.
mxRectangle.prototype.setRect = function(x,
y,
w,
h)
Sets this rectangle to the specified values
mxGraph.prototype.setRecursiveResize = function(value)
Sets recursiveResize.
mxGraphHandler.prototype.setRemoveCellsFromParent = function(value)
Sets removeCellsFromParent.
mxGraphView.prototype.setRendering = function(value)
Sets rendering.
mxXmlRequest.prototype.setRequestHeaders = function(request,
params)
Sets the headers for the given request and parameters.
mxWindow.prototype.setResizable = function(resizable)
Sets if the window should be resizable.
mxGraph.prototype.setResizeContainer = function(value)
Sets resizeContainer.
mxSwimlaneManager.prototype.setResizeEnabled = function(value)
Sets resizeEnabled.
mxGraphModel.prototype.setRoot = function(root)
Sets the root of the model using mxRootChange and adds the change to the current transaction.
mxGraphView.prototype.setScale = function(value)
Sets the scale and fires a scale event before calling revalidate followed by mxGraph.sizeDidChange.
mxWindow.prototype.setScrollable = function(scrollable)
Sets if the window contents should be scrollable.
mxGraphHandler.prototype.setSelectEnabled = function(value)
Sets selectEnabled.
mxGraph.prototype.setSelectionCell = function(cell)
Sets the selection cell.
mxGraph.prototype.setSelectionCells = function(cells)
Sets the selection cell.
mxGraph.prototype.setSelectionModel = function(selectionModel)
Sets the mxSelectionModel that contains the selection.
mxAbstractCanvas2D.prototype.setShadow = function(enabled)
Enables or disables and configures the current shadow.
mxXmlCanvas2D.prototype.setShadow = function(value)
Enables or disables shadows.
mxAbstractCanvas2D.prototype.setShadowAlpha = function(value)
Enables or disables and configures the current shadow.
mxXmlCanvas2D.prototype.setShadowAlpha = function(value)
Sets the current shadows alpha.
mxAbstractCanvas2D.prototype.setShadowColor = function(value)
Enables or disables and configures the current shadow.
mxXmlCanvas2D.prototype.setShadowColor = function(value)
Sets the current shadow color.
mxAbstractCanvas2D.prototype.setShadowOffset = function(dx,
dy)
Enables or disables and configures the current shadow.
mxXmlCanvas2D.prototype.setShadowOffset = function(dx,
dy)
Sets the current shadow offset.
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.
mxHandle.prototype.setVisible = function(visible)
Shows or hides this handle.
setVisible: function(visible)
Shows or hides the console.
mxWindow.prototype.setVisible = function(visible)
Shows or hides the window depending on the given flag.
mxCellState.prototype.setVisibleTerminalState = function (terminalState,
source)
Sets the visible source or target terminal state.
mxGraphAbstractHierarchyCell.prototype.setX = function(layer,
value)
Set the value of x for the specified layer
mxGraphAbstractHierarchyCell.prototype.setY = function(layer,
value)
Set the value of y for the specified layer
mxOutline.prototype.setZoomEnabled = function(value)
Enables or disables the zoom handling by showing or hiding the respective handle.
Specifies the x-offset of the shadow.
Specifies the y-offset of the shadow.
Defines the opacity for shadows.
Defines the color to be used to draw shadows in shapes and windows.
mxCellState.prototype.shape
Holds the mxShape that represents the cell graphically.
mxEdgeHandler.prototype.shape
Holds the mxShape that represents the preview edge.
mxGraphHandler.prototype.shape
Reference to the mxShape that represents the preview.
Name under which mxActor is registered in mxCellRenderer.
Name under which mxArrow is registered in mxCellRenderer.
Name under which mxArrowConnector is registered in mxCellRenderer.
Name under which mxCloud is registered in mxCellRenderer.
Name under which mxConnector is registered in mxCellRenderer.
Name under which mxCylinder is registered in mxCellRenderer.
Name under which mxDoubleEllipse is registered in mxCellRenderer.
Name under which mxEllipse is registered in mxCellRenderer.
Name under which mxHexagon is registered in mxCellRenderer.
Name under which mxImageShape is registered in mxCellRenderer.
Name under which mxLabel is registered in mxCellRenderer.
Name under which mxLine is registered in mxCellRenderer.
Name under which mxRectangleShape is registered in mxCellRenderer.
Name under which mxRhombus is registered in mxCellRenderer.
Name under which mxSwimlane is registered in mxCellRenderer.
Name under which mxTriangle is registered in mxCellRenderer.
mxShape.prototype.shapePointerEvents
Specifies if pointer events outside of shape should be handled.
mxRubberband.prototype.sharedDiv
Holds the DIV element which is used to display the rubberband.
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.
mxXmlRequest.prototype.simulate = function(doc,
target)
Creates and posts a request to the given target URL using a dynamically created form inside the given document.
mxGraphSelectionModel.prototype.singleSelection
Specifies if only one selected item at a time is allowed.
mxVertexHandler.prototype.singleSizer
Specifies if only one sizer handle at the bottom, right corner should be used.
mxUndoManager.prototype.size
Maximum command history size.
Specifies the event name for size.
Fires after sizeDidChange was executed.
mxGraph.prototype.sizeDidChange = function()
Called when the size of the graph has changed.
mxOutline.prototype.sizerImage
Optional mxImage to be used for the sizer.
mxPopupMenu.prototype.smartSeparators
Specifies if separators should only be added if a menu item follows them.
mxGraph.prototype.snap = function(value)
Snaps the given numeric value to the grid if gridEnabled is true.
mxGraphHandler.prototype.snap = function(vector)
Snaps the given vector to the grid and returns the given mxPoint instance.
mxHandle.prototype.snapPoint = function(pt,
ignore)
Snaps the given point to the grid if ignore is false.
mxConnectionHandler.prototype.snapToPreview = function(me,
point)
Called to snap the given point to the current preview.
mxEdgeHandler.prototype.snapToTerminals
Specifies if waypoints should snap to the routing centers of terminals.
sortCells: function(cells,
ascending)
Sorts the given cells according to the order in the cell hierarchy.
mxCompactTreeLayout.prototype.sortEdges
Specifies if edges should be sorted according to the order of their opposite terminal cell in the model.
mxRadialTreeLayout.prototype.sortEdges
Specifies if edges should be sorted according to the order of their opposite terminal cell in the model.
mxCompactTreeLayout.prototype.sortOutgoingEdges = function(source,
edges)
Called if sortEdges is true to sort the array of outgoing edges in place.
mxCell.prototype.source
Reference to the source terminal.
mxGraphHierarchyEdge.prototype.source
The node this edge is sourced at
mxMultiplicity.prototype.source
Boolean that specifies if the rule is applied to the source or target terminal of an edge.
Reference to the source mxGraph.
mxUndoableEdit.prototype.source
Specifies the source of the edit.
mxGeometry.prototype.sourcePoint
Defines the source mxPoint of the edge.
mxGraphHierarchyModel.prototype.SOURCESCANSTARTRANK
High value to start source layering scan rank value from.
mxSwimlaneModel.prototype.SOURCESCANSTARTRANK
High value to start source layering scan rank value from.
mxCellHighlight.prototype.spacing
Specifies the spacing between the highlight for vertices and the vertex.
mxDefaultToolbar.prototype.spacing
Defines the spacing between existing and new vertices in gridSize units when a new vertex is dropped on an existing cell.
mxLabel.prototype.spacing
Default value for image spacing.
mxParallelEdgeLayout.prototype.spacing
Defines the spacing between the parallels.
mxPartitionLayout.prototype.spacing
Integer that specifies the absolute spacing in pixels between the children.
mxStackLayout.prototype.spacing
Specifies the spacing between the cells.
Specifies the event name for splitEdge.
Fires between begin- and endUpdate in splitEdge.
mxGraph.prototype.splitEdge = function(edge,
cells,
newEdge,
dx,
dy)
Splits the given edge by adding the newEdge between the previous source and the given cell and reconnecting the source of the given edge to the given cell.
mxGraph.prototype.splitEnabled
Specifies if dropping onto edges should be enabled.
mxImage.prototype.src
String that specifies the URL of the image.
mxConnectionHandler.prototype.start = function(state,
x,
y,
edgeState)
Starts a new connection for the given state and coordinates.
mxEdgeHandler.prototype.start = function(x,
y,
index)
Starts the handling of the mouse gesture.
mxGraphHandler.prototype.start = function(cell,
x,
y)
Starts the handling of the mouse gesture.
mxPanningHandler.prototype.start = function(me)
Starts panning at the given event.
mxRubberband.prototype.start = function(x,
y)
Sets the start point for the rubberband selection.
mxVertexHandler.prototype.start = function(x,
y,
index)
Starts the handling of the mouse gesture.
Fires when a new connection is being created by the user.
Specifies the event name for start.
Specifies the event name for startEdit.
Fires after the updateLevel was changed from 0 to 1.
Fires before a set of changes will be executed in undo or redo.
Specifies the event name for startEditing.
Fires before the in-place editor starts in startEditingAtCell.
mxAnimation.prototype.startAnimation = function()
Starts the animation by repeatedly invoking updateAnimation.
mxDragSource.prototype.startDrag = function(evt)
Creates the dragElement using createDragElement.
mxCellEditor.prototype.startEditing = function(cell,
trigger)
Starts the editor for the given cell.
mxGraph.prototype.startEditing = function(evt)
Calls startEditingAtCell using the given cell or the first selection cell.
mxGraph.prototype.startEditingAtCell = function(cell,
evt)
Fires a startEditing event and invokes mxCellEditor.startEditing on editor.
mxPanningHandler.prototype.startX
Holds the x-coordinate of the start point.
mxPanningHandler.prototype.startY
Holds the y-coordinate of the start point.
mxAbstractCanvas2D.prototype.state
Holds the current state.
mxCellHighlight.prototype.state
Reference to the mxCellState.
mxEdgeHandler.prototype.state
Reference to the mxCellState being modified.
mxMouseEvent.prototype.state
Holds the optional mxCellState associated with this event.
mxShape.prototype.state
Optional reference to the corresponding mxCellState.
mxVertexHandler.prototype.state
Reference to the mxCellState being modified.
mxAbstractCanvas2D.prototype.states
Stack of states.
mxGuide.prototype.states
Contains the mxCellStates that are used for alignment.
mxGraphView.prototype.stateValidated = function(state)
Invoked when a state has been processed in validatePoints.
mxEditor.prototype.status
DOM container that holds the statusbar.
mxShape.prototype.stencil
Holds the mxStencil that defines the shape.
mxShape.prototype.stencilPointerEvents
Specifies if pointer events outside of stencils should be handled.
mxMorphing.prototype.step
Contains the current step.
mxMorphing.prototype.steps
Specifies the maximum number of steps for the morphing.
Defines the step size to offset the cells after each paste operation.
mxAnimation.prototype.stopAnimation = function()
Stops the animation by deleting the timer and fires an mxEvent.DONE.
mxDragSource.prototype.stopDrag = function()
Invokes removeDragElement.
mxCellEditor.prototype.stopEditing = function(cancel)
Stops the editor and applies the value if cancel is false.
mxGraph.prototype.stopEditing = function(cancel)
Stops the current editing and fires a editingStopped event.
mxMorphing.prototype.stopRecursion = function(state,
delta)
Returns true if the animation should not recursively find more deltas for children if the given parent state has been animated.
mxEdgeHandler.prototype.straightRemoveEnabled
Specifies if removing bends by creating straight segments should be enabled.
mxSvgCanvas2D.prototype.stroke = function()
Paints the outline of the current path.
mxVmlCanvas2D.prototype.stroke = function()
Paints the outline of the current path.
mxXmlCanvas2D.prototype.stroke = function()
Paints the outline of the current drawing buffer.
mxSvgCanvas2D.prototype.strokeTolerance
Adds transparent paths for strokes.
mxStencil.prototype.strokewidth
Holds the strokewidth direction from the description.
mxCell.prototype.style
Holds the style as a string of the form [(stylename|key=value);].
mxCellState.prototype.style
Contains an array of key, value pairs that represent the style of the cell.
mxShape.prototype.style
Optional reference to the style of the corresponding mxCellState.
Defines the key for the align style.
Defines the rounding factor for a rounded rectangle in percent (without the percent sign).
Defines the key for the aspect style.
Defines the key for the autosize style.
Defines the key for the bendable style.
Defines the key for the cloneable style.
Defines the key for the curved style.
Defines the key for the dashed style.
Defines the key for the deletable style.
Defines the key for the direction style.
Defines the key for the edge style.
Defines the key for the editable style.
Defines the key for the elbow style.
Defines the key for the end arrow marker.
Defines the key for the endFill style.
Defines the key for the endSize style.
Defines if the perimeter should be used to find the exact entry point along the perimeter of the target.
Defines the key for the horizontal relative coordinate connection point of an edge with its target terminal.
Defines the key for the vertical relative coordinate connection point of an edge with its target terminal.
Defines if the perimeter should be used to find the exact entry point along the perimeter of the source.
Defines the key for the horizontal relative coordinate connection point of an edge with its source terminal.
Defines the key for the vertical relative coordinate connection point of an edge with its source terminal.
Defines the key for the fill color.
Defines the key for the horizontal image flip.
Defines the key for the vertical flip.
Defines the key for the foldable style.
Defines the key for the fontColor style.
Defines the key for the fontFamily style.
Defines the key for the fontSize style (in points).
Defines the key for the fontStyle style.
Defines the key for the glass style.
Defines the key for the gradient direction.
Defines the key for the gradient color.
Defines the key for the horizontal style.
Defines the key for the image style.
Defines the key for the align style.
Defines the key for the image aspect style.
Defines the key for the image background color.
Defines the key for the image border color.
Defines the key for the imageHeight style.
Defines the key for the verticalAlign style.
Defines the key for the imageWidth style.
Defines the key for the indicatorColor style.
Defines the key for the indicatorDirection style.
Defines the key for the indicatorGradientColor style.
Defines the key for the indicator height.
Defines the key for the indicator image used within an mxLabel.
Defines the key for the indicator shape used within an mxLabel.
The defines the key for the spacing between the label and the indicator in mxLabel.
Defines the key for the indicator stroke color in mxLabel.
Defines the key for the indicator width.
Defines the key for the label background color.
Defines the key for the label border color.
Defines the key for the label padding, ie.
Defines the key for the horizontal label position of vertices.
Defines the key for the width of the label if the label position is not center.
Defines the key for the loop style.
Defines the key for the margin between the ellipses in the double ellipse shape.
Defines the key for the movable style.
Defines the key for the noEdgeStyle style.
Defines the key for the noLabel style.
Defines the key for the opacity style.
Defines if the connection points on either end of the edge should be computed so that the edge is vertical or horizontal if possible and if the point is not at a fixed location.
Defines the key for the 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 fill color of the swimlane background.
Defines the key for the swimlaneLine style.
Defines the key for the target perimeter spacing.
Defines the ID of the cell that should be used for computing the perimeter point of the target for an edge.
Defines the key for the text direction style.
Defines the key for the text opacity style.
Defines the key for the verticalAlign style.
Defines the key for the vertical label position of vertices.
Defines the key for the white-space style.
this.styleEnabled
Stores the value of styleEnabled passed to the constructor.
mxGraphModel.prototype.styleForCellChanged = function(cell,
style)
Inner callback to update the style of the given mxCell using mxCell.setStyle and return the previous style.
Maps from names to cell styles.
mxGraph.prototype.stylesheet
Holds the mxStylesheet that defines the appearance of the cells.
mxPopupMenu.prototype.submenuImage
URL of the image to be used for the submenu icon.
submit: function(url,
params,
doc,
target)
Submits the given parameters to the specified URL using mxXmlRequest.simulate and returns the mxXmlRequest.
Specifies the event name for suspend.
mxOutline.prototype.suspended
Optional boolean flag to suspend updates.
mxShape.prototype.svgPointerEvents
Specifies if pointer events should be handled.
mxCylinder.prototype.svgStrokeTolerance
Sets stroke tolerance to 0 for SVG.
mxShape.prototype.svgStrokeTolerance
Event-tolerance for SVG strokes (in px).
mxGeometry.prototype.swap = function()
Swaps the x, y, width and height with the values stored in alternateBounds and puts the previous values into alternateBounds as a rectangle.
mxGraph.prototype.swapBounds = function(cell,
willCollapse)
Swaps the alternate and the actual bounds in the geometry of the given cell invoking updateAlternateBounds before carrying out the swap.
mxEditor.prototype.swapStyles = function (first,
second)
Swaps the styles for the given names in the graph’s stylesheet and refreshes the graph.
mxSwimlaneManager.prototype.swimlaneAdded = function(swimlane)
Updates the size of the given swimlane to match that of any existing siblings swimlanes.
mxGraph.prototype.swimlaneIndicatorColorAttribute
The attribute used to find the color for the indicator if the indicator color is set to ‘swimlane’.
mxGraph.prototype.swimlaneNesting
Specifies if nesting of swimlanes is allowed.
mxEditor.prototype.swimlaneRequired
Specifies if new cells must be inserted into an existing swimlane.
mxSwimlaneLayout.prototype.swimlanes
Holds the array of mxCell of the ordered swimlanes to lay out
mxGraph.prototype.swimlaneSelectionEnabled
Specifies if swimlanes should be selectable via the content if the mouse is released.
mxEditor.prototype.swimlaneSpacing
Specifies the spacing between swimlanes if automatic layout is turned on in layoutDiagram.
+
mxAbstractCanvas2D.prototype.save = function()
Saves the current state.
mxAutoSaveManager.prototype.save = function()
Empty hook that is called if the graph should be saved.
mxEditor.prototype.save = function (url,
linefeed)
Posts the string returned by writeGraphModel to the given URL or the URL returned by getUrlPost.
mxXmlCanvas2D.prototype.save = function()
Saves the drawing state.
Fires after the current file was saved in save.
Specifies the event name for open.
mxAbstractCanvas2D.prototype.scale = function(value)
Scales the current state.
mxGeometry.prototype.scale = function(sx,
sy,
fixedAspect)
Scales the geometry by the given amount.
mxGraphView.prototype.scale
Specifies the scale.
mxPrintPreview.prototype.scale
Holds the scale of the print preview.
mxShape.prototype.scale
Holds the scale in which the shape is being painted.
mxXmlCanvas2D.prototype.scale = function(value)
Scales the output.
Specifies the event name for scale.
Fires after the scale was changed in setScale.
Specifies the event name for scaleAndTranslate.
Fires after the scale and translate have been changed in scaleAndTranslate.
mxGraphView.prototype.scaleAndTranslate = function(scale,
dx,
dy)
Sets the scale and translation and fires a scale and translate event before calling revalidate followed by mxGraph.sizeDidChange.
mxGraph.prototype.scaleCell = function(cell,
dx,
dy,
recurse)
Scales the points, position and size of the given cell according to the given vertical and horizontal scaling factors.
mxGraphHandler.prototype.scaleGrid
Specifies if the grid should be scaled.
mxPopupMenuHandler.prototype.screenX
Screen X-coordinate of the mouse down event.
mxPopupMenuHandler.prototype.screenY
Screen Y-coordinate of the mouse down event.
mxGraph.prototype.scrollCellToVisible = function(cell,
center)
Pans the graph so that it shows the given cell.
mxGraphHandler.prototype.scrollOnMove
Specifies if the view should be scrolled so that a moved cell is visible.
mxGraph.prototype.scrollPointToVisible = function(x,
y,
extend,
border)
Scrolls the graph to the given point, extending the graph container if specified.
mxGraph.prototype.scrollRectToVisible = function(rect)
Pans the graph so that it shows the given rectangle.
SegmentConnector: function(state,
source,
target,
hints,
result)
Implements an orthogonal edge style.
mxCellState.prototype.segments
Array of numbers that represent the cached length of each segment of the edge.
mxConnectionHandler.prototype.select
Specifies if new edges should be selected.
Specifies the event name for select.
Fires when an item was selected in the toolbar.
mxGraph.prototype.selectAll = function(parent)
Selects all children of the given parent cell or the children of the default parent if no parent is specified.
mxGraph.prototype.selectCell = function(isNext,
isParent,
isChild)
Selects the next, parent, first child or previous cell, if all arguments are false.
mxGraph.prototype.selectCellForEvent = function(cell,
evt)
Selects the given cell by either adding it to the selection or replacing the selection depending on whether the given mouse event is a toggle event.
mxConnectionHandler.prototype.selectCells = function(edge,
target)
Selects the given edge after adding a new connection.
mxGraph.prototype.selectCells = function(vertices,
edges,
parent)
Selects all vertices and/or edges depending on the given boolean arguments recursively, starting at the given parent or the default parent if no parent is specified.
mxGraph.prototype.selectCellsForEvent = function(cells,
evt)
Selects the given cells by either adding them to the selection or replacing the selection depending on whether the given mouse event is a toggle event.
mxGraph.prototype.selectChildCell = function()
Selects the first child cell.
mxGraphHandler.prototype.selectDelayed = function(me)
Implements the delayed selection for the given mouse event.
mxGraphHandler.prototype.selectEnabled
Specifies if selecting is enabled.
Defines the dashed state to be used for the vertex selection border.
mxGraph.prototype.selectionModel
Holds the mxGraphSelectionModel that models the current selection.
mxToolbar.prototype.selectMode = function(domNode,
funct)
Resets the state of the previously selected mode and displays the given DOM node as selected.
mxGraph.prototype.selectNextCell = function()
Selects the next cell.
mxPopupMenuHandler.prototype.selectOnPopup
Specifies if cells should be selected if a popupmenu is displayed for them.
mxGraph.prototype.selectParentCell = function()
Selects the parent cell.
mxGraph.prototype.selectPreviousCell = function()
Selects the previous cell.
mxGraph.prototype.selectRegion = function(rect,
evt)
Selects and returns the cells inside the given rectangle for the specified event.
mxCellEditor.prototype.selectText
Specifies if the text should be selected when editing starts.
mxGraph.prototype.selectVertices = function(parent)
Select all vertices inside the given parent or the default parent.
mxXmlRequest.prototype.send = function(onload,
onerror)
Send the request to the target URL using the specified functions to process the response asychronously.
mxCellState.prototype.setAbsoluteTerminalPoint = function (point,
isSource)
Sets the first or last point in absolutePoints depending on isSource.
mxSwimlaneManager.prototype.setAddEnabled = function(value)
Sets addEnabled.
mxGraph.prototype.setAllowDanglingEdges = function(value)
Specifies if dangling edges are allowed, that is, if edges are allowed that do not have a source and/or target terminal defined.
mxGraphView.prototype.setAllowEval = function(value)
Sets allowEval.
mxGraph.prototype.setAllowLoops = function(value)
Specifies if loops are allowed.
mxAbstractCanvas2D.prototype.setAlpha = function(value)
Sets the current alpha.
mxXmlCanvas2D.prototype.setAlpha = function(value)
Sets the current alpha.
mxCell.prototype.setAttribute = function(name,
value)
Sets the specified attribute on the user object if it is an XML node.
mxCodec.prototype.setAttribute = function(node,
attribute,
value)
Sets the attribute on the specified node to value.
mxGraph.prototype.setAutoSizeCells = function(value)
Specifies if cell sizes should be automatically updated after a label change.
mxGraph.prototype.setBackgroundImage = function(image)
Sets the new backgroundImage.
mxUrlConverter.prototype.setBaseDomain = function(value)
Sets baseDomain.
mxUrlConverter.prototype.setBaseUrl = function(value)
Sets baseUrl.
mxXmlRequest.prototype.setBinary = function(value)
Sets binary.
mxGraph.prototype.setBorder = function(value)
Sets the value of border.
mxLayoutManager.prototype.setBubbling = function(value)
Sets bubbling.
mxGraphSelectionModel.prototype.setCell = function(cell)
Selects the specified mxCell using setCells.
mxCompactTreeLayout.prototype.setCellHeights = function(node,
rank)
Set the cells heights (relative to the layout direction) when the tops of each rank are to be aligned
mxCoordinateAssignment.prototype.setCellLocations = function(graph,
model)
Sets the cell locations in the facade to those stored after this layout processing step has completed.
setCells: function(cells)
Sets the cells in the clipboard.
mxGraphSelectionModel.prototype.setCells = function(cells)
Selects the given array of mxCells and fires a change event.
mxGraph.prototype.setCellsBendable = function(value)
Specifies if the graph should allow bending of edges.
mxGraph.prototype.setCellsCloneable = function(value)
Specifies if the graph should allow cloning of cells by holding down the control key while cells are being moved.
mxGraph.prototype.setCellsDeletable = function(value)
Sets cellsDeletable.
mxGraph.prototype.setCellsDisconnectable = function(value)
Sets cellsDisconnectable.
mxGraph.prototype.setCellsEditable = function(value)
Specifies if the graph should allow in-place editing for cell labels.
mxGraph.prototype.setCellsMovable = function(value)
Specifies if the graph should allow moving of cells.
mxGraph.prototype.setCellsResizable = function(value)
Specifies if the graph should allow resizing of cells.
mxGraph.prototype.setCellsSelectable = function(value)
Sets cellsSelectable.
mxGraph.prototype.setCellStyle = function(style,
cells)
Sets the style of the specified cells.
mxGraph.prototype.setCellStyleFlags = function(key,
flag,
value,
cells)
Sets or toggles the given bit for the given key in the styles of the specified cells.
setCellStyleFlags: function(model,
cells,
key,
flag,
value)
Sets or toggles the flag bit for the given key in the cell’s styles.
mxGraph.prototype.setCellStyles = function(key,
value,
cells)
Sets the key to value in the styles of the given cells.
setCellStyles: function(model,
cells,
key,
value)
Assigns the value for the given key in the styles of the given cells, or removes the key from the styles if the value is null.
mxGraph.prototype.setCellWarning = function(cell,
warning,
img,
isSelect)
Creates an overlay for the given cell using the warning and image or warningImage and returns the new mxCellOverlay.
mxGraphHandler.prototype.setCloneEnabled = function(value)
Sets cloneEnabled.
mxGraph.prototype.setCloneInvalidEdges = function(value)
Specifies if edges should be inserted when cloned but not valid wrt.
mxWindow.prototype.setClosable = function(closable)
Sets the image associated with the window.
mxCell.prototype.setCollapsed = function(collapsed)
Sets the collapsed state.
mxGraphModel.prototype.setCollapsed = function(cell,
collapsed)
Sets the collapsed state of the given mxCell using mxCollapseChange and adds the change to the current transaction.
mxCell.prototype.setConnectable = function(connectable)
Sets the connectable state.
mxGraph.prototype.setConnectable = function(connectable)
Specifies if the graph should allow new connections.
mxGraph.prototype.setConnectableEdges = function(value)
Specifies if edges should be connectable.
mxGraph.prototype.setConnectionConstraint = function(edge,
terminal,
source,
constraint)
Sets the mxConnectionConstraint that describes the given connection point.
mxGraph.prototype.setConstrainChildren = function(value)
Sets constrainChildren.
mxGraph.prototype.setConstrainChildrenOnResize = function(value)
Sets constrainChildrenOnResize.
mxGraphModel.prototype.setCreateIds = function(value)
Sets createIds.
mxConnectionHandler.prototype.setCreateTarget = function(value)
Sets createTarget.
mxGraphView.prototype.setCurrentRoot = function(root)
Sets and returns the current root and fires an undo event before calling mxGraph.sizeDidChange.
mxCellMarker.prototype.setCurrentState = function(state,
me,
color)
Sets and marks the current valid state.
mxCellState.prototype.setCursor = function (cursor)
Sets the given cursor on the shape and text shape.
mxShape.prototype.setCursor = function(cursor)
Sets the cursor on the given shape.
mxAbstractCanvas2D.prototype.setDashed = function(value)
Enables or disables dashed lines.
mxXmlCanvas2D.prototype.setDashed = function(value)
Enables or disables dashed lines.
mxAbstractCanvas2D.prototype.setDashPattern = function(value)
Sets the current dash pattern.
mxXmlCanvas2D.prototype.setDashPattern = function(value)
Sets the current dash pattern.
mxGraph.prototype.setDefaultParent = function(cell)
Sets the defaultParent to the given cell.
mxGraph.prototype.setDisconnectOnMove = function(value)
Specifies if edges should be disconnected when moved.
mxGraph.prototype.setDropEnabled = function(value)
Specifies if the graph should allow dropping of cells onto or into other cells.
mxCell.prototype.setEdge = function(edge)
Specifies if the cell is an edge.
mxGraphLayout.prototype.setEdgePoints = function(edge,
points)
Replaces the array of mxPoints in the geometry of the given edge with the given array of mxPoints.
mxCoordinateAssignment.prototype.setEdgePosition = function(cell)
Fixes the control points
mxGraphLayout.prototype.setEdgeStyleEnabled = function(edge,
value)
Disables or enables the edge style of the given edge.
mxAutoSaveManager.prototype.setEnabled = function(value)
Enables or disables event handling.
mxCellMarker.prototype.setEnabled = function(enabled)
Enables or disables event handling.
mxConnectionHandler.prototype.setEnabled = function(enabled)
Enables or disables event handling.
mxConstraintHandler.prototype.setEnabled = function(enabled)
Enables or disables event handling.
mxDragSource.prototype.setEnabled = function(value)
Sets enabled.
mxGraph.prototype.setEnabled = function(value)
Specifies if the graph should allow any interactions.
mxGraphHandler.prototype.setEnabled = function(value)
Sets enabled.
mxKeyHandler.prototype.setEnabled = function(enabled)
Enables or disables event handling by updating enabled.
mxLayoutManager.prototype.setEnabled = function(enabled)
Enables or disables event handling.
mxOutline.prototype.setEnabled = function(value)
Enables or disables event handling.
mxPopupMenu.prototype.setEnabled = function(enabled)
Enables or disables event handling.
mxRubberband.prototype.setEnabled = function(enabled)
Enables or disables event handling.
mxSelectionCellsHandler.prototype.setEnabled = function(value)
Sets enabled.
mxSwimlaneManager.prototype.setEnabled = function(value)
Enables or disables event handling.
mxTooltipHandler.prototype.setEnabled = function(enabled)
Enables or disables event handling.
mxUrlConverter.prototype.setEnabled = function(value)
Sets enabled.
mxGraph.prototype.setEnterStopsCellEditing = function(value)
Sets enterStopsCellEditing.
mxGraph.prototype.setEscapeEnabled = function(value)
Sets escapeEnabled.
mxEventSource.prototype.setEventsEnabled = function(value)
Sets eventsEnabled.
mxEventSource.prototype.setEventSource = function(value)
Sets eventSource.
mxGraph.prototype.setExtendParents = function(value)
Sets extendParents.
mxGraph.prototype.setExtendParentsOnAdd = function(value)
Sets extendParentsOnAdd.
mxGraph.prototype.setExtendParentsOnMove = function(value)
Sets extendParentsOnAdd.
mxAbstractCanvas2D.prototype.setFillColor = function(value)
Sets the current fill color.
mxXmlCanvas2D.prototype.setFillColor = function(value)
Sets the current fill color.
mxXmlCanvas2D.prototype.setFontBackgroundColor = function(value)
Sets the current font background color.
mxXmlCanvas2D.prototype.setFontBorderColor = function(value)
Sets the current font border color.
mxAbstractCanvas2D.prototype.setFontColor = function(value)
Sets the current font color.
mxXmlCanvas2D.prototype.setFontColor = function(value)
Sets the current font color.
mxAbstractCanvas2D.prototype.setFontFamily = function(value)
Sets the current font family.
mxXmlCanvas2D.prototype.setFontFamily = function(value)
Sets the current font family.
mxAbstractCanvas2D.prototype.setFontSize = function(value)
Sets the current font size.
mxXmlCanvas2D.prototype.setFontSize = function(value)
Sets the current font size.
mxAbstractCanvas2D.prototype.setFontStyle = function(value)
Sets the current font style.
mxXmlCanvas2D.prototype.setFontStyle = function(value)
Sets the current font style.
mxGraphAbstractHierarchyCell.prototype.setGeneralPurposeVariable = function(
   layer,
   value
)
Set the value of temp for the specified layer
mxGraphHierarchyEdge.prototype.setGeneralPurposeVariable = function(layer,
value)
Set the value of temp for the specified layer
mxGraphHierarchyNode.prototype.setGeneralPurposeVariable = function(layer,
value)
Set the value of temp for the specified layer
mxCell.prototype.setGeometry = function(geometry)
Sets the mxGeometry to be used as the geometry.
mxGraphModel.prototype.setGeometry = function(cell,
geometry)
Sets the mxGeometry of the given mxCell.
mxAbstractCanvas2D.prototype.setGradient = function(color1,
color2,
x,
y,
w,
h,
direction,
alpha1,
alpha2)
Sets the current gradient.
mxXmlCanvas2D.prototype.setGradient = function(color1,
color2,
x,
y,
w,
h,
direction,
alpha1,
alpha2)
Sets the gradient.
mxAutoSaveManager.prototype.setGraph = function(graph)
Sets the graph that the layouts operate on.
mxLayoutManager.prototype.setGraph = function(graph)
Sets the graph that the layouts operate on.
mxSwimlaneManager.prototype.setGraph = function(graph)
Sets the graph that the manager operates on.
mxGraphView.prototype.setGraphBounds = function(value)
Sets graphBounds.
mxEditor.prototype.setGraphContainer = function (container)
Sets the graph’s container using mxGraph.init.
mxDragSource.prototype.setGridEnabled = function(value)
Sets gridEnabled.
mxGraph.prototype.setGridEnabled = function(value)
Specifies if the grid should be enabled.
mxGraph.prototype.setGridSize = function(value)
Sets gridSize.
mxDragSource.prototype.setGuidesEnabled = function(value)
Sets guidesEnabled.
mxTooltipHandler.prototype.setHideOnHover = function(value)
Sets hideOnHover.
mxCellHighlight.prototype.setHighlightColor = function(color)
Sets the color of the rectangle used to highlight drop targets.
mxGraphHandler.prototype.setHighlightColor = function(color)
Sets the color of the rectangle used to highlight drop targets.
mxSwimlaneManager.prototype.setHorizontal = function(value)
Sets horizontal.
mxCellMarker.prototype.setHotspot = function(hotspot)
Sets the hotspot.
mxCellMarker.prototype.setHotspotEnabled = function(enabled)
Specifies whether the hotspot should be used in intersects.
mxGraph.prototype.setHtmlLabels = function(value)
Sets htmlLabels.
mxCell.prototype.setId = function(id)
Sets the Id of the cell to the given string.
mxWindow.prototype.setImage = function(image)
Sets the image associated with the window.
Sets the inner HTML of the given element to the value.
mxGraph.prototype.setInvokesStopCellEditing = function(value)
Sets invokesStopCellEditing.
mxAbstractCanvas2D.prototype.setLineCap = function(value)
Sets the current line cap.
mxXmlCanvas2D.prototype.setLineCap = function(value)
Sets the line cap.
mxAbstractCanvas2D.prototype.setLineJoin = function(value)
Sets the current line join.
mxXmlCanvas2D.prototype.setLineJoin = function(value)
Sets the line join.
mxAbstractCanvas2D.prototype.setLink = function(link)
Sets the current link.
mxSvgCanvas2D.prototype.setLink = function(link)
Experimental implementation for hyperlinks.
mxWindow.prototype.setLocation = function(x,
y)
Sets the upper, left corner of the window.
Sets if any cell may be moved, sized, bended, disconnected, edited or selected.
mxWindow.prototype.setMaximizable = function(maximizable)
Sets if the window is maximizable.
mxWindow.prototype.setMinimizable = function(minimizable)
Sets if the window is minimizable.
mxAbstractCanvas2D.prototype.setMiterLimit = function(value)
Sets the current miter limit.
mxXmlCanvas2D.prototype.setMiterLimit = function(value)
Sets the miter limit.
mxEditor.prototype.setMode = function(modename)
Puts the graph into the specified mode.
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.
mxPanningHandler.prototype.setPinchEnabled = function(value)
Sets pinchEnabled.
mxGraph.prototype.setPortsEnabled = function(value)
Specifies if the ports should be enabled.
mxHandle.prototype.setPosition = function(bounds,
pt,
me)
Hooks for subclassers to update the style in the state.
setPrefixedStyle: function()
Adds the given style with the standard name and an optional vendor prefix for the current browser.
mxEdgeHandler.prototype.setPreviewColor = function(color)
Sets the color of the preview to the given value.
mxRectangle.prototype.setRect = function(x,
y,
w,
h)
Sets this rectangle to the specified values
mxGraph.prototype.setRecursiveResize = function(value)
Sets recursiveResize.
mxGraphHandler.prototype.setRemoveCellsFromParent = function(value)
Sets removeCellsFromParent.
mxGraphView.prototype.setRendering = function(value)
Sets rendering.
mxXmlRequest.prototype.setRequestHeaders = function(request,
params)
Sets the headers for the given request and parameters.
mxWindow.prototype.setResizable = function(resizable)
Sets if the window should be resizable.
mxGraph.prototype.setResizeContainer = function(value)
Sets resizeContainer.
mxSwimlaneManager.prototype.setResizeEnabled = function(value)
Sets resizeEnabled.
mxGraphModel.prototype.setRoot = function(root)
Sets the root of the model using mxRootChange and adds the change to the current transaction.
mxGraphView.prototype.setScale = function(value)
Sets the scale and fires a scale event before calling revalidate followed by mxGraph.sizeDidChange.
mxWindow.prototype.setScrollable = function(scrollable)
Sets if the window contents should be scrollable.
mxGraphHandler.prototype.setSelectEnabled = function(value)
Sets selectEnabled.
mxGraph.prototype.setSelectionCell = function(cell)
Sets the selection cell.
mxGraph.prototype.setSelectionCells = function(cells)
Sets the selection cell.
mxGraph.prototype.setSelectionModel = function(selectionModel)
Sets the mxSelectionModel that contains the selection.
mxAbstractCanvas2D.prototype.setShadow = function(enabled)
Enables or disables and configures the current shadow.
mxXmlCanvas2D.prototype.setShadow = function(value)
Enables or disables shadows.
mxAbstractCanvas2D.prototype.setShadowAlpha = function(value)
Enables or disables and configures the current shadow.
mxXmlCanvas2D.prototype.setShadowAlpha = function(value)
Sets the current shadows alpha.
mxAbstractCanvas2D.prototype.setShadowColor = function(value)
Enables or disables and configures the current shadow.
mxXmlCanvas2D.prototype.setShadowColor = function(value)
Sets the current shadow color.
mxAbstractCanvas2D.prototype.setShadowOffset = function(dx,
dy)
Enables or disables and configures the current shadow.
mxXmlCanvas2D.prototype.setShadowOffset = function(dx,
dy)
Sets the current shadow offset.
mxGraphSelectionModel.prototype.setSingleSelection = function(singleSelection)
Sets the singleSelection flag.
mxWindow.prototype.setSize = function(width,
height)
Sets the size of the window.
mxGraph.prototype.setSplitEnabled = function(value)
Specifies if the graph should allow dropping of cells onto or into other cells.
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.
mxHandle.prototype.setVisible = function(visible)
Shows or hides this handle.
setVisible: function(visible)
Shows or hides the console.
mxWindow.prototype.setVisible = function(visible)
Shows or hides the window depending on the given flag.
mxCellState.prototype.setVisibleTerminalState = function (terminalState,
source)
Sets the visible source or target terminal state.
mxGraphAbstractHierarchyCell.prototype.setX = function(layer,
value)
Set the value of x for the specified layer
mxGraphAbstractHierarchyCell.prototype.setY = function(layer,
value)
Set the value of y for the specified layer
mxOutline.prototype.setZoomEnabled = function(value)
Enables or disables the zoom handling by showing or hiding the respective handle.
Specifies the x-offset of the shadow.
Specifies the y-offset of the shadow.
Defines the opacity for shadows.
Defines the color to be used to draw shadows in shapes and windows.
mxCellState.prototype.shape
Holds the mxShape that represents the cell graphically.
mxEdgeHandler.prototype.shape
Holds the mxShape that represents the preview edge.
mxGraphHandler.prototype.shape
Reference to the mxShape that represents the preview.
Name under which mxActor is registered in mxCellRenderer.
Name under which mxArrow is registered in mxCellRenderer.
Name under which mxArrowConnector is registered in mxCellRenderer.
Name under which mxCloud is registered in mxCellRenderer.
Name under which mxConnector is registered in mxCellRenderer.
Name under which mxCylinder is registered in mxCellRenderer.
Name under which mxDoubleEllipse is registered in mxCellRenderer.
Name under which mxEllipse is registered in mxCellRenderer.
Name under which mxHexagon is registered in mxCellRenderer.
Name under which mxImageShape is registered in mxCellRenderer.
Name under which mxLabel is registered in mxCellRenderer.
Name under which mxLine is registered in mxCellRenderer.
Name under which mxRectangleShape is registered in mxCellRenderer.
Name under which mxRhombus is registered in mxCellRenderer.
Name under which mxSwimlane is registered in mxCellRenderer.
Name under which mxTriangle is registered in mxCellRenderer.
mxShape.prototype.shapePointerEvents
Specifies if pointer events outside of shape should be handled.
mxRubberband.prototype.sharedDiv
Holds the DIV element which is used to display the rubberband.
mxKeyHandler.prototype.shiftKeys
Maps from keycodes to functions for pressed shift keys.
mxGraphHandler.prototype.shouldRemoveCellsFromParent = function(parent,
cells,
evt)
Returns true if the given cells should be removed from the parent for the specified mousereleased event.
mxCellStatePreview.prototype.show = function(visitor)
show: function()
Shows the console.
mxMorphing.prototype.show = function(move)
Shows the changes in the given mxCellStatePreview.
mxTooltipHandler.prototype.show = function(tip,
x,
y)
Shows the tooltip for the specified cell and optional index at the specified location (with a vertical offset of 10 pixels).
show: function(graph,
doc,
x0,
y0,
w,
h)
Copies the styles and the markup from the graph’s container into the given document and removes all cursor styles.
mxWindow.prototype.show = function()
Shows the window.
Specifies the event name for show.
Fires after the menu has been shown in popup.
Fires after the window is shown.
mxEditor.prototype.showHelp = function (tasks)
Shows the help window.
mxPopupMenu.prototype.showMenu = function()
Shows the menu.
mxEditor.prototype.showOutline = function ()
Shows the outline window.
mxEditor.prototype.showProperties = function (cell)
Creates and shows the properties dialog for the given cell.
mxPopupMenu.prototype.showSubmenu = function(parent,
row)
Shows the submenu inside the given parent row.
mxEditor.prototype.showTasks = function ()
Shows the tasks window.
mxOutline.prototype.showViewport
Specifies a viewport rectangle should be shown.
SideToSide: function (state,
source,
target,
points,
result)
Implements a vertical elbow edge.
mxUndoableEdit.prototype.significant
Specifies if the undoable change is significant.
mxXmlRequest.prototype.simulate = function(doc,
target)
Creates and posts a request to the given target URL using a dynamically created form inside the given document.
mxGraphSelectionModel.prototype.singleSelection
Specifies if only one selected item at a time is allowed.
mxVertexHandler.prototype.singleSizer
Specifies if only one sizer handle at the bottom, right corner should be used.
mxUndoManager.prototype.size
Maximum command history size.
Specifies the event name for size.
Fires after sizeDidChange was executed.
mxGraph.prototype.sizeDidChange = function()
Called when the size of the graph has changed.
mxOutline.prototype.sizerImage
Optional mxImage to be used for the sizer.
mxPopupMenu.prototype.smartSeparators
Specifies if separators should only be added if a menu item follows them.
mxGraph.prototype.snap = function(value)
Snaps the given numeric value to the grid if gridEnabled is true.
mxGraphHandler.prototype.snap = function(vector)
Snaps the given vector to the grid and returns the given mxPoint instance.
mxHandle.prototype.snapPoint = function(pt,
ignore)
Snaps the given point to the grid if ignore is false.
mxConnectionHandler.prototype.snapToPreview = function(me,
point)
Called to snap the given point to the current preview.
mxEdgeHandler.prototype.snapToTerminals
Specifies if waypoints should snap to the routing centers of terminals.
sortCells: function(cells,
ascending)
Sorts the given cells according to the order in the cell hierarchy.
mxCompactTreeLayout.prototype.sortEdges
Specifies if edges should be sorted according to the order of their opposite terminal cell in the model.
mxRadialTreeLayout.prototype.sortEdges
Specifies if edges should be sorted according to the order of their opposite terminal cell in the model.
mxCompactTreeLayout.prototype.sortOutgoingEdges = function(source,
edges)
Called if sortEdges is true to sort the array of outgoing edges in place.
mxCell.prototype.source
Reference to the source terminal.
mxGraphHierarchyEdge.prototype.source
The node this edge is sourced at
mxMultiplicity.prototype.source
Boolean that specifies if the rule is applied to the source or target terminal of an edge.
Reference to the source mxGraph.
mxUndoableEdit.prototype.source
Specifies the source of the edit.
mxGeometry.prototype.sourcePoint
Defines the source mxPoint of the edge.
mxGraphHierarchyModel.prototype.SOURCESCANSTARTRANK
High value to start source layering scan rank value from.
mxSwimlaneModel.prototype.SOURCESCANSTARTRANK
High value to start source layering scan rank value from.
mxCellHighlight.prototype.spacing
Specifies the spacing between the highlight for vertices and the vertex.
mxDefaultToolbar.prototype.spacing
Defines the spacing between existing and new vertices in gridSize units when a new vertex is dropped on an existing cell.
mxLabel.prototype.spacing
Default value for image spacing.
mxParallelEdgeLayout.prototype.spacing
Defines the spacing between the parallels.
mxPartitionLayout.prototype.spacing
Integer that specifies the absolute spacing in pixels between the children.
mxStackLayout.prototype.spacing
Specifies the spacing between the cells.
Specifies the event name for splitEdge.
Fires between begin- and endUpdate in splitEdge.
mxGraph.prototype.splitEdge = function(edge,
cells,
newEdge,
dx,
dy)
Splits the given edge by adding the newEdge between the previous source and the given cell and reconnecting the source of the given edge to the given cell.
mxGraph.prototype.splitEnabled
Specifies if dropping onto edges should be enabled.
mxImage.prototype.src
String that specifies the URL of the image.
mxConnectionHandler.prototype.start = function(state,
x,
y,
edgeState)
Starts a new connection for the given state and coordinates.
mxEdgeHandler.prototype.start = function(x,
y,
index)
Starts the handling of the mouse gesture.
mxGraphHandler.prototype.start = function(cell,
x,
y)
Starts the handling of the mouse gesture.
mxPanningHandler.prototype.start = function(me)
Starts panning at the given event.
mxRubberband.prototype.start = function(x,
y)
Sets the start point for the rubberband selection.
mxVertexHandler.prototype.start = function(x,
y,
index)
Starts the handling of the mouse gesture.
Fires when a new connection is being created by the user.
Specifies the event name for start.
Specifies the event name for startEdit.
Fires after the updateLevel was changed from 0 to 1.
Fires before a set of changes will be executed in undo or redo.
Specifies the event name for startEditing.
Fires before the in-place editor starts in startEditingAtCell.
mxAnimation.prototype.startAnimation = function()
Starts the animation by repeatedly invoking updateAnimation.
mxDragSource.prototype.startDrag = function(evt)
Creates the dragElement using createDragElement.
mxCellEditor.prototype.startEditing = function(cell,
trigger)
Starts the editor for the given cell.
mxGraph.prototype.startEditing = function(evt)
Calls startEditingAtCell using the given cell or the first selection cell.
mxGraph.prototype.startEditingAtCell = function(cell,
evt)
Fires a startEditing event and invokes mxCellEditor.startEditing on editor.
mxPanningHandler.prototype.startX
Holds the x-coordinate of the start point.
mxPanningHandler.prototype.startY
Holds the y-coordinate of the start point.
mxAbstractCanvas2D.prototype.state
Holds the current state.
mxCellHighlight.prototype.state
Reference to the mxCellState.
mxEdgeHandler.prototype.state
Reference to the mxCellState being modified.
mxMouseEvent.prototype.state
Holds the optional mxCellState associated with this event.
mxShape.prototype.state
Optional reference to the corresponding mxCellState.
mxVertexHandler.prototype.state
Reference to the mxCellState being modified.
mxAbstractCanvas2D.prototype.states
Stack of states.
mxGuide.prototype.states
Contains the mxCellStates that are used for alignment.
mxGraphView.prototype.stateValidated = function(state)
Invoked when a state has been processed in validatePoints.
mxEditor.prototype.status
DOM container that holds the statusbar.
mxShape.prototype.stencil
Holds the mxStencil that defines the shape.
mxShape.prototype.stencilPointerEvents
Specifies if pointer events outside of stencils should be handled.
mxMorphing.prototype.step
Contains the current step.
mxMorphing.prototype.steps
Specifies the maximum number of steps for the morphing.
Defines the step size to offset the cells after each paste operation.
mxAnimation.prototype.stopAnimation = function()
Stops the animation by deleting the timer and fires an mxEvent.DONE.
mxDragSource.prototype.stopDrag = function()
Invokes removeDragElement.
mxCellEditor.prototype.stopEditing = function(cancel)
Stops the editor and applies the value if cancel is false.
mxGraph.prototype.stopEditing = function(cancel)
Stops the current editing and fires a editingStopped event.
mxMorphing.prototype.stopRecursion = function(state,
delta)
Returns true if the animation should not recursively find more deltas for children if the given parent state has been animated.
mxEdgeHandler.prototype.straightRemoveEnabled
Specifies if removing bends by creating straight segments should be enabled.
mxSvgCanvas2D.prototype.stroke = function()
Paints the outline of the current path.
mxVmlCanvas2D.prototype.stroke = function()
Paints the outline of the current path.
mxXmlCanvas2D.prototype.stroke = function()
Paints the outline of the current drawing buffer.
mxSvgCanvas2D.prototype.strokeTolerance
Adds transparent paths for strokes.
mxStencil.prototype.strokewidth
Holds the strokewidth direction from the description.
mxCell.prototype.style
Holds the style as a string of the form [(stylename|key=value);].
mxCellState.prototype.style
Contains an array of key, value pairs that represent the style of the cell.
mxShape.prototype.style
Optional reference to the style of the corresponding mxCellState.
Defines the key for the align style.
Defines the rounding factor for a rounded rectangle in percent (without the percent sign).
Defines the key for the aspect style.
Defines the key for the autosize style.
Defines the key for the bendable style.
Defines the key for the cloneable style.
Defines the key for the curved style.
Defines the key for the dashed style.
Defines the key for the deletable style.
Defines the key for the direction style.
Defines the key for the edge style.
Defines the key for the editable style.
Defines the key for the elbow style.
Defines the key for the end arrow marker.
Defines the key for the endFill style.
Defines the key for the endSize style.
Defines if the perimeter should be used to find the exact entry point along the perimeter of the target.
Defines the key for the horizontal relative coordinate connection point of an edge with its target terminal.
Defines the key for the vertical relative coordinate connection point of an edge with its target terminal.
Defines if the perimeter should be used to find the exact entry point along the perimeter of the source.
Defines the key for the horizontal relative coordinate connection point of an edge with its source terminal.
Defines the key for the vertical relative coordinate connection point of an edge with its source terminal.
Defines the key for the fill color.
Defines the key for the horizontal image flip.
Defines the key for the vertical flip.
Defines the key for the foldable style.
Defines the key for the fontColor style.
Defines the key for the fontFamily style.
Defines the key for the fontSize style (in points).
Defines the key for the fontStyle style.
Defines the key for the glass style.
Defines the key for the gradient direction.
Defines the key for the gradient color.
Defines the key for the horizontal style.
Defines the key for the image style.
Defines the key for the align style.
Defines the key for the image aspect style.
Defines the key for the image background color.
Defines the key for the image border color.
Defines the key for the imageHeight style.
Defines the key for the verticalAlign style.
Defines the key for the imageWidth style.
Defines the key for the indicatorColor style.
Defines the key for the indicatorDirection style.
Defines the key for the indicatorGradientColor style.
Defines the key for the indicator height.
Defines the key for the indicator image used within an mxLabel.
Defines the key for the indicator shape used within an mxLabel.
The defines the key for the spacing between the label and the indicator in mxLabel.
Defines the key for the indicator stroke color in mxLabel.
Defines the key for the indicator width.
Defines the key for the label background color.
Defines the key for the label border color.
Defines the key for the label padding, ie.
Defines the key for the horizontal label position of vertices.
Defines the key for the width of the label if the label position is not center.
Defines the key for the loop style.
Defines the key for the margin between the ellipses in the double ellipse shape.
Defines the key for the movable style.
Defines the key for the noEdgeStyle style.
Defines the key for the noLabel style.
Defines the key for the opacity style.
Defines if the connection points on either end of the edge should be computed so that the edge is vertical or horizontal if possible and if the point is not at a fixed location.
Defines the key for the 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 fill color of the swimlane background.
Defines the key for the swimlaneLine style.
Defines the key for the target perimeter spacing.
Defines the ID of the cell that should be used for computing the perimeter point of the target for an edge.
Defines the key for the text direction style.
Defines the key for the text opacity style.
Defines the key for the verticalAlign style.
Defines the key for the vertical label position of vertices.
Defines the key for the white-space style.
this.styleEnabled
Stores the value of styleEnabled passed to the constructor.
mxGraphModel.prototype.styleForCellChanged = function(cell,
style)
Inner callback to update the style of the given mxCell using mxCell.setStyle and return the previous style.
Maps from names to cell styles.
mxGraph.prototype.stylesheet
Holds the mxStylesheet that defines the appearance of the cells.
mxPopupMenu.prototype.submenuImage
URL of the image to be used for the submenu icon.
submit: function(url,
params,
doc,
target)
Submits the given parameters to the specified URL using mxXmlRequest.simulate and returns the mxXmlRequest.
Specifies the event name for suspend.
mxOutline.prototype.suspended
Optional boolean flag to suspend updates.
mxShape.prototype.svgPointerEvents
Specifies if pointer events should be handled.
mxCylinder.prototype.svgStrokeTolerance
Sets stroke tolerance to 0 for SVG.
mxShape.prototype.svgStrokeTolerance
Event-tolerance for SVG strokes (in px).
mxGeometry.prototype.swap = function()
Swaps the x, y, width and height with the values stored in alternateBounds and puts the previous values into alternateBounds as a rectangle.
mxGraph.prototype.swapBounds = function(cell,
willCollapse)
Swaps the alternate and the actual bounds in the geometry of the given cell invoking updateAlternateBounds before carrying out the swap.
mxEditor.prototype.swapStyles = function (first,
second)
Swaps the styles for the given names in the graph’s stylesheet and refreshes the graph.
mxSwimlaneManager.prototype.swimlaneAdded = function(swimlane)
Updates the size of the given swimlane to match that of any existing siblings swimlanes.
mxGraph.prototype.swimlaneIndicatorColorAttribute
The attribute used to find the color for the indicator if the indicator color is set to ‘swimlane’.
mxGraph.prototype.swimlaneNesting
Specifies if nesting of swimlanes is allowed.
mxEditor.prototype.swimlaneRequired
Specifies if new cells must be inserted into an existing swimlane.
mxSwimlaneLayout.prototype.swimlanes
Holds the array of mxCell of the ordered swimlanes to lay out
mxGraph.prototype.swimlaneSelectionEnabled
Specifies if swimlanes should be selectable via the content if the mouse is released.
mxEditor.prototype.swimlaneSpacing
Specifies the spacing between swimlanes if automatic layout is turned on in layoutDiagram.
@@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/General17.html b/docs/js-api/index/General17.html index 2dca16f37..491ab9c92 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
 TEXT_DIRECTION_AUTO, mxConstants
 TEXT_DIRECTION_DEFAULT, mxConstants
 TEXT_DIRECTION_LTR, mxConstants
 TEXT_DIRECTION_RTL, mxConstants
 textarea, mxCellEditor
 textEnabled
 textNode, mxCellEditor
 textWidthPadding, mxText
 thread, mxAnimation
 tightenToSource
 timerAutoScroll, mxGraph
 title
 toDegree, mxUtils
 TOGGLE_CELLS
 toggleCells, mxGraph
 toggleCellStyle, mxGraph
 toggleCellStyleFlags, mxGraph
 toggleCellStyles, mxGraph
 tolerance
 toolbar
 tooltip, mxCellOverlay
 TOOLTIP_VERTICAL_OFFSET, mxConstants
 TopToBottom, mxEdgeStyle
 toRadians, mxUtils
 toString
 TRACE, mxLog
 transformControlPoint, mxGraphView
 translate
 TRANSLATE
 TRANSLATE_CONTROL_POINTS, mxGeometry
 translateCell, mxGraph
 translateState, mxCellStatePreview
 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
 TEXT_DIRECTION_AUTO, mxConstants
 TEXT_DIRECTION_DEFAULT, mxConstants
 TEXT_DIRECTION_LTR, mxConstants
 TEXT_DIRECTION_RTL, mxConstants
 textarea, mxCellEditor
 textEnabled
 textNode, mxCellEditor
 textWidthPadding, mxText
 thread, mxAnimation
 tightenToSource
 timerAutoScroll, mxGraph
 title
 toDegree, mxUtils
 TOGGLE_CELLS
 toggleCells, mxGraph
 toggleCellStyle, mxGraph
 toggleCellStyleFlags, mxGraph
 toggleCellStyles, mxGraph
 tolerance
 toolbar
 tooltip, mxCellOverlay
 TOOLTIP_VERTICAL_OFFSET, mxConstants
 TopToBottom, mxEdgeStyle
 toRadians, mxUtils
 toString
 TRACE, mxLog
 transformControlPoint, mxGraphView
 translate
 TRANSLATE
 TRANSLATE_CONTROL_POINTS, mxGeometry
 translateCell, mxGraph
 translateState, mxCellStatePreview
 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,
dir)
Paints the given text.
mxVmlCanvas2D.prototype.text = function(x,
y,
w,
h,
str,
align,
valign,
wrap,
format,
overflow,
clip,
rotation,
dir)
Paints the given text.
mxXmlCanvas2D.prototype.text = function(x,
y,
w,
h,
str,
align,
valign,
wrap,
format,
overflow,
clip,
rotation,
dir)
Paints the given text.
Constant for text direction automatic.
Constant for text direction default.
Constant for text direction left to right.
Constant for text direction right to left.
mxCellEditor.prototype.textarea
Holds the 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.
mxText.prototype.textWidthPadding
Specifies the padding to be added to the text width for the bounding box.
mxAnimation.prototype.thread
Reference to the thread while the animation is running.
mxGraphHierarchyModel.prototype.tightenToSource
Whether or not to tighten the assigned ranks of vertices up towards the source cells.
mxHierarchicalLayout.prototype.tightenToSource
Whether or not to tighten the assigned ranks of vertices up towards the source cells.
mxSwimlaneLayout.prototype.tightenToSource
Whether or not to tighten the assigned ranks of vertices up towards the source cells.
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.
toDegree: function(rad)
Converts the given radians to degree.
Specifies the event name for toggleCells.
Fires between begin- and endUpdate in toggleCells.
mxGraph.prototype.toggleCells = function(show,
cells,
includeEdges)
Sets the visible state of the specified cells and all connected edges if includeEdges is true.
mxGraph.prototype.toggleCellStyle = function(key,
defaultValue,
cell)
Toggles the boolean value for the given key in the style of the given cell and returns the new value as 0 or 1.
mxGraph.prototype.toggleCellStyleFlags = function(key,
flag,
cells)
Toggles the given bit for the given key in the styles of the specified cells.
mxGraph.prototype.toggleCellStyles = function(key,
defaultValue,
cells)
Toggles the boolean value for the given key in the style of the given cells and returns the new value as 0 or 1.
mxEdgeHandler.prototype.tolerance
Optional tolerance for hit-detection in getHandleForEvent.
mxGraph.prototype.tolerance
Tolerance for a move to be handled as a single click.
mxVertexHandler.prototype.tolerance
Optional tolerance for hit-detection in getHandleForEvent.
mxDefaultToolbar.prototype.toolbar
Holds the internal mxToolbar.
mxEditor.prototype.toolbar
Holds a mxDefaultToolbar for displaying the toolbar.
mxCellOverlay.prototype.tooltip
Holds the optional string to be used as the tooltip.
Defines the vertical offset for the tooltip.
TopToBottom: function(state,
source,
target,
points,
result)
Implements a horizontal elbow edge.
toRadians: function(deg)
Converts the given degree to radians.
mxCellOverlay.prototype.toString = function()
Returns the textual representation of the overlay to be used as the tooltip.
toString: function(obj)
Returns a textual representation of the specified object.
Specified if the output for enter and leave should be visible in the console.
mxGraphView.prototype.transformControlPoint = function(state,
pt)
Transforms the given control point to an absolute point.
mxAbstractCanvas2D.prototype.translate = function(dx,
dy)
Translates the current state.
mxGeometry.prototype.translate = function(dx,
dy)
Translates the geometry by the specified amount.
mxGraphView.prototype.translate
mxPoint that specifies the current translation.
mxXmlCanvas2D.prototype.translate = function(dx,
dy)
Translates the output.
Specifies the event name for translate.
Fires after the translate was changed in setTranslate.
mxGeometry.prototype.TRANSLATE_CONTROL_POINTS
Global switch to translate the points in translate.
mxGraph.prototype.translateCell = function(cell,
dx,
dy)
Translates the geometry of the given cell and stores the new, translated geometry in the model as an atomic change.
mxCellStatePreview.prototype.translateState = function(state,
dx,
dy)
mxMedianHybridCrossingReduction.prototype.transpose = function(
   mainLoopIteration,
   model
)
Takes each possible adjacent cell pair on each rank and checks if swapping them around reduces the number of crossing
mxGraph.prototype.traverse = function(vertex,
directed,
func,
edge,
visited)
Traverses the (directed) graph invoking the given function for each visited vertex and edge.
mxGraphLayout.traverse = function(vertex,
directed,
func,
edge,
visited)
Traverses the (directed) graph invoking the given function for each visited vertex and edge.
mxHierarchicalLayout.prototype.traverseAncestors
Whether or not to drill into child cells and layout in reverse group order.
mxSwimlaneLayout.prototype.traverseAncestors
Whether or not to drill into child cells and layout in reverse group order.
mxEditor.prototype.treeLayout = function (cell,
horizontal)
Executes a vertical or horizontal compact tree layout using the specified cell as an argument.
TrianglePerimeter: function (bounds,
vertex,
next,
orthogonal)
Describes a triangle perimeter.
mxCellEditor.prototype.trigger
Reference to the event that was used to start editing.
mxPopupMenuHandler.prototype.triggerX
X-coordinate of the mouse down event.
mxPopupMenuHandler.prototype.triggerY
Y-coordinate of the mouse down event.
mxUndoManager.prototype.trim = function()
Removes all pending steps after indexOfNextAdd from the history, invoking die on each edit.
trim: function(str,
chars)
Strips all whitespaces from both end of the string.
mxMultiplicity.prototype.type
Defines the type of the source or target terminal.
mxMultiplicity.prototype.typeError
Holds the localized error message to be displayed if the type of the neighbor for a connection does not match the rule.
+
mxForm.prototype.table
Holds the DOM node that represents the table.
Specifies the event name for tapAndHold.
Fires in tapAndHold if a tap and hold event was detected.
mxGraph.prototype.tapAndHold = function(me)
Handles the mxMouseEvent by highlighting the mxCellState.
mxGraph.prototype.tapAndHoldDelay
Specifies the time for a tap and hold.
mxGraph.prototype.tapAndHoldEnabled
Specifies if tap and hold should be used for starting connections on touch-based devices.
mxGraph.prototype.tapAndHoldInProgress
True if the timer for tap and hold events is running.
mxGraph.prototype.tapAndHoldValid
True as long as the timer is running and the touch events stay within the given tapAndHoldTolerance.
mxCell.prototype.target
Reference to the target terminal.
mxGraphHierarchyEdge.prototype.target
The node this edge targets
mxKeyHandler.prototype.target
Reference to the target DOM, that is, the DOM node where the key event listeners are installed.
Defines the color to be used for highlighting a target cell for a new or changed connection.
mxConnectionHandler.prototype.targetConnectImage
Specifies if the connect icon should be centered on the target state while connections are being previewed.
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,
dir)
Paints the given text.
mxVmlCanvas2D.prototype.text = function(x,
y,
w,
h,
str,
align,
valign,
wrap,
format,
overflow,
clip,
rotation,
dir)
Paints the given text.
mxXmlCanvas2D.prototype.text = function(x,
y,
w,
h,
str,
align,
valign,
wrap,
format,
overflow,
clip,
rotation,
dir)
Paints the given text.
Constant for text direction automatic.
Constant for text direction default.
Constant for text direction left to right.
Constant for text direction right to left.
mxCellEditor.prototype.textarea
Holds the 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.
mxText.prototype.textWidthPadding
Specifies the padding to be added to the text width for the bounding box.
mxAnimation.prototype.thread
Reference to the thread while the animation is running.
mxGraphHierarchyModel.prototype.tightenToSource
Whether or not to tighten the assigned ranks of vertices up towards the source cells.
mxHierarchicalLayout.prototype.tightenToSource
Whether or not to tighten the assigned ranks of vertices up towards the source cells.
mxSwimlaneLayout.prototype.tightenToSource
Whether or not to tighten the assigned ranks of vertices up towards the source cells.
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.
toDegree: function(rad)
Converts the given radians to degree.
Specifies the event name for toggleCells.
Fires between begin- and endUpdate in toggleCells.
mxGraph.prototype.toggleCells = function(show,
cells,
includeEdges)
Sets the visible state of the specified cells and all connected edges if includeEdges is true.
mxGraph.prototype.toggleCellStyle = function(key,
defaultValue,
cell)
Toggles the boolean value for the given key in the style of the given cell and returns the new value as 0 or 1.
mxGraph.prototype.toggleCellStyleFlags = function(key,
flag,
cells)
Toggles the given bit for the given key in the styles of the specified cells.
mxGraph.prototype.toggleCellStyles = function(key,
defaultValue,
cells)
Toggles the boolean value for the given key in the style of the given cells and returns the new value as 0 or 1.
mxEdgeHandler.prototype.tolerance
Optional tolerance for hit-detection in getHandleForEvent.
mxGraph.prototype.tolerance
Tolerance for a move to be handled as a single click.
mxVertexHandler.prototype.tolerance
Optional tolerance for hit-detection in getHandleForEvent.
mxDefaultToolbar.prototype.toolbar
Holds the internal mxToolbar.
mxEditor.prototype.toolbar
Holds a mxDefaultToolbar for displaying the toolbar.
mxCellOverlay.prototype.tooltip
Holds the optional string to be used as the tooltip.
Defines the vertical offset for the tooltip.
TopToBottom: function(state,
source,
target,
points,
result)
Implements a horizontal elbow edge.
toRadians: function(deg)
Converts the given degree to radians.
mxCellOverlay.prototype.toString = function()
Returns the textual representation of the overlay to be used as the tooltip.
toString: function(obj)
Returns a textual representation of the specified object.
Specified if the output for enter and leave should be visible in the console.
mxGraphView.prototype.transformControlPoint = function(state,
pt)
Transforms the given control point to an absolute point.
mxAbstractCanvas2D.prototype.translate = function(dx,
dy)
Translates the current state.
mxGeometry.prototype.translate = function(dx,
dy)
Translates the geometry by the specified amount.
mxGraphView.prototype.translate
mxPoint that specifies the current translation.
mxXmlCanvas2D.prototype.translate = function(dx,
dy)
Translates the output.
Specifies the event name for translate.
Fires after the translate was changed in setTranslate.
mxGeometry.prototype.TRANSLATE_CONTROL_POINTS
Global switch to translate the points in translate.
mxGraph.prototype.translateCell = function(cell,
dx,
dy)
Translates the geometry of the given cell and stores the new, translated geometry in the model as an atomic change.
mxCellStatePreview.prototype.translateState = function(state,
dx,
dy)
mxMedianHybridCrossingReduction.prototype.transpose = function(
   mainLoopIteration,
   model
)
Takes each possible adjacent cell pair on each rank and checks if swapping them around reduces the number of crossing
mxGraph.prototype.traverse = function(vertex,
directed,
func,
edge,
visited)
Traverses the (directed) graph invoking the given function for each visited vertex and edge.
mxGraphLayout.traverse = function(vertex,
directed,
func,
edge,
visited)
Traverses the (directed) graph invoking the given function for each visited vertex and edge.
mxHierarchicalLayout.prototype.traverseAncestors
Whether or not to drill into child cells and layout in reverse group order.
mxSwimlaneLayout.prototype.traverseAncestors
Whether or not to drill into child cells and layout in reverse group order.
mxEditor.prototype.treeLayout = function (cell,
horizontal)
Executes a vertical or horizontal compact tree layout using the specified cell as an argument.
TrianglePerimeter: function (bounds,
vertex,
next,
orthogonal)
Describes a triangle perimeter.
mxCellEditor.prototype.trigger
Reference to the event that was used to start editing.
mxPopupMenuHandler.prototype.triggerX
X-coordinate of the mouse down event.
mxPopupMenuHandler.prototype.triggerY
Y-coordinate of the mouse down event.
mxUndoManager.prototype.trim = function()
Removes all pending steps after indexOfNextAdd from the history, invoking die on each edit.
trim: function(str,
chars)
Strips all whitespaces from both end of the string.
mxMultiplicity.prototype.type
Defines the type of the source or target terminal.
mxMultiplicity.prototype.typeError
Holds the localized error message to be displayed if the type of the neighbor for a connection does not match the rule.
@@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/General18.html b/docs/js-api/index/General18.html index 060e48f85..b3b8f9858 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
 updateCachedBounds, mxCellState
 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
 updateHint
 updateHtmlCanvasSize, mxGraphView
 updateHtmlFilter, mxText
 updateHtmlFilters, mxShape
 updateHtmlTransform, mxText
 updateIcons, mxConnectionHandler
 updateLevel, mxGraphModel
 updateMinBounds, mxVertexHandler
 updateMouseEvent, mxGraph
 updateOnPan, mxOutline
 updatePageBreaks, mxGraph
 updateParentHighlight, mxVertexHandler
 updatePoints, mxGraphView
 updatePreviewShape, mxGraphHandler
 updatePreviewState
 updateSize, mxText
 updateStroke, mxSvgCanvas2D
 updateStrokeAttributes, mxSvgCanvas2D
 updateStyle, mxGraphView
 updateTransform, mxShape
 updateValue, mxText
 updateVertexLabelOffset, mxGraphView
 updateVertexState, mxGraphView
 updateVmlContainer
 updatingDocumentResource, mxGraphView
 updatingSelectionResource, mxGraphSelectionModel
 url, mxXmlRequest
 urlHelp, mxEditor
 urlImage, mxEditor
 urlPost, mxEditor
 useBoundingBox, mxGraphLayout
 useGrid, mxPanningHandler
 useGuidesForEvent, mxGraphHandler
 useInputOrigin, mxFastOrganicLayout
 useLeftButtonForPanning, mxPanningHandler
 useLeftButtonForPopup, mxPopupMenu
 usePopupTrigger, mxPanningHandler
 username, mxXmlRequest
 useScrollbarsForPanning, mxGraph
+
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
 updateCachedBounds, mxCellState
 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
 updateHint
 updateHtmlCanvasSize, mxGraphView
 updateHtmlFilter, mxText
 updateHtmlFilters, mxShape
 updateHtmlTransform, mxText
 updateIcons, mxConnectionHandler
 updateLevel, mxGraphModel
 updateMinBounds, mxVertexHandler
 updateMouseEvent, mxGraph
 updateOnPan, mxOutline
 updatePageBreaks, mxGraph
 updateParentHighlight, mxVertexHandler
 updatePoints, mxGraphView
 updatePreviewShape, mxGraphHandler
 updatePreviewState
 updateSize, mxText
 updateStroke, mxSvgCanvas2D
 updateStrokeAttributes, mxSvgCanvas2D
 updateStyle, mxGraphView
 updateTransform, mxShape
 updateValue, mxText
 updateVertexLabelOffset, mxGraphView
 updateVertexState, mxGraphView
 updateVmlContainer
 updatingDocumentResource, mxGraphView
 updatingSelectionResource, mxGraphSelectionModel
 url, mxXmlRequest
 urlHelp, mxEditor
 urlImage, mxEditor
 urlPost, mxEditor
 useBoundingBox, mxGraphLayout
 useGrid, mxPanningHandler
 useGuidesForEvent, mxGraphHandler
 useInputOrigin, mxFastOrganicLayout
 useLeftButtonForPanning, mxPanningHandler
 useLeftButtonForPopup, mxPopupMenu
 usePopupTrigger, mxPanningHandler
 username, mxXmlRequest
 useScrollbarsForPanning, mxGraph
-
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.
mxCellState.prototype.updateCachedBounds = function()
Updates the cellBounds and paintBounds.
mxGraph.prototype.updateCellSize = function(cell,
ignoreChildren)
Updates the size of the given cell in the model using cellSizeUpdated.
mxGraphView.prototype.updateCellState = function(state)
Updates the given mxCellState.
mxGraphView.prototype.updateContainerStyle = function(container)
Updates the style of the container after installing the SVG DOM elements.
mxConnectionHandler.prototype.updateCurrentState = function(me,
point)
Updates the current state for a given mouse move event by using the marker.
mxGraphHandler.prototype.updateCursor
Specifies if a move cursor should be shown if the mouse is over a movable cell.
mxToolbar.prototype.updateDefaultMode
Boolean indicating if the default mode should be the last selected switch mode or the first inserted switch mode.
mxGraphView.prototype.updateEdgeBounds = function(state)
Updates the given state using the bounding box of t he absolute points.
mxGraphView.prototype.updateEdgeLabelOffset = function(state)
Updates mxCellState.absoluteOffset for the given state.
mxGraphModel.prototype.updateEdgeParent = function(edge,
root)
Inner callback to update the parent of the specified mxCell to the nearest-common-ancestor of its two terminals.
mxGraphModel.prototype.updateEdgeParents = function(cell,
root)
Updates the parent for all edges that are connected to cell or one of its descendants using updateEdgeParent.
mxGraphView.prototype.updateEdgeState = function(state,
geo)
Validates the given cell state.
mxSvgCanvas2D.prototype.updateFill = function()
Transfers the stroke attributes from state to node.
mxGraphView.prototype.updateFixedTerminalPoint = function(edge,
terminal,
source,
constraint)
Sets the fixed source or target terminal point on the given edge.
mxGraphView.prototype.updateFixedTerminalPoints = function(edge,
source,
target)
Sets the initial absolute terminal points in the given state before the edge style is computed.
mxGraphView.prototype.updateFloatingTerminalPoint = function(edge,
start,
end,
source)
Updates the absolute terminal point in the given state for the given start and end state, where start is the source if source is true.
mxGraphView.prototype.updateFloatingTerminalPoints = function(state,
source,
target)
Updates the terminal points in the given state after the edge style was computed for the edge.
mxSvgCanvas2D.prototype.updateFont = function(node)
Updates the text properties for the given node.
mxText.prototype.updateFont = function(node)
Updates the HTML node(s) to reflect the latest bounds and scale.
mxGraph.prototype.updateGroupBounds = function(cells,
border,
moveGroup,
topBorder,
rightBorder,
bottomBorder,
leftBorder)
Updates the bounds of the given groups to include all children and returns the passed-in cells.
mxSwimlaneLayout.prototype.updateGroupBounds = function()
Updates the bounds of the given array of groups so that it includes all child vertices.
mxLayoutManager.prototype.updateHandler
Holds the function that handles the endUpdate event.
mxEdgeHandler.prototype.updateHint = function(me,
point)
Hook for subclassers do show details while the handler is active.
mxGraphHandler.prototype.updateHint = function(me)
Hook for subclassers do show details while the handler is active.
mxVertexHandler.prototype.updateHint = function(me)
Hook for subclassers do show details while the handler is active.
mxGraphView.prototype.updateHtmlCanvasSize = function(width,
height)
Updates the size of the HTML canvas.
mxText.prototype.updateHtmlFilter = function()
Rotated text rendering quality is bad for IE9 quirks/IE8 standards
mxShape.prototype.updateHtmlFilters = function(node)
Allow optimization by replacing VML with HTML.
mxText.prototype.updateHtmlTransform = function()
Returns the spacing as an mxPoint.
mxConnectionHandler.prototype.updateIcons = function(state,
icons,
me)
Hook to update the icon position(s) based on a mouseOver event.
mxGraphModel.prototype.updateLevel
Counter for the depth of nested transactions.
mxVertexHandler.prototype.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.
mxVertexHandler.prototype.updateParentHighlight = function()
Updates the highlight of the parent if parentHighlightEnabled is true.
mxGraphView.prototype.updatePoints = function(edge,
points,
source,
target)
Updates the absolute points in the given state using the specified array of mxPoints as the relative points.
mxGraphHandler.prototype.updatePreviewShape = function()
Updates the bounds of the preview shape.
mxEdgeSegmentHandler.prototype.updatePreviewState = function(edge,
point,
terminalState,
me)
Overridden to perform optimization of the edge style result.
mxEdgeHandler.prototype.updatePreviewState = function(edge,
point,
terminalState,
me)
Updates the given preview state taking into account the state of the constraint handler.
mxText.prototype.updateSize = function(node,
enableWrap)
Updates the HTML node(s) to reflect the latest bounds and scale.
mxSvgCanvas2D.prototype.updateStroke = function()
Transfers the stroke attributes from state to node.
mxSvgCanvas2D.prototype.updateStrokeAttributes = function()
Transfers the stroke attributes from state to node.
mxGraphView.prototype.updateStyle
Specifies if the style should be updated in each validation step.
mxShape.prototype.updateTransform = function(c,
x,
y,
w,
h)
Sets the scale and rotation on the given canvas.
mxText.prototype.updateValue = function()
Updates the HTML node(s) to reflect the latest bounds and scale.
mxGraphView.prototype.updateVertexLabelOffset = function(state)
Updates the absoluteOffset of the given vertex cell state.
mxGraphView.prototype.updateVertexState = function(state,
geo)
Validates the given cell state.
mxShape.prototype.updateVmlContainer = function()
Updates the bounds of the VML container.
mxText.prototype.updateVmlContainer = function()
Sets the width and height of the container to 1px.
Specifies the resource key for the status message while the document is being updated.
mxGraphSelectionModel.prototype.updatingSelectionResource
Specifies the resource key for the status message while the selection is being updated.
mxXmlRequest.prototype.url
Holds the target URL of the request.
mxEditor.prototype.urlHelp
Specifies the URL to be used for the contents of the Online Help window.
mxEditor.prototype.urlImage
Specifies the URL to be used for creating a bitmap of the graph in the image action.
mxEditor.prototype.urlPost
Specifies the URL to be used for posting the diagram to a backend in save.
mxGraphLayout.prototype.useBoundingBox
Boolean indicating if the bounding box of the label should be used if its available.
mxPanningHandler.prototype.useGrid
Specifies if the panning steps should be aligned to the grid size.
mxGraphHandler.prototype.useGuidesForEvent = function(me)
Returns true if the guides should be used for the given mxMouseEvent.
mxFastOrganicLayout.prototype.useInputOrigin
Specifies if the top left corner of the input cells should be the origin of the layout result.
mxPanningHandler.prototype.useLeftButtonForPanning
Specifies if panning should be active for the left mouse button.
mxPopupMenu.prototype.useLeftButtonForPopup
Specifies if popupmenus should be activated by clicking the left mouse button.
mxPanningHandler.prototype.usePopupTrigger
Specifies if mxEvent.isPopupTrigger should also be used for panning.
mxXmlRequest.prototype.username
Specifies the username to be used for authentication.
mxGraph.prototype.useScrollbarsForPanning
Specifies if scrollbars should be used for panning in panGraph if any scrollbars are available.
+
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.
mxCellState.prototype.updateCachedBounds = function()
Updates the cellBounds and paintBounds.
mxGraph.prototype.updateCellSize = function(cell,
ignoreChildren)
Updates the size of the given cell in the model using cellSizeUpdated.
mxGraphView.prototype.updateCellState = function(state)
Updates the given mxCellState.
mxGraphView.prototype.updateContainerStyle = function(container)
Updates the style of the container after installing the SVG DOM elements.
mxConnectionHandler.prototype.updateCurrentState = function(me,
point)
Updates the current state for a given mouse move event by using the marker.
mxGraphHandler.prototype.updateCursor
Specifies if a move cursor should be shown if the mouse is over a movable cell.
mxToolbar.prototype.updateDefaultMode
Boolean indicating if the default mode should be the last selected switch mode or the first inserted switch mode.
mxGraphView.prototype.updateEdgeBounds = function(state)
Updates the given state using the bounding box of t he absolute points.
mxGraphView.prototype.updateEdgeLabelOffset = function(state)
Updates mxCellState.absoluteOffset for the given state.
mxGraphModel.prototype.updateEdgeParent = function(edge,
root)
Inner callback to update the parent of the specified mxCell to the nearest-common-ancestor of its two terminals.
mxGraphModel.prototype.updateEdgeParents = function(cell,
root)
Updates the parent for all edges that are connected to cell or one of its descendants using updateEdgeParent.
mxGraphView.prototype.updateEdgeState = function(state,
geo)
Validates the given cell state.
mxSvgCanvas2D.prototype.updateFill = function()
Transfers the stroke attributes from state to node.
mxGraphView.prototype.updateFixedTerminalPoint = function(edge,
terminal,
source,
constraint)
Sets the fixed source or target terminal point on the given edge.
mxGraphView.prototype.updateFixedTerminalPoints = function(edge,
source,
target)
Sets the initial absolute terminal points in the given state before the edge style is computed.
mxGraphView.prototype.updateFloatingTerminalPoint = function(edge,
start,
end,
source)
Updates the absolute terminal point in the given state for the given start and end state, where start is the source if source is true.
mxGraphView.prototype.updateFloatingTerminalPoints = function(state,
source,
target)
Updates the terminal points in the given state after the edge style was computed for the edge.
mxSvgCanvas2D.prototype.updateFont = function(node)
Updates the text properties for the given node.
mxText.prototype.updateFont = function(node)
Updates the HTML node(s) to reflect the latest bounds and scale.
mxGraph.prototype.updateGroupBounds = function(cells,
border,
moveGroup,
topBorder,
rightBorder,
bottomBorder,
leftBorder)
Updates the bounds of the given groups to include all children and returns the passed-in cells.
mxSwimlaneLayout.prototype.updateGroupBounds = function()
Updates the bounds of the given array of groups so that it includes all child vertices.
mxLayoutManager.prototype.updateHandler
Holds the function that handles the endUpdate event.
mxEdgeHandler.prototype.updateHint = function(me,
point)
Hook for subclassers do show details while the handler is active.
mxGraphHandler.prototype.updateHint = function(me)
Hook for subclassers do show details while the handler is active.
mxVertexHandler.prototype.updateHint = function(me)
Hook for subclassers do show details while the handler is active.
mxGraphView.prototype.updateHtmlCanvasSize = function(width,
height)
Updates the size of the HTML canvas.
mxText.prototype.updateHtmlFilter = function()
Rotated text rendering quality is bad for IE9 quirks/IE8 standards
mxShape.prototype.updateHtmlFilters = function(node)
Allow optimization by replacing VML with HTML.
mxText.prototype.updateHtmlTransform = function()
Returns the spacing as an mxPoint.
mxConnectionHandler.prototype.updateIcons = function(state,
icons,
me)
Hook to update the icon position(s) based on a mouseOver event.
mxGraphModel.prototype.updateLevel
Counter for the depth of nested transactions.
mxVertexHandler.prototype.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.
mxVertexHandler.prototype.updateParentHighlight = function()
Updates the highlight of the parent if parentHighlightEnabled is true.
mxGraphView.prototype.updatePoints = function(edge,
points,
source,
target)
Updates the absolute points in the given state using the specified array of mxPoints as the relative points.
mxGraphHandler.prototype.updatePreviewShape = function()
Updates the bounds of the preview shape.
mxEdgeSegmentHandler.prototype.updatePreviewState = function(edge,
point,
terminalState,
me)
Overridden to perform optimization of the edge style result.
mxEdgeHandler.prototype.updatePreviewState = function(edge,
point,
terminalState,
me)
Updates the given preview state taking into account the state of the constraint handler.
mxText.prototype.updateSize = function(node,
enableWrap)
Updates the HTML node(s) to reflect the latest bounds and scale.
mxSvgCanvas2D.prototype.updateStroke = function()
Transfers the stroke attributes from state to node.
mxSvgCanvas2D.prototype.updateStrokeAttributes = function()
Transfers the stroke attributes from state to node.
mxGraphView.prototype.updateStyle
Specifies if the style should be updated in each validation step.
mxShape.prototype.updateTransform = function(c,
x,
y,
w,
h)
Sets the scale and rotation on the given canvas.
mxText.prototype.updateValue = function()
Updates the HTML node(s) to reflect the latest bounds and scale.
mxGraphView.prototype.updateVertexLabelOffset = function(state)
Updates the absoluteOffset of the given vertex cell state.
mxGraphView.prototype.updateVertexState = function(state,
geo)
Validates the given cell state.
mxShape.prototype.updateVmlContainer = function()
Updates the bounds of the VML container.
mxText.prototype.updateVmlContainer = function()
Sets the width and height of the container to 1px.
Specifies the resource key for the status message while the document is being updated.
mxGraphSelectionModel.prototype.updatingSelectionResource
Specifies the resource key for the status message while the selection is being updated.
mxXmlRequest.prototype.url
Holds the target URL of the request.
mxEditor.prototype.urlHelp
Specifies the URL to be used for the contents of the Online Help window.
mxEditor.prototype.urlImage
Specifies the URL to be used for creating a bitmap of the graph in the image action.
mxEditor.prototype.urlPost
Specifies the URL to be used for posting the diagram to a backend in save.
mxGraphLayout.prototype.useBoundingBox
Boolean indicating if the bounding box of the label should be used if its available.
mxPanningHandler.prototype.useGrid
Specifies if the panning steps should be aligned to the grid size.
mxGraphHandler.prototype.useGuidesForEvent = function(me)
Returns true if the guides should be used for the given mxMouseEvent.
mxFastOrganicLayout.prototype.useInputOrigin
Specifies if the top left corner of the input cells should be the origin of the layout result.
mxPanningHandler.prototype.useLeftButtonForPanning
Specifies if panning should be active for the left mouse button.
mxPopupMenu.prototype.useLeftButtonForPopup
Specifies if popupmenus should be activated by clicking the left mouse button.
mxPanningHandler.prototype.usePopupTrigger
Specifies if mxEvent.isPopupTrigger should also be used for panning.
mxXmlRequest.prototype.username
Specifies the username to be used for authentication.
mxGraph.prototype.useScrollbarsForPanning
Specifies if scrollbars should be used for panning in panGraph if any scrollbars are available.
@@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/General19.html b/docs/js-api/index/General19.html index accabddbe..debcd4ed1 100644 --- a/docs/js-api/index/General19.html +++ b/docs/js-api/index/General19.html @@ -11,9 +11,9 @@ if (browserType) {document.write("
");if (browserV -
Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
V
 VALID_COLOR, mxConstants
 validate, mxGraphView
 validateBackground, mxGraphView
 validateBackgroundImage, mxGraphView
 validateBackgroundPage, mxGraphView
 validateCell
 validateCellState, mxGraphView
 validateConnection
 validateEdge, mxGraph
 validateGraph, mxGraph
 validating, mxEditor
 Validation, mxGraph
 validationAlert, mxGraph
 validColor, mxCellMarker
 validNeighbors, mxMultiplicity
 validNeighborsAllowed, mxMultiplicity
 validState, mxCellMarker
 value
 valueChanged, mxCell
 valueForCellChanged, mxGraphModel
 values, mxStyleRegistry
 Variables
MedianCellSortermxAbstractCanvas2DmxAnimationmxAutoSaveManagermxCellmxCellEditormxCellHighlightmxCellMarkermxCellOverlaymxCellPathmxCellRenderermxCellStatemxCellStatePreviewmxCircleLayoutmxClientmxClipboardmxCodecmxCodecRegistrymxCompactTreeLayoutmxCompositeLayoutmxConnectionConstraintmxConstantsmxConstraintHandlermxCoordinateAssignmentmxCylindermxDefaultKeyHandlermxDefaultPopupMenumxDefaultToolbarmxDefaultToolbarCodecmxDoubleEllipsemxDragSourcemxEdgeHandlermxElbowEdgeHandlermxEventmxEventObjectmxEventSourcemxFastOrganicLayoutmxFormmxGeometrymxGraphmxGraphAbstractHierarchyCellmxGraphHandlermxGraphHierarchyEdgemxGraphHierarchyModelmxGraphHierarchyNodemxGraphLayoutmxGraphModelmxGraphSelectionModelmxGraphViewmxGuidemxHandlemxHierarchicalLayoutmxImagemxImageBundlemxImageExportmxImageShapemxKeyHandlermxLabelmxLayoutManagermxLogmxMarkermxMedianHybridCrossingReductionmxMinimumCycleRemovermxMorphingmxMouseEventmxMultiplicitymxObjectCodecmxObjectIdentitymxOutlinemxPanningHandlermxPanningManagermxParallelEdgeLayoutmxPartitionLayoutmxPointmxPopupMenumxPopupMenuHandlermxPrintPreviewmxRadialTreeLayoutmxRectanglemxResourcesmxRubberbandmxShapemxSpaceManagermxStackLayoutmxStencilmxStyleRegistrymxStylesheetCodecmxSvgCanvas2DmxSwimlanemxSwimlaneLayoutmxSwimlaneManagermxSwimlaneModelmxSwimlaneOrderingmxTemporaryCellStatesmxTextmxToolbarmxTooltipHandlermxUndoableEditmxUndoManagermxUrlConvertermxUtilsmxVertexHandlermxVmlCanvas2DmxWindowmxXmlCanvas2DmxXmlRequestWeightedCellSorter
 VERSION, mxClient
 vertex, mxCell
 VERTEX_SELECTION_COLOR, mxConstants
 VERTEX_SELECTION_STROKEWIDTH, mxConstants
 vertexArray, mxFastOrganicLayout
 vertexLabelsMovable, mxGraph
 vertexMapper
 vertical, mxGuide
 verticalAlign, mxCellOverlay
 verticalLayout, mxCompactTreeLayout
 verticalOffset, mxVertexHandler
 verticalTextRotation, mxText
 view
 VIRTUAL_HANDLE, mxEvent
 virtualBendOpacity, mxEdgeHandler
 virtualBendsEnabled, mxEdgeHandler
 visible
 visibleSourceState, mxCellState
 visibleStateForCellChanged, mxGraphModel
 visibleTargetState, mxCellState
 visit
 visited
 VML_PREFIX, mxClient
 vmlScale
+
Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
V
 VALID_COLOR, mxConstants
 validate, mxGraphView
 validateBackground, mxGraphView
 validateBackgroundImage, mxGraphView
 validateBackgroundPage, mxGraphView
 validateCell
 validateCellState, mxGraphView
 validateConnection
 validateEdge, mxGraph
 validateGraph, mxGraph
 validating, mxEditor
 Validation, mxGraph
 validationAlert, mxGraph
 validColor, mxCellMarker
 validNeighbors, mxMultiplicity
 validNeighborsAllowed, mxMultiplicity
 validState, mxCellMarker
 value
 valueChanged, mxCell
 valueForCellChanged, mxGraphModel
 values, mxStyleRegistry
 Variables
MedianCellSortermxAbstractCanvas2DmxAnimationmxAutoSaveManagermxCellmxCellEditormxCellHighlightmxCellMarkermxCellOverlaymxCellPathmxCellRenderermxCellStatemxCellStatePreviewmxCircleLayoutmxClientmxClipboardmxCodecmxCodecRegistrymxCompactTreeLayoutmxCompositeLayoutmxConnectionConstraintmxConstantsmxConstraintHandlermxCoordinateAssignmentmxCylindermxDefaultKeyHandlermxDefaultPopupMenumxDefaultToolbarmxDefaultToolbarCodecmxDoubleEllipsemxDragSourcemxEdgeHandlermxElbowEdgeHandlermxEventmxEventObjectmxEventSourcemxFastOrganicLayoutmxFormmxGeometrymxGraphmxGraphAbstractHierarchyCellmxGraphHandlermxGraphHierarchyEdgemxGraphHierarchyModelmxGraphHierarchyNodemxGraphLayoutmxGraphModelmxGraphSelectionModelmxGraphViewmxGuidemxHandlemxHierarchicalLayoutmxImagemxImageBundlemxImageExportmxImageShapemxKeyHandlermxLabelmxLayoutManagermxLogmxMarkermxMedianHybridCrossingReductionmxMinimumCycleRemovermxMorphingmxMouseEventmxMultiplicitymxObjectCodecmxObjectIdentitymxOutlinemxPanningHandlermxPanningManagermxParallelEdgeLayoutmxPartitionLayoutmxPointmxPopupMenumxPopupMenuHandlermxPrintPreviewmxRadialTreeLayoutmxRectanglemxResourcesmxRubberbandmxShapemxStackLayoutmxStencilmxStyleRegistrymxStylesheetCodecmxSvgCanvas2DmxSwimlanemxSwimlaneLayoutmxSwimlaneManagermxSwimlaneModelmxSwimlaneOrderingmxTemporaryCellStatesmxTextmxToolbarmxTooltipHandlermxUndoableEditmxUndoManagermxUrlConvertermxUtilsmxVertexHandlermxVmlCanvas2DmxWindowmxXmlCanvas2DmxXmlRequestWeightedCellSorter
 VERSION, mxClient
 vertex, mxCell
 VERTEX_SELECTION_COLOR, mxConstants
 VERTEX_SELECTION_STROKEWIDTH, mxConstants
 vertexArray, mxFastOrganicLayout
 vertexLabelsMovable, mxGraph
 vertexMapper
 vertical, mxGuide
 verticalAlign, mxCellOverlay
 verticalLayout, mxCompactTreeLayout
 verticalOffset, mxVertexHandler
 verticalTextRotation, mxText
 view
 VIRTUAL_HANDLE, mxEvent
 virtualBendOpacity, mxEdgeHandler
 virtualBendsEnabled, mxEdgeHandler
 visible
 visibleSourceState, mxCellState
 visibleStateForCellChanged, mxGraphModel
 visibleTargetState, mxCellState
 visit
 visited
 VML_PREFIX, mxClient
 vmlScale
-
Defines the color to be used for the coloring valid connection previews.
mxGraphView.prototype.validate = function(cell)
Calls validateCell and validateCellState and updates the graphBounds using getBoundingBox.
mxGraphView.prototype.validateBackground = function()
Calls validateBackgroundImage and validateBackgroundPage.
mxGraphView.prototype.validateBackgroundImage = function()
Validates the background image.
mxGraphView.prototype.validateBackgroundPage = function()
Validates the background page.
mxGraph.prototype.validateCell = function(cell,
context)
Hook method for subclassers to return an error message for the given cell and validation context.
mxGraphView.prototype.validateCell = function(cell,
visible)
Recursively creates the cell state for the given cell if visible is true and the given cell is visible.
mxGraphView.prototype.validateCellState = function(cell,
recurse)
Validates and repaints the mxCellState for the given mxCell.
mxConnectionHandler.prototype.validateConnection = function(source,
target)
Returns the error message or an empty string if the connection for the given source target pair is not valid.
mxEdgeHandler.prototype.validateConnection = function(source,
target)
Returns the error message or an empty string if the connection for the given source, target pair is not valid.
mxGraph.prototype.validateEdge = function(edge,
source,
target)
Hook method for subclassers to return an error message for the given edge and terminals.
mxGraph.prototype.validateGraph = function(cell,
context)
Validates the graph by validating each descendant of the given cell or the root of the model.
mxEditor.prototype.validating
Specifies if mxGraph.validateGraph should automatically be invoked after each change.
mxGraph.prototype.validationAlert = function(message)
Displays the given validation error in a dialog.
mxCellMarker.prototype.validColor
Holds the valid marker color.
mxMultiplicity.prototype.validNeighbors
Holds an array of strings that specify the type of neighbor for which this rule applies.
mxMultiplicity.prototype.validNeighborsAllowed
Boolean indicating if the list of validNeighbors are those that are allowed for this rule or those that are not allowed for this rule.
mxCellMarker.prototype.validState
Holds the marked mxCellState if it is valid.
mxCell.prototype.value
Holds the user object.
mxMultiplicity.prototype.value
Optional string that specifies the value of the attribute to be passed to mxUtils.isNode to check if the rule applies to a cell.
mxCell.prototype.valueChanged = function(newValue)
Changes the user object after an in-place edit and returns the previous value.
mxGraphModel.prototype.valueForCellChanged = function(cell,
value)
Inner callback to update the user object of the given mxCell using mxCell.valueChanged and return the previous value, that is, the return value of mxCell.valueChanged.
Maps from strings to objects.
Contains the current version of the mxGraph library.
mxCell.prototype.vertex
Specifies whether the cell is a vertex.
Defines the color to be used for the selection border of vertices.
Defines the strokewidth to be used for vertex selections.
mxFastOrganicLayout.prototype.vertexArray
An array of all vertices to be laid out.
mxGraph.prototype.vertexLabelsMovable
Specifies the return value for vertices in isLabelMovable.
mxGraphHierarchyModel.prototype.vertexMapper
Map from graph vertices to internal model nodes.
mxSwimlaneModel.prototype.vertexMapper
Map from graph vertices to internal model nodes.
mxGuide.prototype.vertical
Specifies if vertical guides are enabled.
mxCellOverlay.prototype.verticalAlign
Holds the vertical alignment for the overlay.
mxCompactTreeLayout.prototype.verticalLayout = function(node,
parent,
x0,
y0,
bounds)
mxVertexHandler.prototype.verticalOffset
The horizontal offset for the handles.
mxText.prototype.verticalTextRotation
Rotation for vertical text.
mxCellState.prototype.view
Reference to the enclosing mxGraphView.
mxGraph.prototype.view
Holds the mxGraphView that caches the mxCellStates for the cells.
mxTemporaryCellStates.prototype.view
Holds the width of the rectangle.
Start index for the virtual handles in an mxMouseEvent.
mxEdgeHandler.prototype.virtualBendOpacity
Opacity to be used for virtual bends (see virtualBendsEnabled).
mxEdgeHandler.prototype.virtualBendsEnabled
Specifies if virtual bends should be added in the center of each segments.
mxCell.prototype.visible
Specifies whether the cell is visible.
mxShape.prototype.visible
Specifies if the shape is visible.
mxWindow.prototype.visible
Boolean flag that represents the visible state of the window.
mxCellState.prototype.visibleSourceState
Caches the visible source terminal state.
mxGraphModel.prototype.visibleStateForCellChanged = function(cell,
visible)
Inner callback to update the visible state of the given mxCell using mxCell.setCollapsed and return the previous visible state.
mxCellState.prototype.visibleTargetState
Caches the visible target terminal state.
mxDictionary.prototype.visit = function(visitor)
Visits all entries in the dictionary using the given function with the following signature: function(key, value) where key is a string and value is an object.
mxGraphHierarchyModel.prototype.visit = function(visitor,
dfsRoots,
trackAncestors,
seenNodes)
A depth first search through the internal heirarchy model.
mxSwimlaneModel.prototype.visit = function(visitor,
dfsRoots,
trackAncestors,
seenNodes)
A depth first search through the internal heirarchy model.
mxCompactTreeLayout.prototype.visited
Specifies if the tree should be moved to the top, left corner if it is inside a top-level layer.
WeightedCellSorter.prototype.visited
Whether or not this cell has been visited in the current assignment.
Prefix for VML namespace in node names.
mxDoubleEllipse.prototype.vmlScale
Scale for improving the precision of VML rendering.
mxShape.prototype.vmlScale
Scale for improving the precision of VML rendering.
mxVmlCanvas2D.prototype.vmlScale
Specifies the scale used to draw VML shapes.
+
Defines the color to be used for the coloring valid connection previews.
mxGraphView.prototype.validate = function(cell)
Calls validateCell and validateCellState and updates the graphBounds using getBoundingBox.
mxGraphView.prototype.validateBackground = function()
Calls validateBackgroundImage and validateBackgroundPage.
mxGraphView.prototype.validateBackgroundImage = function()
Validates the background image.
mxGraphView.prototype.validateBackgroundPage = function()
Validates the background page.
mxGraph.prototype.validateCell = function(cell,
context)
Hook method for subclassers to return an error message for the given cell and validation context.
mxGraphView.prototype.validateCell = function(cell,
visible)
Recursively creates the cell state for the given cell if visible is true and the given cell is visible.
mxGraphView.prototype.validateCellState = function(cell,
recurse)
Validates and repaints the mxCellState for the given mxCell.
mxConnectionHandler.prototype.validateConnection = function(source,
target)
Returns the error message or an empty string if the connection for the given source target pair is not valid.
mxEdgeHandler.prototype.validateConnection = function(source,
target)
Returns the error message or an empty string if the connection for the given source, target pair is not valid.
mxGraph.prototype.validateEdge = function(edge,
source,
target)
Hook method for subclassers to return an error message for the given edge and terminals.
mxGraph.prototype.validateGraph = function(cell,
context)
Validates the graph by validating each descendant of the given cell or the root of the model.
mxEditor.prototype.validating
Specifies if mxGraph.validateGraph should automatically be invoked after each change.
mxGraph.prototype.validationAlert = function(message)
Displays the given validation error in a dialog.
mxCellMarker.prototype.validColor
Holds the valid marker color.
mxMultiplicity.prototype.validNeighbors
Holds an array of strings that specify the type of neighbor for which this rule applies.
mxMultiplicity.prototype.validNeighborsAllowed
Boolean indicating if the list of validNeighbors are those that are allowed for this rule or those that are not allowed for this rule.
mxCellMarker.prototype.validState
Holds the marked mxCellState if it is valid.
mxCell.prototype.value
Holds the user object.
mxMultiplicity.prototype.value
Optional string that specifies the value of the attribute to be passed to mxUtils.isNode to check if the rule applies to a cell.
mxCell.prototype.valueChanged = function(newValue)
Changes the user object after an in-place edit and returns the previous value.
mxGraphModel.prototype.valueForCellChanged = function(cell,
value)
Inner callback to update the user object of the given mxCell using mxCell.valueChanged and return the previous value, that is, the return value of mxCell.valueChanged.
Maps from strings to objects.
Contains the current version of the mxGraph library.
mxCell.prototype.vertex
Specifies whether the cell is a vertex.
Defines the color to be used for the selection border of vertices.
Defines the strokewidth to be used for vertex selections.
mxFastOrganicLayout.prototype.vertexArray
An array of all vertices to be laid out.
mxGraph.prototype.vertexLabelsMovable
Specifies the return value for vertices in isLabelMovable.
mxGraphHierarchyModel.prototype.vertexMapper
Map from graph vertices to internal model nodes.
mxSwimlaneModel.prototype.vertexMapper
Map from graph vertices to internal model nodes.
mxGuide.prototype.vertical
Specifies if vertical guides are enabled.
mxCellOverlay.prototype.verticalAlign
Holds the vertical alignment for the overlay.
mxCompactTreeLayout.prototype.verticalLayout = function(node,
parent,
x0,
y0,
bounds)
mxVertexHandler.prototype.verticalOffset
The horizontal offset for the handles.
mxText.prototype.verticalTextRotation
Rotation for vertical text.
mxCellState.prototype.view
Reference to the enclosing mxGraphView.
mxGraph.prototype.view
Holds the mxGraphView that caches the mxCellStates for the cells.
mxTemporaryCellStates.prototype.view
Holds the width of the rectangle.
Start index for the virtual handles in an mxMouseEvent.
mxEdgeHandler.prototype.virtualBendOpacity
Opacity to be used for virtual bends (see virtualBendsEnabled).
mxEdgeHandler.prototype.virtualBendsEnabled
Specifies if virtual bends should be added in the center of each segments.
mxCell.prototype.visible
Specifies whether the cell is visible.
mxShape.prototype.visible
Specifies if the shape is visible.
mxWindow.prototype.visible
Boolean flag that represents the visible state of the window.
mxCellState.prototype.visibleSourceState
Caches the visible source terminal state.
mxGraphModel.prototype.visibleStateForCellChanged = function(cell,
visible)
Inner callback to update the visible state of the given mxCell using mxCell.setCollapsed and return the previous visible state.
mxCellState.prototype.visibleTargetState
Caches the visible target terminal state.
mxDictionary.prototype.visit = function(visitor)
Visits all entries in the dictionary using the given function with the following signature: function(key, value) where key is a string and value is an object.
mxGraphHierarchyModel.prototype.visit = function(visitor,
dfsRoots,
trackAncestors,
seenNodes)
A depth first search through the internal heirarchy model.
mxSwimlaneModel.prototype.visit = function(visitor,
dfsRoots,
trackAncestors,
seenNodes)
A depth first search through the internal heirarchy model.
mxCompactTreeLayout.prototype.visited
Specifies if the tree should be moved to the top, left corner if it is inside a top-level layer.
WeightedCellSorter.prototype.visited
Whether or not this cell has been visited in the current assignment.
Prefix for VML namespace in node names.
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.
@@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/General2.html b/docs/js-api/index/General2.html index b35bed02c..097d18530 100644 --- a/docs/js-api/index/General2.html +++ b/docs/js-api/index/General2.html @@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/General20.html b/docs/js-api/index/General20.html index c95187e7e..de63ed426 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.
mxPrintPreview.prototype.x0
Holds the horizontal offset of the output.
mxStackLayout.prototype.x0
Specifies the horizontal origin of the layout.
+
mxGraphAbstractHierarchyCell.prototype.x
The x position of this cell for each layer it occupies
mxPoint.prototype.x
Holds the x-coordinate of the point.
mxCircleLayout.prototype.x0
Integer specifying the left coordinate of the circle.
mxPrintPreview.prototype.x0
Holds the horizontal offset of the output.
mxStackLayout.prototype.x0
Specifies the horizontal origin of the layout.
-
mxGraphAbstractHierarchyCell.prototype.y
The y position of this cell for each layer it occupies
mxPoint.prototype.y
Holds the y-coordinate of the point.
mxCircleLayout.prototype.y0
Integer specifying the top coordinate of the circle.
mxPrintPreview.prototype.y0
Holds the vertical offset of the output.
mxStackLayout.prototype.y0
Specifies the vertical origin of the layout.
+
mxGraphAbstractHierarchyCell.prototype.y
The y position of this cell for each layer it occupies
mxPoint.prototype.y
Holds the y-coordinate of the point.
mxCircleLayout.prototype.y0
Integer specifying the top coordinate of the circle.
mxPrintPreview.prototype.y0
Holds the vertical offset of the output.
mxStackLayout.prototype.y0
Specifies the vertical origin of the layout.
-
mxCellEditor.prototype.zIndex
Specifies the zIndex for the textarea.
mxPopupMenu.prototype.zIndex
Specifies the zIndex for the popupmenu and its shadow.
mxTooltipHandler.prototype.zIndex
Specifies the zIndex for the tooltip and its shadow.
mxGraph.prototype.zoom = function(factor,
center)
Zooms the graph using the given factor.
mxGraph.prototype.zoomActual = function()
Resets the zoom and panning in the view.
mxGraph.prototype.zoomFactor
Specifies the factor used for zoomIn and zoomOut.
mxGraph.prototype.zoomIn = function()
Zooms into the graph by zoomFactor.
mxGraph.prototype.zoomOut = function()
Zooms out of the graph by zoomFactor.
mxGraph.prototype.zoomTo = function(scale,
center)
Zooms the graph to the given scale with an optional boolean center argument, which is passd to zoom.
mxGraph.prototype.zoomToRect = function(rect)
Zooms the graph to the specified rectangle.
+
mxCellEditor.prototype.zIndex
Specifies the zIndex for the textarea.
mxPopupMenu.prototype.zIndex
Specifies the zIndex for the popupmenu and its shadow.
mxTooltipHandler.prototype.zIndex
Specifies the zIndex for the tooltip and its shadow.
mxGraph.prototype.zoom = function(factor,
center)
Zooms the graph using the given factor.
mxGraph.prototype.zoomActual = function()
Resets the zoom and panning in the view.
mxGraph.prototype.zoomFactor
Specifies the factor used for zoomIn and zoomOut.
mxGraph.prototype.zoomIn = function()
Zooms into the graph by zoomFactor.
mxGraph.prototype.zoomOut = function()
Zooms out of the graph by zoomFactor.
mxGraph.prototype.zoomTo = function(scale,
center)
Zooms the graph to the given scale with an optional boolean center argument, which is passd to zoom.
mxGraph.prototype.zoomToRect = function(rect)
Zooms the graph to the specified rectangle.
@@ -33,7 +33,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/General3.html b/docs/js-api/index/General3.html index f4a0d66da..24630050d 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
 calcRowDims, mxRadialTreeLayout
 calculateCrossings, mxMedianHybridCrossingReduction
 calculatedWeightedValue, mxCoordinateAssignment
 calculateRankCrossing, mxMedianHybridCrossingReduction
 calculateWidestRank, mxCoordinateAssignment
 canExportCell, mxGraph
 canImportCell, mxGraph
 canRedo, mxUndoManager
 canUndo, mxUndoManager
 captureDocumentGesture, mxGraphView
 cascadeOpacity
 cell
 Cell alignment and orientation, mxGraph
 Cell cloning,insertion and removal, mxGraph
 Cell connecting and connection constraints, mxGraph
 Cell moving, mxGraph
 Cell retrieval, mxGraph
 Cell sizing, mxGraph
 Cell styles, mxGraph
 Cell visibility, mxGraph
 CELL_CONNECTED
 cellAdded
 cellCloned, mxGraphModel
 cellConnected, mxGraph
 cellEditor, mxGraph
 cellLabelChanged, mxGraph
 cellLocation, mxFastOrganicLayout
 cellRemoved
 cellRenderer, mxGraph
 cellResized
 cells
 CELLS_ADDED
 CELLS_FOLDED
 CELLS_MOVED
 CELLS_ORDERED
 CELLS_REMOVED
 CELLS_RESIZED
 CELLS_TOGGLED, mxEvent
 cellsAdded
 cellsBendable, mxGraph
 cellsCloneable, mxGraph
 cellsDeletable, mxGraph
 cellsDisconnectable, mxGraph
 cellsEditable, mxGraph
 cellsFolded, mxGraph
 cellSizeUpdated, mxGraph
 cellsLocked, mxGraph
 cellsMovable, mxGraph
 cellsMoved
 cellsOrdered, mxGraph
 cellsRemoved, mxGraph
 cellsResizable, mxGraph
 cellsResized
 cellsSelectable, mxGraph
 cellsToggled, mxGraph
 center, mxGraph
 centerZoom, mxGraph
 CHANGE
 changeHandler
 changePoints, mxEdgeHandler
 changes, mxUndoableEdit
 changeSelection, mxGraphSelectionModel
 changeTerminalPoint, mxEdgeHandler
 channelBuffer
 check, mxMultiplicity
 checkBounds
 checkLabelHandle, mxEdgeHandler
 checkNeighbors, mxMultiplicity
 checkTerminal, mxMultiplicity
 checkTolerance, mxVertexHandler
 checkType, mxMultiplicity
 children, mxCell
 circle, mxCircleLayout
 clear
 CLEAR
 clearCellOverlays, mxGraph
 clearSelection
 clearSelectionOnBackground, mxPopupMenuHandler
 click, mxGraph
 CLICK
 clone
 cloneCell, mxGraphModel
 cloneCellImpl, mxGraphModel
 cloneCells
 cloneEnabled
 cloneInvalidEdges, mxGraph
 clonePreviewState, mxEdgeHandler
 cloneTemplate, mxObjectCodec
 cloneValue, mxCell
 close
 CLOSE
 closeImage, mxWindow
 closeOp
 closeResource, mxUtils
 codecs, mxCodecRegistry
 collapsed, mxCell
 collapsedImage, mxGraph
 collapsedStateForCellChanged, mxGraphModel
 collapseExpandResource, mxGraph
 collapseToPreferredSize, mxGraph
 compare
 compressed, mxXmlCanvas2D
 computeAspect, mxStencil
 config, mxDefaultPopupMenu
 configure, mxEditor
 configureCanvas
 configureShape, mxCellRenderer
 confirm, mxUtils
 connect
 CONNECT
 CONNECT_CELL
 CONNECT_HANDLE_FILLCOLOR, mxConstants
 connectable, mxCell
 connectableEdges, mxGraph
 connectCell, mxGraph
 connectIconOffset, mxConnectionHandler
 connectImage, mxConnectionHandler
 connectOnDrop
 connectsAsSource, mxGraphHierarchyNode
 connectsAsTarget, mxGraphHierarchyNode
 consoleName, mxLog
 constrainChild, mxGraph
 constrainChildCells, mxGraph
 constrainChildren, mxGraph
 constrainChildrenOnResize, mxGraph
 constrainGroupByChildren, mxVertexHandler
 constraintHandler
 constraints, mxStencil
 consume
 consumeCycleAttribute, mxEditor
 consumed
 consumeMouseEvent, mxGraph
 consumePanningTrigger, mxPanningHandler
 container, mxToolbar
 contains
 containsValidationErrorsResource, mxGraph
 content, mxWindow
 contentHeightCorrection, mxWindow
 controlKeys, mxKeyHandler
 Controls and Handlers, mxEditor
 controlShiftKeys, mxKeyHandler
 convert, mxUrlConverter
 convertAttributeFromXml, mxObjectCodec
 convertAttributeToXml, mxObjectCodec
 converter, mxAbstractCanvas2D
 convertHtml, mxSvgCanvas2D
 convertPoint
 convertValueToString, mxGraph
 convertWaypoint, mxConnectionHandler
 copy, mxClipboard
 copyStyle, mxHandle
 count, mxCellStatePreview
 counter, mxObjectIdentity
 countError, mxMultiplicity
 create
 createBackgroundPageShape, mxGraphView
 createBends
 createBoundingBox, mxShape
 createBounds, mxVertexHandler
 createCanvas, mxShape
 createCellEditor, mxGraph
 createCellOverlays, mxCellRenderer
 createCellRenderer, mxGraph
 createClip, mxSvgCanvas2D
 createConditions, mxDefaultPopupMenu
 createConnectionHandler, mxGraph
 createControl, mxCellRenderer
 createCustomHandles
 createDashPattern, mxSvgCanvas2D
 createDefaultEdgeStyle, mxStylesheet
 createDefaultVertexStyle, mxStylesheet
 createDiagramLayout, mxEditor
 createDiv, mxSvgCanvas2D
 createDragElement, mxDragSource
 createEdge
 createEdgeHandler, mxGraph
 createEdgeSegmentHandler, mxGraph
 createEdgeState, mxConnectionHandler
 createElbowEdgeHandler, mxGraph
 createElement
 createFill, mxVmlCanvas2D
 createGradientId, mxSvgCanvas2D
 createGraph
 createGraphHandler, mxGraph
 createGraphView, mxGraph
 createGroup, mxEditor
 createGroupCell, mxGraph
 createGuideShape, mxGuide
 createHandler, mxGraph
 createHandlers, mxGraph
 createHandleShape, mxEdgeHandler
 createHtml
 createHtmlPane, mxGraphView
 createIcons, mxConnectionHandler
 createId, mxGraphModel
 createIds, mxGraphModel
 createImage, mxUtils
 createIndicatorShape, mxCellRenderer
 createInternalCells
 createLabel, mxCellRenderer
 createLabelHandleShape, mxEdgeHandler
 createLayoutManager, mxEditor
 createLine, mxCompactTreeLayout
 createMarker
 createMenu, mxDefaultPopupMenu
 createNode, mxCompactTreeLayout
 createPageSelector, mxPrintPreview
 createPanningHandler, mxGraph
 createPanningManager, mxGraph
 createParentHighlightShape, mxVertexHandler
 createPopupMenu, mxEditor
 createPopupMenuHandler, mxGraph
 createPreviewElement, mxDragSource
 createPreviewShape, mxGraphHandler
 createProperties, mxEditor
 createRect, mxVmlCanvas2D
 createRoot, mxGraphModel
 createSelectionCellsHandler, mxGraph
 createSelectionModel, mxGraph
 createSelectionShape
 createShadow
 createShadowFill, mxVmlCanvas2D
 createShadowStroke, mxVmlCanvas2D
 createShape
 createSizer
 createSizerShape, mxVertexHandler
 createState
 createStroke, mxVmlCanvas2D
 createStyle, mxSvgCanvas2D
 createStylesheet, mxGraph
 createSubmenu, mxPopupMenu
 createSvg, mxShape
 createSvgCanvas, mxShape
 createSvgGradient, mxSvgCanvas2D
 createSwimlaneLayout, mxEditor
 createSwimlaneManager, mxEditor
 createTarget, mxConnectionHandler
 createTargetVertex, mxConnectionHandler
 createTasks, mxEditor
 createText, mxVmlCanvas2D
 createTextDiv, mxCellEditor
 createTolerance, mxSvgCanvas2D
 createToolbar, mxEditor
 createTooltipHandler, mxGraph
 createTransparentFill, mxVmlCanvas2D
 createTransparentSvgRectangle, mxShape
 createUndoableEdit, mxGraphModel
 createUrlConverter, mxAbstractCanvas2D
 createVertex, mxGraph
 createVertexHandler, mxGraph
 createVirtualBend, mxElbowEdgeHandler
 createVirtualBends, mxEdgeHandler
 createVml, mxShape
 createVmlCanvas, mxShape
 createVmlElement, mxVmlCanvas2D
 createVmlGroup, mxShape
 createVmlPane, mxGraphView
 createXmlDocument, mxUtils
 crossingStage
 currentBestCrossings, mxMedianHybridCrossingReduction
 currentColor, mxCellMarker
 currentDropTarget, mxDragSource
 currentDx, mxGraphHandler
 currentDy, mxGraphHandler
 currentEdit, mxGraphModel
 currentFileResource, mxEditor
 currentGraph, mxDragSource
 currentGuide, mxDragSource
 currentPoint, mxDragSource
 currentRoot, mxGraphView
 currentX, mxRubberband
 currentXDelta, mxCoordinateAssignment
 currentY, mxRubberband
 cursor
 CURSOR_BEND_HANDLE, mxConstants
 CURSOR_CONNECT, mxConstants
 CURSOR_LABEL_HANDLE, mxConstants
 CURSOR_MOVABLE_EDGE, mxConstants
 CURSOR_MOVABLE_VERTEX, mxConstants
 CURSOR_TERMINAL_HANDLE, mxConstants
 CURSOR_VIRTUAL_BEND_HANDLE, mxConstants
 curveOp
 curveTo
 CUSTOM_HANDLE, mxEvent
 cut, mxClipboard
 cycleAttribute, mxEditor
 cycleAttributeIndex, mxEditor
 cycleAttributeName, mxEditor
 cycleAttributeValues, mxEditor
 cycleStage
+
Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
C
 calcAttraction, mxFastOrganicLayout
 calcPositions, mxFastOrganicLayout
 calcRepulsion, mxFastOrganicLayout
 calcRowDims, mxRadialTreeLayout
 calculateCrossings, mxMedianHybridCrossingReduction
 calculatedWeightedValue, mxCoordinateAssignment
 calculateRankCrossing, mxMedianHybridCrossingReduction
 calculateWidestRank, mxCoordinateAssignment
 canExportCell, mxGraph
 canImportCell, mxGraph
 canRedo, mxUndoManager
 canUndo, mxUndoManager
 captureDocumentGesture, mxGraphView
 cascadeOpacity
 cell
 Cell alignment and orientation, mxGraph
 Cell cloning,insertion and removal, mxGraph
 Cell connecting and connection constraints, mxGraph
 Cell moving, mxGraph
 Cell retrieval, mxGraph
 Cell sizing, mxGraph
 Cell styles, mxGraph
 Cell visibility, mxGraph
 CELL_CONNECTED
 cellAdded
 cellCloned, mxGraphModel
 cellConnected, mxGraph
 cellEditor, mxGraph
 cellLabelChanged, mxGraph
 cellLocation, mxFastOrganicLayout
 cellRemoved
 cellRenderer, mxGraph
 cellResized, mxGraph
 cells
 CELLS_ADDED
 CELLS_FOLDED
 CELLS_MOVED
 CELLS_ORDERED
 CELLS_REMOVED
 CELLS_RESIZED
 CELLS_TOGGLED, mxEvent
 cellsAdded
 cellsBendable, mxGraph
 cellsCloneable, mxGraph
 cellsDeletable, mxGraph
 cellsDisconnectable, mxGraph
 cellsEditable, mxGraph
 cellsFolded, mxGraph
 cellSizeUpdated, mxGraph
 cellsLocked, mxGraph
 cellsMovable, mxGraph
 cellsMoved
 cellsOrdered, mxGraph
 cellsRemoved, mxGraph
 cellsResizable, mxGraph
 cellsResized
 cellsSelectable, mxGraph
 cellsToggled, mxGraph
 center, mxGraph
 centerZoom, mxGraph
 CHANGE
 changeHandler
 changePoints, mxEdgeHandler
 changes, mxUndoableEdit
 changeSelection, mxGraphSelectionModel
 changeTerminalPoint, mxEdgeHandler
 channelBuffer
 check, mxMultiplicity
 checkBounds
 checkLabelHandle, mxEdgeHandler
 checkNeighbors, mxMultiplicity
 checkTerminal, mxMultiplicity
 checkTolerance, mxVertexHandler
 checkType, mxMultiplicity
 children, mxCell
 circle, mxCircleLayout
 clear
 CLEAR
 clearCellOverlays, mxGraph
 clearSelection
 clearSelectionOnBackground, mxPopupMenuHandler
 click, mxGraph
 CLICK
 clone
 cloneCell, mxGraphModel
 cloneCellImpl, mxGraphModel
 cloneCells
 cloneEnabled
 cloneInvalidEdges, mxGraph
 clonePreviewState, mxEdgeHandler
 cloneTemplate, mxObjectCodec
 cloneValue, mxCell
 close
 CLOSE
 closeImage, mxWindow
 closeOp
 closeResource, mxUtils
 codecs, mxCodecRegistry
 collapsed, mxCell
 collapsedImage, mxGraph
 collapsedStateForCellChanged, mxGraphModel
 collapseExpandResource, mxGraph
 collapseToPreferredSize, mxGraph
 compare
 compressed, mxXmlCanvas2D
 computeAspect, mxStencil
 config, mxDefaultPopupMenu
 configure, mxEditor
 configureCanvas
 configureShape, mxCellRenderer
 confirm, mxUtils
 connect
 CONNECT
 CONNECT_CELL
 CONNECT_HANDLE_FILLCOLOR, mxConstants
 connectable, mxCell
 connectableEdges, mxGraph
 connectCell, mxGraph
 connectIconOffset, mxConnectionHandler
 connectImage, mxConnectionHandler
 connectOnDrop
 connectsAsSource, mxGraphHierarchyNode
 connectsAsTarget, mxGraphHierarchyNode
 consoleName, mxLog
 constrainChild, mxGraph
 constrainChildCells, mxGraph
 constrainChildren, mxGraph
 constrainChildrenOnResize, mxGraph
 constrainGroupByChildren, mxVertexHandler
 constraintHandler
 constraints, mxStencil
 consume
 consumeCycleAttribute, mxEditor
 consumed
 consumeMouseEvent, mxGraph
 consumePanningTrigger, mxPanningHandler
 container, mxToolbar
 contains
 containsValidationErrorsResource, mxGraph
 content, mxWindow
 contentHeightCorrection, mxWindow
 controlKeys, mxKeyHandler
 Controls and Handlers, mxEditor
 controlShiftKeys, mxKeyHandler
 convert, mxUrlConverter
 convertAttributeFromXml, mxObjectCodec
 convertAttributeToXml, mxObjectCodec
 converter, mxAbstractCanvas2D
 convertHtml, mxSvgCanvas2D
 convertPoint
 convertValueToString, mxGraph
 convertWaypoint, mxConnectionHandler
 copy, mxClipboard
 copyStyle, mxHandle
 count, mxCellStatePreview
 counter, mxObjectIdentity
 countError, mxMultiplicity
 create
 createBackgroundPageShape, mxGraphView
 createBends
 createBoundingBox, mxShape
 createBounds, mxVertexHandler
 createCanvas, mxShape
 createCellEditor, mxGraph
 createCellOverlays, mxCellRenderer
 createCellRenderer, mxGraph
 createClip, mxSvgCanvas2D
 createConditions, mxDefaultPopupMenu
 createConnectionHandler, mxGraph
 createControl, mxCellRenderer
 createControlClickHandler, mxCellRenderer
 createCustomHandles
 createDashPattern, mxSvgCanvas2D
 createDefaultEdgeStyle, mxStylesheet
 createDefaultVertexStyle, mxStylesheet
 createDiagramLayout, mxEditor
 createDiv, mxSvgCanvas2D
 createDragElement, mxDragSource
 createEdge
 createEdgeHandler, mxGraph
 createEdgeSegmentHandler, mxGraph
 createEdgeState, mxConnectionHandler
 createElbowEdgeHandler, mxGraph
 createElement
 createFill, mxVmlCanvas2D
 createGradientId, mxSvgCanvas2D
 createGraph
 createGraphHandler, mxGraph
 createGraphView, mxGraph
 createGroup, mxEditor
 createGroupCell, mxGraph
 createGuideShape, mxGuide
 createHandler, mxGraph
 createHandlers, mxGraph
 createHandleShape, mxEdgeHandler
 createHtml
 createHtmlPane, mxGraphView
 createIcons, mxConnectionHandler
 createId, mxGraphModel
 createIds, mxGraphModel
 createImage, mxUtils
 createIndicatorShape, mxCellRenderer
 createInternalCells
 createLabel, mxCellRenderer
 createLabelHandleShape, mxEdgeHandler
 createLayoutManager, mxEditor
 createLine, mxCompactTreeLayout
 createMarker
 createMenu, mxDefaultPopupMenu
 createNode, mxCompactTreeLayout
 createPageSelector, mxPrintPreview
 createPanningHandler, mxGraph
 createPanningManager, mxGraph
 createParentHighlightShape, mxVertexHandler
 createPopupMenu, mxEditor
 createPopupMenuHandler, mxGraph
 createPreviewElement, mxDragSource
 createPreviewShape, mxGraphHandler
 createProperties, mxEditor
 createRect, mxVmlCanvas2D
 createRoot, mxGraphModel
 createSelectionCellsHandler, mxGraph
 createSelectionModel, mxGraph
 createSelectionShape
 createShadow
 createShadowFill, mxVmlCanvas2D
 createShadowStroke, mxVmlCanvas2D
 createShape
 createSizer
 createSizerShape, mxVertexHandler
 createState
 createStroke, mxVmlCanvas2D
 createStyle, mxSvgCanvas2D
 createStylesheet, mxGraph
 createSubmenu, mxPopupMenu
 createSvg, mxShape
 createSvgCanvas, mxShape
 createSvgGradient, mxSvgCanvas2D
 createSwimlaneLayout, mxEditor
 createSwimlaneManager, mxEditor
 createTarget, mxConnectionHandler
 createTargetVertex, mxConnectionHandler
 createTasks, mxEditor
 createText, mxVmlCanvas2D
 createTextDiv, mxCellEditor
 createTolerance, mxSvgCanvas2D
 createToolbar, mxEditor
 createTooltipHandler, mxGraph
 createTransparentFill, mxVmlCanvas2D
 createTransparentSvgRectangle, mxShape
 createUndoableEdit, mxGraphModel
 createUrlConverter, mxAbstractCanvas2D
 createVertex, mxGraph
 createVertexHandler, mxGraph
 createVirtualBend, mxElbowEdgeHandler
 createVirtualBends, mxEdgeHandler
 createVml, mxShape
 createVmlCanvas, mxShape
 createVmlElement, mxVmlCanvas2D
 createVmlGroup, mxShape
 createVmlPane, mxGraphView
 createXmlDocument, mxUtils
 crossingStage
 currentBestCrossings, mxMedianHybridCrossingReduction
 currentColor, mxCellMarker
 currentDropTarget, mxDragSource
 currentDx, mxGraphHandler
 currentDy, mxGraphHandler
 currentEdit, mxGraphModel
 currentFileResource, mxEditor
 currentGraph, mxDragSource
 currentGuide, mxDragSource
 currentPoint, mxDragSource
 currentRoot, mxGraphView
 currentX, mxRubberband
 currentXDelta, mxCoordinateAssignment
 currentY, mxRubberband
 cursor
 CURSOR_BEND_HANDLE, mxConstants
 CURSOR_CONNECT, mxConstants
 CURSOR_LABEL_HANDLE, mxConstants
 CURSOR_MOVABLE_EDGE, mxConstants
 CURSOR_MOVABLE_VERTEX, mxConstants
 CURSOR_TERMINAL_HANDLE, mxConstants
 CURSOR_VIRTUAL_BEND_HANDLE, mxConstants
 curveOp
 curveTo
 CUSTOM_HANDLE, mxEvent
 cut, mxClipboard
 cycleAttribute, mxEditor
 cycleAttributeIndex, mxEditor
 cycleAttributeName, mxEditor
 cycleAttributeValues, mxEditor
 cycleStage
-
mxFastOrganicLayout.prototype.calcAttraction = function()
Calculates the attractive forces between all laid out nodes linked by edges
mxFastOrganicLayout.prototype.calcPositions = function()
Takes the displacements calculated for each cell and applies them to the local cache of cell positions.
mxFastOrganicLayout.prototype.calcRepulsion = function()
Calculates the repulsive forces between all laid out nodes
mxRadialTreeLayout.prototype.calcRowDims = function(row,
rowNum)
Recursive function to calculate the dimensions of each row
mxMedianHybridCrossingReduction.prototype.calculateCrossings = function(model)
Calculates the total number of edge crossing in the current graph.
mxCoordinateAssignment.prototype.calculatedWeightedValue = function(
   currentCell,
   collection
)
Calculates the priority the specified cell has based on the type of its cell and the cells it is connected to on the next layer
mxMedianHybridCrossingReduction.prototype.calculateRankCrossing = function(
   i,
   model
)
Calculates the number of edges crossings between the specified rank and the rank below it.
mxCoordinateAssignment.prototype.calculateWidestRank = function(graph,
model)
Calculates the width rank in the hierarchy.
mxGraph.prototype.canExportCell = function(cell)
Returns true if the given cell may be exported to the clipboard.
mxGraph.prototype.canImportCell = function(cell)
Returns true if the given cell may be imported from the clipboard.
mxUndoManager.prototype.canRedo = function()
Returns true if a redo is possible.
mxUndoManager.prototype.canUndo = function()
Returns true if an undo is possible.
mxGraphView.prototype.captureDocumentGesture
Specifies if a gesture should be captured when it goes outside of the graph container.
cascadeOpacity: function(graph,
cell,
opacity)
Sets the opacity on the given cell and its descendants.
cascadeOpacity: function(graph,
cell,
opacity)
See mxEffects.cascadeOpacity.
MedianCellSorter.prototype.cell
The cell whose median value is being calculated
mxCellState.prototype.cell
Reference to the mxCell that is represented by this state.
mxGraphHierarchyNode.prototype.cell
The graph cell this object represents.
WeightedCellSorter.prototype.cell
The cell whose median value is being calculated.
Specifies the event name for cellConnected.
Fires between begin- and endUpdate in cellConnected.
mxGraphModel.prototype.cellAdded = function(cell)
Inner callback to update cells when a cell has been added.
mxGraphSelectionModel.prototype.cellAdded = function(cell)
Inner callback to add the specified mxCell to the selection.
mxGraphModel.prototype.cellCloned = function(cell)
Hook for cloning the cell.
mxGraph.prototype.cellConnected = function(edge,
terminal,
source,
constraint)
Sets the new terminal for the given edge and resets the edge points if resetEdgesOnConnect is true.
mxGraph.prototype.cellEditor
Holds the mxCellEditor that is used as the in-place editing.
mxGraph.prototype.cellLabelChanged = function(cell,
value,
autoSize)
Sets the new label for a cell.
mxFastOrganicLayout.prototype.cellLocation
An array of locally stored co-ordinate positions for the vertices.
mxGraphModel.prototype.cellRemoved = function(cell)
Inner callback to update cells when a cell has been removed.
mxGraphSelectionModel.prototype.cellRemoved = function(cell)
Inner callback to remove the specified mxCell from the selection.
mxGraph.prototype.cellRenderer
Holds the mxCellRenderer for rendering the cells in the graph.
mxGraph.prototype.cellResized = function(cell,
bounds,
ignoreRelative,
recurse)
Resizes the parents recursively so that they contain the complete area of the resized child cell.
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.center = function(horizontal,
vertical)
Centers the graph in the container.
mxGraph.prototype.centerZoom
Specifies if the zoom operations should go into the center of the actual diagram rather than going from top, left.
Specifies the event name for change.
Fires when an undoable edit is dispatched.
Fires after the selection changes by executing an mxSelectionChange.
mxAutoSaveManager.prototype.changeHandler
Holds the function that handles graph model changes.
mxConnectionHandler.prototype.changeHandler
Holds the change event listener for later removal.
mxEdgeHandler.prototype.changePoints = function(edge,
points,
clone)
Changes the control points of the given edge in the graph model.
mxUndoableEdit.prototype.changes
Array that contains the changes that make up this edit.
mxGraphSelectionModel.prototype.changeSelection = function(added,
removed)
Inner callback to add the specified mxCell to the selection.
mxEdgeHandler.prototype.changeTerminalPoint = function(edge,
point,
isSource,
clone)
Changes the terminal point of the given edge.
mxCompactTreeLayout.prototype.channelBuffer
The size of the vertical buffer in the center of inter-rank channels where edge control points should not be placed.
mxCoordinateAssignment.prototype.channelBuffer
The size of the vertical buffer in the center of inter-rank channels where edge control points should not be placed
mxMultiplicity.prototype.check = function(graph,
edge,
source,
target,
sourceOut,
targetIn)
Checks the multiplicity for the given arguments and returns the error for the given connection or null if the multiplicity does not apply.
mxShape.prototype.checkBounds = function()
Returns true if the bounds are not null and all of its variables are numeric.
mxText.prototype.checkBounds = function()
Returns true if the bounds are not null and all of its variables are numeric.
mxEdgeHandler.prototype.checkLabelHandle = function(b)
Checks if the label handle intersects the given bounds and moves it if it intersects.
mxMultiplicity.prototype.checkNeighbors = function(graph,
edge,
source,
target)
Checks if there are any valid neighbours in validNeighbors.
mxMultiplicity.prototype.checkTerminal = function(graph,
terminal,
edge)
Checks the given terminal cell and returns true if this rule applies.
mxVertexHandler.prototype.checkTolerance = function(me)
Checks if the coordinates for the given event are within the mxGraph.tolerance.
mxMultiplicity.prototype.checkType = function(graph,
value,
type,
attr,
attrValue)
Checks the type of the given value.
mxCell.prototype.children
Holds the child cells.
mxCircleLayout.prototype.circle = function(vertices,
r,
left,
top)
Executes the circular layout for the specified array of vertices and the given radius.
mxDictionary.prototype.clear = function()
Clears the dictionary.
mxGraphModel.prototype.clear = function()
Sets a new root using createRoot.
mxGraphSelectionModel.prototype.clear = function()
Clears the selection and fires a change event if the selection was not empty.
mxGraphView.prototype.clear = function(cell,
force,
recurse)
Removes the state of the given cell and all descendants if the given cell is not the current root.
clear: function(obj)
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.
Maps from constructor names to codecs.
mxCell.prototype.collapsed
Specifies whether the cell is collapsed.
mxGraph.prototype.collapsedImage
Specifies the mxImage to indicate a collapsed state.
mxGraphModel.prototype.collapsedStateForCellChanged = function(cell,
collapsed)
Inner callback to update the collapsed state of the given mxCell using mxCell.setCollapsed and return the previous collapsed state.
mxGraph.prototype.collapseExpandResource
Specifies the resource key for the tooltip on the collapse/expand icon.
mxGraph.prototype.collapseToPreferredSize
Specifies if the cell size should be changed to the preferred size when a cell is first collapsed.
MedianCellSorter.prototype.compare = function(a,
b)
Compares two MedianCellSorters.
compare: function(p1,
p2)
Compares the given cell paths and returns -1 if p1 is smaller, 0 if p1 is equal and 1 if p1 is greater than p2.
WeightedCellSorter.prototype.compare = function(a,
b)
Compares two WeightedCellSorters.
mxXmlCanvas2D.prototype.compressed
Specifies if the output should be compressed by removing redundant calls.
mxStencil.prototype.computeAspect = function(shape,
x,
y,
w,
h,
direction)
Returns a rectangle that contains the offset in x and y and the horizontal and vertical scale in width and height used to draw this shape inside the given mxRectangle.
mxDefaultPopupMenu.prototype.config
XML node used as the description of new menu items.
mxEditor.prototype.configure = function (node)
Configures the editor using the specified node.
mxShape.prototype.configureCanvas = function(c,
x,
y,
w,
h)
Sets the state of the canvas for drawing the shape.
mxText.prototype.configureCanvas = function(c,
x,
y,
w,
h)
Sets the state of the canvas for drawing the shape.
mxCellRenderer.prototype.configureShape = function(state)
Configures the shape for the given cell state.
confirm: function(message)
Displays the given message in a confirm dialog.
mxConnectionHandler.prototype.connect = function(source,
target,
evt,
dropTarget)
Connects the given source and target using a new edge.
mxDefaultToolbar.prototype.connect = function(vertex,
evt,
source)
Handles a drop by connecting the given vertex to the given source cell.
mxEdgeHandler.prototype.connect = function(edge,
terminal,
isSource,
isClone,
me)
Changes the terminal or terminal point of the given edge in the graph model.
Fires between begin- and endUpdate in connect.
Specifies the event name for connect.
Specifies the event name for connectCell.
Fires between begin- and endUpdate in connectCell.
Defines the color to be used for the connect handle fill color.
mxCell.prototype.connectable
Specifies whether the cell is connectable.
mxGraph.prototype.connectableEdges
Specifies if edges are connectable.
mxGraph.prototype.connectCell = function(edge,
terminal,
source,
constraint)
Connects the specified end of the given edge to the given terminal using cellConnected and fires mxEvent.CONNECT_CELL while the transaction is in progress.
mxConnectionHandler.prototype.connectIconOffset
Holds the offset for connect icons during connection preview.
mxConnectionHandler.prototype.connectImage
mxImage that is used to trigger the creation of a new connection.
mxDefaultToolbar.prototype.connectOnDrop
Specifies if elements should be connected if new cells are dropped onto connectable elements.
mxGraphHandler.prototype.connectOnDrop
Specifies if drop events are interpreted as new connections if no other drop action is defined.
mxGraphHierarchyNode.prototype.connectsAsSource
Collection of hierarchy edges that have this node as a source
mxGraphHierarchyNode.prototype.connectsAsTarget
Collection of hierarchy edges that have this node as a target
Specifies the name of the console window.
mxGraph.prototype.constrainChild = function(cell)
Keeps the given cell inside the bounds returned by getCellContainmentArea for its parent, according to the rules defined by getOverlap and isConstrainChild.
mxGraph.prototype.constrainChildCells = function(cell)
Constrains the children of the given cell using constrainChild.
mxGraph.prototype.constrainChildren
Specifies if a child should be constrained inside the parent bounds after a move of the child.
mxGraph.prototype.constrainChildrenOnResize
Specifies if children should be constrained according to the constrainChildren switch if cells are resized (including via foldCells).
mxVertexHandler.prototype.constrainGroupByChildren
Specifies if the size of groups should be constrained by the children.
mxConnectionHandler.prototype.constraintHandler
Holds the mxConstraintHandler used for drawing and highlighting constraints.
mxEdgeHandler.prototype.constraintHandler
Holds the mxConstraintHandler used for drawing and highlighting constraints.
mxStencil.prototype.constraints
Holds an array of mxConnectionConstraints as defined in the shape.
consume: function(evt,
preventDefault,
stopPropagation)
Consumes the given event.
mxEventObject.prototype.consume = function()
Consumes the event.
mxMouseEvent.prototype.consume = function(preventDefault)
Sets consumed to true and invokes preventDefault on the native event if such a method is defined.
mxEditor.prototype.consumeCycleAttribute = function (cell)
Returns the next attribute in cycleAttributeValues or null, if not attribute should be used in the specified cell.
mxEventObject.prototype.consumed
Holds the consumed state.
mxMouseEvent.prototype.consumed
Holds the consumed state of this event.
mxGraph.prototype.consumeMouseEvent = function(evtName,
me,
sender)
Destroys the graph and all its resources.
mxPanningHandler.prototype.consumePanningTrigger = function(me)
Consumes the given mxMouseEvent if it was a panning trigger in mouseDown.
mxToolbar.prototype.container
Reference to the DOM nodes that contains the toolbar.
mxGraphModel.prototype.contains = function(cell)
Returns true if the model contains the given mxCell.
contains: function(bounds,
x,
y)
Returns true if the specified point (x, y) is contained in the given rectangle.
mxGraph.prototype.containsValidationErrorsResource
Specifies the resource key for the warning message to be displayed when a collapsed cell contains validation errors.
mxWindow.prototype.content
Reference to the DOM node that represents the window content.
mxWindow.prototype.contentHeightCorrection
Defines the correction factor for computing the height of the contentWrapper.
mxKeyHandler.prototype.controlKeys
Maps from keycodes to functions for pressed control keys.
mxKeyHandler.prototype.controlShiftKeys
Maps from keycodes to functions for pressed control and shift keys.
mxUrlConverter.prototype.convert = function(url)
Converts the given URL to an absolute URL with protol and domain.
mxObjectCodec.prototype.convertAttributeFromXml = function(dec,
attr,
obj)
Converts booleans and numeric values to the respective types.
mxObjectCodec.prototype.convertAttributeToXml = function(enc,
obj,
name,
value)
Converts true to “1” and false to “0” is isBooleanAttribute returns true.
this.converter
Holds the mxUrlConverter to convert image URLs.
mxSvgCanvas2D.prototype.convertHtml = function(val)
Converts the given HTML string to XHTML.
mxEdgeHandler.prototype.convertPoint = function(point,
gridEnabled)
Converts the given point in-place from screen to unscaled, untranslated graph coordinates and applies the grid.
mxElbowEdgeHandler.prototype.convertPoint = function(point,
gridEnabled)
Converts the given point in-place from screen to unscaled, untranslated graph coordinates and applies the grid.
convertPoint: function(container,
x,
y)
Converts the specified point (x, y) using the offset of the specified container and returns a new mxPoint with the result.
mxGraph.prototype.convertValueToString = function(cell)
Returns the textual representation for the given cell.
mxConnectionHandler.prototype.convertWaypoint = function(point)
Converts the given point from screen coordinates to model coordinates.
copy: function(graph,
cells)
Copies the given array of mxCells from the specified graph to cells.
mxHandle.prototype.copyStyle = function(key)
Sets the cell style with the given name to the corresponding value in state.
mxCellStatePreview.prototype.count
Contains the number of entries in the map.
Current counter 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.
Adds custom bends for the center of each segment.
mxEdgeHandler.prototype.createBends = function()
Creates and returns the bends used for modifying the edge.
mxElbowEdgeHandler.prototype.createBends = function()
Overrides mxEdgeHandler.createBends to create custom bends.
mxShape.prototype.createBoundingBox = function()
Returns a new rectangle that represents the bounding box of the bare shape with no shadows or strokewidths.
Helper method to create an mxRectangle around the given centerpoint with a width and height of 2*s or 6, if no s is given.
mxShape.prototype.createCanvas = function()
Destroys the given canvas which was used for drawing.
mxGraph.prototype.createCellEditor = function()
Creates a new mxCellEditor to be used in this graph.
mxCellRenderer.prototype.createCellOverlays = function(state)
Creates the actual shape for showing the overlay for the given cell state.
mxGraph.prototype.createCellRenderer = function()
Creates a new mxCellRenderer to be used in this graph.
mxSvgCanvas2D.prototype.createClip = function(x,
y,
w,
h)
Creates a clip for the given coordinates.
mxDefaultPopupMenu.prototype.createConditions = function(editor,
cell,
evt)
Evaluates the default conditions for the given context.
mxGraph.prototype.createConnectionHandler = function()
Creates and returns a new mxConnectionHandler to be used in this graph.
mxCellRenderer.prototype.createControl = function(state)
Creates the control for the given cell state.
mxEdgeHandler.prototype.createCustomHandles = function()
Returns an array of custom handles.
mxVertexHandler.prototype.createCustomHandles = function()
Returns an array of custom handles.
mxSvgCanvas2D.prototype.createDashPattern = function(scale)
Creates the SVG dash pattern for the given state.
mxStylesheet.prototype.createDefaultEdgeStyle = function()
Creates and returns the default edge style.
mxStylesheet.prototype.createDefaultVertexStyle = function()
Creates and returns the default vertex style.
mxEditor.prototype.createDiagramLayout = function ()
Creates the layout instance used to layout the swimlanes in the diagram.
mxSvgCanvas2D.prototype.createDiv = function(str,
align,
valign,
style,
overflow)
Private helper function to create SVG elements
mxDragSource.prototype.createDragElement = function(evt)
Creates and returns a clone of the dragElementPrototype or the element if the former is not defined.
mxConnectionHandler.prototype.createEdge = function(value,
source,
target,
style)
Creates and returns a new edge using factoryMethod if one exists.
mxEditor.prototype.createEdge = function (source,
target)
Uses defaultEdge as the prototype for creating new edges in the connection handler of the graph.
mxGraph.prototype.createEdge = function(parent,
id,
value,
source,
target,
style)
Hook method that creates the new edge for insertEdge.
mxGraph.prototype.createEdgeHandler = function(state)
Hooks to create a new mxEdgeHandler for the given mxCellState.
mxGraph.prototype.createEdgeSegmentHandler = function(state)
Hooks to create a new mxEdgeSegmentHandler for the given mxCellState.
mxConnectionHandler.prototype.createEdgeState = function(me)
Hook to return an mxCellState which may be used during the preview.
mxGraph.prototype.createElbowEdgeHandler = function(state)
Hooks to create a new mxElbowEdgeHandler for the given mxCellState.
mxSvgCanvas2D.prototype.createElement = function(tagName,
namespace)
Private helper function to create SVG elements
mxVmlCanvas2D.prototype.createElement = function(name)
Creates the given element using the document.
mxXmlCanvas2D.prototype.createElement = function(name)
Creates the given element using the owner document of root.
mxVmlCanvas2D.prototype.createFill = function()
Creates a fill for the current state.
mxSvgCanvas2D.prototype.createGradientId = function(start,
end,
alpha1,
alpha2,
direction)
Private helper function to create SVG elements
mxEditor.prototype.createGraph = function ()
Creates the graph for the editor.
mxOutline.prototype.createGraph = function(container)
Creates the mxGraph used in the outline.
mxGraph.prototype.createGraphHandler = function()
Creates and returns a new mxGraphHandler to be used in this graph.
mxGraph.prototype.createGraphView = function()
Creates a new mxGraphView to be used in this graph.
mxEditor.prototype.createGroup = function ()
Creates and returns a clone of defaultGroup to be used as a new group cell in group.
mxGraph.prototype.createGroupCell = function(cells)
Hook for creating the group cell to hold the given array of mxCells if no group cell was given to the group function.
mxGuide.prototype.createGuideShape = function(horizontal)
Returns the mxShape to be used for painting the respective guide.
mxGraph.prototype.createHandler = function(state)
Creates a new handler for the given cell state.
mxGraph.prototype.createHandlers = function()
Creates the tooltip-, panning-, connection- and graph-handler (in this order).
mxEdgeHandler.prototype.createHandleShape = function(index)
Creates the shape used to display the given bend.
mxImageShape.prototype.createHtml = function()
Creates and returns the HTML DOM node(s) to represent this shape.
mxShape.prototype.createHtml = function()
Creates and returns the HTML DOM node(s) to represent this shape.
mxGraphView.prototype.createHtmlPane = function(width,
height)
Creates and returns a drawing pane in HTML (DIV).
mxConnectionHandler.prototype.createIcons = function(state)
Creates the array mxImageShapes that represent the connect icons for the given mxCellState.
mxGraphModel.prototype.createId = function(cell)
Hook method to create an Id for the specified cell.
mxGraphModel.prototype.createIds
Specifies if the model should automatically create Ids for new cells.
createImage: function(src)
Creates and returns an image (IMG node) or VML image (v:image) in IE6 in quirks mode.
mxCellRenderer.prototype.createIndicatorShape = function(state)
Creates the indicator shape for the given cell state.
mxGraphHierarchyModel.prototype.createInternalCells = function(layout,
vertices,
internalVertices)
Creates all edges in the internal model
mxSwimlaneModel.prototype.createInternalCells = function(layout,
vertices,
internalVertices)
Creates all edges in the internal model
mxCellRenderer.prototype.createLabel = function(state,
value)
Creates the label for the given cell state.
mxEdgeHandler.prototype.createLabelHandleShape = function()
Creates the shape used to display the the label handle.
mxEditor.prototype.createLayoutManager = function (graph)
Creates a layout manager for the swimlane and diagram layouts, that is, the locally defined inter- and intraswimlane layouts.
mxCompactTreeLayout.prototype.createLine = function(dx,
dy,
next)
mxConnectionHandler.prototype.createMarker = function()
Creates and returns the mxCellMarker used in marker.
mxConnector.prototype.createMarker = function(c,
pts,
source)
Prepares the marker by adding offsets in pts and returning a function to paint the marker.
mxEdgeHandler.prototype.createMarker = function()
Creates and returns the mxCellMarker used in marker.
createMarker: function(canvas,
shape,
type,
pe,
unitX,
unitY,
size,
source,
sw,
filled)
Returns a function to paint the given marker.
mxDefaultPopupMenu.prototype.createMenu = function(editor,
menu,
cell,
evt)
This function is called from mxEditor to add items to the given menu based on config.
mxCompactTreeLayout.prototype.createNode = function(cell)
mxPrintPreview.prototype.createPageSelector = function(vpages,
hpages)
Creates the page selector table.
mxGraph.prototype.createPanningHandler = function()
Creates and returns a new mxPanningHandler to be used in this graph.
mxGraph.prototype.createPanningManager = function()
Creates and returns an mxPanningManager.
mxVertexHandler.prototype.createParentHighlightShape = function(bounds)
Creates the shape used to draw the selection border.
mxEditor.prototype.createPopupMenu = function (menu,
cell,
evt)
Uses popupHandler to create the menu in the graph’s panning handler.
mxGraph.prototype.createPopupMenuHandler = function()
Creates and returns a new mxPopupMenuHandler to be used in this graph.
mxDragSource.prototype.createPreviewElement = function(graph)
Creates and returns an element which can be used as a preview in the given graph.
mxGraphHandler.prototype.createPreviewShape = function(bounds)
Creates the shape used to draw the preview for the given bounds.
mxEditor.prototype.createProperties = function (cell)
Creates and returns the DOM node that represents the contents of the properties dialog for the given cell.
mxVmlCanvas2D.prototype.createRect = function(nodeName,
x,
y,
w,
h)
Sets the glass gradient.
mxGraphModel.prototype.createRoot = function()
Creates a new root cell with a default layer (child 0).
mxGraph.prototype.createSelectionCellsHandler = function()
Creates and returns a new mxTooltipHandler to be used in this graph.
mxGraph.prototype.createSelectionModel = function()
Creates a new mxGraphSelectionModel to be used in this graph.
Creates the shape used to draw the selection border.
mxVertexHandler.prototype.createSelectionShape = function(bounds)
Creates the shape used to draw the selection border.
mxSvgCanvas2D.prototype.createShadow = function(node)
Creates a shadow for the given node.
mxVmlCanvas2D.prototype.createShadow = function(node,
filled,
stroked)
Creates a shadow for the given node.
mxVmlCanvas2D.prototype.createShadowFill = function()
Creates the fill for the shadow.
mxVmlCanvas2D.prototype.createShadowStroke = function()
Creates the stroke for the shadow.
mxCellHighlight.prototype.createShape = function()
Creates and returns the highlight shape for the given state.
mxCellRenderer.prototype.createShape = function(state)
Creates and returns the shape for the given cell state.
mxConnectionHandler.prototype.createShape = function()
Creates the preview shape for new connections.
mxHandle.prototype.createShape = function(html)
Creates and returns the shape for this handle.
mxRubberband.prototype.createShape = function()
Creates the rubberband selection shape.
mxOutline.prototype.createSizer = function()
Creates the shape used as the sizer.
mxVertexHandler.prototype.createSizer = function(cursor,
index,
size,
fillColor)
Creates a sizer handle for the specified cursor and index and returns the new mxRectangleShape that represents the handle.
mxVertexHandler.prototype.createSizerShape = function(bounds,
index,
fillColor)
Creates the shape used for the sizer handle for the specified bounds an index.
mxAbstractCanvas2D.prototype.createState = function()
Creates the state of the this canvas.
mxGraphView.prototype.createState = function(cell)
Creates and returns an mxCellState for the given cell and initializes it using mxCellRenderer.initialize.
mxVmlCanvas2D.prototype.createStroke = function()
Creates a fill for the current state.
mxSvgCanvas2D.prototype.createStyle = function(x)
Creates the optional style section.
mxGraph.prototype.createStylesheet = function()
Creates a new mxGraphSelectionModel to be used in this graph.
mxPopupMenu.prototype.createSubmenu = function(parent)
Creates the nodes required to add submenu items inside the given parent item.
mxShape.prototype.createSvg = function()
Creates and returns the SVG node(s) to represent this shape.
mxShape.prototype.createSvgCanvas = function()
Creates and returns an mxSvgCanvas2D for rendering this shape.
mxSvgCanvas2D.prototype.createSvgGradient = function(start,
end,
alpha1,
alpha2,
direction)
Creates the given SVG gradient.
mxEditor.prototype.createSwimlaneLayout = function ()
Creates the layout instance used to layout the children of each swimlane.
mxEditor.prototype.createSwimlaneManager = function (graph)
Sets the graph’s container using mxGraph.init.
mxConnectionHandler.prototype.createTarget
Specifies if createTargetVertex should be called if no target was under the mouse for the new connection.
mxConnectionHandler.prototype.createTargetVertex = function(evt,
source)
Hook method for creating new vertices on the fly if no target was under the mouse.
mxEditor.prototype.createTasks = function (div)
Updates the contents of the given DOM node to display the tasks associated with the current editor state.
Creates the innermost element that contains the HTML text.
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.
mxGraph.prototype.createTooltipHandler = function()
Creates and returns a new mxTooltipHandler to be used in this graph.
mxVmlCanvas2D.prototype.createTransparentFill = function()
Creates a transparent fill.
mxShape.prototype.createTransparentSvgRectangle = function(x,
y,
w,
h)
Adds a transparent rectangle that catches all events.
mxGraphModel.prototype.createUndoableEdit = function()
Creates a new mxUndoableEdit that implements the notify function to fire a change and notify event through the mxUndoableEdit’s source.
mxAbstractCanvas2D.prototype.createUrlConverter = function()
Create a new mxUrlConverter and returns it.
mxGraph.prototype.createVertex = function(parent,
id,
value,
x,
y,
width,
height,
style,
relative)
Hook method that creates the new vertex for insertVertex.
mxGraph.prototype.createVertexHandler = function(state)
Hooks to create a new mxVertexHandler for the given mxCellState.
mxElbowEdgeHandler.prototype.createVirtualBend = function(dblClickHandler)
Creates a virtual bend that supports double clicking and calls mxGraph.flipEdge.
mxEdgeHandler.prototype.createVirtualBends = function()
Creates and returns the bends used for modifying the edge.
mxShape.prototype.createVml = function()
Creates and returns the VML node to represent this shape.
mxShape.prototype.createVmlCanvas = function()
Creates and returns an mxVmlCanvas2D for rendering this shape.
mxVmlCanvas2D.prototype.createVmlElement = function(name)
Creates a new element using createElement and prefixes the given name with mxClient.VML_PREFIX.
mxShape.prototype.createVmlGroup = function()
Returns the temporary element used for rendering in IE8 standards mode.
mxGraphView.prototype.createVmlPane = function(width,
height)
Creates a drawing pane in VML (group).
createXmlDocument: function()
Returns a new, empty XML document.
mxHierarchicalLayout.prototype.crossingStage = function(parent)
Executes the crossing stage using mxMedianHybridCrossingReduction.
mxSwimlaneLayout.prototype.crossingStage = function(parent)
Executes the crossing stage using mxMedianHybridCrossingReduction.
mxMedianHybridCrossingReduction.prototype.currentBestCrossings
The total number of crossings found in the best configuration so far
mxCellMarker.prototype.currentColor
Holds the current marker color.
mxDragSource.prototype.currentDropTarget
Holds the current drop target under the mouse.
mxGraphHandler.prototype.currentDx
Stores the x-coordinate of the current mouse move.
mxGraphHandler.prototype.currentDy
Stores the y-coordinate of the current mouse move.
mxGraphModel.prototype.currentEdit
Holds the changes for the current transaction.
mxEditor.prototype.currentFileResource
Specifies the resource key for the current file info.
mxDragSource.prototype.currentGraph
Reference to the mxGraph that is the current drop target.
mxDragSource.prototype.currentGuide
Holds an mxGuide for the currentGraph if dragPreview is not null.
mxDragSource.prototype.currentPoint
Holds the current drop location.
mxGraphView.prototype.currentRoot
mxCell that acts as the root of the displayed cell hierarchy.
mxRubberband.prototype.currentX
Holds the value of the x argument in the last call to update.
mxCoordinateAssignment.prototype.currentXDelta
The sum of x-displacements for the current iteration
mxRubberband.prototype.currentY
Holds the value of the y argument in the last call to update.
mxCellOverlay.prototype.cursor
Holds the cursor for the overlay.
mxHandle.prototype.cursor
Specifies the cursor to be used for this handle.
Defines the cursor for a movable bend.
Defines the cursor for a connectable state.
Defines the cursor for a movable label.
Defines the cursor for a movable edge.
Defines the cursor for a movable vertex.
Defines the cursor for a terminal handle.
Defines the cursor for a movable bend.
mxAbstractCanvas2D.prototype.curveOp
Contains the string used for bezier curves.
mxVmlCanvas2D.prototype.curveOp
Contains the string used for bezier curves.
mxAbstractCanvas2D.prototype.curveTo = function(x1,
y1,
x2,
y2,
x3,
y3)
Adds a bezier curve to the current path.
mxXmlCanvas2D.prototype.curveTo = function(x1,
y1,
x2,
y2,
x3,
y3)
Adds a bezier curve to the current path.
Start index for the custom handles in an mxMouseEvent.
cut: function(graph,
cells)
Cuts the given array of mxCells from the specified graph.
mxEditor.prototype.cycleAttribute = function (cell)
Uses the returned value from consumeCycleAttribute as the value for the cycleAttributeName key in the given cell’s style.
mxEditor.prototype.cycleAttributeIndex
Index of the last consumed attribute index.
mxEditor.prototype.cycleAttributeName
Name of the attribute to be assigned a cycleAttributeValues when inserting new swimlanes.
mxEditor.prototype.cycleAttributeValues
Specifies the attribute values to be cycled when inserting new swimlanes.
mxHierarchicalLayout.prototype.cycleStage = function(parent)
Executes the cycle stage using mxMinimumCycleRemover.
mxSwimlaneLayout.prototype.cycleStage = function(parent)
Executes the cycle stage using mxMinimumCycleRemover.
+
mxFastOrganicLayout.prototype.calcAttraction = function()
Calculates the attractive forces between all laid out nodes linked by edges
mxFastOrganicLayout.prototype.calcPositions = function()
Takes the displacements calculated for each cell and applies them to the local cache of cell positions.
mxFastOrganicLayout.prototype.calcRepulsion = function()
Calculates the repulsive forces between all laid out nodes
mxRadialTreeLayout.prototype.calcRowDims = function(row,
rowNum)
Recursive function to calculate the dimensions of each row
mxMedianHybridCrossingReduction.prototype.calculateCrossings = function(model)
Calculates the total number of edge crossing in the current graph.
mxCoordinateAssignment.prototype.calculatedWeightedValue = function(
   currentCell,
   collection
)
Calculates the priority the specified cell has based on the type of its cell and the cells it is connected to on the next layer
mxMedianHybridCrossingReduction.prototype.calculateRankCrossing = function(
   i,
   model
)
Calculates the number of edges crossings between the specified rank and the rank below it.
mxCoordinateAssignment.prototype.calculateWidestRank = function(graph,
model)
Calculates the width rank in the hierarchy.
mxGraph.prototype.canExportCell = function(cell)
Returns true if the given cell may be exported to the clipboard.
mxGraph.prototype.canImportCell = function(cell)
Returns true if the given cell may be imported from the clipboard.
mxUndoManager.prototype.canRedo = function()
Returns true if a redo is possible.
mxUndoManager.prototype.canUndo = function()
Returns true if an undo is possible.
mxGraphView.prototype.captureDocumentGesture
Specifies if a gesture should be captured when it goes outside of the graph container.
cascadeOpacity: function(graph,
cell,
opacity)
Sets the opacity on the given cell and its descendants.
cascadeOpacity: function(graph,
cell,
opacity)
See mxEffects.cascadeOpacity.
MedianCellSorter.prototype.cell
The cell whose median value is being calculated
mxCellState.prototype.cell
Reference to the mxCell that is represented by this state.
mxGraphHierarchyNode.prototype.cell
The graph cell this object represents.
WeightedCellSorter.prototype.cell
The cell whose median value is being calculated.
Specifies the event name for cellConnected.
Fires between begin- and endUpdate in cellConnected.
mxGraphModel.prototype.cellAdded = function(cell)
Inner callback to update cells when a cell has been added.
mxGraphSelectionModel.prototype.cellAdded = function(cell)
Inner callback to add the specified mxCell to the selection.
mxGraphModel.prototype.cellCloned = function(cell)
Hook for cloning the cell.
mxGraph.prototype.cellConnected = function(edge,
terminal,
source,
constraint)
Sets the new terminal for the given edge and resets the edge points if resetEdgesOnConnect is true.
mxGraph.prototype.cellEditor
Holds the mxCellEditor that is used as the in-place editing.
mxGraph.prototype.cellLabelChanged = function(cell,
value,
autoSize)
Sets the new label for a cell.
mxFastOrganicLayout.prototype.cellLocation
An array of locally stored co-ordinate positions for the vertices.
mxGraphModel.prototype.cellRemoved = function(cell)
Inner callback to update cells when a cell has been removed.
mxGraphSelectionModel.prototype.cellRemoved = function(cell)
Inner callback to remove the specified mxCell from the selection.
mxGraph.prototype.cellRenderer
Holds the mxCellRenderer for rendering the cells in the graph.
mxGraph.prototype.cellResized = function(cell,
bounds,
ignoreRelative,
recurse)
Resizes the parents recursively so that they contain the complete area of the resized child cell.
Holds the array of mxCells currently in the clipboard.
mxGraphModel.prototype.cells
Maps from Ids to cells.
mxMorphing.prototype.cells
Optional array of cells to be animated.
Specifies the event name for cellsAdded.
Fires between begin- and endUpdate in cellsAdded.
Specifies the event name for cellsFolded.
Fires between begin- and endUpdate in cellsFolded.
Specifies the event name for cellsMoved.
Fires between begin- and endUpdate in cellsMoved.
Specifies the event name for cellsOrdered.
Fires between begin- and endUpdate in cellsOrdered.
Specifies the event name for cellsRemoved.
Fires between begin- and endUpdate in cellsRemoved.
Specifies the event name for cellsResized.
Fires between begin- and endUpdate in cellsResized.
Specifies the event name for cellsToggled.
mxGraph.prototype.cellsAdded = function(cells,
parent,
index,
source,
target,
absolute,
constrain)
Adds the specified cells to the given parent.
mxSwimlaneManager.prototype.cellsAdded = function(cells)
Called if any cells have been added.
mxGraph.prototype.cellsBendable
Specifies the return value for isCellsBendable.
mxGraph.prototype.cellsCloneable
Specifies the return value for isCellCloneable.
mxGraph.prototype.cellsDeletable
Specifies the return value for isCellDeletable.
mxGraph.prototype.cellsDisconnectable
Specifies the return value for isCellDisconntable.
mxGraph.prototype.cellsEditable
Specifies the return value for isCellEditable.
mxGraph.prototype.cellsFolded = function(cells,
collapse,
recurse,
checkFoldable)
Sets the collapsed state of the specified cells.
mxGraph.prototype.cellSizeUpdated = function(cell,
ignoreChildren)
Updates the size of the given cell in the model using getPreferredSizeForCell to get the new size.
mxGraph.prototype.cellsLocked
Specifies the return value for isCellLocked.
mxGraph.prototype.cellsMovable
Specifies the return value for isCellMovable.
mxGraph.prototype.cellsMoved = function(cells,
dx,
dy,
disconnect,
constrain,
extend)
Moves the specified cells by the given vector, disconnecting the cells using disconnectGraph is disconnect is true.
mxLayoutManager.prototype.cellsMoved = function(cells,
evt)
Called from the moveHandler.
mxGraph.prototype.cellsOrdered = function(cells,
back)
Moves the given cells to the front or back.
mxGraph.prototype.cellsRemoved = function(cells)
Removes the given cells from the model.
mxGraph.prototype.cellsResizable
Specifies the return value for isCellResizable.
mxGraph.prototype.cellsResized = function(cells,
bounds,
recurse)
Sets the bounds of the given cells and fires a mxEvent.CELLS_RESIZED event.
mxSwimlaneManager.prototype.cellsResized = function(cells)
Called if any cells have been resizes.
mxGraph.prototype.cellsSelectable
Specifies the return value for isCellSelectable.
mxGraph.prototype.cellsToggled = function(cells,
show)
Sets the visible state of the specified cells.
mxGraph.prototype.center = function(horizontal,
vertical)
Centers the graph in the container.
mxGraph.prototype.centerZoom
Specifies if the zoom operations should go into the center of the actual diagram rather than going from top, left.
Specifies the event name for change.
Fires when an undoable edit is dispatched.
Fires after the selection changes by executing an mxSelectionChange.
mxAutoSaveManager.prototype.changeHandler
Holds the function that handles graph model changes.
mxConnectionHandler.prototype.changeHandler
Holds the change event listener for later removal.
mxEdgeHandler.prototype.changePoints = function(edge,
points,
clone)
Changes the control points of the given edge in the graph model.
mxUndoableEdit.prototype.changes
Array that contains the changes that make up this edit.
mxGraphSelectionModel.prototype.changeSelection = function(added,
removed)
Inner callback to add the specified mxCell to the selection.
mxEdgeHandler.prototype.changeTerminalPoint = function(edge,
point,
isSource,
clone)
Changes the terminal point of the given edge.
mxCompactTreeLayout.prototype.channelBuffer
The size of the vertical buffer in the center of inter-rank channels where edge control points should not be placed.
mxCoordinateAssignment.prototype.channelBuffer
The size of the vertical buffer in the center of inter-rank channels where edge control points should not be placed
mxMultiplicity.prototype.check = function(graph,
edge,
source,
target,
sourceOut,
targetIn)
Checks the multiplicity for the given arguments and returns the error for the given connection or null if the multiplicity does not apply.
mxShape.prototype.checkBounds = function()
Returns true if the bounds are not null and all of its variables are numeric.
mxText.prototype.checkBounds = function()
Returns true if the bounds are not null and all of its variables are numeric.
mxEdgeHandler.prototype.checkLabelHandle = function(b)
Checks if the label handle intersects the given bounds and moves it if it intersects.
mxMultiplicity.prototype.checkNeighbors = function(graph,
edge,
source,
target)
Checks if there are any valid neighbours in validNeighbors.
mxMultiplicity.prototype.checkTerminal = function(graph,
terminal,
edge)
Checks the given terminal cell and returns true if this rule applies.
mxVertexHandler.prototype.checkTolerance = function(me)
Checks if the coordinates for the given event are within the mxGraph.tolerance.
mxMultiplicity.prototype.checkType = function(graph,
value,
type,
attr,
attrValue)
Checks the type of the given value.
mxCell.prototype.children
Holds the child cells.
mxCircleLayout.prototype.circle = function(vertices,
r,
left,
top)
Executes the circular layout for the specified array of vertices and the given radius.
mxDictionary.prototype.clear = function()
Clears the dictionary.
mxGraphModel.prototype.clear = function()
Sets a new root using createRoot.
mxGraphSelectionModel.prototype.clear = function()
Clears the selection and fires a change event if the selection was not empty.
mxGraphView.prototype.clear = function(cell,
force,
recurse)
Removes the state of the given cell and all descendants if the given cell is not the current root.
clear: function(obj)
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.
Maps from constructor names to codecs.
mxCell.prototype.collapsed
Specifies whether the cell is collapsed.
mxGraph.prototype.collapsedImage
Specifies the mxImage to indicate a collapsed state.
mxGraphModel.prototype.collapsedStateForCellChanged = function(cell,
collapsed)
Inner callback to update the collapsed state of the given mxCell using mxCell.setCollapsed and return the previous collapsed state.
mxGraph.prototype.collapseExpandResource
Specifies the resource key for the tooltip on the collapse/expand icon.
mxGraph.prototype.collapseToPreferredSize
Specifies if the cell size should be changed to the preferred size when a cell is first collapsed.
MedianCellSorter.prototype.compare = function(a,
b)
Compares two MedianCellSorters.
compare: function(p1,
p2)
Compares the given cell paths and returns -1 if p1 is smaller, 0 if p1 is equal and 1 if p1 is greater than p2.
WeightedCellSorter.prototype.compare = function(a,
b)
Compares two WeightedCellSorters.
mxXmlCanvas2D.prototype.compressed
Specifies if the output should be compressed by removing redundant calls.
mxStencil.prototype.computeAspect = function(shape,
x,
y,
w,
h,
direction)
Returns a rectangle that contains the offset in x and y and the horizontal and vertical scale in width and height used to draw this shape inside the given mxRectangle.
mxDefaultPopupMenu.prototype.config
XML node used as the description of new menu items.
mxEditor.prototype.configure = function (node)
Configures the editor using the specified node.
mxShape.prototype.configureCanvas = function(c,
x,
y,
w,
h)
Sets the state of the canvas for drawing the shape.
mxText.prototype.configureCanvas = function(c,
x,
y,
w,
h)
Sets the state of the canvas for drawing the shape.
mxCellRenderer.prototype.configureShape = function(state)
Configures the shape for the given cell state.
confirm: function(message)
Displays the given message in a confirm dialog.
mxConnectionHandler.prototype.connect = function(source,
target,
evt,
dropTarget)
Connects the given source and target using a new edge.
mxDefaultToolbar.prototype.connect = function(vertex,
evt,
source)
Handles a drop by connecting the given vertex to the given source cell.
mxEdgeHandler.prototype.connect = function(edge,
terminal,
isSource,
isClone,
me)
Changes the terminal or terminal point of the given edge in the graph model.
Fires between begin- and endUpdate in connect.
Specifies the event name for connect.
Specifies the event name for connectCell.
Fires between begin- and endUpdate in connectCell.
Defines the color to be used for the connect handle fill color.
mxCell.prototype.connectable
Specifies whether the cell is connectable.
mxGraph.prototype.connectableEdges
Specifies if edges are connectable.
mxGraph.prototype.connectCell = function(edge,
terminal,
source,
constraint)
Connects the specified end of the given edge to the given terminal using cellConnected and fires mxEvent.CONNECT_CELL while the transaction is in progress.
mxConnectionHandler.prototype.connectIconOffset
Holds the offset for connect icons during connection preview.
mxConnectionHandler.prototype.connectImage
mxImage that is used to trigger the creation of a new connection.
mxDefaultToolbar.prototype.connectOnDrop
Specifies if elements should be connected if new cells are dropped onto connectable elements.
mxGraphHandler.prototype.connectOnDrop
Specifies if drop events are interpreted as new connections if no other drop action is defined.
mxGraphHierarchyNode.prototype.connectsAsSource
Collection of hierarchy edges that have this node as a source
mxGraphHierarchyNode.prototype.connectsAsTarget
Collection of hierarchy edges that have this node as a target
Specifies the name of the console window.
mxGraph.prototype.constrainChild = function(cell)
Keeps the given cell inside the bounds returned by getCellContainmentArea for its parent, according to the rules defined by getOverlap and isConstrainChild.
mxGraph.prototype.constrainChildCells = function(cell)
Constrains the children of the given cell using constrainChild.
mxGraph.prototype.constrainChildren
Specifies if a child should be constrained inside the parent bounds after a move of the child.
mxGraph.prototype.constrainChildrenOnResize
Specifies if children should be constrained according to the constrainChildren switch if cells are resized (including via foldCells).
mxVertexHandler.prototype.constrainGroupByChildren
Specifies if the size of groups should be constrained by the children.
mxConnectionHandler.prototype.constraintHandler
Holds the mxConstraintHandler used for drawing and highlighting constraints.
mxEdgeHandler.prototype.constraintHandler
Holds the mxConstraintHandler used for drawing and highlighting constraints.
mxStencil.prototype.constraints
Holds an array of mxConnectionConstraints as defined in the shape.
consume: function(evt,
preventDefault,
stopPropagation)
Consumes the given event.
mxEventObject.prototype.consume = function()
Consumes the event.
mxMouseEvent.prototype.consume = function(preventDefault)
Sets consumed to true and invokes preventDefault on the native event if such a method is defined.
mxEditor.prototype.consumeCycleAttribute = function (cell)
Returns the next attribute in cycleAttributeValues or null, if not attribute should be used in the specified cell.
mxEventObject.prototype.consumed
Holds the consumed state.
mxMouseEvent.prototype.consumed
Holds the consumed state of this event.
mxGraph.prototype.consumeMouseEvent = function(evtName,
me,
sender)
Destroys the graph and all its resources.
mxPanningHandler.prototype.consumePanningTrigger = function(me)
Consumes the given mxMouseEvent if it was a panning trigger in mouseDown.
mxToolbar.prototype.container
Reference to the DOM nodes that contains the toolbar.
mxGraphModel.prototype.contains = function(cell)
Returns true if the model contains the given mxCell.
contains: function(bounds,
x,
y)
Returns true if the specified point (x, y) is contained in the given rectangle.
mxGraph.prototype.containsValidationErrorsResource
Specifies the resource key for the warning message to be displayed when a collapsed cell contains validation errors.
mxWindow.prototype.content
Reference to the DOM node that represents the window content.
mxWindow.prototype.contentHeightCorrection
Defines the correction factor for computing the height of the contentWrapper.
mxKeyHandler.prototype.controlKeys
Maps from keycodes to functions for pressed control keys.
mxKeyHandler.prototype.controlShiftKeys
Maps from keycodes to functions for pressed control and shift keys.
mxUrlConverter.prototype.convert = function(url)
Converts the given URL to an absolute URL with protol and domain.
mxObjectCodec.prototype.convertAttributeFromXml = function(dec,
attr,
obj)
Converts booleans and numeric values to the respective types.
mxObjectCodec.prototype.convertAttributeToXml = function(enc,
obj,
name,
value)
Converts true to “1” and false to “0” is isBooleanAttribute returns true.
this.converter
Holds the mxUrlConverter to convert image URLs.
mxSvgCanvas2D.prototype.convertHtml = function(val)
Converts the given HTML string to XHTML.
mxEdgeHandler.prototype.convertPoint = function(point,
gridEnabled)
Converts the given point in-place from screen to unscaled, untranslated graph coordinates and applies the grid.
mxElbowEdgeHandler.prototype.convertPoint = function(point,
gridEnabled)
Converts the given point in-place from screen to unscaled, untranslated graph coordinates and applies the grid.
convertPoint: function(container,
x,
y)
Converts the specified point (x, y) using the offset of the specified container and returns a new mxPoint with the result.
mxGraph.prototype.convertValueToString = function(cell)
Returns the textual representation for the given cell.
mxConnectionHandler.prototype.convertWaypoint = function(point)
Converts the given point from screen coordinates to model coordinates.
copy: function(graph,
cells)
Copies the given array of mxCells from the specified graph to cells.
mxHandle.prototype.copyStyle = function(key)
Sets the cell style with the given name to the corresponding value in state.
mxCellStatePreview.prototype.count
Contains the number of entries in the map.
Current counter 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.
Adds custom bends for the center of each segment.
mxEdgeHandler.prototype.createBends = function()
Creates and returns the bends used for modifying the edge.
mxElbowEdgeHandler.prototype.createBends = function()
Overrides mxEdgeHandler.createBends to create custom bends.
mxShape.prototype.createBoundingBox = function()
Returns a new rectangle that represents the bounding box of the bare shape with no shadows or strokewidths.
Helper method to create an mxRectangle around the given centerpoint with a width and height of 2*s or 6, if no s is given.
mxShape.prototype.createCanvas = function()
Destroys the given canvas which was used for drawing.
mxGraph.prototype.createCellEditor = function()
Creates a new mxCellEditor to be used in this graph.
mxCellRenderer.prototype.createCellOverlays = function(state)
Creates the actual shape for showing the overlay for the given cell state.
mxGraph.prototype.createCellRenderer = function()
Creates a new mxCellRenderer to be used in this graph.
mxSvgCanvas2D.prototype.createClip = function(x,
y,
w,
h)
Creates a clip for the given coordinates.
mxDefaultPopupMenu.prototype.createConditions = function(editor,
cell,
evt)
Evaluates the default conditions for the given context.
mxGraph.prototype.createConnectionHandler = function()
Creates and returns a new mxConnectionHandler to be used in this graph.
mxCellRenderer.prototype.createControl = function(state)
Creates the control for the given cell state.
mxCellRenderer.prototype.createControlClickHandler = function(state)
Hook for creating the click handler for the folding icon.
mxEdgeHandler.prototype.createCustomHandles = function()
Returns an array of custom handles.
mxVertexHandler.prototype.createCustomHandles = function()
Returns an array of custom handles.
mxSvgCanvas2D.prototype.createDashPattern = function(scale)
Creates the SVG dash pattern for the given state.
mxStylesheet.prototype.createDefaultEdgeStyle = function()
Creates and returns the default edge style.
mxStylesheet.prototype.createDefaultVertexStyle = function()
Creates and returns the default vertex style.
mxEditor.prototype.createDiagramLayout = function ()
Creates the layout instance used to layout the swimlanes in the diagram.
mxSvgCanvas2D.prototype.createDiv = function(str,
align,
valign,
style,
overflow)
Private helper function to create SVG elements
mxDragSource.prototype.createDragElement = function(evt)
Creates and returns a clone of the dragElementPrototype or the element if the former is not defined.
mxConnectionHandler.prototype.createEdge = function(value,
source,
target,
style)
Creates and returns a new edge using factoryMethod if one exists.
mxEditor.prototype.createEdge = function (source,
target)
Uses defaultEdge as the prototype for creating new edges in the connection handler of the graph.
mxGraph.prototype.createEdge = function(parent,
id,
value,
source,
target,
style)
Hook method that creates the new edge for insertEdge.
mxGraph.prototype.createEdgeHandler = function(state)
Hooks to create a new mxEdgeHandler for the given mxCellState.
mxGraph.prototype.createEdgeSegmentHandler = function(state)
Hooks to create a new mxEdgeSegmentHandler for the given mxCellState.
mxConnectionHandler.prototype.createEdgeState = function(me)
Hook to return an mxCellState which may be used during the preview.
mxGraph.prototype.createElbowEdgeHandler = function(state)
Hooks to create a new mxElbowEdgeHandler for the given mxCellState.
mxSvgCanvas2D.prototype.createElement = function(tagName,
namespace)
Private helper function to create SVG elements
mxVmlCanvas2D.prototype.createElement = function(name)
Creates the given element using the document.
mxXmlCanvas2D.prototype.createElement = function(name)
Creates the given element using the owner document of root.
mxVmlCanvas2D.prototype.createFill = function()
Creates a fill for the current state.
mxSvgCanvas2D.prototype.createGradientId = function(start,
end,
alpha1,
alpha2,
direction)
Private helper function to create SVG elements
mxEditor.prototype.createGraph = function ()
Creates the graph for the editor.
mxOutline.prototype.createGraph = function(container)
Creates the mxGraph used in the outline.
mxGraph.prototype.createGraphHandler = function()
Creates and returns a new mxGraphHandler to be used in this graph.
mxGraph.prototype.createGraphView = function()
Creates a new mxGraphView to be used in this graph.
mxEditor.prototype.createGroup = function ()
Creates and returns a clone of defaultGroup to be used as a new group cell in group.
mxGraph.prototype.createGroupCell = function(cells)
Hook for creating the group cell to hold the given array of mxCells if no group cell was given to the group function.
mxGuide.prototype.createGuideShape = function(horizontal)
Returns the mxShape to be used for painting the respective guide.
mxGraph.prototype.createHandler = function(state)
Creates a new handler for the given cell state.
mxGraph.prototype.createHandlers = function()
Creates the tooltip-, panning-, connection- and graph-handler (in this order).
mxEdgeHandler.prototype.createHandleShape = function(index)
Creates the shape used to display the given bend.
mxImageShape.prototype.createHtml = function()
Creates and returns the HTML DOM node(s) to represent this shape.
mxShape.prototype.createHtml = function()
Creates and returns the HTML DOM node(s) to represent this shape.
mxGraphView.prototype.createHtmlPane = function(width,
height)
Creates and returns a drawing pane in HTML (DIV).
mxConnectionHandler.prototype.createIcons = function(state)
Creates the array mxImageShapes that represent the connect icons for the given mxCellState.
mxGraphModel.prototype.createId = function(cell)
Hook method to create an Id for the specified cell.
mxGraphModel.prototype.createIds
Specifies if the model should automatically create Ids for new cells.
createImage: function(src)
Creates and returns an image (IMG node) or VML image (v:image) in IE6 in quirks mode.
mxCellRenderer.prototype.createIndicatorShape = function(state)
Creates the indicator shape for the given cell state.
mxGraphHierarchyModel.prototype.createInternalCells = function(layout,
vertices,
internalVertices)
Creates all edges in the internal model
mxSwimlaneModel.prototype.createInternalCells = function(layout,
vertices,
internalVertices)
Creates all edges in the internal model
mxCellRenderer.prototype.createLabel = function(state,
value)
Creates the label for the given cell state.
mxEdgeHandler.prototype.createLabelHandleShape = function()
Creates the shape used to display the the label handle.
mxEditor.prototype.createLayoutManager = function (graph)
Creates a layout manager for the swimlane and diagram layouts, that is, the locally defined inter- and intraswimlane layouts.
mxCompactTreeLayout.prototype.createLine = function(dx,
dy,
next)
mxConnectionHandler.prototype.createMarker = function()
Creates and returns the mxCellMarker used in marker.
mxConnector.prototype.createMarker = function(c,
pts,
source)
Prepares the marker by adding offsets in pts and returning a function to paint the marker.
mxEdgeHandler.prototype.createMarker = function()
Creates and returns the mxCellMarker used in marker.
createMarker: function(canvas,
shape,
type,
pe,
unitX,
unitY,
size,
source,
sw,
filled)
Returns a function to paint the given marker.
mxDefaultPopupMenu.prototype.createMenu = function(editor,
menu,
cell,
evt)
This function is called from mxEditor to add items to the given menu based on config.
mxCompactTreeLayout.prototype.createNode = function(cell)
mxPrintPreview.prototype.createPageSelector = function(vpages,
hpages)
Creates the page selector table.
mxGraph.prototype.createPanningHandler = function()
Creates and returns a new mxPanningHandler to be used in this graph.
mxGraph.prototype.createPanningManager = function()
Creates and returns an mxPanningManager.
mxVertexHandler.prototype.createParentHighlightShape = function(bounds)
Creates the shape used to draw the selection border.
mxEditor.prototype.createPopupMenu = function (menu,
cell,
evt)
Uses popupHandler to create the menu in the graph’s panning handler.
mxGraph.prototype.createPopupMenuHandler = function()
Creates and returns a new mxPopupMenuHandler to be used in this graph.
mxDragSource.prototype.createPreviewElement = function(graph)
Creates and returns an element which can be used as a preview in the given graph.
mxGraphHandler.prototype.createPreviewShape = function(bounds)
Creates the shape used to draw the preview for the given bounds.
mxEditor.prototype.createProperties = function (cell)
Creates and returns the DOM node that represents the contents of the properties dialog for the given cell.
mxVmlCanvas2D.prototype.createRect = function(nodeName,
x,
y,
w,
h)
Sets the glass gradient.
mxGraphModel.prototype.createRoot = function()
Creates a new root cell with a default layer (child 0).
mxGraph.prototype.createSelectionCellsHandler = function()
Creates and returns a new mxTooltipHandler to be used in this graph.
mxGraph.prototype.createSelectionModel = function()
Creates a new mxGraphSelectionModel to be used in this graph.
Creates the shape used to draw the selection border.
mxVertexHandler.prototype.createSelectionShape = function(bounds)
Creates the shape used to draw the selection border.
mxSvgCanvas2D.prototype.createShadow = function(node)
Creates a shadow for the given node.
mxVmlCanvas2D.prototype.createShadow = function(node,
filled,
stroked)
Creates a shadow for the given node.
mxVmlCanvas2D.prototype.createShadowFill = function()
Creates the fill for the shadow.
mxVmlCanvas2D.prototype.createShadowStroke = function()
Creates the stroke for the shadow.
mxCellHighlight.prototype.createShape = function()
Creates and returns the highlight shape for the given state.
mxCellRenderer.prototype.createShape = function(state)
Creates and returns the shape for the given cell state.
mxConnectionHandler.prototype.createShape = function()
Creates the preview shape for new connections.
mxHandle.prototype.createShape = function(html)
Creates and returns the shape for this handle.
mxRubberband.prototype.createShape = function()
Creates the rubberband selection shape.
mxOutline.prototype.createSizer = function()
Creates the shape used as the sizer.
mxVertexHandler.prototype.createSizer = function(cursor,
index,
size,
fillColor)
Creates a sizer handle for the specified cursor and index and returns the new mxRectangleShape that represents the handle.
mxVertexHandler.prototype.createSizerShape = function(bounds,
index,
fillColor)
Creates the shape used for the sizer handle for the specified bounds an index.
mxAbstractCanvas2D.prototype.createState = function()
Creates the state of the this canvas.
mxGraphView.prototype.createState = function(cell)
Creates and returns an mxCellState for the given cell and initializes it using mxCellRenderer.initialize.
mxVmlCanvas2D.prototype.createStroke = function()
Creates a fill for the current state.
mxSvgCanvas2D.prototype.createStyle = function(x)
Creates the optional style section.
mxGraph.prototype.createStylesheet = function()
Creates a new mxGraphSelectionModel to be used in this graph.
mxPopupMenu.prototype.createSubmenu = function(parent)
Creates the nodes required to add submenu items inside the given parent item.
mxShape.prototype.createSvg = function()
Creates and returns the SVG node(s) to represent this shape.
mxShape.prototype.createSvgCanvas = function()
Creates and returns an mxSvgCanvas2D for rendering this shape.
mxSvgCanvas2D.prototype.createSvgGradient = function(start,
end,
alpha1,
alpha2,
direction)
Creates the given SVG gradient.
mxEditor.prototype.createSwimlaneLayout = function ()
Creates the layout instance used to layout the children of each swimlane.
mxEditor.prototype.createSwimlaneManager = function (graph)
Sets the graph’s container using mxGraph.init.
mxConnectionHandler.prototype.createTarget
Specifies if createTargetVertex should be called if no target was under the mouse for the new connection.
mxConnectionHandler.prototype.createTargetVertex = function(evt,
source)
Hook method for creating new vertices on the fly if no target was under the mouse.
mxEditor.prototype.createTasks = function (div)
Updates the contents of the given DOM node to display the tasks associated with the current editor state.
Creates the innermost element that contains the HTML text.
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.
mxGraph.prototype.createTooltipHandler = function()
Creates and returns a new mxTooltipHandler to be used in this graph.
mxVmlCanvas2D.prototype.createTransparentFill = function()
Creates a transparent fill.
mxShape.prototype.createTransparentSvgRectangle = function(x,
y,
w,
h)
Adds a transparent rectangle that catches all events.
mxGraphModel.prototype.createUndoableEdit = function()
Creates a new mxUndoableEdit that implements the notify function to fire a change and notify event through the mxUndoableEdit’s source.
mxAbstractCanvas2D.prototype.createUrlConverter = function()
Create a new mxUrlConverter and returns it.
mxGraph.prototype.createVertex = function(parent,
id,
value,
x,
y,
width,
height,
style,
relative)
Hook method that creates the new vertex for insertVertex.
mxGraph.prototype.createVertexHandler = function(state)
Hooks to create a new mxVertexHandler for the given mxCellState.
mxElbowEdgeHandler.prototype.createVirtualBend = function(dblClickHandler)
Creates a virtual bend that supports double clicking and calls mxGraph.flipEdge.
mxEdgeHandler.prototype.createVirtualBends = function()
Creates and returns the bends used for modifying the edge.
mxShape.prototype.createVml = function()
Creates and returns the VML node to represent this shape.
mxShape.prototype.createVmlCanvas = function()
Creates and returns an mxVmlCanvas2D for rendering this shape.
mxVmlCanvas2D.prototype.createVmlElement = function(name)
Creates a new element using createElement and prefixes the given name with mxClient.VML_PREFIX.
mxShape.prototype.createVmlGroup = function()
Returns the temporary element used for rendering in IE8 standards mode.
mxGraphView.prototype.createVmlPane = function(width,
height)
Creates a drawing pane in VML (group).
createXmlDocument: function()
Returns a new, empty XML document.
mxHierarchicalLayout.prototype.crossingStage = function(parent)
Executes the crossing stage using mxMedianHybridCrossingReduction.
mxSwimlaneLayout.prototype.crossingStage = function(parent)
Executes the crossing stage using mxMedianHybridCrossingReduction.
mxMedianHybridCrossingReduction.prototype.currentBestCrossings
The total number of crossings found in the best configuration so far
mxCellMarker.prototype.currentColor
Holds the current marker color.
mxDragSource.prototype.currentDropTarget
Holds the current drop target under the mouse.
mxGraphHandler.prototype.currentDx
Stores the x-coordinate of the current mouse move.
mxGraphHandler.prototype.currentDy
Stores the y-coordinate of the current mouse move.
mxGraphModel.prototype.currentEdit
Holds the changes for the current transaction.
mxEditor.prototype.currentFileResource
Specifies the resource key for the current file info.
mxDragSource.prototype.currentGraph
Reference to the mxGraph that is the current drop target.
mxDragSource.prototype.currentGuide
Holds an mxGuide for the currentGraph if dragPreview is not null.
mxDragSource.prototype.currentPoint
Holds the current drop location.
mxGraphView.prototype.currentRoot
mxCell that acts as the root of the displayed cell hierarchy.
mxRubberband.prototype.currentX
Holds the value of the x argument in the last call to update.
mxCoordinateAssignment.prototype.currentXDelta
The sum of x-displacements for the current iteration
mxRubberband.prototype.currentY
Holds the value of the y argument in the last call to update.
mxCellOverlay.prototype.cursor
Holds the cursor for the overlay.
mxHandle.prototype.cursor
Specifies the cursor to be used for this handle.
Defines the cursor for a movable bend.
Defines the cursor for a connectable state.
Defines the cursor for a movable label.
Defines the cursor for a movable edge.
Defines the cursor for a movable vertex.
Defines the cursor for a terminal handle.
Defines the cursor for a movable bend.
mxAbstractCanvas2D.prototype.curveOp
Contains the string used for bezier curves.
mxVmlCanvas2D.prototype.curveOp
Contains the string used for bezier curves.
mxAbstractCanvas2D.prototype.curveTo = function(x1,
y1,
x2,
y2,
x3,
y3)
Adds a bezier curve to the current path.
mxXmlCanvas2D.prototype.curveTo = function(x1,
y1,
x2,
y2,
x3,
y3)
Adds a bezier curve to the current path.
Start index for the custom handles in an mxMouseEvent.
cut: function(graph,
cells)
Cuts the given array of mxCells from the specified graph.
mxEditor.prototype.cycleAttribute = function (cell)
Uses the returned value from consumeCycleAttribute as the value for the cycleAttributeName key in the given cell’s style.
mxEditor.prototype.cycleAttributeIndex
Index of the last consumed attribute index.
mxEditor.prototype.cycleAttributeName
Name of the attribute to be assigned a cycleAttributeValues when inserting new swimlanes.
mxEditor.prototype.cycleAttributeValues
Specifies the attribute values to be cycled when inserting new swimlanes.
mxHierarchicalLayout.prototype.cycleStage = function(parent)
Executes the cycle stage using mxMinimumCycleRemover.
mxSwimlaneLayout.prototype.cycleStage = function(parent)
Executes the cycle stage using mxMinimumCycleRemover.
@@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/General4.html b/docs/js-api/index/General4.html index cffd689a3..98309ba8e 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
 dblClickRemoveEnabled, mxEdgeHandler
 debug, mxLog
 DEBUG, mxLog
 decode
 decodeAttribute, mxObjectCodec
 decodeAttributes, mxObjectCodec
 decodeCell, mxCodec
 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_TEXT_DIRECTION, 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
 destroyBends, mxEdgeHandler
 destroyCanvas, mxShape
 destroyed, mxTooltipHandler
 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, mxEvent
 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
 drawCellState, mxImageExport
 drawHighlight, mxCellHighlight
 drawNode, mxStencil
 drawOverlays, mxImageExport
 drawPreview
 drawShape
 drawState, mxImageExport
 drawText, mxImageExport
 Drilldown, mxGraph
 drillHandler, mxConnectionHandler
 drop
 DROP_TARGET_COLOR, mxConstants
 dropEnabled, mxGraph
 dropHandler, mxDragSource
 dummyVertexWidth, mxSwimlaneLayout
 dummyVertices, mxSwimlaneLayout
 dx, mxPanningHandler
 dy, mxPanningHandler
+
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
 dblClickRemoveEnabled, mxEdgeHandler
 debug, mxLog
 DEBUG, mxLog
 decode
 decodeAttribute, mxObjectCodec
 decodeAttributes, mxObjectCodec
 decodeCell, mxCodec
 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_TEXT_DIRECTION, 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
 destroyBends, mxEdgeHandler
 destroyCanvas, mxShape
 destroyed, mxTooltipHandler
 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, mxEvent
 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
 drawCellState, mxImageExport
 drawHighlight, mxCellHighlight
 drawNode, mxStencil
 drawOverlays, mxImageExport
 drawPreview
 drawShape
 drawState, mxImageExport
 drawText, mxImageExport
 Drilldown, mxGraph
 drillHandler, mxConnectionHandler
 drop
 DROP_TARGET_COLOR, mxConstants
 dropEnabled, mxGraph
 dropHandler, mxDragSource
 dummyVertexWidth, mxSwimlaneLayout
 dummyVertices, mxSwimlaneLayout
 dx, mxPanningHandler
 dy, mxPanningHandler
-
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.
mxEdgeHandler.prototype.dblClickRemoveEnabled
Specifies if removing bends by double click is enabled.
debug: function()
Adds all arguments to the console if DEBUG is enabled.
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.
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.
Defines the default value for the STYLE_TEXT_DIRECTION if no value is defined for it in the style.
Specifies the default valid color.
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.
mxHandle.prototype.destroy = function()
Destroys this handle.
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.
mxEdgeHandler.prototype.destroyBends = function(bends)
Destroys all elements in bends.
mxShape.prototype.destroyCanvas = function(canvas)
Destroys the given canvas which was used for drawing.
mxTooltipHandler.prototype.destroyed
True if this handler was destroyed using destroy.
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)
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.
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.
mxImageExport.prototype.drawCellState = function(state,
canvas)
Draws the given state to the given canvas.
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.
mxImageExport.prototype.drawShape = function(state,
canvas)
Draws the shape of the given state.
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.
mxImageExport.prototype.drawText = function(state,
canvas)
Draws the text of the given state.
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
mxPanningHandler.prototype.dx
Holds the current horizontal offset.
mxPanningHandler.prototype.dy
Holds the current vertical offset.
+
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.
mxEdgeHandler.prototype.dblClickRemoveEnabled
Specifies if removing bends by double click is enabled.
debug: function()
Adds all arguments to the console if DEBUG is enabled.
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.
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.
Defines the default value for the STYLE_TEXT_DIRECTION if no value is defined for it in the style.
Specifies the default valid color.
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.
mxHandle.prototype.destroy = function()
Destroys this handle.
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.
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.
mxEdgeHandler.prototype.destroyBends = function(bends)
Destroys all elements in bends.
mxShape.prototype.destroyCanvas = function(canvas)
Destroys the given canvas which was used for drawing.
mxTooltipHandler.prototype.destroyed
True if this handler was destroyed using destroy.
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)
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.
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.
mxImageExport.prototype.drawCellState = function(state,
canvas)
Draws the given state to the given canvas.
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.
mxImageExport.prototype.drawShape = function(state,
canvas)
Draws the shape of the given state.
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.
mxImageExport.prototype.drawText = function(state,
canvas)
Draws the text of the given state.
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
mxPanningHandler.prototype.dx
Holds the current horizontal offset.
mxPanningHandler.prototype.dy
Holds the current vertical offset.
@@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/General5.html b/docs/js-api/index/General5.html index b13eae679..a6c90becf 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, mxHierarchicalLayout
 EDGESTYLE_ELBOW, mxConstants
 EDGESTYLE_ENTITY_RELATION, mxConstants
 EDGESTYLE_LOOP, mxConstants
 EDGESTYLE_ORTHOGONAL, mxConstants
 EDGESTYLE_SEGMENT, mxConstants
 EDGESTYLE_SIDETOSIDE, mxConstants
 EDGESTYLE_TOPTOBOTTOM, mxConstants
 EDITING_STARTED
 EDITING_STOPPED
 editingCell, mxCellEditor
 editor
 ELBOW_HORIZONTAL, mxConstants
 ELBOW_VERTICAL, mxConstants
 ElbowConnector, mxEdgeStyle
 element, mxDragSource
 ellipse
 EllipsePerimeter, mxPerimeter
 EMPTY_ARRAY, mxGraph
 emptyLabelText, mxCellEditor
 enabled
 encode
 encodeCell
 encodeDefaults, mxCodec
 encodeObject
 encodeValue, mxObjectCodec
 end, mxAbstractCanvas2D
 END_EDIT
 END_UPDATE
 endingUpdate, mxGraphModel
 endUpdate, mxGraphModel
 enter, mxLog
 enterGroup, mxGraph
 enterStopsCellEditing, mxGraph
 ENTITY_SEGMENT, mxConstants
 EntityRelation, mxEdgeStyle
 equalEntries, mxUtils
 equalPoints, mxUtils
 equals
 error
 errorImage, mxUtils
 errorResource, mxUtils
 escape
 ESCAPE
 escapeEnabled, mxGraph
 escapePostData, mxEditor
 eval, mxUtils
 evaluateAttribute, mxStencil
 evaluateTextAttribute, mxStencil
 Event processing, mxGraph
 eventListeners, mxEventSource
 Events
 eventsEnabled, mxEventSource
 eventSource, mxEventSource
 evt, mxMouseEvent
 exclude, mxObjectCodec
 execute
 EXECUTE
 EXECUTED
 executeLayout, mxLayoutManager
 exitGroup, mxGraph
 expandedImage, mxGraph
 exportEnabled, mxGraph
 extend, mxUtils
 extendedDfs
 extendParent, mxGraph
 extendParents
 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, mxHierarchicalLayout
 EDGESTYLE_ELBOW, mxConstants
 EDGESTYLE_ENTITY_RELATION, mxConstants
 EDGESTYLE_LOOP, mxConstants
 EDGESTYLE_ORTHOGONAL, mxConstants
 EDGESTYLE_SEGMENT, mxConstants
 EDGESTYLE_SIDETOSIDE, mxConstants
 EDGESTYLE_TOPTOBOTTOM, mxConstants
 EDITING_STARTED
 EDITING_STOPPED
 editingCell, mxCellEditor
 editor
 ELBOW_HORIZONTAL, mxConstants
 ELBOW_VERTICAL, mxConstants
 ElbowConnector, mxEdgeStyle
 element, mxDragSource
 ellipse
 EllipsePerimeter, mxPerimeter
 EMPTY_ARRAY, mxGraph
 emptyLabelText, mxCellEditor
 enabled
 encode
 encodeCell
 encodeDefaults, mxCodec
 encodeObject
 encodeValue, mxObjectCodec
 end, mxAbstractCanvas2D
 END_EDIT
 END_UPDATE
 endingUpdate, mxGraphModel
 endUpdate, mxGraphModel
 enter, mxLog
 enterGroup, mxGraph
 enterStopsCellEditing, mxGraph
 ENTITY_SEGMENT, mxConstants
 EntityRelation, mxEdgeStyle
 equalEntries, mxUtils
 equalPoints, mxUtils
 equals
 error
 errorImage, mxUtils
 errorResource, mxUtils
 escape
 ESCAPE
 escapeEnabled, mxGraph
 escapePostData, mxEditor
 eval, mxUtils
 evaluateAttribute, mxStencil
 evaluateTextAttribute, mxStencil
 Event processing, mxGraph
 eventListeners, mxEventSource
 Events
 eventsEnabled, mxEventSource
 eventSource, mxEventSource
 evt, mxMouseEvent
 exclude, mxObjectCodec
 execute
 EXECUTE
 EXECUTED
 executeLayout, mxLayoutManager
 exitGroup, mxGraph
 expandedImage, mxGraph
 exportEnabled, mxGraph
 extend, mxUtils
 extendedDfs
 extendParent, mxGraph
 extendParents, mxGraph
 extendParentsOnAdd, mxGraph
 extension, mxResources
-
mxMorphing.prototype.ease
Ease-off for movement towards the given vector.
mxCell.prototype.edge
Specifies whether the cell is an edge.
Defines the color to be used for the selection border of edges.
Defines the strokewidth to be used for edge selections.
mxGraph.prototype.edgeLabelsMovable
Specifies the return value for edges in isLabelMovable.
mxGraphHierarchyModel.prototype.edgeMapper
Map from graph edges to internal model edges
mxSwimlaneModel.prototype.edgeMapper
Map from graph edges to internal model edges
mxCompactTreeLayout.prototype.edgeRouting
Whether or not to apply the internal tree edge routing.
mxCell.prototype.edges
Holds the edges.
mxGraphHierarchyEdge.prototype.edges
The graph edge(s) this object represents.
A cache of edges whose source terminal is the key
A cache of edges whose source terminal is the key
mxConnectionHandler.prototype.edgeState
Optional mxCellState that represents the preview edge while the handler is active.
mxHierarchicalLayout.prototype.edgeStyle
The style to apply between cell layers to edge segments
Name of the elbow edge style.
Name of the entity relation edge style.
Name of the loop edge style.
Name of the generic orthogonal edge style.
Name of the generic segment edge style.
Name of the side to side edge style.
Name of the top to bottom edge style.
Specifies the event name for editingStarted.
Fires after the in-place editor starts in startEditingAtCell.
Specifies the event name for editingStopped.
Fires after the in-place editor stops in stopEditing.
mxCellEditor.prototype.editingCell
Reference to the mxCell that is currently being edited.
mxDefaultKeyHandler.prototype.editor
Reference to the enclosing mxEditor.
mxDefaultToolbar.prototype.editor
Reference to the enclosing mxEditor.
Constant for elbow horizontal.
Constant for elbow vertical.
ElbowConnector: function (state,
source,
target,
points,
result)
Uses either SideToSide or TopToBottom depending on the horizontal flag in the cell style.
mxDragSource.prototype.element
Reference to the DOM node which was made draggable.
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.
mxCodec.prototype.encodeDefaults
Specifies if default values should be encoded.
codec.encodeObject = function(enc,
obj,
node)
Encodes the given mxGraphModel by writing a (flat) XML sequence of cell nodes as produced by the mxCellCodec.
mxObjectCodec.prototype.encodeObject = function(enc,
obj,
node)
Encodes the value of each member in then given obj into the given node using encodeValue.
mxObjectCodec.prototype.encodeValue = function(enc,
obj,
name,
value,
node)
Converts the given value according to the mappings and id-refs in this codec and uses writeAttribute to write the attribute into the given node.
mxAbstractCanvas2D.prototype.end = function()
Empty implementation for backwards compatibility.
Specifies the event name for endEdit.
Fires after the updateLevel was changed from 1 to 0.
Fires after a set of changeswas executed in undo or redo.
Specifies the event name for endUpdate.
Fires after the updateLevel was decreased in endUpdate but before any notification or change dispatching.
mxGraphModel.prototype.endingUpdate
True if the program flow is currently inside endUpdate.
mxGraphModel.prototype.endUpdate = function()
Decrements the updateLevel by one and fires an undo event if the updateLevel reaches 0.
enter: function(string)
Writes the specified string to the console if TRACE is true and returns the current time in milliseconds.
mxGraph.prototype.enterGroup = function(cell)
Uses the given cell as the root of the displayed cell hierarchy.
mxGraph.prototype.enterStopsCellEditing
If true, pressing the enter key without pressing control or shift will stop editing and accept the new value.
Defines the length of the horizontal segment of an Entity Relation.
EntityRelation: function (state,
source,
target,
points,
result)
Implements an entity relation style for edges (as used in database schema diagrams).
equalEntries: function(a,
b)
Returns true if all entries of the given objects are equal.
equalPoints: function(a,
b)
Compares all mxPoints in the given lists.
mxGeometry.prototype.equals = function(obj)
Returns true if the given object equals this geometry.
mxPoint.prototype.equals = function(obj)
Returns true if the given object equals this point.
mxRectangle.prototype.equals = function(obj)
Returns true if the given object equals this rectangle.
mxConnectionHandler.prototype.error
Holds the current validation error while connections are being created.
mxEdgeHandler.prototype.error
Holds the current validation error while a connection is being changed.
error: function(message,
width,
close,
icon)
Displays the given error message in a new mxWindow of the given width.
Defines the image used for error dialogs.
Specifies the resource key for the title of the error window.
mxGraph.prototype.escape = function(evt)
Processes an escape keystroke.
mxKeyHandler.prototype.escape = function(evt)
Hook to process ESCAPE keystrokes.
Fires when the escape key is pressed.
Specifies the event name for escape.
mxGraph.prototype.escapeEnabled
Specifies if mxKeyHandler should invoke escape when the escape key is pressed.
mxEditor.prototype.escapePostData
Specifies if the data in the post request for saving a diagram should be converted using encodeURIComponent.
eval: function(expr)
Evaluates the given expression using eval and returns the JavaScript object that represents the expression result.
mxStencil.prototype.evaluateAttribute = function(node,
attribute,
shape)
Gets the attribute for the given name from the given node.
mxStencil.prototype.evaluateTextAttribute = function(node,
attribute,
state)
Gets the given attribute as a text.
mxEventSource.prototype.eventListeners
Holds the event names and associated listeners in an array.
mxEventSource.prototype.eventsEnabled
Specifies if events can be fired.
mxEventSource.prototype.eventSource
Optional source for events.
mxMouseEvent.prototype.evt
Holds the inner event object.
mxObjectCodec.prototype.exclude
Array containing the variable names that should be ignored by the codec.
mxCellAttributeChange.prototype.execute = function()
Changes the attribute of the cell’s user object by using mxCell.setAttribute.
mxChildChange.prototype.execute = function()
Changes the parent of child using mxGraphModel.parentForCellChanged and removes or restores the cell’s connections.
mxCircleLayout.prototype.execute = function(parent)
Implements mxGraphLayout.execute.
mxCollapseChange.prototype.execute = function()
Changes the collapsed state of cell to previous using mxGraphModel.collapsedStateForCellChanged.
mxCompactTreeLayout.prototype.execute = function(parent,
root)
Implements mxGraphLayout.execute.
mxCompositeLayout.prototype.execute = function(parent)
Implements mxGraphLayout.execute by executing all layouts in a single transaction.
mxCoordinateAssignment.prototype.execute = function(parent)
A basic horizontal coordinate assignment algorithm
mxCurrentRootChange.prototype.execute = function()
Changes the current root of the view.
mxEdgeLabelLayout.prototype.execute = function(parent)
Implements mxGraphLayout.execute.
mxEditor.prototype.execute = function (actionname,
cell,
evt)
Executes the function with the given name in actions passing the editor instance and given cell as the first and second argument.
mxFastOrganicLayout.prototype.execute = function(parent)
Implements mxGraphLayout.execute.
mxGeometryChange.prototype.execute = function()
Changes the geometry of cell ro previous using mxGraphModel.geometryForCellChanged.
mxGraphLayout.prototype.execute = function(parent)
Executes the layout algorithm for the children of the given parent.
mxGraphModel.prototype.execute = function(change)
Executes the given edit and fires events if required.
mxHandle.prototype.execute = function()
Hook for subclassers to execute the handle.
mxHierarchicalLayout.prototype.execute = function(parent,
roots)
Executes the layout for the children of the specified parent.
mxHierarchicalLayoutStage.prototype.execute = function(parent)
Takes the graph detail and configuration information within the facade and creates the resulting laid out graph within that facade for further use.
mxMedianHybridCrossingReduction.prototype.execute = function(parent)
Performs a vertex ordering within ranks as described by Gansner et al 1993
mxMinimumCycleRemover.prototype.execute = function(parent)
Takes the graph detail and configuration information within the facade and creates the resulting laid out graph within that facade for further use.
mxParallelEdgeLayout.prototype.execute = function(parent)
Implements mxGraphLayout.execute.
mxPartitionLayout.prototype.execute = function(parent)
Implements mxGraphLayout.execute.
mxRadialTreeLayout.prototype.execute = function(parent,
root)
Implements mxGraphLayout.execute.
mxRootChange.prototype.execute = function()
Carries out a change of the root using mxGraphModel.rootChanged.
mxSelectionChange.prototype.execute = function()
Changes the current root of the view.
mxStackLayout.prototype.execute = function(parent)
Implements mxGraphLayout.execute.
mxStyleChange.prototype.execute = function()
Changes the style of cell to previous using mxGraphModel.styleForCellChanged.
mxSwimlaneLayout.prototype.execute = function(parent,
swimlanes)
Executes the layout for the children of the specified parent.
mxSwimlaneOrdering.prototype.execute = function(parent)
Takes the graph detail and configuration information within the facade and creates the resulting laid out graph within that facade for further use.
mxTerminalChange.prototype.execute = function()
Changes the terminal of cell to previous using mxGraphModel.terminalForCellChanged.
mxValueChange.prototype.execute = function()
Changes the value of cell to previous using mxGraphModel.valueForCellChanged.
mxVisibleChange.prototype.execute = function()
Changes the visible state of cell to previous using mxGraphModel.visibleStateForCellChanged.
Specifies the event name for execute.
Fires between begin- and endUpdate and after an atomic change was executed in the model.
Specifies the event name for executed.
Fires between START_EDIT and END_EDIT after an atomic change was executed.
Fires between START_EDIT and END_EDIT after an atomic change was executed.
mxLayoutManager.prototype.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.
mxHierarchicalLayout.prototype.edgeStyle
The style to apply between cell layers to edge segments
Name of the elbow edge style.
Name of the entity relation edge style.
Name of the loop edge style.
Name of the generic orthogonal edge style.
Name of the generic segment edge style.
Name of the side to side edge style.
Name of the top to bottom edge style.
Specifies the event name for editingStarted.
Fires after the in-place editor starts in startEditingAtCell.
Specifies the event name for editingStopped.
Fires after the in-place editor stops in stopEditing.
mxCellEditor.prototype.editingCell
Reference to the mxCell that is currently being edited.
mxDefaultKeyHandler.prototype.editor
Reference to the enclosing mxEditor.
mxDefaultToolbar.prototype.editor
Reference to the enclosing mxEditor.
Constant for elbow horizontal.
Constant for elbow vertical.
ElbowConnector: function (state,
source,
target,
points,
result)
Uses either SideToSide or TopToBottom depending on the horizontal flag in the cell style.
mxDragSource.prototype.element
Reference to the DOM node which was made draggable.
mxSvgCanvas2D.prototype.ellipse = function(x,
y,
w,
h)
Private helper function to create SVG elements
mxVmlCanvas2D.prototype.ellipse = function(x,
y,
w,
h)
Sets the current path to an ellipse.
mxXmlCanvas2D.prototype.ellipse = function(x,
y,
w,
h)
Puts an ellipse into the drawing buffer.
EllipsePerimeter: function (bounds,
vertex,
next,
orthogonal)
Describes an elliptic perimeter.
mxGraph.prototype.EMPTY_ARRAY
Immutable empty array instance.
mxCellEditor.prototype.emptyLabelText
Text to be displayed for empty labels.
mxAutoSaveManager.prototype.enabled
Specifies if event handling is enabled.
mxCellMarker.prototype.enabled
Specifies if the marker is enabled.
mxConnectionHandler.prototype.enabled
Specifies if events are handled.
mxConstraintHandler.prototype.enabled
Specifies if events are handled.
mxDragSource.prototype.enabled
Specifies if this drag source is enabled.
mxGraph.prototype.enabled
Specifies the return value for isEnabled.
mxGraphHandler.prototype.enabled
Specifies if events are handled.
mxKeyHandler.prototype.enabled
Specifies if events are handled.
mxLayoutManager.prototype.enabled
Specifies if event handling is enabled.
mxOutline.prototype.enabled
Specifies if events are handled.
mxPopupMenu.prototype.enabled
Specifies if events are handled.
mxRubberband.prototype.enabled
Specifies if events are handled.
mxSelectionCellsHandler.prototype.enabled
Specifies if events are handled.
mxSwimlaneManager.prototype.enabled
Specifies if event handling is enabled.
mxToolbar.prototype.enabled
Specifies if events are handled.
mxTooltipHandler.prototype.enabled
Specifies if events are handled.
mxUrlConverter.prototype.enabled
Specifies if the converter is enabled.
mxCodec.prototype.encode = function(obj)
Encodes the specified object and returns the resulting XML node.
codec.encode = function(enc,
obj)
Returns null.
codec.encode = function(enc,
obj)
Returns null.
codec.encode = function(enc,
obj)
Returns null.
codec.encode = function(enc,
view)
Encodes the given mxGraphView using encodeCell starting at the model’s root.
mxObjectCodec.prototype.encode = function(enc,
obj)
Encodes the specified object and returns a node representing then given object.
codec.encode = function(enc,
obj)
Encodes a stylesheet.
mxCodec.prototype.encodeCell = function(cell,
node,
includeChildren)
Encoding of cell hierarchies is built-into the core, but is a higher-level function that needs to be explicitely used by the respective object encoders (eg.
codec.encodeCell = function(enc,
view,
cell)
Recursively encodes the specifed cell.
mxCodec.prototype.encodeDefaults
Specifies if default values should be encoded.
codec.encodeObject = function(enc,
obj,
node)
Encodes the given mxGraphModel by writing a (flat) XML sequence of cell nodes as produced by the mxCellCodec.
mxObjectCodec.prototype.encodeObject = function(enc,
obj,
node)
Encodes the value of each member in then given obj into the given node using encodeValue.
mxObjectCodec.prototype.encodeValue = function(enc,
obj,
name,
value,
node)
Converts the given value according to the mappings and id-refs in this codec and uses writeAttribute to write the attribute into the given node.
mxAbstractCanvas2D.prototype.end = function()
Empty implementation for backwards compatibility.
Specifies the event name for endEdit.
Fires after the updateLevel was changed from 1 to 0.
Fires after a set of changeswas executed in undo or redo.
Specifies the event name for endUpdate.
Fires after the updateLevel was decreased in endUpdate but before any notification or change dispatching.
mxGraphModel.prototype.endingUpdate
True if the program flow is currently inside endUpdate.
mxGraphModel.prototype.endUpdate = function()
Decrements the updateLevel by one and fires an undo event if the updateLevel reaches 0.
enter: function(string)
Writes the specified string to the console if TRACE is true and returns the current time in milliseconds.
mxGraph.prototype.enterGroup = function(cell)
Uses the given cell as the root of the displayed cell hierarchy.
mxGraph.prototype.enterStopsCellEditing
If true, pressing the enter key without pressing control or shift will stop editing and accept the new value.
Defines the length of the horizontal segment of an Entity Relation.
EntityRelation: function (state,
source,
target,
points,
result)
Implements an entity relation style for edges (as used in database schema diagrams).
equalEntries: function(a,
b)
Returns true if all entries of the given objects are equal.
equalPoints: function(a,
b)
Compares all mxPoints in the given lists.
mxGeometry.prototype.equals = function(obj)
Returns true if the given object equals this geometry.
mxPoint.prototype.equals = function(obj)
Returns true if the given object equals this point.
mxRectangle.prototype.equals = function(obj)
Returns true if the given object equals this rectangle.
mxConnectionHandler.prototype.error
Holds the current validation error while connections are being created.
mxEdgeHandler.prototype.error
Holds the current validation error while a connection is being changed.
error: function(message,
width,
close,
icon)
Displays the given error message in a new mxWindow of the given width.
Defines the image used for error dialogs.
Specifies the resource key for the title of the error window.
mxGraph.prototype.escape = function(evt)
Processes an escape keystroke.
mxKeyHandler.prototype.escape = function(evt)
Hook to process ESCAPE keystrokes.
Fires when the escape key is pressed.
Specifies the event name for escape.
mxGraph.prototype.escapeEnabled
Specifies if mxKeyHandler should invoke escape when the escape key is pressed.
mxEditor.prototype.escapePostData
Specifies if the data in the post request for saving a diagram should be converted using encodeURIComponent.
eval: function(expr)
Evaluates the given expression using eval and returns the JavaScript object that represents the expression result.
mxStencil.prototype.evaluateAttribute = function(node,
attribute,
shape)
Gets the attribute for the given name from the given node.
mxStencil.prototype.evaluateTextAttribute = function(node,
attribute,
state)
Gets the given attribute as a text.
mxEventSource.prototype.eventListeners
Holds the event names and associated listeners in an array.
mxEventSource.prototype.eventsEnabled
Specifies if events can be fired.
mxEventSource.prototype.eventSource
Optional source for events.
mxMouseEvent.prototype.evt
Holds the inner event object.
mxObjectCodec.prototype.exclude
Array containing the variable names that should be ignored by the codec.
mxCellAttributeChange.prototype.execute = function()
Changes the attribute of the cell’s user object by using mxCell.setAttribute.
mxChildChange.prototype.execute = function()
Changes the parent of child using mxGraphModel.parentForCellChanged and removes or restores the cell’s connections.
mxCircleLayout.prototype.execute = function(parent)
Implements mxGraphLayout.execute.
mxCollapseChange.prototype.execute = function()
Changes the collapsed state of cell to previous using mxGraphModel.collapsedStateForCellChanged.
mxCompactTreeLayout.prototype.execute = function(parent,
root)
Implements mxGraphLayout.execute.
mxCompositeLayout.prototype.execute = function(parent)
Implements mxGraphLayout.execute by executing all layouts in a single transaction.
mxCoordinateAssignment.prototype.execute = function(parent)
A basic horizontal coordinate assignment algorithm
mxCurrentRootChange.prototype.execute = function()
Changes the current root of the view.
mxEdgeLabelLayout.prototype.execute = function(parent)
Implements mxGraphLayout.execute.
mxEditor.prototype.execute = function (actionname,
cell,
evt)
Executes the function with the given name in actions passing the editor instance and given cell as the first and second argument.
mxFastOrganicLayout.prototype.execute = function(parent)
Implements mxGraphLayout.execute.
mxGeometryChange.prototype.execute = function()
Changes the geometry of cell ro previous using mxGraphModel.geometryForCellChanged.
mxGraphLayout.prototype.execute = function(parent)
Executes the layout algorithm for the children of the given parent.
mxGraphModel.prototype.execute = function(change)
Executes the given edit and fires events if required.
mxHandle.prototype.execute = function()
Hook for subclassers to execute the handle.
mxHierarchicalLayout.prototype.execute = function(parent,
roots)
Executes the layout for the children of the specified parent.
mxHierarchicalLayoutStage.prototype.execute = function(parent)
Takes the graph detail and configuration information within the facade and creates the resulting laid out graph within that facade for further use.
mxMedianHybridCrossingReduction.prototype.execute = function(parent)
Performs a vertex ordering within ranks as described by Gansner et al 1993
mxMinimumCycleRemover.prototype.execute = function(parent)
Takes the graph detail and configuration information within the facade and creates the resulting laid out graph within that facade for further use.
mxParallelEdgeLayout.prototype.execute = function(parent)
Implements mxGraphLayout.execute.
mxPartitionLayout.prototype.execute = function(parent)
Implements mxGraphLayout.execute.
mxRadialTreeLayout.prototype.execute = function(parent,
root)
Implements mxGraphLayout.execute.
mxRootChange.prototype.execute = function()
Carries out a change of the root using mxGraphModel.rootChanged.
mxSelectionChange.prototype.execute = function()
Changes the current root of the view.
mxStackLayout.prototype.execute = function(parent)
Implements mxGraphLayout.execute.
mxStyleChange.prototype.execute = function()
Changes the style of cell to previous using mxGraphModel.styleForCellChanged.
mxSwimlaneLayout.prototype.execute = function(parent,
swimlanes)
Executes the layout for the children of the specified parent.
mxSwimlaneOrdering.prototype.execute = function(parent)
Takes the graph detail and configuration information within the facade and creates the resulting laid out graph within that facade for further use.
mxTerminalChange.prototype.execute = function()
Changes the terminal of cell to previous using mxGraphModel.terminalForCellChanged.
mxValueChange.prototype.execute = function()
Changes the value of cell to previous using mxGraphModel.valueForCellChanged.
mxVisibleChange.prototype.execute = function()
Changes the visible state of cell to previous using mxGraphModel.visibleStateForCellChanged.
Specifies the event name for execute.
Fires between begin- and endUpdate and after an atomic change was executed in the model.
Specifies the event name for executed.
Fires between START_EDIT and END_EDIT after an atomic change was executed.
Fires between START_EDIT and END_EDIT after an atomic change was executed.
mxLayoutManager.prototype.executeLayoutForCells = function(cells)
Executes the given layout on the given parent.
mxGraph.prototype.exitGroup = function()
Changes the current root to the next valid root in the displayed cell hierarchy.
mxGraph.prototype.expandedImage
Specifies the mxImage to indicate a expanded state.
mxGraph.prototype.exportEnabled
Specifies the return value for canExportCell.
extend: function(ctor,
superCtor)
Assigns a copy of the superclass prototype to the subclass prototype.
mxGraphHierarchyModel.prototype.extendedDfs = function(parent,
root,
connectingEdge,
visitor,
seen,
ancestors,
childHash,
layer)
Performs a depth first search on the internal hierarchy model.
mxSwimlaneModel.prototype.extendedDfs = function(parent,
root,
connectingEdge,
visitor,
seen,
ancestors,
childHash,
layer)
Performs a depth first search on the internal hierarchy model.
mxGraph.prototype.extendParent = function(cell)
Resizes the parents recursively so that they contain the complete area of the resized child cell.
mxGraph.prototype.extendParents
Specifies if a parent should contain the child bounds after a resize of the child.
mxGraph.prototype.extendParentsOnAdd
Specifies if parents should be extended according to the extendParents switch if cells are added.
Specifies the extension used for language files.
@@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/General6.html b/docs/js-api/index/General6.html index 0a4ef77aa..6c1d53530 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, mxEvent
 fireEvent, mxEventSource
 fireGestureEvent, mxGraph
 fireMouseEvent, mxGraph
 first, mxConnectionHandler
 fit
 fixRanks
 FLIP_EDGE
 flipEdge, mxGraph
 flipPoint, mxHandle
 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
 fontMetricsPadding, mxSvgCanvas2D
 forceConstant, mxFastOrganicLayout
 forceConstantSquared, mxFastOrganicLayout
 forcedInserting, mxEditor
 forceVmlHandles, mxOutline
 format
 fromRectangle, mxRectangle
 Functions
GlobalMedianCellSortermxAbstractCanvas2DmxActormxAnimationmxArrowmxArrowConnectormxAutoSaveManagermxCellmxCellAttributeChangemxCellCodecmxCellEditormxCellHighlightmxCellMarkermxCellOverlaymxCellPathmxCellRenderermxCellStatemxCellStatePreviewmxCellTrackermxChildChangemxChildChangeCodecmxCircleLayoutmxClientmxClipboardmxCloudmxCodecmxCodecRegistrymxCollapseChangemxCompactTreeLayoutmxCompositeLayoutmxConnectionConstraintmxConnectormxConstraintHandlermxCoordinateAssignmentmxCurrentRootChangemxCylindermxDefaultKeyHandlermxDefaultKeyHandlerCodecmxDefaultPopupMenumxDefaultPopupMenuCodecmxDefaultToolbarmxDefaultToolbarCodecmxDictionarymxDivResizermxDoubleEllipsemxDragSourcemxEdgeHandlermxEdgeLabelLayoutmxEdgeStylemxEditorCodecmxEffectsmxElbowEdgeHandlermxEllipsemxEventmxEventObjectmxEventSourcemxFastOrganicLayoutmxFormmxGenericChangeCodecmxGeometrymxGeometryChangemxGraphAbstractHierarchyCellmxGraphHandlermxGraphHierarchyEdgemxGraphHierarchyModelmxGraphHierarchyNodemxGraphLayoutmxGraphModelmxGraphSelectionModelmxGraphViewmxGraphViewCodecmxGuidemxHandlemxHexagonmxHierarchicalLayoutmxHierarchicalLayoutStagemxImagemxImageBundlemxImageExportmxImageShapemxKeyHandlermxLabelmxLayoutManagermxLinemxLogmxMarkermxMedianHybridCrossingReductionmxMinimumCycleRemovermxModelCodecmxMorphingmxMouseEventmxMultiplicitymxObjectCodecmxObjectIdentitymxOutlinemxPanningHandlermxParallelEdgeLayoutmxPartitionLayoutmxPerimetermxPointmxPolylinemxPopupMenumxPopupMenuHandlermxPrintPreviewmxRadialTreeLayoutmxRectanglemxRectangleShapemxResourcesmxRhombusmxRootChangemxRootChangeCodecmxRubberbandmxSelectionChangemxShapemxSpaceManagermxStackLayoutmxStencilmxStencilRegistrymxStyleChangemxStyleRegistrymxStylesheetmxStylesheetCodecmxSvgCanvas2DmxSwimlanemxSwimlaneLayoutmxSwimlaneManagermxSwimlaneModelmxSwimlaneOrderingmxTemporaryCellStatesmxTerminalChangemxTerminalChangeCodecmxTextmxToolbarmxTooltipHandlermxTrianglemxUndoableEditmxUndoManagermxUrlConvertermxUtilsmxValueChangemxVertexHandlermxVisibleChangemxVmlCanvas2DmxWindowmxXmlCanvas2DmxXmlRequestWeightedCellSorter
+
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, mxEvent
 fireEvent, mxEventSource
 fireGestureEvent, mxGraph
 fireMouseEvent, mxGraph
 first, mxConnectionHandler
 fit
 fixRanks
 FLIP_EDGE
 flipEdge, mxGraph
 flipPoint, mxHandle
 foAltText, mxSvgCanvas2D
 focusLost, mxCellEditor
 foEnabled, mxSvgCanvas2D
 FOLD_CELLS
 foldCells, mxGraph
 Folding, mxGraph
 foldingEnabled, mxGraph
 FONT_BOLD, mxConstants
 FONT_ITALIC, mxConstants
 FONT_UNDERLINE, mxConstants
 fontMetricsPadding, mxSvgCanvas2D
 forceConstant, mxFastOrganicLayout
 forceConstantSquared, mxFastOrganicLayout
 forcedInserting, mxEditor
 forceVmlHandles, mxOutline
 format
 fromRectangle, mxRectangle
 Functions
GlobalMedianCellSortermxAbstractCanvas2DmxActormxAnimationmxArrowmxArrowConnectormxAutoSaveManagermxCellmxCellAttributeChangemxCellCodecmxCellEditormxCellHighlightmxCellMarkermxCellOverlaymxCellPathmxCellRenderermxCellStatemxCellStatePreviewmxCellTrackermxChildChangemxChildChangeCodecmxCircleLayoutmxClientmxClipboardmxCloudmxCodecmxCodecRegistrymxCollapseChangemxCompactTreeLayoutmxCompositeLayoutmxConnectionConstraintmxConnectormxConstraintHandlermxCoordinateAssignmentmxCurrentRootChangemxCylindermxDefaultKeyHandlermxDefaultKeyHandlerCodecmxDefaultPopupMenumxDefaultPopupMenuCodecmxDefaultToolbarmxDefaultToolbarCodecmxDictionarymxDivResizermxDoubleEllipsemxDragSourcemxEdgeHandlermxEdgeLabelLayoutmxEdgeStylemxEditorCodecmxEffectsmxElbowEdgeHandlermxEllipsemxEventmxEventObjectmxEventSourcemxFastOrganicLayoutmxFormmxGenericChangeCodecmxGeometrymxGeometryChangemxGraphAbstractHierarchyCellmxGraphHandlermxGraphHierarchyEdgemxGraphHierarchyModelmxGraphHierarchyNodemxGraphLayoutmxGraphModelmxGraphSelectionModelmxGraphViewmxGraphViewCodecmxGuidemxHandlemxHexagonmxHierarchicalLayoutmxHierarchicalLayoutStagemxImagemxImageBundlemxImageExportmxImageShapemxKeyHandlermxLabelmxLayoutManagermxLinemxLogmxMarkermxMedianHybridCrossingReductionmxMinimumCycleRemovermxModelCodecmxMorphingmxMouseEventmxMultiplicitymxObjectCodecmxObjectIdentitymxOutlinemxPanningHandlermxParallelEdgeLayoutmxPartitionLayoutmxPerimetermxPointmxPolylinemxPopupMenumxPopupMenuHandlermxPrintPreviewmxRadialTreeLayoutmxRectanglemxRectangleShapemxResourcesmxRhombusmxRootChangemxRootChangeCodecmxRubberbandmxSelectionChangemxShapemxStackLayoutmxStencilmxStencilRegistrymxStyleChangemxStyleRegistrymxStylesheetmxStylesheetCodecmxSvgCanvas2DmxSwimlanemxSwimlaneLayoutmxSwimlaneManagermxSwimlaneModelmxSwimlaneOrderingmxTemporaryCellStatesmxTerminalChangemxTerminalChangeCodecmxTextmxToolbarmxTooltipHandlermxTrianglemxUndoableEditmxUndoManagermxUrlConvertermxUtilsmxValueChangemxVertexHandlermxVisibleChangemxVmlCanvas2DmxWindowmxXmlCanvas2DmxXmlRequestWeightedCellSorter
-
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.
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.
mxHandle.prototype.flipPoint = function(pt)
Flips the given point vertically and/or horizontally.
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.
mxSvgCanvas2D.prototype.fontMetricsPadding
Padding to be added for text that is not wrapped to account for differences in font metrics on different platforms in pixels.
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.
mxSvgCanvas2D.prototype.format = function(value)
Rounds all numbers to 2 decimal points.
mxXmlCanvas2D.prototype.format = function(value)
Returns a formatted number with 2 decimal places.
mxRectangle.fromRectangle = function(rect)
Returns a new mxRectangle which is a copy of the given rectangle.
+
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.
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.
mxHandle.prototype.flipPoint = function(pt)
Flips the given point vertically and/or horizontally.
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,
evt)
Sets the collapsed state of the specified cells and all descendants if recurse is true.
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 underlined fonts.
mxSvgCanvas2D.prototype.fontMetricsPadding
Padding to be added for text that is not wrapped to account for differences in font metrics on different platforms in pixels.
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.
mxSvgCanvas2D.prototype.format = function(value)
Rounds all numbers to 2 decimal points.
mxXmlCanvas2D.prototype.format = function(value)
Returns a formatted number with 2 decimal places.
mxRectangle.fromRectangle = function(rect)
Returns a new mxRectangle which is a copy of the given rectangle.
@@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/General7.html b/docs/js-api/index/General7.html index a98225ac5..e8f7dae7c 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, mxEvent
 getAlignmentAsPoint, mxUtils
 getAlignmentTolerance, mxConnectionHandler
 getAllConnectionConstraints, mxGraph
 getAllEdges, mxGraph
 getAlternateContent, mxSvgCanvas2D
 getAppendices, mxPrintPreview
 getArcSize
 getAttribute, mxCell
 getAttributeName, mxObjectCodec
 getAutoDirection, mxText
 getBackgroundImage, mxGraph
 getBackgroundPageBounds, mxGraphView
 getBackgroundPane, mxGraphView
 getBaseDomain, mxUrlConverter
 getBaseUrl
 getBorder, mxGraph
 getBorderSizes, mxGraph
 getBoundingBox
 getBoundingBoxFromGeometry, mxGraph
 getBounds
 getBoundsForGroup, mxGraph
 getCanvas, mxGraphView
 getCell
 getCellAt
 getCellBounds
 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
 getCurrentHtmlValue, mxCellEditor
 getCurrentPoints
 getCurrentRoot, mxGraph
 getCurrentStrokeWidth, mxSvgCanvas2D
 getCurrentStyle, mxUtils
 getCurrentValue, mxCellEditor
 getCursor, mxShape
 getCursorForBend, mxElbowEdgeHandler
 getCursorForCell, mxGraph
 getCursorForMouseEvent, mxGraph
 getDecoratorPane, mxGraphView
 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
 getEditingCell, mxCellEditor
 getEditingValue, mxGraph
 getEditorBounds, mxCellEditor
 getElement, mxWindow
 getElementById, mxCodec
 getEmptyBounds, mxGraphView
 getEmptyLabelText, mxCellEditor
 getEndArrowWidth, mxArrowConnector
 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
 getLinkForCellState, mxImageExport
 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
 getOutlineConstraint, mxGraph
 getOutlineOffset, mxOutline
 getOverlap, mxGraph
 getOverlayPane, mxGraphView
 getPaintBounds, mxCellState
 getParent
 getParentOffset, mxGraphLayout
 getParentPath, mxCellPath
 getParents, mxGraphModel
 getParentSize, mxStackLayout
 getPerimeterBounds
 getPerimeterFunction, mxGraphView
 getPerimeterPoint, mxGraphView
 getPoint
 getPointForEvent
 getPosition, mxHandle
 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
 getStartArrowWidth, mxArrowConnector
 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
 getTopmostCells, mxGraphModel
 getTotalRotation, mxHandle
 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
 groupPaddingBottom, mxCompactTreeLayout
 groupPaddingLeft, mxCompactTreeLayout
 groupPaddingRight, mxCompactTreeLayout
 groupPaddingTop, mxCompactTreeLayout
 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, mxEvent
 getAlignmentAsPoint, mxUtils
 getAlignmentTolerance, mxConnectionHandler
 getAllConnectionConstraints, mxGraph
 getAllEdges, mxGraph
 getAlternateContent, mxSvgCanvas2D
 getAppendices, mxPrintPreview
 getArcSize
 getAttribute, mxCell
 getAttributeName, mxObjectCodec
 getAutoDirection, mxText
 getBackgroundImage, mxGraph
 getBackgroundPageBounds, mxGraphView
 getBackgroundPane, mxGraphView
 getBaseDomain, mxUrlConverter
 getBaseUrl
 getBorder, mxGraph
 getBorderSizes, mxGraph
 getBoundingBox
 getBoundingBoxFromGeometry, mxGraph
 getBounds
 getBoundsForGroup, mxGraph
 getCanvas, mxGraphView
 getCell
 getCellAt
 getCellBounds
 getCellContainmentArea, mxGraph
 getCellForPopupEvent, mxPopupMenuHandler
 getCellGeometry, mxGraph
 getCellOverlays, mxGraph
 getCells
 getCellsBeyond, mxGraph
 getCellsForChange, mxLayoutManager
 getCellsForEdit, mxLayoutManager
 getCellsForGroup, mxGraph
 getCellStates, mxGraphView
 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
 getCurrentHtmlValue, mxCellEditor
 getCurrentPoints
 getCurrentRoot, mxGraph
 getCurrentStrokeWidth, mxSvgCanvas2D
 getCurrentStyle, mxUtils
 getCurrentValue, mxCellEditor
 getCursor, mxShape
 getCursorForBend, mxElbowEdgeHandler
 getCursorForCell, mxGraph
 getCursorForMouseEvent, mxGraph
 getDecoratorPane, mxGraphView
 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
 getEditingCell, mxCellEditor
 getEditingValue, mxGraph
 getEditorBounds, mxCellEditor
 getElement, mxWindow
 getElementById, mxCodec
 getEmptyBounds, mxGraphView
 getEmptyLabelText, mxCellEditor
 getEndArrowWidth, mxArrowConnector
 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
 getLinkForCellState, mxImageExport
 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
 getOutlineConstraint, mxGraph
 getOutlineOffset, mxOutline
 getOverlap, mxGraph
 getOverlayPane, mxGraphView
 getPaintBounds, mxCellState
 getParent
 getParentOffset, mxGraphLayout
 getParentPath, mxCellPath
 getParents, mxGraphModel
 getParentSize, mxStackLayout
 getPerimeterBounds
 getPerimeterFunction, mxGraphView
 getPerimeterPoint, mxGraphView
 getPoint
 getPointForEvent
 getPosition, mxHandle
 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
 getStartArrowWidth, mxArrowConnector
 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
 getTopmostCells, mxGraphModel
 getTotalRotation, mxHandle
 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
 groupPaddingBottom, mxCompactTreeLayout
 groupPaddingLeft, mxCompactTreeLayout
 groupPaddingRight, mxCompactTreeLayout
 groupPaddingTop, mxCompactTreeLayout
 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.
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.
getAlignmentAsPoint: function(align,
valign)
Returns an mxPoint that represents the horizontal and vertical alignment for numeric computations.
mxConnectionHandler.prototype.getAlignmentTolerance = function(evt)
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.
mxText.prototype.getAutoDirection = function()
Used to determine the automatic text direction.
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.
mxSvgCanvas2D.prototype.getBaseUrl = function()
Returns the URL of the page without the hash part.
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 union of the mxCellStates for the given array of mxCells.
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,
cx)
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 union of all mxCellStates 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 overlay- and decoratorpanes.
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.
mxConnectionHandler.prototype.getCellAt = function(x,
y)
Creates and returns the mxCellMarker used in marker.
mxEdgeHandler.prototype.getCellAt = function(x,
y)
Creates and returns the mxCellMarker used in marker.
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.
mxCellState.prototype.getCellBounds = function ()
Returns the unscaled, untranslated bounds.
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 child vertices and edges of the given parent that are contained in the given rectangle.
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.
mxCellEditor.prototype.getCurrentHtmlValue = function()
Returns the current value as HTML to measure the text size.
mxEdgeSegmentHandler.prototype.getCurrentPoints = function()
Returns the current absolute points.
mxGraph.prototype.getCurrentRoot = function()
Returns the current root of the displayed cell hierarchy.
mxSvgCanvas2D.prototype.getCurrentStrokeWidth = function()
Returns the current stroke width (>= 1), ie.
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.
mxGraphView.prototype.getDecoratorPane = function()
Returns the DOM node that represents the topmost drawing layer.
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,
evt)
Returns the drop target for the given graph and coordinates.
mxGraph.prototype.getDropTarget = function(cells,
evt,
cell,
clone)
Returns the given cell if it is a drop target for the given cells or the nearest ancestor that may be used as a drop target for the given cells.
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.
mxArrowConnector.prototype.getEdgeWidth = function()
Returns the width of the body of the edge
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.
mxGraphView.prototype.getEmptyBounds = function()
Returns the bounds for an empty graph.
mxCellEditor.prototype.getEmptyLabelText = function (cell)
Returns the initial label value to be used of the label of the given cell is empty.
mxArrowConnector.prototype.getEndArrowWidth = function()
Returns the width of the end arrow
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.
mxDoubleEllipse.prototype.getLabelBounds = function(rect)
Returns the bounds for the label.
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.
mxImageExport.prototype.getLinkForCellState = function(state,
canvas)
Returns the link for the given cell state and canvas.
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.
mxGraph.prototype.getOutlineConstraint = function(point,
terminalState,
me)
Returns the constraint used to connect to the outline of the given state.
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 layer above the drawing layer.
mxCellState.prototype.getPaintBounds = function ()
Returns the unscaled, untranslated paint bounds.
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.
mxHandle.prototype.getPosition = function(bounds)
Hook for subclassers to return the current position of the handle.
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(pt,
me)
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.
mxHandle.prototype.getRotation = function()
Returns the rotation defined in the style of the cell.
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.
mxArrowConnector.prototype.getStartArrowWidth = function()
Returns the width of the start arrow
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(me)
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.
mxEdgeSegmentHandler.prototype.getTooltipForNode = function(node)
Returns no tooltips.
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.
mxHandle.prototype.getTotalRotation = function()
Returns the rotation from the style and the rotation from the direction of the cell.
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
mxCompactTreeLayout.prototype.groupPaddingBottom
Bottom padding added to resized parents.
mxCompactTreeLayout.prototype.groupPaddingLeft
Left padding added to resized parents.
mxCompactTreeLayout.prototype.groupPaddingRight
Right padding added to resized parents.
mxCompactTreeLayout.prototype.groupPaddingTop
Top 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.
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.
getAlignmentAsPoint: function(align,
valign)
Returns an mxPoint that represents the horizontal and vertical alignment for numeric computations.
mxConnectionHandler.prototype.getAlignmentTolerance = function(evt)
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.
mxText.prototype.getAutoDirection = function()
Used to determine the automatic text direction.
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.
mxSvgCanvas2D.prototype.getBaseUrl = function()
Returns the URL of the page without the hash part.
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 union of the mxCellStates for the given array of mxCells.
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,
cx)
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 union of all mxCellStates 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 overlay- and decoratorpanes.
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.
mxConnectionHandler.prototype.getCellAt = function(x,
y)
Creates and returns the mxCellMarker used in marker.
mxEdgeHandler.prototype.getCellAt = function(x,
y)
Creates and returns the mxCellMarker used in marker.
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.
mxCellState.prototype.getCellBounds = function ()
Returns the unscaled, untranslated bounds.
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 child vertices and edges of the given parent that are contained in the given rectangle.
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 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.
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.
mxCellEditor.prototype.getCurrentHtmlValue = function()
Returns the current value as HTML to measure the text size.
mxEdgeSegmentHandler.prototype.getCurrentPoints = function()
Returns the current absolute points.
mxGraph.prototype.getCurrentRoot = function()
Returns the current root of the displayed cell hierarchy.
mxSvgCanvas2D.prototype.getCurrentStrokeWidth = function()
Returns the current stroke width (>= 1), ie.
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.
mxGraphView.prototype.getDecoratorPane = function()
Returns the DOM node that represents the topmost drawing layer.
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,
evt)
Returns the drop target for the given graph and coordinates.
mxGraph.prototype.getDropTarget = function(cells,
evt,
cell,
clone)
Returns the given cell if it is a drop target for the given cells or the nearest ancestor that may be used as a drop target for the given cells.
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.
mxArrowConnector.prototype.getEdgeWidth = function()
Returns the width of the body of the edge
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.
mxGraphView.prototype.getEmptyBounds = function()
Returns the bounds for an empty graph.
mxCellEditor.prototype.getEmptyLabelText = function (cell)
Returns the initial label value to be used of the label of the given cell is empty.
mxArrowConnector.prototype.getEndArrowWidth = function()
Returns the width of the end arrow
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.
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.
mxDoubleEllipse.prototype.getLabelBounds = function(rect)
Returns the bounds for the label.
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.
mxImageExport.prototype.getLinkForCellState = function(state,
canvas)
Returns the link for the given cell state and canvas.
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.
mxGraph.prototype.getOutlineConstraint = function(point,
terminalState,
me)
Returns the constraint used to connect to the outline of the given state.
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 layer above the drawing layer.
mxCellState.prototype.getPaintBounds = function ()
Returns the unscaled, untranslated paint bounds.
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.
mxHandle.prototype.getPosition = function(bounds)
Hook for subclassers to return the current position of the handle.
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(pt,
me)
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.
mxHandle.prototype.getRotation = function()
Returns the rotation defined in the style of the cell.
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.
mxArrowConnector.prototype.getStartArrowWidth = function()
Returns the width of the start arrow
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(me)
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.
mxEdgeSegmentHandler.prototype.getTooltipForNode = function(node)
Returns no tooltips.
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.
mxHandle.prototype.getTotalRotation = function()
Returns the rotation from the style and the rotation from the direction of the cell.
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.
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
mxCompactTreeLayout.prototype.groupPaddingBottom
Bottom padding added to resized parents.
mxCompactTreeLayout.prototype.groupPaddingLeft
Left padding added to resized parents.
mxCompactTreeLayout.prototype.groupPaddingRight
Right padding added to resized parents.
mxCompactTreeLayout.prototype.groupPaddingTop
Top 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.
@@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/General8.html b/docs/js-api/index/General8.html index 07f78133f..88ed45954 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
 HexagonPerimeter, mxPerimeter
 hide
 HIDE
 hideHandles
 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
 horizontalOffset, mxVertexHandler
 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
 HexagonPerimeter, mxPerimeter
 hide
 HIDE
 hideHandles
 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
 horizontalOffset, mxVertexHandler
 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.
HexagonPerimeter: function (bounds,
vertex,
next,
orthogonal)
Describes a hexagon perimeter.
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.
Shortcut to hideSizers.
Shortcut to hideSizers.
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)
mxVertexHandler.prototype.horizontalOffset
The horizontal offset for the handles.
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.
HexagonPerimeter: function (bounds,
vertex,
next,
orthogonal)
Describes a hexagon perimeter.
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.
Shortcut to hideSizers.
Shortcut to hideSizers.
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)
mxVertexHandler.prototype.horizontalOffset
The horizontal offset for the handles.
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.
@@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/General9.html b/docs/js-api/index/General9.html index 0bf7671dc..98cff05e2 100644 --- a/docs/js-api/index/General9.html +++ b/docs/js-api/index/General9.html @@ -11,9 +11,9 @@ if (browserType) {document.write("
");if (browserV -
Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
I
 id
 idrefs, mxObjectCodec
 ids, mxGraphHierarchyEdge
 ignoreCell, mxPanningHandler
 ignoreClippedStringSize, mxText
 ignoredChanges, mxAutoSaveManager
 ignoreMouseDown, mxConnectionHandler
 ignoreScrollbars, mxGraph
 ignoreStringSize, mxText
 ignoreTouchEvents, mxTooltipHandler
 image
 imageBasePath
 imageBundles, mxGraph
 images, mxImageBundle
 imageSize
 importCells, mxGraph
 importEnabled, mxGraph
 importNode, mxUtils
 In-place editing, mxGraph
 include, mxClient
 includeOverlays, mxImageExport
 index, mxVertexHandler
 indexOf, mxUtils
 indexOfNextAdd, mxUndoManager
 indexOfStylename, mxUtils
 indicatorSize, mxLabel
 indicatorSpacing, mxLabel
 indices, mxFastOrganicLayout
 info, mxLog
 init
 initBend, mxEdgeHandler
 initControl, mxCellRenderer
 initialCoords, mxCoordinateAssignment
 initializeLabel, mxCellRenderer
 initializeOverlay, mxCellRenderer
 initializeShape, mxCellRenderer
 initialRank
 initialTemp, mxFastOrganicLayout
 initialTouchX, mxGraph
 initialTouchY, mxGraph
 initialX, mxCoordinateAssignment
 initShape, mxHandle
 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_EM, mxClient
 IS_FF, mxClient
 IS_GC, mxClient
 IS_IE, mxClient
 IS_IE11, mxClient
 IS_IE6, mxClient
 IS_IOS, mxClient
 IS_LOCAL, mxClient
 IS_MAC, mxClient
 IS_MT, mxClient
 IS_NS, mxClient
 IS_OP, mxClient
 IS_OT, mxClient
 IS_POINTER, mxClient
 IS_QUIRKS, mxClient
 IS_SF, mxClient
 IS_SVG, mxClient
 IS_TOUCH, mxClient
 IS_VML, mxClient
 IS_WIN, mxClient
 isActive
 isAddEnabled, mxSwimlaneManager
 isAddPointEvent, mxEdgeHandler
 isAddVirtualBendEvent, mxEdgeHandler
 isAllowDanglingEdges, mxGraph
 isAllowEval, mxGraphView
 isAllowLoops, mxGraph
 isAllowOverlapParent, mxGraph
 isAltDown, mxEvent
 isAncestor
 isAncestorNode, mxUtils
 isArrowRounded, mxArrowConnector
 isAutoSizeCell, mxGraph
 isAutoSizeCells, mxGraph
 isBinary, mxXmlRequest
 isBooleanAttribute, mxObjectCodec
 isBrowserSupported, mxClient
 isBubbling, mxLayoutManager
 isCellBendable, mxGraph
 isCellCloneable, mxGraph
 isCellCodec
 isCellCollapsed
 isCellConnectable, mxGraph
 isCellDeletable, mxGraph
 isCellDisconnectable, mxGraph
 isCellEditable, mxGraph
 isCellFoldable, mxGraph
 isCellHorizontal, mxSwimlaneManager
 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
 isCustomHandleEvent
 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
 isHtmlRequired, mxHandle
 isImmediateConnectSource, mxConnectionHandler
 isInvokesStopCellEditing, mxGraph
 isKeepFocusEvent, mxConstraintHandler
 isLabelClipped, mxGraph
 isLabelEvent, mxCellRenderer
 isLabelMovable, mxGraph
 isLanguageSupported, mxResources
 isLayer, mxGraphModel
 isLeftMouseButton, mxEvent
 isLivePreviewBorder, mxVertexHandler
 isLoop, mxGraph
 isMarkerEnd, mxArrowConnector
 isMarkerStart, mxArrowConnector
 isMenuShowing, mxPopupMenu
 isMetaDown, mxEvent
 isMiddleMouseButton, mxEvent
 isModified
 isMouseDown, mxGraph
 isMouseEvent, mxEvent
 isMoveable, mxFastOrganicLayout
 isMoveEnabled, mxGraphHandler
 isMoveIconToFrontForState, mxConnectionHandler
 isMultigraph, mxGraph
 isMultiTouchEvent, mxEvent
 isNaN, mxUtils
 isNode, mxUtils
 isNumeric, mxUtils
 isNumericAttribute, mxObjectCodec
 isOpenEnded, mxArrowConnector
 isOrthogonal, mxGraph
 isOutlineConnectEvent
 isPaintBoundsInverted
 isPanningEnabled, mxPanningHandler
 isPanningTrigger, mxPanningHandler
 isParseVml
 isPinchEnabled, mxPanningHandler
 isPopupTrigger
 isPort
 isPortsEnabled, mxGraph
 isPropertiesVisible, mxEditor
 isReady, mxXmlRequest
 isRecursiveResize, mxGraph
 isReference
 isRelativeUrl, mxUrlConverter
 isRemoveCellsFromParent, mxGraphHandler
 isRemovePointEvent, mxEdgeHandler
 isRendering, mxGraphView
 isResizable, mxWindow
 isResizeContainer, mxGraph
 isResizeEnabled, mxSwimlaneManager
 isReversed, mxGraphHierarchyEdge
 isRightMouseButton, mxEvent
 isRoot, mxGraphModel
 isRotationHandleVisible, mxVertexHandler
 isRunning, mxAnimation
 isScrollEvent, mxGraphView
 isSelected, mxGraphSelectionModel
 isSelectEnabled, mxGraphHandler
 isSelectionDashed
 isSelectionEmpty, mxGraph
 isSelectOnPopup, mxPopupMenuHandler
 isSelectText, mxCellEditor
 isShapeEvent, mxCellRenderer
 isShiftDown, mxEvent
 isShiftDownwards, mxSpaceManager
 isShiftRightwards, mxSpaceManager
 isSignificant, mxUndoableEdit
 isSingleSelection, mxGraphSelectionModel
 isSizerVisible, mxVertexHandler
 isSnapToTerminalsEvent, mxEdgeHandler
 isSource, mxMouseEvent
 isSplitEnabled, mxGraph
 isSplitTarget, mxGraph
 isStartEvent, mxConnectionHandler
 isStateIgnored, mxConstraintHandler
 isStopEditingEvent, mxCellEditor
 isStopEvent, mxConnectionHandler
 isSwimlane, mxGraph
 isSwimlaneIgnored, mxSwimlaneManager
 isSwimlaneNesting, mxGraph
 isSwimlaneSelectionEnabled, mxGraph
 isSyntheticEventIgnored, mxGraph
 isTerminalPointMovable, mxGraph
 isToggleEvent, mxGraph
 isTouchEvent, mxEvent
 isValidAncestor, mxGraph
 isValidConnection, mxGraph
 isValidDropTarget, mxGraph
 isValidRoot, mxGraph
 isValidSource
 isValidState, mxCellMarker
 isValidTarget
 isVertex
 isVertexIgnored
 isVertexLabelsMovable, mxGraph
 isVertexMovable, mxGraphLayout
 isVirtualBendsEnabled, mxEdgeHandler
 isVisible
 isVml, mxUtils
 isWrapping, mxGraph
 itemCount, mxPopupMenu
 iteration, mxFastOrganicLayout
 iterationsWithoutImprovement, mxMedianHybridCrossingReduction
+
Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
I
 id
 idrefs, mxObjectCodec
 ids, mxGraphHierarchyEdge
 ignoreCell, mxPanningHandler
 ignoreClippedStringSize, mxText
 ignoredChanges, mxAutoSaveManager
 ignoreMouseDown, mxConnectionHandler
 ignoreScrollbars, mxGraph
 ignoreStringSize, mxText
 ignoreTouchEvents, mxTooltipHandler
 image
 imageBasePath
 imageBundles, mxGraph
 images, mxImageBundle
 imageSize
 importCells, mxGraph
 importEnabled, mxGraph
 importNode, mxUtils
 In-place editing, mxGraph
 include, mxClient
 includeOverlays, mxImageExport
 index, mxVertexHandler
 indexOf, mxUtils
 indexOfNextAdd, mxUndoManager
 indexOfStylename, mxUtils
 indicatorSize, mxLabel
 indicatorSpacing, mxLabel
 indices, mxFastOrganicLayout
 info, mxLog
 init
 initBend, mxEdgeHandler
 initControl, mxCellRenderer
 initialCoords, mxCoordinateAssignment
 initializeLabel, mxCellRenderer
 initializeOverlay, mxCellRenderer
 initializeShape, mxCellRenderer
 initialRank
 initialTemp, mxFastOrganicLayout
 initialTouchX, mxGraph
 initialTouchY, mxGraph
 initialX, mxCoordinateAssignment
 initShape, mxHandle
 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_EM, mxClient
 IS_FF, mxClient
 IS_GC, mxClient
 IS_IE, mxClient
 IS_IE11, mxClient
 IS_IE6, mxClient
 IS_IOS, mxClient
 IS_LOCAL, mxClient
 IS_MAC, mxClient
 IS_MT, mxClient
 IS_NS, mxClient
 IS_OP, mxClient
 IS_OT, mxClient
 IS_POINTER, mxClient
 IS_QUIRKS, mxClient
 IS_SF, mxClient
 IS_SVG, mxClient
 IS_TOUCH, mxClient
 IS_VML, mxClient
 IS_WIN, mxClient
 isActive
 isAddEnabled, mxSwimlaneManager
 isAddPointEvent, mxEdgeHandler
 isAddVirtualBendEvent, mxEdgeHandler
 isAllowDanglingEdges, mxGraph
 isAllowEval, mxGraphView
 isAllowLoops, mxGraph
 isAllowOverlapParent, mxGraph
 isAltDown, mxEvent
 isAncestor
 isAncestorNode, mxUtils
 isArrowRounded, mxArrowConnector
 isAutoSizeCell, mxGraph
 isAutoSizeCells, mxGraph
 isBinary, mxXmlRequest
 isBooleanAttribute, mxObjectCodec
 isBrowserSupported, mxClient
 isBubbling, mxLayoutManager
 isCellBendable, mxGraph
 isCellCloneable, mxGraph
 isCellCodec
 isCellCollapsed
 isCellConnectable, mxGraph
 isCellDeletable, mxGraph
 isCellDisconnectable, mxGraph
 isCellEditable, mxGraph
 isCellFoldable, mxGraph
 isCellHorizontal, mxSwimlaneManager
 isCellLocked, mxGraph
 isCellMovable, mxGraph
 isCellResizable, mxGraph
 isCellRotatable, mxGraph
 isCellsBendable, mxGraph
 isCellsCloneable, mxGraph
 isCellsDeletable, mxGraph
 isCellsDisconnectable, mxGraph
 isCellsEditable, mxGraph
 isCellSelectable, mxGraph
 isCellSelected, mxGraph
 isCellsLocked, mxGraph
 isCellsMovable, mxGraph
 isCellsResizable, mxGraph
 isCellsSelectable, mxGraph
 isCellVisible, mxGraph
 isCloneEnabled, mxGraphHandler
 isCloneEvent, mxGraph
 isCloneInvalidEdges, mxGraph
 isCollapsed
 isConnectable
 isConnectableCell
 isConnectableEdges, mxGraph
 isConnecting, mxConnectionHandler
 isConstrainChild, mxGraph
 isConstrainChildren, mxGraph
 isConstrainChildrenOnResize, mxGraph
 isConstrainedEvent
 isConsumed
 isContainerEvent, mxGraphView
 isControlDown
 isCreateIds, mxGraphModel
 isCreateTarget, mxConnectionHandler
 isCustomHandleEvent
 isDelayedSelection, mxGraphHandler
 isDisconnectOnMove, mxGraph
 isDropEnabled, mxGraph
 isEdge
 isEdgeIgnored, mxGraphLayout
 isEdgeLabelsMovable, mxGraph
 isEdgeValid, mxGraph
 isEditing, mxGraph
 isEmpty
 isEnabled
 isEnabledForEvent, mxGuide
 isEnterStopsCellEditing, mxGraph
 isEscapeEnabled, mxGraph
 isEventIgnored
 isEventsEnabled, mxEventSource
 isEventSource, mxCellEditor
 isEventSourceIgnored, mxGraph
 isExcluded
 isExtendParent, mxGraph
 isExtendParents, mxGraph
 isExtendParentsOnAdd, mxGraph
 isExtendParentsOnMove, mxGraph
 isForcePanningEvent, mxPanningHandler
 isForceRubberbandEvent, mxRubberband
 isGraphEvent, mxKeyHandler
 isGridEnabled
 isGridEnabledEvent, mxGraph
 isGuidesEnabled, mxDragSource
 isHandleEnabled, mxEdgeHandler
 isHandleVisible, mxEdgeHandler
 isHideLabel, mxCellEditor
 isHideOnHover, mxTooltipHandler
 isHorizontal
 isHotspotEnabled, mxCellMarker
 isHtmlAllowed
 isHtmlLabel, mxGraph
 isHtmlLabels, mxGraph
 isHtmlRequired, mxHandle
 isImmediateConnectSource, mxConnectionHandler
 isInvokesStopCellEditing, mxGraph
 isKeepFocusEvent, mxConstraintHandler
 isLabelClipped, mxGraph
 isLabelEvent, mxCellRenderer
 isLabelMovable, mxGraph
 isLanguageSupported, mxResources
 isLayer, mxGraphModel
 isLeftMouseButton, mxEvent
 isLivePreviewBorder, mxVertexHandler
 isLoop, mxGraph
 isMarkerEnd, mxArrowConnector
 isMarkerStart, mxArrowConnector
 isMenuShowing, mxPopupMenu
 isMetaDown, mxEvent
 isMiddleMouseButton, mxEvent
 isModified
 isMouseDown, mxGraph
 isMouseEvent, mxEvent
 isMoveable, mxFastOrganicLayout
 isMoveEnabled, mxGraphHandler
 isMoveIconToFrontForState, mxConnectionHandler
 isMultigraph, mxGraph
 isMultiTouchEvent, mxEvent
 isNaN, mxUtils
 isNode, mxUtils
 isNumeric, mxUtils
 isNumericAttribute, mxObjectCodec
 isOpenEnded, mxArrowConnector
 isOrthogonal, mxGraph
 isOutlineConnectEvent
 isPaintBoundsInverted
 isPanningEnabled, mxPanningHandler
 isPanningTrigger, mxPanningHandler
 isParseVml
 isPinchEnabled, mxPanningHandler
 isPopupTrigger
 isPort
 isPortsEnabled, mxGraph
 isPropertiesVisible, mxEditor
 isReady, mxXmlRequest
 isRecursiveResize, mxGraph
 isReference
 isRelativeUrl, mxUrlConverter
 isRemoveCellsFromParent, mxGraphHandler
 isRemovePointEvent, mxEdgeHandler
 isRendering, mxGraphView
 isResizable, mxWindow
 isResizeContainer, mxGraph
 isResizeEnabled, mxSwimlaneManager
 isReversed, mxGraphHierarchyEdge
 isRightMouseButton, mxEvent
 isRoot, mxGraphModel
 isRotationHandleVisible, mxVertexHandler
 isRunning, mxAnimation
 isScrollEvent, mxGraphView
 isSelected, mxGraphSelectionModel
 isSelectEnabled, mxGraphHandler
 isSelectionDashed
 isSelectionEmpty, mxGraph
 isSelectOnPopup, mxPopupMenuHandler
 isSelectText, mxCellEditor
 isShapeEvent, mxCellRenderer
 isShiftDown, mxEvent
 isSignificant, mxUndoableEdit
 isSingleSelection, mxGraphSelectionModel
 isSizerVisible, mxVertexHandler
 isSnapToTerminalsEvent, mxEdgeHandler
 isSource, mxMouseEvent
 isSplitEnabled, mxGraph
 isSplitTarget, mxGraph
 isStartEvent, mxConnectionHandler
 isStateIgnored, mxConstraintHandler
 isStopEditingEvent, mxCellEditor
 isStopEvent, mxConnectionHandler
 isSwimlane, mxGraph
 isSwimlaneIgnored, mxSwimlaneManager
 isSwimlaneNesting, mxGraph
 isSwimlaneSelectionEnabled, mxGraph
 isSyntheticEventIgnored, mxGraph
 isTerminalPointMovable, mxGraph
 isToggleEvent, mxGraph
 isTouchEvent, mxEvent
 isValidAncestor, mxGraph
 isValidConnection, mxGraph
 isValidDropTarget, mxGraph
 isValidRoot, mxGraph
 isValidSource
 isValidState, mxCellMarker
 isValidTarget
 isVertex
 isVertexIgnored
 isVertexLabelsMovable, mxGraph
 isVertexMovable, mxGraphLayout
 isVirtualBendsEnabled, mxEdgeHandler
 isVisible
 isVml, mxUtils
 isWrapping, mxGraph
 itemCount, mxPopupMenu
 iteration, mxFastOrganicLayout
 iterationsWithoutImprovement, mxMedianHybridCrossingReduction
-
mxCell.prototype.id
Holds the Id.
mxGraphHierarchyNode.prototype.id
The object identity of the wrapped cell
mxObjectCodec.prototype.idrefs
Array containing the variable names that should be turned into or converted from references.
mxGraphHierarchyEdge.prototype.ids
The object identities of the wrapped cells
mxPanningHandler.prototype.ignoreCell
Specifies if panning should be active even if there is a cell under the mousepointer.
mxText.prototype.ignoreClippedStringSize
Specifies if the string size should be measured in updateBoundingBox if the label is clipped and the label position is center and middle.
mxAutoSaveManager.prototype.ignoredChanges
Counter for ignored changes in autosave.
mxConnectionHandler.prototype.ignoreMouseDown
Specifies if the connection handler should ignore the state of the mouse button when highlighting the source.
mxGraph.prototype.ignoreScrollbars
Specifies if the graph should automatically scroll regardless of the scrollbars.
mxText.prototype.ignoreStringSize
Specifies if the actual string size should be measured.
mxTooltipHandler.prototype.ignoreTouchEvents
Specifies if touch and pen events should be ignored.
mxCellOverlay.prototype.image
Holds the mxImage to be used as the icon.
mxHandle.prototype.image
Specifies the mxImage to be used to render the handle.
mxSvgCanvas2D.prototype.image = function(x,
y,
w,
h,
src,
aspect,
flipH,
flipV)
Private helper function to create SVG elements
mxVmlCanvas2D.prototype.image = function(x,
y,
w,
h,
src,
aspect,
flipH,
flipV)
Paints an image.
mxXmlCanvas2D.prototype.image = function(x,
y,
w,
h,
src,
aspect,
flipH,
flipV)
Paints an image.
Basepath for all images URLs in the core without trailing slash.
mxDefaultPopupMenu.prototype.imageBasePath
Base path for all icon attributes in the config.
mxGraph.prototype.imageBundles
Holds the list of image bundles.
mxImageBundle.prototype.images
Maps from keys to images.
mxLabel.prototype.imageSize
Default width and height for the image.
mxSwimlane.prototype.imageSize
Default imagewidth and imageheight if an image but no imagewidth and imageheight are defined in the style.
mxGraph.prototype.importCells = function(cells,
dx,
dy,
target,
evt)
Clones and inserts the given cells into the graph using the move method and returns the inserted cells.
mxGraph.prototype.importEnabled
Specifies the return value for canImportCell.
importNode: function(doc,
node,
allChildren)
Cross browser implementation for document.importNode.
include: function(src)
Dynamically adds a script node to the document header.
mxImageExport.prototype.includeOverlays
Specifies if overlays should be included in the export.
mxVertexHandler.prototype.index
Holds the index of the current handle.
indexOf: function(array,
obj)
Returns the index of obj in array or -1 if the array does not contain the given object.
mxUndoManager.prototype.indexOfNextAdd
Index of the element to be added next.
indexOfStylename: function(style,
stylename)
Returns the index of the given stylename in the given style.
mxLabel.prototype.indicatorSize
Default width and height for the indicicator.
mxLabel.prototype.indicatorSpacing
Default spacing between image and indicator.
mxFastOrganicLayout.prototype.indices
Hashtable from cells to local indices.
info: function()
Writes the current navigator information to the console.
mxCellEditor.prototype.init = function ()
Creates the textarea and installs the event listeners.
mxConnectionHandler.prototype.init = function()
Initializes the shapes required for this connection handler.
mxDefaultToolbar.prototype.init
Constructs the toolbar for the given container and installs a listener that updates the mxEditor.insertFunction on editor if an item is selected in the toolbar.
mxEdgeHandler.prototype.init = function()
Initializes the shapes required for this edge handler.
mxGraph.prototype.init = function(container)
Initializes the container and creates the respective datastructures.
mxGraphView.prototype.init = function()
Initializes the graph event dispatch loop for the specified container and invokes create to create the required DOM nodes for the display.
mxHandle.prototype.init = function()
Creates and initializes the shapes required for this handle.
mxLabel.prototype.init = function(container)
Initializes the shape and the indicator.
init: function()
Initializes the DOM node for the console.
mxOutline.prototype.init = function(container)
Initializes the outline inside the given container.
mxPopupMenu.prototype.init = function()
Initializes the shapes required for this vertex handler.
mxPopupMenuHandler.prototype.init = function()
Initializes the shapes required for this vertex handler.
mxShape.prototype.init = function(container)
Initializes the shape by creaing the DOM node using create and adding it into the given container.
mxTooltipHandler.prototype.init = function()
Initializes the DOM nodes required for this tooltip handler.
mxVertexHandler.prototype.init = function()
Initializes the shapes required for this vertex handler.
mxWindow.prototype.init = function(x,
y,
width,
height,
style)
Initializes the DOM tree that represents the window.
mxEdgeHandler.prototype.initBend = function(bend,
dblClick)
Helper method to initialize the given bend.
mxCellRenderer.prototype.initControl = function(state,
control,
handleEvents,
clickHandler)
Initializes the given control and returns the corresponding DOM node.
mxCoordinateAssignment.prototype.initialCoords = function(facade,
model)
Sets up the layout in an initial positioning.
mxCellRenderer.prototype.initializeLabel = function(state)
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
mxHandle.prototype.initShape = function(html)
Initializes shape and sets its cursor.
mxCell.prototype.insert = function(child,
index)
Inserts the specified child into the child array at the specified index and updates the parent reference of the child.
mxDefaultToolbar.prototype.insert = function(vertex,
evt,
target)
Handles a drop by inserting the given vertex into the given parent cell or the default parent if no parent is specified.
mxPrintPreview.prototype.insertBackgroundImage = function(div,
dx,
dy)
Inserts the background image into the given div.
Counts the number of times the clipboard data has been inserted.
mxCell.prototype.insertEdge = function(edge,
isOutgoing)
Inserts the specified edge into the edge array and returns the edge.
mxConnectionHandler.prototype.insertEdge = function(parent,
id,
value,
source,
target,
style)
Creates, inserts and returns the new edge for the given parameters.
mxGraph.prototype.insertEdge = function(parent,
id,
value,
source,
target,
style)
Adds a new edge into the given parent mxCell using value as the user object and the given source and target as the terminals of the new edge.
mxEditor.prototype.insertFunction
Specifies the function to be used for inserting new cells into the graph.
mxCodec.prototype.insertIntoGraph = function(cell)
Inserts the given cell into its parent and terminal cells.
mxCellRenderer.prototype.insertStateAfter = function(state,
node,
htmlNode)
Inserts the given array of mxShapes after the given nodes in the DOM.
mxGraph.prototype.insertVertex = function(parent,
id,
value,
x,
y,
width,
height,
style,
relative)
Adds a new vertex into the given parent mxCell using value as the user object and the given coordinates as the mxGeometry of the new vertex.
mxEditor.prototype.installChangeHandler = function (graph)
Installs the listeners required to automatically validate the graph.
mxWindow.prototype.installCloseHandler = function()
Adds the closeImage as a new image node in closeImg and installs the close event.
mxEditor.prototype.installDblClickHandler = function (graph)
Overrides mxGraph.dblClick to invoke dblClickAction on a cell and reset the selection tool in the toolbar.
mxEditor.prototype.installDrillHandler = function (graph)
Installs listeners for dispatching the root event.
mxDefaultToolbar.prototype.installDropHandler = function (img,
dropHandler)
Makes the given img draggable using the given function for handling a drop event.
mxEditor.prototype.installInsertHandler = function (graph)
Installs the handler for invoking insertFunction if one is defined.
mxCellEditor.prototype.installListeners = function(elt)
Installs listeners for focus, change and standard key event handling.
mxCellRenderer.prototype.installListeners = function(state)
Installs the event listeners for the given cell state.
mxGraphView.prototype.installListeners = function()
Installs the required listeners in the container.
mxWindow.prototype.installMaximizeHandler = function()
Installs the event listeners required for maximizing the window.
mxWindow.prototype.installMinimizeHandler = function()
Installs the event listeners required for minimizing the window.
mxWindow.prototype.installMoveHandler = function()
Installs the event listeners required for moving the window.
Installs the listeners for the given mxCellState, mxCellOverlay and mxShape that represents the overlay.
mxEditor.prototype.installUndoHandler = function (graph)
Adds the undoManager to the graph model and the view.
mxHierarchicalLayout.prototype.interHierarchySpacing
The spacing buffer between unconnected hierarchies.
mxSwimlaneLayout.prototype.interHierarchySpacing
The spacing buffer between unconnected hierarchies.
mxCoordinateAssignment.prototype.interRankCellSpacing
The minimum distance between cells on adjacent ranks.
mxHierarchicalLayout.prototype.interRankCellSpacing
The spacing buffer added between cell on adjacent layers.
mxSwimlaneLayout.prototype.interRankCellSpacing
The spacing buffer added between cell on adjacent layers.
intersection: function (x0,
y0,
x1,
y1,
x2,
y2,
x3,
y3)
Returns the intersection of two lines as an mxPoint.
mxCellMarker.prototype.intersects = function(state,
me)
Returns true if the given coordinate pair intersects the given state.
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_EM: 'spellcheck' in document.createElement(
   'textarea'
) && document.documentMode
True if the browser is IE11 in enterprise mode (IE8 standards mode).
IS_FF: navigator.userAgent.indexOf('Firefox/') >
True if the current browser is Firefox.
IS_GC: navigator.userAgent.indexOf('Chrome/') >
True if the current browser is Google Chrome.
IS_IE: navigator.userAgent.indexOf('MSIE') >
True if the current browser is Internet Explorer 10 or below.
True if the current browser is Internet Explorer 11.x.
IS_IE6: navigator.userAgent.indexOf('MSIE 6') >
True if the current browser is Internet Explorer 6.x.
Returns true if the user agent is an iPad, iPhone or iPod.
True if the documents location does not start with http:// or https://.
True if the client is a Mac.
True if -moz-transform is available as a CSS style.
IS_NS: navigator.userAgent.indexOf('Mozilla/') >
True if the current browser is Netscape (including Firefox).
IS_OP: navigator.userAgent.indexOf('Opera/') >
True if the current browser is Opera.
IS_OT: navigator.userAgent.indexOf('Presto/') >
True if -o-transform is available as a CSS style, ie for Opera browsers based on a Presto engine with version 2.5 or later.
True if this device supports 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.
mxDragSource.prototype.isActive = function()
Returns true if this drag source is active.
mxPanningHandler.prototype.isActive = function()
Returns true if the handler is currently active.
mxSwimlaneManager.prototype.isAddEnabled = function()
Returns addEnabled.
mxEdgeHandler.prototype.isAddPointEvent = function(evt)
Returns true if the given event is a trigger to add a new point.
mxEdgeHandler.prototype.isAddVirtualBendEvent = function(me)
Returns true if the given event allows virtual bends to be added.
mxGraph.prototype.isAllowDanglingEdges = function()
Returns allowDanglingEdges as a boolean.
mxGraphView.prototype.isAllowEval = function()
Returns allowEval.
mxGraph.prototype.isAllowLoops = function()
Returns allowLoops as a boolean.
mxGraph.prototype.isAllowOverlapParent = function(cell)
Returns true if the given cell is allowed to be placed outside of the parents area.
isAltDown: function(evt)
Returns true if the alt key is pressed for the given event.
mxGraphHierarchyNode.prototype.isAncestor = function(otherNode)
mxGraphModel.prototype.isAncestor = function(parent,
child)
Returns true if the given parent is an ancestor of the given child.
isAncestorNode: function(ancestor,
child)
Returns true if the given ancestor is an ancestor of the given DOM node in the DOM.
mxArrowConnector.prototype.isArrowRounded = function()
Returns wether the arrow is rounded
mxGraph.prototype.isAutoSizeCell = function(cell)
Returns true if the size of the given cell should automatically be updated after a change of the label.
mxGraph.prototype.isAutoSizeCells = function()
Returns autoSizeCells.
mxXmlRequest.prototype.isBinary = function()
Returns binary.
mxObjectCodec.prototype.isBooleanAttribute = function(enc,
obj,
name,
value)
Returns true if the given object attribute is a boolean value.
isBrowserSupported: function()
Returns true if the current browser is supported, that is, if mxClient.IS_VML or mxClient.IS_SVG is true.
mxLayoutManager.prototype.isBubbling = function()
Returns true if a layout should bubble, that is, if the parent layout should be executed whenever a cell layout (layout of the children of a cell) has been executed.
mxGraph.prototype.isCellBendable = function(cell)
Returns true if the given cell is bendable.
mxGraph.prototype.isCellCloneable = function(cell)
Returns true if the given cell is cloneable.
codec.isCellCodec = function()
Returns true since this is a cell codec.
mxCodec.prototype.isCellCodec = function(codec)
Returns true if the given codec is a cell codec.
mxGraph.prototype.isCellCollapsed = function(cell)
Returns true if the given cell is collapsed in this graph.
mxGraphView.prototype.isCellCollapsed = function(cell)
Returns true if the children of the given cell should not be visible in the view.
mxGraph.prototype.isCellConnectable = function(cell)
Returns true if the given cell is connectable in this graph.
mxGraph.prototype.isCellDeletable = function(cell)
Returns true if the given cell is moveable.
mxGraph.prototype.isCellDisconnectable = function(cell,
terminal,
source)
Returns true if the given cell is disconnectable from the source or target terminal.
mxGraph.prototype.isCellEditable = function(cell)
Returns true if the given cell is editable.
mxGraph.prototype.isCellFoldable = function(cell,
collapse)
Returns true if the given cell is foldable.
mxSwimlaneManager.prototype.isCellHorizontal = function(cell)
Returns true if the given cell is horizontal.
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.
mxEdgeHandler.prototype.isCustomHandleEvent = function(me)
Returns true if the given event allows custom handles to be changed.
mxVertexHandler.prototype.isCustomHandleEvent = function(me)
Returns true if the given event allows custom handles to be changed.
mxGraphHandler.prototype.isDelayedSelection = function(cell)
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 event should be ignored in fireMouseEvent.
codec.isExcluded = function(obj,
attr,
value,
isWrite)
Excludes user objects that are XML nodes.
mxObjectCodec.prototype.isExcluded = function(obj,
attr,
value,
write)
Returns true if the given attribute is to be ignored by the codec.
mxGraph.prototype.isExtendParent = function(cell)
Returns true if the parent of the given cell should be extended if the child has been resized so that it overlaps the parent.
mxGraph.prototype.isExtendParents = function()
Returns extendParents.
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.
mxHandle.prototype.isHtmlRequired = function()
Returns true if this handle should be rendered in HTML.
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.
mxConstraintHandler.prototype.isKeepFocusEvent = function(me)
Returns true if the current focused state should not be changed for the given event.
mxGraph.prototype.isLabelClipped = function(cell)
Returns true if the overflow portion of labels should be hidden.
mxCellRenderer.prototype.isLabelEvent = function(state,
evt)
Returns true if the event is for the label of the given state.
mxGraph.prototype.isLabelMovable = function(cell)
Returns true if the given edges’s label is moveable.
isLanguageSupported: function(lan)
Hook for subclassers to disable support for a given language.
mxGraphModel.prototype.isLayer = function(cell)
Returns true if isRoot returns true for the parent of the given cell.
isLeftMouseButton: function(evt)
Returns true if the left mouse button is pressed for the given event.
mxVertexHandler.prototype.isLivePreviewBorder = function()
Called if livePreview is enabled to check if a border should be painted.
mxGraph.prototype.isLoop = function(state)
Returns true if the given cell state is a loop.
mxArrowConnector.prototype.isMarkerEnd = function()
Returns whether the end marker is drawn
mxArrowConnector.prototype.isMarkerStart = function()
Returns whether the start marker is drawn
mxPopupMenu.prototype.isMenuShowing = function()
Returns true if the menu is showing.
isMetaDown: function(evt)
Returns true if the meta key is pressed for the given event.
isMiddleMouseButton: function(evt)
Returns true if the middle mouse button is pressed for the given event.
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.
isMultiTouchEvent: function(evt)
Returns true if the event was generated using a touch device (not a pen or mouse).
isNaN: function(value)
Returns true if the given value is of type number and isNaN returns true.
isNode: function(value,
nodeName,
attributeName,
attributeValue)
Returns true if the given value is an XML node with the node name and if the optional attribute has the specified value.
isNumeric: function(n)
Returns true if the specified value is numeric, that is, if it is not null, not an empty string, not a HEX number and isNaN returns false.
mxObjectCodec.prototype.isNumericAttribute = function(dec,
attr,
obj)
Returns true if the given XML attribute is a numeric value.
mxArrowConnector.prototype.isOpenEnded = function()
Returns whether the ends of the shape are drawn
mxGraph.prototype.isOrthogonal = function(edge)
Returns true if perimeter points should be computed such that the resulting edge has only horizontal or vertical segments.
mxConnectionHandler.prototype.isOutlineConnectEvent = function(me)
Returns true if outlineConnect is true and the source of the event is the outline shape or shift is pressed.
mxEdgeHandler.prototype.isOutlineConnectEvent = function(me)
Returns true if outlineConnect is true and the source of the event is the outline shape or shift is pressed.
mxPolyline.prototype.isPaintBoundsInverted = function()
Returns false.
mxShape.prototype.isPaintBoundsInverted = function()
Returns true if the bounds should be inverted.
mxText.prototype.isPaintBoundsInverted = function()
Inverts the bounds if mxShape.isBoundsInverted returns true or if the horizontal style is false.
mxPanningHandler.prototype.isPanningEnabled = function()
Returns panningEnabled.
mxPanningHandler.prototype.isPanningTrigger = function(me)
Returns true if the given event is a panning trigger for the optional given cell.
mxShape.prototype.isParseVml = function()
Specifies if any VML should be added via insertAdjacentHtml to the DOM.
mxText.prototype.isParseVml = function()
Text shapes do not contain VML markup and do not need to be parsed.
mxPanningHandler.prototype.isPinchEnabled = function()
Returns pinchEnabled.
isPopupTrigger: function(evt)
Returns true if the event is a popup trigger.
mxMouseEvent.prototype.isPopupTrigger = function()
Returns true if the event is a popup trigger.
mxPopupMenu.prototype.isPopupTrigger = function(me)
Returns true if the given event is a popupmenu trigger for the optional given cell.
mxGraph.prototype.isPort = function(cell)
Returns true if the given cell is a “port”, that is, when connecting to it, the cell returned by getTerminalForPort should be used as the terminal and the port should be referenced by the ID in either the mxConstants.STYLE_SOURCE_PORT or the or the mxConstants.STYLE_TARGET_PORT.
mxHierarchicalLayout.prototype.isPort = function(cell)
Returns true if the given cell is a “port”, that is, when connecting to it, its parent is the connecting vertex in terms of graph traversal
mxSwimlaneLayout.prototype.isPort = function(cell)
Returns true if the given cell is a “port”, that is, when connecting to it, its parent is the connecting vertex in terms of graph traversal
mxGraph.prototype.isPortsEnabled = function()
Returns portsEnabled as a boolean.
mxEditor.prototype.isPropertiesVisible = function ()
Returns true if the properties dialog is currently visible.
mxXmlRequest.prototype.isReady = function()
Returns true if the response is ready.
mxGraph.prototype.isRecursiveResize = function(state)
Returns recursiveResize.
codec.isReference = function(obj,
attr,
value,
isWrite)
Returns true for the child attribute if the child cell had a previous parent or if we’re reading the child as an attribute rather than a child node, in which case it’s always a reference.
mxObjectCodec.prototype.isReference = function(obj,
attr,
value,
write)
Returns true if the given fieldname is to be treated as a textual reference (ID).
mxUrlConverter.prototype.isRelativeUrl = function(url)
Returns true if the given URL is relative.
mxGraphHandler.prototype.isRemoveCellsFromParent = function()
Returns removeCellsFromParent.
mxEdgeHandler.prototype.isRemovePointEvent = function(evt)
Returns true if the given event is a trigger to remove a point.
mxGraphView.prototype.isRendering = function()
Returns rendering.
mxWindow.prototype.isResizable = function()
Returns true if the window is resizable.
mxGraph.prototype.isResizeContainer = function()
Returns resizeContainer.
mxSwimlaneManager.prototype.isResizeEnabled = function()
Returns resizeEnabled.
mxGraphHierarchyEdge.prototype.isReversed
Whether or not the direction of this edge has been reversed internally to create a DAG for the hierarchical layout
isRightMouseButton: function(evt)
Returns true if the right mouse button was pressed.
mxGraphModel.prototype.isRoot = function(cell)
Returns true if the given cell is the root of the model and a non-null value.
mxVertexHandler.prototype.isRotationHandleVisible = function()
Returns true if the rotation handle should be showing.
mxAnimation.prototype.isRunning = function()
Returns true if the animation is running.
mxGraphView.prototype.isScrollEvent = function(evt)
Returns true if the event origin is one of the scrollbars of the container in IE.
mxGraphSelectionModel.prototype.isSelected = function(cell)
Returns true if the given mxCell is selected.
mxGraphHandler.prototype.isSelectEnabled = function()
Returns selectEnabled.
mxEdgeHandler.prototype.isSelectionDashed = function()
Returns mxConstants.EDGE_SELECTION_DASHED.
mxVertexHandler.prototype.isSelectionDashed = function()
Returns mxConstants.VERTEX_SELECTION_DASHED.
mxGraph.prototype.isSelectionEmpty = function()
Returns true if the selection is empty.
mxPopupMenuHandler.prototype.isSelectOnPopup = function(me)
Hook for returning if a cell should be selected for a given mxMouseEvent.
mxCellEditor.prototype.isSelectText = function()
Returns selectText.
mxCellRenderer.prototype.isShapeEvent = function(state,
evt)
Returns true if the event is for the shape of the given state.
isShiftDown: function(evt)
Returns true if the shift key is pressed for the given event.
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.
mxEdgeHandler.prototype.isSnapToTerminalsEvent = function(me)
Returns true if snapToTerminals is true and if alt is not pressed.
mxMouseEvent.prototype.isSource = function(shape)
Returns true if the given mxShape is the source of evt.
mxGraph.prototype.isSplitEnabled = function()
Returns splitEnabled as a boolean.
mxGraph.prototype.isSplitTarget = function(target,
cells,
evt)
Returns true if the given edge may be splitted into two edges with the given cell as a new terminal between the two.
mxConnectionHandler.prototype.isStartEvent = function(me)
Returns true if the given mouse down event should start this handler.
mxConstraintHandler.prototype.isStateIgnored = function(state,
source)
Returns true if the given state should be ignored.
mxCellEditor.prototype.isStopEditingEvent = function(evt)
Returns true if the given keydown event should stop cell editing.
mxConnectionHandler.prototype.isStopEvent = function(me)
Returns true if the given mouse up event should stop this handler.
mxGraph.prototype.isSwimlane = function (cell)
Returns true if the given cell is a swimlane in the graph.
mxSwimlaneManager.prototype.isSwimlaneIgnored = function(swimlane)
Returns true if the given swimlane should be ignored.
mxGraph.prototype.isSwimlaneNesting = function()
Returns swimlaneNesting as a boolean.
mxGraph.prototype.isSwimlaneSelectionEnabled = function()
Returns swimlaneSelectionEnabled as a boolean.
mxGraph.prototype.isSyntheticEventIgnored = function(evtName,
me,
sender)
Hook for ignoring synthetic mouse events after touchend in Firefox.
mxGraph.prototype.isTerminalPointMovable = function(cell,
source)
Returns true if the given terminal point is movable.
mxGraph.prototype.isToggleEvent = function(evt)
Returns true if the given event is a toggle event.
isTouchEvent: function(evt)
Returns true if the event was generated using a touch device (not a pen or mouse).
mxGraph.prototype.isValidAncestor = function(cell,
parent,
recurse)
Returns whether or not the specified parent is a valid ancestor of the specified cell, either direct or indirectly based on whether ancestor recursion is enabled.
mxGraph.prototype.isValidConnection = function(source,
target)
Returns true if the given target cell is a valid target for source.
mxGraph.prototype.isValidDropTarget = function(cell,
cells,
evt)
Returns true if the given cell is a valid drop target for the specified cells.
mxGraph.prototype.isValidRoot = function(cell)
Returns true if the given cell is a valid root for the cell display hierarchy.
mxConnectionHandler.prototype.isValidSource = function(cell,
me)
Returns mxGraph.isValidSource for the given source terminal.
mxGraph.prototype.isValidSource = function(cell)
Returns true if the given cell is a valid source for new connections.
mxCellMarker.prototype.isValidState = function(state)
Returns true if the given mxCellState is a valid state.
mxConnectionHandler.prototype.isValidTarget = function(cell)
Returns true.
mxGraph.prototype.isValidTarget = function(cell)
Returns isValidSource for the given cell.
mxCell.prototype.isVertex = function()
Returns true if the cell is a vertex.
mxGraphAbstractHierarchyCell.prototype.isVertex = function()
Returns whether or not this cell is a node
mxGraphHierarchyNode.prototype.isVertex = function()
Returns true.
mxGraphModel.prototype.isVertex = function(cell)
Returns true if the given cell is a vertex.
mxCompactTreeLayout.prototype.isVertexIgnored = function(vertex)
Returns a boolean indicating if the given mxCell should be ignored as a vertex.
mxFastOrganicLayout.prototype.isVertexIgnored = function(vertex)
Returns a boolean indicating if the given mxCell should be ignored as a vertex.
mxGraphLayout.prototype.isVertexIgnored = function(vertex)
Returns a boolean indicating if the given mxCell should be ignored by the algorithm.
mxRadialTreeLayout.prototype.isVertexIgnored = function(vertex)
Returns a boolean indicating if the given mxCell should be ignored as a vertex.
mxGraph.prototype.isVertexLabelsMovable = function()
Returns vertexLabelsMovable.
mxGraphLayout.prototype.isVertexMovable = function(cell)
Returns a boolean indicating if the given mxCell is movable or bendable by the algorithm.
mxEdgeHandler.prototype.isVirtualBendsEnabled = function(evt)
Returns true if virtual bends should be added.
mxCell.prototype.isVisible = function()
Returns true if the cell is visibile.
mxGraphModel.prototype.isVisible = function(cell)
Returns true if the given mxCell is visible.
isVisible: function()
Returns true if the console is visible.
mxWindow.prototype.isVisible = function()
Returns true if the window is visible.
isVml: function(node)
Returns true if the given node is in the VML namespace.
mxGraph.prototype.isWrapping = function(cell)
This enables wrapping for HTML labels.
mxPopupMenu.prototype.itemCount
Contains the number of times addItem has been called for a new menu.
mxFastOrganicLayout.prototype.iteration
Current iteration count.
mxMedianHybridCrossingReduction.prototype.iterationsWithoutImprovement
The total number of crossings found in the best configuration so far
+
mxCell.prototype.id
Holds the Id.
mxGraphHierarchyNode.prototype.id
The object identity of the wrapped cell
mxObjectCodec.prototype.idrefs
Array containing the variable names that should be turned into or converted from references.
mxGraphHierarchyEdge.prototype.ids
The object identities of the wrapped cells
mxPanningHandler.prototype.ignoreCell
Specifies if panning should be active even if there is a cell under the mousepointer.
mxText.prototype.ignoreClippedStringSize
Specifies if the string size should be measured in updateBoundingBox if the label is clipped and the label position is center and middle.
mxAutoSaveManager.prototype.ignoredChanges
Counter for ignored changes in autosave.
mxConnectionHandler.prototype.ignoreMouseDown
Specifies if the connection handler should ignore the state of the mouse button when highlighting the source.
mxGraph.prototype.ignoreScrollbars
Specifies if the graph should automatically scroll regardless of the scrollbars.
mxText.prototype.ignoreStringSize
Specifies if the actual string size should be measured.
mxTooltipHandler.prototype.ignoreTouchEvents
Specifies if touch and pen events should be ignored.
mxCellOverlay.prototype.image
Holds the mxImage to be used as the icon.
mxHandle.prototype.image
Specifies the mxImage to be used to render the handle.
mxSvgCanvas2D.prototype.image = function(x,
y,
w,
h,
src,
aspect,
flipH,
flipV)
Private helper function to create SVG elements
mxVmlCanvas2D.prototype.image = function(x,
y,
w,
h,
src,
aspect,
flipH,
flipV)
Paints an image.
mxXmlCanvas2D.prototype.image = function(x,
y,
w,
h,
src,
aspect,
flipH,
flipV)
Paints an image.
Basepath for all images URLs in the core without trailing slash.
mxDefaultPopupMenu.prototype.imageBasePath
Base path for all icon attributes in the config.
mxGraph.prototype.imageBundles
Holds the list of image bundles.
mxImageBundle.prototype.images
Maps from keys to images.
mxLabel.prototype.imageSize
Default width and height for the image.
mxSwimlane.prototype.imageSize
Default imagewidth and imageheight if an image but no imagewidth and imageheight are defined in the style.
mxGraph.prototype.importCells = function(cells,
dx,
dy,
target,
evt)
Clones and inserts the given cells into the graph using the move method and returns the inserted cells.
mxGraph.prototype.importEnabled
Specifies the return value for canImportCell.
importNode: function(doc,
node,
allChildren)
Cross browser implementation for document.importNode.
include: function(src)
Dynamically adds a script node to the document header.
mxImageExport.prototype.includeOverlays
Specifies if overlays should be included in the export.
mxVertexHandler.prototype.index
Holds the index of the current handle.
indexOf: function(array,
obj)
Returns the index of obj in array or -1 if the array does not contain the given object.
mxUndoManager.prototype.indexOfNextAdd
Index of the element to be added next.
indexOfStylename: function(style,
stylename)
Returns the index of the given stylename in the given style.
mxLabel.prototype.indicatorSize
Default width and height for the indicicator.
mxLabel.prototype.indicatorSpacing
Default spacing between image and indicator.
mxFastOrganicLayout.prototype.indices
Hashtable from cells to local indices.
info: function()
Writes the current navigator information to the console.
mxCellEditor.prototype.init = function ()
Creates the textarea and installs the event listeners.
mxConnectionHandler.prototype.init = function()
Initializes the shapes required for this connection handler.
mxDefaultToolbar.prototype.init
Constructs the toolbar for the given container and installs a listener that updates the mxEditor.insertFunction on editor if an item is selected in the toolbar.
mxEdgeHandler.prototype.init = function()
Initializes the shapes required for this edge handler.
mxGraph.prototype.init = function(container)
Initializes the container and creates the respective datastructures.
mxGraphView.prototype.init = function()
Initializes the graph event dispatch loop for the specified container and invokes create to create the required DOM nodes for the display.
mxHandle.prototype.init = function()
Creates and initializes the shapes required for this handle.
mxLabel.prototype.init = function(container)
Initializes the shape and the indicator.
init: function()
Initializes the DOM node for the console.
mxOutline.prototype.init = function(container)
Initializes the outline inside the given container.
mxPopupMenu.prototype.init = function()
Initializes the shapes required for this vertex handler.
mxPopupMenuHandler.prototype.init = function()
Initializes the shapes required for this vertex handler.
mxShape.prototype.init = function(container)
Initializes the shape by creaing the DOM node using create and adding it into the given container.
mxTooltipHandler.prototype.init = function()
Initializes the DOM nodes required for this tooltip handler.
mxVertexHandler.prototype.init = function()
Initializes the shapes required for this vertex handler.
mxWindow.prototype.init = function(x,
y,
width,
height,
style)
Initializes the DOM tree that represents the window.
mxEdgeHandler.prototype.initBend = function(bend,
dblClick)
Helper method to initialize the given bend.
mxCellRenderer.prototype.initControl = function(state,
control,
handleEvents,
clickHandler)
Initializes the given control and returns the corresponding DOM node.
mxCoordinateAssignment.prototype.initialCoords = function(facade,
model)
Sets up the layout in an initial positioning.
mxCellRenderer.prototype.initializeLabel = function(state,
shape)
Initiailzes the label with a suitable container.
mxCellRenderer.prototype.initializeOverlay = function(state,
overlay)
Initializes the given overlay.
mxCellRenderer.prototype.initializeShape = function(state)
Initializes the shape in the given state by calling its init method with the correct container after configuring it using configureShape.
mxGraphHierarchyModel.prototype.initialRank = function()
Basic determination of minimum layer ranking by working from from sources or sinks and working through each node in the relevant edge direction.
mxSwimlaneModel.prototype.initialRank = function()
Basic determination of minimum layer ranking by working from from sources or sinks and working through each node in the relevant edge direction.
mxFastOrganicLayout.prototype.initialTemp
Start value of temperature.
mxGraph.prototype.initialTouchX
Holds the x-coordinate of the intial touch event for tap and hold.
mxGraph.prototype.initialTouchY
Holds the y-coordinate of the intial touch event for tap and hold.
mxCoordinateAssignment.prototype.initialX
The minimum x position node placement starts at
mxHandle.prototype.initShape = function(html)
Initializes shape and sets its cursor.
mxCell.prototype.insert = function(child,
index)
Inserts the specified child into the child array at the specified index and updates the parent reference of the child.
mxDefaultToolbar.prototype.insert = function(vertex,
evt,
target)
Handles a drop by inserting the given vertex into the given parent cell or the default parent if no parent is specified.
mxPrintPreview.prototype.insertBackgroundImage = function(div,
dx,
dy)
Inserts the background image into the given div.
Counts the number of times the clipboard data has been inserted.
mxCell.prototype.insertEdge = function(edge,
isOutgoing)
Inserts the specified edge into the edge array and returns the edge.
mxConnectionHandler.prototype.insertEdge = function(parent,
id,
value,
source,
target,
style)
Creates, inserts and returns the new edge for the given parameters.
mxGraph.prototype.insertEdge = function(parent,
id,
value,
source,
target,
style)
Adds a new edge into the given parent mxCell using value as the user object and the given source and target as the terminals of the new edge.
mxEditor.prototype.insertFunction
Specifies the function to be used for inserting new cells into the graph.
mxCodec.prototype.insertIntoGraph = function(cell)
Inserts the given cell into its parent and terminal cells.
mxCellRenderer.prototype.insertStateAfter = function(state,
node,
htmlNode)
Inserts the given array of mxShapes after the given nodes in the DOM.
mxGraph.prototype.insertVertex = function(parent,
id,
value,
x,
y,
width,
height,
style,
relative)
Adds a new vertex into the given parent mxCell using value as the user object and the given coordinates as the mxGeometry of the new vertex.
mxEditor.prototype.installChangeHandler = function (graph)
Installs the listeners required to automatically validate the graph.
mxWindow.prototype.installCloseHandler = function()
Adds the closeImage as a new image node in closeImg and installs the close event.
mxEditor.prototype.installDblClickHandler = function (graph)
Overrides mxGraph.dblClick to invoke dblClickAction on a cell and reset the selection tool in the toolbar.
mxEditor.prototype.installDrillHandler = function (graph)
Installs listeners for dispatching the root event.
mxDefaultToolbar.prototype.installDropHandler = function (img,
dropHandler)
Makes the given img draggable using the given function for handling a drop event.
mxEditor.prototype.installInsertHandler = function (graph)
Installs the handler for invoking insertFunction if one is defined.
mxCellEditor.prototype.installListeners = function(elt)
Installs listeners for focus, change and standard key event handling.
mxCellRenderer.prototype.installListeners = function(state)
Installs the event listeners for the given cell state.
mxGraphView.prototype.installListeners = function()
Installs the required listeners in the container.
mxWindow.prototype.installMaximizeHandler = function()
Installs the event listeners required for maximizing the window.
mxWindow.prototype.installMinimizeHandler = function()
Installs the event listeners required for minimizing the window.
mxWindow.prototype.installMoveHandler = function()
Installs the event listeners required for moving the window.
Installs the listeners for the given mxCellState, mxCellOverlay and mxShape that represents the overlay.
mxEditor.prototype.installUndoHandler = function (graph)
Adds the undoManager to the graph model and the view.
mxHierarchicalLayout.prototype.interHierarchySpacing
The spacing buffer between unconnected hierarchies.
mxSwimlaneLayout.prototype.interHierarchySpacing
The spacing buffer between unconnected hierarchies.
mxCoordinateAssignment.prototype.interRankCellSpacing
The minimum distance between cells on adjacent ranks.
mxHierarchicalLayout.prototype.interRankCellSpacing
The spacing buffer added between cell on adjacent layers.
mxSwimlaneLayout.prototype.interRankCellSpacing
The spacing buffer added between cell on adjacent layers.
intersection: function (x0,
y0,
x1,
y1,
x2,
y2,
x3,
y3)
Returns the intersection of two lines as an mxPoint.
mxCellMarker.prototype.intersects = function(state,
me)
Returns true if the given coordinate pair intersects the given state.
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_EM: 'spellcheck' in document.createElement(
   'textarea'
) && document.documentMode
True if the browser is IE11 in enterprise mode (IE8 standards mode).
IS_FF: navigator.userAgent.indexOf('Firefox/') >
True if the current browser is Firefox.
IS_GC: navigator.userAgent.indexOf('Chrome/') >
True if the current browser is Google Chrome.
IS_IE: navigator.userAgent.indexOf('MSIE') >
True if the current browser is Internet Explorer 10 or below.
True if the current browser is Internet Explorer 11.x.
IS_IE6: navigator.userAgent.indexOf('MSIE 6') >
True if the current browser is Internet Explorer 6.x.
Returns true if the user agent is an iPad, iPhone or iPod.
True if the documents location does not start with http:// or https://.
True if the client is a Mac.
True if -moz-transform is available as a CSS style.
IS_NS: navigator.userAgent.indexOf('Mozilla/') >
True if the current browser is Netscape (including Firefox).
IS_OP: navigator.userAgent.indexOf('Opera/') >
True if the current browser is Opera.
IS_OT: navigator.userAgent.indexOf('Presto/') >
True if -o-transform is available as a CSS style, ie for Opera browsers based on a Presto engine with version 2.5 or later.
True if this device supports 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.
mxDragSource.prototype.isActive = function()
Returns true if this drag source is active.
mxPanningHandler.prototype.isActive = function()
Returns true if the handler is currently active.
mxSwimlaneManager.prototype.isAddEnabled = function()
Returns addEnabled.
mxEdgeHandler.prototype.isAddPointEvent = function(evt)
Returns true if the given event is a trigger to add a new point.
mxEdgeHandler.prototype.isAddVirtualBendEvent = function(me)
Returns true if the given event allows virtual bends to be added.
mxGraph.prototype.isAllowDanglingEdges = function()
Returns allowDanglingEdges as a boolean.
mxGraphView.prototype.isAllowEval = function()
Returns allowEval.
mxGraph.prototype.isAllowLoops = function()
Returns allowLoops as a boolean.
mxGraph.prototype.isAllowOverlapParent = function(cell)
Returns true if the given cell is allowed to be placed outside of the parents area.
isAltDown: function(evt)
Returns true if the alt key is pressed for the given event.
mxGraphHierarchyNode.prototype.isAncestor = function(otherNode)
mxGraphModel.prototype.isAncestor = function(parent,
child)
Returns true if the given parent is an ancestor of the given child.
isAncestorNode: function(ancestor,
child)
Returns true if the given ancestor is an ancestor of the given DOM node in the DOM.
mxArrowConnector.prototype.isArrowRounded = function()
Returns wether the arrow is rounded
mxGraph.prototype.isAutoSizeCell = function(cell)
Returns true if the size of the given cell should automatically be updated after a change of the label.
mxGraph.prototype.isAutoSizeCells = function()
Returns autoSizeCells.
mxXmlRequest.prototype.isBinary = function()
Returns binary.
mxObjectCodec.prototype.isBooleanAttribute = function(enc,
obj,
name,
value)
Returns true if the given object attribute is a boolean value.
isBrowserSupported: function()
Returns true if the current browser is supported, that is, if mxClient.IS_VML or mxClient.IS_SVG is true.
mxLayoutManager.prototype.isBubbling = function()
Returns true if a layout should bubble, that is, if the parent layout should be executed whenever a cell layout (layout of the children of a cell) has been executed.
mxGraph.prototype.isCellBendable = function(cell)
Returns true if the given cell is bendable.
mxGraph.prototype.isCellCloneable = function(cell)
Returns true if the given cell is cloneable.
codec.isCellCodec = function()
Returns true since this is a cell codec.
mxCodec.prototype.isCellCodec = function(codec)
Returns true if the given codec is a cell codec.
mxGraph.prototype.isCellCollapsed = function(cell)
Returns true if the given cell is collapsed in this graph.
mxGraphView.prototype.isCellCollapsed = function(cell)
Returns true if the children of the given cell should not be visible in the view.
mxGraph.prototype.isCellConnectable = function(cell)
Returns true if the given cell is connectable in this graph.
mxGraph.prototype.isCellDeletable = function(cell)
Returns true if the given cell is moveable.
mxGraph.prototype.isCellDisconnectable = function(cell,
terminal,
source)
Returns true if the given cell is disconnectable from the source or target terminal.
mxGraph.prototype.isCellEditable = function(cell)
Returns true if the given cell is editable.
mxGraph.prototype.isCellFoldable = function(cell,
collapse)
Returns true if the given cell is foldable.
mxSwimlaneManager.prototype.isCellHorizontal = function(cell)
Returns true if the given cell is horizontal.
mxGraph.prototype.isCellLocked = function(cell)
Returns true if the given cell may not be moved, sized, bended, disconnected, edited or selected.
mxGraph.prototype.isCellMovable = function(cell)
Returns true if the given cell is moveable.
mxGraph.prototype.isCellResizable = function(cell)
Returns true if the given cell is resizable.
mxGraph.prototype.isCellRotatable = function(cell)
Returns true if the given cell is rotatable.
mxGraph.prototype.isCellsBendable = function()
Returns cellsBenadable.
mxGraph.prototype.isCellsCloneable = function()
Returns cellsCloneable, that is, if the graph allows cloning of cells by using control-drag.
mxGraph.prototype.isCellsDeletable = function()
Returns cellsDeletable.
mxGraph.prototype.isCellsDisconnectable = function()
Returns cellsDisconnectable.
mxGraph.prototype.isCellsEditable = function()
Returns cellsEditable.
mxGraph.prototype.isCellSelectable = function(cell)
Returns true if the given cell is selectable.
mxGraph.prototype.isCellSelected = function(cell)
Returns true if the given cell is selected.
mxGraph.prototype.isCellsLocked = function()
Returns true if the given cell may not be moved, sized, bended, disconnected, edited or selected.
mxGraph.prototype.isCellsMovable = function()
Returns cellsMovable.
mxGraph.prototype.isCellsResizable = function()
Returns cellsResizable.
mxGraph.prototype.isCellsSelectable = function()
Returns cellsSelectable.
mxGraph.prototype.isCellVisible = function(cell)
Returns true if the given cell is visible in this graph.
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.
mxEdgeHandler.prototype.isCustomHandleEvent = function(me)
Returns true if the given event allows custom handles to be changed.
mxVertexHandler.prototype.isCustomHandleEvent = function(me)
Returns true if the given event allows custom handles to be changed.
mxGraphHandler.prototype.isDelayedSelection = function(cell,
me)
Hook to return true for delayed selections.
mxGraph.prototype.isDisconnectOnMove = function()
Returns disconnectOnMove as a boolean.
mxGraph.prototype.isDropEnabled = function()
Returns dropEnabled as a boolean.
mxCell.prototype.isEdge = function()
Returns true if the cell is an edge.
mxGraphAbstractHierarchyCell.prototype.isEdge = function()
Returns whether or not this cell is an edge
mxGraphHierarchyEdge.prototype.isEdge = function()
Returns true.
mxGraphModel.prototype.isEdge = function(cell)
Returns true if the given cell is an edge.
mxGraphLayout.prototype.isEdgeIgnored = function(edge)
Returns a boolean indicating if the given mxCell should be ignored by the algorithm.
mxGraph.prototype.isEdgeLabelsMovable = function()
Returns edgeLabelsMovable.
mxGraph.prototype.isEdgeValid = function(edge,
source,
target)
Checks if the return value of getEdgeValidationError for the given arguments is null.
mxGraph.prototype.isEditing = function(cell)
Returns true if the given cell is currently being edited.
mxCellStatePreview.prototype.isEmpty = function()
Returns true if this contains no entries.
isEmpty: function()
Returns true if the clipboard currently has not data stored.
mxGraphSelectionModel.prototype.isEmpty = function()
Returns true if no cells are currently selected.
mxUndoableEdit.prototype.isEmpty = function()
Returns true if the this edit contains no changes.
mxUndoManager.prototype.isEmpty = function()
Returns true if the history is empty.
mxAutoSaveManager.prototype.isEnabled = function()
Returns true if events are handled.
mxCellMarker.prototype.isEnabled = function()
Returns true if events are handled.
mxConnectionHandler.prototype.isEnabled = function()
Returns true if events are handled.
mxConstraintHandler.prototype.isEnabled = function()
Returns true if events are handled.
mxDragSource.prototype.isEnabled = function()
Returns enabled.
mxGraph.prototype.isEnabled = function()
Returns true if the graph is enabled.
mxGraphHandler.prototype.isEnabled = function()
Returns enabled.
mxKeyHandler.prototype.isEnabled = function()
Returns true if events are handled.
mxLayoutManager.prototype.isEnabled = function()
Returns true if events are handled.
mxOutline.prototype.isEnabled = function()
Returns true if events are handled.
mxPopupMenu.prototype.isEnabled = function()
Returns true if events are handled.
mxRubberband.prototype.isEnabled = function()
Returns true if events are handled.
mxSelectionCellsHandler.prototype.isEnabled = function()
Returns enabled.
mxSwimlaneManager.prototype.isEnabled = function()
Returns true if events are handled.
mxTooltipHandler.prototype.isEnabled = function()
Returns true if events are handled.
mxUrlConverter.prototype.isEnabled = function()
Returns enabled.
mxGuide.prototype.isEnabledForEvent = function(evt)
Returns true if the guide should be enabled for the given native event.
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 event should be ignored in fireMouseEvent.
codec.isExcluded = function(obj,
attr,
value,
isWrite)
Excludes user objects that are XML nodes.
mxObjectCodec.prototype.isExcluded = function(obj,
attr,
value,
write)
Returns true if the given attribute is to be ignored by the codec.
mxGraph.prototype.isExtendParent = function(cell)
Returns true if the parent of the given cell should be extended if the child has been resized so that it overlaps the parent.
mxGraph.prototype.isExtendParents = function()
Returns extendParents.
mxGraph.prototype.isExtendParentsOnAdd = function(cell)
Returns extendParentsOnAdd.
mxGraph.prototype.isExtendParentsOnMove = function()
Returns extendParentsOnAdd.
mxPanningHandler.prototype.isForcePanningEvent = function(me)
Returns true if the given mxMouseEvent should start panning.
mxRubberband.prototype.isForceRubberbandEvent = function(me)
Returns true if the given mxMouseEvent should start rubberband selection.
mxKeyHandler.prototype.isGraphEvent = function(evt)
Returns true if the event should be processed by this handler, that is, if the event source is either the target, one of its direct children, a descendant of the mxGraph.container, or the mxGraph.cellEditor of the graph.
mxDragSource.prototype.isGridEnabled = function()
Returns gridEnabled.
mxGraph.prototype.isGridEnabled = function()
Returns gridEnabled as a boolean.
mxGraph.prototype.isGridEnabledEvent = function(evt)
Returns true if the given mouse event should be aligned to the grid.
mxDragSource.prototype.isGuidesEnabled = function()
Returns guidesEnabled.
mxEdgeHandler.prototype.isHandleEnabled = function(index)
Creates the shape used to display the given bend.
mxEdgeHandler.prototype.isHandleVisible = function(index)
Returns true if the handle at the given index is visible.
mxCellEditor.prototype.isHideLabel = function(state)
Returns true if the label should be hidden while the cell is being edited.
mxTooltipHandler.prototype.isHideOnHover = function()
Returns hideOnHover.
mxCompactTreeLayout.prototype.isHorizontal = function()
Returns horizontal.
mxPartitionLayout.prototype.isHorizontal = function()
Returns horizontal.
mxStackLayout.prototype.isHorizontal = function()
Returns horizontal.
mxSwimlaneManager.prototype.isHorizontal = function()
Returns horizontal.
mxCellMarker.prototype.isHotspotEnabled = function()
Returns true if hotspot is used in intersects.
mxImageShape.prototype.isHtmlAllowed = function()
Returns true if HTML is allowed for this shape.
mxLabel.prototype.isHtmlAllowed = function()
Returns true for non-rounded, non-rotated shapes with no glass gradient and no indicator shape.
mxRectangleShape.prototype.isHtmlAllowed = function()
Returns true for non-rounded, non-rotated shapes with no glass gradient.
mxShape.prototype.isHtmlAllowed = function()
Returns true if HTML is allowed for this shape.
mxText.prototype.isHtmlAllowed = function()
Returns true if HTML is allowed for this shape.
mxGraph.prototype.isHtmlLabel = function(cell)
Returns true if the label must be rendered as HTML markup.
mxGraph.prototype.isHtmlLabels = function()
Returns htmlLabels.
mxHandle.prototype.isHtmlRequired = function()
Returns true if this handle should be rendered in HTML.
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.
mxConstraintHandler.prototype.isKeepFocusEvent = function(me)
Returns true if the current focused state should not be changed for the given event.
mxGraph.prototype.isLabelClipped = function(cell)
Returns true if the overflow portion of labels should be hidden.
mxCellRenderer.prototype.isLabelEvent = function(state,
evt)
Returns true if the event is for the label of the given state.
mxGraph.prototype.isLabelMovable = function(cell)
Returns true if the given edges’s label is moveable.
isLanguageSupported: function(lan)
Hook for subclassers to disable support for a given language.
mxGraphModel.prototype.isLayer = function(cell)
Returns true if isRoot returns true for the parent of the given cell.
isLeftMouseButton: function(evt)
Returns true if the left mouse button is pressed for the given event.
mxVertexHandler.prototype.isLivePreviewBorder = function()
Called if livePreview is enabled to check if a border should be painted.
mxGraph.prototype.isLoop = function(state)
Returns true if the given cell state is a loop.
mxArrowConnector.prototype.isMarkerEnd = function()
Returns whether the end marker is drawn
mxArrowConnector.prototype.isMarkerStart = function()
Returns whether the start marker is drawn
mxPopupMenu.prototype.isMenuShowing = function()
Returns true if the menu is showing.
isMetaDown: function(evt)
Returns true if the meta key is pressed for the given event.
isMiddleMouseButton: function(evt)
Returns true if the middle mouse button is pressed for the given event.
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.
isMultiTouchEvent: function(evt)
Returns true if the event was generated using a touch device (not a pen or mouse).
isNaN: function(value)
Returns true if the given value is of type number and isNaN returns true.
isNode: function(value,
nodeName,
attributeName,
attributeValue)
Returns true if the given value is an XML node with the node name and if the optional attribute has the specified value.
isNumeric: function(n)
Returns true if the specified value is numeric, that is, if it is not null, not an empty string, not a HEX number and isNaN returns false.
mxObjectCodec.prototype.isNumericAttribute = function(dec,
attr,
obj)
Returns true if the given XML attribute is a numeric value.
mxArrowConnector.prototype.isOpenEnded = function()
Returns whether the ends of the shape are drawn
mxGraph.prototype.isOrthogonal = function(edge)
Returns true if perimeter points should be computed such that the resulting edge has only horizontal or vertical segments.
mxConnectionHandler.prototype.isOutlineConnectEvent = function(me)
Returns true if outlineConnect is true and the source of the event is the outline shape or shift is pressed.
mxEdgeHandler.prototype.isOutlineConnectEvent = function(me)
Returns true if outlineConnect is true and the source of the event is the outline shape or shift is pressed.
mxPolyline.prototype.isPaintBoundsInverted = function()
Returns false.
mxShape.prototype.isPaintBoundsInverted = function()
Returns true if the bounds should be inverted.
mxText.prototype.isPaintBoundsInverted = function()
Inverts the bounds if mxShape.isBoundsInverted returns true or if the horizontal style is false.
mxPanningHandler.prototype.isPanningEnabled = function()
Returns panningEnabled.
mxPanningHandler.prototype.isPanningTrigger = function(me)
Returns true if the given event is a panning trigger for the optional given cell.
mxShape.prototype.isParseVml = function()
Specifies if any VML should be added via insertAdjacentHtml to the DOM.
mxText.prototype.isParseVml = function()
Text shapes do not contain VML markup and do not need to be parsed.
mxPanningHandler.prototype.isPinchEnabled = function()
Returns pinchEnabled.
isPopupTrigger: function(evt)
Returns true if the event is a popup trigger.
mxMouseEvent.prototype.isPopupTrigger = function()
Returns true if the event is a popup trigger.
mxPopupMenu.prototype.isPopupTrigger = function(me)
Returns true if the given event is a popupmenu trigger for the optional given cell.
mxGraph.prototype.isPort = function(cell)
Returns true if the given cell is a “port”, that is, when connecting to it, the cell returned by getTerminalForPort should be used as the terminal and the port should be referenced by the ID in either the mxConstants.STYLE_SOURCE_PORT or the or the mxConstants.STYLE_TARGET_PORT.
mxHierarchicalLayout.prototype.isPort = function(cell)
Returns true if the given cell is a “port”, that is, when connecting to it, its parent is the connecting vertex in terms of graph traversal
mxSwimlaneLayout.prototype.isPort = function(cell)
Returns true if the given cell is a “port”, that is, when connecting to it, its parent is the connecting vertex in terms of graph traversal
mxGraph.prototype.isPortsEnabled = function()
Returns portsEnabled as a boolean.
mxEditor.prototype.isPropertiesVisible = function ()
Returns true if the properties dialog is currently visible.
mxXmlRequest.prototype.isReady = function()
Returns true if the response is ready.
mxGraph.prototype.isRecursiveResize = function(state)
Returns recursiveResize.
codec.isReference = function(obj,
attr,
value,
isWrite)
Returns true for the child attribute if the child cell had a previous parent or if we’re reading the child as an attribute rather than a child node, in which case it’s always a reference.
mxObjectCodec.prototype.isReference = function(obj,
attr,
value,
write)
Returns true if the given fieldname is to be treated as a textual reference (ID).
mxUrlConverter.prototype.isRelativeUrl = function(url)
Returns true if the given URL is relative.
mxGraphHandler.prototype.isRemoveCellsFromParent = function()
Returns removeCellsFromParent.
mxEdgeHandler.prototype.isRemovePointEvent = function(evt)
Returns true if the given event is a trigger to remove a point.
mxGraphView.prototype.isRendering = function()
Returns rendering.
mxWindow.prototype.isResizable = function()
Returns true if the window is resizable.
mxGraph.prototype.isResizeContainer = function()
Returns resizeContainer.
mxSwimlaneManager.prototype.isResizeEnabled = function()
Returns resizeEnabled.
mxGraphHierarchyEdge.prototype.isReversed
Whether or not the direction of this edge has been reversed internally to create a DAG for the hierarchical layout
isRightMouseButton: function(evt)
Returns true if the right mouse button was pressed.
mxGraphModel.prototype.isRoot = function(cell)
Returns true if the given cell is the root of the model and a non-null value.
mxVertexHandler.prototype.isRotationHandleVisible = function()
Returns true if the rotation handle should be showing.
mxAnimation.prototype.isRunning = function()
Returns true if the animation is running.
mxGraphView.prototype.isScrollEvent = function(evt)
Returns true if the event origin is one of the scrollbars of the container in IE.
mxGraphSelectionModel.prototype.isSelected = function(cell)
Returns true if the given mxCell is selected.
mxGraphHandler.prototype.isSelectEnabled = function()
Returns selectEnabled.
mxEdgeHandler.prototype.isSelectionDashed = function()
Returns mxConstants.EDGE_SELECTION_DASHED.
mxVertexHandler.prototype.isSelectionDashed = function()
Returns mxConstants.VERTEX_SELECTION_DASHED.
mxGraph.prototype.isSelectionEmpty = function()
Returns true if the selection is empty.
mxPopupMenuHandler.prototype.isSelectOnPopup = function(me)
Hook for returning if a cell should be selected for a given mxMouseEvent.
mxCellEditor.prototype.isSelectText = function()
Returns selectText.
mxCellRenderer.prototype.isShapeEvent = function(state,
evt)
Returns true if the event is for the shape of the given state.
isShiftDown: function(evt)
Returns true if the shift key is pressed for the given event.
mxUndoableEdit.prototype.isSignificant = function()
Returns significant.
mxGraphSelectionModel.prototype.isSingleSelection = function()
Returns singleSelection as a boolean.
mxVertexHandler.prototype.isSizerVisible = function(index)
Returns true if the sizer for the given index is visible.
mxEdgeHandler.prototype.isSnapToTerminalsEvent = function(me)
Returns true if snapToTerminals is true and if alt is not pressed.
mxMouseEvent.prototype.isSource = function(shape)
Returns true if the given mxShape is the source of evt.
mxGraph.prototype.isSplitEnabled = function()
Returns splitEnabled as a boolean.
mxGraph.prototype.isSplitTarget = function(target,
cells,
evt)
Returns true if the given edge may be splitted into two edges with the given cell as a new terminal between the two.
mxConnectionHandler.prototype.isStartEvent = function(me)
Returns true if the given mouse down event should start this handler.
mxConstraintHandler.prototype.isStateIgnored = function(state,
source)
Returns true if the given state should be ignored.
mxCellEditor.prototype.isStopEditingEvent = function(evt)
Returns true if the given keydown event should stop cell editing.
mxConnectionHandler.prototype.isStopEvent = function(me)
Returns true if the given mouse up event should stop this handler.
mxGraph.prototype.isSwimlane = function (cell)
Returns true if the given cell is a swimlane in the graph.
mxSwimlaneManager.prototype.isSwimlaneIgnored = function(swimlane)
Returns true if the given swimlane should be ignored.
mxGraph.prototype.isSwimlaneNesting = function()
Returns swimlaneNesting as a boolean.
mxGraph.prototype.isSwimlaneSelectionEnabled = function()
Returns swimlaneSelectionEnabled as a boolean.
mxGraph.prototype.isSyntheticEventIgnored = function(evtName,
me,
sender)
Hook for ignoring synthetic mouse events after touchend in Firefox.
mxGraph.prototype.isTerminalPointMovable = function(cell,
source)
Returns true if the given terminal point is movable.
mxGraph.prototype.isToggleEvent = function(evt)
Returns true if the given event is a toggle event.
isTouchEvent: function(evt)
Returns true if the event was generated using a touch device (not a pen or mouse).
mxGraph.prototype.isValidAncestor = function(cell,
parent,
recurse)
Returns whether or not the specified parent is a valid ancestor of the specified cell, either direct or indirectly based on whether ancestor recursion is enabled.
mxGraph.prototype.isValidConnection = function(source,
target)
Returns true if the given target cell is a valid target for source.
mxGraph.prototype.isValidDropTarget = function(cell,
cells,
evt)
Returns true if the given cell is a valid drop target for the specified cells.
mxGraph.prototype.isValidRoot = function(cell)
Returns true if the given cell is a valid root for the cell display hierarchy.
mxConnectionHandler.prototype.isValidSource = function(cell,
me)
Returns mxGraph.isValidSource for the given source terminal.
mxGraph.prototype.isValidSource = function(cell)
Returns true if the given cell is a valid source for new connections.
mxCellMarker.prototype.isValidState = function(state)
Returns true if the given mxCellState is a valid state.
mxConnectionHandler.prototype.isValidTarget = function(cell)
Returns true.
mxGraph.prototype.isValidTarget = function(cell)
Returns isValidSource for the given cell.
mxCell.prototype.isVertex = function()
Returns true if the cell is a vertex.
mxGraphAbstractHierarchyCell.prototype.isVertex = function()
Returns whether or not this cell is a node
mxGraphHierarchyNode.prototype.isVertex = function()
Returns true.
mxGraphModel.prototype.isVertex = function(cell)
Returns true if the given cell is a vertex.
mxCompactTreeLayout.prototype.isVertexIgnored = function(vertex)
Returns a boolean indicating if the given mxCell should be ignored as a vertex.
mxFastOrganicLayout.prototype.isVertexIgnored = function(vertex)
Returns a boolean indicating if the given mxCell should be ignored as a vertex.
mxGraphLayout.prototype.isVertexIgnored = function(vertex)
Returns a boolean indicating if the given mxCell should be ignored by the algorithm.
mxRadialTreeLayout.prototype.isVertexIgnored = function(vertex)
Returns a boolean indicating if the given mxCell should be ignored as a vertex.
mxGraph.prototype.isVertexLabelsMovable = function()
Returns vertexLabelsMovable.
mxGraphLayout.prototype.isVertexMovable = function(cell)
Returns a boolean indicating if the given mxCell is movable or bendable by the algorithm.
mxEdgeHandler.prototype.isVirtualBendsEnabled = function(evt)
Returns true if virtual bends should be added.
mxCell.prototype.isVisible = function()
Returns true if the cell is visibile.
mxGraphModel.prototype.isVisible = function(cell)
Returns true if the given mxCell is visible.
isVisible: function()
Returns true if the console is visible.
mxWindow.prototype.isVisible = function()
Returns true if the window is visible.
isVml: function(node)
Returns true if the given node is in the VML namespace.
mxGraph.prototype.isWrapping = function(cell)
This enables wrapping for HTML labels.
mxPopupMenu.prototype.itemCount
Contains the number of times addItem has been called for a new menu.
mxFastOrganicLayout.prototype.iteration
Current iteration count.
mxMedianHybridCrossingReduction.prototype.iterationsWithoutImprovement
The total number of crossings found in the best configuration so far
@@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Variables.html b/docs/js-api/index/Variables.html index e9c1b884b..7e796f623 100644 --- a/docs/js-api/index/Variables.html +++ b/docs/js-api/index/Variables.html @@ -11,7 +11,7 @@ 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
A
 ABSOLUTE_LINE_HEIGHT, mxConstants
 absoluteOffset, mxCellState
 absolutePoints, mxCellState
 actions, mxEditor
 ACTIVATE, mxEvent
 ADD, mxEvent
 ADD_CELLS, mxEvent
 ADD_OVERLAY, mxEvent
 ADD_VERTEX, mxEvent
 addEnabled
 AFTER_ADD_VERTEX, mxEvent
 aliases, mxCodecRegistry
 align, mxCellOverlay
 ALIGN_BOTTOM, mxConstants
 ALIGN_CELLS, mxEvent
 ALIGN_CENTER, mxConstants
 ALIGN_LEFT, mxConstants
 ALIGN_MIDDLE, mxConstants
 ALIGN_RIGHT, mxConstants
 ALIGN_TOP, mxConstants
 alignRanks, mxCompactTreeLayout
 allowAutoPanning, mxGraph
 allowDanglingEdges, mxGraph
 allowedToRun, mxFastOrganicLayout
 allowEval
 allowHandleBoundsCheck
 allowLoops, mxGraph
 allowNegativeCoordinates, mxGraph
 alreadyConnectedResource, mxGraph
 alt, mxImageBundle
 alternateBounds, mxGeometry
 alternateEdgeStyle, mxGraph
 angleOffset, mxRadialTreeLayout
 antiAlias
 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
 attr, mxMultiplicity
 autoExpand, mxPopupMenu
 autoExtend, mxGraph
 autoOrigin, mxPrintPreview
 autoRadius, mxRadialTreeLayout
 autoSaveDelay, mxAutoSaveManager
 autoSaveThreshold, mxAutoSaveManager
 autoSaveThrottle, mxAutoSaveManager
 autoscroll, mxDragSource
 autoScroll, mxGraph
 autoSize, mxCellEditor
 autoSizeCells, mxGraph
 autoSizeCellsOnAdd, mxGraph
B
 backgroundImage, mxGraph
 baseDomain, mxUrlConverter
 basePath, mxClient
 baseSpacingBottom, mxText
 baseSpacingLeft, mxText
 baseSpacingRight, mxText
 baseSpacingTop, mxText
 baseUrl, mxUrlConverter
 BEFORE_ADD_VERTEX, mxEvent
 BEFORE_UNDO, mxEvent
 BEGIN_UPDATE, mxEvent
 bends, mxEdgeHandler
 bgNodes, mxStencil
 binary, mxXmlRequest
 blockImagePointerEvents, mxSvgCanvas2D
 body, mxForm
 border
 borderCollapse, mxStackLayout
 borderColor, mxPrintPreview
 boundingBox, mxShape
 bounds, mxShape
 bubbling, mxLayoutManager
 buffer, mxLog
+
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
A
 ABSOLUTE_LINE_HEIGHT, mxConstants
 absoluteOffset, mxCellState
 absolutePoints, mxCellState
 actions, mxEditor
 ACTIVATE, mxEvent
 ADD, mxEvent
 ADD_CELLS, mxEvent
 ADD_OVERLAY, mxEvent
 ADD_VERTEX, mxEvent
 addEnabled
 AFTER_ADD_VERTEX, mxEvent
 aliases, mxCodecRegistry
 align, mxCellOverlay
 ALIGN_BOTTOM, mxConstants
 ALIGN_CELLS, mxEvent
 ALIGN_CENTER, mxConstants
 ALIGN_LEFT, mxConstants
 ALIGN_MIDDLE, mxConstants
 ALIGN_RIGHT, mxConstants
 ALIGN_TOP, mxConstants
 alignRanks, mxCompactTreeLayout
 allowAutoPanning, mxGraph
 allowDanglingEdges, mxGraph
 allowedToRun, mxFastOrganicLayout
 allowEval
 allowHandleBoundsCheck
 allowLoops, mxGraph
 allowNegativeCoordinates, mxGraph
 alreadyConnectedResource, mxGraph
 alt, mxImageBundle
 alternateBounds, mxGeometry
 alternateEdgeStyle, mxGraph
 angleOffset, mxRadialTreeLayout
 antiAlias
 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
 attr, mxMultiplicity
 autoExpand, mxPopupMenu
 autoExtend, mxGraph
 autoOrigin, mxPrintPreview
 autoRadius, mxRadialTreeLayout
 autoSaveDelay, mxAutoSaveManager
 autoSaveThreshold, mxAutoSaveManager
 autoSaveThrottle, mxAutoSaveManager
 autoscroll, mxDragSource
 autoScroll, mxGraph
 autoSize, mxCellEditor
 autoSizeCells, mxGraph
 autoSizeCellsOnAdd, mxGraph
B
 backgroundImage, mxGraph
 baseDomain, mxUrlConverter
 basePath, mxClient
 baseSpacingBottom, mxText
 baseSpacingLeft, mxText
 baseSpacingRight, mxText
 baseSpacingTop, mxText
 baseUrl, mxUrlConverter
 BEFORE_ADD_VERTEX, mxEvent
 BEFORE_UNDO, mxEvent
 BEGIN_UPDATE, mxEvent
 bends, mxEdgeHandler
 bgNodes, mxStencil
 binary, mxXmlRequest
 blockImagePointerEvents, mxSvgCanvas2D
 body, mxForm
 border
 borderCollapse, mxStackLayout
 borderColor, mxPrintPreview
 boundingBox, mxShape
 bounds, mxShape
 bubbling, mxLayoutManager
 buffer, mxLog
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.
Specifies the event name for activate.
Specifies the event name for add.
Specifies the event name for addCells.
Specifies the event name for addOverlay.
Specifies the event name for addVertex.
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.
Specifies the event name for afterAddVertex.
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.
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.
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.
mxDefaultToolbarCodec.allowEval
Static global switch that specifies if the use of eval is allowed for evaluating text content.
mxGraphView.prototype.allowEval
Specifies if string values in cell styles should be evaluated using mxUtils.eval.
mxObjectCodec.allowEval
Static global switch that specifies if expressions in arrays are allowed.
mxStylesheetCodec.allowEval
Static global switch that specifies if the use of eval is allowed for evaluating text content.
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.
mxRadialTreeLayout.prototype.angleOffset
The initial offset to compute the angle position.
mxCellRenderer.prototype.antiAlias
Anti-aliasing option for new shapes.
mxShape.prototype.antiAlias
Rendering hint for configuring the canvas.
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.
mxMultiplicity.prototype.attr
Optional string that specifies the attributename to be passed to mxUtils.isNode to check if the rule applies to a cell.
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.
mxRadialTreeLayout.prototype.autoRadius
Specifies if the radios should be computed automatically
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.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.
@@ -25,7 +25,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Variables10.html b/docs/js-api/index/Variables10.html index cc41500a6..0e6e0f93a 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
N
 name, mxEventObject
 nativeDoubleClickEnabled, mxGraph
 neighbours, mxFastOrganicLayout
 nestedBestRanks, mxMedianHybridCrossingReduction
 nextId, mxGraphModel
 nextLayerConnectedCache, mxCoordinateAssignment
 nextLayerConnectedCells, mxGraphAbstractHierarchyCell
 NO_FO, mxClient
 node
 nodeDistance
 NODETYPE_ATTRIBUTE, mxConstants
 NODETYPE_CDATA, mxConstants
 NODETYPE_COMMENT, mxConstants
 NODETYPE_DOCUMENT, mxConstants
 NODETYPE_DOCUMENT_FRAGMENT, mxConstants
 NODETYPE_DOCUMENTTYPE, mxConstants
 NODETYPE_ELEMENT, mxConstants
 NODETYPE_ENTITY, mxConstants
 NODETYPE_ENTITY_REFERENCE, mxConstants
 NODETYPE_NOTATION, mxConstants
 NODETYPE_PROCESSING_INSTRUCTION, mxConstants
 NODETYPE_TEXT, mxConstants
 NONE, mxConstants
 noReset, mxToolbar
 NORMALIZE, 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
 OUTLINE_COLOR, mxConstants
 OUTLINE_HANDLE_FILLCOLOR, mxConstants
 OUTLINE_HANDLE_STROKECOLOR, mxConstants
 OUTLINE_HIGHLIGHT_COLOR, mxConstants
 OUTLINE_STROKEWIDTH, mxConstants
 outlineConnect
 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
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
 parentHighlightEnabled
 parentsChanged, mxCompactTreeLayout
 password, mxXmlRequest
 path
 PATH_SEPARATOR, mxCellPath
 perimeter, mxConnectionConstraint
 PERIMETER_ELLIPSE, mxConstants
 PERIMETER_HEXAGON, mxConstants
 PERIMETER_RECTANGLE, mxConstants
 PERIMETER_RHOMBUS, mxConstants
 PERIMETER_TRIANGLE, mxConstants
 pinchEnabled, mxPanningHandler
 point, mxConnectionConstraint
 pointerEvents
 pointerEventsValue, mxSvgCanvas2D
 pointImage, mxConstraintHandler
 points
 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
 printControls, mxPrintPreview
 printOverlays, mxPrintPreview
 properties, mxEventObject
 propertiesHeight, mxEditor
 propertiesResource, mxEditor
 propertiesWidth, mxEditor
Q
 quadOp, mxAbstractCanvas2D
-
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.
mxCompactTreeLayout.prototype.node
The internal node representation of the root cell.
mxShape.prototype.node
Holds the outermost DOM node that represents this shape.
mxCompactTreeLayout.prototype.nodeDistance
Holds the nodeDistance.
mxRadialTreeLayout.prototype.nodeDistance
Holds the nodeDistance.
DOM node of type ATTRIBUTE.
DOM node of type CDATA.
DOM node of type COMMENT.
DOM node of type DOCUMENT.
DOM node of type DOCUMENT_FRAGMENT.
DOM node of type DOCUMENTTYPE.
DOM node of type ELEMENT.
DOM node of type ENTITY.
DOM node of type ENTITY_REFERENCE.
DOM node of type NOTATION.
DOM node of type PROCESSING_INSTRUCTION.
DOM node of type TEXT.
Defines the value for none.
mxToolbar.prototype.noReset
Specifies if resetMode requires a forced flag of true for resetting the current mode in the toolbar.
Specifies the event name for normalize.
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.
+
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.
mxEdgeHandler.prototype.parentHighlightEnabled
Specifies if the parent should be highlighted if a child cell is selected.
mxVertexHandler.prototype.parentHighlightEnabled
Specifies if the parent should be highlighted if a child cell is selected.
mxCompactTreeLayout.prototype.parentsChanged
A set of the parents that need updating based on children process as part of the layout.
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 hexagon perimeter.
Name of the rectangle perimeter.
Name of the rhombus perimeter.
PERIMETER_TRIANGLE: 'trianglePerimeter' }
Name of the triangle perimeter.
mxPanningHandler.prototype.pinchEnabled
Specifies if pinch gestures should be handled as zoom.
mxConnectionConstraint.prototype.point
mxPoint that specifies the fixed location of the connection point.
mxAbstractCanvas2D.prototype.pointerEvents
Boolean value that specifies if events should be handled.
mxShape.prototype.pointerEvents
Specifies if pointer events should be handled.
mxSvgCanvas2D.prototype.pointerEventsValue
Default value for active pointer events.
mxConstraintHandler.prototype.pointImage
mxImage to be used as the image for fixed connection points.
mxGeometry.prototype.points
Array of mxPoints which specifies the control points along the edge.
mxShape.prototype.points
Holds the array of mxPoints that specify the points of this shape.
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.printControls
Specifies if controls (such as folding icons) 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.
-
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.
mxShape.prototype.outline
Specifies if the shape should be drawn as an outline.
Defines the color to be used for the outline rectangle border.
Defines the color to be used for the outline sizer fill color.
Defines the color to be used for the outline sizer stroke color.
Specifies the default highlight color for shape outlines.
Defines the strokewidth to be used for the outline rectangle stroke width.
mxConnectionHandler.prototype.outlineConnect
Specifies if connections to the outline of a highlighted target should be enabled.
mxEdgeHandler.prototype.outlineConnect
Specifies if connections to the outline of a highlighted target should be enabled.
mxEditor.prototype.outlineResource
Specifies the resource key for the outline window title.
+
mxAbstractCanvas2D.prototype.quadOp
Contains the string used for quadratic paths.
@@ -25,7 +25,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Variables11.html b/docs/js-api/index/Variables11.html index 325dffec0..8f2848c62 100644 --- a/docs/js-api/index/Variables11.html +++ b/docs/js-api/index/Variables11.html @@ -11,13 +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
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
 parentHighlightEnabled
 parentsChanged, mxCompactTreeLayout
 password, mxXmlRequest
 path
 PATH_SEPARATOR, mxCellPath
 perimeter, mxConnectionConstraint
 PERIMETER_ELLIPSE, mxConstants
 PERIMETER_HEXAGON, mxConstants
 PERIMETER_RECTANGLE, mxConstants
 PERIMETER_RHOMBUS, mxConstants
 PERIMETER_TRIANGLE, mxConstants
 pinchEnabled, mxPanningHandler
 point, mxConnectionConstraint
 pointerEvents
 pointerEventsValue, mxSvgCanvas2D
 pointImage, mxConstraintHandler
 points
 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
 printControls, 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
R
 radius
 radiusSquared, mxFastOrganicLayout
 rankBottomY, mxCoordinateAssignment
 rankIndex, WeightedCellSorter
 ranks
 ranksPerGroup, mxSwimlaneModel
 rankTopY, mxCoordinateAssignment
 rankWidths, mxCoordinateAssignment
 rankY, mxCoordinateAssignment
 RECEIVE, mxEvent
 RECTANGLE_ROUNDING_FACTOR, mxConstants
 recursiveResize, mxGraph
 REDO, mxEvent
 redone, mxUndoableEdit
 refCount, mxSvgCanvas2D
 REFRESH, mxEvent
 refreshHandler, mxSelectionCellsHandler
 relative, mxGeometry
 REMOVE, mxEvent
 REMOVE_CELLS, mxEvent
 REMOVE_CELLS_FROM_PARENT, mxEvent
 REMOVE_OVERLAY, mxEvent
 removeCellsFromParent, mxGraphHandler
 removeEnabled, mxEdgeHandler
 renderHint, mxGraph
 rendering, mxGraphView
 RENDERING_HINT_EXACT, mxConstants
 RENDERING_HINT_FASTER, mxConstants
 RENDERING_HINT_FASTEST, mxConstants
 replaceLinefeeds, mxText
 request, mxXmlRequest
 RESET, mxEvent
 resetEdges
 resetEdgesOnConnect, mxGraph
 resetEdgesOnMove, mxGraph
 resetEdgesOnResize, mxGraph
 resetHandler
 resetViewOnRootChange, mxGraph
 RESIZE, mxEvent
 RESIZE_CELLS, mxEvent
 RESIZE_END, mxEvent
 RESIZE_START, mxEvent
 resizeContainer, mxGraph
 resizeEnabled, mxSwimlaneManager
 resizeLast, mxStackLayout
 resizeParent
 resizeParentMax, mxStackLayout
 resizeVertices, mxPartitionLayout
 resources, mxResources
 resourcesEncoded, mxResources
 RESUME, mxEvent
 reverse, mxObjectCodec
 root
 ROOT, mxEvent
 roots
 rootx, mxRadialTreeLayout
 rooty, mxRadialTreeLayout
 rotatedHtmlBackground, mxVmlCanvas2D
 rotateHtml, mxAbstractCanvas2D
 ROTATION_HANDLE, mxEvent
 rotationCursor, mxVertexHandler
 rotationEnabled
 rotationHandleVSpacing, mxVertexHandler
 rotationRaster, mxVertexHandler
 row, mxRadialTreeLayout
 rowMaxCenX, mxRadialTreeLayout
 rowMaxX, mxRadialTreeLayout
 rowMinCenX, mxRadialTreeLayout
 rowMinX, mxRadialTreeLayout
 rowRadi, mxRadialTreeLayout
-
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.
mxEdgeHandler.prototype.parentHighlightEnabled
Specifies if the parent should be highlighted if a child cell is selected.
mxVertexHandler.prototype.parentHighlightEnabled
Specifies if the parent should be highlighted if a child cell is selected.
mxCompactTreeLayout.prototype.parentsChanged
A set of the parents that need updating based on children process as part of the layout.
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 hexagon perimeter.
Name of the rectangle perimeter.
Name of the rhombus perimeter.
PERIMETER_TRIANGLE: 'trianglePerimeter' }
Name of the triangle perimeter.
mxPanningHandler.prototype.pinchEnabled
Specifies if pinch gestures should be handled as zoom.
mxConnectionConstraint.prototype.point
mxPoint that specifies the fixed location of the connection point.
mxAbstractCanvas2D.prototype.pointerEvents
Boolean value that specifies if events should be handled.
mxShape.prototype.pointerEvents
Specifies if pointer events should be handled.
mxSvgCanvas2D.prototype.pointerEventsValue
Default value for active pointer events.
mxConstraintHandler.prototype.pointImage
mxImage to be used as the image for fixed connection points.
mxGeometry.prototype.points
Array of mxPoints which specifies the control points along the edge.
mxShape.prototype.points
Holds the array of mxPoints that specify the points of this shape.
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.printControls
Specifies if controls (such as folding icons) 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.
+
mxCircleLayout.prototype.radius
Integer specifying the size of the radius.
mxFastOrganicLayout.prototype.radius
The approximate radius of each cell, nodes only.
mxFastOrganicLayout.prototype.radiusSquared
The approximate radius squared of each cell, nodes only.
mxCoordinateAssignment.prototype.rankBottomY
Internal cache of bottom-most value of Y for each rank
WeightedCellSorter.prototype.rankIndex
The index this cell is in the model rank.
mxGraphHierarchyModel.prototype.ranks
Mapping from rank number to actual rank
mxSwimlaneModel.prototype.ranks
Mapping from rank number to actual rank
mxSwimlaneModel.prototype.ranksPerGroup
An array of the number of ranks within each swimlane
mxCoordinateAssignment.prototype.rankTopY
Internal cache of top-most values of Y for each rank
mxCoordinateAssignment.prototype.rankWidths
The width of all the ranks
mxCoordinateAssignment.prototype.rankY
The Y-coordinate of all the ranks
Specifies the event name for receive.
Defines the rounding factor for rounded rectangles in percent between 0 and 1.
mxGraph.prototype.recursiveResize
Specifies the return value for isRecursiveResize.
Specifies the event name for redo.
mxUndoableEdit.prototype.redone
Specifies if this edit has been redone.
mxSvgCanvas2D.prototype.refCount
Local counter for references in SVG export.
Specifies the event name for refresh.
mxSelectionCellsHandler.prototype.refreshHandler
Keeps a reference to an event listener for later removal.
mxGeometry.prototype.relative
Specifies if the coordinates in the geometry are to be interpreted as relative coordinates.
Specifies the event name for remove.
Specifies the event name for removeCells.
Specifies the event name for removeCellsFromParent.
Specifies the event name for removeOverlay.
mxGraphHandler.prototype.removeCellsFromParent
Specifies if cells may be moved out of their parents.
mxEdgeHandler.prototype.removeEnabled
Specifies if removing bends by shift-click is enabled.
mxGraph.prototype.renderHint
RenderHint as it was passed to the constructor.
mxGraphView.prototype.rendering
Specifies if shapes should be created, updated and destroyed using the methods of mxCellRenderer in graph.
Defines the exact rendering hint.
Defines the faster rendering hint.
Defines the fastest rendering hint.
mxText.prototype.replaceLinefeeds
Specifies if linefeeds in HTML labels should be replaced with BR tags.
mxXmlRequest.prototype.request
Holds the inner, browser-specific request object.
RESET: 'reset' }
Specifies the event name for reset.
mxCircleLayout.prototype.resetEdges
Specifies if all edge points of traversed edges should be removed.
mxCompactTreeLayout.prototype.resetEdges
Specifies if all edge points of traversed edges should be removed.
mxFastOrganicLayout.prototype.resetEdges
Specifies if all edge points of traversed edges should be removed.
mxGraph.prototype.resetEdgesOnConnect
Specifies if edge control points should be reset after the the edge has been reconnected.
mxGraph.prototype.resetEdgesOnMove
Specifies if edge control points should be reset after the move of a connected cell.
mxGraph.prototype.resetEdgesOnResize
Specifies if edge control points should be reset after the resize of a connected cell.
mxCellHighlight.prototype.resetHandler
Holds the handler that automatically invokes reset if the highlight should be hidden.
mxDefaultToolbar.prototype.resetHandler
Reference to the function used to reset the toolbar.
mxGraph.prototype.resetViewOnRootChange
Specifies if the scale and translate should be reset if the root changes in the model.
Specifies the event name for resize.
Specifies the event name for resizeCells.
Specifies the event name for resizeEnd.
Specifies the event name for resizeStart.
mxGraph.prototype.resizeContainer
Specifies if the container should be resized to the graph size when the graph size has changed.
mxSwimlaneManager.prototype.resizeEnabled
Specifies if resizing of swimlanes should be handled.
mxStackLayout.prototype.resizeLast
If the last element should be resized to fill out the parent.
mxCompactTreeLayout.prototype.resizeParent
If the parents should be resized to match the width/height of the children.
mxHierarchicalLayout.prototype.resizeParent
Specifies if the parent should be resized after the layout so that it contains all the child cells.
mxStackLayout.prototype.resizeParent
If the parent should be resized to match the width/height of the stack.
mxSwimlaneLayout.prototype.resizeParent
Specifies if the parent should be resized after the layout so that it contains all the child cells.
mxStackLayout.prototype.resizeParentMax
Use maximum of existing value and new value for resize of parent.
mxPartitionLayout.prototype.resizeVertices
Boolean that specifies if vertices should be resized.
Associative array that maps from keys to values.
Specifies whether or not values in resource files are encoded with \u or percentage.
Specifies the event name for suspend.
mxObjectCodec.prototype.reverse
Maps from from XML attribute names to fieldnames.
mxCompactTreeLayout.prototype.root
The cell to use as the root of the tree
mxGraphModel.prototype.root
Holds the root cell, which in turn contains the cells that represent the layers of the diagram as child cells.
this.root
Reference to the container for the SVG content.
this.root
Reference to the container for the SVG content.
this.root
Reference to the container for the SVG content.
Specifies the event name for root.
mxGraphHierarchyModel.prototype.roots
Store of roots of this hierarchy model, these are real graph cells, not internal cells
mxHierarchicalLayout.prototype.roots
Holds the array of mxCell that this layout contains.
mxSwimlaneLayout.prototype.roots
Holds the array of mxCell that this layout contains.
mxSwimlaneModel.prototype.roots
Store of roots of this hierarchy model, these are real graph cells, not internal cells
mxRadialTreeLayout.prototype.rootx
The X co-ordinate of the root cell
mxRadialTreeLayout.prototype.rooty
The Y co-ordinate of the root cell
mxVmlCanvas2D.prototype.rotatedHtmlBackground
Background color for rotated HTML.
mxAbstractCanvas2D.prototype.rotateHtml
Switch for rotation of HTML.
Index for the rotation handle in an mxMouseEvent.
mxVertexHandler.prototype.rotationCursor
Specifies the cursor for the rotation handle.
mxGraphHandler.prototype.rotationEnabled
Specifies if the bounding box should allow for rotation.
mxVertexHandler.prototype.rotationEnabled
Specifies if a rotation handle should be visible.
mxVertexHandler.prototype.rotationHandleVSpacing
Vertical spacing for rotation icon.
mxVertexHandler.prototype.rotationRaster
Specifies if rotation steps should be “rasterized” depening on the distance to the handle.
mxRadialTreeLayout.prototype.row
Array of vertices on each row
mxRadialTreeLayout.prototype.rowMaxCenX
Array of x coordinate of rightmost vertex of each row
mxRadialTreeLayout.prototype.rowMaxX
Array of rightmost x coordinate of each row
mxRadialTreeLayout.prototype.rowMinCenX
Array of x coordinate of leftmost vertex of each row
mxRadialTreeLayout.prototype.rowMinX
Array of leftmost x coordinate of each row
mxRadialTreeLayout.prototype.rowRadi
Array of y deltas of each row behind root vertex, also the radius in the tree
@@ -25,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Variables12.html b/docs/js-api/index/Variables12.html index 8df4fa178..a8b80ddc7 100644 --- a/docs/js-api/index/Variables12.html +++ b/docs/js-api/index/Variables12.html @@ -11,9 +11,9 @@ if (browserType) {document.write("
");if (browserV -
Variable Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
R
 radius
 radiusSquared, mxFastOrganicLayout
 rankBottomY, mxCoordinateAssignment
 rankIndex, WeightedCellSorter
 ranks
 ranksPerGroup, mxSwimlaneModel
 rankTopY, mxCoordinateAssignment
 rankWidths, mxCoordinateAssignment
 rankY, mxCoordinateAssignment
 RECEIVE, mxEvent
 RECTANGLE_ROUNDING_FACTOR, mxConstants
 recursiveResize, mxGraph
 REDO, mxEvent
 redone, mxUndoableEdit
 refCount, mxSvgCanvas2D
 REFRESH, mxEvent
 refreshHandler, mxSelectionCellsHandler
 relative, mxGeometry
 REMOVE, mxEvent
 REMOVE_CELLS, mxEvent
 REMOVE_CELLS_FROM_PARENT, mxEvent
 REMOVE_OVERLAY, mxEvent
 removeCellsFromParent, mxGraphHandler
 removeEnabled, mxEdgeHandler
 renderHint, mxGraph
 rendering, mxGraphView
 RENDERING_HINT_EXACT, mxConstants
 RENDERING_HINT_FASTER, mxConstants
 RENDERING_HINT_FASTEST, mxConstants
 replaceLinefeeds, mxText
 request, mxXmlRequest
 RESET, mxEvent
 resetEdges
 resetEdgesOnConnect, mxGraph
 resetEdgesOnMove, mxGraph
 resetEdgesOnResize, mxGraph
 resetHandler
 resetViewOnRootChange, mxGraph
 RESIZE, mxEvent
 RESIZE_CELLS, mxEvent
 RESIZE_END, mxEvent
 RESIZE_START, mxEvent
 resizeContainer, mxGraph
 resizeEnabled, mxSwimlaneManager
 resizeHandler, mxSpaceManager
 resizeLast, mxStackLayout
 resizeParent
 resizeVertices, mxPartitionLayout
 resources, mxResources
 resourcesEncoded, mxResources
 RESUME, mxEvent
 reverse, mxObjectCodec
 root
 ROOT, mxEvent
 roots
 rootx, mxRadialTreeLayout
 rooty, mxRadialTreeLayout
 rotatedHtmlBackground, mxVmlCanvas2D
 rotateHtml, mxAbstractCanvas2D
 ROTATION_HANDLE, mxEvent
 rotationCursor, mxVertexHandler
 rotationEnabled
 rotationHandleVSpacing, mxVertexHandler
 rotationRaster, mxVertexHandler
 row, mxRadialTreeLayout
 rowMaxCenX, mxRadialTreeLayout
 rowMaxX, mxRadialTreeLayout
 rowMinCenX, mxRadialTreeLayout
 rowMinX, mxRadialTreeLayout
 rowRadi, mxRadialTreeLayout
+
Variable Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
S
 SAVE, mxEvent
 scale
 SCALE, mxEvent
 SCALE_AND_TRANSLATE, mxEvent
 scaleGrid, mxGraphHandler
 screenX, mxPopupMenuHandler
 screenY, mxPopupMenuHandler
 scrollOnMove, mxGraphHandler
 segments, mxCellState
 select, mxConnectionHandler
 SELECT, mxEvent
 selectEnabled, mxGraphHandler
 SELECTION_DASHED, mxConstants
 selectionModel, mxGraph
 selectOnPopup, mxPopupMenuHandler
 selectText, mxCellEditor
 SHADOW_OFFSET_X, mxConstants
 SHADOW_OFFSET_Y, mxConstants
 SHADOW_OPACITY, mxConstants
 SHADOWCOLOR, mxConstants
 shape
 SHAPE_ACTOR, mxConstants
 SHAPE_ARROW, mxConstants
 SHAPE_ARROW_CONNECTOR, mxConstants
 SHAPE_CLOUD, mxConstants
 SHAPE_CONNECTOR, mxConstants
 SHAPE_CYLINDER, mxConstants
 SHAPE_DOUBLE_ELLIPSE, mxConstants
 SHAPE_ELLIPSE, mxConstants
 SHAPE_HEXAGON, mxConstants
 SHAPE_IMAGE, mxConstants
 SHAPE_LABEL, mxConstants
 SHAPE_LINE, mxConstants
 SHAPE_RECTANGLE, mxConstants
 SHAPE_RHOMBUS, mxConstants
 SHAPE_SWIMLANE, mxConstants
 SHAPE_TRIANGLE, mxConstants
 shapePointerEvents, mxShape
 sharedDiv, mxRubberband
 shiftKeys, mxKeyHandler
 SHOW, mxEvent
 showViewport, mxOutline
 significant, mxUndoableEdit
 singleSelection, mxGraphSelectionModel
 singleSizer, mxVertexHandler
 size, mxUndoManager
 SIZE, mxEvent
 sizerImage, mxOutline
 smartSeparators, mxPopupMenu
 snapToTerminals, mxEdgeHandler
 sortEdges
 source
 sourcePoint, mxGeometry
 SOURCESCANSTARTRANK
 spacing
 SPLIT_EDGE, mxEvent
 splitEnabled, mxGraph
 src, mxImage
 START, mxEvent
 START_EDIT, mxEvent
 START_EDITING, mxEvent
 startX, mxPanningHandler
 startY, mxPanningHandler
 state
 states
 status, mxEditor
 stencil, mxShape
 stencilPointerEvents, mxShape
 step, mxMorphing
 steps, mxMorphing
 STEPSIZE, mxClipboard
 straightRemoveEnabled, mxEdgeHandler
 strokeTolerance, mxSvgCanvas2D
 strokewidth, mxStencil
 style
 STYLE_ALIGN, mxConstants
 STYLE_ARCSIZE, mxConstants
 STYLE_ASPECT, mxConstants
 STYLE_AUTOSIZE, mxConstants
 STYLE_BENDABLE, mxConstants
 STYLE_CLONEABLE, mxConstants
 STYLE_CURVED, mxConstants
 STYLE_DASHED, mxConstants
 STYLE_DELETABLE, mxConstants
 STYLE_DIRECTION, mxConstants
 STYLE_EDGE, mxConstants
 STYLE_EDITABLE, mxConstants
 STYLE_ELBOW, mxConstants
 STYLE_ENDARROW, mxConstants
 STYLE_ENDFILL, mxConstants
 STYLE_ENDSIZE, mxConstants
 STYLE_ENTRY_PERIMETER, mxConstants
 STYLE_ENTRY_X, mxConstants
 STYLE_ENTRY_Y, mxConstants
 STYLE_EXIT_PERIMETER, mxConstants
 STYLE_EXIT_X, mxConstants
 STYLE_EXIT_Y, mxConstants
 STYLE_FILLCOLOR, mxConstants
 STYLE_FLIPH, mxConstants
 STYLE_FLIPV, mxConstants
 STYLE_FOLDABLE, mxConstants
 STYLE_FONTCOLOR, mxConstants
 STYLE_FONTFAMILY, mxConstants
 STYLE_FONTSIZE, mxConstants
 STYLE_FONTSTYLE, mxConstants
 STYLE_GLASS, mxConstants
 STYLE_GRADIENT_DIRECTION, mxConstants
 STYLE_GRADIENTCOLOR, mxConstants
 STYLE_HORIZONTAL, mxConstants
 STYLE_IMAGE, mxConstants
 STYLE_IMAGE_ALIGN, mxConstants
 STYLE_IMAGE_ASPECT, mxConstants
 STYLE_IMAGE_BACKGROUND, mxConstants
 STYLE_IMAGE_BORDER, mxConstants
 STYLE_IMAGE_HEIGHT, mxConstants
 STYLE_IMAGE_VERTICAL_ALIGN, mxConstants
 STYLE_IMAGE_WIDTH, mxConstants
 STYLE_INDICATOR_COLOR, mxConstants
 STYLE_INDICATOR_DIRECTION, mxConstants
 STYLE_INDICATOR_GRADIENTCOLOR, mxConstants
 STYLE_INDICATOR_HEIGHT, mxConstants
 STYLE_INDICATOR_IMAGE, mxConstants
 STYLE_INDICATOR_SHAPE, mxConstants
 STYLE_INDICATOR_SPACING, mxConstants
 STYLE_INDICATOR_STROKECOLOR, mxConstants
 STYLE_INDICATOR_WIDTH, mxConstants
 STYLE_LABEL_BACKGROUNDCOLOR, mxConstants
 STYLE_LABEL_BORDERCOLOR, mxConstants
 STYLE_LABEL_PADDING, mxConstants
 STYLE_LABEL_POSITION, mxConstants
 STYLE_LABEL_WIDTH, mxConstants
 STYLE_LOOP, mxConstants
 STYLE_MARGIN, mxConstants
 STYLE_MOVABLE, mxConstants
 STYLE_NOEDGESTYLE, mxConstants
 STYLE_NOLABEL, mxConstants
 STYLE_OPACITY, mxConstants
 STYLE_ORTHOGONAL, mxConstants
 STYLE_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_FILLCOLOR, mxConstants
 STYLE_SWIMLANE_LINE, mxConstants
 STYLE_TARGET_PERIMETER_SPACING, mxConstants
 STYLE_TARGET_PORT, mxConstants
 STYLE_TEXT_DIRECTION, mxConstants
 STYLE_TEXT_OPACITY, mxConstants
 STYLE_VERTICAL_ALIGN, mxConstants
 STYLE_VERTICAL_LABEL_POSITION, mxConstants
 STYLE_WHITE_SPACE, mxConstants
 styleEnabled, mxSvgCanvas2D
 stylesheet, mxGraph
 submenuImage, mxPopupMenu
 SUSPEND, mxEvent
 suspended, mxOutline
 svgPointerEvents, mxShape
 svgStrokeTolerance
 swimlaneIndicatorColorAttribute, mxGraph
 swimlaneNesting, mxGraph
 swimlaneRequired, mxEditor
 swimlanes, mxSwimlaneLayout
 swimlaneSelectionEnabled, mxGraph
 swimlaneSpacing, mxEditor
-
mxCircleLayout.prototype.radius
Integer specifying the size of the radius.
mxFastOrganicLayout.prototype.radius
The approximate radius of each cell, nodes only.
mxFastOrganicLayout.prototype.radiusSquared
The approximate radius squared of each cell, nodes only.
mxCoordinateAssignment.prototype.rankBottomY
Internal cache of bottom-most value of Y for each rank
WeightedCellSorter.prototype.rankIndex
The index this cell is in the model rank.
mxGraphHierarchyModel.prototype.ranks
Mapping from rank number to actual rank
mxSwimlaneModel.prototype.ranks
Mapping from rank number to actual rank
mxSwimlaneModel.prototype.ranksPerGroup
An array of the number of ranks within each swimlane
mxCoordinateAssignment.prototype.rankTopY
Internal cache of top-most values of Y for each rank
mxCoordinateAssignment.prototype.rankWidths
The width of all the ranks
mxCoordinateAssignment.prototype.rankY
The Y-coordinate of all the ranks
Specifies the event name for receive.
Defines the rounding factor for rounded rectangles in percent between 0 and 1.
mxGraph.prototype.recursiveResize
Specifies the return value for isRecursiveResize.
Specifies the event name for redo.
mxUndoableEdit.prototype.redone
Specifies if this edit has been redone.
mxSvgCanvas2D.prototype.refCount
Local counter for references in SVG export.
Specifies the event name for refresh.
mxSelectionCellsHandler.prototype.refreshHandler
Keeps a reference to an event listener for later removal.
mxGeometry.prototype.relative
Specifies if the coordinates in the geometry are to be interpreted as relative coordinates.
Specifies the event name for remove.
Specifies the event name for removeCells.
Specifies the event name for removeCellsFromParent.
Specifies the event name for removeOverlay.
mxGraphHandler.prototype.removeCellsFromParent
Specifies if cells may be moved out of their parents.
mxEdgeHandler.prototype.removeEnabled
Specifies if removing bends by shift-click is enabled.
mxGraph.prototype.renderHint
RenderHint as it was passed to the constructor.
mxGraphView.prototype.rendering
Specifies if shapes should be created, updated and destroyed using the methods of mxCellRenderer in graph.
Defines the exact rendering hint.
Defines the faster rendering hint.
Defines the fastest rendering hint.
mxText.prototype.replaceLinefeeds
Specifies if linefeeds in HTML labels should be replaced with BR tags.
mxXmlRequest.prototype.request
Holds the inner, browser-specific request object.
RESET: 'reset' }
Specifies the event name for reset.
mxCircleLayout.prototype.resetEdges
Specifies if all edge points of traversed edges should be removed.
mxCompactTreeLayout.prototype.resetEdges
Specifies if all edge points of traversed edges should be removed.
mxFastOrganicLayout.prototype.resetEdges
Specifies if all edge points of traversed edges should be removed.
mxGraph.prototype.resetEdgesOnConnect
Specifies if edge control points should be reset after the the edge has been reconnected.
mxGraph.prototype.resetEdgesOnMove
Specifies if edge control points should be reset after the move of a connected cell.
mxGraph.prototype.resetEdgesOnResize
Specifies if edge control points should be reset after the resize of a connected cell.
mxCellHighlight.prototype.resetHandler
Holds the handler that automatically invokes reset if the highlight should be hidden.
mxDefaultToolbar.prototype.resetHandler
Reference to the function used to reset the toolbar.
mxGraph.prototype.resetViewOnRootChange
Specifies if the scale and translate should be reset if the root changes in the model.
Specifies the event name for resize.
Specifies the event name for resizeCells.
Specifies the event name for resizeEnd.
Specifies the event name for resizeStart.
mxGraph.prototype.resizeContainer
Specifies if the container should be resized to the graph size when the graph size has changed.
mxSwimlaneManager.prototype.resizeEnabled
Specifies if resizing of swimlanes should be handled.
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.
mxCompactTreeLayout.prototype.root
The cell to use as the root of the tree
mxGraphModel.prototype.root
Holds the root cell, which in turn contains the cells that represent the layers of the diagram as child cells.
this.root
Reference to the container for the SVG content.
this.root
Reference to the container for the SVG content.
this.root
Reference to the container for the SVG content.
Specifies the event name for root.
mxGraphHierarchyModel.prototype.roots
Store of roots of this hierarchy model, these are real graph cells, not internal cells
mxHierarchicalLayout.prototype.roots
Holds the array of mxCell that this layout contains.
mxSwimlaneLayout.prototype.roots
Holds the array of mxCell that this layout contains.
mxSwimlaneModel.prototype.roots
Store of roots of this hierarchy model, these are real graph cells, not internal cells
mxRadialTreeLayout.prototype.rootx
The X co-ordinate of the root cell
mxRadialTreeLayout.prototype.rooty
The Y co-ordinate of the root cell
mxVmlCanvas2D.prototype.rotatedHtmlBackground
Background color for rotated HTML.
mxAbstractCanvas2D.prototype.rotateHtml
Switch for rotation of HTML.
Index for the rotation handle in an mxMouseEvent.
mxVertexHandler.prototype.rotationCursor
Specifies the cursor for the rotation handle.
mxGraphHandler.prototype.rotationEnabled
Specifies if the bounding box should allow for rotation.
mxVertexHandler.prototype.rotationEnabled
Specifies if a rotation handle should be visible.
mxVertexHandler.prototype.rotationHandleVSpacing
Vertical spacing for rotation icon.
mxVertexHandler.prototype.rotationRaster
Specifies if rotation steps should be “rasterized” depening on the distance to the handle.
mxRadialTreeLayout.prototype.row
Array of vertices on each row
mxRadialTreeLayout.prototype.rowMaxCenX
Array of x coordinate of rightmost vertex of each row
mxRadialTreeLayout.prototype.rowMaxX
Array of rightmost x coordinate of each row
mxRadialTreeLayout.prototype.rowMinCenX
Array of x coordinate of leftmost vertex of each row
mxRadialTreeLayout.prototype.rowMinX
Array of leftmost x coordinate of each row
mxRadialTreeLayout.prototype.rowRadi
Array of y deltas of each row behind root vertex, also the radius in the tree
+
Specifies the event name for open.
mxGraphView.prototype.scale
Specifies the scale.
mxPrintPreview.prototype.scale
Holds the scale of the print preview.
mxShape.prototype.scale
Holds the scale in which the shape is being painted.
Specifies the event name for scale.
Specifies the event name for scaleAndTranslate.
mxGraphHandler.prototype.scaleGrid
Specifies if the grid should be scaled.
mxPopupMenuHandler.prototype.screenX
Screen X-coordinate of the mouse down event.
mxPopupMenuHandler.prototype.screenY
Screen Y-coordinate of the mouse down event.
mxGraphHandler.prototype.scrollOnMove
Specifies if the view should be scrolled so that a moved cell is visible.
mxCellState.prototype.segments
Array of numbers that represent the cached length of each segment of the edge.
mxConnectionHandler.prototype.select
Specifies if new edges should be selected.
Specifies the event name for select.
mxGraphHandler.prototype.selectEnabled
Specifies if selecting is enabled.
Defines the dashed state to be used for the vertex selection border.
mxGraph.prototype.selectionModel
Holds the mxGraphSelectionModel that models the current selection.
mxPopupMenuHandler.prototype.selectOnPopup
Specifies if cells should be selected if a popupmenu is displayed for them.
mxCellEditor.prototype.selectText
Specifies if the text should be selected when editing starts.
Specifies the x-offset of the shadow.
Specifies the y-offset of the shadow.
Defines the opacity for shadows.
Defines the color to be used to draw shadows in shapes and windows.
mxCellState.prototype.shape
Holds the mxShape that represents the cell graphically.
mxEdgeHandler.prototype.shape
Holds the mxShape that represents the preview edge.
mxGraphHandler.prototype.shape
Reference to the mxShape that represents the preview.
Name under which mxActor is registered in mxCellRenderer.
Name under which mxArrow is registered in mxCellRenderer.
Name under which mxArrowConnector is registered in mxCellRenderer.
Name under which mxCloud is registered in mxCellRenderer.
Name under which mxConnector is registered in mxCellRenderer.
Name under which mxCylinder is registered in mxCellRenderer.
Name under which mxDoubleEllipse is registered in mxCellRenderer.
Name under which mxEllipse is registered in mxCellRenderer.
Name under which mxHexagon is registered in mxCellRenderer.
Name under which mxImageShape is registered in mxCellRenderer.
Name under which mxLabel is registered in mxCellRenderer.
Name under which mxLine is registered in mxCellRenderer.
Name under which mxRectangleShape is registered in mxCellRenderer.
Name under which mxRhombus is registered in mxCellRenderer.
Name under which mxSwimlane is registered in mxCellRenderer.
Name under which mxTriangle is registered in mxCellRenderer.
mxShape.prototype.shapePointerEvents
Specifies if pointer events outside of shape should be handled.
mxRubberband.prototype.sharedDiv
Holds the DIV element which is used to display the rubberband.
mxKeyHandler.prototype.shiftKeys
Maps from keycodes to functions for pressed shift keys.
Specifies the event name for show.
mxOutline.prototype.showViewport
Specifies a viewport rectangle should be shown.
mxUndoableEdit.prototype.significant
Specifies if the undoable change is significant.
mxGraphSelectionModel.prototype.singleSelection
Specifies if only one selected item at a time is allowed.
mxVertexHandler.prototype.singleSizer
Specifies if only one sizer handle at the bottom, right corner should be used.
mxUndoManager.prototype.size
Maximum command history size.
Specifies the event name for size.
mxOutline.prototype.sizerImage
Optional mxImage to be used for the sizer.
mxPopupMenu.prototype.smartSeparators
Specifies if separators should only be added if a menu item follows them.
mxEdgeHandler.prototype.snapToTerminals
Specifies if waypoints should snap to the routing centers of terminals.
mxCompactTreeLayout.prototype.sortEdges
Specifies if edges should be sorted according to the order of their opposite terminal cell in the model.
mxRadialTreeLayout.prototype.sortEdges
Specifies if edges should be sorted according to the order of their opposite terminal cell in the model.
mxCell.prototype.source
Reference to the source terminal.
mxGraphHierarchyEdge.prototype.source
The node this edge is sourced at
mxMultiplicity.prototype.source
Boolean that specifies if the rule is applied to the source or target terminal of an edge.
mxUndoableEdit.prototype.source
Specifies the source of the edit.
mxGeometry.prototype.sourcePoint
Defines the source mxPoint of the edge.
mxGraphHierarchyModel.prototype.SOURCESCANSTARTRANK
High value to start source layering scan rank value from.
mxSwimlaneModel.prototype.SOURCESCANSTARTRANK
High value to start source layering scan rank value from.
mxCellHighlight.prototype.spacing
Specifies the spacing between the highlight for vertices and the vertex.
mxDefaultToolbar.prototype.spacing
Defines the spacing between existing and new vertices in gridSize units when a new vertex is dropped on an existing cell.
mxLabel.prototype.spacing
Default value for image spacing.
mxParallelEdgeLayout.prototype.spacing
Defines the spacing between the parallels.
mxPartitionLayout.prototype.spacing
Integer that specifies the absolute spacing in pixels between the children.
mxStackLayout.prototype.spacing
Specifies the spacing between the cells.
Specifies the event name for splitEdge.
mxGraph.prototype.splitEnabled
Specifies if dropping onto edges should be enabled.
mxImage.prototype.src
String that specifies the URL of the image.
Specifies the event name for start.
Specifies the event name for startEdit.
Specifies the event name for startEditing.
mxPanningHandler.prototype.startX
Holds the x-coordinate of the start point.
mxPanningHandler.prototype.startY
Holds the y-coordinate of the start point.
mxAbstractCanvas2D.prototype.state
Holds the current state.
mxCellHighlight.prototype.state
Reference to the mxCellState.
mxEdgeHandler.prototype.state
Reference to the mxCellState being modified.
mxMouseEvent.prototype.state
Holds the optional mxCellState associated with this event.
mxShape.prototype.state
Optional reference to the corresponding mxCellState.
mxVertexHandler.prototype.state
Reference to the mxCellState being modified.
mxAbstractCanvas2D.prototype.states
Stack of states.
mxGuide.prototype.states
Contains the mxCellStates that are used for alignment.
mxEditor.prototype.status
DOM container that holds the statusbar.
mxShape.prototype.stencil
Holds the mxStencil that defines the shape.
mxShape.prototype.stencilPointerEvents
Specifies if pointer events outside of stencils should be handled.
mxMorphing.prototype.step
Contains the current step.
mxMorphing.prototype.steps
Specifies the maximum number of steps for the morphing.
Defines the step size to offset the cells after each paste operation.
mxEdgeHandler.prototype.straightRemoveEnabled
Specifies if removing bends by creating straight segments should be enabled.
mxSvgCanvas2D.prototype.strokeTolerance
Adds transparent paths for strokes.
mxStencil.prototype.strokewidth
Holds the strokewidth direction from the description.
mxCell.prototype.style
Holds the style as a string of the form [(stylename|key=value);].
mxCellState.prototype.style
Contains an array of key, value pairs that represent the style of the cell.
mxShape.prototype.style
Optional reference to the style of the corresponding mxCellState.
Defines the key for the align style.
Defines the rounding factor for a rounded rectangle in percent (without the percent sign).
Defines the key for the aspect style.
Defines the key for the autosize style.
Defines the key for the bendable style.
Defines the key for the cloneable style.
Defines the key for the curved style.
Defines the key for the dashed style.
Defines the key for the deletable style.
Defines the key for the direction style.
Defines the key for the edge style.
Defines the key for the editable style.
Defines the key for the elbow style.
Defines the key for the end arrow marker.
Defines the key for the endFill style.
Defines the key for the endSize style.
Defines if the perimeter should be used to find the exact entry point along the perimeter of the target.
Defines the key for the horizontal relative coordinate connection point of an edge with its target terminal.
Defines the key for the vertical relative coordinate connection point of an edge with its target terminal.
Defines if the perimeter should be used to find the exact entry point along the perimeter of the source.
Defines the key for the horizontal relative coordinate connection point of an edge with its source terminal.
Defines the key for the vertical relative coordinate connection point of an edge with its source terminal.
Defines the key for the fill color.
Defines the key for the horizontal image flip.
Defines the key for the vertical flip.
Defines the key for the foldable style.
Defines the key for the fontColor style.
Defines the key for the fontFamily style.
Defines the key for the fontSize style (in points).
Defines the key for the fontStyle style.
Defines the key for the glass style.
Defines the key for the gradient direction.
Defines the key for the gradient color.
Defines the key for the horizontal style.
Defines the key for the image style.
Defines the key for the align style.
Defines the key for the image aspect style.
Defines the key for the image background color.
Defines the key for the image border color.
Defines the key for the imageHeight style.
Defines the key for the verticalAlign style.
Defines the key for the imageWidth style.
Defines the key for the indicatorColor style.
Defines the key for the indicatorDirection style.
Defines the key for the indicatorGradientColor style.
Defines the key for the indicator height.
Defines the key for the indicator image used within an mxLabel.
Defines the key for the indicator shape used within an mxLabel.
The defines the key for the spacing between the label and the indicator in mxLabel.
Defines the key for the indicator stroke color in mxLabel.
Defines the key for the indicator width.
Defines the key for the label background color.
Defines the key for the label border color.
Defines the key for the label padding, ie.
Defines the key for the horizontal label position of vertices.
Defines the key for the width of the label if the label position is not center.
Defines the key for the loop style.
Defines the key for the margin between the ellipses in the double ellipse shape.
Defines the key for the movable style.
Defines the key for the noEdgeStyle style.
Defines the key for the noLabel style.
Defines the key for the opacity style.
Defines if the connection points on either end of the edge should be computed so that the edge is vertical or horizontal if possible and if the point is not at a fixed location.
Defines the key for the 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 fill color of the swimlane background.
Defines the key for the swimlaneLine style.
Defines the key for the target perimeter spacing.
Defines the ID of the cell that should be used for computing the perimeter point of the target for an edge.
Defines the key for the text direction style.
Defines the key for the text opacity style.
Defines the key for the verticalAlign style.
Defines the key for the vertical label position of vertices.
Defines the key for the white-space style.
this.styleEnabled
Stores the value of styleEnabled passed to the constructor.
mxGraph.prototype.stylesheet
Holds the mxStylesheet that defines the appearance of the cells.
mxPopupMenu.prototype.submenuImage
URL of the image to be used for the submenu icon.
Specifies the event name for suspend.
mxOutline.prototype.suspended
Optional boolean flag to suspend updates.
mxShape.prototype.svgPointerEvents
Specifies if pointer events should be handled.
mxCylinder.prototype.svgStrokeTolerance
Sets stroke tolerance to 0 for SVG.
mxShape.prototype.svgStrokeTolerance
Event-tolerance for SVG strokes (in px).
mxGraph.prototype.swimlaneIndicatorColorAttribute
The attribute used to find the color for the indicator if the indicator color is set to ‘swimlane’.
mxGraph.prototype.swimlaneNesting
Specifies if nesting of swimlanes is allowed.
mxEditor.prototype.swimlaneRequired
Specifies if new cells must be inserted into an existing swimlane.
mxSwimlaneLayout.prototype.swimlanes
Holds the array of mxCell of the ordered swimlanes to lay out
mxGraph.prototype.swimlaneSelectionEnabled
Specifies if swimlanes should be selectable via the content if the mouse is released.
mxEditor.prototype.swimlaneSpacing
Specifies the spacing between swimlanes if automatic layout is turned on in layoutDiagram.
@@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Variables13.html b/docs/js-api/index/Variables13.html index cfe9225d1..587c054fa 100644 --- a/docs/js-api/index/Variables13.html +++ b/docs/js-api/index/Variables13.html @@ -11,9 +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
S
 SAVE, mxEvent
 scale
 SCALE, mxEvent
 SCALE_AND_TRANSLATE, mxEvent
 scaleGrid, mxGraphHandler
 screenX, mxPopupMenuHandler
 screenY, mxPopupMenuHandler
 scrollOnMove, mxGraphHandler
 segments, mxCellState
 select, mxConnectionHandler
 SELECT, mxEvent
 selectEnabled, mxGraphHandler
 SELECTION_DASHED, mxConstants
 selectionModel, mxGraph
 selectOnPopup, mxPopupMenuHandler
 selectText, mxCellEditor
 SHADOW_OFFSET_X, mxConstants
 SHADOW_OFFSET_Y, mxConstants
 SHADOW_OPACITY, mxConstants
 SHADOWCOLOR, mxConstants
 shape
 SHAPE_ACTOR, mxConstants
 SHAPE_ARROW, mxConstants
 SHAPE_ARROW_CONNECTOR, mxConstants
 SHAPE_CLOUD, mxConstants
 SHAPE_CONNECTOR, mxConstants
 SHAPE_CYLINDER, mxConstants
 SHAPE_DOUBLE_ELLIPSE, mxConstants
 SHAPE_ELLIPSE, mxConstants
 SHAPE_HEXAGON, mxConstants
 SHAPE_IMAGE, mxConstants
 SHAPE_LABEL, mxConstants
 SHAPE_LINE, mxConstants
 SHAPE_RECTANGLE, mxConstants
 SHAPE_RHOMBUS, mxConstants
 SHAPE_SWIMLANE, mxConstants
 SHAPE_TRIANGLE, mxConstants
 shapePointerEvents, mxShape
 sharedDiv, mxRubberband
 shiftDownwards, mxSpaceManager
 shiftKeys, mxKeyHandler
 shiftRightwards, mxSpaceManager
 SHOW, mxEvent
 showViewport, mxOutline
 significant, mxUndoableEdit
 singleSelection, mxGraphSelectionModel
 singleSizer, mxVertexHandler
 size, mxUndoManager
 SIZE, mxEvent
 sizerImage, mxOutline
 smartSeparators, mxPopupMenu
 snapToTerminals, mxEdgeHandler
 sortEdges
 source
 sourcePoint, mxGeometry
 SOURCESCANSTARTRANK
 spacing
 SPLIT_EDGE, mxEvent
 splitEnabled, mxGraph
 src, mxImage
 START, mxEvent
 START_EDIT, mxEvent
 START_EDITING, mxEvent
 startX, mxPanningHandler
 startY, mxPanningHandler
 state
 states
 status, mxEditor
 stencil, mxShape
 stencilPointerEvents, mxShape
 step, mxMorphing
 steps, mxMorphing
 STEPSIZE, mxClipboard
 straightRemoveEnabled, mxEdgeHandler
 strokeTolerance, mxSvgCanvas2D
 strokewidth, mxStencil
 style
 STYLE_ALIGN, mxConstants
 STYLE_ARCSIZE, mxConstants
 STYLE_ASPECT, mxConstants
 STYLE_AUTOSIZE, mxConstants
 STYLE_BENDABLE, mxConstants
 STYLE_CLONEABLE, mxConstants
 STYLE_CURVED, mxConstants
 STYLE_DASHED, mxConstants
 STYLE_DELETABLE, mxConstants
 STYLE_DIRECTION, mxConstants
 STYLE_EDGE, mxConstants
 STYLE_EDITABLE, mxConstants
 STYLE_ELBOW, mxConstants
 STYLE_ENDARROW, mxConstants
 STYLE_ENDFILL, mxConstants
 STYLE_ENDSIZE, mxConstants
 STYLE_ENTRY_PERIMETER, mxConstants
 STYLE_ENTRY_X, mxConstants
 STYLE_ENTRY_Y, mxConstants
 STYLE_EXIT_PERIMETER, mxConstants
 STYLE_EXIT_X, mxConstants
 STYLE_EXIT_Y, mxConstants
 STYLE_FILLCOLOR, mxConstants
 STYLE_FLIPH, mxConstants
 STYLE_FLIPV, mxConstants
 STYLE_FOLDABLE, mxConstants
 STYLE_FONTCOLOR, mxConstants
 STYLE_FONTFAMILY, mxConstants
 STYLE_FONTSIZE, mxConstants
 STYLE_FONTSTYLE, mxConstants
 STYLE_GLASS, mxConstants
 STYLE_GRADIENT_DIRECTION, mxConstants
 STYLE_GRADIENTCOLOR, mxConstants
 STYLE_HORIZONTAL, mxConstants
 STYLE_IMAGE, mxConstants
 STYLE_IMAGE_ALIGN, mxConstants
 STYLE_IMAGE_ASPECT, mxConstants
 STYLE_IMAGE_BACKGROUND, mxConstants
 STYLE_IMAGE_BORDER, mxConstants
 STYLE_IMAGE_HEIGHT, mxConstants
 STYLE_IMAGE_VERTICAL_ALIGN, mxConstants
 STYLE_IMAGE_WIDTH, mxConstants
 STYLE_INDICATOR_COLOR, mxConstants
 STYLE_INDICATOR_DIRECTION, mxConstants
 STYLE_INDICATOR_GRADIENTCOLOR, mxConstants
 STYLE_INDICATOR_HEIGHT, mxConstants
 STYLE_INDICATOR_IMAGE, mxConstants
 STYLE_INDICATOR_SHAPE, mxConstants
 STYLE_INDICATOR_SPACING, mxConstants
 STYLE_INDICATOR_STROKECOLOR, mxConstants
 STYLE_INDICATOR_WIDTH, mxConstants
 STYLE_LABEL_BACKGROUNDCOLOR, mxConstants
 STYLE_LABEL_BORDERCOLOR, mxConstants
 STYLE_LABEL_PADDING, mxConstants
 STYLE_LABEL_POSITION, mxConstants
 STYLE_LABEL_WIDTH, mxConstants
 STYLE_LOOP, mxConstants
 STYLE_MARGIN, mxConstants
 STYLE_MOVABLE, mxConstants
 STYLE_NOEDGESTYLE, mxConstants
 STYLE_NOLABEL, mxConstants
 STYLE_OPACITY, mxConstants
 STYLE_ORTHOGONAL, mxConstants
 STYLE_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_FILLCOLOR, mxConstants
 STYLE_SWIMLANE_LINE, mxConstants
 STYLE_TARGET_PERIMETER_SPACING, mxConstants
 STYLE_TARGET_PORT, mxConstants
 STYLE_TEXT_DIRECTION, mxConstants
 STYLE_TEXT_OPACITY, mxConstants
 STYLE_VERTICAL_ALIGN, mxConstants
 STYLE_VERTICAL_LABEL_POSITION, mxConstants
 STYLE_WHITE_SPACE, mxConstants
 styleEnabled, mxSvgCanvas2D
 stylesheet, mxGraph
 submenuImage, mxPopupMenu
 SUSPEND, mxEvent
 suspended, mxOutline
 svgPointerEvents, mxShape
 svgStrokeTolerance
 swimlaneIndicatorColorAttribute, mxGraph
 swimlaneNesting, mxGraph
 swimlaneRequired, mxEditor
 swimlanes, mxSwimlaneLayout
 swimlaneSelectionEnabled, mxGraph
 swimlaneSpacing, mxEditor
+
Variable Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
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
 TEXT_DIRECTION_AUTO, mxConstants
 TEXT_DIRECTION_DEFAULT, mxConstants
 TEXT_DIRECTION_LTR, mxConstants
 TEXT_DIRECTION_RTL, mxConstants
 textarea, mxCellEditor
 textEnabled
 textNode, mxCellEditor
 textWidthPadding, mxText
 thread, mxAnimation
 tightenToSource
 timerAutoScroll, mxGraph
 title
 TOGGLE_CELLS, mxEvent
 tolerance
 toolbar
 tooltip, mxCellOverlay
 TOOLTIP_VERTICAL_OFFSET, mxConstants
 TRACE, mxLog
 translate, mxGraphView
 TRANSLATE, mxEvent
 TRANSLATE_CONTROL_POINTS, mxGeometry
 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
 urlPost, mxEditor
 useBoundingBox, mxGraphLayout
 useGrid, mxPanningHandler
 useInputOrigin, mxFastOrganicLayout
 useLeftButtonForPanning, mxPanningHandler
 useLeftButtonForPopup, mxPopupMenu
 usePopupTrigger, mxPanningHandler
 username, mxXmlRequest
 useScrollbarsForPanning, mxGraph
-
Specifies the event name for open.
mxGraphView.prototype.scale
Specifies the scale.
mxPrintPreview.prototype.scale
Holds the scale of the print preview.
mxShape.prototype.scale
Holds the scale in which the shape is being painted.
Specifies the event name for scale.
Specifies the event name for scaleAndTranslate.
mxGraphHandler.prototype.scaleGrid
Specifies if the grid should be scaled.
mxPopupMenuHandler.prototype.screenX
Screen X-coordinate of the mouse down event.
mxPopupMenuHandler.prototype.screenY
Screen Y-coordinate of the mouse down event.
mxGraphHandler.prototype.scrollOnMove
Specifies if the view should be scrolled so that a moved cell is visible.
mxCellState.prototype.segments
Array of numbers that represent the cached length of each segment of the edge.
mxConnectionHandler.prototype.select
Specifies if new edges should be selected.
Specifies the event name for select.
mxGraphHandler.prototype.selectEnabled
Specifies if selecting is enabled.
Defines the dashed state to be used for the vertex selection border.
mxGraph.prototype.selectionModel
Holds the mxGraphSelectionModel that models the current selection.
mxPopupMenuHandler.prototype.selectOnPopup
Specifies if cells should be selected if a popupmenu is displayed for them.
mxCellEditor.prototype.selectText
Specifies if the text should be selected when editing starts.
Specifies the x-offset of the shadow.
Specifies the y-offset of the shadow.
Defines the opacity for shadows.
Defines the color to be used to draw shadows in shapes and windows.
mxCellState.prototype.shape
Holds the mxShape that represents the cell graphically.
mxEdgeHandler.prototype.shape
Holds the mxShape that represents the preview edge.
mxGraphHandler.prototype.shape
Reference to the mxShape that represents the preview.
Name under which mxActor is registered in mxCellRenderer.
Name under which mxArrow is registered in mxCellRenderer.
Name under which mxArrowConnector is registered in mxCellRenderer.
Name under which mxCloud is registered in mxCellRenderer.
Name under which mxConnector is registered in mxCellRenderer.
Name under which mxCylinder is registered in mxCellRenderer.
Name under which mxDoubleEllipse is registered in mxCellRenderer.
Name under which mxEllipse is registered in mxCellRenderer.
Name under which mxHexagon is registered in mxCellRenderer.
Name under which mxImageShape is registered in mxCellRenderer.
Name under which mxLabel is registered in mxCellRenderer.
Name under which mxLine is registered in mxCellRenderer.
Name under which mxRectangleShape is registered in mxCellRenderer.
Name under which mxRhombus is registered in mxCellRenderer.
Name under which mxSwimlane is registered in mxCellRenderer.
Name under which mxTriangle is registered in mxCellRenderer.
mxShape.prototype.shapePointerEvents
Specifies if pointer events outside of shape should be handled.
mxRubberband.prototype.sharedDiv
Holds the DIV element which is used to display the rubberband.
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.
mxGraphSelectionModel.prototype.singleSelection
Specifies if only one selected item at a time is allowed.
mxVertexHandler.prototype.singleSizer
Specifies if only one sizer handle at the bottom, right corner should be used.
mxUndoManager.prototype.size
Maximum command history size.
Specifies the event name for size.
mxOutline.prototype.sizerImage
Optional mxImage to be used for the sizer.
mxPopupMenu.prototype.smartSeparators
Specifies if separators should only be added if a menu item follows them.
mxEdgeHandler.prototype.snapToTerminals
Specifies if waypoints should snap to the routing centers of terminals.
mxCompactTreeLayout.prototype.sortEdges
Specifies if edges should be sorted according to the order of their opposite terminal cell in the model.
mxRadialTreeLayout.prototype.sortEdges
Specifies if edges should be sorted according to the order of their opposite terminal cell in the model.
mxCell.prototype.source
Reference to the source terminal.
mxGraphHierarchyEdge.prototype.source
The node this edge is sourced at
mxMultiplicity.prototype.source
Boolean that specifies if the rule is applied to the source or target terminal of an edge.
mxUndoableEdit.prototype.source
Specifies the source of the edit.
mxGeometry.prototype.sourcePoint
Defines the source mxPoint of the edge.
mxGraphHierarchyModel.prototype.SOURCESCANSTARTRANK
High value to start source layering scan rank value from.
mxSwimlaneModel.prototype.SOURCESCANSTARTRANK
High value to start source layering scan rank value from.
mxCellHighlight.prototype.spacing
Specifies the spacing between the highlight for vertices and the vertex.
mxDefaultToolbar.prototype.spacing
Defines the spacing between existing and new vertices in gridSize units when a new vertex is dropped on an existing cell.
mxLabel.prototype.spacing
Default value for image spacing.
mxParallelEdgeLayout.prototype.spacing
Defines the spacing between the parallels.
mxPartitionLayout.prototype.spacing
Integer that specifies the absolute spacing in pixels between the children.
mxStackLayout.prototype.spacing
Specifies the spacing between the cells.
Specifies the event name for splitEdge.
mxGraph.prototype.splitEnabled
Specifies if dropping onto edges should be enabled.
mxImage.prototype.src
String that specifies the URL of the image.
Specifies the event name for start.
Specifies the event name for startEdit.
Specifies the event name for startEditing.
mxPanningHandler.prototype.startX
Holds the x-coordinate of the start point.
mxPanningHandler.prototype.startY
Holds the y-coordinate of the start point.
mxAbstractCanvas2D.prototype.state
Holds the current state.
mxCellHighlight.prototype.state
Reference to the mxCellState.
mxEdgeHandler.prototype.state
Reference to the mxCellState being modified.
mxMouseEvent.prototype.state
Holds the optional mxCellState associated with this event.
mxShape.prototype.state
Optional reference to the corresponding mxCellState.
mxVertexHandler.prototype.state
Reference to the mxCellState being modified.
mxAbstractCanvas2D.prototype.states
Stack of states.
mxGuide.prototype.states
Contains the mxCellStates that are used for alignment.
mxEditor.prototype.status
DOM container that holds the statusbar.
mxShape.prototype.stencil
Holds the mxStencil that defines the shape.
mxShape.prototype.stencilPointerEvents
Specifies if pointer events outside of stencils should be handled.
mxMorphing.prototype.step
Contains the current step.
mxMorphing.prototype.steps
Specifies the maximum number of steps for the morphing.
Defines the step size to offset the cells after each paste operation.
mxEdgeHandler.prototype.straightRemoveEnabled
Specifies if removing bends by creating straight segments should be enabled.
mxSvgCanvas2D.prototype.strokeTolerance
Adds transparent paths for strokes.
mxStencil.prototype.strokewidth
Holds the strokewidth direction from the description.
mxCell.prototype.style
Holds the style as a string of the form [(stylename|key=value);].
mxCellState.prototype.style
Contains an array of key, value pairs that represent the style of the cell.
mxShape.prototype.style
Optional reference to the style of the corresponding mxCellState.
Defines the key for the align style.
Defines the rounding factor for a rounded rectangle in percent (without the percent sign).
Defines the key for the aspect style.
Defines the key for the autosize style.
Defines the key for the bendable style.
Defines the key for the cloneable style.
Defines the key for the curved style.
Defines the key for the dashed style.
Defines the key for the deletable style.
Defines the key for the direction style.
Defines the key for the edge style.
Defines the key for the editable style.
Defines the key for the elbow style.
Defines the key for the end arrow marker.
Defines the key for the endFill style.
Defines the key for the endSize style.
Defines if the perimeter should be used to find the exact entry point along the perimeter of the target.
Defines the key for the horizontal relative coordinate connection point of an edge with its target terminal.
Defines the key for the vertical relative coordinate connection point of an edge with its target terminal.
Defines if the perimeter should be used to find the exact entry point along the perimeter of the source.
Defines the key for the horizontal relative coordinate connection point of an edge with its source terminal.
Defines the key for the vertical relative coordinate connection point of an edge with its source terminal.
Defines the key for the fill color.
Defines the key for the horizontal image flip.
Defines the key for the vertical flip.
Defines the key for the foldable style.
Defines the key for the fontColor style.
Defines the key for the fontFamily style.
Defines the key for the fontSize style (in points).
Defines the key for the fontStyle style.
Defines the key for the glass style.
Defines the key for the gradient direction.
Defines the key for the gradient color.
Defines the key for the horizontal style.
Defines the key for the image style.
Defines the key for the align style.
Defines the key for the image aspect style.
Defines the key for the image background color.
Defines the key for the image border color.
Defines the key for the imageHeight style.
Defines the key for the verticalAlign style.
Defines the key for the imageWidth style.
Defines the key for the indicatorColor style.
Defines the key for the indicatorDirection style.
Defines the key for the indicatorGradientColor style.
Defines the key for the indicator height.
Defines the key for the indicator image used within an mxLabel.
Defines the key for the indicator shape used within an mxLabel.
The defines the key for the spacing between the label and the indicator in mxLabel.
Defines the key for the indicator stroke color in mxLabel.
Defines the key for the indicator width.
Defines the key for the label background color.
Defines the key for the label border color.
Defines the key for the label padding, ie.
Defines the key for the horizontal label position of vertices.
Defines the key for the width of the label if the label position is not center.
Defines the key for the loop style.
Defines the key for the margin between the ellipses in the double ellipse shape.
Defines the key for the movable style.
Defines the key for the noEdgeStyle style.
Defines the key for the noLabel style.
Defines the key for the opacity style.
Defines if the connection points on either end of the edge should be computed so that the edge is vertical or horizontal if possible and if the point is not at a fixed location.
Defines the key for the 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 fill color of the swimlane background.
Defines the key for the swimlaneLine style.
Defines the key for the target perimeter spacing.
Defines the ID of the cell that should be used for computing the perimeter point of the target for an edge.
Defines the key for the text direction style.
Defines the key for the text opacity style.
Defines the key for the verticalAlign style.
Defines the key for the vertical label position of vertices.
Defines the key for the white-space style.
this.styleEnabled
Stores the value of styleEnabled passed to the constructor.
mxGraph.prototype.stylesheet
Holds the mxStylesheet that defines the appearance of the cells.
mxPopupMenu.prototype.submenuImage
URL of the image to be used for the submenu icon.
Specifies the event name for suspend.
mxOutline.prototype.suspended
Optional boolean flag to suspend updates.
mxShape.prototype.svgPointerEvents
Specifies if pointer events should be handled.
mxCylinder.prototype.svgStrokeTolerance
Sets stroke tolerance to 0 for SVG.
mxShape.prototype.svgStrokeTolerance
Event-tolerance for SVG strokes (in px).
mxGraph.prototype.swimlaneIndicatorColorAttribute
The attribute used to find the color for the indicator if the indicator color is set to ‘swimlane’.
mxGraph.prototype.swimlaneNesting
Specifies if nesting of swimlanes is allowed.
mxEditor.prototype.swimlaneRequired
Specifies if new cells must be inserted into an existing swimlane.
mxSwimlaneLayout.prototype.swimlanes
Holds the array of mxCell of the ordered swimlanes to lay out
mxGraph.prototype.swimlaneSelectionEnabled
Specifies if swimlanes should be selectable via the content if the mouse is released.
mxEditor.prototype.swimlaneSpacing
Specifies the spacing between swimlanes if automatic layout is turned on in layoutDiagram.
+
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.
Constant for text direction automatic.
Constant for text direction default.
Constant for text direction left to right.
Constant for text direction right to left.
mxCellEditor.prototype.textarea
Holds the 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.
mxText.prototype.textWidthPadding
Specifies the padding to be added to the text width for the bounding box.
mxAnimation.prototype.thread
Reference to the thread while the animation is running.
mxGraphHierarchyModel.prototype.tightenToSource
Whether or not to tighten the assigned ranks of vertices up towards the source cells.
mxHierarchicalLayout.prototype.tightenToSource
Whether or not to tighten the assigned ranks of vertices up towards the source cells.
mxSwimlaneLayout.prototype.tightenToSource
Whether or not to tighten the assigned ranks of vertices up towards the source cells.
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
Y-coordinate of the mouse down event.
mxMultiplicity.prototype.type
Defines the type of the source or target terminal.
mxMultiplicity.prototype.typeError
Holds the localized error message to be displayed if the type of the neighbor for a connection does not match the rule.
+ + + +
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 over a movable cell.
mxToolbar.prototype.updateDefaultMode
Boolean indicating if the default mode should be the last selected switch mode or the first inserted switch mode.
mxLayoutManager.prototype.updateHandler
Holds the function that handles the endUpdate event.
mxGraphModel.prototype.updateLevel
Counter for the depth of nested transactions.
mxOutline.prototype.updateOnPan
Specifies if update should be called for mxEvent.PAN in the source graph.
mxGraphView.prototype.updateStyle
Specifies if the style should be updated in each validation step.
mxGraphSelectionModel.prototype.updatingSelectionResource
Specifies the resource key for the status message while the selection is being updated.
mxXmlRequest.prototype.url
Holds the target URL of the request.
mxEditor.prototype.urlHelp
Specifies the URL to be used for the contents of the Online Help window.
mxEditor.prototype.urlImage
Specifies the URL to be used for creating a bitmap of the graph in the image action.
mxEditor.prototype.urlPost
Specifies the URL to be used for posting the diagram to a backend in save.
mxGraphLayout.prototype.useBoundingBox
Boolean indicating if the bounding box of the label should be used if its available.
mxPanningHandler.prototype.useGrid
Specifies if the panning steps should be aligned to the grid size.
mxFastOrganicLayout.prototype.useInputOrigin
Specifies if the top left corner of the input cells should be the origin of the layout result.
mxPanningHandler.prototype.useLeftButtonForPanning
Specifies if panning should be active for the left mouse button.
mxPopupMenu.prototype.useLeftButtonForPopup
Specifies if popupmenus should be activated by clicking the left mouse button.
mxPanningHandler.prototype.usePopupTrigger
Specifies if mxEvent.isPopupTrigger should also be used for panning.
mxXmlRequest.prototype.username
Specifies the username to be used for authentication.
mxGraph.prototype.useScrollbarsForPanning
Specifies if scrollbars should be used for panning in panGraph if any scrollbars are available.
@@ -21,7 +25,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Variables14.html b/docs/js-api/index/Variables14.html index 237d0aa3d..a13c62d49 100644 --- a/docs/js-api/index/Variables14.html +++ b/docs/js-api/index/Variables14.html @@ -11,13 +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
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
 TEXT_DIRECTION_AUTO, mxConstants
 TEXT_DIRECTION_DEFAULT, mxConstants
 TEXT_DIRECTION_LTR, mxConstants
 TEXT_DIRECTION_RTL, mxConstants
 textarea, mxCellEditor
 textEnabled
 textNode, mxCellEditor
 textWidthPadding, mxText
 thread, mxAnimation
 tightenToSource
 timerAutoScroll, mxGraph
 title
 TOGGLE_CELLS, mxEvent
 tolerance
 toolbar
 tooltip, mxCellOverlay
 TOOLTIP_VERTICAL_OFFSET, mxConstants
 TRACE, mxLog
 translate, mxGraphView
 TRANSLATE, mxEvent
 TRANSLATE_CONTROL_POINTS, mxGeometry
 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
 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
V
 VALID_COLOR, mxConstants
 validating, mxEditor
 validColor, mxCellMarker
 validNeighbors, mxMultiplicity
 validNeighborsAllowed, mxMultiplicity
 validState, mxCellMarker
 value
 values, mxStyleRegistry
 VERSION, mxClient
 vertex, mxCell
 VERTEX_SELECTION_COLOR, mxConstants
 VERTEX_SELECTION_STROKEWIDTH, mxConstants
 vertexArray, mxFastOrganicLayout
 vertexLabelsMovable, mxGraph
 vertexMapper
 vertical, mxGuide
 verticalAlign, mxCellOverlay
 verticalOffset, mxVertexHandler
 verticalTextRotation, mxText
 view
 VIRTUAL_HANDLE, mxEvent
 virtualBendOpacity, mxEdgeHandler
 virtualBendsEnabled, mxEdgeHandler
 visible
 visibleSourceState, mxCellState
 visibleTargetState, mxCellState
 visited
 VML_PREFIX, mxClient
 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
-
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.
Constant for text direction automatic.
Constant for text direction default.
Constant for text direction left to right.
Constant for text direction right to left.
mxCellEditor.prototype.textarea
Holds the 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.
mxText.prototype.textWidthPadding
Specifies the padding to be added to the text width for the bounding box.
mxAnimation.prototype.thread
Reference to the thread while the animation is running.
mxGraphHierarchyModel.prototype.tightenToSource
Whether or not to tighten the assigned ranks of vertices up towards the source cells.
mxHierarchicalLayout.prototype.tightenToSource
Whether or not to tighten the assigned ranks of vertices up towards the source cells.
mxSwimlaneLayout.prototype.tightenToSource
Whether or not to tighten the assigned ranks of vertices up towards the source cells.
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
Y-coordinate of the mouse down event.
mxMultiplicity.prototype.type
Defines the type of the source or target terminal.
mxMultiplicity.prototype.typeError
Holds the localized error message to be displayed if the type of the neighbor for a connection does not match the rule.
+
Defines the color to be used for the coloring valid connection previews.
mxEditor.prototype.validating
Specifies if mxGraph.validateGraph should automatically be invoked after each change.
mxCellMarker.prototype.validColor
Holds the valid marker color.
mxMultiplicity.prototype.validNeighbors
Holds an array of strings that specify the type of neighbor for which this rule applies.
mxMultiplicity.prototype.validNeighborsAllowed
Boolean indicating if the list of validNeighbors are those that are allowed for this rule or those that are not allowed for this rule.
mxCellMarker.prototype.validState
Holds the marked mxCellState if it is valid.
mxCell.prototype.value
Holds the user object.
mxMultiplicity.prototype.value
Optional string that specifies the value of the attribute to be passed to mxUtils.isNode to check if the rule applies to a cell.
Maps from strings to objects.
Contains the current version of the mxGraph library.
mxCell.prototype.vertex
Specifies whether the cell is a vertex.
Defines the color to be used for the selection border of vertices.
Defines the strokewidth to be used for vertex selections.
mxFastOrganicLayout.prototype.vertexArray
An array of all vertices to be laid out.
mxGraph.prototype.vertexLabelsMovable
Specifies the return value for vertices in isLabelMovable.
mxGraphHierarchyModel.prototype.vertexMapper
Map from graph vertices to internal model nodes.
mxSwimlaneModel.prototype.vertexMapper
Map from graph vertices to internal model nodes.
mxGuide.prototype.vertical
Specifies if vertical guides are enabled.
mxCellOverlay.prototype.verticalAlign
Holds the vertical alignment for the overlay.
mxVertexHandler.prototype.verticalOffset
The horizontal offset for the handles.
mxText.prototype.verticalTextRotation
Rotation for vertical text.
mxCellState.prototype.view
Reference to the enclosing mxGraphView.
mxGraph.prototype.view
Holds the mxGraphView that caches the mxCellStates for the cells.
mxTemporaryCellStates.prototype.view
Holds the width of the rectangle.
Start index for the virtual handles in an mxMouseEvent.
mxEdgeHandler.prototype.virtualBendOpacity
Opacity to be used for virtual bends (see virtualBendsEnabled).
mxEdgeHandler.prototype.virtualBendsEnabled
Specifies if virtual bends should be added in the center of each segments.
mxCell.prototype.visible
Specifies whether the cell is visible.
mxShape.prototype.visible
Specifies if the shape is visible.
mxWindow.prototype.visible
Boolean flag that represents the visible state of the window.
mxCellState.prototype.visibleSourceState
Caches the visible source terminal state.
mxCellState.prototype.visibleTargetState
Caches the visible target terminal state.
mxCompactTreeLayout.prototype.visited
Specifies if the tree should be moved to the top, left corner if it is inside a top-level layer.
WeightedCellSorter.prototype.visited
Whether or not this cell has been visited in the current assignment.
Prefix for VML namespace in node names.
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.
-
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 over a movable cell.
mxToolbar.prototype.updateDefaultMode
Boolean indicating if the default mode should be the last selected switch mode or the first inserted switch mode.
mxLayoutManager.prototype.updateHandler
Holds the function that handles the endUpdate event.
mxGraphModel.prototype.updateLevel
Counter for the depth of nested transactions.
mxOutline.prototype.updateOnPan
Specifies if update should be called for mxEvent.PAN in the source graph.
mxGraphView.prototype.updateStyle
Specifies if the style should be updated in each validation step.
mxGraphSelectionModel.prototype.updatingSelectionResource
Specifies the resource key for the status message while the selection is being updated.
mxXmlRequest.prototype.url
Holds the target URL of the request.
mxEditor.prototype.urlHelp
Specifies the URL to be used for the contents of the Online Help window.
mxEditor.prototype.urlImage
Specifies the URL to be used for creating a bitmap of the graph in the image action.
mxEditor.prototype.urlPost
Specifies the URL to be used for posting the diagram to a backend in save.
mxGraphLayout.prototype.useBoundingBox
Boolean indicating if the bounding box of the label should be used if its available.
mxPanningHandler.prototype.useGrid
Specifies if the panning steps should be aligned to the grid size.
mxFastOrganicLayout.prototype.useInputOrigin
Specifies if the top left corner of the input cells should be the origin of the layout result.
mxPanningHandler.prototype.useLeftButtonForPanning
Specifies if panning should be active for the left mouse button.
mxPopupMenu.prototype.useLeftButtonForPopup
Specifies if popupmenus should be activated by clicking the left mouse button.
mxPanningHandler.prototype.usePopupTrigger
Specifies if mxEvent.isPopupTrigger should also be used for panning.
mxXmlRequest.prototype.username
Specifies the username to be used for authentication.
mxGraph.prototype.useScrollbarsForPanning
Specifies if scrollbars should be used for panning in panGraph if any scrollbars are available.
+
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.
mxPrintPreview.prototype.x0
Holds the horizontal offset of the output.
mxStackLayout.prototype.x0
Specifies the horizontal origin of the layout.
+ + + +
mxGraphAbstractHierarchyCell.prototype.y
The y position of this cell for each layer it occupies
mxPoint.prototype.y
Holds the y-coordinate of the point.
mxCircleLayout.prototype.y0
Integer specifying the top coordinate of the circle.
mxPrintPreview.prototype.y0
Holds the vertical offset of the output.
mxStackLayout.prototype.y0
Specifies the vertical origin of the layout.
+ + + +
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.
@@ -25,7 +37,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Variables15.html b/docs/js-api/index/Variables15.html deleted file mode 100644 index 0dc8b0b97..000000000 --- a/docs/js-api/index/Variables15.html +++ /dev/null @@ -1,50 +0,0 @@ - - -Variable Index - - - - - - - - - -
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
 verticalOffset, mxVertexHandler
 verticalTextRotation, mxText
 view
 VIRTUAL_HANDLE, mxEvent
 virtualBendOpacity, mxEdgeHandler
 virtualBendsEnabled, mxEdgeHandler
 visible
 visibleSourceState, mxCellState
 visibleTargetState, mxCellState
 visited
 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.
mxVertexHandler.prototype.verticalOffset
The horizontal offset for the handles.
mxText.prototype.verticalTextRotation
Rotation for vertical text.
mxCellState.prototype.view
Reference to the enclosing mxGraphView.
mxGraph.prototype.view
Holds the mxGraphView that caches the mxCellStates for the cells.
mxTemporaryCellStates.prototype.view
Holds the width of the rectangle.
Start index for the virtual handles in an mxMouseEvent.
mxEdgeHandler.prototype.virtualBendOpacity
Opacity to be used for virtual bends (see virtualBendsEnabled).
mxEdgeHandler.prototype.virtualBendsEnabled
Specifies if virtual bends should be added in the center of each segments.
mxCell.prototype.visible
Specifies whether the cell is visible.
mxShape.prototype.visible
Specifies if the shape is visible.
mxWindow.prototype.visible
Boolean flag that represents the visible state of the window.
mxCellState.prototype.visibleSourceState
Caches the visible source terminal state.
mxCellState.prototype.visibleTargetState
Caches the visible target terminal state.
mxCompactTreeLayout.prototype.visited
Specifies if the tree should be moved to the top, left corner if it is inside a top-level layer.
WeightedCellSorter.prototype.visited
Whether or not this cell has been visited in the current assignment.
Prefix for VML namespace in node names.
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.
- - - -
mxGraphAbstractHierarchyCell.prototype.x
The x position of this cell for each layer it occupies
mxPoint.prototype.x
Holds the x-coordinate of the point.
mxCircleLayout.prototype.x0
Integer specifying the left coordinate of the circle.
mxPrintPreview.prototype.x0
Holds the horizontal offset of the output.
mxStackLayout.prototype.x0
Specifies the horizontal origin of the layout.
- - - -
mxGraphAbstractHierarchyCell.prototype.y
The y position of this cell for each layer it occupies
mxPoint.prototype.y
Holds the y-coordinate of the point.
mxCircleLayout.prototype.y0
Integer specifying the top coordinate of the circle.
mxPrintPreview.prototype.y0
Holds the vertical offset of the output.
mxStackLayout.prototype.y0
Specifies the vertical origin of the layout.
- - - -
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.
- -
- - - - - - - - - - - - \ No newline at end of file diff --git a/docs/js-api/index/Variables2.html b/docs/js-api/index/Variables2.html index edef021b4..50fafad6a 100644 --- a/docs/js-api/index/Variables2.html +++ b/docs/js-api/index/Variables2.html @@ -11,7 +11,7 @@ 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
C
 captureDocumentGesture, mxGraphView
 cell
 CELL_CONNECTED, mxEvent
 cellEditor, mxGraph
 cellLocation, mxFastOrganicLayout
 cellRenderer, mxGraph
 cells
 CELLS_ADDED, mxEvent
 CELLS_FOLDED, mxEvent
 CELLS_MOVED, mxEvent
 CELLS_ORDERED, mxEvent
 CELLS_REMOVED, mxEvent
 CELLS_RESIZED, mxEvent
 CELLS_TOGGLED, mxEvent
 cellsBendable, mxGraph
 cellsCloneable, mxGraph
 cellsDeletable, mxGraph
 cellsDisconnectable, mxGraph
 cellsEditable, mxGraph
 cellsLocked, mxGraph
 cellsMovable, mxGraph
 cellsResizable, mxGraph
 cellsSelectable, mxGraph
 centerZoom, mxGraph
 CHANGE, mxEvent
 changeHandler
 changes, mxUndoableEdit
 channelBuffer
 children, mxCell
 CLEAR, mxEvent
 clearSelectionOnBackground, mxPopupMenuHandler
 CLICK, mxEvent
 cloneEnabled
 cloneInvalidEdges, mxGraph
 CLOSE, mxEvent
 closeImage, mxWindow
 closeOp
 closeResource, mxUtils
 codecs, mxCodecRegistry
 collapsed, mxCell
 collapsedImage, mxGraph
 collapseExpandResource, mxGraph
 collapseToPreferredSize, mxGraph
 compressed, mxXmlCanvas2D
 config, mxDefaultPopupMenu
 CONNECT, mxEvent
 CONNECT_CELL, mxEvent
 CONNECT_HANDLE_FILLCOLOR, mxConstants
 connectable, mxCell
 connectableEdges, mxGraph
 connectIconOffset, mxConnectionHandler
 connectImage, mxConnectionHandler
 connectOnDrop
 connectsAsSource, mxGraphHierarchyNode
 connectsAsTarget, mxGraphHierarchyNode
 consoleName, mxLog
 constrainChildren, mxGraph
 constrainChildrenOnResize, mxGraph
 constrainGroupByChildren, mxVertexHandler
 constraintHandler
 constraints, mxStencil
 consumed
 container, mxToolbar
 containsValidationErrorsResource, mxGraph
 content, mxWindow
 contentHeightCorrection, mxWindow
 controlKeys, mxKeyHandler
 controlShiftKeys, mxKeyHandler
 converter, mxAbstractCanvas2D
 count, mxCellStatePreview
 counter, mxObjectIdentity
 countError, mxMultiplicity
 createIds, mxGraphModel
 createTarget, mxConnectionHandler
 currentBestCrossings, mxMedianHybridCrossingReduction
 currentColor, mxCellMarker
 currentDropTarget, mxDragSource
 currentDx, mxGraphHandler
 currentDy, mxGraphHandler
 currentEdit, mxGraphModel
 currentFileResource, mxEditor
 currentGraph, mxDragSource
 currentGuide, mxDragSource
 currentPoint, mxDragSource
 currentRoot, mxGraphView
 currentX, mxRubberband
 currentXDelta, mxCoordinateAssignment
 currentY, mxRubberband
 cursor
 CURSOR_BEND_HANDLE, mxConstants
 CURSOR_CONNECT, mxConstants
 CURSOR_LABEL_HANDLE, mxConstants
 CURSOR_MOVABLE_EDGE, mxConstants
 CURSOR_MOVABLE_VERTEX, mxConstants
 CURSOR_TERMINAL_HANDLE, mxConstants
 CURSOR_VIRTUAL_BEND_HANDLE, mxConstants
 curveOp
 CUSTOM_HANDLE, mxEvent
 cycleAttributeIndex, mxEditor
 cycleAttributeName, mxEditor
 cycleAttributeValues, 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
C
 captureDocumentGesture, mxGraphView
 cell
 CELL_CONNECTED, mxEvent
 cellEditor, mxGraph
 cellLocation, mxFastOrganicLayout
 cellRenderer, mxGraph
 cells
 CELLS_ADDED, mxEvent
 CELLS_FOLDED, mxEvent
 CELLS_MOVED, mxEvent
 CELLS_ORDERED, mxEvent
 CELLS_REMOVED, mxEvent
 CELLS_RESIZED, mxEvent
 CELLS_TOGGLED, mxEvent
 cellsBendable, mxGraph
 cellsCloneable, mxGraph
 cellsDeletable, mxGraph
 cellsDisconnectable, mxGraph
 cellsEditable, mxGraph
 cellsLocked, mxGraph
 cellsMovable, mxGraph
 cellsResizable, mxGraph
 cellsSelectable, mxGraph
 centerZoom, mxGraph
 CHANGE, mxEvent
 changeHandler
 changes, mxUndoableEdit
 channelBuffer
 children, mxCell
 CLEAR, mxEvent
 clearSelectionOnBackground, mxPopupMenuHandler
 CLICK, mxEvent
 cloneEnabled
 cloneInvalidEdges, mxGraph
 CLOSE, mxEvent
 closeImage, mxWindow
 closeOp
 closeResource, mxUtils
 codecs, mxCodecRegistry
 collapsed, mxCell
 collapsedImage, mxGraph
 collapseExpandResource, mxGraph
 collapseToPreferredSize, mxGraph
 compressed, mxXmlCanvas2D
 config, mxDefaultPopupMenu
 CONNECT, mxEvent
 CONNECT_CELL, mxEvent
 CONNECT_HANDLE_FILLCOLOR, mxConstants
 connectable, mxCell
 connectableEdges, mxGraph
 connectIconOffset, mxConnectionHandler
 connectImage, mxConnectionHandler
 connectOnDrop
 connectsAsSource, mxGraphHierarchyNode
 connectsAsTarget, mxGraphHierarchyNode
 consoleName, mxLog
 constrainChildren, mxGraph
 constrainChildrenOnResize, mxGraph
 constrainGroupByChildren, mxVertexHandler
 constraintHandler
 constraints, mxStencil
 consumed
 container, mxToolbar
 containsValidationErrorsResource, mxGraph
 content, mxWindow
 contentHeightCorrection, mxWindow
 controlKeys, mxKeyHandler
 controlShiftKeys, mxKeyHandler
 converter, mxAbstractCanvas2D
 count, mxCellStatePreview
 counter, mxObjectIdentity
 countError, mxMultiplicity
 createIds, mxGraphModel
 createTarget, mxConnectionHandler
 currentBestCrossings, mxMedianHybridCrossingReduction
 currentColor, mxCellMarker
 currentDropTarget, mxDragSource
 currentDx, mxGraphHandler
 currentDy, mxGraphHandler
 currentEdit, mxGraphModel
 currentFileResource, mxEditor
 currentGraph, mxDragSource
 currentGuide, mxDragSource
 currentPoint, mxDragSource
 currentRoot, mxGraphView
 currentX, mxRubberband
 currentXDelta, mxCoordinateAssignment
 currentY, mxRubberband
 cursor
 CURSOR_BEND_HANDLE, mxConstants
 CURSOR_CONNECT, mxConstants
 CURSOR_LABEL_HANDLE, mxConstants
 CURSOR_MOVABLE_EDGE, mxConstants
 CURSOR_MOVABLE_VERTEX, mxConstants
 CURSOR_TERMINAL_HANDLE, mxConstants
 CURSOR_VIRTUAL_BEND_HANDLE, mxConstants
 curveOp
 CUSTOM_HANDLE, mxEvent
 cycleAttributeIndex, mxEditor
 cycleAttributeName, mxEditor
 cycleAttributeValues, mxEditor
mxGraphView.prototype.captureDocumentGesture
Specifies if a gesture should be captured when it goes outside of the graph container.
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.
mxGraph.prototype.cellEditor
Holds the mxCellEditor that is used as the in-place editing.
mxFastOrganicLayout.prototype.cellLocation
An array of locally stored co-ordinate positions for the vertices.
mxGraph.prototype.cellRenderer
Holds the mxCellRenderer for rendering the cells in the graph.
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.
Specifies the event name for cellsFolded.
Specifies the event name for cellsMoved.
Specifies the event name for cellsOrdered.
Specifies the event name for cellsRemoved.
Specifies the event name for cellsResized.
Specifies the event name for cellsToggled.
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.cellsLocked
Specifies the return value for isCellLocked.
mxGraph.prototype.cellsMovable
Specifies the return value for isCellMovable.
mxGraph.prototype.cellsResizable
Specifies the return value for isCellResizable.
mxGraph.prototype.cellsSelectable
Specifies the return value for isCellSelectable.
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.
mxAutoSaveManager.prototype.changeHandler
Holds the function that handles graph model changes.
mxConnectionHandler.prototype.changeHandler
Holds the change event listener for later removal.
mxUndoableEdit.prototype.changes
Array that contains the changes that make up this edit.
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
mxCell.prototype.children
Holds the child cells.
Specifies the event name for clear.
mxPopupMenuHandler.prototype.clearSelectionOnBackground
Specifies if cells should be deselected if a popupmenu is displayed for the diagram background.
Specifies the event name for click.
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.
Specifies the event name for close.
mxWindow.prototype.closeImage
URL of the image to be used for the close icon in the titlebar.
mxAbstractCanvas2D.prototype.closeOp
Holds the operator for closing curves.
mxVmlCanvas2D.prototype.closeOp
Holds the operator for closing curves.
Specifies the resource key for the label of the close button.
Maps from constructor names to codecs.
mxCell.prototype.collapsed
Specifies whether the cell is collapsed.
mxGraph.prototype.collapsedImage
Specifies the mxImage to indicate a collapsed state.
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.
mxXmlCanvas2D.prototype.compressed
Specifies if the output should be compressed by removing redundant calls.
mxDefaultPopupMenu.prototype.config
XML node used as the description of new menu items.
Specifies the event name for connect.
Specifies the event name for 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.
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.constrainChildren
Specifies if a child should be constrained inside the parent bounds after a move of the child.
mxGraph.prototype.constrainChildrenOnResize
Specifies if children should be constrained according to the constrainChildren switch if cells are resized (including via foldCells).
mxVertexHandler.prototype.constrainGroupByChildren
Specifies if the size of groups should be constrained by the children.
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.
mxEventObject.prototype.consumed
Holds the consumed state.
mxMouseEvent.prototype.consumed
Holds the consumed state of this event.
mxToolbar.prototype.container
Reference to the DOM nodes that contains the toolbar.
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.
this.converter
Holds the mxUrlConverter to convert image URLs.
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.
mxGraphModel.prototype.createIds
Specifies if the model should automatically create Ids for new cells.
mxConnectionHandler.prototype.createTarget
Specifies if createTargetVertex should be called if no target was under the mouse for the new connection.
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.
mxHandle.prototype.cursor
Specifies the cursor to be used for this handle.
Defines the cursor for a movable bend.
Defines the cursor for a connectable state.
Defines the cursor for a movable label.
Defines the cursor for a movable edge.
Defines the cursor for a movable vertex.
Defines the cursor for a terminal handle.
Defines the cursor for a movable bend.
mxAbstractCanvas2D.prototype.curveOp
Contains the string used for bezier curves.
mxVmlCanvas2D.prototype.curveOp
Contains the string used for bezier curves.
Start index for the custom handles in an mxMouseEvent.
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.
@@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Variables3.html b/docs/js-api/index/Variables3.html index 3366e5dba..c96fb0287 100644 --- a/docs/js-api/index/Variables3.html +++ b/docs/js-api/index/Variables3.html @@ -11,7 +11,7 @@ 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
D
 damper, mxPanningManager
 dblClickAction, mxEditor
 dblClickRemoveEnabled, mxEdgeHandler
 DEBUG, mxLog
 decodeSimulateValues, mxXmlRequest
 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_TEXT_DIRECTION, 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, mxEvent
 destroyed, mxTooltipHandler
 destroyOnClose, mxWindow
 dfsCount
 dialect
 DIALECT_MIXEDHTML, mxConstants
 DIALECT_PREFERHTML, mxConstants
 DIALECT_STRICTHTML, mxConstants
 DIALECT_SVG, mxConstants
 DIALECT_VML, mxConstants
 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, mxEditor
 disableEdgeStyle
 DISCONNECT, mxEvent
 disconnectOnMove, mxGraph
 dispX, mxFastOrganicLayout
 dispY, mxFastOrganicLayout
 div, mxRubberband
 document, mxCodec
 DONE, mxEvent
 doneResource
 DOUBLE_CLICK, mxEvent
 doubleClickOrientationResource, mxElbowEdgeHandler
 doubleTapEnabled, mxGraph
 doubleTapTimeout, mxGraph
 doubleTapTolerance, mxGraph
 DOWN, mxEvent
 dragElement, mxDragSource
 dragElementOpacity, mxDragSource
 dragElementZIndex, mxDragSource
 dragOffset, mxDragSource
 drillHandler, mxConnectionHandler
 DROP_TARGET_COLOR, mxConstants
 dropEnabled, mxGraph
 dropHandler, mxDragSource
 dummyVertexWidth, mxSwimlaneLayout
 dummyVertices, mxSwimlaneLayout
 dx, mxPanningHandler
 dy, mxPanningHandler
+
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
D
 damper, mxPanningManager
 dblClickAction, mxEditor
 dblClickRemoveEnabled, mxEdgeHandler
 DEBUG, mxLog
 decodeSimulateValues, mxXmlRequest
 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_TEXT_DIRECTION, 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, mxEvent
 destroyed, mxTooltipHandler
 destroyOnClose, mxWindow
 dfsCount
 dialect
 DIALECT_MIXEDHTML, mxConstants
 DIALECT_PREFERHTML, mxConstants
 DIALECT_STRICTHTML, mxConstants
 DIALECT_SVG, mxConstants
 DIALECT_VML, mxConstants
 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, mxEditor
 disableEdgeStyle
 DISCONNECT, mxEvent
 disconnectOnMove, mxGraph
 dispX, mxFastOrganicLayout
 dispY, mxFastOrganicLayout
 div, mxRubberband
 document, mxCodec
 DONE, mxEvent
 doneResource
 DOUBLE_CLICK, mxEvent
 doubleClickOrientationResource, mxElbowEdgeHandler
 doubleTapEnabled, mxGraph
 doubleTapTimeout, mxGraph
 doubleTapTolerance, mxGraph
 DOWN, mxEvent
 dragElement, mxDragSource
 dragElementOpacity, mxDragSource
 dragElementZIndex, mxDragSource
 dragOffset, mxDragSource
 drillHandler, mxConnectionHandler
 DROP_TARGET_COLOR, mxConstants
 dropEnabled, mxGraph
 dropHandler, mxDragSource
 dummyVertexWidth, mxSwimlaneLayout
 dummyVertices, mxSwimlaneLayout
 dx, mxPanningHandler
 dy, mxPanningHandler
mxPanningManager.prototype.damper
Damper value for the panning.
mxEditor.prototype.dblClickAction
Specifies the name of the action to be executed when a cell is double clicked.
mxEdgeHandler.prototype.dblClickRemoveEnabled
Specifies if removing bends by double click is enabled.
Specifies if the output for debug should be visible in the console.
mxXmlRequest.prototype.decodeSimulateValues
Specifies if request values should be decoded as URIs before setting the textarea value in simulate.
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.
Defines the default value for the STYLE_TEXT_DIRECTION if no value is defined for it in the style.
Specifies the default valid color.
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.
Specifies the event name for destroy.
mxTooltipHandler.prototype.destroyed
True if this handler was destroyed using destroy.
mxWindow.prototype.destroyOnClose
Specifies if the window should be destroyed when it is closed.
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.
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.
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.
Specifies the event name for disconnect.
mxGraph.prototype.disconnectOnMove
Specifies if edges should be disconnected from their terminals when they are moved.
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.
Specifies the event name for doubleClick.
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.dragOffset
mxPoint that specifies the offset of the dragElement.
mxConnectionHandler.prototype.drillHandler
Holds the drill event listener for later removal.
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
mxPanningHandler.prototype.dx
Holds the current horizontal offset.
mxPanningHandler.prototype.dy
Holds the current vertical offset.
@@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Variables4.html b/docs/js-api/index/Variables4.html index a76a4115a..b54839d98 100644 --- a/docs/js-api/index/Variables4.html +++ b/docs/js-api/index/Variables4.html @@ -11,9 +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
E
 ease, mxMorphing
 edge, mxCell
 EDGE_SELECTION_COLOR, mxConstants
 EDGE_SELECTION_STROKEWIDTH, mxConstants
 edgeLabelsMovable, mxGraph
 edgeMapper
 edgeRouting, mxCompactTreeLayout
 edges
 edgesSet
 edgeState, mxConnectionHandler
 edgeStyle, mxHierarchicalLayout
 EDGESTYLE_ELBOW, mxConstants
 EDGESTYLE_ENTITY_RELATION, mxConstants
 EDGESTYLE_LOOP, mxConstants
 EDGESTYLE_ORTHOGONAL, mxConstants
 EDGESTYLE_SEGMENT, mxConstants
 EDGESTYLE_SIDETOSIDE, mxConstants
 EDGESTYLE_TOPTOBOTTOM, mxConstants
 EDITING_STARTED, mxEvent
 EDITING_STOPPED, mxEvent
 editingCell, mxCellEditor
 editor
 ELBOW_HORIZONTAL, mxConstants
 ELBOW_VERTICAL, mxConstants
 element, mxDragSource
 EMPTY_ARRAY, mxGraph
 emptyLabelText, mxCellEditor
 enabled
 encodeDefaults, mxCodec
 END_EDIT, mxEvent
 END_UPDATE, mxEvent
 endingUpdate, mxGraphModel
 enterStopsCellEditing, mxGraph
 ENTITY_SEGMENT, mxConstants
 error
 errorImage, mxUtils
 errorResource, mxUtils
 ESCAPE, mxEvent
 escapeEnabled, mxGraph
 escapePostData, mxEditor
 eventListeners, mxEventSource
 eventsEnabled, mxEventSource
 eventSource, mxEventSource
 evt, mxMouseEvent
 exclude, mxObjectCodec
 EXECUTE, mxEvent
 EXECUTED, mxEvent
 expandedImage, mxGraph
 exportEnabled, mxGraph
 extendParents
 extendParentsOnAdd, mxGraph
 extension, mxResources
+
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
E
 ease, mxMorphing
 edge, mxCell
 EDGE_SELECTION_COLOR, mxConstants
 EDGE_SELECTION_STROKEWIDTH, mxConstants
 edgeLabelsMovable, mxGraph
 edgeMapper
 edgeRouting, mxCompactTreeLayout
 edges
 edgesSet
 edgeState, mxConnectionHandler
 edgeStyle, mxHierarchicalLayout
 EDGESTYLE_ELBOW, mxConstants
 EDGESTYLE_ENTITY_RELATION, mxConstants
 EDGESTYLE_LOOP, mxConstants
 EDGESTYLE_ORTHOGONAL, mxConstants
 EDGESTYLE_SEGMENT, mxConstants
 EDGESTYLE_SIDETOSIDE, mxConstants
 EDGESTYLE_TOPTOBOTTOM, mxConstants
 EDITING_STARTED, mxEvent
 EDITING_STOPPED, mxEvent
 editingCell, mxCellEditor
 editor
 ELBOW_HORIZONTAL, mxConstants
 ELBOW_VERTICAL, mxConstants
 element, mxDragSource
 EMPTY_ARRAY, mxGraph
 emptyLabelText, mxCellEditor
 enabled
 encodeDefaults, mxCodec
 END_EDIT, mxEvent
 END_UPDATE, mxEvent
 endingUpdate, mxGraphModel
 enterStopsCellEditing, mxGraph
 ENTITY_SEGMENT, mxConstants
 error
 errorImage, mxUtils
 errorResource, mxUtils
 ESCAPE, mxEvent
 escapeEnabled, mxGraph
 escapePostData, mxEditor
 eventListeners, mxEventSource
 eventsEnabled, mxEventSource
 eventSource, mxEventSource
 evt, mxMouseEvent
 exclude, mxObjectCodec
 EXECUTE, mxEvent
 EXECUTED, mxEvent
 expandedImage, mxGraph
 exportEnabled, mxGraph
 extendParents, mxGraph
 extendParentsOnAdd, mxGraph
 extension, mxResources
F
 factoryMethod
 fgNodes, mxStencil
 FIELD_NAME, mxObjectIdentity
 filename, mxEditor
 fill, mxStackLayout
 fineTuning
 FIRE_MOUSE_EVENT, mxEvent
 FIRED, mxEvent
 first, mxConnectionHandler
 FLIP_EDGE, mxEvent
 foAltText, mxSvgCanvas2D
 foEnabled, mxSvgCanvas2D
 FOLD_CELLS, mxEvent
 foldingEnabled, mxGraph
 FONT_BOLD, mxConstants
 FONT_ITALIC, mxConstants
 FONT_UNDERLINE, mxConstants
 fontMetricsPadding, mxSvgCanvas2D
 forceConstant, mxFastOrganicLayout
 forceConstantSquared, mxFastOrganicLayout
 forcedInserting, mxEditor
 forceVmlHandles, mxOutline
-
mxMorphing.prototype.ease
Ease-off for movement towards the given vector.
mxCell.prototype.edge
Specifies whether the cell is an edge.
Defines the color to be used for the selection border of edges.
Defines the strokewidth to be used for edge selections.
mxGraph.prototype.edgeLabelsMovable
Specifies the return value for edges in isLabelMovable.
mxGraphHierarchyModel.prototype.edgeMapper
Map from graph edges to internal model edges
mxSwimlaneModel.prototype.edgeMapper
Map from graph edges to internal model edges
mxCompactTreeLayout.prototype.edgeRouting
Whether or not to apply the internal tree edge routing.
mxCell.prototype.edges
Holds the edges.
mxGraphHierarchyEdge.prototype.edges
The graph edge(s) this object represents.
A cache of edges whose source terminal is the key
A cache of edges whose source terminal is the key
mxConnectionHandler.prototype.edgeState
Optional mxCellState that represents the preview edge while the handler is active.
mxHierarchicalLayout.prototype.edgeStyle
The style to apply between cell layers to edge segments
Name of the elbow edge style.
Name of the entity relation edge style.
Name of the loop edge style.
Name of the generic orthogonal edge style.
Name of the generic segment edge style.
Name of the side to side edge style.
Name of the top to bottom edge style.
Specifies the event name for editingStarted.
Specifies the event name for editingStopped.
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.
mxDragSource.prototype.element
Reference to the DOM node which was made draggable.
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.encodeDefaults
Specifies if default values should be encoded.
Specifies the event name for endEdit.
Specifies the event name for endUpdate.
mxGraphModel.prototype.endingUpdate
True if the program flow is currently inside endUpdate.
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.
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.
Defines the image used for error dialogs.
Specifies the resource key for the title of the error window.
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.
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.
Specifies the event name for execute.
Specifies the event name for executed.
mxGraph.prototype.expandedImage
Specifies the mxImage to indicate a expanded state.
mxGraph.prototype.exportEnabled
Specifies the return value for canExportCell.
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.
mxHierarchicalLayout.prototype.edgeStyle
The style to apply between cell layers to edge segments
Name of the elbow edge style.
Name of the entity relation edge style.
Name of the loop edge style.
Name of the generic orthogonal edge style.
Name of the generic segment edge style.
Name of the side to side edge style.
Name of the top to bottom edge style.
Specifies the event name for editingStarted.
Specifies the event name for editingStopped.
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.
mxDragSource.prototype.element
Reference to the DOM node which was made draggable.
mxGraph.prototype.EMPTY_ARRAY
Immutable empty array instance.
mxCellEditor.prototype.emptyLabelText
Text to be displayed for empty labels.
mxAutoSaveManager.prototype.enabled
Specifies if event handling is enabled.
mxCellMarker.prototype.enabled
Specifies if the marker is enabled.
mxConnectionHandler.prototype.enabled
Specifies if events are handled.
mxConstraintHandler.prototype.enabled
Specifies if events are handled.
mxDragSource.prototype.enabled
Specifies if this drag source is enabled.
mxGraph.prototype.enabled
Specifies the return value for isEnabled.
mxGraphHandler.prototype.enabled
Specifies if events are handled.
mxKeyHandler.prototype.enabled
Specifies if events are handled.
mxLayoutManager.prototype.enabled
Specifies if event handling is enabled.
mxOutline.prototype.enabled
Specifies if events are handled.
mxPopupMenu.prototype.enabled
Specifies if events are handled.
mxRubberband.prototype.enabled
Specifies if events are handled.
mxSelectionCellsHandler.prototype.enabled
Specifies if events are handled.
mxSwimlaneManager.prototype.enabled
Specifies if event handling is enabled.
mxToolbar.prototype.enabled
Specifies if events are handled.
mxTooltipHandler.prototype.enabled
Specifies if events are handled.
mxUrlConverter.prototype.enabled
Specifies if the converter is enabled.
mxCodec.prototype.encodeDefaults
Specifies if default values should be encoded.
Specifies the event name for endEdit.
Specifies the event name for endUpdate.
mxGraphModel.prototype.endingUpdate
True if the program flow is currently inside endUpdate.
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.
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.
Defines the image used for error dialogs.
Specifies the resource key for the title of the error window.
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.
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.
Specifies the event name for execute.
Specifies the event name for executed.
mxGraph.prototype.expandedImage
Specifies the mxImage to indicate a expanded state.
mxGraph.prototype.exportEnabled
Specifies the return value for canExportCell.
mxGraph.prototype.extendParents
Specifies if a parent should contain the child bounds after a resize of the child.
mxGraph.prototype.extendParentsOnAdd
Specifies if parents should be extended according to the extendParents switch if cells are added.
Specifies the extension used for language files.
+ + + +
mxConnectionHandler.prototype.factoryMethod
Function that is used for creating new edges.
mxPopupMenu.prototype.factoryMethod
Function that is used to create the popup menu.
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.
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.
Specifies the event name for fired.
mxConnectionHandler.prototype.first
Holds the mxPoint where the mouseDown took place while the handler is active.
Specifies the event name for flipEdge.
mxSvgCanvas2D.prototype.foAltText
Specifies the fallback text for unsupported foreignObjects in exported documents.
mxSvgCanvas2D.prototype.foEnabled
Specifies if use of foreignObject for HTML markup is allowed.
Specifies the event name for foldCells.
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 underlined fonts.
mxSvgCanvas2D.prototype.fontMetricsPadding
Padding to be added for text that is not wrapped to account for differences in font metrics on different platforms in pixels.
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.
@@ -21,7 +25,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Variables5.html b/docs/js-api/index/Variables5.html index 793fd6529..b22a8901e 100644 --- a/docs/js-api/index/Variables5.html +++ b/docs/js-api/index/Variables5.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
F
 factoryMethod
 fgNodes, mxStencil
 FIELD_NAME, mxObjectIdentity
 filename, mxEditor
 fill, mxStackLayout
 fineTuning
 FIRE_MOUSE_EVENT, mxEvent
 FIRED, mxEvent
 first, mxConnectionHandler
 FLIP_EDGE, mxEvent
 foAltText, mxSvgCanvas2D
 foEnabled, mxSvgCanvas2D
 FOLD_CELLS, mxEvent
 foldHandler, mxSpaceManager
 foldingEnabled, mxGraph
 FONT_BOLD, mxConstants
 FONT_ITALIC, mxConstants
 FONT_SHADOW, mxConstants
 FONT_UNDERLINE, mxConstants
 fontMetricsPadding, mxSvgCanvas2D
 forceConstant, mxFastOrganicLayout
 forceConstantSquared, mxFastOrganicLayout
 forcedInserting, mxEditor
 forceVmlHandles, mxOutline
G
 geometry, mxCell
 GESTURE, mxEvent
 GET, mxEvent
 gradients, mxSvgCanvas2D
 graph
 graphBounds, mxGraphView
 graphRenderHint, mxEditor
 graphX, mxMouseEvent
 graphY, mxMouseEvent
 gridEnabled
 gridSize, mxGraph
 GROUP_CELLS, mxEvent
 groupPadding
 groupPaddingBottom, mxCompactTreeLayout
 groupPaddingLeft, mxCompactTreeLayout
 groupPaddingRight, mxCompactTreeLayout
 groupPaddingTop, mxCompactTreeLayout
 guide, mxGraphHandler
 GUIDE_COLOR, mxConstants
 GUIDE_STROKEWIDTH, mxConstants
 guidesEnabled
+
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
G
 geometry, mxCell
 GESTURE, mxEvent
 GET, mxEvent
 gradients, mxSvgCanvas2D
 graph
 graphBounds, mxGraphView
 graphRenderHint, mxEditor
 graphX, mxMouseEvent
 graphY, mxMouseEvent
 gridEnabled
 gridSize, mxGraph
 GROUP_CELLS, mxEvent
 groupPadding
 groupPaddingBottom, mxCompactTreeLayout
 groupPaddingLeft, mxCompactTreeLayout
 groupPaddingRight, mxCompactTreeLayout
 groupPaddingTop, mxCompactTreeLayout
 guide, mxGraphHandler
 GUIDE_COLOR, mxConstants
 GUIDE_STROKEWIDTH, mxConstants
 guidesEnabled
H
 h0, mxStencil
 HANDLE_FILLCOLOR, mxConstants
 HANDLE_SIZE, mxConstants
 HANDLE_STROKECOLOR, mxConstants
 handleImage
 handleMouseOut, mxPanningManager
 handler, mxDefaultKeyHandler
 handlers, mxSelectionCellsHandler
 hashCode, mxGraphHierarchyNode
 height
 help, mxEditor
 helpResource, mxEditor
 helpWidth, mxEditor
 helpWindowImage, mxEditor
 HIDE, mxEvent
 hideOnHover, mxTooltipHandler
 HIGHLIGHT_COLOR, mxConstants
 HIGHLIGHT_STROKEWIDTH, mxConstants
 highlightColor, mxConstraintHandler
 highlightDropTargets, mxDragSource
 highlightEnabled, mxGraphHandler
 history, mxUndoManager
 horizontal
 horizontalFlow, mxEditor
 horizontalOffset, mxVertexHandler
 hotspot, mxCellMarker
 hotspotEnabled, mxCellMarker
 htmlLabels, mxGraph
 htmlPreview, mxGraphHandler
-
mxConnectionHandler.prototype.factoryMethod
Function that is used for creating new edges.
mxPopupMenu.prototype.factoryMethod
Function that is used to create the popup menu.
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.
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.
Specifies the event name for fired.
mxConnectionHandler.prototype.first
Holds the mxPoint where the mouseDown took place while the handler is active.
Specifies the event name for flipEdge.
mxSvgCanvas2D.prototype.foAltText
Specifies the fallback text for unsupported foreignObjects in exported documents.
mxSvgCanvas2D.prototype.foEnabled
Specifies if use of foreignObject for HTML markup is allowed.
Specifies the event name for foldCells.
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.
mxSvgCanvas2D.prototype.fontMetricsPadding
Padding to be added for text that is not wrapped to account for differences in font metrics on different platforms in pixels.
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.
+
mxCell.prototype.geometry
Holds the mxGeometry.
Specifies the event name for gesture.
Specifies the event name for get.
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.
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.
mxEditor.prototype.graphRenderHint
Holds the render hint used for creating the graph in setGraphContainer.
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.
mxCompactTreeLayout.prototype.groupPadding
Padding added to resized parents.
mxCoordinateAssignment.prototype.groupPadding
Padding added to resized parents
mxCompactTreeLayout.prototype.groupPaddingBottom
Bottom padding added to resized parents.
mxCompactTreeLayout.prototype.groupPaddingLeft
Left padding added to resized parents.
mxCompactTreeLayout.prototype.groupPaddingRight
Right padding added to resized parents.
mxCompactTreeLayout.prototype.groupPaddingTop
Top padding added to resized parents.
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.
Specifies the event name for gesture.
Specifies the event name for get.
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.
mxEditor.prototype.graphRenderHint
Holds the render hint used for creating the graph in setGraphContainer.
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.
mxCompactTreeLayout.prototype.groupPadding
Padding added to resized parents.
mxCoordinateAssignment.prototype.groupPadding
Padding added to resized parents
mxCompactTreeLayout.prototype.groupPaddingBottom
Bottom padding added to resized parents.
mxCompactTreeLayout.prototype.groupPaddingLeft
Left padding added to resized parents.
mxCompactTreeLayout.prototype.groupPaddingRight
Right padding added to resized parents.
mxCompactTreeLayout.prototype.groupPaddingTop
Top padding added to resized parents.
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.
+
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.
mxGraphHierarchyNode.prototype.hashCode
Assigns a unique hashcode for each node.
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.
Specifies the event name for hide.
mxTooltipHandler.prototype.hideOnHover
Specifies if the tooltip should be hidden if the mouse is moved over the current cell.
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.
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.
mxVertexHandler.prototype.horizontalOffset
The horizontal offset for the handles.
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.
mxGraph.prototype.htmlLabels
Specifies the return value for isHtmlLabel.
mxGraphHandler.prototype.htmlPreview
Specifies if the graph container should be used for preview.
@@ -25,7 +25,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Variables6.html b/docs/js-api/index/Variables6.html index cefbd3ba5..14fe8cfcc 100644 --- a/docs/js-api/index/Variables6.html +++ b/docs/js-api/index/Variables6.html @@ -11,9 +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
H
 h0, mxStencil
 HANDLE_FILLCOLOR, mxConstants
 HANDLE_SIZE, mxConstants
 HANDLE_STROKECOLOR, mxConstants
 handleImage
 handleMouseOut, mxPanningManager
 handler, mxDefaultKeyHandler
 handlers, mxSelectionCellsHandler
 hashCode, mxGraphHierarchyNode
 height
 help, mxEditor
 helpResource, mxEditor
 helpWidth, mxEditor
 helpWindowImage, mxEditor
 HIDE, mxEvent
 hideOnHover, mxTooltipHandler
 HIGHLIGHT_COLOR, mxConstants
 HIGHLIGHT_STROKEWIDTH, mxConstants
 highlightColor, mxConstraintHandler
 highlightDropTargets, mxDragSource
 highlightEnabled, mxGraphHandler
 history, mxUndoManager
 horizontal
 horizontalFlow, mxEditor
 horizontalOffset, mxVertexHandler
 hotspot, mxCellMarker
 hotspotEnabled, mxCellMarker
 htmlLabels, mxGraph
 htmlPreview, mxGraphHandler
+
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
 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_EM, mxClient
 IS_FF, mxClient
 IS_GC, mxClient
 IS_IE, mxClient
 IS_IE11, mxClient
 IS_IE6, mxClient
 IS_IOS, mxClient
 IS_LOCAL, mxClient
 IS_MAC, mxClient
 IS_MT, mxClient
 IS_NS, mxClient
 IS_OP, mxClient
 IS_OT, mxClient
 IS_POINTER, mxClient
 IS_QUIRKS, mxClient
 IS_SF, mxClient
 IS_SVG, mxClient
 IS_TOUCH, mxClient
 IS_VML, mxClient
 IS_WIN, mxClient
 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
-
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.
mxGraphHierarchyNode.prototype.hashCode
Assigns a unique hashcode for each node.
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.
Specifies the event name for hide.
mxTooltipHandler.prototype.hideOnHover
Specifies if the tooltip should be hidden if the mouse is moved over the current cell.
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.
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.
mxVertexHandler.prototype.horizontalOffset
The horizontal offset for the handles.
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.
mxGraph.prototype.htmlLabels
Specifies the return value for isHtmlLabel.
mxGraphHandler.prototype.htmlPreview
Specifies if the graph container should be used for preview.
+
mxCell.prototype.id
Holds the Id.
mxGraphHierarchyNode.prototype.id
The object identity of the wrapped cell
mxObjectCodec.prototype.idrefs
Array containing the variable names that should be turned into or converted from references.
mxGraphHierarchyEdge.prototype.ids
The object identities of the wrapped cells
mxPanningHandler.prototype.ignoreCell
Specifies if panning should be active even if there is a cell under the mousepointer.
mxText.prototype.ignoreClippedStringSize
Specifies if the string size should be measured in updateBoundingBox if the label is clipped and the label position is center and middle.
mxAutoSaveManager.prototype.ignoredChanges
Counter for ignored changes in autosave.
mxConnectionHandler.prototype.ignoreMouseDown
Specifies if the connection handler should ignore the state of the mouse button when highlighting the source.
mxGraph.prototype.ignoreScrollbars
Specifies if the graph should automatically scroll regardless of the scrollbars.
mxText.prototype.ignoreStringSize
Specifies if the actual string size should be measured.
mxTooltipHandler.prototype.ignoreTouchEvents
Specifies if touch and pen events should be ignored.
mxCellOverlay.prototype.image
Holds the mxImage to be used as the icon.
mxHandle.prototype.image
Specifies the mxImage to be used to render the handle.
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_EM: 'spellcheck' in document.createElement(
   'textarea'
) && document.documentMode
True if the browser is IE11 in enterprise mode (IE8 standards mode).
IS_FF: navigator.userAgent.indexOf('Firefox/') >
True if the current browser is Firefox.
IS_GC: navigator.userAgent.indexOf('Chrome/') >
True if the current browser is Google Chrome.
IS_IE: navigator.userAgent.indexOf('MSIE') >
True if the current browser is Internet Explorer 10 or below.
True if the current browser is Internet Explorer 11.x.
IS_IE6: navigator.userAgent.indexOf('MSIE 6') >
True if the current browser is Internet Explorer 6.x.
Returns true if the user agent is an iPad, iPhone or iPod.
True if the documents location does not start with http:// or https://.
True if the client is a Mac.
True if -moz-transform is available as a CSS style.
IS_NS: navigator.userAgent.indexOf('Mozilla/') >
True if the current browser is Netscape (including Firefox).
IS_OP: navigator.userAgent.indexOf('Opera/') >
True if the current browser is Opera.
IS_OT: navigator.userAgent.indexOf('Presto/') >
True if -o-transform is available as a CSS style, ie for Opera browsers based on a Presto engine with version 2.5 or later.
True if this device supports 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.
+ + + +
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.
@@ -21,7 +29,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Variables7.html b/docs/js-api/index/Variables7.html index 1ae58cfe3..04ceb2cf0 100644 --- a/docs/js-api/index/Variables7.html +++ b/docs/js-api/index/Variables7.html @@ -11,17 +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
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
 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_EM, mxClient
 IS_FF, mxClient
 IS_GC, mxClient
 IS_IE, mxClient
 IS_IE11, mxClient
 IS_IE6, mxClient
 IS_IOS, mxClient
 IS_LOCAL, mxClient
 IS_MAC, mxClient
 IS_MT, mxClient
 IS_NS, mxClient
 IS_OP, mxClient
 IS_OT, mxClient
 IS_POINTER, mxClient
 IS_QUIRKS, mxClient
 IS_SF, mxClient
 IS_SVG, mxClient
 IS_TOUCH, mxClient
 IS_VML, mxClient
 IS_WIN, mxClient
 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
+
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
 lastForegroundHtmlNode, mxGraphView
 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
 legacySpacing, mxCellRenderer
 length, mxCellState
 levelDistance
 limitX, mxCoordinateAssignment
 LINE_ARCSIZE, mxConstants
 LINE_HEIGHT, mxConstants
 lineFeed, mxEditor
 lineHeightCorrection, mxSvgCanvas2D
 lineOp
 livePreview, mxVertexHandler
 loadDefaultBundle, mxResources
 LOCKED_HANDLE_FILLCOLOR, mxConstants
-
mxCell.prototype.id
Holds the Id.
mxGraphHierarchyNode.prototype.id
The object identity of the wrapped cell
mxObjectCodec.prototype.idrefs
Array containing the variable names that should be turned into or converted from references.
mxGraphHierarchyEdge.prototype.ids
The object identities of the wrapped cells
mxPanningHandler.prototype.ignoreCell
Specifies if panning should be active even if there is a cell under the mousepointer.
mxText.prototype.ignoreClippedStringSize
Specifies if the string size should be measured in updateBoundingBox if the label is clipped and the label position is center and middle.
mxAutoSaveManager.prototype.ignoredChanges
Counter for ignored changes in autosave.
mxConnectionHandler.prototype.ignoreMouseDown
Specifies if the connection handler should ignore the state of the mouse button when highlighting the source.
mxGraph.prototype.ignoreScrollbars
Specifies if the graph should automatically scroll regardless of the scrollbars.
mxText.prototype.ignoreStringSize
Specifies if the actual string size should be measured.
mxTooltipHandler.prototype.ignoreTouchEvents
Specifies if touch and pen events should be ignored.
mxCellOverlay.prototype.image
Holds the mxImage to be used as the icon.
mxHandle.prototype.image
Specifies the mxImage to be used to render the handle.
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_EM: 'spellcheck' in document.createElement(
   'textarea'
) && document.documentMode
True if the browser is IE11 in enterprise mode (IE8 standards mode).
IS_FF: navigator.userAgent.indexOf('Firefox/') >
True if the current browser is Firefox.
IS_GC: navigator.userAgent.indexOf('Chrome/') >
True if the current browser is Google Chrome.
IS_IE: navigator.userAgent.indexOf('MSIE') >
True if the current browser is Internet Explorer 10 or below.
True if the current browser is Internet Explorer 11.x.
IS_IE6: navigator.userAgent.indexOf('MSIE 6') >
True if the current browser is Internet Explorer 6.x.
Returns true if the user agent is an iPad, iPhone or iPod.
True if the documents location does not start with http:// or https://.
True if the client is a Mac.
True if -moz-transform is available as a CSS style.
IS_NS: navigator.userAgent.indexOf('Mozilla/') >
True if the current browser is Netscape (including Firefox).
IS_OP: navigator.userAgent.indexOf('Opera/') >
True if the current browser is Opera.
IS_OT: navigator.userAgent.indexOf('Presto/') >
True if -o-transform is available as a CSS style, ie for Opera browsers based on a Presto engine with version 2.5 or later.
True if this device supports 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.
- - - -
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.
+
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.lastForegroundHtmlNode
During validation, this contains the last edge HTML DOM node that was processed.
mxGraphView.prototype.lastForegroundNode
During validation, this contains the last edge’s DOM node that was processed.
mxGraphView.prototype.lastHtmlNode
During validation, this contains the last HTML DOM node that was processed.
mxGraphView.prototype.lastNode
During validation, this contains the last DOM node that was processed.
mxEditor.prototype.lastSavedResource
Specifies the resource key for the last saved info.
mxAutoSaveManager.prototype.lastSnapshot
Used for autosaving.
mxGraph.prototype.lastTouchTime
Holds the time of the last touch event for double click detection.
Holds the x-coordinate of the last touch event for double tap detection.
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.
mxCellRenderer.prototype.legacySpacing
Specifies if spacing and label position should be ignored if overflow is fill or width.
mxCellState.prototype.length
Caches the length of an edge.
mxCompactTreeLayout.prototype.levelDistance
Holds the levelDistance.
mxRadialTreeLayout.prototype.levelDistance
Holds the levelDistance.
mxCoordinateAssignment.prototype.limitX
The maximum x value this positioning lays up to
Defines the size of the arcs for rounded edges.
Defines the default line height for text labels.
Character to be used for encoding linefeeds in save.
mxSvgCanvas2D.prototype.lineHeightCorrection
Correction factor for mxConstants.LINE_HEIGHT in HTML output.
mxAbstractCanvas2D.prototype.lineOp
Contains the string used for moving in paths.
mxVmlCanvas2D.prototype.lineOp
Contains the string used for moving in paths.
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.
@@ -29,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Variables8.html b/docs/js-api/index/Variables8.html index f4c6ab5bd..6872c2021 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
L
 LABEL_CHANGED, mxEvent
 LABEL_HANDLE, mxEvent
 LABEL_HANDLE_FILLCOLOR, mxConstants
 LABEL_HANDLE_SIZE, mxConstants
 labels, mxPopupMenu
 labelShape, mxEdgeHandler
 labelsVisible
 language, mxClient
 languages, mxClient
 lastForegroundHtmlNode, mxGraphView
 lastForegroundNode, mxGraphView
 lastHtmlNode, mxGraphView
 lastNode, mxGraphView
 lastSavedResource, mxEditor
 lastSnapshot, mxAutoSaveManager
 lastTouchTime, mxGraph
 lastTouchX, mxGraph
 lastX, mxAbstractCanvas2D
 lastY, mxAbstractCanvas2D
 layout
 LAYOUT_CELLS, mxEvent
 layoutDiagram, mxEditor
 layouts, mxCompositeLayout
 layoutSwimlanes, mxEditor
 legacyControlPosition, mxCellRenderer
 legacySpacing, mxCellRenderer
 length, mxCellState
 levelDistance
 limitX, mxCoordinateAssignment
 LINE_ARCSIZE, mxConstants
 LINE_HEIGHT, mxConstants
 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
M
 maintainEdgeParent, mxGraphModel
 maintainParentLocation
 maintainSwimlanes, mxEditor
 manageLabelHandle, mxEdgeHandler
 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
 maxScale, mxPanningHandler
 medianValue, MedianCellSorter
 mergeRemoveEnabled, mxEdgeHandler
 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
 minResize, mxCellEditor
 minScale, mxPanningHandler
 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
-
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.lastForegroundHtmlNode
During validation, this contains the last edge HTML DOM node that was processed.
mxGraphView.prototype.lastForegroundNode
During validation, this contains the last edge’s DOM node that was processed.
mxGraphView.prototype.lastHtmlNode
During validation, this contains the last HTML DOM node that was processed.
mxGraphView.prototype.lastNode
During validation, this contains the last DOM node that was processed.
mxEditor.prototype.lastSavedResource
Specifies the resource key for the last saved info.
mxAutoSaveManager.prototype.lastSnapshot
Used for autosaving.
mxGraph.prototype.lastTouchTime
Holds the time of the last touch event for double click detection.
Holds the x-coordinate of the last touch event for double tap detection.
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.
mxCellRenderer.prototype.legacySpacing
Specifies if spacing and label position should be ignored if overflow is fill or width.
mxCellState.prototype.length
Caches the length of an edge.
mxCompactTreeLayout.prototype.levelDistance
Holds the levelDistance.
mxRadialTreeLayout.prototype.levelDistance
Holds the levelDistance.
mxCoordinateAssignment.prototype.limitX
The maximum x value this positioning lays up to
Defines the size of the arcs for rounded edges.
Defines the default line height for text labels.
Character to be used for encoding linefeeds in save.
mxSvgCanvas2D.prototype.lineHeightCorrection
Correction factor for mxConstants.LINE_HEIGHT in HTML output.
mxAbstractCanvas2D.prototype.lineOp
Contains the string used for moving in paths.
mxVmlCanvas2D.prototype.lineOp
Contains the string used for moving in paths.
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.
+
mxGraphModel.prototype.maintainEdgeParent
Specifies if edges should automatically be moved into the nearest common ancestor of their terminals.
mxCompactTreeLayout.prototype.maintainParentLocation
Specifies if the parent location should be maintained, so that the top, left corner stays the same before and after execution of the layout.
mxCompactTreeLayout.prototype.maintainParentLocation
Specifies if the parent location should be maintained, so that the top, left corner stays the same before and after execution of the layout.
mxEditor.prototype.maintainSwimlanes
Specifies if the swimlanes should be kept at the same width or height depending on the setting of horizontalFlow.
mxEdgeHandler.prototype.manageLabelHandle
Specifies if the label handle should be moved if it intersects with another handle.
mxVertexHandler.prototype.manageSizers
Specifies if sizers should be hidden and spaced if the vertex is small.
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
mxPanningHandler.prototype.maxScale
Specifies the maximum scale.
MedianCellSorter.prototype.medianValue
The weighted value of the cell stored.
mxEdgeHandler.prototype.mergeRemoveEnabled
Specifies if removing bends by dropping them on other bends is enabled.
mxXmlRequest.prototype.method
Specifies the request method.
mxMultiplicity.prototype.min
Defines the minimum number of connections for which this rule applies.
Defines the minimum size in pixels of the portion of the cell which is to be used as a connectable region.
mxFastOrganicLayout.prototype.minDistanceLimit
Minimal distance limit.
mxFastOrganicLayout.prototype.minDistanceLimitSquared
Cached version of minDistanceLimit squared.
mxCompactTreeLayout.prototype.minEdgeJetty
The minimum distance for an edge jetty from a vertex.
mxCoordinateAssignment.prototype.minEdgeJetty
The minimum distance for an edge jetty from a vertex
mxGraph.prototype.minFitScale
Specifies the minimum scale to be applied in fit.
Specifies the event name for minimize.
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.
mxCellEditor.prototype.minResize
Defines the minimum width and height to be used in resize.
mxPanningHandler.prototype.minScale
Specifies the minimum scale.
mxGraph.prototype.model
Holds the mxGraphModel that contains the cells to be displayed.
mxHierarchicalLayout.prototype.model
The internal mxGraphHierarchyModel formed of the layout.
mxSwimlaneLayout.prototype.model
The internal mxSwimlaneModel formed of the layout.
mxCellEditor.prototype.modified
Specifies if the label has been modified.
mxEditor.prototype.modified
True if the graph has been modified since it was last saved.
Specifies the event name for mouseDown.
Specifies the event name for mouseMove.
Specifies the event name for mouseUp.
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.
@@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Variables9.html b/docs/js-api/index/Variables9.html index 3f898ecdd..c19301ee0 100644 --- a/docs/js-api/index/Variables9.html +++ b/docs/js-api/index/Variables9.html @@ -11,9 +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
M
 maintainEdgeParent, mxGraphModel
 maintainParentLocation
 maintainSwimlanes, mxEditor
 manageLabelHandle, mxEdgeHandler
 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
 maxScale, mxPanningHandler
 medianValue, MedianCellSorter
 mergeRemoveEnabled, mxEdgeHandler
 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
 minResize, mxCellEditor
 minScale, mxPanningHandler
 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
N
 name, mxEventObject
 nativeDoubleClickEnabled, mxGraph
 neighbours, mxFastOrganicLayout
 nestedBestRanks, mxMedianHybridCrossingReduction
 nextId, mxGraphModel
 nextLayerConnectedCache, mxCoordinateAssignment
 nextLayerConnectedCells, mxGraphAbstractHierarchyCell
 NO_FO, mxClient
 node
 nodeDistance
 NODETYPE_ATTRIBUTE, mxConstants
 NODETYPE_CDATA, mxConstants
 NODETYPE_COMMENT, mxConstants
 NODETYPE_DOCUMENT, mxConstants
 NODETYPE_DOCUMENT_FRAGMENT, mxConstants
 NODETYPE_DOCUMENTTYPE, mxConstants
 NODETYPE_ELEMENT, mxConstants
 NODETYPE_ENTITY, mxConstants
 NODETYPE_ENTITY_REFERENCE, mxConstants
 NODETYPE_NOTATION, mxConstants
 NODETYPE_PROCESSING_INSTRUCTION, mxConstants
 NODETYPE_TEXT, mxConstants
 NONE, mxConstants
 noReset, mxToolbar
 NORMALIZE, 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
 OUTLINE_COLOR, mxConstants
 OUTLINE_HANDLE_FILLCOLOR, mxConstants
 OUTLINE_HANDLE_STROKECOLOR, mxConstants
 OUTLINE_HIGHLIGHT_COLOR, mxConstants
 OUTLINE_STROKEWIDTH, mxConstants
 outlineConnect
 outlineResource, mxEditor
-
mxGraphModel.prototype.maintainEdgeParent
Specifies if edges should automatically be moved into the nearest common ancestor of their terminals.
mxCompactTreeLayout.prototype.maintainParentLocation
Specifies if the parent location should be maintained, so that the top, left corner stays the same before and after execution of the layout.
mxCompactTreeLayout.prototype.maintainParentLocation
Specifies if the parent location should be maintained, so that the top, left corner stays the same before and after execution of the layout.
mxEditor.prototype.maintainSwimlanes
Specifies if the swimlanes should be kept at the same width or height depending on the setting of horizontalFlow.
mxEdgeHandler.prototype.manageLabelHandle
Specifies if the label handle should be moved if it intersects with another handle.
mxVertexHandler.prototype.manageSizers
Specifies if sizers should be hidden and spaced if the vertex is small.
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
mxPanningHandler.prototype.maxScale
Specifies the maximum scale.
MedianCellSorter.prototype.medianValue
The weighted value of the cell stored.
mxEdgeHandler.prototype.mergeRemoveEnabled
Specifies if removing bends by dropping them on other bends is enabled.
mxXmlRequest.prototype.method
Specifies the request method.
mxMultiplicity.prototype.min
Defines the minimum number of connections for which this rule applies.
Defines the minimum size in pixels of the portion of the cell which is to be used as a connectable region.
mxFastOrganicLayout.prototype.minDistanceLimit
Minimal distance limit.
mxFastOrganicLayout.prototype.minDistanceLimitSquared
Cached version of minDistanceLimit squared.
mxCompactTreeLayout.prototype.minEdgeJetty
The minimum distance for an edge jetty from a vertex.
mxCoordinateAssignment.prototype.minEdgeJetty
The minimum distance for an edge jetty from a vertex
mxGraph.prototype.minFitScale
Specifies the minimum scale to be applied in fit.
Specifies the event name for minimize.
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.
mxCellEditor.prototype.minResize
Defines the minimum width and height to be used in resize.
mxPanningHandler.prototype.minScale
Specifies the minimum scale.
mxGraph.prototype.model
Holds the mxGraphModel that contains the cells to be displayed.
mxHierarchicalLayout.prototype.model
The internal mxGraphHierarchyModel formed of the layout.
mxSwimlaneLayout.prototype.model
The internal mxSwimlaneModel formed of the layout.
mxCellEditor.prototype.modified
Specifies if the label has been modified.
mxEditor.prototype.modified
True if the graph has been modified since it was last saved.
Specifies the event name for mouseDown.
Specifies the event name for mouseMove.
Specifies the event name for mouseUp.
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.
+
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.
mxCompactTreeLayout.prototype.node
The internal node representation of the root cell.
mxShape.prototype.node
Holds the outermost DOM node that represents this shape.
mxCompactTreeLayout.prototype.nodeDistance
Holds the nodeDistance.
mxRadialTreeLayout.prototype.nodeDistance
Holds the nodeDistance.
DOM node of type ATTRIBUTE.
DOM node of type CDATA.
DOM node of type COMMENT.
DOM node of type DOCUMENT.
DOM node of type DOCUMENT_FRAGMENT.
DOM node of type DOCUMENTTYPE.
DOM node of type ELEMENT.
DOM node of type ENTITY.
DOM node of type ENTITY_REFERENCE.
DOM node of type NOTATION.
DOM node of type PROCESSING_INSTRUCTION.
DOM node of type TEXT.
Defines the value for none.
mxToolbar.prototype.noReset
Specifies if resetMode requires a forced flag of true for resetting the current mode in the toolbar.
Specifies the event name for normalize.
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.
mxShape.prototype.outline
Specifies if the shape should be drawn as an outline.
Defines the color to be used for the outline rectangle border.
Defines the color to be used for the outline sizer fill color.
Defines the color to be used for the outline sizer stroke color.
Specifies the default highlight color for shape outlines.
Defines the strokewidth to be used for the outline rectangle stroke width.
mxConnectionHandler.prototype.outlineConnect
Specifies if connections to the outline of a highlighted target should be enabled.
mxEdgeHandler.prototype.outlineConnect
Specifies if connections to the outline of a highlighted target should be enabled.
mxEditor.prototype.outlineResource
Specifies the resource key for the outline window title.
@@ -21,7 +25,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/javascript/searchdata.js b/docs/js-api/javascript/searchdata.js index 729cea9ee..57bf4bdb2 100644 --- a/docs/js-api/javascript/searchdata.js +++ b/docs/js-api/javascript/searchdata.js @@ -1,4 +1,94 @@ var indexSectionsWithContent = { + "Classes": { + "Symbols": false, + "Numbers": false, + "A": false, + "B": false, + "C": false, + "D": false, + "E": false, + "F": false, + "G": false, + "H": false, + "I": false, + "J": false, + "K": false, + "L": false, + "M": true, + "N": false, + "O": false, + "P": false, + "Q": false, + "R": false, + "S": false, + "T": false, + "U": false, + "V": false, + "W": true, + "X": false, + "Y": false, + "Z": false + }, + "Functions": { + "Symbols": false, + "Numbers": false, + "A": true, + "B": true, + "C": true, + "D": true, + "E": true, + "F": true, + "G": true, + "H": true, + "I": true, + "J": true, + "K": true, + "L": true, + "M": true, + "N": true, + "O": true, + "P": true, + "Q": true, + "R": true, + "S": true, + "T": true, + "U": true, + "V": true, + "W": true, + "X": false, + "Y": false, + "Z": true + }, + "Files": { + "Symbols": false, + "Numbers": false, + "A": true, + "B": false, + "C": false, + "D": false, + "E": false, + "F": false, + "G": false, + "H": false, + "I": false, + "J": false, + "K": false, + "L": false, + "M": true, + "N": false, + "O": false, + "P": false, + "Q": false, + "R": false, + "S": false, + "T": false, + "U": false, + "V": false, + "W": false, + "X": false, + "Y": false, + "Z": false + }, "General": { "Symbols": false, "Numbers": false, @@ -89,66 +179,6 @@ var indexSectionsWithContent = { "Y": true, "Z": true }, - "Files": { - "Symbols": false, - "Numbers": false, - "A": true, - "B": false, - "C": false, - "D": false, - "E": false, - "F": false, - "G": false, - "H": false, - "I": false, - "J": false, - "K": false, - "L": false, - "M": true, - "N": false, - "O": false, - "P": false, - "Q": false, - "R": false, - "S": false, - "T": false, - "U": false, - "V": false, - "W": false, - "X": false, - "Y": false, - "Z": false - }, - "Functions": { - "Symbols": false, - "Numbers": false, - "A": true, - "B": true, - "C": true, - "D": true, - "E": true, - "F": true, - "G": true, - "H": true, - "I": true, - "J": true, - "K": true, - "L": true, - "M": true, - "N": true, - "O": true, - "P": true, - "Q": true, - "R": true, - "S": true, - "T": true, - "U": true, - "V": true, - "W": true, - "X": false, - "Y": false, - "Z": true - }, "Cookies": { "Symbols": false, "Numbers": false, @@ -178,35 +208,5 @@ var indexSectionsWithContent = { "X": false, "Y": false, "Z": false - }, - "Classes": { - "Symbols": false, - "Numbers": false, - "A": false, - "B": false, - "C": false, - "D": false, - "E": false, - "F": false, - "G": false, - "H": false, - "I": false, - "J": false, - "K": false, - "L": false, - "M": true, - "N": false, - "O": false, - "P": false, - "Q": false, - "R": false, - "S": false, - "T": false, - "U": false, - "V": false, - "W": true, - "X": false, - "Y": false, - "Z": false } } \ No newline at end of file diff --git a/docs/js-api/search/ClassesM.html b/docs/js-api/search/ClassesM.html index 46ce5daab..272d0ef39 100644 --- a/docs/js-api/search/ClassesM.html +++ b/docs/js-api/search/ClassesM.html @@ -11,7 +11,7 @@ if (browserType) {document.write("
");if (browserV -
Loading...
Searching...
No Matches
diff --git a/docs/php-api/files/canvas/mxHtmlCanvas-php.html b/docs/php-api/files/canvas/mxHtmlCanvas-php.html index e0be089ba..894778910 100644 --- a/docs/php-api/files/canvas/mxHtmlCanvas-php.html +++ b/docs/php-api/files/canvas/mxHtmlCanvas-php.html @@ -43,7 +43,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/php-api/files/index-txt.html b/docs/php-api/files/index-txt.html index dccedf8b0..b3f5977da 100644 --- a/docs/php-api/files/index-txt.html +++ b/docs/php-api/files/index-txt.html @@ -19,7 +19,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/php-api/files/io/mxCellCodec-php.html b/docs/php-api/files/io/mxCellCodec-php.html index bd578e34a..bea40cd60 100644 --- a/docs/php-api/files/io/mxCellCodec-php.html +++ b/docs/php-api/files/io/mxCellCodec-php.html @@ -23,7 +23,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/php-api/files/io/mxCodec-php.html b/docs/php-api/files/io/mxCodec-php.html index 736950bd7..d34ecb02d 100644 --- a/docs/php-api/files/io/mxCodec-php.html +++ b/docs/php-api/files/io/mxCodec-php.html @@ -55,7 +55,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/php-api/files/io/mxCodecRegistry-php.html b/docs/php-api/files/io/mxCodecRegistry-php.html index 4984859cf..5ba8ba7c6 100644 --- a/docs/php-api/files/io/mxCodecRegistry-php.html +++ b/docs/php-api/files/io/mxCodecRegistry-php.html @@ -37,7 +37,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/php-api/files/io/mxModelCodec-php.html b/docs/php-api/files/io/mxModelCodec-php.html index b54001499..a1ef32189 100644 --- a/docs/php-api/files/io/mxModelCodec-php.html +++ b/docs/php-api/files/io/mxModelCodec-php.html @@ -23,7 +23,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/php-api/files/io/mxObjectCodec-php.html b/docs/php-api/files/io/mxObjectCodec-php.html index 0d010500f..0038fc38b 100644 --- a/docs/php-api/files/io/mxObjectCodec-php.html +++ b/docs/php-api/files/io/mxObjectCodec-php.html @@ -95,7 +95,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/php-api/files/io/mxStylesheetCodec-php.html b/docs/php-api/files/io/mxStylesheetCodec-php.html index 086228f5f..5d95c90db 100644 --- a/docs/php-api/files/io/mxStylesheetCodec-php.html +++ b/docs/php-api/files/io/mxStylesheetCodec-php.html @@ -23,7 +23,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/php-api/files/model/mxCell-php.html b/docs/php-api/files/model/mxCell-php.html index da1df63de..fcd669fb3 100644 --- a/docs/php-api/files/model/mxCell-php.html +++ b/docs/php-api/files/model/mxCell-php.html @@ -129,7 +129,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/php-api/files/model/mxCellPath-php.html b/docs/php-api/files/model/mxCellPath-php.html index 3f9043966..968d442ea 100644 --- a/docs/php-api/files/model/mxCellPath-php.html +++ b/docs/php-api/files/model/mxCellPath-php.html @@ -31,7 +31,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/php-api/files/model/mxGeometry-php.html b/docs/php-api/files/model/mxGeometry-php.html index 22892f686..5007953b4 100644 --- a/docs/php-api/files/model/mxGeometry-php.html +++ b/docs/php-api/files/model/mxGeometry-php.html @@ -47,7 +47,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/php-api/files/model/mxGraphModel-php.html b/docs/php-api/files/model/mxGraphModel-php.html index ce444568e..68c7f12e1 100644 --- a/docs/php-api/files/model/mxGraphModel-php.html +++ b/docs/php-api/files/model/mxGraphModel-php.html @@ -135,7 +135,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/php-api/files/reader/mxGraphViewHtmlReader-php.html b/docs/php-api/files/reader/mxGraphViewHtmlReader-php.html index ba6381b1b..92f372269 100644 --- a/docs/php-api/files/reader/mxGraphViewHtmlReader-php.html +++ b/docs/php-api/files/reader/mxGraphViewHtmlReader-php.html @@ -29,7 +29,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/php-api/files/reader/mxGraphViewImageReader-php.html b/docs/php-api/files/reader/mxGraphViewImageReader-php.html index 8ad2b4660..a48a9f026 100644 --- a/docs/php-api/files/reader/mxGraphViewImageReader-php.html +++ b/docs/php-api/files/reader/mxGraphViewImageReader-php.html @@ -57,7 +57,7 @@ var xml = mxUtils.getXML(node); - diff --git a/docs/php-api/files/util/mxConstants-php.html b/docs/php-api/files/util/mxConstants-php.html index c88f3250d..6e41176ac 100644 --- a/docs/php-api/files/util/mxConstants-php.html +++ b/docs/php-api/files/util/mxConstants-php.html @@ -11,7 +11,7 @@ if (browserType) {document.write("
");if (browserV -

mxConstants

Defines global constants.

Summary
mxConstantsDefines global constants.
Variables
RAD_PER_DEGDefines the number of radiants per degree.
DEG_PER_RADDefines the number of degrees per radiant.
ACTIVE_REGIONDefines the portion of the cell which is to be used as a connectable region.
MIN_ACTIVE_REGIONDefines the minimum size in pixels of the portion of the cell cell which is to be used as a connectable region.
NS_SVGDefines the SVG namespace.
NS_XHTMLDefines the XHTML namespace.
NS_XLINKDefined the XLink namespace.
W3C_SHADOWCOLORDefines the color to be used to draw shadows in DOM documents.
SHADOW_OFFSETXDefines the x-offset to be used for shadows.
SHADOW_OFFSETYDefines the y-offset to be used for shadows.
W3C_DEFAULT_FONTFAMILYDefines the default family for HTML markup.
TTF_ENABLEDWhether TrueType fonts should be enabled in the mxGdCanvas by default.
TTF_SIZEFACTORDefines the factor which wich the font sizes are to be multiplied when used in truetype fonts.
DEFAULT_FONTFAMILYDefines the default family for all truetype fonts.
DEFAULT_FONTSIZEDefines the default size for all fonts in points.
DEFAULT_STARTSIZEDefines the default start size for swimlanes.
DEFAULT_LINESPACINGDefines the default linespacing.
LABEL_INSETDefines the inset in absolute pixels between the label bounding box and the label text.
DEFAULT_MARKERSIZEDefines the default size for all markers.
DEFAULT_IMAGESIZEDefines the default width and height for images used in the label shape.
ENTITY_SEGMENTDefines the length of the horizontal segment of an Entity Relation.
ARROW_SPACINGDefines the spacing between the arrow shape and its terminals.
ARROW_WIDTHDefines the width of the arrow shape.
ARROW_SIZEDefines the size of the arrowhead in the arrow shape.
NONEDefines the value for none.
STYLE_PERIMETERDefines the key for the perimeter style.
STYLE_OPACITYDefines the key for the opacity style.
STYLE_TEXT_OPACITYDefines the key for the text opacity style.
STYLE_OVERFLOWDefines the key for the overflow style.
STYLE_ORTHOGONALDefines if the connection points on either end of the edge should be computed so that the edge is vertical or horizontal if possible and if the point is not at a fixed location.
STYLE_EXIT_XDefines the key for the horizontal relative coordinate connection point of an edge with its source terminal.
STYLE_EXIT_YDefines the key for the vertical relative coordinate connection point of an edge with its source terminal.
STYLE_EXIT_PERIMETERDefines if the perimeter should be used to find the exact entry point along the perimeter of the source.
STYLE_ENTRY_XDefines the key for the horizontal relative coordinate connection point of an edge with its target terminal.
STYLE_ENTRY_YDefines the key for the vertical relative coordinate connection point of an edge with its target terminal.
sSTYLE_ENTRY_PERIMETERDefines if the perimeter should be used to find the exact entry point along the perimeter of the target.
STYLE_WHITE_SPACEDefines the key for the white-space style.
STYLE_ROTATIONDefines the key for the rotation style.
STYLE_FILLCOLORDefines the key for the fill color.
STYLE_GRADIENTCOLORDefines the key for the gradient color.
STYLE_GRADIENT_DIRECTIONDefines the key for the gradient direction.
STYLE_STROKECOLORDefines the key for the strokeColor style.
STYLE_SEPARATORCOLORDefines the key for the separatorColor style.
STYLE_STROKEWIDTHDefines the key for the strokeWidth style.
STYLE_ALIGNDefines the key for the align style.
STYLE_VERTICAL_ALIGNDefines the key for the verticalAlign style.
STYLE_LABEL_POSITIONDefines the key for the horizontal label position of vertices.
STYLE_VERTICAL_LABEL_POSITIONDefines the key for the vertical label position of vertices.
STYLE_IMAGE_ALIGNDefines the key for the align style.
STYLE_IMAGE_VERTICALALIGNDefines the key for the verticalAlign style.
STYLE_IMAGEDefines the key for the image style.
STYLE_IMAGE_WIDTHDefines the key for the imageWidth style.
STYLE_IMAGE_HEIGHTDefines the key for the imageHeight style.
STYLE_IMAGE_BACKGROUNDDefines the key for the image background color.
STYLE_IMAGE_BORDERDefines the key for the image border color.
STYLE_IMAGE_FLIPHDefines the key for the horizontal image flip.
STYLE_IMAGE_FLIPVDefines the key for the vertical image flip.
STYLE_NOLABELDefines the key for the noLabel style.
STYLE_NOEDGESTYLEDefines the key for the noEdgeStyle style.
STYLE_LABEL_BACKGROUNDCOLORDefines the key for the label background color.
STYLE_LABEL_BORDERCOLORDefines the key for the label border color.
STYLE_INDICATOR_SHAPEDefines the key for the indicatorShape style.
STYLE_INDICATOR_IMAGEDefines the key for the indicatorImage style.
STYLE_INDICATOR_COLORDefines the key for the indicatorColor style.
STYLE_INDICATOR_GRADIENTCOLORDefines the key for the indicatorGradientColor style.
STYLE_INDICATOR_SPACINGDefines the key for the indicatorSpacing style (in px).
STYLE_INDICATOR_WIDTHDefines the key for the indicatorWidth style (in px).
STYLE_INDICATOR_HEIGHTDefines the key for the indicatorHeight style (in px).
STYLE_SHADOWDefines the key for the shadow style.
STYLE_SEGMENTDefines the key for the segment style.
STYLE_ENDARROWDefines the key for the endArrow style.
STYLE_STARTARROWDefines the key for the startArrow style.
STYLE_ENDSIZEDefines the key for the endSize style.
STYLE_STARTSIZEDefines the key for the startSize style.
STYLE_DASHEDDefines the key for the endSize style.
STYLE_ROUNDEDDefines the key for the rounded style.
STYLE_SOURCE_PERIMETER_SPACINGDefines the key for the source perimeter spacing.
STYLE_TARGET_PERIMETER_SPACINGDefines the key for the source perimeter spacing.
STYLE_PERIMETER_SPACINGDefines the key for the perimeter spacing.
STYLE_SPACINGDefines the key for the spacing.
STYLE_SPACING_TOPDefines the key for the spacingTop style.
STYLE_SPACING_LEFTDefines the key for the spacingLeft style.
STYLE_SPACING_BOTTOMDefines the key for the spacingBottom style The value represents the spacing, in pixels, added to the bottom side of a label in a vertex (style applies to vertices only).
STYLE_SPACING_RIGHTDefines the key for the spacingRight style The value represents the spacing, in pixels, added to the right side of a label in a vertex (style applies to vertices only).
STYLE_HORIZONTALDefines the key for the horizontal style.
STYLE_DIRECTIONDefines the key for the direction style.
STYLE_ELBOWDefines the key for the elbow style.
STYLE_FONTCOLORDefines the key for the fontColor style.
STYLE_FONTFAMILYDefines the key for the fontFamily style.
STYLE_FONTSIZEDefines the key for the fontSize style (in points).
STYLE_FONTSTYLEDefines the key for the fontStyle style.
STYLE_SHAPEDefines the key for the shape.
STYLE_EDGEDefines the key for the edge style.
STYLE_LOOPDefines the key for the loop style.
STYLE_ROUTING_CENTER_XDefines the key for the horizontal routing center.
STYLE_ROUTING_CENTER_YDefines the key for the vertical routing center.
FONT_BOLD
FONT_ITALIC
FONT_UNDERLINE
FONT_SHADOW
SHAPE_RECTANGLE
SHAPE_ELLIPSE
SHAPE_DOUBLE_ELLIPSE
SHAPE_RHOMBUS
SHAPE_LINE
SHAPE_IMAGE
SHAPE_ARROW
SHAPE_LABEL
SHAPE_CYLINDER
SHAPE_SWIMLANE
SHAPE_CONNECTOR
SHAPE_ACTOR
SHAPE_CLOUD
SHAPE_TRIANGLE
SHAPE_HEXAGON
ARROW_CLASSIC
ARROW_BLOCK
ARROW_OPEN
ARROW_OVAL
ARROW_DIAMOND
ALIGN_LEFT
ALIGN_CENTER
ALIGN_RIGHT
ALIGN_TOP
ALIGN_MIDDLE
ALIGN_BOTTOM
DIRECTION_NORTH
DIRECTION_SOUTH
DIRECTION_EAST
DIRECTION_WEST
ELBOW_VERTICAL
ELBOW_HORIZONTAL
EDGESTYLE_ENTITY_RELATIONName of the entity relation edge style.
EDGESTYLE_LOOPName of the loop edge style.
EDGESTYLE_SIDETOSIDEName of the side to side edge style.
EDGESTYLE_TOPTOBOTTOMName of the top to bottom edge style.
PERIMETER_ELLIPSEName of the ellipse perimeter.
PERIMETER_RECTANGLEName of the rectangle perimeter.
PERIMETER_RHOMBUSName of the rhombus perimeter.
PERIMETER_TRIANGLEName of the triangle perimeter.
+

mxConstants

Defines global constants.

Summary
mxConstantsDefines global constants.
Variables
RAD_PER_DEGDefines the number of radiants per degree.
DEG_PER_RADDefines the number of degrees per radiant.
ACTIVE_REGIONDefines the portion of the cell which is to be used as a connectable region.
MIN_ACTIVE_REGIONDefines the minimum size in pixels of the portion of the cell cell which is to be used as a connectable region.
NS_SVGDefines the SVG namespace.
NS_XHTMLDefines the XHTML namespace.
NS_XLINKDefined the XLink namespace.
W3C_SHADOWCOLORDefines the color to be used to draw shadows in DOM documents.
SHADOW_OFFSETXDefines the x-offset to be used for shadows.
SHADOW_OFFSETYDefines the y-offset to be used for shadows.
W3C_DEFAULT_FONTFAMILYDefines the default family for HTML markup.
TTF_ENABLEDWhether TrueType fonts should be enabled in the mxGdCanvas by default.
TTF_SIZEFACTORDefines the factor which wich the font sizes are to be multiplied when used in truetype fonts.
DEFAULT_FONTFAMILYDefines the default family for all truetype fonts.
DEFAULT_FONTSIZEDefines the default size for all fonts in points.
DEFAULT_STARTSIZEDefines the default start size for swimlanes.
DEFAULT_LINESPACINGDefines the default linespacing.
LABEL_INSETDefines the inset in absolute pixels between the label bounding box and the label text.
DEFAULT_MARKERSIZEDefines the default size for all markers.
DEFAULT_IMAGESIZEDefines the default width and height for images used in the label shape.
ENTITY_SEGMENTDefines the length of the horizontal segment of an Entity Relation.
ARROW_SPACINGDefines the spacing between the arrow shape and its terminals.
ARROW_WIDTHDefines the width of the arrow shape.
ARROW_SIZEDefines the size of the arrowhead in the arrow shape.
NONEDefines the value for none.
STYLE_PERIMETERDefines the key for the perimeter style.
STYLE_OPACITYDefines the key for the opacity style.
STYLE_TEXT_OPACITYDefines the key for the text opacity style.
STYLE_OVERFLOWDefines the key for the overflow style.
STYLE_ORTHOGONALDefines if the connection points on either end of the edge should be computed so that the edge is vertical or horizontal if possible and if the point is not at a fixed location.
STYLE_EXIT_XDefines the key for the horizontal relative coordinate connection point of an edge with its source terminal.
STYLE_EXIT_YDefines the key for the vertical relative coordinate connection point of an edge with its source terminal.
STYLE_EXIT_PERIMETERDefines if the perimeter should be used to find the exact entry point along the perimeter of the source.
STYLE_ENTRY_XDefines the key for the horizontal relative coordinate connection point of an edge with its target terminal.
STYLE_ENTRY_YDefines the key for the vertical relative coordinate connection point of an edge with its target terminal.
sSTYLE_ENTRY_PERIMETERDefines if the perimeter should be used to find the exact entry point along the perimeter of the target.
STYLE_WHITE_SPACEDefines the key for the white-space style.
STYLE_ROTATIONDefines the key for the rotation style.
STYLE_FILLCOLORDefines the key for the fill color.
STYLE_GRADIENTCOLORDefines the key for the gradient color.
STYLE_GRADIENT_DIRECTIONDefines the key for the gradient direction.
STYLE_STROKECOLORDefines the key for the strokeColor style.
STYLE_SEPARATORCOLORDefines the key for the separatorColor style.
STYLE_STROKEWIDTHDefines the key for the strokeWidth style.
STYLE_ALIGNDefines the key for the align style.
STYLE_VERTICAL_ALIGNDefines the key for the verticalAlign style.
STYLE_LABEL_POSITIONDefines the key for the horizontal label position of vertices.
STYLE_VERTICAL_LABEL_POSITIONDefines the key for the vertical label position of vertices.
STYLE_IMAGE_ALIGNDefines the key for the align style.
STYLE_IMAGE_VERTICALALIGNDefines the key for the verticalAlign style.
STYLE_IMAGEDefines the key for the image style.
STYLE_IMAGE_WIDTHDefines the key for the imageWidth style.
STYLE_IMAGE_HEIGHTDefines the key for the imageHeight style.
STYLE_IMAGE_BACKGROUNDDefines the key for the image background color.
STYLE_IMAGE_BORDERDefines the key for the image border color.
STYLE_IMAGE_FLIPHDefines the key for the horizontal image flip.
STYLE_IMAGE_FLIPVDefines the key for the vertical image flip.
STYLE_NOLABELDefines the key for the noLabel style.
STYLE_NOEDGESTYLEDefines the key for the noEdgeStyle style.
STYLE_LABEL_BACKGROUNDCOLORDefines the key for the label background color.
STYLE_LABEL_BORDERCOLORDefines the key for the label border color.
STYLE_INDICATOR_SHAPEDefines the key for the indicatorShape style.
STYLE_INDICATOR_IMAGEDefines the key for the indicatorImage style.
STYLE_INDICATOR_COLORDefines the key for the indicatorColor style.
STYLE_INDICATOR_GRADIENTCOLORDefines the key for the indicatorGradientColor style.
STYLE_INDICATOR_SPACINGDefines the key for the indicatorSpacing style (in px).
STYLE_INDICATOR_WIDTHDefines the key for the indicatorWidth style (in px).
STYLE_INDICATOR_HEIGHTDefines the key for the indicatorHeight style (in px).
STYLE_SHADOWDefines the key for the shadow style.
STYLE_SEGMENTDefines the key for the segment style.
STYLE_ENDARROWDefines the key for the endArrow style.
STYLE_STARTARROWDefines the key for the startArrow style.
STYLE_ENDSIZEDefines the key for the endSize style.
STYLE_STARTSIZEDefines the key for the startSize style.
STYLE_DASHEDDefines the key for the endSize style.
STYLE_ROUNDEDDefines the key for the rounded style.
STYLE_SOURCE_PERIMETER_SPACINGDefines the key for the source perimeter spacing.
STYLE_TARGET_PERIMETER_SPACINGDefines the key for the source perimeter spacing.
STYLE_PERIMETER_SPACINGDefines the key for the perimeter spacing.
STYLE_SPACINGDefines the key for the spacing.
STYLE_SPACING_TOPDefines the key for the spacingTop style.
STYLE_SPACING_LEFTDefines the key for the spacingLeft style.
STYLE_SPACING_BOTTOMDefines the key for the spacingBottom style The value represents the spacing, in pixels, added to the bottom side of a label in a vertex (style applies to vertices only).
STYLE_SPACING_RIGHTDefines the key for the spacingRight style The value represents the spacing, in pixels, added to the right side of a label in a vertex (style applies to vertices only).
STYLE_HORIZONTALDefines the key for the horizontal style.
STYLE_DIRECTIONDefines the key for the direction style.
STYLE_ELBOWDefines the key for the elbow style.
STYLE_FONTCOLORDefines the key for the fontColor style.
STYLE_FONTFAMILYDefines the key for the fontFamily style.
STYLE_FONTSIZEDefines the key for the fontSize style (in points).
STYLE_FONTSTYLEDefines the key for the fontStyle style.
STYLE_SHAPEDefines the key for the shape.
STYLE_EDGEDefines the key for the edge style.
STYLE_LOOPDefines the key for the loop style.
STYLE_ROUTING_CENTER_XDefines the key for the horizontal routing center.
STYLE_ROUTING_CENTER_YDefines the key for the vertical routing center.
FONT_BOLD
FONT_ITALIC
FONT_UNDERLINE
SHAPE_RECTANGLE
SHAPE_ELLIPSE
SHAPE_DOUBLE_ELLIPSE
SHAPE_RHOMBUS
SHAPE_LINE
SHAPE_IMAGE
SHAPE_ARROW
SHAPE_LABEL
SHAPE_CYLINDER
SHAPE_SWIMLANE
SHAPE_CONNECTOR
SHAPE_ACTOR
SHAPE_CLOUD
SHAPE_TRIANGLE
SHAPE_HEXAGON
ARROW_CLASSIC
ARROW_BLOCK
ARROW_OPEN
ARROW_OVAL
ARROW_DIAMOND
ALIGN_LEFT
ALIGN_CENTER
ALIGN_RIGHT
ALIGN_TOP
ALIGN_MIDDLE
ALIGN_BOTTOM
DIRECTION_NORTH
DIRECTION_SOUTH
DIRECTION_EAST
DIRECTION_WEST
ELBOW_VERTICAL
ELBOW_HORIZONTAL
EDGESTYLE_ENTITY_RELATIONName of the entity relation edge style.
EDGESTYLE_LOOPName of the loop edge style.
EDGESTYLE_SIDETOSIDEName of the side to side edge style.
EDGESTYLE_TOPTOBOTTOMName of the top to bottom edge style.
PERIMETER_ELLIPSEName of the ellipse perimeter.
PERIMETER_RECTANGLEName of the rectangle perimeter.
PERIMETER_RHOMBUSName of the rhombus perimeter.
PERIMETER_TRIANGLEName of the triangle perimeter.

Variables

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

DEFAULT_IMAGESIZE

public static $DEFAULT_IMAGESIZE

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

-

ENTITY_SEGMENT

public static $ENTITY_SEGMENT

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

+

ENTITY_SEGMENT

public static $ENTITY_SEGMENT

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

ARROW_SPACING

public static $ARROW_SPACING

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

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

NONE

public static $NONE

Defines the value for none.  Default is “none”.

-

STYLE_PERIMETER

public static $STYLE_PERIMETER

Defines the key for the perimeter style.  This is a function that defines the perimeter around a particular shape.  Possible values are the functions defined in mxPerimeter.  Alternatively, the constants in this class that start with <code>PERIMETER_</code> may be used to access perimeter styles in mxStyleRegistry.

+

STYLE_PERIMETER

public static $STYLE_PERIMETER

Defines the key for the perimeter style.  This is a function that defines the perimeter around a particular shape.  Possible values are the functions defined in mxPerimeter.  Alternatively, the constants in this class that start with <code>PERIMETER_</code> may be used to access perimeter styles in mxStyleRegistry.

STYLE_OPACITY

public static $STYLE_OPACITY

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

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

STYLE_OVERFLOW

public static $STYLE_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.

This style is ignored in PHP.

-

STYLE_ORTHOGONAL

public static $STYLE_ORTHOGONAL

Defines if the connection points on either end of the edge should be computed so that the edge is vertical or horizontal if possible and if the point is not at a fixed location.  Default is false.  This is used in mxGraph.isOrthogonal, which also returns true if the edgeStyle of the edge is an elbow or entity.

+

STYLE_ORTHOGONAL

public static $STYLE_ORTHOGONAL

Defines if the connection points on either end of the edge should be computed so that the edge is vertical or horizontal if possible and if the point is not at a fixed location.  Default is false.  This is used in mxGraph.isOrthogonal, which also returns true if the edgeStyle of the edge is an elbow or entity.

STYLE_EXIT_X

public static $STYLE_EXIT_X

Defines the key for the horizontal relative coordinate connection point of an edge with its source terminal.

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

STYLE_GRADIENTCOLOR

public static $STYLE_GRADIENTCOLOR

Defines the key for the gradient color.  Possible values are all HTML color names or HEX codes, as well as special keywords such as ‘swimlane, ‘inherit’ or ‘indicated’ to use the color code of a related cell or the indicator shape.  This is ignored if no fill color is defined.

-

STYLE_GRADIENT_DIRECTION

public static $STYLE_GRADIENT_DIRECTION

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.

+

STYLE_GRADIENT_DIRECTION

public static $STYLE_GRADIENT_DIRECTION

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.

STYLE_STROKECOLOR

public static $STYLE_STROKECOLOR

Defines the key for the strokeColor style.  Possible values are all HTML color names or HEX codes, as well as special keywords such as ‘swimlane, ‘inherit’ or ‘indicated’ to use the color code of a related cell or the indicator shape.

-

STYLE_SEPARATORCOLOR

public static $STYLE_SEPARATORCOLOR

Defines the key for the separatorColor style.  Possible values are all HTML color names or HEX codes.  This style is only used for SHAPE_SWIMLANE shapes.

+

STYLE_SEPARATORCOLOR

public static $STYLE_SEPARATORCOLOR

Defines the key for the separatorColor style.  Possible values are all HTML color names or HEX codes.  This style is only used for SHAPE_SWIMLANE shapes.

STYLE_STROKEWIDTH

public static $STYLE_STROKEWIDTH

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

-

STYLE_ALIGN

public static $STYLE_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.

+

STYLE_ALIGN

public static $STYLE_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.

-

STYLE_VERTICAL_ALIGN

public static $STYLE_VERTICAL_ALIGN

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.

+

STYLE_VERTICAL_ALIGN

public static $STYLE_VERTICAL_ALIGN

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.

-

STYLE_LABEL_POSITION

public static $STYLE_LABEL_POSITION

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.

+

STYLE_LABEL_POSITION

public static $STYLE_LABEL_POSITION

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.

-

STYLE_VERTICAL_LABEL_POSITION

public static $STYLE_VERTICAL_LABEL_POSITION

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.

+

STYLE_VERTICAL_LABEL_POSITION

public static $STYLE_VERTICAL_LABEL_POSITION

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.

-

STYLE_IMAGE_ALIGN

public static $STYLE_IMAGE_ALIGN

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.

+

STYLE_IMAGE_ALIGN

public static $STYLE_IMAGE_ALIGN

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.

-

STYLE_IMAGE_VERTICALALIGN

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.

+

STYLE_IMAGE_VERTICALALIGN

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.

-

STYLE_IMAGE

public static $STYLE_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.  Finally, mxUtils.loadImage is used for loading the image for a given value.

+

STYLE_IMAGE

public static $STYLE_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.  Finally, mxUtils.loadImage is used for loading the image for a given value.

STYLE_IMAGE_WIDTH

public static $STYLE_IMAGE_WIDTH

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

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

STYLE_INDICATOR_COLOR

public static $STYLE_INDICATOR_COLOR

Defines the key for the indicatorColor style.  Possible values are all HTML color names or HEX codes, as well as the special ‘swimlane’ keyword to refer to the color of the parent swimlane if one exists.

-

STYLE_INDICATOR_GRADIENTCOLOR

public static $STYLE_INDICATOR_GRADIENTCOLOR

Defines the key for the indicatorGradientColor style.  Possible values are all HTML color names or HEX codes.  This style is only supported in SHAPE_LABEL shapes.

+

STYLE_INDICATOR_GRADIENTCOLOR

public static $STYLE_INDICATOR_GRADIENTCOLOR

Defines the key for the indicatorGradientColor style.  Possible values are all HTML color names or HEX codes.  This style is only supported in SHAPE_LABEL shapes.

STYLE_INDICATOR_SPACING

public static $STYLE_INDICATOR_SPACING

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

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

STYLE_SPACING_RIGHT

public static $STYLE_SPACING_RIGHT

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

-

STYLE_HORIZONTAL

public static $STYLE_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 <code>SHAPE_SWIMLANE</code> 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.

+

STYLE_HORIZONTAL

public static $STYLE_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 <code>SHAPE_SWIMLANE</code> 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.

-

STYLE_DIRECTION

public static $STYLE_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.

+

STYLE_DIRECTION

public static $STYLE_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.

-

STYLE_ELBOW

public static $STYLE_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.

+

STYLE_ELBOW

public static $STYLE_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.

STYLE_FONTCOLOR

public static $STYLE_FONTCOLOR

Defines the key for the fontColor style.  Possible values are all HTML color names or HEX codes.

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

STYLE_FONTSIZE

public static $STYLE_FONTSIZE

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

-

STYLE_FONTSTYLE

public static $STYLE_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.

+

STYLE_FONTSTYLE

public static $STYLE_FONTSTYLE

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

STYLE_SHAPE

public static $STYLE_SHAPE

Defines the key for the shape.  Possible values are all constants with a SHAPE-prefix or any newly defined shape names.

-

STYLE_EDGE

public static $STYLE_EDGE

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

+

STYLE_EDGE

public static $STYLE_EDGE

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

-

STYLE_LOOP

public static $STYLE_LOOP

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

+

STYLE_LOOP

public static $STYLE_LOOP

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

STYLE_ROUTING_CENTER_X

public static $STYLE_ROUTING_CENTER_X

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

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

FONT_UNDERLINE

public static $FONT_UNDERLINE
-

FONT_SHADOW

public static $FONT_SHADOW
-

SHAPE_RECTANGLE

public static $SHAPE_RECTANGLE

SHAPE_ELLIPSE

public static $SHAPE_ELLIPSE
@@ -301,7 +299,7 @@ if (browserType) {document.write("
");if (browserV - @@ -309,7 +307,7 @@ HideAllBut([3, 4], 6);// -->
-
public static $RAD_PER_DEG
Defines the number of radiants per degree.
public static $DEG_PER_RAD
Defines the number of degrees per radiant.
public static $ACTIVE_REGION
Defines the portion of the cell which is to be used as a connectable region.
public static $MIN_ACTIVE_REGION
Defines the minimum size in pixels of the portion of the cell cell which is to be used as a connectable region.
public static $NS_SVG
Defines the SVG namespace.
public static $NS_XHTML
Defines the XHTML namespace.
public static $NS_XLINK
Defined the XLink namespace.
public static $W3C_SHADOWCOLOR
Defines the color to be used to draw shadows in DOM documents.
public static $SHADOW_OFFSETX
Defines the x-offset to be used for shadows.
public static $SHADOW_OFFSETY
Defines the y-offset to be used for shadows.
public static $W3C_DEFAULT_FONTFAMILY
Defines the default family for HTML markup.
public static $TTF_ENABLED
Whether TrueType fonts should be enabled in the mxGdCanvas by default.
public static $TTF_SIZEFACTOR
Defines the factor which wich the font sizes are to be multiplied when used in truetype fonts.
public static $DEFAULT_FONTFAMILY
Defines the default family for all truetype fonts.
public static $DEFAULT_FONTSIZE
Defines the default size for all fonts in points.
public static $DEFAULT_STARTSIZE
Defines the default start size for swimlanes.
public static $DEFAULT_LINESPACING
Defines the default linespacing.
public static $LABEL_INSET
Defines the inset in absolute pixels between the label bounding box and the label text.
public static $DEFAULT_MARKERSIZE
Defines the default size for all markers.
public static $DEFAULT_IMAGESIZE
Defines the default width and height for images used in the label shape.
public static $ENTITY_SEGMENT
Defines the length of the horizontal segment of an Entity Relation.
public static $ARROW_SPACING
Defines the spacing between the arrow shape and its terminals.
public static $ARROW_WIDTH
Defines the width of the arrow shape.
public static $ARROW_SIZE
Defines the size of the arrowhead in the arrow shape.
public static $NONE
Defines the value for none.
public static $STYLE_PERIMETER
Defines the key for the perimeter style.
public static $STYLE_OPACITY
Defines the key for the opacity style.
public static $STYLE_TEXT_OPACITY
Defines the key for the text opacity style.
public static $STYLE_OVERFLOW
Defines the key for the overflow style.
public static $STYLE_ORTHOGONAL
Defines if the connection points on either end of the edge should be computed so that the edge is vertical or horizontal if possible and if the point is not at a fixed location.
public static $STYLE_EXIT_X
Defines the key for the horizontal relative coordinate connection point of an edge with its source terminal.
public static $STYLE_EXIT_Y
Defines the key for the vertical relative coordinate connection point of an edge with its source terminal.
public static $STYLE_EXIT_PERIMETER
Defines if the perimeter should be used to find the exact entry point along the perimeter of the source.
public static $STYLE_ENTRY_X
Defines the key for the horizontal relative coordinate connection point of an edge with its target terminal.
public static $STYLE_ENTRY_Y
Defines the key for the vertical relative coordinate connection point of an edge with its target terminal.
public static $STYLE_WHITE_SPACE
Defines the key for the white-space style.
public static $STYLE_ROTATION
Defines the key for the rotation style.
public static $STYLE_FILLCOLOR
Defines the key for the fill color.
public static $STYLE_GRADIENTCOLOR
Defines the key for the gradient color.
public static $STYLE_GRADIENT_DIRECTION
Defines the key for the gradient direction.
public static $STYLE_STROKECOLOR
Defines the key for the strokeColor style.
public static $STYLE_SEPARATORCOLOR
Defines the key for the separatorColor style.
public static $STYLE_STROKEWIDTH
Defines the key for the strokeWidth style.
public static $STYLE_ALIGN
Defines the key for the align style.
public static $STYLE_VERTICAL_ALIGN
Defines the key for the verticalAlign style.
public static $STYLE_LABEL_POSITION
Defines the key for the horizontal label position of vertices.
public static $STYLE_VERTICAL_LABEL_POSITION
Defines the key for the vertical label position of vertices.
public static $STYLE_IMAGE_ALIGN
Defines the key for the align style.
public static $STYLE_IMAGE
Defines the key for the image style.
public static $STYLE_IMAGE_WIDTH
Defines the key for the imageWidth style.
public static $STYLE_IMAGE_HEIGHT
Defines the key for the imageHeight style.
public static $STYLE_IMAGE_BACKGROUND
Defines the key for the image background color.
public static $STYLE_IMAGE_BORDER
Defines the key for the image border color.
public static $STYLE_IMAGE_FLIPH
Defines the key for the horizontal image flip.
public static $STYLE_IMAGE_FLIPV
Defines the key for the vertical image flip.
public static $STYLE_NOLABEL
Defines the key for the noLabel style.
public static $STYLE_NOEDGESTYLE
Defines the key for the noEdgeStyle style.
public static $STYLE_LABEL_BACKGROUNDCOLOR
Defines the key for the label background color.
public static $STYLE_LABEL_BORDERCOLOR
Defines the key for the label border color.
public static $STYLE_INDICATOR_SHAPE
Defines the key for the indicatorShape style.
public static $STYLE_INDICATOR_IMAGE
Defines the key for the indicatorImage style.
public static $STYLE_INDICATOR_COLOR
Defines the key for the indicatorColor style.
public static $STYLE_INDICATOR_GRADIENTCOLOR
Defines the key for the indicatorGradientColor style.
public static $STYLE_INDICATOR_SPACING
Defines the key for the indicatorSpacing style (in px).
public static $STYLE_INDICATOR_WIDTH
Defines the key for the indicatorWidth style (in px).
public static $STYLE_INDICATOR_HEIGHT
Defines the key for the indicatorHeight style (in px).
public static $STYLE_SHADOW
Defines the key for the shadow style.
public static $STYLE_SEGMENT
Defines the key for the segment style.
public static $STYLE_ENDARROW
Defines the key for the endArrow style.
public static $STYLE_STARTARROW
Defines the key for the startArrow style.
public static $STYLE_ENDSIZE
Defines the key for the endSize style.
public static $STYLE_STARTSIZE
Defines the key for the startSize style.
public static $STYLE_DASHED
Defines the key for the endSize style.
public static $STYLE_ROUNDED
Defines the key for the rounded style.
public static $STYLE_SOURCE_PERIMETER_SPACING
Defines the key for the source perimeter spacing.
public static $STYLE_TARGET_PERIMETER_SPACING
Defines the key for the source perimeter spacing.
public static $STYLE_PERIMETER_SPACING
Defines the key for the perimeter spacing.
public static $STYLE_SPACING
Defines the key for the spacing.
public static $STYLE_SPACING_TOP
Defines the key for the spacingTop style.
public static $STYLE_SPACING_LEFT
Defines the key for the spacingLeft style.
public static $STYLE_SPACING_BOTTOM
Defines the key for the spacingBottom style The value represents the spacing, in pixels, added to the bottom side of a label in a vertex (style applies to vertices only).
public static $STYLE_SPACING_RIGHT
Defines the key for the spacingRight style The value represents the spacing, in pixels, added to the right side of a label in a vertex (style applies to vertices only).
public static $STYLE_HORIZONTAL
Defines the key for the horizontal style.
public static $STYLE_DIRECTION
Defines the key for the direction style.
public static $STYLE_ELBOW
Defines the key for the elbow style.
public static $STYLE_FONTCOLOR
Defines the key for the fontColor style.
public static $STYLE_FONTFAMILY
Defines the key for the fontFamily style.
public static $STYLE_FONTSIZE
Defines the key for the fontSize style (in points).
public static $STYLE_FONTSTYLE
Defines the key for the fontStyle style.
public static $STYLE_SHAPE
Defines the key for the shape.
public static $STYLE_EDGE
Defines the key for the edge style.
public static $STYLE_LOOP
Defines the key for the loop style.
public static $STYLE_ROUTING_CENTER_X
Defines the key for the horizontal routing center.
public static $STYLE_ROUTING_CENTER_Y
Defines the key for the vertical routing center.
public static $FONT_BOLD
public static $FONT_ITALIC
public static $FONT_UNDERLINE
public static $FONT_SHADOW
public static $SHAPE_RECTANGLE
public static $SHAPE_ELLIPSE
public static $SHAPE_DOUBLE_ELLIPSE
public static $SHAPE_RHOMBUS
public static $SHAPE_LINE
public static $SHAPE_IMAGE
public static $SHAPE_ARROW
public static $SHAPE_LABEL
public static $SHAPE_CYLINDER
public static $SHAPE_SWIMLANE
public static $SHAPE_CONNECTOR
public static $SHAPE_ACTOR
public static $SHAPE_CLOUD
public static $SHAPE_TRIANGLE
public static $SHAPE_HEXAGON
public static $ARROW_CLASSIC
public static $ARROW_BLOCK
public static $ARROW_OPEN
public static $ARROW_OVAL
public static $ARROW_DIAMOND
public static $ALIGN_LEFT
public static $ALIGN_CENTER
public static $ALIGN_RIGHT
public static $ALIGN_TOP
public static $ALIGN_MIDDLE
public static $ALIGN_BOTTOM
public static $DIRECTION_NORTH
public static $DIRECTION_SOUTH
public static $DIRECTION_EAST
public static $DIRECTION_WEST
public static $ELBOW_VERTICAL
public static $ELBOW_HORIZONTAL
public static $EDGESTYLE_ENTITY_RELATION
Name of the entity relation edge style.
public static $EDGESTYLE_LOOP
Name of the loop edge style.
public static $EDGESTYLE_SIDETOSIDE
Name of the side to side edge style.
public static $EDGESTYLE_TOPTOBOTTOM
Name of the top to bottom edge style.
public static $PERIMETER_ELLIPSE
Name of the ellipse perimeter.
public static $PERIMETER_RECTANGLE
Name of the rectangle perimeter.
public static $PERIMETER_RHOMBUS
Name of the rhombus perimeter.
public static $PERIMETER_TRIANGLE
Name of the triangle perimeter.
Provides various perimeter functions to be used in a style as the value of mxConstants.STYLE_PERIMETER.
Singleton class that acts as a global converter from string to object values in a style.
function isOrthogonal($edge)
Returns true if perimeter points should be computed such that the resulting edge has only horizontal or vertical segments.
Maps from keys to base64 encoded images or file locations.
static function loadImage($url)
Loads an image from the local filesystem, a data URI or any other URL.
Provides various edge styles to be used as the values for mxConstants.STYLE_EDGE in a cell style.
+
public static $RAD_PER_DEG
Defines the number of radiants per degree.
public static $DEG_PER_RAD
Defines the number of degrees per radiant.
public static $ACTIVE_REGION
Defines the portion of the cell which is to be used as a connectable region.
public static $MIN_ACTIVE_REGION
Defines the minimum size in pixels of the portion of the cell cell which is to be used as a connectable region.
public static $NS_SVG
Defines the SVG namespace.
public static $NS_XHTML
Defines the XHTML namespace.
public static $NS_XLINK
Defined the XLink namespace.
public static $W3C_SHADOWCOLOR
Defines the color to be used to draw shadows in DOM documents.
public static $SHADOW_OFFSETX
Defines the x-offset to be used for shadows.
public static $SHADOW_OFFSETY
Defines the y-offset to be used for shadows.
public static $W3C_DEFAULT_FONTFAMILY
Defines the default family for HTML markup.
public static $TTF_ENABLED
Whether TrueType fonts should be enabled in the mxGdCanvas by default.
public static $TTF_SIZEFACTOR
Defines the factor which wich the font sizes are to be multiplied when used in truetype fonts.
public static $DEFAULT_FONTFAMILY
Defines the default family for all truetype fonts.
public static $DEFAULT_FONTSIZE
Defines the default size for all fonts in points.
public static $DEFAULT_STARTSIZE
Defines the default start size for swimlanes.
public static $DEFAULT_LINESPACING
Defines the default linespacing.
public static $LABEL_INSET
Defines the inset in absolute pixels between the label bounding box and the label text.
public static $DEFAULT_MARKERSIZE
Defines the default size for all markers.
public static $DEFAULT_IMAGESIZE
Defines the default width and height for images used in the label shape.
public static $ENTITY_SEGMENT
Defines the length of the horizontal segment of an Entity Relation.
public static $ARROW_SPACING
Defines the spacing between the arrow shape and its terminals.
public static $ARROW_WIDTH
Defines the width of the arrow shape.
public static $ARROW_SIZE
Defines the size of the arrowhead in the arrow shape.
public static $NONE
Defines the value for none.
public static $STYLE_PERIMETER
Defines the key for the perimeter style.
public static $STYLE_OPACITY
Defines the key for the opacity style.
public static $STYLE_TEXT_OPACITY
Defines the key for the text opacity style.
public static $STYLE_OVERFLOW
Defines the key for the overflow style.
public static $STYLE_ORTHOGONAL
Defines if the connection points on either end of the edge should be computed so that the edge is vertical or horizontal if possible and if the point is not at a fixed location.
public static $STYLE_EXIT_X
Defines the key for the horizontal relative coordinate connection point of an edge with its source terminal.
public static $STYLE_EXIT_Y
Defines the key for the vertical relative coordinate connection point of an edge with its source terminal.
public static $STYLE_EXIT_PERIMETER
Defines if the perimeter should be used to find the exact entry point along the perimeter of the source.
public static $STYLE_ENTRY_X
Defines the key for the horizontal relative coordinate connection point of an edge with its target terminal.
public static $STYLE_ENTRY_Y
Defines the key for the vertical relative coordinate connection point of an edge with its target terminal.
public static $STYLE_WHITE_SPACE
Defines the key for the white-space style.
public static $STYLE_ROTATION
Defines the key for the rotation style.
public static $STYLE_FILLCOLOR
Defines the key for the fill color.
public static $STYLE_GRADIENTCOLOR
Defines the key for the gradient color.
public static $STYLE_GRADIENT_DIRECTION
Defines the key for the gradient direction.
public static $STYLE_STROKECOLOR
Defines the key for the strokeColor style.
public static $STYLE_SEPARATORCOLOR
Defines the key for the separatorColor style.
public static $STYLE_STROKEWIDTH
Defines the key for the strokeWidth style.
public static $STYLE_ALIGN
Defines the key for the align style.
public static $STYLE_VERTICAL_ALIGN
Defines the key for the verticalAlign style.
public static $STYLE_LABEL_POSITION
Defines the key for the horizontal label position of vertices.
public static $STYLE_VERTICAL_LABEL_POSITION
Defines the key for the vertical label position of vertices.
public static $STYLE_IMAGE_ALIGN
Defines the key for the align style.
public static $STYLE_IMAGE
Defines the key for the image style.
public static $STYLE_IMAGE_WIDTH
Defines the key for the imageWidth style.
public static $STYLE_IMAGE_HEIGHT
Defines the key for the imageHeight style.
public static $STYLE_IMAGE_BACKGROUND
Defines the key for the image background color.
public static $STYLE_IMAGE_BORDER
Defines the key for the image border color.
public static $STYLE_IMAGE_FLIPH
Defines the key for the horizontal image flip.
public static $STYLE_IMAGE_FLIPV
Defines the key for the vertical image flip.
public static $STYLE_NOLABEL
Defines the key for the noLabel style.
public static $STYLE_NOEDGESTYLE
Defines the key for the noEdgeStyle style.
public static $STYLE_LABEL_BACKGROUNDCOLOR
Defines the key for the label background color.
public static $STYLE_LABEL_BORDERCOLOR
Defines the key for the label border color.
public static $STYLE_INDICATOR_SHAPE
Defines the key for the indicatorShape style.
public static $STYLE_INDICATOR_IMAGE
Defines the key for the indicatorImage style.
public static $STYLE_INDICATOR_COLOR
Defines the key for the indicatorColor style.
public static $STYLE_INDICATOR_GRADIENTCOLOR
Defines the key for the indicatorGradientColor style.
public static $STYLE_INDICATOR_SPACING
Defines the key for the indicatorSpacing style (in px).
public static $STYLE_INDICATOR_WIDTH
Defines the key for the indicatorWidth style (in px).
public static $STYLE_INDICATOR_HEIGHT
Defines the key for the indicatorHeight style (in px).
public static $STYLE_SHADOW
Defines the key for the shadow style.
public static $STYLE_SEGMENT
Defines the key for the segment style.
public static $STYLE_ENDARROW
Defines the key for the endArrow style.
public static $STYLE_STARTARROW
Defines the key for the startArrow style.
public static $STYLE_ENDSIZE
Defines the key for the endSize style.
public static $STYLE_STARTSIZE
Defines the key for the startSize style.
public static $STYLE_DASHED
Defines the key for the endSize style.
public static $STYLE_ROUNDED
Defines the key for the rounded style.
public static $STYLE_SOURCE_PERIMETER_SPACING
Defines the key for the source perimeter spacing.
public static $STYLE_TARGET_PERIMETER_SPACING
Defines the key for the source perimeter spacing.
public static $STYLE_PERIMETER_SPACING
Defines the key for the perimeter spacing.
public static $STYLE_SPACING
Defines the key for the spacing.
public static $STYLE_SPACING_TOP
Defines the key for the spacingTop style.
public static $STYLE_SPACING_LEFT
Defines the key for the spacingLeft style.
public static $STYLE_SPACING_BOTTOM
Defines the key for the spacingBottom style The value represents the spacing, in pixels, added to the bottom side of a label in a vertex (style applies to vertices only).
public static $STYLE_SPACING_RIGHT
Defines the key for the spacingRight style The value represents the spacing, in pixels, added to the right side of a label in a vertex (style applies to vertices only).
public static $STYLE_HORIZONTAL
Defines the key for the horizontal style.
public static $STYLE_DIRECTION
Defines the key for the direction style.
public static $STYLE_ELBOW
Defines the key for the elbow style.
public static $STYLE_FONTCOLOR
Defines the key for the fontColor style.
public static $STYLE_FONTFAMILY
Defines the key for the fontFamily style.
public static $STYLE_FONTSIZE
Defines the key for the fontSize style (in points).
public static $STYLE_FONTSTYLE
Defines the key for the fontStyle style.
public static $STYLE_SHAPE
Defines the key for the shape.
public static $STYLE_EDGE
Defines the key for the edge style.
public static $STYLE_LOOP
Defines the key for the loop style.
public static $STYLE_ROUTING_CENTER_X
Defines the key for the horizontal routing center.
public static $STYLE_ROUTING_CENTER_Y
Defines the key for the vertical routing center.
public static $FONT_BOLD
public static $FONT_ITALIC
public static $FONT_UNDERLINE
public static $SHAPE_RECTANGLE
public static $SHAPE_ELLIPSE
public static $SHAPE_DOUBLE_ELLIPSE
public static $SHAPE_RHOMBUS
public static $SHAPE_LINE
public static $SHAPE_IMAGE
public static $SHAPE_ARROW
public static $SHAPE_LABEL
public static $SHAPE_CYLINDER
public static $SHAPE_SWIMLANE
public static $SHAPE_CONNECTOR
public static $SHAPE_ACTOR
public static $SHAPE_CLOUD
public static $SHAPE_TRIANGLE
public static $SHAPE_HEXAGON
public static $ARROW_CLASSIC
public static $ARROW_BLOCK
public static $ARROW_OPEN
public static $ARROW_OVAL
public static $ARROW_DIAMOND
public static $ALIGN_LEFT
public static $ALIGN_CENTER
public static $ALIGN_RIGHT
public static $ALIGN_TOP
public static $ALIGN_MIDDLE
public static $ALIGN_BOTTOM
public static $DIRECTION_NORTH
public static $DIRECTION_SOUTH
public static $DIRECTION_EAST
public static $DIRECTION_WEST
public static $ELBOW_VERTICAL
public static $ELBOW_HORIZONTAL
public static $EDGESTYLE_ENTITY_RELATION
Name of the entity relation edge style.
public static $EDGESTYLE_LOOP
Name of the loop edge style.
public static $EDGESTYLE_SIDETOSIDE
Name of the side to side edge style.
public static $EDGESTYLE_TOPTOBOTTOM
Name of the top to bottom edge style.
public static $PERIMETER_ELLIPSE
Name of the ellipse perimeter.
public static $PERIMETER_RECTANGLE
Name of the rectangle perimeter.
public static $PERIMETER_RHOMBUS
Name of the rhombus perimeter.
public static $PERIMETER_TRIANGLE
Name of the triangle perimeter.
Provides various perimeter functions to be used in a style as the value of mxConstants.STYLE_PERIMETER.
Singleton class that acts as a global converter from string to object values in a style.
function isOrthogonal($edge)
Returns true if perimeter points should be computed such that the resulting edge has only horizontal or vertical segments.
Maps from keys to base64 encoded images or file locations.
static function loadImage($url)
Loads an image from the local filesystem, a data URI or any other URL.
Provides various edge styles to be used as the values for mxConstants.STYLE_EDGE in a cell style.
diff --git a/docs/php-api/files/util/mxEvent-php.html b/docs/php-api/files/util/mxEvent-php.html index d6bdfa6c2..6c8f9d08e 100644 --- a/docs/php-api/files/util/mxEvent-php.html +++ b/docs/php-api/files/util/mxEvent-php.html @@ -27,7 +27,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/php-api/files/util/mxEventObject-php.html b/docs/php-api/files/util/mxEventObject-php.html index 0bf044631..95dfb2c8e 100644 --- a/docs/php-api/files/util/mxEventObject-php.html +++ b/docs/php-api/files/util/mxEventObject-php.html @@ -41,7 +41,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/php-api/files/util/mxEventSource-php.html b/docs/php-api/files/util/mxEventSource-php.html index 1510f84d9..f62583f74 100644 --- a/docs/php-api/files/util/mxEventSource-php.html +++ b/docs/php-api/files/util/mxEventSource-php.html @@ -29,7 +29,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/php-api/files/util/mxImageBundle-php.html b/docs/php-api/files/util/mxImageBundle-php.html index b7caff282..1720ff14e 100644 --- a/docs/php-api/files/util/mxImageBundle-php.html +++ b/docs/php-api/files/util/mxImageBundle-php.html @@ -47,7 +47,7 @@ echo "base64=".base64_encode(file_get_contents($url));Generated by Natural Docs
- diff --git a/docs/php-api/files/util/mxLog-php.html b/docs/php-api/files/util/mxLog-php.html index eb9288461..9efadbcc4 100644 --- a/docs/php-api/files/util/mxLog-php.html +++ b/docs/php-api/files/util/mxLog-php.html @@ -63,7 +63,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/php-api/files/util/mxPoint-php.html b/docs/php-api/files/util/mxPoint-php.html index cf87b50e3..17c4313e6 100644 --- a/docs/php-api/files/util/mxPoint-php.html +++ b/docs/php-api/files/util/mxPoint-php.html @@ -33,7 +33,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/php-api/files/util/mxRectangle-php.html b/docs/php-api/files/util/mxRectangle-php.html index fad5ec6c5..755926561 100644 --- a/docs/php-api/files/util/mxRectangle-php.html +++ b/docs/php-api/files/util/mxRectangle-php.html @@ -43,7 +43,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/php-api/files/util/mxUtils-php.html b/docs/php-api/files/util/mxUtils-php.html index e2cf247f4..6da510346 100644 --- a/docs/php-api/files/util/mxUtils-php.html +++ b/docs/php-api/files/util/mxUtils-php.html @@ -101,7 +101,7 @@ mxUtils.setCellStyleFlags(graph.model, - diff --git a/docs/php-api/files/view/mxCellState-php.html b/docs/php-api/files/view/mxCellState-php.html index d6133c4db..1056fbbb6 100644 --- a/docs/php-api/files/view/mxCellState-php.html +++ b/docs/php-api/files/view/mxCellState-php.html @@ -53,7 +53,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/php-api/files/view/mxConnectionConstraint-php.html b/docs/php-api/files/view/mxConnectionConstraint-php.html index def9d9e53..e03d60652 100644 --- a/docs/php-api/files/view/mxConnectionConstraint-php.html +++ b/docs/php-api/files/view/mxConnectionConstraint-php.html @@ -29,7 +29,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/php-api/files/view/mxEdgeStyle-php.html b/docs/php-api/files/view/mxEdgeStyle-php.html index 0d1ac23b0..4fb63cf34 100644 --- a/docs/php-api/files/view/mxEdgeStyle-php.html +++ b/docs/php-api/files/view/mxEdgeStyle-php.html @@ -47,7 +47,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/php-api/files/view/mxGraph-php.html b/docs/php-api/files/view/mxGraph-php.html index c5aa7bade..4a7bacda2 100644 --- a/docs/php-api/files/view/mxGraph-php.html +++ b/docs/php-api/files/view/mxGraph-php.html @@ -117,7 +117,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/php-api/files/view/mxGraphView-php.html b/docs/php-api/files/view/mxGraphView-php.html index 4489c2a3b..7e91de6e1 100644 --- a/docs/php-api/files/view/mxGraphView-php.html +++ b/docs/php-api/files/view/mxGraphView-php.html @@ -117,7 +117,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/php-api/files/view/mxPerimeter-php.html b/docs/php-api/files/view/mxPerimeter-php.html index ce45f8e39..4ef301b87 100644 --- a/docs/php-api/files/view/mxPerimeter-php.html +++ b/docs/php-api/files/view/mxPerimeter-php.html @@ -43,7 +43,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/php-api/files/view/mxStyleRegistry-php.html b/docs/php-api/files/view/mxStyleRegistry-php.html index bb20f5a1e..2edbed15e 100644 --- a/docs/php-api/files/view/mxStyleRegistry-php.html +++ b/docs/php-api/files/view/mxStyleRegistry-php.html @@ -31,7 +31,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/php-api/files/view/mxStylesheet-php.html b/docs/php-api/files/view/mxStylesheet-php.html index 2f8fce830..e509ff718 100644 --- a/docs/php-api/files/view/mxStylesheet-php.html +++ b/docs/php-api/files/view/mxStylesheet-php.html @@ -45,7 +45,7 @@ graph.stylesheet.putCellStyle('rounded', style);

In the abo

- diff --git a/docs/php-api/index/Classes.html b/docs/php-api/index/Classes.html index 427d3269b..045d07b71 100644 --- a/docs/php-api/index/Classes.html +++ b/docs/php-api/index/Classes.html @@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/php-api/index/Files.html b/docs/php-api/index/Files.html index c47d9d940..c215d459e 100644 --- a/docs/php-api/index/Files.html +++ b/docs/php-api/index/Files.html @@ -25,7 +25,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/php-api/index/Functions.html b/docs/php-api/index/Functions.html index 48a983f3d..3467700b8 100644 --- a/docs/php-api/index/Functions.html +++ b/docs/php-api/index/Functions.html @@ -29,7 +29,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/php-api/index/Functions2.html b/docs/php-api/index/Functions2.html index affbff7e4..ceea06454 100644 --- a/docs/php-api/index/Functions2.html +++ b/docs/php-api/index/Functions2.html @@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/php-api/index/Functions3.html b/docs/php-api/index/Functions3.html index 284d067c5..929067e38 100644 --- a/docs/php-api/index/Functions3.html +++ b/docs/php-api/index/Functions3.html @@ -25,7 +25,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/php-api/index/Functions4.html b/docs/php-api/index/Functions4.html index be045ba23..2c8114aff 100644 --- a/docs/php-api/index/Functions4.html +++ b/docs/php-api/index/Functions4.html @@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/php-api/index/Functions5.html b/docs/php-api/index/Functions5.html index e5c85e2d8..899bb5486 100644 --- a/docs/php-api/index/Functions5.html +++ b/docs/php-api/index/Functions5.html @@ -33,7 +33,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/php-api/index/Functions6.html b/docs/php-api/index/Functions6.html index 7312d943c..eabe6f352 100644 --- a/docs/php-api/index/Functions6.html +++ b/docs/php-api/index/Functions6.html @@ -29,7 +29,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/php-api/index/Functions7.html b/docs/php-api/index/Functions7.html index 6062ff4fc..975298c44 100644 --- a/docs/php-api/index/Functions7.html +++ b/docs/php-api/index/Functions7.html @@ -33,7 +33,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/php-api/index/General.html b/docs/php-api/index/General.html index 7f52fc999..0f25bace5 100644 --- a/docs/php-api/index/General.html +++ b/docs/php-api/index/General.html @@ -25,7 +25,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/php-api/index/General10.html b/docs/php-api/index/General10.html index 8b1732231..d6ee68c35 100644 --- a/docs/php-api/index/General10.html +++ b/docs/php-api/index/General10.html @@ -11,29 +11,29 @@ 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
 tab, mxLog
 target, mxCell
 targetPoint, mxGeometry
 template, mxObjectCodec
 terminalDistance, mxCellState
 TopToBottom, mxEdgeStyle
 toRadians, mxUtils
 transformControlPoint, mxGraphView
 translate
 TRANSLATE, mxEvent
 TRANSLATE_CONTROL_POINTS, mxGeometry
 translatePoints, mxUtils
 TrianglePerimeter, mxPerimeter
 TTF_ENABLED, mxConstants
 TTF_SIZEFACTOR, mxConstants
U
 updateBoundingBox, mxGraphView
 updateCellState, mxGraphView
 updateEdgeBounds, mxGraphView
 updateEdgeParent, mxGraphModel
 updateEdgeParents, mxGraphModel
 updateEdgeState, mxGraphView
 updateFixedTerminalPoint, mxGraphView
 updateFixedTerminalPoints, mxGraphView
 updateFloatingTerminalPoint, mxGraphView
 updateFloatingTerminalPoints, mxGraphView
 updateLabelBounds, mxGraphView
 updateLevel, mxGraphModel
 updatePoints, mxGraphView
 updateVertexLabelOffset, mxGraphView
 updateVertexState, mxGraphView
V
 validate, mxGraphView
 validateCell, mxGraphView
 validateCellStates, mxGraphView
 value, mxCell
 values, mxStyleRegistry
 Variables
 vertex, mxCell
 view
 visible, mxCell
W
 W3C_DEFAULT_FONTFAMILY, mxConstants
 W3C_SHADOWCOLOR, mxConstants
 warn, mxLog
 width, mxRectangle
 write, mxLog
 writeAttribute, mxObjectCodec
 writeComplexAttribute, mxObjectCodec
 writeln, mxLog
 writePrimitiveAttribute, mxObjectCodec
X
 x, mxPoint
Y
 y, mxPoint
+
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
 tab, mxLog
 target, mxCell
 targetPoint, mxGeometry
 template, mxObjectCodec
 terminalDistance, mxCellState
 TopToBottom, mxEdgeStyle
 toRadians, mxUtils
 transformControlPoint, mxGraphView
 translate
 TRANSLATE, mxEvent
 TRANSLATE_CONTROL_POINTS, mxGeometry
 translatePoints, mxUtils
 TrianglePerimeter, mxPerimeter
 TTF_ENABLED, mxConstants
 TTF_SIZEFACTOR, mxConstants
U
 updateBoundingBox, mxGraphView
 updateCellState, mxGraphView
 updateEdgeBounds, mxGraphView
 updateEdgeParent, mxGraphModel
 updateEdgeParents, mxGraphModel
 updateEdgeState, mxGraphView
 updateFixedTerminalPoint, mxGraphView
 updateFixedTerminalPoints, mxGraphView
 updateFloatingTerminalPoint, mxGraphView
 updateFloatingTerminalPoints, mxGraphView
 updateLabelBounds, mxGraphView
 updateLevel, mxGraphModel
 updatePoints, mxGraphView
 updateVertexLabelOffset, mxGraphView
 updateVertexState, mxGraphView
V
 validate, mxGraphView
 validateCell, mxGraphView
 validateCellStates, mxGraphView
 value, mxCell
 values, mxStyleRegistry
 Variables
 vertex, mxCell
 view
 visible, mxCell
W
 W3C_DEFAULT_FONTFAMILY, mxConstants
 W3C_SHADOWCOLOR, mxConstants
 warn, mxLog
 width, mxRectangle
 write, mxLog
 writeAttribute, mxObjectCodec
 writeComplexAttribute, mxObjectCodec
 writeln, mxLog
 writePrimitiveAttribute, mxObjectCodec
X
 x, mxPoint
Y
 y, mxPoint
-
public static $tab
Default is true.
var $target
Reference to the target terminal.
var $targetPoint
Defines the target point of the edge.
var $template
Holds the template object associated with this codec.
var $terminalDistance
Caches the distance between the end points for an edge.
public static $TopToBottom
Provides a top to bottom connector.
static function toRadians($deg)
Converts the given degree to radians.
function transformControlPoint($state,
$pt)
Transforms the given control point to an absolute point.
function translate($dx,
$dy)
Translates the geometry by the specified amount.
var $translate
Holds the current translate.
public static $TRANSLATE
Defines the name of the translate event.
public static $TRANSLATE_CONTROL_POINTS
Global switch to translate the points in translate.
static function translatePoints($pts,
$dx,
$dy)
Creates a new list of new points obtained by translating the points in the given list by the given vector.
public static $TrianglePerimeter
Provides a triangle perimeter.
public static $TTF_ENABLED
Whether TrueType fonts should be enabled in the mxGdCanvas by default.
public static $TTF_SIZEFACTOR
Defines the factor which wich the font sizes are to be multiplied when used in truetype fonts.
+
public static $tab
Default is true.
var $target
Reference to the target terminal.
var $targetPoint
Defines the target point of the edge.
var $template
Holds the template object associated with this codec.
var $terminalDistance
Caches the distance between the end points for an edge.
public static $TopToBottom
Provides a top to bottom connector.
static function toRadians($deg)
Converts the given degree to radians.
function transformControlPoint($state,
$pt)
Transforms the given control point to an absolute point.
function translate($dx,
$dy)
Translates the geometry by the specified amount.
var $translate
Holds the current translate.
public static $TRANSLATE
Defines the name of the translate event.
public static $TRANSLATE_CONTROL_POINTS
Global switch to translate the points in translate.
static function translatePoints($pts,
$dx,
$dy)
Creates a new list of new points obtained by translating the points in the given list by the given vector.
public static $TrianglePerimeter
Provides a triangle perimeter.
public static $TTF_ENABLED
Whether TrueType fonts should be enabled in the mxGdCanvas by default.
public static $TTF_SIZEFACTOR
Defines the factor which wich the font sizes are to be multiplied when used in truetype fonts.
-
function updateBoundingBox($state)
Updates the bounding box in the given cell state.
function updateCellState($state,
$source,
$target)
Updates the given mxCellState.
function updateEdgeBounds($state)
Updates the bounds of the specified state based on the absolute points in the state.
function updateEdgeParent($edge,
$root)
Inner callback to update the parent of the specified mxCell to the nearest-common-ancestor of its two terminals.
function updateEdgeParents($cell,  
$root =  null)
Updates the parent for all edges that are connected to cell or one of its descendants using updateEdgeParent.
function updateEdgeState($state,
$geo,
$source,
$target)
Validates the given cell state.
function updateFixedTerminalPoint($edge,
$terminal,
$source,
$constraint)
Sets the fixed source or target terminal point on the given edge.
function updateFixedTerminalPoints($edge,
$source,
$target)
Sets the initial absolute terminal points in the given state before the edge style is computed.
function updateFloatingTerminalPoint($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.
function updateFloatingTerminalPoints($state,
$source,
$target)
Updates the terminal points in the given state after the edge style was computed for the edge.
function updateLabelBounds($state)
Updates the label bounds in the given state.
var $updateLevel
Counter for the depth of nested transactions.
function updatePoints($edge,
$points,
$source,
$target)
Updates the absolute points in the given state using the specified array of mxPoints as the relative points.
function updateVertexLabelOffset($state)
Updates the absoluteOffset of the given vertex cell state.
function updateVertexState($state,
$geo)
Validates the given cell state.
+
function updateBoundingBox($state)
Updates the bounding box in the given cell state.
function updateCellState($state,
$source,
$target)
Updates the given mxCellState.
function updateEdgeBounds($state)
Updates the bounds of the specified state based on the absolute points in the state.
function updateEdgeParent($edge,
$root)
Inner callback to update the parent of the specified mxCell to the nearest-common-ancestor of its two terminals.
function updateEdgeParents($cell,  
$root =  null)
Updates the parent for all edges that are connected to cell or one of its descendants using updateEdgeParent.
function updateEdgeState($state,
$geo,
$source,
$target)
Validates the given cell state.
function updateFixedTerminalPoint($edge,
$terminal,
$source,
$constraint)
Sets the fixed source or target terminal point on the given edge.
function updateFixedTerminalPoints($edge,
$source,
$target)
Sets the initial absolute terminal points in the given state before the edge style is computed.
function updateFloatingTerminalPoint($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.
function updateFloatingTerminalPoints($state,
$source,
$target)
Updates the terminal points in the given state after the edge style was computed for the edge.
function updateLabelBounds($state)
Updates the label bounds in the given state.
var $updateLevel
Counter for the depth of nested transactions.
function updatePoints($edge,
$points,
$source,
$target)
Updates the absolute points in the given state using the specified array of mxPoints as the relative points.
function updateVertexLabelOffset($state)
Updates the absoluteOffset of the given vertex cell state.
function updateVertexState($state,
$geo)
Validates the given cell state.
-
function validate($cell =  null)
Calls validateCell and validateCellState and updates the graphBounds using getBoundingBox.
function validateCell($cell,  
$visible =  true)
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.
var $value
Holds the user object.
public static $values
Maps from strings to objects.
var $vertex
Specifies whether the cell is a vertex.
var $view
Reference to the enclosing mxGraphView.
var $view
Holds the mxGraphView.
var $visible
Specifies whether the cell is visible.
+
function validate($cell =  null)
Calls validateCell and validateCellState and updates the graphBounds using getBoundingBox.
function validateCell($cell,  
$visible =  true)
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.
var $value
Holds the user object.
public static $values
Maps from strings to objects.
var $vertex
Specifies whether the cell is a vertex.
var $view
Reference to the enclosing mxGraphView.
var $view
Holds the mxGraphView.
var $visible
Specifies whether the cell is visible.
-
public static $W3C_DEFAULT_FONTFAMILY
Defines the default family for HTML markup.
public static $W3C_SHADOWCOLOR
Defines the color to be used to draw shadows in DOM documents.
static function warn($text)
Logs a warn trace.
var $width
Holds the width of the rectangle.
static function write($text)
Writes a line to the log.
function writeAttribute($enc,
$obj,
$attr,
$value,
$node)
Writes the given value into node using writePrimitiveAttribute or writeComplexAttribute depending on the type of the value.
function writeComplexAttribute($enc,
$obj,
$attr,
$value,
$node)
Writes the given value as a child node of the given node.
static function writeln($text)
Writes a line with a linefeed to the log.
function writePrimitiveAttribute($enc,
$obj,
$attr,
$value,
$node)
Writes the given value as an attribute of the given node.
+
public static $W3C_DEFAULT_FONTFAMILY
Defines the default family for HTML markup.
public static $W3C_SHADOWCOLOR
Defines the color to be used to draw shadows in DOM documents.
static function warn($text)
Logs a warn trace.
var $width
Holds the width of the rectangle.
static function write($text)
Writes a line to the log.
function writeAttribute($enc,
$obj,
$attr,
$value,
$node)
Writes the given value into node using writePrimitiveAttribute or writeComplexAttribute depending on the type of the value.
function writeComplexAttribute($enc,
$obj,
$attr,
$value,
$node)
Writes the given value as a child node of the given node.
static function writeln($text)
Writes a line with a linefeed to the log.
function writePrimitiveAttribute($enc,
$obj,
$attr,
$value,
$node)
Writes the given value as an attribute of the given node.
-
var $x
Holds the x-coordinate of the point.
+
var $x
Holds the x-coordinate of the point.
-
var $y
Holds the y-coordinate of the point.
+
var $y
Holds the y-coordinate of the point.
@@ -41,7 +41,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/php-api/index/General2.html b/docs/php-api/index/General2.html index 419ee96e3..0b8e04c47 100644 --- a/docs/php-api/index/General2.html +++ b/docs/php-api/index/General2.html @@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/php-api/index/General3.html b/docs/php-api/index/General3.html index 172d65f18..4762f3e39 100644 --- a/docs/php-api/index/General3.html +++ b/docs/php-api/index/General3.html @@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/php-api/index/General4.html b/docs/php-api/index/General4.html index d5ed9c377..63c917e8c 100644 --- a/docs/php-api/index/General4.html +++ b/docs/php-api/index/General4.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
E
 edge, mxCell
 edges, mxCell
 EDGESTYLE_ENTITY_RELATION, mxConstants
 EDGESTYLE_LOOP, mxConstants
 EDGESTYLE_SIDETOSIDE, mxConstants
 EDGESTYLE_TOPTOBOTTOM, mxConstants
 ELBOW_HORIZONTAL, mxConstants
 ELBOW_VERTICAL, mxConstants
 ElbowConnector, mxEdgeStyle
 EllipsePerimeter, mxPerimeter
 EMPTY_POINT, mxGraphView
 enableTtf, mxGdCanvas
 encode
 encodeCell, mxCodec
 encodeDefaults, mxCodec
 encodeImage, mxUtils
 encodeObject, mxObjectCodec
 encodeValue, mxObjectCodec
 endElement, mxGraphViewImageReader
 endUpdate, mxGraphModel
 enter, mxLog
 ENTITY_SEGMENT, mxConstants
 EntityRelation, mxEdgeStyle
 equals
 error, mxLog
 evaluate, mxUtils
 eventListeners, mxEventSource
 exclude, mxObjectCodec
F
 findNode, mxUtils
 findTreeRoots, mxGraph
 fine, mxLog
 fireEvent, mxEventSource
 flipImage, mxUtils
 FONT_BOLD, mxConstants
 FONT_ITALIC, mxConstants
 FONT_SHADOW, mxConstants
 FONT_UNDERLINE, mxConstants
 Functions
+
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
 edge, mxCell
 edges, mxCell
 EDGESTYLE_ENTITY_RELATION, mxConstants
 EDGESTYLE_LOOP, mxConstants
 EDGESTYLE_SIDETOSIDE, mxConstants
 EDGESTYLE_TOPTOBOTTOM, mxConstants
 ELBOW_HORIZONTAL, mxConstants
 ELBOW_VERTICAL, mxConstants
 ElbowConnector, mxEdgeStyle
 EllipsePerimeter, mxPerimeter
 EMPTY_POINT, mxGraphView
 enableTtf, mxGdCanvas
 encode
 encodeCell, mxCodec
 encodeDefaults, mxCodec
 encodeImage, mxUtils
 encodeObject, mxObjectCodec
 encodeValue, mxObjectCodec
 endElement, mxGraphViewImageReader
 endUpdate, mxGraphModel
 enter, mxLog
 ENTITY_SEGMENT, mxConstants
 EntityRelation, mxEdgeStyle
 equals
 error, mxLog
 evaluate, mxUtils
 eventListeners, mxEventSource
 exclude, mxObjectCodec
F
 findNode, mxUtils
 findTreeRoots, mxGraph
 fine, mxLog
 fireEvent, mxEventSource
 flipImage, mxUtils
 FONT_BOLD, mxConstants
 FONT_ITALIC, mxConstants
 FONT_UNDERLINE, mxConstants
 Functions
var $edge
Specifies whether the cell is an edge.
var $edges
Holds the edges.
public static $EDGESTYLE_ENTITY_RELATION
Name of the entity relation edge style.
public static $EDGESTYLE_LOOP
Name of the loop edge style.
public static $EDGESTYLE_SIDETOSIDE
Name of the side to side edge style.
public static $EDGESTYLE_TOPTOBOTTOM
Name of the top to bottom edge style.
public static $ELBOW_HORIZONTAL
public static $ELBOW_VERTICAL
public static $ElbowConnector
Provides an elbow connector.
public static $EllipsePerimeter
Provides an elliptic perimeter.
var $EMPTY_POINT
An empty mxPoint instance.
var $enableTtf
Specifies if truetype fonts are enabled if available.
function encode($obj)
Encodes the specified object and returns the resulting XML node.
function encode($enc,
$obj)
Encodes the specified object and returns a node representing then given object.
function encodeCell($cell,  
$node,  
$includeChildren = true)
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.
var $encodeDefaults
Specifies if default values should be encoded.
static function encodeImage($image,  
$format = null)
Encodes the given image using the GD image encoding routines.
function encodeObject($enc,
$obj,
$node)
Encodes the value of each member in then given obj into the given node using encodeValue.
function encodeValue($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.
function endElement($parser,
$name)
Invoked by the SAX parser when an element ends.
function endUpdate()
Decrements the updateLevel by one and fires a notification event if the updateLevel reaches 0.
static function enter($method,  
$text = "")
Logs a method entry.
public static $ENTITY_SEGMENT
Defines the length of the horizontal segment of an Entity Relation.
public static $EntityRelation
Provides an entity relation style for edges (as used in database schema diagrams).
function equals($obj)
Returns true if the given object equals this point.
function equals($obj)
Returns true if the given object equals this rectangle.
static function error($text)
Logs an error trace.
static function evaluate($expression)
Evaluates an expression to a class member.
var $eventListeners
Holds the registered listeners.
var $exclude
Array containing the variable names that should be ignored by the codec.
-
static function findNode($node,
$attr,
$value)
Returns the first node where attr equals value.
function findTreeRoots($parent,  
$isolate =  false,
$invert =  false)
Returns all children in the given parent which do not have incoming edges.
static function fine($text)
Logs a fine trace.
function fireEvent($event)
Fires the event for the specified name.
static function flipImage($img,
$flipH,
$flipV)
Flips the given image horizontally and/or vertically and returns a new image instance.
public static $FONT_BOLD
public static $FONT_ITALIC
public static $FONT_SHADOW
public static $FONT_UNDERLINE
+
static function findNode($node,
$attr,
$value)
Returns the first node where attr equals value.
function findTreeRoots($parent,  
$isolate =  false,
$invert =  false)
Returns all children in the given parent which do not have incoming edges.
static function fine($text)
Logs a fine trace.
function fireEvent($event)
Fires the event for the specified name.
static function flipImage($img,
$flipH,
$flipV)
Flips the given image horizontally and/or vertically and returns a new image instance.
public static $FONT_BOLD
public static $FONT_ITALIC
public static $FONT_UNDERLINE
@@ -25,7 +25,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/php-api/index/General5.html b/docs/php-api/index/General5.html index b209a2f5f..ad6a548bd 100644 --- a/docs/php-api/index/General5.html +++ b/docs/php-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
G
 geometry, mxCell
 getAttribute, mxCell
 getAttributeName, mxObjectCodec
 getBoundingBox
 getBounds, mxGraphView
 getBoundsForCells, mxGraph
 getCellBounds, mxGraph
 getCellGeometry, mxGraph
 getCells, mxGraphModel
 getCellStyle
 getCenterX, mxRectangle
 getCenterY, mxRectangle
 getChildAt
 getChildCount
 getChildOffsetForCell, mxGraph
 getCodec, mxCodecRegistry
 getColor, mxGdCanvas
 getConnectionConstraint, mxGraph
 getConnectionPoint, mxGraph
 getDefaultEdgeStyle, mxStylesheet
 getDefaultParent, mxGraph
 getDefaultVertexStyle, mxStylesheet
 getDirectedEdgeCount, mxGraphModel
 getEdgeAt
 getEdgeCount
 getEdgeIndex, mxCell
 getEdges, mxGraphModel
 getEdgeStyle, mxGraphView
 getElementById, mxCodec
 getFieldName, mxObjectCodec
 getFieldTemplate, mxObjectCodec
 getFixedFontSize
 getGeometry
 getGraphBounds
 getHashCode, mxGraphView
 getHtml, mxHtmlCanvas
 getId
 getImage
 getImageBundles, mxGraph
 getImageForStyle, mxGdCanvas
 getImageFromBundles, mxGraph
 getImages, mxImageBundle
 getIndex, mxCell
 getInstanceForName, mxCodecRegistry
 getLabel, mxGraph
 getLabelPaintBounds, mxUtils
 getLabelSize, mxUtils
 getModel, mxGraph
 getName
 getNearestCommonAncestor, mxGraphModel
 getNextPoint, mxGraphView
 getNumber, mxUtils
 getObject, mxCodec
 getOrigin, mxGraphModel
 getPaintBounds, mxGraph
 getParent
 getParentPath, mxCellPath
 getPerimeterBounds
 getPerimeterFunction, mxGraphView
 getPerimeterPoint, mxGraphView
 getPoint, mxGraphView
 getProperties, mxEventObject
 getProperty, mxEventObject
 getRoot, mxGraphModel
 getRotatedPoint, mxUtils
 getRoutingCenterX, mxGraphView
 getRoutingCenterY, mxGraphView
 getScaledLabelBounds, mxUtils
 getSizeForString, mxUtils
 getState, mxGraphView
 getStates, mxGraphView
 getStyle
 getStylename, mxUtils
 getStylenames, mxUtils
 getStylesheet, mxGraph
 getTerminal
 getTerminalPoint, mxGeometry
 getTerminalPort, mxGraphView
 getTrueTypeFont
 getTrueTypeFontSize
 getValue
 getView, mxGraph
 getVisibleTerminal, mxGraphView
 graph, mxGraphView
 GRAPH_MODEL_CHANGED, mxEvent
 graphBounds, mxGraphView
 graphModelChanged, mxGraph
 gridSize, mxGraph
 grow, mxRectangle
+
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
 getAttribute, mxCell
 getAttributeName, mxObjectCodec
 getBoundingBox
 getBounds, mxGraphView
 getBoundsForCells, mxGraph
 getCellBounds, mxGraph
 getCellGeometry, mxGraph
 getCells, mxGraphModel
 getCellStyle
 getCenterX, mxRectangle
 getCenterY, mxRectangle
 getChildAt
 getChildCount
 getChildOffsetForCell, mxGraph
 getCodec, mxCodecRegistry
 getColor, mxGdCanvas
 getConnectionConstraint, mxGraph
 getConnectionPoint, mxGraph
 getDefaultEdgeStyle, mxStylesheet
 getDefaultParent, mxGraph
 getDefaultVertexStyle, mxStylesheet
 getDirectedEdgeCount, mxGraphModel
 getEdgeAt
 getEdgeCount
 getEdgeIndex, mxCell
 getEdges, mxGraphModel
 getEdgeStyle, mxGraphView
 getElementById, mxCodec
 getFieldName, mxObjectCodec
 getFieldTemplate, mxObjectCodec
 getFixedFontSize
 getGeometry
 getGraphBounds
 getHashCode, mxGraphView
 getHtml, mxHtmlCanvas
 getId
 getImage
 getImageBundles, mxGraph
 getImageForStyle, mxGdCanvas
 getImageFromBundles, mxGraph
 getImages, mxImageBundle
 getIndex, mxCell
 getInstanceForName, mxCodecRegistry
 getLabel, mxGraph
 getLabelPaintBounds, mxUtils
 getLabelSize, mxUtils
 getModel, mxGraph
 getName
 getNearestCommonAncestor, mxGraphModel
 getNextPoint, mxGraphView
 getNumber, mxUtils
 getObject, mxCodec
 getOrigin, mxGraphModel
 getPaintBounds, mxGraph
 getParent
 getParentPath, mxCellPath
 getPerimeterBounds
 getPerimeterFunction, mxGraphView
 getPerimeterPoint, mxGraphView
 getPoint, mxGraphView
 getProperties, mxEventObject
 getProperty, mxEventObject
 getRoot, mxGraphModel
 getRotatedPoint, mxUtils
 getRoutingCenterX, mxGraphView
 getRoutingCenterY, mxGraphView
 getScaledLabelBounds, mxUtils
 getSizeForString, mxUtils
 getState, mxGraphView
 getStates, mxGraphView
 getStyle
 getStylename, mxUtils
 getStylenames, mxUtils
 getStylesheet, mxGraph
 getTerminal
 getTerminalPoint, mxGeometry
 getTerminalPort, mxGraphView
 getTrueTypeFont
 getTrueTypeFontSize
 getValue
 getView, mxGraph
 getVisibleTerminal, mxGraphView
 graph, mxGraphView
 GRAPH_MODEL_CHANGED, mxEvent
 graphBounds, mxGraphView
 graphModelChanged, mxGraph
 gridSize, mxGraph
 grow, mxRectangle
-
var $geometry
Holds the mxGeometry.
function getAttribute($key,  
$defaultValue =  null)
Returns the specified attribute from the user object if it is an XML node.
function getAttributeName($fieldname)
Returns the attributename for the given fieldname.
function getBoundingBox($cell,  
$includeEdges =  false,
$includeDescendants =  false)
Returns the bounding box of the given cell including all connected edges if includeEdge is true.
function getBoundingBox($state,  
$recurse =  true)
Returns the bounding box of the shape and the label for the given mxCellState and its children if recurse is true.
static function getBoundingBox($rect,
$rotation)
Returns the bounding box for the rotated rectangle.
function getBounds($cells,  
$boundingBox =  false)
Returns the bounding for for an array of cells or null, if no cells are specified.
function getBoundsForCells($cells,  
$includeEdges =  false,
$includeDescendants =  false,
$boundingBox =  false)
Returns the bounds for the given cells.
function getCellBounds($cell,  
$includeEdges =  false,
$includeDescendants =  false,
$boundingBox =  false)
Returns the bounds of the given cell including all connected edges if includeEdge is true.
function getCellGeometry($cell)
Returns the mxGeometry for the given mxCell.
function getCells()
Returns the internal lookup table that is used to map from Ids to cells.
function getCellStyle($cell)
function getCellStyle($name,  
$defaultStyle =  null)
Returns the cell style for the specified cell or the given defaultStyle if no style can be found for the given stylename.
function getCenterX()
Returns the x-coordinate of the center point.
function getCenterY()
Returns the y-coordinate of the center point.
function getChildAt($index)
Returns the child at the specified index.
function getChildAt($cell,
$index)
Returns the child of the given mxCell at the given index.
function getChildCount()
Returns the number of child cells.
function getChildCount($cell)
Returns the number of children in the given cell.
function getChildOffsetForCell($cell)
Returns the offset to be used for the cells inside the given cell.
static function getCodec($name)
Returns a codec that handles objects that are constructed using the given ctor.
function getColor($hex,  
$default =  null)
Allocates the given color and returns a reference to it.
function getConnectionConstraint($edge,
$terminal,
$source)
Returns an mxConnectionConstraint that describes the given connection point.
function getConnectionPoint($vertex,
$constraint)
Returns the nearest point in the list of absolute points or the center of the opposite terminal.
function getDefaultEdgeStyle()
Sets the default style for edges.
function getDefaultParent()
Returns the first child child of mxGraphModel.root.
function getDefaultVertexStyle()
Returns the default style for vertices.
function getDirectedEdgeCount($cell,  
$outgoing,  
$ignoredEdge =  null)
Returns the number of incoming or outgoing edges, ignoring the given edge.
function getEdgeAt($index)
Returns the edge at the specified index in edges.
function getEdgeAt($cell,
$index)
Returns the edge of cell at the given index.
function getEdgeCount()
Returns the number of edges in the edge array.
function getEdgeCount($cell)
Returns the number of distinct edges connected to the given cell.
function getEdgeIndex($edge)
Returns the index of the specified edge in edges.
function getEdges($cell)
Returns all distinct edges connected to this cell as an array of mxCells.
function getEdgeStyle($edge,
$points,
$source,
$target)
Returns the edge style function to be used to render the given edge state.
function getElementById($id,  
$attr = "id")
Returns the element with the given ID from document.
function getFieldName($attributename)
Returns the fieldname for the given attributename.
function getFieldTemplate(&$obj,
$fieldname,
$child)
Returns the template instance for the given field.
function getFixedFontSize($fontSize,  
$fontFamily,  
$fontStyle = null)
Returns the fixed font size for GD (1 t0 5) for the given font properties
static function getFixedFontSize($fontSize,  
$fontFamily,  
$fontStyle = null)
Returns the fixed font size for GD (1 t0 5) for the given font properties
function getGeometry()
Returns the mxGeometry that describes the geometry.
function getGeometry($cell)
Returns the mxGeometry of the given mxCell.
function getGraphBounds()
Returns the bounds of the visible graph.
function getGraphBounds()
Returns graphBounds.
function getHashCode($cell)
Returns a unique string that represents the given instance.
function getHtml()
Gets the HTML that represents the canvas.
function getId()
Returns the Id of the cell as a string.
function getId($obj)
Returns the ID of the specified object.
function getImage()
Returns an image that represents this canvas.
function getImage($key)
Returns the value for the given key.
function getImageBundles()
Returns the imageBundles.
function getImageForStyle($style)
Returns an image that represents this canvas.
function getImageFromBundles($key)
Searches all imageBundles for the specified key and returns the value for the first match or null if the key is not found.
function getImages()
Returns the images.
function getIndex($child)
Returns the index of the specified child in the child array.
static function getInstanceForName($name)
Creates and returns a new instance for the given class name.
function getLabel($cell)
Returns a string or DOM node that represents the label for the given cell.
static function getLabelPaintBounds($label,
$style,
$isHtml,
$offset,
$vertexBounds,
$scale)
Returns the paint bounds for the given label.
static function getLabelSize($label,
$style)
Returns the size of the given label.
function getModel()
Returns the mxGraphModel that contains the cells.
static function getName($obj)
Returns the codec name for the given object instance.
function getName()
Returns name.
function getName()
Creates a new instance of the template for this codec.
static function getName($value)
Returns the name for the given value.
function getNearestCommonAncestor($cell1,
$cell2)
Returns the nearest common ancestor for the specified cells.
function getNextPoint($edge,
$opposite,
$source)
Returns the nearest point in the list of absolute points or the center of the opposite terminal.
static function getNumber($dict,  
$key,  
$default = )
Returns the value for key in dictionary or 0 if no value is defined for the key.
function getObject($id)
Returns the decoded object for the element with the specified ID in document.
function getOrigin($cell)
Returns the absolute, cummulated origin for the children inside the given parent as an mxPoint.
function getPaintBounds($cells)
Returns the bounding box of the given cells and their descendants.
function getParent()
Returns the cell’s parent.
function getParent($cell)
Returns the parent of the given cell.
static function getParentPath($path)
Returns the cell for the specified cell path using the given root as the root of the path.
function getPerimeterBounds($border =  0)
Returns the mxRectangle that should be used as the perimeter of the cell.
function getPerimeterBounds($terminal,  
$border =  0)
Returns the perimeter bounds for the given terminal, edge pair as an mxRectangle.
function getPerimeterFunction($state)
Returns the perimeter function for the given state.
function getPerimeterPoint($terminal,  
$next,  
$orthogonal,  
$border =  null)
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.
function getPoint($state,  
$geometry =  null)
Returns the absolute point on the edge for the given relative mxGeometry as an mxPoint.
function getProperties()
Returns properties.
function getProperty($key)
Returns the property value for the given key.
function getRoot()
Returns the root of the model.
static function getRotatedPoint($pt,  
$cos,  
$sin,  
$cx =  null)
Rotates the given point by the given cos and sin.
function getRoutingCenterX($state)
Returns the x-coordinate of the center point for automatic routing.
function getRoutingCenterY($state)
Returns the y-coordinate of the center point for automatic routing.
static function getScaledLabelBounds($x,
$y,
$size,
$outerWidth,
$outerHeight,
$style,
$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.
static function getSizeForString($text,  
$fontSize =  0,
$fontFamily =  null)
Returns an mxRectangle with the size (width and height in pixels) of the given string.
function getState($cell,  
$create =  false)
Returns the cell state for the specified cell.
function getStates()
Returns the mxCellStates for the given array of mxCells.
function getStyle()
Returns a string that describes the style.
function getStyle($cell)
Returns the style of the given mxCell.
static function getStylename($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.
static function getStylenames($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.
function getStylesheet()
Returns the mxStylesheet that defines the style.
function getTerminal($source)
Returns the source or target terminal.
function getTerminal($edge,
$cource)
Returns the source or target mxCell of the given edge depending on the value of the boolean parameter.
function getTerminalPoint($isSource)
Returns the mxPoint representing the source or target point of this edge.
function getTerminalPort($state,
$terminal,
$source)
Returns an mxCellState that represents the source or target terminal or port for the given edge.
function getTrueTypeFont($style)
Returns the truetype font to be used to draw the text with the given style.
static function getTrueTypeFont($style)
Returns the truetype font to be used to draw the text with the given style.
function getTrueTypeFontSize($style)
Returns the truetype font size to be used to draw the text with the given style.
static function getTrueTypeFontSize($size)
Returns the truetype font size to be used to draw the text with the given style.
function getValue()
Returns the user object of the cell.
function getValue($cell)
Returns the user object of the given mxCell using mxCell.getValue.
static function getValue($name)
Returns the value associated with the given name.
static function getValue($dict,  
$key,  
$default = null)
Returns the value for key in dictionary or the given default value if no value is defined for the key.
function getView()
Returns the mxGraphView that contains the mxCellStates.
function getVisibleTerminal($edge,
$source)
Returns the nearest ancestor terminal that is visible.
var $graph
Holds the mxGraph.
public static $GRAPH_MODEL_CHANGED
Defines the name of the graphModelChanged event.
var $graphBounds
Holds the bounds of the current view.
function graphModelChanged($event)
Called when the graph model has changed.
var $gridSize
Specifies the grid size.
function grow($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.
+
var $geometry
Holds the mxGeometry.
function getAttribute($key,  
$defaultValue =  null)
Returns the specified attribute from the user object if it is an XML node.
function getAttributeName($fieldname)
Returns the attributename for the given fieldname.
function getBoundingBox($cell,  
$includeEdges =  false,
$includeDescendants =  false)
Returns the bounding box of the given cell including all connected edges if includeEdge is true.
function getBoundingBox($state,  
$recurse =  true)
Returns the bounding box of the shape and the label for the given mxCellState and its children if recurse is true.
static function getBoundingBox($rect,
$rotation)
Returns the bounding box for the rotated rectangle.
function getBounds($cells,  
$boundingBox =  false)
Returns the bounding for for an array of cells or null, if no cells are specified.
function getBoundsForCells($cells,  
$includeEdges =  false,
$includeDescendants =  false,
$boundingBox =  false)
Returns the bounds for the given cells.
function getCellBounds($cell,  
$includeEdges =  false,
$includeDescendants =  false,
$boundingBox =  false)
Returns the bounds of the given cell including all connected edges if includeEdge is true.
function getCellGeometry($cell)
Returns the mxGeometry for the given mxCell.
function getCells()
Returns the internal lookup table that is used to map from Ids to cells.
function getCellStyle($cell)
function getCellStyle($name,  
$defaultStyle =  null)
Returns the cell style for the specified cell or the given defaultStyle if no style can be found for the given stylename.
function getCenterX()
Returns the x-coordinate of the center point.
function getCenterY()
Returns the y-coordinate of the center point.
function getChildAt($index)
Returns the child at the specified index.
function getChildAt($cell,
$index)
Returns the child of the given mxCell at the given index.
function getChildCount()
Returns the number of child cells.
function getChildCount($cell)
Returns the number of children in the given cell.
function getChildOffsetForCell($cell)
Returns the offset to be used for the cells inside the given cell.
static function getCodec($name)
Returns a codec that handles objects that are constructed using the given ctor.
function getColor($hex,  
$default =  null)
Allocates the given color and returns a reference to it.
function getConnectionConstraint($edge,
$terminal,
$source)
Returns an mxConnectionConstraint that describes the given connection point.
function getConnectionPoint($vertex,
$constraint)
Returns the nearest point in the list of absolute points or the center of the opposite terminal.
function getDefaultEdgeStyle()
Sets the default style for edges.
function getDefaultParent()
Returns the first child child of mxGraphModel.root.
function getDefaultVertexStyle()
Returns the default style for vertices.
function getDirectedEdgeCount($cell,  
$outgoing,  
$ignoredEdge =  null)
Returns the number of incoming or outgoing edges, ignoring the given edge.
function getEdgeAt($index)
Returns the edge at the specified index in edges.
function getEdgeAt($cell,
$index)
Returns the edge of cell at the given index.
function getEdgeCount()
Returns the number of edges in the edge array.
function getEdgeCount($cell)
Returns the number of distinct edges connected to the given cell.
function getEdgeIndex($edge)
Returns the index of the specified edge in edges.
function getEdges($cell)
Returns all distinct edges connected to this cell as an array of mxCells.
function getEdgeStyle($edge,
$points,
$source,
$target)
Returns the edge style function to be used to render the given edge state.
function getElementById($id,  
$attr = "id")
Returns the element with the given ID from document.
function getFieldName($attributename)
Returns the fieldname for the given attributename.
function getFieldTemplate(&$obj,
$fieldname,
$child)
Returns the template instance for the given field.
function getFixedFontSize($fontSize,  
$fontFamily,  
$fontStyle = null)
Returns the fixed font size for GD (1 t0 5) for the given font properties
static function getFixedFontSize($fontSize,  
$fontFamily,  
$fontStyle = null)
Returns the fixed font size for GD (1 t0 5) for the given font properties
function getGeometry()
Returns the mxGeometry that describes the geometry.
function getGeometry($cell)
Returns the mxGeometry of the given mxCell.
function getGraphBounds()
Returns the bounds of the visible graph.
function getGraphBounds()
Returns graphBounds.
function getHashCode($cell)
Returns a unique string that represents the given instance.
function getHtml()
Gets the HTML that represents the canvas.
function getId()
Returns the Id of the cell as a string.
function getId($obj)
Returns the ID of the specified object.
function getImage()
Returns an image that represents this canvas.
function getImage($key)
Returns the value for the given key.
function getImageBundles()
Returns the imageBundles.
function getImageForStyle($style)
Returns an image that represents this canvas.
function getImageFromBundles($key)
Searches all imageBundles for the specified key and returns the value for the first match or null if the key is not found.
function getImages()
Returns the images.
function getIndex($child)
Returns the index of the specified child in the child array.
static function getInstanceForName($name)
Creates and returns a new instance for the given class name.
function getLabel($cell)
Returns a string or DOM node that represents the label for the given cell.
static function getLabelPaintBounds($label,
$style,
$isHtml,
$offset,
$vertexBounds,
$scale)
Returns the paint bounds for the given label.
static function getLabelSize($label,
$style)
Returns the size of the given label.
function getModel()
Returns the mxGraphModel that contains the cells.
static function getName($obj)
Returns the codec name for the given object instance.
function getName()
Returns name.
function getName()
Creates a new instance of the template for this codec.
static function getName($value)
Returns the name for the given value.
function getNearestCommonAncestor($cell1,
$cell2)
Returns the nearest common ancestor for the specified cells.
function getNextPoint($edge,
$opposite,
$source)
Returns the nearest point in the list of absolute points or the center of the opposite terminal.
static function getNumber($dict,  
$key,  
$default = )
Returns the value for key in dictionary or 0 if no value is defined for the key.
function getObject($id)
Returns the decoded object for the element with the specified ID in document.
function getOrigin($cell)
Returns the absolute, cummulated origin for the children inside the given parent as an mxPoint.
function getPaintBounds($cells)
Returns the bounding box of the given cells and their descendants.
function getParent()
Returns the cell’s parent.
function getParent($cell)
Returns the parent of the given cell.
static function getParentPath($path)
Returns the cell for the specified cell path using the given root as the root of the path.
function getPerimeterBounds($border =  0)
Returns the mxRectangle that should be used as the perimeter of the cell.
function getPerimeterBounds($terminal,  
$border =  0)
Returns the perimeter bounds for the given terminal, edge pair as an mxRectangle.
function getPerimeterFunction($state)
Returns the perimeter function for the given state.
function getPerimeterPoint($terminal,  
$next,  
$orthogonal,  
$border =  null)
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.
function getPoint($state,  
$geometry =  null)
Returns the absolute point on the edge for the given relative mxGeometry as an mxPoint.
function getProperties()
Returns properties.
function getProperty($key)
Returns the property value for the given key.
function getRoot()
Returns the root of the model.
static function getRotatedPoint($pt,  
$cos,  
$sin,  
$cx =  null)
Rotates the given point by the given cos and sin.
function getRoutingCenterX($state)
Returns the x-coordinate of the center point for automatic routing.
function getRoutingCenterY($state)
Returns the y-coordinate of the center point for automatic routing.
static function getScaledLabelBounds($x,
$y,
$size,
$outerWidth,
$outerHeight,
$style,
$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.
static function getSizeForString($text,  
$fontSize =  0,
$fontFamily =  null)
Returns an mxRectangle with the size (width and height in pixels) of the given string.
function getState($cell,  
$create =  false)
Returns the cell state for the specified cell.
function getStates()
Returns the mxCellStates for the given array of mxCells.
function getStyle()
Returns a string that describes the style.
function getStyle($cell)
Returns the style of the given mxCell.
static function getStylename($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.
static function getStylenames($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.
function getStylesheet()
Returns the mxStylesheet that defines the style.
function getTerminal($source)
Returns the source or target terminal.
function getTerminal($edge,
$cource)
Returns the source or target mxCell of the given edge depending on the value of the boolean parameter.
function getTerminalPoint($isSource)
Returns the mxPoint representing the source or target point of this edge.
function getTerminalPort($state,
$terminal,
$source)
Returns an mxCellState that represents the source or target terminal or port for the given edge.
function getTrueTypeFont($style)
Returns the truetype font to be used to draw the text with the given style.
static function getTrueTypeFont($style)
Returns the truetype font to be used to draw the text with the given style.
function getTrueTypeFontSize($style)
Returns the truetype font size to be used to draw the text with the given style.
static function getTrueTypeFontSize($size)
Returns the truetype font size to be used to draw the text with the given style.
function getValue()
Returns the user object of the cell.
function getValue($cell)
Returns the user object of the given mxCell using mxCell.getValue.
static function getValue($name)
Returns the value associated with the given name.
static function getValue($dict,  
$key,  
$default = null)
Returns the value for key in dictionary or the given default value if no value is defined for the key.
function getView()
Returns the mxGraphView that contains the mxCellStates.
function getVisibleTerminal($edge,
$source)
Returns the nearest ancestor terminal that is visible.
var $graph
Holds the mxGraph.
public static $GRAPH_MODEL_CHANGED
Defines the name of the graphModelChanged event.
var $graphBounds
Holds the bounds of the current view.
function graphModelChanged($event)
Called when the graph model has changed.
var $gridSize
Specifies the grid size.
function grow($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.
@@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/php-api/index/General6.html b/docs/php-api/index/General6.html index 812027850..7e8e3049f 100644 --- a/docs/php-api/index/General6.html +++ b/docs/php-api/index/General6.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
H
 height
 html, mxHtmlCanvas
I
 id, mxCell
 idrefs, mxObjectCodec
 image, mxGdCanvas
 imageBundles, mxGraph
 imageCache, mxGdCanvas
 images, mxImageBundle
 indexOf, mxUtils
 indexOfStylename, mxUtils
 info, mxLog
 insert, mxCell
 insertEdge
 insertIntoGraph, mxCodec
 insertVertex, mxGraph
 intersection, mxUtils
 invalid, mxCellState
 invalidate, mxGraphView
 isAncestor, mxGraphModel
 isCellCollapsed, mxGraph
 isCellVisible, mxGraph
 isCollapsed
 isConnectable
 isConsumed, mxEventObject
 isEdge
 isExcluded, mxObjectCodec
 isNode, mxUtils
 isOrthogonal, mxGraph
 isReference, mxObjectCodec
 isVertex
 isVisible
L
 LABEL_INSET, mxConstants
 labelBounds, mxCellState
 labelsVisible, mxGraph
 leave, mxLog
 length, mxCellState
 level_debug, mxLog
 level_error, mxLog
 level_fine, mxLog
 level_info, mxLog
 level_warn, mxLog
 loadImage
 loadXmlDocument, mxUtils
 logfiles, mxLog
 lookup, mxCodec
 Loop, mxEdgeStyle
+
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
 height
 html, mxHtmlCanvas
I
 id, mxCell
 idrefs, mxObjectCodec
 image, mxGdCanvas
 imageBundles, mxGraph
 imageCache, mxGdCanvas
 images, mxImageBundle
 indexOf, mxUtils
 indexOfStylename, mxUtils
 info, mxLog
 insert, mxCell
 insertEdge
 insertIntoGraph, mxCodec
 insertVertex, mxGraph
 intersection, mxUtils
 invalid, mxCellState
 invalidate, mxGraphView
 isAncestor, mxGraphModel
 isCellCollapsed, mxGraph
 isCellVisible, mxGraph
 isCollapsed
 isConnectable
 isConsumed, mxEventObject
 isEdge
 isExcluded, mxObjectCodec
 isNode, mxUtils
 isOrthogonal, mxGraph
 isReference, mxObjectCodec
 isVertex
 isVisible
L
 LABEL_INSET, mxConstants
 labelBounds, mxCellState
 labelsVisible, mxGraph
 leave, mxLog
 length, mxCellState
 level_debug, mxLog
 level_error, mxLog
 level_fine, mxLog
 level_info, mxLog
 level_warn, mxLog
 loadImage
 loadXmlDocument, mxUtils
 logfiles, mxLog
 lookup, mxCodec
 Loop, mxEdgeStyle
-
Holds the height.
var $height
Holds the height of the rectangle.
var $html
Holds the html markup.
+
Holds the height.
var $height
Holds the height of the rectangle.
var $html
Holds the html markup.
-
var $id
Holds the Id.
var $idrefs
Array containing the variable names that should be turned into or converted from references.
var $image
Holds the image.
protected $imageBundles
Holds the list of image bundles.
var $imageCache
Holds the image cache.
var $images
Maps from keys to images.
static function indexOf($array,
$object)
Returns the index of obj in array or -1 if the array does not contains the given object.
static function indexOfStylename($style,
$stylename)
Returns the index of the given stylename in the given style.
static function info($text)
Logs an info trace.
function insert($child,  
$index =  null)
Inserts the specified child into the child array at the specified index and updates the parent reference of the child.
function insertEdge($edge,
$outgoing)
Inserts the specified edge into the edge array and returns the edge.
function insertEdge($parent,  
$id =  null,
$value =  null,
$source =  null,
$target =  null,
$style =  null)
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.
function insertIntoGraph($cell)
Inserts the given cell into its parent and terminal cells.
function insertVertex($parent,  
$id =  null,
$value =  null,
$x =  0,
$y =  0,
$width =  1,
$height =  1,
$style =  null,
$relative =  false)
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.
static function intersection($x0,
$y0,
$x1,
$y1,
$x2,
$y2,
$x3,
$y3)
Returns the intersection of two lines as an mxPoint.
var $invalid
Specifies if the state is invalid.
function isAncestor($parent,
$child)
Returns true if the given parent is an ancestor of the given child.
function isCellCollapsed($cell)
Returns true if the given cell is collapsed.
function isCellVisible($cell)
Returns true if the given cell is visible.
function isCollapsed()
Returns true if the cell is collapsed.
function isCollapsed($cell)
Returns true if the given mxCell is collapsed.
function isConnectable()
Returns true if the cell is connectable.
function isConnectable($cell)
Returns true if the given mxCell is connectable.
function isConsumed()
Returns true if the event has been consumed.
function isEdge()
Returns true if the cell is an edge.
function isEdge($cell)
Returns true if the given cell is an edge.
function isExcluded($obj,
$attr,
$value,
$write)
Returns true if the given attribute is to be ignored by the codec.
static function isNode($value,  
$nodeName =  null,
$attributeName =  null,
$attributeValue =  null)
Returns true if the given value is an XML node with the node name and if the optional attribute has the specified value.
function isOrthogonal($edge)
Returns true if perimeter points should be computed such that the resulting edge has only horizontal or vertical segments.
function isReference($obj,
$attr,
$value,
$write)
Returns true if the given fieldname is to be treated as a textual reference (ID).
function isVertex()
Returns true if the cell is a vertex.
function isVertex($cell)
Returns true if the given cell is a vertex.
function isVisible()
Returns true if the cell is visibile.
function isVisible($cell)
Returns true if the given mxCell is visible.
+
var $id
Holds the Id.
var $idrefs
Array containing the variable names that should be turned into or converted from references.
var $image
Holds the image.
protected $imageBundles
Holds the list of image bundles.
var $imageCache
Holds the image cache.
var $images
Maps from keys to images.
static function indexOf($array,
$object)
Returns the index of obj in array or -1 if the array does not contains the given object.
static function indexOfStylename($style,
$stylename)
Returns the index of the given stylename in the given style.
static function info($text)
Logs an info trace.
function insert($child,  
$index =  null)
Inserts the specified child into the child array at the specified index and updates the parent reference of the child.
function insertEdge($edge,
$outgoing)
Inserts the specified edge into the edge array and returns the edge.
function insertEdge($parent,  
$id =  null,
$value =  null,
$source =  null,
$target =  null,
$style =  null)
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.
function insertIntoGraph($cell)
Inserts the given cell into its parent and terminal cells.
function insertVertex($parent,  
$id =  null,
$value =  null,
$x =  0,
$y =  0,
$width =  1,
$height =  1,
$style =  null,
$relative =  false)
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.
static function intersection($x0,
$y0,
$x1,
$y1,
$x2,
$y2,
$x3,
$y3)
Returns the intersection of two lines as an mxPoint.
var $invalid
Specifies if the state is invalid.
function isAncestor($parent,
$child)
Returns true if the given parent is an ancestor of the given child.
function isCellCollapsed($cell)
Returns true if the given cell is collapsed.
function isCellVisible($cell)
Returns true if the given cell is visible.
function isCollapsed()
Returns true if the cell is collapsed.
function isCollapsed($cell)
Returns true if the given mxCell is collapsed.
function isConnectable()
Returns true if the cell is connectable.
function isConnectable($cell)
Returns true if the given mxCell is connectable.
function isConsumed()
Returns true if the event has been consumed.
function isEdge()
Returns true if the cell is an edge.
function isEdge($cell)
Returns true if the given cell is an edge.
function isExcluded($obj,
$attr,
$value,
$write)
Returns true if the given attribute is to be ignored by the codec.
static function isNode($value,  
$nodeName =  null,
$attributeName =  null,
$attributeValue =  null)
Returns true if the given value is an XML node with the node name and if the optional attribute has the specified value.
function isOrthogonal($edge)
Returns true if perimeter points should be computed such that the resulting edge has only horizontal or vertical segments.
function isReference($obj,
$attr,
$value,
$write)
Returns true if the given fieldname is to be treated as a textual reference (ID).
function isVertex()
Returns true if the cell is a vertex.
function isVertex($cell)
Returns true if the given cell is a vertex.
function isVisible()
Returns true if the cell is visibile.
function isVisible($cell)
Returns true if the given mxCell is visible.
-
public static $LABEL_INSET
Defines the inset in absolute pixels between the label bounding box and the label text.
var $labelBounds
Holds the rectangle which contains the label.
var $labelsVisible
Specifies if labels should be visible.
static function leave($text = "")
Logs a method exit.
var $length
Caches the length of an edge.
public static $level_debug
Specifies the debug logging level.
public static $level_error
Specifies the error logging level.
public static $level_fine
Specifies the fine logging level.
public static $level_info
Specifies the info logging level.
public static $level_warn
Specifies the warn logging level.
function loadImage($image)
Returns an image instance for the given URL.
static function loadImage($url)
Loads an image from the local filesystem, a data URI or any other URL.
static function loadXmlDocument($uri)
Returns a new DOM document for the given URI.
public static $logfiles
Holds the array of logfiles.
function lookup($id)
Hook for subclassers to implement a custom lookup mechanism for cell IDs.
public static $Loop
Provides a self-reference, aka.
+
public static $LABEL_INSET
Defines the inset in absolute pixels between the label bounding box and the label text.
var $labelBounds
Holds the rectangle which contains the label.
var $labelsVisible
Specifies if labels should be visible.
static function leave($text = "")
Logs a method exit.
var $length
Caches the length of an edge.
public static $level_debug
Specifies the debug logging level.
public static $level_error
Specifies the error logging level.
public static $level_fine
Specifies the fine logging level.
public static $level_info
Specifies the info logging level.
public static $level_warn
Specifies the warn logging level.
function loadImage($image)
Returns an image instance for the given URL.
static function loadImage($url)
Loads an image from the local filesystem, a data URI or any other URL.
static function loadXmlDocument($uri)
Returns a new DOM document for the given URI.
public static $logfiles
Holds the array of logfiles.
function lookup($id)
Hook for subclassers to implement a custom lookup mechanism for cell IDs.
public static $Loop
Provides a self-reference, aka.
@@ -29,7 +29,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/php-api/index/General7.html b/docs/php-api/index/General7.html index c09d8f059..733d2712a 100644 --- a/docs/php-api/index/General7.html +++ b/docs/php-api/index/General7.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
M
 maintainEdgeParent, mxGraphModel
 mapping, mxObjectCodec
 mergeChildren, mxGraphModel
 mergeChildrenImpl, mxGraphModel
 MIN_ACTIVE_REGION, mxConstants
 model, mxGraph
 mxCell
 mxCellCodec
 mxCellPath
 mxCellState
 mxCodec
 mxCodecRegistry
 mxConnectionConstraint
 mxConstants
 mxEdgeStyle
 mxEdgeStyleFunction
 mxElbowConnector
 mxEllipsePerimeter
 mxEntityRelation
 mxEvent
 mxEventObject
 mxEventSource
 mxGdCanvas
 mxGdCanvas.php
 mxGeometry
 mxGraph
 mxGraphModel
 mxGraphView
 mxGraphViewHtmlReader
 mxGraphViewImageReader
 mxHtmlCanvas
 mxImageBundle
 mxLog
 mxLoop
 mxModelCodec
 mxObjectCodec
 mxPerimeter
 mxPerimeterFunction
 mxPoint
 mxRectangle
 mxRectanglePerimeter
 mxRhombusPerimeter
 mxSideToSide
 mxStyleRegistry
 mxStylesheet
 mxStylesheetCodec
 mxTopToBottom
 mxTrianglePerimeter
 mxUtils
N
 name, mxEventObject
 nextId, mxGraphModel
 NONE, mxConstants
 NS_SVG, mxConstants
 NS_XHTML, mxConstants
 NS_XLINK, mxConstants
O
 objects, mxCodec
 offset
 origin, mxCellState
 out, mxHtmlCanvas
+
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
 mapping, mxObjectCodec
 mergeChildren, mxGraphModel
 mergeChildrenImpl, mxGraphModel
 MIN_ACTIVE_REGION, mxConstants
 model, mxGraph
 mxCell
 mxCellCodec
 mxCellPath
 mxCellState
 mxCodec
 mxCodecRegistry
 mxConnectionConstraint
 mxConstants
 mxEdgeStyle
 mxEdgeStyleFunction
 mxElbowConnector
 mxEllipsePerimeter
 mxEntityRelation
 mxEvent
 mxEventObject
 mxEventSource
 mxGdCanvas
 mxGdCanvas.php
 mxGeometry
 mxGraph
 mxGraphModel
 mxGraphView
 mxGraphViewHtmlReader
 mxGraphViewImageReader
 mxHtmlCanvas
 mxImageBundle
 mxLog
 mxLoop
 mxModelCodec
 mxObjectCodec
 mxPerimeter
 mxPerimeterFunction
 mxPoint
 mxRectangle
 mxRectanglePerimeter
 mxRhombusPerimeter
 mxSideToSide
 mxStyleRegistry
 mxStylesheet
 mxStylesheetCodec
 mxTopToBottom
 mxTrianglePerimeter
 mxUtils
N
 name, mxEventObject
 nextId, mxGraphModel
 NONE, mxConstants
 NS_SVG, mxConstants
 NS_XHTML, mxConstants
 NS_XLINK, mxConstants
O
 objects, mxCodec
 offset
 origin, mxCellState
 out, mxHtmlCanvas
-
var $maintainEdgeParent
Specifies if edges should automatically be moved into the nearest common ancestor of their terminals.
var $mapping
Maps from from fieldnames to XML attribute names.
function mergeChildren($from,  
$to,  
$cloneAllEdges =  true)
Merges the children of the given cell into the given target cell inside this model.
function mergeChildrenImpl($from,
$to,
$cloneAllEdges,
$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.
public static $MIN_ACTIVE_REGION
Defines the minimum size in pixels of the portion of the cell cell which is to be used as a connectable region.
var $model
Holds the mxGraphModel.
Cells are the elements of the graph model.
function mxCell($value =  null,
$geometry =  null,
$style =  null)
Constructs a new cell to be used in a graph model.
Codec for mxCells.
Implements a mechanism for temporary cell Ids.
Represents the current state of a cell in a given mxGraphView.
function mxCellState($view =  null,
$cell =  null,
$style =  null)
Constructs a new object that represents the current state of the given cell in the specified view.
XML codec for PHP object graphs.
A class to register codecs for objects.
Defines an object that contains the constraints about how to connect one side of an edge to its terminal.
function mxConnectionConstraint($point =  null,
$perimeter =  true)
Constructs a new connection constraint for the given point and boolean arguments.
Defines global constants.
Provides various edge styles to be used as the values for mxConstants.STYLE_EDGE in a cell style.
Defines the requirements for an edge style function.
Uses either SideToSide or TopToBottom depending on the horizontal flag in the cell style.
Implements an elliptic perimeter.
Implements an entity relation style for edges (as used in database schema diagrams).
Defines global constants.
Base class for all events.
function mxEventObject($name)
Constructs a new event for the given name and properties.
Base class for all event sources.
Canvas for drawing graphs using the GD library.
function mxGdCanvas($width =  0,
$height =  0,
$scale =  1,
$background =  null,
$imageBasePath =  "")
Constructs a new GD canvas.
Constructs a new GD canvas.
Represents the geometry of a cell.
function mxGeometry($x = 0,
$y = 0,
$width = 0,
$height = 0)
Constructs a new object to describe the size and location of a vertex or the control points of an edge.
Implements a graph component.
Cells are the elements of the graph model.
Constructs a new graph model using the specified root cell.
function mxGraphModel($root =  null)
Constructs a new graph model using the specified root cell.
Implements a view for the graph.
function mxGraphView($graph)
Constructs a new view for the specified mxGraph.
A display XML to HTML converter.
Constructs a new HTML graph view reader.
function mxGraphViewHtmlReader()
Constructs a new HTML graph view reader.
A display XML to image converter.
function mxGraphViewImageReader($background =  null,
$border =  0)
Constructs a new image graph view reader.
Canvas for drawing graphs using HTML.
Maps from keys to base64 encoded images or file locations.
function mxImageBundle()
Constructs a new image bundle.
Logging facility.
Implements a self-reference, aka.
Codec for mxGraphModels.
XML codec for PHP object graphs.
Constructs a new codec for the specified template object.
Constructs a new codec for the specified template object.
function mxObjectCodec($template,  
$exclude =  array(),
$idrefs =  array(),
$mapping =  array())
Constructs a new codec for the specified template object.
Constructs a new codec for the specified template object.
Provides various perimeter functions to be used in a style as the value of mxConstants.STYLE_PERIMETER.
Defines the requirements for a perimeter function.
Implements a 2-dimensional point with double precision coordinates.
function mxPoint($x =  0,
$y =  0)
Constructs a new point for the optional x and y coordinates.
Implements a 2-dimensional rectangle with double precision coordinates.
function mxRectangle($x =  0,
$y =  0,
$width =  0,
$height =  0)
Constructs a new rectangle for the optional parameters.
Implements a rectangular perimeter for the given bounds.
Implements a rhombus (aka diamond) perimeter.
Implements a vertical elbow edge.
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.
Implements a horizontal elbow edge.
Implements a triangle perimeter.
Helper methods.
+
var $maintainEdgeParent
Specifies if edges should automatically be moved into the nearest common ancestor of their terminals.
var $mapping
Maps from from fieldnames to XML attribute names.
function mergeChildren($from,  
$to,  
$cloneAllEdges =  true)
Merges the children of the given cell into the given target cell inside this model.
function mergeChildrenImpl($from,
$to,
$cloneAllEdges,
$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.
public static $MIN_ACTIVE_REGION
Defines the minimum size in pixels of the portion of the cell cell which is to be used as a connectable region.
var $model
Holds the mxGraphModel.
Cells are the elements of the graph model.
function mxCell($value =  null,
$geometry =  null,
$style =  null)
Constructs a new cell to be used in a graph model.
Codec for mxCells.
Implements a mechanism for temporary cell Ids.
Represents the current state of a cell in a given mxGraphView.
function mxCellState($view =  null,
$cell =  null,
$style =  null)
Constructs a new object that represents the current state of the given cell in the specified view.
XML codec for PHP object graphs.
A class to register codecs for objects.
Defines an object that contains the constraints about how to connect one side of an edge to its terminal.
function mxConnectionConstraint($point =  null,
$perimeter =  true)
Constructs a new connection constraint for the given point and boolean arguments.
Defines global constants.
Provides various edge styles to be used as the values for mxConstants.STYLE_EDGE in a cell style.
Defines the requirements for an edge style function.
Uses either SideToSide or TopToBottom depending on the horizontal flag in the cell style.
Implements an elliptic perimeter.
Implements an entity relation style for edges (as used in database schema diagrams).
Defines global constants.
Base class for all events.
function mxEventObject($name)
Constructs a new event for the given name and properties.
Base class for all event sources.
Canvas for drawing graphs using the GD library.
function mxGdCanvas($width =  0,
$height =  0,
$scale =  1,
$background =  null,
$imageBasePath =  "")
Constructs a new GD canvas.
Constructs a new GD canvas.
Represents the geometry of a cell.
function mxGeometry($x = 0,
$y = 0,
$width = 0,
$height = 0)
Constructs a new object to describe the size and location of a vertex or the control points of an edge.
Implements a graph component.
Cells are the elements of the graph model.
Constructs a new graph model using the specified root cell.
function mxGraphModel($root =  null)
Constructs a new graph model using the specified root cell.
Implements a view for the graph.
function mxGraphView($graph)
Constructs a new view for the specified mxGraph.
A display XML to HTML converter.
Constructs a new HTML graph view reader.
function mxGraphViewHtmlReader()
Constructs a new HTML graph view reader.
A display XML to image converter.
function mxGraphViewImageReader($background =  null,
$border =  0)
Constructs a new image graph view reader.
Canvas for drawing graphs using HTML.
Maps from keys to base64 encoded images or file locations.
function mxImageBundle()
Constructs a new image bundle.
Logging facility.
Implements a self-reference, aka.
Codec for mxGraphModels.
XML codec for PHP object graphs.
Constructs a new codec for the specified template object.
Constructs a new codec for the specified template object.
function mxObjectCodec($template,  
$exclude =  array(),
$idrefs =  array(),
$mapping =  array())
Constructs a new codec for the specified template object.
Constructs a new codec for the specified template object.
Provides various perimeter functions to be used in a style as the value of mxConstants.STYLE_PERIMETER.
Defines the requirements for a perimeter function.
Implements a 2-dimensional point with double precision coordinates.
function mxPoint($x =  0,
$y =  0)
Constructs a new point for the optional x and y coordinates.
Implements a 2-dimensional rectangle with double precision coordinates.
function mxRectangle($x =  0,
$y =  0,
$width =  0,
$height =  0)
Constructs a new rectangle for the optional parameters.
Implements a rectangular perimeter for the given bounds.
Implements a rhombus (aka diamond) perimeter.
Implements a vertical elbow edge.
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.
Implements a horizontal elbow edge.
Implements a triangle perimeter.
Helper methods.
-
var $name
Holds the name of the event.
var $nextId
Specifies the next Id to be created.
public static $NONE
Defines the value for none.
public static $NS_SVG
Defines the SVG namespace.
public static $NS_XHTML
Defines the XHTML namespace.
public static $NS_XLINK
Defined the XLink namespace.
+
var $name
Holds the name of the event.
var $nextId
Specifies the next Id to be created.
public static $NONE
Defines the value for none.
public static $NS_SVG
Defines the SVG namespace.
public static $NS_XHTML
Defines the XHTML namespace.
public static $NS_XLINK
Defined the XLink namespace.
-
var $objects
Maps from IDs to objects.
function offset($points,  
$dx =  null,
$dy =  null)
Creates a new array of x, y sequences where the each coordinate is translated by dx and dy, respectively.
var $offset
Holds the offset of the label for edges.
var $origin
mxPoint that holds the origin for all child cells.
function out($string)
Adds the specified string to the output.
+
var $objects
Maps from IDs to objects.
function offset($points,  
$dx =  null,
$dy =  null)
Creates a new array of x, y sequences where the each coordinate is translated by dx and dy, respectively.
var $offset
Holds the offset of the label for edges.
var $origin
mxPoint that holds the origin for all child cells.
function out($string)
Adds the specified string to the output.
@@ -29,7 +29,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/php-api/index/General8.html b/docs/php-api/index/General8.html index d27cf5b71..dd84ac580 100644 --- a/docs/php-api/index/General8.html +++ b/docs/php-api/index/General8.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
P
 paintCell, mxGraph
 paintState, mxGraph
 parent, mxCell
 parsePoints, mxGraphViewImageReader
 parser, mxGraphViewImageReader
 parseState, mxGraphViewImageReader
 parseXml, mxUtils
 perimeter, mxConnectionConstraint
 PERIMETER_ELLIPSE, mxConstants
 PERIMETER_RECTANGLE, mxConstants
 PERIMETER_RHOMBUS, mxConstants
 PERIMETER_TRIANGLE, mxConstants
 point, mxConnectionConstraint
 points, mxGeometry
 postProcessCellStyle, mxGraph
 printLog, mxLog
 processInclude, mxObjectCodec
 properties, mxEventObject
 putCellStyle, mxStylesheet
 putDefaultEdgeStyle, mxStylesheet
 putDefaultVertexStyle, mxStylesheet
 putImage, mxImageBundle
 putObject, mxCodec
 putValue, mxStyleRegistry
R
 RAD_PER_DEG, mxConstants
 read, mxGraphViewImageReader
 readFile
 RectanglePerimeter, mxPerimeter
 reference, mxCodec
 register, mxCodecRegistry
 relative, mxGeometry
 remove
 removeAllStylenames, mxUtils
 removeEdge, mxCell
 removeFromParent, mxCell
 removeFromTerminal, mxCell
 removeImageBundle, mxGraph
 removeState, mxGraphView
 removeStylename, mxUtils
 resolve, mxCellPath
 restoreClone, mxGraphModel
 reverse, mxObjectCodec
 RhombusPerimeter, mxPerimeter
 root, mxGraphModel
+
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
 paintCell, mxGraph
 paintState, mxGraph
 parent, mxCell
 parsePoints, mxGraphViewImageReader
 parser, mxGraphViewImageReader
 parseState, mxGraphViewImageReader
 parseXml, mxUtils
 perimeter, mxConnectionConstraint
 PERIMETER_ELLIPSE, mxConstants
 PERIMETER_RECTANGLE, mxConstants
 PERIMETER_RHOMBUS, mxConstants
 PERIMETER_TRIANGLE, mxConstants
 point, mxConnectionConstraint
 points, mxGeometry
 postProcessCellStyle, mxGraph
 printLog, mxLog
 processInclude, mxObjectCodec
 properties, mxEventObject
 putCellStyle, mxStylesheet
 putDefaultEdgeStyle, mxStylesheet
 putDefaultVertexStyle, mxStylesheet
 putImage, mxImageBundle
 putObject, mxCodec
 putValue, mxStyleRegistry
R
 RAD_PER_DEG, mxConstants
 read, mxGraphViewImageReader
 readFile
 RectanglePerimeter, mxPerimeter
 reference, mxCodec
 register, mxCodecRegistry
 relative, mxGeometry
 remove
 removeAllStylenames, mxUtils
 removeEdge, mxCell
 removeFromParent, mxCell
 removeFromTerminal, mxCell
 removeImageBundle, mxGraph
 removeState, mxGraphView
 removeStylename, mxUtils
 resolve, mxCellPath
 restoreClone, mxGraphModel
 reverse, mxObjectCodec
 RhombusPerimeter, mxPerimeter
 root, mxGraphModel
-
Draws the given cell onto the specified canvas.
Draws the given cell and label onto the specified canvas.
var $parent
Reference to the parent cell.
function parsePoints($str)
Parses a string that represents a list of points into an array of mxPoints.
var $parser
Holds the SAX parser.
function parseState($state,
$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.
static function parseXml($xml)
Returns a new DOM document for the given XML string.
var $perimeter
Boolean that specifies if the point should be projected onto the perimeter of the terminal.
public static $PERIMETER_ELLIPSE
Name of the ellipse perimeter.
public static $PERIMETER_RECTANGLE
Name of the rectangle perimeter.
public static $PERIMETER_RHOMBUS
Name of the rhombus perimeter.
public static $PERIMETER_TRIANGLE
Name of the triangle perimeter.
var $point
mxPoint that specifies the fixed location of the connection point.
var $points
Array of mxPoints which specifies the control points along the edge.
function postProcessCellStyle($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.
public static $printLog
Specifies if the log should be printed out.
function processInclude($dec,
$node,
$into)
Returns true if the given node is an include directive and executes the include by decoding the XML document.
var $properties
Holds the event properties in an associative array that maps from string (key) to object (value).
function putCellStyle($name,
$style)
Stores the specified style under the given name.
function putDefaultEdgeStyle($style)
Sets the default style for edges.
function putDefaultVertexStyle($style)
Sets the default style for vertices.
function putImage($key,
$value)
Adds the specified entry to the map.
function putObject($id,
$object)
Assoiates the given object with the given ID.
static function putValue($name,
$value)
Puts the given object into the registry under the given name.
+
Draws the given cell onto the specified canvas.
Draws the given cell and label onto the specified canvas.
var $parent
Reference to the parent cell.
function parsePoints($str)
Parses a string that represents a list of points into an array of mxPoints.
var $parser
Holds the SAX parser.
function parseState($state,
$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.
static function parseXml($xml)
Returns a new DOM document for the given XML string.
var $perimeter
Boolean that specifies if the point should be projected onto the perimeter of the terminal.
public static $PERIMETER_ELLIPSE
Name of the ellipse perimeter.
public static $PERIMETER_RECTANGLE
Name of the rectangle perimeter.
public static $PERIMETER_RHOMBUS
Name of the rhombus perimeter.
public static $PERIMETER_TRIANGLE
Name of the triangle perimeter.
var $point
mxPoint that specifies the fixed location of the connection point.
var $points
Array of mxPoints which specifies the control points along the edge.
function postProcessCellStyle($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.
public static $printLog
Specifies if the log should be printed out.
function processInclude($dec,
$node,
$into)
Returns true if the given node is an include directive and executes the include by decoding the XML document.
var $properties
Holds the event properties in an associative array that maps from string (key) to object (value).
function putCellStyle($name,
$style)
Stores the specified style under the given name.
function putDefaultEdgeStyle($style)
Sets the default style for edges.
function putDefaultVertexStyle($style)
Sets the default style for vertices.
function putImage($key,
$value)
Adds the specified entry to the map.
function putObject($id,
$object)
Assoiates the given object with the given ID.
static function putValue($name,
$value)
Puts the given object into the registry under the given name.
-
public static $RAD_PER_DEG
Defines the number of radiants per degree.
function read($string)
Reads the specified view XML string.
function readFile($filename)
Reads the specified view XML file in blocks of 4096 bytes.
static function readFile($filename)
Reads the given filename into a string.
public static $RectanglePerimeter
Provides a rectangular perimeter.
function reference($obj)
Hook for subclassers to implement a custom method for retrieving IDs from objects.
static function register($codec)
Registers a new codec and associates the name of the template constructor in the codec with the codec object.
var $relative
Specifies if the coordinates in the geometry are to be interpreted as relative coordinates.
function remove($index)
Removes the child at the specified index from the child array and returns the child that was removed.
function remove($cell)
Removes the specified cell from the model using mxChildChange and adds the change to the current transaction.
static function removeAllStylenames($style)
Removes all stylenames from the given style and returns the updated style.
function removeEdge($edge,
$outgoing)
Removes the specified edge from the edge array and returns the edge.
function removeFromParent()
Removes the cell from its parent.
function removeFromTerminal($source)
Removes the edge from its source or target terminal.
function removeImageBundle($bundle)
Removes the specified mxImageBundle.
function removeState($cell,  
$recurse =  false)
Removes and returns the mxCellState for the given cell.
static function removeStylename($style,
$stylename)
Removes all occurrences of the specified stylename in the given style and returns the updated style.
static function resolve($root,
$path)
Returns the cell for the specified cell path using the given root as the root of the path.
function restoreClone($clne,
$cell,
$mapping)
Inner helper method for restoring the connections in a network of cloned cells.
var $reverse
Maps from from XML attribute names to fieldnames.
public static $RhombusPerimeter
Provides a rhombus (aka diamond) perimeter.
var $root
Holds the root cell, which in turn contains the cells that represent the layers of the diagram as child cells.
+
public static $RAD_PER_DEG
Defines the number of radiants per degree.
function read($string)
Reads the specified view XML string.
function readFile($filename)
Reads the specified view XML file in blocks of 4096 bytes.
static function readFile($filename)
Reads the given filename into a string.
public static $RectanglePerimeter
Provides a rectangular perimeter.
function reference($obj)
Hook for subclassers to implement a custom method for retrieving IDs from objects.
static function register($codec)
Registers a new codec and associates the name of the template constructor in the codec with the codec object.
var $relative
Specifies if the coordinates in the geometry are to be interpreted as relative coordinates.
function remove($index)
Removes the child at the specified index from the child array and returns the child that was removed.
function remove($cell)
Removes the specified cell from the model using mxChildChange and adds the change to the current transaction.
static function removeAllStylenames($style)
Removes all stylenames from the given style and returns the updated style.
function removeEdge($edge,
$outgoing)
Removes the specified edge from the edge array and returns the edge.
function removeFromParent()
Removes the cell from its parent.
function removeFromTerminal($source)
Removes the edge from its source or target terminal.
function removeImageBundle($bundle)
Removes the specified mxImageBundle.
function removeState($cell,  
$recurse =  false)
Removes and returns the mxCellState for the given cell.
static function removeStylename($style,
$stylename)
Removes all occurrences of the specified stylename in the given style and returns the updated style.
static function resolve($root,
$path)
Returns the cell for the specified cell path using the given root as the root of the path.
function restoreClone($clne,
$cell,
$mapping)
Inner helper method for restoring the connections in a network of cloned cells.
var $reverse
Maps from from XML attribute names to fieldnames.
public static $RhombusPerimeter
Provides a rhombus (aka diamond) perimeter.
var $root
Holds the root cell, which in turn contains the cells that represent the layers of the diagram as child cells.
@@ -25,7 +25,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/php-api/index/General9.html b/docs/php-api/index/General9.html index 2507daaf0..d157d03ac 100644 --- a/docs/php-api/index/General9.html +++ b/docs/php-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
S
 scale
 SCALE, mxEvent
 segments, mxCellState
 selectSingleNode, mxUtils
 setAttribute
 setCellStyleFlags, mxUtils
 setCellStyles
 setCollapsed
 setConnectable, mxCell
 setEdge, mxCell
 setGeometry
 setGraphBounds, mxGraphView
 setId, mxCell
 setImage, mxGdCanvas
 setImageBundles, mxGraph
 setParent, mxCell
 setRect, mxRectangle
 setRoot, mxGraphModel
 setScale, mxGraphView
 setStyle
 setStyleFlag, mxUtils
 setTerminal
 setTerminalPoint, mxGeometry
 setTerminals, mxGraphModel
 setTranslate, mxGraphView
 setValue
 setVertex, mxCell
 setVisible
 SHADOW_OFFSETX, mxConstants
 SHADOW_OFFSETY, mxConstants
 shadowColor, mxGdCanvas
 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
 SideToSide, mxEdgeStyle
 source, mxCell
 sourcePoint, mxGeometry
 sSTYLE_ENTRY_PERIMETER, mxConstants
 stackTrace, mxUtils
 startElement, mxGraphViewImageReader
 states, mxGraphView
 style
 STYLE_ALIGN, mxConstants
 STYLE_DASHED, mxConstants
 STYLE_DIRECTION, mxConstants
 STYLE_EDGE, mxConstants
 STYLE_ELBOW, mxConstants
 STYLE_ENDARROW, mxConstants
 STYLE_ENDSIZE, 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_FONTCOLOR, mxConstants
 STYLE_FONTFAMILY, mxConstants
 STYLE_FONTSIZE, mxConstants
 STYLE_FONTSTYLE, mxConstants
 STYLE_GRADIENT_DIRECTION, mxConstants
 STYLE_GRADIENTCOLOR, mxConstants
 STYLE_HORIZONTAL, mxConstants
 STYLE_IMAGE, mxConstants
 STYLE_IMAGE_ALIGN, mxConstants
 STYLE_IMAGE_BACKGROUND, mxConstants
 STYLE_IMAGE_BORDER, mxConstants
 STYLE_IMAGE_FLIPH, mxConstants
 STYLE_IMAGE_FLIPV, mxConstants
 STYLE_IMAGE_HEIGHT, mxConstants
 STYLE_IMAGE_VERTICALALIGN, mxConstants
 STYLE_IMAGE_WIDTH, mxConstants
 STYLE_INDICATOR_COLOR, mxConstants
 STYLE_INDICATOR_GRADIENTCOLOR, mxConstants
 STYLE_INDICATOR_HEIGHT, mxConstants
 STYLE_INDICATOR_IMAGE, mxConstants
 STYLE_INDICATOR_SHAPE, mxConstants
 STYLE_INDICATOR_SPACING, mxConstants
 STYLE_INDICATOR_WIDTH, mxConstants
 STYLE_LABEL_BACKGROUNDCOLOR, mxConstants
 STYLE_LABEL_BORDERCOLOR, mxConstants
 STYLE_LABEL_POSITION, mxConstants
 STYLE_LOOP, mxConstants
 STYLE_NOEDGESTYLE, mxConstants
 STYLE_NOLABEL, mxConstants
 STYLE_OPACITY, mxConstants
 STYLE_ORTHOGONAL, mxConstants
 STYLE_OVERFLOW, mxConstants
 STYLE_PERIMETER, mxConstants
 STYLE_PERIMETER_SPACING, 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_SOURCE_PERIMETER_SPACING, mxConstants
 STYLE_SPACING, mxConstants
 STYLE_SPACING_BOTTOM, mxConstants
 STYLE_SPACING_LEFT, mxConstants
 STYLE_SPACING_RIGHT, mxConstants
 STYLE_SPACING_TOP, mxConstants
 STYLE_STARTARROW, mxConstants
 STYLE_STARTSIZE, mxConstants
 STYLE_STROKECOLOR, mxConstants
 STYLE_STROKEWIDTH, mxConstants
 STYLE_TARGET_PERIMETER_SPACING, mxConstants
 STYLE_TEXT_OPACITY, mxConstants
 STYLE_VERTICAL_ALIGN, mxConstants
 STYLE_VERTICAL_LABEL_POSITION, mxConstants
 STYLE_WHITE_SPACE, mxConstants
 styles, mxStylesheet
 stylesheet, 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
S
 scale
 SCALE, mxEvent
 segments, mxCellState
 selectSingleNode, mxUtils
 setAttribute
 setCellStyleFlags, mxUtils
 setCellStyles
 setCollapsed
 setConnectable, mxCell
 setEdge, mxCell
 setGeometry
 setGraphBounds, mxGraphView
 setId, mxCell
 setImage, mxGdCanvas
 setImageBundles, mxGraph
 setParent, mxCell
 setRect, mxRectangle
 setRoot, mxGraphModel
 setScale, mxGraphView
 setStyle
 setStyleFlag, mxUtils
 setTerminal
 setTerminalPoint, mxGeometry
 setTerminals, mxGraphModel
 setTranslate, mxGraphView
 setValue
 setVertex, mxCell
 setVisible
 SHADOW_OFFSETX, mxConstants
 SHADOW_OFFSETY, mxConstants
 shadowColor, mxGdCanvas
 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
 SideToSide, mxEdgeStyle
 source, mxCell
 sourcePoint, mxGeometry
 sSTYLE_ENTRY_PERIMETER, mxConstants
 stackTrace, mxUtils
 startElement, mxGraphViewImageReader
 states, mxGraphView
 style
 STYLE_ALIGN, mxConstants
 STYLE_DASHED, mxConstants
 STYLE_DIRECTION, mxConstants
 STYLE_EDGE, mxConstants
 STYLE_ELBOW, mxConstants
 STYLE_ENDARROW, mxConstants
 STYLE_ENDSIZE, 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_FONTCOLOR, mxConstants
 STYLE_FONTFAMILY, mxConstants
 STYLE_FONTSIZE, mxConstants
 STYLE_FONTSTYLE, mxConstants
 STYLE_GRADIENT_DIRECTION, mxConstants
 STYLE_GRADIENTCOLOR, mxConstants
 STYLE_HORIZONTAL, mxConstants
 STYLE_IMAGE, mxConstants
 STYLE_IMAGE_ALIGN, mxConstants
 STYLE_IMAGE_BACKGROUND, mxConstants
 STYLE_IMAGE_BORDER, mxConstants
 STYLE_IMAGE_FLIPH, mxConstants
 STYLE_IMAGE_FLIPV, mxConstants
 STYLE_IMAGE_HEIGHT, mxConstants
 STYLE_IMAGE_VERTICALALIGN, mxConstants
 STYLE_IMAGE_WIDTH, mxConstants
 STYLE_INDICATOR_COLOR, mxConstants
 STYLE_INDICATOR_GRADIENTCOLOR, mxConstants
 STYLE_INDICATOR_HEIGHT, mxConstants
 STYLE_INDICATOR_IMAGE, mxConstants
 STYLE_INDICATOR_SHAPE, mxConstants
 STYLE_INDICATOR_SPACING, mxConstants
 STYLE_INDICATOR_WIDTH, mxConstants
 STYLE_LABEL_BACKGROUNDCOLOR, mxConstants
 STYLE_LABEL_BORDERCOLOR, mxConstants
 STYLE_LABEL_POSITION, mxConstants
 STYLE_LOOP, mxConstants
 STYLE_NOEDGESTYLE, mxConstants
 STYLE_NOLABEL, mxConstants
 STYLE_OPACITY, mxConstants
 STYLE_ORTHOGONAL, mxConstants
 STYLE_OVERFLOW, mxConstants
 STYLE_PERIMETER, mxConstants
 STYLE_PERIMETER_SPACING, 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_SOURCE_PERIMETER_SPACING, mxConstants
 STYLE_SPACING, mxConstants
 STYLE_SPACING_BOTTOM, mxConstants
 STYLE_SPACING_LEFT, mxConstants
 STYLE_SPACING_RIGHT, mxConstants
 STYLE_SPACING_TOP, mxConstants
 STYLE_STARTARROW, mxConstants
 STYLE_STARTSIZE, mxConstants
 STYLE_STROKECOLOR, mxConstants
 STYLE_STROKEWIDTH, mxConstants
 STYLE_TARGET_PERIMETER_SPACING, mxConstants
 STYLE_TEXT_OPACITY, mxConstants
 STYLE_VERTICAL_ALIGN, mxConstants
 STYLE_VERTICAL_LABEL_POSITION, mxConstants
 STYLE_WHITE_SPACE, mxConstants
 styles, mxStylesheet
 stylesheet, mxGraph
-
var $scale
Holds the current scale.
var $scale
Holds the global scale of the graph.
public static $SCALE
Defines the name of the scale event.
var $segments
Array of numbers that represent the cached length of each segment of the edge.
static function selectSingleNode($doc,
$expr)
Evaluates the XPath expression and returns the first node of the result.
function setAttribute($key,
$value)
Sets the specified attribute on the user object if it is an XML node.
function setAttribute($node,
$attribute,
$value)
Sets the attribute on the specified node to value.
static function setCellStyleFlags($model,
$cells,
$key,
$flag,
$value)
Sets or toggles the flag bit for the given key in the cell’s styles.
function setCellStyles($key,
$value,
$cells)
Sets the key to value in the styles of the given cells.
static function setCellStyles($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.
function setCollapsed($collapsed)
Sets the collapsed state.
function setCollapsed($cell,
$isCollapsed)
Sets the collapsed state of the given mxCell using mxCollapseChange and adds the change to the current transaction.
function setConnectable($connectable)
Sets the connectable state.
function setEdge($edge)
Specifies if the cell is an edge.
function setGeometry($geometry)
Sets the mxGeometry to be used as the geometry.
function setGeometry($cell,
$geometry)
Sets the mxGeometry of the given mxCell.
function setGraphBounds($value)
Sets graphBounds.
function setId($id)
Sets the Id of the cell to the given string.
function setImage($img)
Sets the image that represents the canvas.
function setImageBundles($value)
Sets the imageBundles.
function setParent($parent)
Sets the parent cell.
function setRect($x,
$y,
$width,
$height)
Sets this rectangle to the specified values.
function setScale($scale)
Sets the scale, revalidates the view and fires a scale event.
function setStyle($style)
Sets the string to be used as the style.
function setStyle($cell,
$style)
Sets the style of the given mxCell using mxStyleChange and adds the change to the current transaction.
static function setStyle($style,
$key,
$value)
Adds or removes the given key, value pair to the style and returns the new style.
static function setStyleFlag($style,
$key,
$flag,
$value)
Sets or removes the given key from the specified style and returns the new style.
function setTerminal($terminal,
$source)
Sets the source or target terminal and returns the new terminal.
function setTerminal($edge,
$terminal,
$source)
Sets the source or target terminal of the given mxCell using mxTerminalChange and adds the change to the current transaction.
function setTerminalPoint($point,
$isSource)
Sets the sourcePoint or targetPoint to the given mxPoint and returns the new point.
function setTerminals($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.
function setTranslate($translate)
Sets the translation, revalidates the view and fires a translate event.
function setValue($value)
Sets the user object of the cell.
function setValue($cell,
$value)
Sets the user object of then given mxCell using mxValueChange and adds the change to the current transaction.
function setVertex($vertex)
Specifies if the cell is a vertex.
function setVisible($visible)
Specifies if the cell is visible.
function setVisible($cell,
$visible)
Sets the visible state of the given mxCell using mxVisibleChange and adds the change to the current transaction.
public static $SHADOW_OFFSETX
Defines the x-offset to be used for shadows.
public static $SHADOW_OFFSETY
Defines the y-offset to be used for shadows.
var $shadowColor
Holds the color object for the shadow color defined in mxConstants.W3C_SHADOWCOLOR.
public static $SHAPE_ACTOR
public static $SHAPE_ARROW
public static $SHAPE_CLOUD
public static $SHAPE_CONNECTOR
public static $SHAPE_CYLINDER
public static $SHAPE_DOUBLE_ELLIPSE
public static $SHAPE_ELLIPSE
public static $SHAPE_HEXAGON
public static $SHAPE_IMAGE
public static $SHAPE_LABEL
public static $SHAPE_LINE
public static $SHAPE_RECTANGLE
public static $SHAPE_RHOMBUS
public static $SHAPE_SWIMLANE
public static $SHAPE_TRIANGLE
public static $SideToSide
Provides a side to side connector.
var $source
Reference to the source terminal.
var $sourcePoint
Defines the source point of the edge.
Defines if the perimeter should be used to find the exact entry point along the perimeter of the target.
static function stackTrace()
Prints a simple stack trace in the error log.
function startElement($parser,
$name,
$attrs)
Invoked by the SAX parser when an element starts.
var $states
Maps from cells to states.
var $style
Holds the style as a string of the form [(stylename|key=value);].
var $style
Contains an array of key, value pairs that represent the style of the cell.
public static $STYLE_ALIGN
Defines the key for the align style.
public static $STYLE_DASHED
Defines the key for the endSize style.
public static $STYLE_DIRECTION
Defines the key for the direction style.
public static $STYLE_EDGE
Defines the key for the edge style.
public static $STYLE_ELBOW
Defines the key for the elbow style.
public static $STYLE_ENDARROW
Defines the key for the endArrow style.
public static $STYLE_ENDSIZE
Defines the key for the endSize style.
public static $STYLE_ENTRY_X
Defines the key for the horizontal relative coordinate connection point of an edge with its target terminal.
public static $STYLE_ENTRY_Y
Defines the key for the vertical relative coordinate connection point of an edge with its target terminal.
public static $STYLE_EXIT_PERIMETER
Defines if the perimeter should be used to find the exact entry point along the perimeter of the source.
public static $STYLE_EXIT_X
Defines the key for the horizontal relative coordinate connection point of an edge with its source terminal.
public static $STYLE_EXIT_Y
Defines the key for the vertical relative coordinate connection point of an edge with its source terminal.
public static $STYLE_FILLCOLOR
Defines the key for the fill color.
public static $STYLE_FONTCOLOR
Defines the key for the fontColor style.
public static $STYLE_FONTFAMILY
Defines the key for the fontFamily style.
public static $STYLE_FONTSIZE
Defines the key for the fontSize style (in points).
public static $STYLE_FONTSTYLE
Defines the key for the fontStyle style.
public static $STYLE_GRADIENT_DIRECTION
Defines the key for the gradient direction.
public static $STYLE_GRADIENTCOLOR
Defines the key for the gradient color.
public static $STYLE_HORIZONTAL
Defines the key for the horizontal style.
public static $STYLE_IMAGE
Defines the key for the image style.
public static $STYLE_IMAGE_ALIGN
Defines the key for the align style.
public static $STYLE_IMAGE_BACKGROUND
Defines the key for the image background color.
public static $STYLE_IMAGE_BORDER
Defines the key for the image border color.
public static $STYLE_IMAGE_FLIPH
Defines the key for the horizontal image flip.
public static $STYLE_IMAGE_FLIPV
Defines the key for the vertical image flip.
public static $STYLE_IMAGE_HEIGHT
Defines the key for the imageHeight style.
Defines the key for the verticalAlign style.
public static $STYLE_IMAGE_WIDTH
Defines the key for the imageWidth style.
public static $STYLE_INDICATOR_COLOR
Defines the key for the indicatorColor style.
public static $STYLE_INDICATOR_GRADIENTCOLOR
Defines the key for the indicatorGradientColor style.
public static $STYLE_INDICATOR_HEIGHT
Defines the key for the indicatorHeight style (in px).
public static $STYLE_INDICATOR_IMAGE
Defines the key for the indicatorImage style.
public static $STYLE_INDICATOR_SHAPE
Defines the key for the indicatorShape style.
public static $STYLE_INDICATOR_SPACING
Defines the key for the indicatorSpacing style (in px).
public static $STYLE_INDICATOR_WIDTH
Defines the key for the indicatorWidth style (in px).
public static $STYLE_LABEL_BACKGROUNDCOLOR
Defines the key for the label background color.
public static $STYLE_LABEL_BORDERCOLOR
Defines the key for the label border color.
public static $STYLE_LABEL_POSITION
Defines the key for the horizontal label position of vertices.
public static $STYLE_LOOP
Defines the key for the loop style.
public static $STYLE_NOEDGESTYLE
Defines the key for the noEdgeStyle style.
public static $STYLE_NOLABEL
Defines the key for the noLabel style.
public static $STYLE_OPACITY
Defines the key for the opacity style.
public static $STYLE_ORTHOGONAL
Defines if the connection points on either end of the edge should be computed so that the edge is vertical or horizontal if possible and if the point is not at a fixed location.
public static $STYLE_OVERFLOW
Defines the key for the overflow style.
public static $STYLE_PERIMETER
Defines the key for the perimeter style.
public static $STYLE_PERIMETER_SPACING
Defines the key for the perimeter spacing.
public static $STYLE_ROTATION
Defines the key for the rotation style.
public static $STYLE_ROUNDED
Defines the key for the rounded style.
public static $STYLE_ROUTING_CENTER_X
Defines the key for the horizontal routing center.
public static $STYLE_ROUTING_CENTER_Y
Defines the key for the vertical routing center.
public static $STYLE_SEGMENT
Defines the key for the segment style.
public static $STYLE_SEPARATORCOLOR
Defines the key for the separatorColor style.
public static $STYLE_SHADOW
Defines the key for the shadow style.
public static $STYLE_SHAPE
Defines the key for the shape.
public static $STYLE_SOURCE_PERIMETER_SPACING
Defines the key for the source perimeter spacing.
public static $STYLE_SPACING
Defines the key for the spacing.
public static $STYLE_SPACING_BOTTOM
Defines the key for the spacingBottom style The value represents the spacing, in pixels, added to the bottom side of a label in a vertex (style applies to vertices only).
public static $STYLE_SPACING_LEFT
Defines the key for the spacingLeft style.
public static $STYLE_SPACING_RIGHT
Defines the key for the spacingRight style The value represents the spacing, in pixels, added to the right side of a label in a vertex (style applies to vertices only).
public static $STYLE_SPACING_TOP
Defines the key for the spacingTop style.
public static $STYLE_STARTARROW
Defines the key for the startArrow style.
public static $STYLE_STARTSIZE
Defines the key for the startSize style.
public static $STYLE_STROKECOLOR
Defines the key for the strokeColor style.
public static $STYLE_STROKEWIDTH
Defines the key for the strokeWidth style.
public static $STYLE_TARGET_PERIMETER_SPACING
Defines the key for the source perimeter spacing.
public static $STYLE_TEXT_OPACITY
Defines the key for the text opacity style.
public static $STYLE_VERTICAL_ALIGN
Defines the key for the verticalAlign style.
public static $STYLE_VERTICAL_LABEL_POSITION
Defines the key for the vertical label position of vertices.
public static $STYLE_WHITE_SPACE
Defines the key for the white-space style.
var $styles = array()
Maps from names to styles.
var $stylesheet
Holds the mxStylesheet.
+
var $scale
Holds the current scale.
var $scale
Holds the global scale of the graph.
public static $SCALE
Defines the name of the scale event.
var $segments
Array of numbers that represent the cached length of each segment of the edge.
static function selectSingleNode($doc,
$expr)
Evaluates the XPath expression and returns the first node of the result.
function setAttribute($key,
$value)
Sets the specified attribute on the user object if it is an XML node.
function setAttribute($node,
$attribute,
$value)
Sets the attribute on the specified node to value.
static function setCellStyleFlags($model,
$cells,
$key,
$flag,
$value)
Sets or toggles the flag bit for the given key in the cell’s styles.
function setCellStyles($key,
$value,
$cells)
Sets the key to value in the styles of the given cells.
static function setCellStyles($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.
function setCollapsed($collapsed)
Sets the collapsed state.
function setCollapsed($cell,
$isCollapsed)
Sets the collapsed state of the given mxCell using mxCollapseChange and adds the change to the current transaction.
function setConnectable($connectable)
Sets the connectable state.
function setEdge($edge)
Specifies if the cell is an edge.
function setGeometry($geometry)
Sets the mxGeometry to be used as the geometry.
function setGeometry($cell,
$geometry)
Sets the mxGeometry of the given mxCell.
function setGraphBounds($value)
Sets graphBounds.
function setId($id)
Sets the Id of the cell to the given string.
function setImage($img)
Sets the image that represents the canvas.
function setImageBundles($value)
Sets the imageBundles.
function setParent($parent)
Sets the parent cell.
function setRect($x,
$y,
$width,
$height)
Sets this rectangle to the specified values.
function setScale($scale)
Sets the scale, revalidates the view and fires a scale event.
function setStyle($style)
Sets the string to be used as the style.
function setStyle($cell,
$style)
Sets the style of the given mxCell using mxStyleChange and adds the change to the current transaction.
static function setStyle($style,
$key,
$value)
Adds or removes the given key, value pair to the style and returns the new style.
static function setStyleFlag($style,
$key,
$flag,
$value)
Sets or removes the given key from the specified style and returns the new style.
function setTerminal($terminal,
$source)
Sets the source or target terminal and returns the new terminal.
function setTerminal($edge,
$terminal,
$source)
Sets the source or target terminal of the given mxCell using mxTerminalChange and adds the change to the current transaction.
function setTerminalPoint($point,
$isSource)
Sets the sourcePoint or targetPoint to the given mxPoint and returns the new point.
function setTerminals($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.
function setTranslate($translate)
Sets the translation, revalidates the view and fires a translate event.
function setValue($value)
Sets the user object of the cell.
function setValue($cell,
$value)
Sets the user object of then given mxCell using mxValueChange and adds the change to the current transaction.
function setVertex($vertex)
Specifies if the cell is a vertex.
function setVisible($visible)
Specifies if the cell is visible.
function setVisible($cell,
$visible)
Sets the visible state of the given mxCell using mxVisibleChange and adds the change to the current transaction.
public static $SHADOW_OFFSETX
Defines the x-offset to be used for shadows.
public static $SHADOW_OFFSETY
Defines the y-offset to be used for shadows.
var $shadowColor
Holds the color object for the shadow color defined in mxConstants.W3C_SHADOWCOLOR.
public static $SHAPE_ACTOR
public static $SHAPE_ARROW
public static $SHAPE_CLOUD
public static $SHAPE_CONNECTOR
public static $SHAPE_CYLINDER
public static $SHAPE_DOUBLE_ELLIPSE
public static $SHAPE_ELLIPSE
public static $SHAPE_HEXAGON
public static $SHAPE_IMAGE
public static $SHAPE_LABEL
public static $SHAPE_LINE
public static $SHAPE_RECTANGLE
public static $SHAPE_RHOMBUS
public static $SHAPE_SWIMLANE
public static $SHAPE_TRIANGLE
public static $SideToSide
Provides a side to side connector.
var $source
Reference to the source terminal.
var $sourcePoint
Defines the source point of the edge.
Defines if the perimeter should be used to find the exact entry point along the perimeter of the target.
static function stackTrace()
Prints a simple stack trace in the error log.
function startElement($parser,
$name,
$attrs)
Invoked by the SAX parser when an element starts.
var $states
Maps from cells to states.
var $style
Holds the style as a string of the form [(stylename|key=value);].
var $style
Contains an array of key, value pairs that represent the style of the cell.
public static $STYLE_ALIGN
Defines the key for the align style.
public static $STYLE_DASHED
Defines the key for the endSize style.
public static $STYLE_DIRECTION
Defines the key for the direction style.
public static $STYLE_EDGE
Defines the key for the edge style.
public static $STYLE_ELBOW
Defines the key for the elbow style.
public static $STYLE_ENDARROW
Defines the key for the endArrow style.
public static $STYLE_ENDSIZE
Defines the key for the endSize style.
public static $STYLE_ENTRY_X
Defines the key for the horizontal relative coordinate connection point of an edge with its target terminal.
public static $STYLE_ENTRY_Y
Defines the key for the vertical relative coordinate connection point of an edge with its target terminal.
public static $STYLE_EXIT_PERIMETER
Defines if the perimeter should be used to find the exact entry point along the perimeter of the source.
public static $STYLE_EXIT_X
Defines the key for the horizontal relative coordinate connection point of an edge with its source terminal.
public static $STYLE_EXIT_Y
Defines the key for the vertical relative coordinate connection point of an edge with its source terminal.
public static $STYLE_FILLCOLOR
Defines the key for the fill color.
public static $STYLE_FONTCOLOR
Defines the key for the fontColor style.
public static $STYLE_FONTFAMILY
Defines the key for the fontFamily style.
public static $STYLE_FONTSIZE
Defines the key for the fontSize style (in points).
public static $STYLE_FONTSTYLE
Defines the key for the fontStyle style.
public static $STYLE_GRADIENT_DIRECTION
Defines the key for the gradient direction.
public static $STYLE_GRADIENTCOLOR
Defines the key for the gradient color.
public static $STYLE_HORIZONTAL
Defines the key for the horizontal style.
public static $STYLE_IMAGE
Defines the key for the image style.
public static $STYLE_IMAGE_ALIGN
Defines the key for the align style.
public static $STYLE_IMAGE_BACKGROUND
Defines the key for the image background color.
public static $STYLE_IMAGE_BORDER
Defines the key for the image border color.
public static $STYLE_IMAGE_FLIPH
Defines the key for the horizontal image flip.
public static $STYLE_IMAGE_FLIPV
Defines the key for the vertical image flip.
public static $STYLE_IMAGE_HEIGHT
Defines the key for the imageHeight style.
Defines the key for the verticalAlign style.
public static $STYLE_IMAGE_WIDTH
Defines the key for the imageWidth style.
public static $STYLE_INDICATOR_COLOR
Defines the key for the indicatorColor style.
public static $STYLE_INDICATOR_GRADIENTCOLOR
Defines the key for the indicatorGradientColor style.
public static $STYLE_INDICATOR_HEIGHT
Defines the key for the indicatorHeight style (in px).
public static $STYLE_INDICATOR_IMAGE
Defines the key for the indicatorImage style.
public static $STYLE_INDICATOR_SHAPE
Defines the key for the indicatorShape style.
public static $STYLE_INDICATOR_SPACING
Defines the key for the indicatorSpacing style (in px).
public static $STYLE_INDICATOR_WIDTH
Defines the key for the indicatorWidth style (in px).
public static $STYLE_LABEL_BACKGROUNDCOLOR
Defines the key for the label background color.
public static $STYLE_LABEL_BORDERCOLOR
Defines the key for the label border color.
public static $STYLE_LABEL_POSITION
Defines the key for the horizontal label position of vertices.
public static $STYLE_LOOP
Defines the key for the loop style.
public static $STYLE_NOEDGESTYLE
Defines the key for the noEdgeStyle style.
public static $STYLE_NOLABEL
Defines the key for the noLabel style.
public static $STYLE_OPACITY
Defines the key for the opacity style.
public static $STYLE_ORTHOGONAL
Defines if the connection points on either end of the edge should be computed so that the edge is vertical or horizontal if possible and if the point is not at a fixed location.
public static $STYLE_OVERFLOW
Defines the key for the overflow style.
public static $STYLE_PERIMETER
Defines the key for the perimeter style.
public static $STYLE_PERIMETER_SPACING
Defines the key for the perimeter spacing.
public static $STYLE_ROTATION
Defines the key for the rotation style.
public static $STYLE_ROUNDED
Defines the key for the rounded style.
public static $STYLE_ROUTING_CENTER_X
Defines the key for the horizontal routing center.
public static $STYLE_ROUTING_CENTER_Y
Defines the key for the vertical routing center.
public static $STYLE_SEGMENT
Defines the key for the segment style.
public static $STYLE_SEPARATORCOLOR
Defines the key for the separatorColor style.
public static $STYLE_SHADOW
Defines the key for the shadow style.
public static $STYLE_SHAPE
Defines the key for the shape.
public static $STYLE_SOURCE_PERIMETER_SPACING
Defines the key for the source perimeter spacing.
public static $STYLE_SPACING
Defines the key for the spacing.
public static $STYLE_SPACING_BOTTOM
Defines the key for the spacingBottom style The value represents the spacing, in pixels, added to the bottom side of a label in a vertex (style applies to vertices only).
public static $STYLE_SPACING_LEFT
Defines the key for the spacingLeft style.
public static $STYLE_SPACING_RIGHT
Defines the key for the spacingRight style The value represents the spacing, in pixels, added to the right side of a label in a vertex (style applies to vertices only).
public static $STYLE_SPACING_TOP
Defines the key for the spacingTop style.
public static $STYLE_STARTARROW
Defines the key for the startArrow style.
public static $STYLE_STARTSIZE
Defines the key for the startSize style.
public static $STYLE_STROKECOLOR
Defines the key for the strokeColor style.
public static $STYLE_STROKEWIDTH
Defines the key for the strokeWidth style.
public static $STYLE_TARGET_PERIMETER_SPACING
Defines the key for the source perimeter spacing.
public static $STYLE_TEXT_OPACITY
Defines the key for the text opacity style.
public static $STYLE_VERTICAL_ALIGN
Defines the key for the verticalAlign style.
public static $STYLE_VERTICAL_LABEL_POSITION
Defines the key for the vertical label position of vertices.
public static $STYLE_WHITE_SPACE
Defines the key for the white-space style.
var $styles = array()
Maps from names to styles.
var $stylesheet
Holds the mxStylesheet.
@@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/php-api/index/Interfaces.html b/docs/php-api/index/Interfaces.html index bccfb17bd..f0d6c5159 100644 --- a/docs/php-api/index/Interfaces.html +++ b/docs/php-api/index/Interfaces.html @@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/php-api/index/Variables.html b/docs/php-api/index/Variables.html index f2cea9bb7..221b3f0fd 100644 --- a/docs/php-api/index/Variables.html +++ b/docs/php-api/index/Variables.html @@ -11,7 +11,7 @@ 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
A
 absoluteOffset, mxCellState
 absolutePoints, mxCellState
 ACTIVE_REGION, mxConstants
 aliases, mxCodecRegistry
 ALIGN_BOTTOM, mxConstants
 ALIGN_CENTER, mxConstants
 ALIGN_LEFT, mxConstants
 ALIGN_MIDDLE, mxConstants
 ALIGN_RIGHT, mxConstants
 ALIGN_TOP, mxConstants
 alternateBounds, mxGeometry
 antialias
 ARROW_BLOCK, mxConstants
 ARROW_CLASSIC, mxConstants
 ARROW_DIAMOND, mxConstants
 ARROW_OPEN, mxConstants
 ARROW_OVAL, mxConstants
 ARROW_SIZE, mxConstants
 ARROW_SPACING, mxConstants
 ARROW_WIDTH, mxConstants
B
 background, mxGraphViewImageReader
 border, mxGraphViewImageReader
 boundingBox, mxCellState
C
 canvas, mxGraphViewImageReader
 cell, mxCellState
 cells, mxGraphModel
 children, mxCell
 codecs
 collapsed, mxCell
 connectable, mxCell
 consumed, mxEventObject
 createIds, mxGraphModel
 current, mxLog
D
 DEFAULT_FONTFAMILY, mxConstants
 DEFAULT_FONTSIZE, mxConstants
 DEFAULT_IMAGESIZE, mxConstants
 DEFAULT_LINESPACING, mxConstants
 DEFAULT_MARKERSIZE, mxConstants
 DEFAULT_STARTSIZE, mxConstants
 defaultLoopStyle, mxGraph
 DEG_PER_RAD, mxConstants
 DIRECTION_EAST, mxConstants
 DIRECTION_NORTH, mxConstants
 DIRECTION_SOUTH, mxConstants
 DIRECTION_WEST, mxConstants
 document, mxCodec
E
 edge, mxCell
 edges, mxCell
 EDGESTYLE_ENTITY_RELATION, mxConstants
 EDGESTYLE_LOOP, mxConstants
 EDGESTYLE_SIDETOSIDE, mxConstants
 EDGESTYLE_TOPTOBOTTOM, mxConstants
 ELBOW_HORIZONTAL, mxConstants
 ELBOW_VERTICAL, mxConstants
 ElbowConnector, mxEdgeStyle
 EllipsePerimeter, mxPerimeter
 EMPTY_POINT, mxGraphView
 enableTtf, mxGdCanvas
 encodeDefaults, mxCodec
 ENTITY_SEGMENT, mxConstants
 EntityRelation, mxEdgeStyle
 eventListeners, mxEventSource
 exclude, mxObjectCodec
F
 FONT_BOLD, mxConstants
 FONT_ITALIC, mxConstants
 FONT_SHADOW, mxConstants
 FONT_UNDERLINE, mxConstants
G
 geometry, mxCell
 graph, mxGraphView
 GRAPH_MODEL_CHANGED, mxEvent
 graphBounds, mxGraphView
 gridSize, mxGraph
H
 height
 html, mxHtmlCanvas
I
 id, mxCell
 idrefs, mxObjectCodec
 image, mxGdCanvas
 imageBundles, mxGraph
 imageCache, mxGdCanvas
 images, mxImageBundle
 invalid, mxCellState
L
 LABEL_INSET, mxConstants
 labelBounds, mxCellState
 labelsVisible, mxGraph
 length, mxCellState
 level_debug, mxLog
 level_error, mxLog
 level_fine, mxLog
 level_info, mxLog
 level_warn, mxLog
 logfiles, mxLog
 Loop, mxEdgeStyle
+
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
A
 absoluteOffset, mxCellState
 absolutePoints, mxCellState
 ACTIVE_REGION, mxConstants
 aliases, mxCodecRegistry
 ALIGN_BOTTOM, mxConstants
 ALIGN_CENTER, mxConstants
 ALIGN_LEFT, mxConstants
 ALIGN_MIDDLE, mxConstants
 ALIGN_RIGHT, mxConstants
 ALIGN_TOP, mxConstants
 alternateBounds, mxGeometry
 antialias
 ARROW_BLOCK, mxConstants
 ARROW_CLASSIC, mxConstants
 ARROW_DIAMOND, mxConstants
 ARROW_OPEN, mxConstants
 ARROW_OVAL, mxConstants
 ARROW_SIZE, mxConstants
 ARROW_SPACING, mxConstants
 ARROW_WIDTH, mxConstants
B
 background, mxGraphViewImageReader
 border, mxGraphViewImageReader
 boundingBox, mxCellState
C
 canvas, mxGraphViewImageReader
 cell, mxCellState
 cells, mxGraphModel
 children, mxCell
 codecs
 collapsed, mxCell
 connectable, mxCell
 consumed, mxEventObject
 createIds, mxGraphModel
 current, mxLog
D
 DEFAULT_FONTFAMILY, mxConstants
 DEFAULT_FONTSIZE, mxConstants
 DEFAULT_IMAGESIZE, mxConstants
 DEFAULT_LINESPACING, mxConstants
 DEFAULT_MARKERSIZE, mxConstants
 DEFAULT_STARTSIZE, mxConstants
 defaultLoopStyle, mxGraph
 DEG_PER_RAD, mxConstants
 DIRECTION_EAST, mxConstants
 DIRECTION_NORTH, mxConstants
 DIRECTION_SOUTH, mxConstants
 DIRECTION_WEST, mxConstants
 document, mxCodec
E
 edge, mxCell
 edges, mxCell
 EDGESTYLE_ENTITY_RELATION, mxConstants
 EDGESTYLE_LOOP, mxConstants
 EDGESTYLE_SIDETOSIDE, mxConstants
 EDGESTYLE_TOPTOBOTTOM, mxConstants
 ELBOW_HORIZONTAL, mxConstants
 ELBOW_VERTICAL, mxConstants
 ElbowConnector, mxEdgeStyle
 EllipsePerimeter, mxPerimeter
 EMPTY_POINT, mxGraphView
 enableTtf, mxGdCanvas
 encodeDefaults, mxCodec
 ENTITY_SEGMENT, mxConstants
 EntityRelation, mxEdgeStyle
 eventListeners, mxEventSource
 exclude, mxObjectCodec
F
 FONT_BOLD, mxConstants
 FONT_ITALIC, mxConstants
 FONT_UNDERLINE, mxConstants
G
 geometry, mxCell
 graph, mxGraphView
 GRAPH_MODEL_CHANGED, mxEvent
 graphBounds, mxGraphView
 gridSize, mxGraph
H
 height
 html, mxHtmlCanvas
I
 id, mxCell
 idrefs, mxObjectCodec
 image, mxGdCanvas
 imageBundles, mxGraph
 imageCache, mxGdCanvas
 images, mxImageBundle
 invalid, mxCellState
L
 LABEL_INSET, mxConstants
 labelBounds, mxCellState
 labelsVisible, mxGraph
 length, mxCellState
 level_debug, mxLog
 level_error, mxLog
 level_fine, mxLog
 level_info, mxLog
 level_warn, mxLog
 logfiles, mxLog
 Loop, mxEdgeStyle
var $absoluteOffset
mxPoint that holds the absolute offset.
var $absolutePoints
Holds an array of mxPoints that represent the absolute points of an edge.
public static $ACTIVE_REGION
Defines the portion of the cell which is to be used as a connectable region.
public static $aliases
Maps from classnames to codecnames.
public static $ALIGN_BOTTOM
public static $ALIGN_CENTER
public static $ALIGN_LEFT
public static $ALIGN_MIDDLE
public static $ALIGN_RIGHT
public static $ALIGN_TOP
var $alternateBounds
Stores alternate values for x, y, width and height in a rectangle.
Specifies if image aspect should be preserved in drawImage.
var $antialias
Specifies if antialiasing should be enabled.
public static $ARROW_BLOCK
public static $ARROW_CLASSIC
public static $ARROW_DIAMOND
public static $ARROW_OPEN
public static $ARROW_OVAL
public static $ARROW_SIZE
Defines the size of the arrowhead in the arrow shape.
public static $ARROW_SPACING
Defines the spacing between the arrow shape and its terminals.
public static $ARROW_WIDTH
Defines the width of the arrow shape.
@@ -33,23 +33,23 @@ if (browserType) {document.write("
");if (browserV -
public static $FONT_BOLD
public static $FONT_ITALIC
public static $FONT_SHADOW
public static $FONT_UNDERLINE
+
public static $FONT_BOLD
public static $FONT_ITALIC
public static $FONT_UNDERLINE
-
var $geometry
Holds the mxGeometry.
var $graph
Holds the mxGraph.
public static $GRAPH_MODEL_CHANGED
Defines the name of the graphModelChanged event.
var $graphBounds
Holds the bounds of the current view.
var $gridSize
Specifies the grid size.
+
var $geometry
Holds the mxGeometry.
var $graph
Holds the mxGraph.
public static $GRAPH_MODEL_CHANGED
Defines the name of the graphModelChanged event.
var $graphBounds
Holds the bounds of the current view.
var $gridSize
Specifies the grid size.
-
Holds the height.
var $height
Holds the height of the rectangle.
var $html
Holds the html markup.
+
Holds the height.
var $height
Holds the height of the rectangle.
var $html
Holds the html markup.
-
var $id
Holds the Id.
var $idrefs
Array containing the variable names that should be turned into or converted from references.
var $image
Holds the image.
protected $imageBundles
Holds the list of image bundles.
var $imageCache
Holds the image cache.
var $images
Maps from keys to images.
var $invalid
Specifies if the state is invalid.
+
var $id
Holds the Id.
var $idrefs
Array containing the variable names that should be turned into or converted from references.
var $image
Holds the image.
protected $imageBundles
Holds the list of image bundles.
var $imageCache
Holds the image cache.
var $images
Maps from keys to images.
var $invalid
Specifies if the state is invalid.
-
public static $LABEL_INSET
Defines the inset in absolute pixels between the label bounding box and the label text.
var $labelBounds
Holds the rectangle which contains the label.
var $labelsVisible
Specifies if labels should be visible.
var $length
Caches the length of an edge.
public static $level_debug
Specifies the debug logging level.
public static $level_error
Specifies the error logging level.
public static $level_fine
Specifies the fine logging level.
public static $level_info
Specifies the info logging level.
public static $level_warn
Specifies the warn logging level.
public static $logfiles
Holds the array of logfiles.
public static $Loop
Provides a self-reference, aka.
+
public static $LABEL_INSET
Defines the inset in absolute pixels between the label bounding box and the label text.
var $labelBounds
Holds the rectangle which contains the label.
var $labelsVisible
Specifies if labels should be visible.
var $length
Caches the length of an edge.
public static $level_debug
Specifies the debug logging level.
public static $level_error
Specifies the error logging level.
public static $level_fine
Specifies the fine logging level.
public static $level_info
Specifies the info logging level.
public static $level_warn
Specifies the warn logging level.
public static $logfiles
Holds the array of logfiles.
public static $Loop
Provides a self-reference, aka.
@@ -57,7 +57,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/php-api/index/Variables2.html b/docs/php-api/index/Variables2.html index 235f5c111..b5d4196b7 100644 --- a/docs/php-api/index/Variables2.html +++ b/docs/php-api/index/Variables2.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
M
 maintainEdgeParent, mxGraphModel
 mapping, mxObjectCodec
 MIN_ACTIVE_REGION, mxConstants
 model, mxGraph
N
 name, mxEventObject
 nextId, mxGraphModel
 NONE, mxConstants
 NS_SVG, mxConstants
 NS_XHTML, mxConstants
 NS_XLINK, mxConstants
O
 objects, mxCodec
 offset, mxGeometry
 origin, mxCellState
P
 parent, mxCell
 parser, mxGraphViewImageReader
 perimeter, mxConnectionConstraint
 PERIMETER_ELLIPSE, mxConstants
 PERIMETER_RECTANGLE, mxConstants
 PERIMETER_RHOMBUS, mxConstants
 PERIMETER_TRIANGLE, mxConstants
 point, mxConnectionConstraint
 points, mxGeometry
 printLog, mxLog
 properties, mxEventObject
R
 RAD_PER_DEG, mxConstants
 RectanglePerimeter, mxPerimeter
 relative, mxGeometry
 reverse, mxObjectCodec
 RhombusPerimeter, mxPerimeter
 root, mxGraphModel
+
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
 mapping, mxObjectCodec
 MIN_ACTIVE_REGION, mxConstants
 model, mxGraph
N
 name, mxEventObject
 nextId, mxGraphModel
 NONE, mxConstants
 NS_SVG, mxConstants
 NS_XHTML, mxConstants
 NS_XLINK, mxConstants
O
 objects, mxCodec
 offset, mxGeometry
 origin, mxCellState
P
 parent, mxCell
 parser, mxGraphViewImageReader
 perimeter, mxConnectionConstraint
 PERIMETER_ELLIPSE, mxConstants
 PERIMETER_RECTANGLE, mxConstants
 PERIMETER_RHOMBUS, mxConstants
 PERIMETER_TRIANGLE, mxConstants
 point, mxConnectionConstraint
 points, mxGeometry
 printLog, mxLog
 properties, mxEventObject
R
 RAD_PER_DEG, mxConstants
 RectanglePerimeter, mxPerimeter
 relative, mxGeometry
 reverse, mxObjectCodec
 RhombusPerimeter, mxPerimeter
 root, mxGraphModel
-
var $maintainEdgeParent
Specifies if edges should automatically be moved into the nearest common ancestor of their terminals.
var $mapping
Maps from from fieldnames to XML attribute names.
public static $MIN_ACTIVE_REGION
Defines the minimum size in pixels of the portion of the cell cell which is to be used as a connectable region.
var $model
Holds the mxGraphModel.
+
var $maintainEdgeParent
Specifies if edges should automatically be moved into the nearest common ancestor of their terminals.
var $mapping
Maps from from fieldnames to XML attribute names.
public static $MIN_ACTIVE_REGION
Defines the minimum size in pixels of the portion of the cell cell which is to be used as a connectable region.
var $model
Holds the mxGraphModel.
-
var $name
Holds the name of the event.
var $nextId
Specifies the next Id to be created.
public static $NONE
Defines the value for none.
public static $NS_SVG
Defines the SVG namespace.
public static $NS_XHTML
Defines the XHTML namespace.
public static $NS_XLINK
Defined the XLink namespace.
+
var $name
Holds the name of the event.
var $nextId
Specifies the next Id to be created.
public static $NONE
Defines the value for none.
public static $NS_SVG
Defines the SVG namespace.
public static $NS_XHTML
Defines the XHTML namespace.
public static $NS_XLINK
Defined the XLink namespace.
-
var $objects
Maps from IDs to objects.
var $offset
Holds the offset of the label for edges.
var $origin
mxPoint that holds the origin for all child cells.
+
var $objects
Maps from IDs to objects.
var $offset
Holds the offset of the label for edges.
var $origin
mxPoint that holds the origin for all child cells.
-
var $parent
Reference to the parent cell.
var $parser
Holds the SAX parser.
var $perimeter
Boolean that specifies if the point should be projected onto the perimeter of the terminal.
public static $PERIMETER_ELLIPSE
Name of the ellipse perimeter.
public static $PERIMETER_RECTANGLE
Name of the rectangle perimeter.
public static $PERIMETER_RHOMBUS
Name of the rhombus perimeter.
public static $PERIMETER_TRIANGLE
Name of the triangle perimeter.
var $point
mxPoint that specifies the fixed location of the connection point.
var $points
Array of mxPoints which specifies the control points along the edge.
public static $printLog
Specifies if the log should be printed out.
var $properties
Holds the event properties in an associative array that maps from string (key) to object (value).
+
var $parent
Reference to the parent cell.
var $parser
Holds the SAX parser.
var $perimeter
Boolean that specifies if the point should be projected onto the perimeter of the terminal.
public static $PERIMETER_ELLIPSE
Name of the ellipse perimeter.
public static $PERIMETER_RECTANGLE
Name of the rectangle perimeter.
public static $PERIMETER_RHOMBUS
Name of the rhombus perimeter.
public static $PERIMETER_TRIANGLE
Name of the triangle perimeter.
var $point
mxPoint that specifies the fixed location of the connection point.
var $points
Array of mxPoints which specifies the control points along the edge.
public static $printLog
Specifies if the log should be printed out.
var $properties
Holds the event properties in an associative array that maps from string (key) to object (value).
-
public static $RAD_PER_DEG
Defines the number of radiants per degree.
public static $RectanglePerimeter
Provides a rectangular perimeter.
var $relative
Specifies if the coordinates in the geometry are to be interpreted as relative coordinates.
var $reverse
Maps from from XML attribute names to fieldnames.
public static $RhombusPerimeter
Provides a rhombus (aka diamond) perimeter.
var $root
Holds the root cell, which in turn contains the cells that represent the layers of the diagram as child cells.
+
public static $RAD_PER_DEG
Defines the number of radiants per degree.
public static $RectanglePerimeter
Provides a rectangular perimeter.
var $relative
Specifies if the coordinates in the geometry are to be interpreted as relative coordinates.
var $reverse
Maps from from XML attribute names to fieldnames.
public static $RhombusPerimeter
Provides a rhombus (aka diamond) perimeter.
var $root
Holds the root cell, which in turn contains the cells that represent the layers of the diagram as child cells.
@@ -37,7 +37,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/php-api/index/Variables3.html b/docs/php-api/index/Variables3.html index a2d836176..711fb7247 100644 --- a/docs/php-api/index/Variables3.html +++ b/docs/php-api/index/Variables3.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
 scale
 SCALE, mxEvent
 segments, mxCellState
 SHADOW_OFFSETX, mxConstants
 SHADOW_OFFSETY, mxConstants
 shadowColor, mxGdCanvas
 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
 SideToSide, mxEdgeStyle
 source, mxCell
 sourcePoint, mxGeometry
 sSTYLE_ENTRY_PERIMETER, mxConstants
 states, mxGraphView
 style
 STYLE_ALIGN, mxConstants
 STYLE_DASHED, mxConstants
 STYLE_DIRECTION, mxConstants
 STYLE_EDGE, mxConstants
 STYLE_ELBOW, mxConstants
 STYLE_ENDARROW, mxConstants
 STYLE_ENDSIZE, 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_FONTCOLOR, mxConstants
 STYLE_FONTFAMILY, mxConstants
 STYLE_FONTSIZE, mxConstants
 STYLE_FONTSTYLE, mxConstants
 STYLE_GRADIENT_DIRECTION, mxConstants
 STYLE_GRADIENTCOLOR, mxConstants
 STYLE_HORIZONTAL, mxConstants
 STYLE_IMAGE, mxConstants
 STYLE_IMAGE_ALIGN, mxConstants
 STYLE_IMAGE_BACKGROUND, mxConstants
 STYLE_IMAGE_BORDER, mxConstants
 STYLE_IMAGE_FLIPH, mxConstants
 STYLE_IMAGE_FLIPV, mxConstants
 STYLE_IMAGE_HEIGHT, mxConstants
 STYLE_IMAGE_VERTICALALIGN, mxConstants
 STYLE_IMAGE_WIDTH, mxConstants
 STYLE_INDICATOR_COLOR, mxConstants
 STYLE_INDICATOR_GRADIENTCOLOR, mxConstants
 STYLE_INDICATOR_HEIGHT, mxConstants
 STYLE_INDICATOR_IMAGE, mxConstants
 STYLE_INDICATOR_SHAPE, mxConstants
 STYLE_INDICATOR_SPACING, mxConstants
 STYLE_INDICATOR_WIDTH, mxConstants
 STYLE_LABEL_BACKGROUNDCOLOR, mxConstants
 STYLE_LABEL_BORDERCOLOR, mxConstants
 STYLE_LABEL_POSITION, mxConstants
 STYLE_LOOP, mxConstants
 STYLE_NOEDGESTYLE, mxConstants
 STYLE_NOLABEL, mxConstants
 STYLE_OPACITY, mxConstants
 STYLE_ORTHOGONAL, mxConstants
 STYLE_OVERFLOW, mxConstants
 STYLE_PERIMETER, mxConstants
 STYLE_PERIMETER_SPACING, 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_SOURCE_PERIMETER_SPACING, mxConstants
 STYLE_SPACING, mxConstants
 STYLE_SPACING_BOTTOM, mxConstants
 STYLE_SPACING_LEFT, mxConstants
 STYLE_SPACING_RIGHT, mxConstants
 STYLE_SPACING_TOP, mxConstants
 STYLE_STARTARROW, mxConstants
 STYLE_STARTSIZE, mxConstants
 STYLE_STROKECOLOR, mxConstants
 STYLE_STROKEWIDTH, mxConstants
 STYLE_TARGET_PERIMETER_SPACING, mxConstants
 STYLE_TEXT_OPACITY, mxConstants
 STYLE_VERTICAL_ALIGN, mxConstants
 STYLE_VERTICAL_LABEL_POSITION, mxConstants
 STYLE_WHITE_SPACE, mxConstants
 stylesheet, 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
S
 scale
 SCALE, mxEvent
 segments, mxCellState
 SHADOW_OFFSETX, mxConstants
 SHADOW_OFFSETY, mxConstants
 shadowColor, mxGdCanvas
 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
 SideToSide, mxEdgeStyle
 source, mxCell
 sourcePoint, mxGeometry
 sSTYLE_ENTRY_PERIMETER, mxConstants
 states, mxGraphView
 style
 STYLE_ALIGN, mxConstants
 STYLE_DASHED, mxConstants
 STYLE_DIRECTION, mxConstants
 STYLE_EDGE, mxConstants
 STYLE_ELBOW, mxConstants
 STYLE_ENDARROW, mxConstants
 STYLE_ENDSIZE, 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_FONTCOLOR, mxConstants
 STYLE_FONTFAMILY, mxConstants
 STYLE_FONTSIZE, mxConstants
 STYLE_FONTSTYLE, mxConstants
 STYLE_GRADIENT_DIRECTION, mxConstants
 STYLE_GRADIENTCOLOR, mxConstants
 STYLE_HORIZONTAL, mxConstants
 STYLE_IMAGE, mxConstants
 STYLE_IMAGE_ALIGN, mxConstants
 STYLE_IMAGE_BACKGROUND, mxConstants
 STYLE_IMAGE_BORDER, mxConstants
 STYLE_IMAGE_FLIPH, mxConstants
 STYLE_IMAGE_FLIPV, mxConstants
 STYLE_IMAGE_HEIGHT, mxConstants
 STYLE_IMAGE_VERTICALALIGN, mxConstants
 STYLE_IMAGE_WIDTH, mxConstants
 STYLE_INDICATOR_COLOR, mxConstants
 STYLE_INDICATOR_GRADIENTCOLOR, mxConstants
 STYLE_INDICATOR_HEIGHT, mxConstants
 STYLE_INDICATOR_IMAGE, mxConstants
 STYLE_INDICATOR_SHAPE, mxConstants
 STYLE_INDICATOR_SPACING, mxConstants
 STYLE_INDICATOR_WIDTH, mxConstants
 STYLE_LABEL_BACKGROUNDCOLOR, mxConstants
 STYLE_LABEL_BORDERCOLOR, mxConstants
 STYLE_LABEL_POSITION, mxConstants
 STYLE_LOOP, mxConstants
 STYLE_NOEDGESTYLE, mxConstants
 STYLE_NOLABEL, mxConstants
 STYLE_OPACITY, mxConstants
 STYLE_ORTHOGONAL, mxConstants
 STYLE_OVERFLOW, mxConstants
 STYLE_PERIMETER, mxConstants
 STYLE_PERIMETER_SPACING, 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_SOURCE_PERIMETER_SPACING, mxConstants
 STYLE_SPACING, mxConstants
 STYLE_SPACING_BOTTOM, mxConstants
 STYLE_SPACING_LEFT, mxConstants
 STYLE_SPACING_RIGHT, mxConstants
 STYLE_SPACING_TOP, mxConstants
 STYLE_STARTARROW, mxConstants
 STYLE_STARTSIZE, mxConstants
 STYLE_STROKECOLOR, mxConstants
 STYLE_STROKEWIDTH, mxConstants
 STYLE_TARGET_PERIMETER_SPACING, mxConstants
 STYLE_TEXT_OPACITY, mxConstants
 STYLE_VERTICAL_ALIGN, mxConstants
 STYLE_VERTICAL_LABEL_POSITION, mxConstants
 STYLE_WHITE_SPACE, mxConstants
 stylesheet, mxGraph
-
var $scale
Holds the current scale.
var $scale
Holds the global scale of the graph.
public static $SCALE
Defines the name of the scale event.
var $segments
Array of numbers that represent the cached length of each segment of the edge.
public static $SHADOW_OFFSETX
Defines the x-offset to be used for shadows.
public static $SHADOW_OFFSETY
Defines the y-offset to be used for shadows.
var $shadowColor
Holds the color object for the shadow color defined in mxConstants.W3C_SHADOWCOLOR.
public static $SHAPE_ACTOR
public static $SHAPE_ARROW
public static $SHAPE_CLOUD
public static $SHAPE_CONNECTOR
public static $SHAPE_CYLINDER
public static $SHAPE_DOUBLE_ELLIPSE
public static $SHAPE_ELLIPSE
public static $SHAPE_HEXAGON
public static $SHAPE_IMAGE
public static $SHAPE_LABEL
public static $SHAPE_LINE
public static $SHAPE_RECTANGLE
public static $SHAPE_RHOMBUS
public static $SHAPE_SWIMLANE
public static $SHAPE_TRIANGLE
public static $SideToSide
Provides a side to side connector.
var $source
Reference to the source terminal.
var $sourcePoint
Defines the source point of the edge.
Defines if the perimeter should be used to find the exact entry point along the perimeter of the target.
var $states
Maps from cells to states.
var $style
Holds the style as a string of the form [(stylename|key=value);].
var $style
Contains an array of key, value pairs that represent the style of the cell.
public static $STYLE_ALIGN
Defines the key for the align style.
public static $STYLE_DASHED
Defines the key for the endSize style.
public static $STYLE_DIRECTION
Defines the key for the direction style.
public static $STYLE_EDGE
Defines the key for the edge style.
public static $STYLE_ELBOW
Defines the key for the elbow style.
public static $STYLE_ENDARROW
Defines the key for the endArrow style.
public static $STYLE_ENDSIZE
Defines the key for the endSize style.
public static $STYLE_ENTRY_X
Defines the key for the horizontal relative coordinate connection point of an edge with its target terminal.
public static $STYLE_ENTRY_Y
Defines the key for the vertical relative coordinate connection point of an edge with its target terminal.
public static $STYLE_EXIT_PERIMETER
Defines if the perimeter should be used to find the exact entry point along the perimeter of the source.
public static $STYLE_EXIT_X
Defines the key for the horizontal relative coordinate connection point of an edge with its source terminal.
public static $STYLE_EXIT_Y
Defines the key for the vertical relative coordinate connection point of an edge with its source terminal.
public static $STYLE_FILLCOLOR
Defines the key for the fill color.
public static $STYLE_FONTCOLOR
Defines the key for the fontColor style.
public static $STYLE_FONTFAMILY
Defines the key for the fontFamily style.
public static $STYLE_FONTSIZE
Defines the key for the fontSize style (in points).
public static $STYLE_FONTSTYLE
Defines the key for the fontStyle style.
public static $STYLE_GRADIENT_DIRECTION
Defines the key for the gradient direction.
public static $STYLE_GRADIENTCOLOR
Defines the key for the gradient color.
public static $STYLE_HORIZONTAL
Defines the key for the horizontal style.
public static $STYLE_IMAGE
Defines the key for the image style.
public static $STYLE_IMAGE_ALIGN
Defines the key for the align style.
public static $STYLE_IMAGE_BACKGROUND
Defines the key for the image background color.
public static $STYLE_IMAGE_BORDER
Defines the key for the image border color.
public static $STYLE_IMAGE_FLIPH
Defines the key for the horizontal image flip.
public static $STYLE_IMAGE_FLIPV
Defines the key for the vertical image flip.
public static $STYLE_IMAGE_HEIGHT
Defines the key for the imageHeight style.
Defines the key for the verticalAlign style.
public static $STYLE_IMAGE_WIDTH
Defines the key for the imageWidth style.
public static $STYLE_INDICATOR_COLOR
Defines the key for the indicatorColor style.
public static $STYLE_INDICATOR_GRADIENTCOLOR
Defines the key for the indicatorGradientColor style.
public static $STYLE_INDICATOR_HEIGHT
Defines the key for the indicatorHeight style (in px).
public static $STYLE_INDICATOR_IMAGE
Defines the key for the indicatorImage style.
public static $STYLE_INDICATOR_SHAPE
Defines the key for the indicatorShape style.
public static $STYLE_INDICATOR_SPACING
Defines the key for the indicatorSpacing style (in px).
public static $STYLE_INDICATOR_WIDTH
Defines the key for the indicatorWidth style (in px).
public static $STYLE_LABEL_BACKGROUNDCOLOR
Defines the key for the label background color.
public static $STYLE_LABEL_BORDERCOLOR
Defines the key for the label border color.
public static $STYLE_LABEL_POSITION
Defines the key for the horizontal label position of vertices.
public static $STYLE_LOOP
Defines the key for the loop style.
public static $STYLE_NOEDGESTYLE
Defines the key for the noEdgeStyle style.
public static $STYLE_NOLABEL
Defines the key for the noLabel style.
public static $STYLE_OPACITY
Defines the key for the opacity style.
public static $STYLE_ORTHOGONAL
Defines if the connection points on either end of the edge should be computed so that the edge is vertical or horizontal if possible and if the point is not at a fixed location.
public static $STYLE_OVERFLOW
Defines the key for the overflow style.
public static $STYLE_PERIMETER
Defines the key for the perimeter style.
public static $STYLE_PERIMETER_SPACING
Defines the key for the perimeter spacing.
public static $STYLE_ROTATION
Defines the key for the rotation style.
public static $STYLE_ROUNDED
Defines the key for the rounded style.
public static $STYLE_ROUTING_CENTER_X
Defines the key for the horizontal routing center.
public static $STYLE_ROUTING_CENTER_Y
Defines the key for the vertical routing center.
public static $STYLE_SEGMENT
Defines the key for the segment style.
public static $STYLE_SEPARATORCOLOR
Defines the key for the separatorColor style.
public static $STYLE_SHADOW
Defines the key for the shadow style.
public static $STYLE_SHAPE
Defines the key for the shape.
public static $STYLE_SOURCE_PERIMETER_SPACING
Defines the key for the source perimeter spacing.
public static $STYLE_SPACING
Defines the key for the spacing.
public static $STYLE_SPACING_BOTTOM
Defines the key for the spacingBottom style The value represents the spacing, in pixels, added to the bottom side of a label in a vertex (style applies to vertices only).
public static $STYLE_SPACING_LEFT
Defines the key for the spacingLeft style.
public static $STYLE_SPACING_RIGHT
Defines the key for the spacingRight style The value represents the spacing, in pixels, added to the right side of a label in a vertex (style applies to vertices only).
public static $STYLE_SPACING_TOP
Defines the key for the spacingTop style.
public static $STYLE_STARTARROW
Defines the key for the startArrow style.
public static $STYLE_STARTSIZE
Defines the key for the startSize style.
public static $STYLE_STROKECOLOR
Defines the key for the strokeColor style.
public static $STYLE_STROKEWIDTH
Defines the key for the strokeWidth style.
public static $STYLE_TARGET_PERIMETER_SPACING
Defines the key for the source perimeter spacing.
public static $STYLE_TEXT_OPACITY
Defines the key for the text opacity style.
public static $STYLE_VERTICAL_ALIGN
Defines the key for the verticalAlign style.
public static $STYLE_VERTICAL_LABEL_POSITION
Defines the key for the vertical label position of vertices.
public static $STYLE_WHITE_SPACE
Defines the key for the white-space style.
var $stylesheet
Holds the mxStylesheet.
+
var $scale
Holds the current scale.
var $scale
Holds the global scale of the graph.
public static $SCALE
Defines the name of the scale event.
var $segments
Array of numbers that represent the cached length of each segment of the edge.
public static $SHADOW_OFFSETX
Defines the x-offset to be used for shadows.
public static $SHADOW_OFFSETY
Defines the y-offset to be used for shadows.
var $shadowColor
Holds the color object for the shadow color defined in mxConstants.W3C_SHADOWCOLOR.
public static $SHAPE_ACTOR
public static $SHAPE_ARROW
public static $SHAPE_CLOUD
public static $SHAPE_CONNECTOR
public static $SHAPE_CYLINDER
public static $SHAPE_DOUBLE_ELLIPSE
public static $SHAPE_ELLIPSE
public static $SHAPE_HEXAGON
public static $SHAPE_IMAGE
public static $SHAPE_LABEL
public static $SHAPE_LINE
public static $SHAPE_RECTANGLE
public static $SHAPE_RHOMBUS
public static $SHAPE_SWIMLANE
public static $SHAPE_TRIANGLE
public static $SideToSide
Provides a side to side connector.
var $source
Reference to the source terminal.
var $sourcePoint
Defines the source point of the edge.
Defines if the perimeter should be used to find the exact entry point along the perimeter of the target.
var $states
Maps from cells to states.
var $style
Holds the style as a string of the form [(stylename|key=value);].
var $style
Contains an array of key, value pairs that represent the style of the cell.
public static $STYLE_ALIGN
Defines the key for the align style.
public static $STYLE_DASHED
Defines the key for the endSize style.
public static $STYLE_DIRECTION
Defines the key for the direction style.
public static $STYLE_EDGE
Defines the key for the edge style.
public static $STYLE_ELBOW
Defines the key for the elbow style.
public static $STYLE_ENDARROW
Defines the key for the endArrow style.
public static $STYLE_ENDSIZE
Defines the key for the endSize style.
public static $STYLE_ENTRY_X
Defines the key for the horizontal relative coordinate connection point of an edge with its target terminal.
public static $STYLE_ENTRY_Y
Defines the key for the vertical relative coordinate connection point of an edge with its target terminal.
public static $STYLE_EXIT_PERIMETER
Defines if the perimeter should be used to find the exact entry point along the perimeter of the source.
public static $STYLE_EXIT_X
Defines the key for the horizontal relative coordinate connection point of an edge with its source terminal.
public static $STYLE_EXIT_Y
Defines the key for the vertical relative coordinate connection point of an edge with its source terminal.
public static $STYLE_FILLCOLOR
Defines the key for the fill color.
public static $STYLE_FONTCOLOR
Defines the key for the fontColor style.
public static $STYLE_FONTFAMILY
Defines the key for the fontFamily style.
public static $STYLE_FONTSIZE
Defines the key for the fontSize style (in points).
public static $STYLE_FONTSTYLE
Defines the key for the fontStyle style.
public static $STYLE_GRADIENT_DIRECTION
Defines the key for the gradient direction.
public static $STYLE_GRADIENTCOLOR
Defines the key for the gradient color.
public static $STYLE_HORIZONTAL
Defines the key for the horizontal style.
public static $STYLE_IMAGE
Defines the key for the image style.
public static $STYLE_IMAGE_ALIGN
Defines the key for the align style.
public static $STYLE_IMAGE_BACKGROUND
Defines the key for the image background color.
public static $STYLE_IMAGE_BORDER
Defines the key for the image border color.
public static $STYLE_IMAGE_FLIPH
Defines the key for the horizontal image flip.
public static $STYLE_IMAGE_FLIPV
Defines the key for the vertical image flip.
public static $STYLE_IMAGE_HEIGHT
Defines the key for the imageHeight style.
Defines the key for the verticalAlign style.
public static $STYLE_IMAGE_WIDTH
Defines the key for the imageWidth style.
public static $STYLE_INDICATOR_COLOR
Defines the key for the indicatorColor style.
public static $STYLE_INDICATOR_GRADIENTCOLOR
Defines the key for the indicatorGradientColor style.
public static $STYLE_INDICATOR_HEIGHT
Defines the key for the indicatorHeight style (in px).
public static $STYLE_INDICATOR_IMAGE
Defines the key for the indicatorImage style.
public static $STYLE_INDICATOR_SHAPE
Defines the key for the indicatorShape style.
public static $STYLE_INDICATOR_SPACING
Defines the key for the indicatorSpacing style (in px).
public static $STYLE_INDICATOR_WIDTH
Defines the key for the indicatorWidth style (in px).
public static $STYLE_LABEL_BACKGROUNDCOLOR
Defines the key for the label background color.
public static $STYLE_LABEL_BORDERCOLOR
Defines the key for the label border color.
public static $STYLE_LABEL_POSITION
Defines the key for the horizontal label position of vertices.
public static $STYLE_LOOP
Defines the key for the loop style.
public static $STYLE_NOEDGESTYLE
Defines the key for the noEdgeStyle style.
public static $STYLE_NOLABEL
Defines the key for the noLabel style.
public static $STYLE_OPACITY
Defines the key for the opacity style.
public static $STYLE_ORTHOGONAL
Defines if the connection points on either end of the edge should be computed so that the edge is vertical or horizontal if possible and if the point is not at a fixed location.
public static $STYLE_OVERFLOW
Defines the key for the overflow style.
public static $STYLE_PERIMETER
Defines the key for the perimeter style.
public static $STYLE_PERIMETER_SPACING
Defines the key for the perimeter spacing.
public static $STYLE_ROTATION
Defines the key for the rotation style.
public static $STYLE_ROUNDED
Defines the key for the rounded style.
public static $STYLE_ROUTING_CENTER_X
Defines the key for the horizontal routing center.
public static $STYLE_ROUTING_CENTER_Y
Defines the key for the vertical routing center.
public static $STYLE_SEGMENT
Defines the key for the segment style.
public static $STYLE_SEPARATORCOLOR
Defines the key for the separatorColor style.
public static $STYLE_SHADOW
Defines the key for the shadow style.
public static $STYLE_SHAPE
Defines the key for the shape.
public static $STYLE_SOURCE_PERIMETER_SPACING
Defines the key for the source perimeter spacing.
public static $STYLE_SPACING
Defines the key for the spacing.
public static $STYLE_SPACING_BOTTOM
Defines the key for the spacingBottom style The value represents the spacing, in pixels, added to the bottom side of a label in a vertex (style applies to vertices only).
public static $STYLE_SPACING_LEFT
Defines the key for the spacingLeft style.
public static $STYLE_SPACING_RIGHT
Defines the key for the spacingRight style The value represents the spacing, in pixels, added to the right side of a label in a vertex (style applies to vertices only).
public static $STYLE_SPACING_TOP
Defines the key for the spacingTop style.
public static $STYLE_STARTARROW
Defines the key for the startArrow style.
public static $STYLE_STARTSIZE
Defines the key for the startSize style.
public static $STYLE_STROKECOLOR
Defines the key for the strokeColor style.
public static $STYLE_STROKEWIDTH
Defines the key for the strokeWidth style.
public static $STYLE_TARGET_PERIMETER_SPACING
Defines the key for the source perimeter spacing.
public static $STYLE_TEXT_OPACITY
Defines the key for the text opacity style.
public static $STYLE_VERTICAL_ALIGN
Defines the key for the verticalAlign style.
public static $STYLE_VERTICAL_LABEL_POSITION
Defines the key for the vertical label position of vertices.
public static $STYLE_WHITE_SPACE
Defines the key for the white-space style.
var $stylesheet
Holds the mxStylesheet.
@@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/php-api/index/Variables4.html b/docs/php-api/index/Variables4.html index a65c15c92..8d2ec96ef 100644 --- a/docs/php-api/index/Variables4.html +++ b/docs/php-api/index/Variables4.html @@ -11,29 +11,29 @@ 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
 tab, mxLog
 target, mxCell
 targetPoint, mxGeometry
 template, mxObjectCodec
 terminalDistance, mxCellState
 TopToBottom, mxEdgeStyle
 translate, mxGraphView
 TRANSLATE, mxEvent
 TRANSLATE_CONTROL_POINTS, mxGeometry
 TrianglePerimeter, mxPerimeter
 TTF_ENABLED, mxConstants
 TTF_SIZEFACTOR, mxConstants
U
 updateLevel, mxGraphModel
V
 value, mxCell
 values, mxStyleRegistry
 vertex, mxCell
 view
 visible, mxCell
W
 W3C_DEFAULT_FONTFAMILY, mxConstants
 W3C_SHADOWCOLOR, mxConstants
 width, mxRectangle
X
 x, mxPoint
Y
 y, mxPoint
+
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
 tab, mxLog
 target, mxCell
 targetPoint, mxGeometry
 template, mxObjectCodec
 terminalDistance, mxCellState
 TopToBottom, mxEdgeStyle
 translate, mxGraphView
 TRANSLATE, mxEvent
 TRANSLATE_CONTROL_POINTS, mxGeometry
 TrianglePerimeter, mxPerimeter
 TTF_ENABLED, mxConstants
 TTF_SIZEFACTOR, mxConstants
U
 updateLevel, mxGraphModel
V
 value, mxCell
 values, mxStyleRegistry
 vertex, mxCell
 view
 visible, mxCell
W
 W3C_DEFAULT_FONTFAMILY, mxConstants
 W3C_SHADOWCOLOR, mxConstants
 width, mxRectangle
X
 x, mxPoint
Y
 y, mxPoint
-
public static $tab
Default is true.
var $target
Reference to the target terminal.
var $targetPoint
Defines the target point of the edge.
var $template
Holds the template object associated with this codec.
var $terminalDistance
Caches the distance between the end points for an edge.
public static $TopToBottom
Provides a top to bottom connector.
var $translate
Holds the current translate.
public static $TRANSLATE
Defines the name of the translate event.
public static $TRANSLATE_CONTROL_POINTS
Global switch to translate the points in translate.
public static $TrianglePerimeter
Provides a triangle perimeter.
public static $TTF_ENABLED
Whether TrueType fonts should be enabled in the mxGdCanvas by default.
public static $TTF_SIZEFACTOR
Defines the factor which wich the font sizes are to be multiplied when used in truetype fonts.
+
public static $tab
Default is true.
var $target
Reference to the target terminal.
var $targetPoint
Defines the target point of the edge.
var $template
Holds the template object associated with this codec.
var $terminalDistance
Caches the distance between the end points for an edge.
public static $TopToBottom
Provides a top to bottom connector.
var $translate
Holds the current translate.
public static $TRANSLATE
Defines the name of the translate event.
public static $TRANSLATE_CONTROL_POINTS
Global switch to translate the points in translate.
public static $TrianglePerimeter
Provides a triangle perimeter.
public static $TTF_ENABLED
Whether TrueType fonts should be enabled in the mxGdCanvas by default.
public static $TTF_SIZEFACTOR
Defines the factor which wich the font sizes are to be multiplied when used in truetype fonts.
-
var $updateLevel
Counter for the depth of nested transactions.
+
var $updateLevel
Counter for the depth of nested transactions.
-
var $value
Holds the user object.
public static $values
Maps from strings to objects.
var $vertex
Specifies whether the cell is a vertex.
var $view
Reference to the enclosing mxGraphView.
var $view
Holds the mxGraphView.
var $visible
Specifies whether the cell is visible.
+
var $value
Holds the user object.
public static $values
Maps from strings to objects.
var $vertex
Specifies whether the cell is a vertex.
var $view
Reference to the enclosing mxGraphView.
var $view
Holds the mxGraphView.
var $visible
Specifies whether the cell is visible.
-
public static $W3C_DEFAULT_FONTFAMILY
Defines the default family for HTML markup.
public static $W3C_SHADOWCOLOR
Defines the color to be used to draw shadows in DOM documents.
var $width
Holds the width of the rectangle.
+
public static $W3C_DEFAULT_FONTFAMILY
Defines the default family for HTML markup.
public static $W3C_SHADOWCOLOR
Defines the color to be used to draw shadows in DOM documents.
var $width
Holds the width of the rectangle.
-
var $x
Holds the x-coordinate of the point.
+
var $x
Holds the x-coordinate of the point.
-
var $y
Holds the y-coordinate of the point.
+
var $y
Holds the y-coordinate of the point.
@@ -41,7 +41,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/php-api/javascript/searchdata.js b/docs/php-api/javascript/searchdata.js index cb1ae8c88..1866a2d52 100644 --- a/docs/php-api/javascript/searchdata.js +++ b/docs/php-api/javascript/searchdata.js @@ -1,64 +1,4 @@ var indexSectionsWithContent = { - "General": { - "Symbols": false, - "Numbers": false, - "A": true, - "B": true, - "C": true, - "D": true, - "E": true, - "F": true, - "G": true, - "H": true, - "I": true, - "J": false, - "K": false, - "L": true, - "M": true, - "N": true, - "O": true, - "P": true, - "Q": false, - "R": true, - "S": true, - "T": true, - "U": true, - "V": true, - "W": true, - "X": true, - "Y": true, - "Z": false - }, - "Functions": { - "Symbols": false, - "Numbers": false, - "A": true, - "B": true, - "C": true, - "D": true, - "E": true, - "F": true, - "G": true, - "H": false, - "I": true, - "J": false, - "K": false, - "L": true, - "M": true, - "N": false, - "O": true, - "P": true, - "Q": false, - "R": true, - "S": true, - "T": true, - "U": true, - "V": true, - "W": true, - "X": false, - "Y": false, - "Z": false - }, "Variables": { "Symbols": false, "Numbers": false, @@ -89,36 +29,6 @@ var indexSectionsWithContent = { "Y": true, "Z": false }, - "Files": { - "Symbols": false, - "Numbers": false, - "A": true, - "B": false, - "C": false, - "D": false, - "E": false, - "F": false, - "G": false, - "H": false, - "I": false, - "J": false, - "K": false, - "L": false, - "M": true, - "N": false, - "O": false, - "P": false, - "Q": false, - "R": false, - "S": false, - "T": false, - "U": false, - "V": false, - "W": false, - "X": false, - "Y": false, - "Z": false - }, "Interfaces": { "Symbols": false, "Numbers": false, @@ -149,6 +59,66 @@ var indexSectionsWithContent = { "Y": false, "Z": false }, + "Functions": { + "Symbols": false, + "Numbers": false, + "A": true, + "B": true, + "C": true, + "D": true, + "E": true, + "F": true, + "G": true, + "H": false, + "I": true, + "J": false, + "K": false, + "L": true, + "M": true, + "N": false, + "O": true, + "P": true, + "Q": false, + "R": true, + "S": true, + "T": true, + "U": true, + "V": true, + "W": true, + "X": false, + "Y": false, + "Z": false + }, + "General": { + "Symbols": false, + "Numbers": false, + "A": true, + "B": true, + "C": true, + "D": true, + "E": true, + "F": true, + "G": true, + "H": true, + "I": true, + "J": false, + "K": false, + "L": true, + "M": true, + "N": true, + "O": true, + "P": true, + "Q": false, + "R": true, + "S": true, + "T": true, + "U": true, + "V": true, + "W": true, + "X": true, + "Y": true, + "Z": false + }, "Classes": { "Symbols": false, "Numbers": false, @@ -178,5 +148,35 @@ var indexSectionsWithContent = { "X": false, "Y": false, "Z": false + }, + "Files": { + "Symbols": false, + "Numbers": false, + "A": true, + "B": false, + "C": false, + "D": false, + "E": false, + "F": false, + "G": false, + "H": false, + "I": false, + "J": false, + "K": false, + "L": false, + "M": true, + "N": false, + "O": false, + "P": false, + "Q": false, + "R": false, + "S": false, + "T": false, + "U": false, + "V": false, + "W": false, + "X": false, + "Y": false, + "Z": false } } \ No newline at end of file diff --git a/docs/php-api/search/GeneralF.html b/docs/php-api/search/GeneralF.html index e91c61dde..653d00a3c 100644 --- a/docs/php-api/search/GeneralF.html +++ b/docs/php-api/search/GeneralF.html @@ -11,7 +11,7 @@ if (browserType) {document.write("
");if (browserV -
Loading...
findNode, mxUtils
findTreeRoots, mxGraph
fine, mxLog
fireEvent, mxEventSource
flipImage, mxUtils
FONT_BOLD, mxConstants
FONT_ITALIC, mxConstants
FONT_SHADOW, mxConstants
FONT_UNDERLINE, mxConstants
Searching...
No Matches
@@ -33,7 +33,7 @@
  • Index
  • Help
  • -

    mxGraph 3.1.3.0

    +

    mxGraph 3.2.0.0

  • Index
  • Help
  • -

    mxGraph 3.1.3.0

    +

    mxGraph 3.2.0.0

  • Index
  • Help
  • -

    mxGraph 3.1.3.0

    +

    mxGraph 3.2.0.0

  • Index
  • Help
  • -

    mxGraph 3.1.3.0

    +

    mxGraph 3.2.0.0

  • Index
  • Help
  • -

    mxGraph 3.1.3.0

    +

    mxGraph 3.2.0.0

    - + mxPoint mxGraph.getConnectionPoint(mxCellState vertex, mxConnectionConstraint constraint)
    Sets the connection constraint that describes the given connection point.
    - + mxEdgeStyle.mxEdgeStyleFunction mxGraphView.getEdgeStyle(mxCellState edge, List<mxPoint> points, @@ -1563,13 +1559,13 @@ for the given state, control points and terminals.
    - + String mxGraph.getImage(mxCellState state)
    Returns the image URL for the given cell state.
    - + mxPoint mxGraphView.getNextPoint(mxCellState edge, mxCellState opposite, @@ -1578,20 +1574,20 @@ the opposite terminal.
    - + mxRectangle mxGraphView.getPerimeterBounds(mxCellState terminal, double border)
    Returns the perimeter bounds for the given terminal, edge pair.
    - + mxPerimeter.mxPerimeterFunction mxGraphView.getPerimeterFunction(mxCellState state)
    Returns the perimeter function for the given state.
    - + mxPoint mxGraphView.getPerimeterPoint(mxCellState terminal, mxPoint next, @@ -1601,7 +1597,7 @@ the given point.
    - + mxPoint mxGraphView.getPerimeterPoint(mxCellState terminal, mxPoint next, @@ -1612,13 +1608,13 @@ the given point.
    - + mxPoint mxGraphView.getPoint(mxCellState state)
    Returns the absolute center point along the given edge.
    - + mxPoint mxGraphView.getPoint(mxCellState state, mxGeometry geometry) @@ -1626,7 +1622,7 @@ a point.
    - + mxPoint mxGraphView.getRelativePoint(mxCellState edgeState, double x, @@ -1635,19 +1631,19 @@ for the given edge state.
    - + double mxGraphView.getRoutingCenterX(mxCellState state)
    Returns the x-coordinate of the center point for automatic routing.
    - + double mxGraphView.getRoutingCenterY(mxCellState state)
    Returns the y-coordinate of the center point for automatic routing.
    - + mxCellState mxGraphView.getTerminalPort(mxCellState state, mxCellState terminal, @@ -1656,65 +1652,65 @@ port for the given edge.
    - + double mxGraphView.getWordWrapWidth(mxCellState state)
    Returns the width for wrapping the label of the given state at scale 1.
    - + boolean mxGraph.isLoop(mxCellState state)
    Returns true if the given cell state is a loop.
    - + boolean mxGraph.isOrthogonal(mxCellState edge)
    Returns true if perimeter points should be computed such that the resulting edge has only horizontal or vertical segments.
    - + void mxCellState.setVisibleTerminalState(mxCellState terminalState, boolean source)
    Sets the visible source or target terminal state.
    - + mxPoint mxGraphView.transformControlPoint(mxCellState state, mxPoint pt)
    Transforms the given control point to an absolute point.
    - + mxRectangle mxGraphView.updateBoundingBox(mxCellState state)
    Updates the bounding box in the given cell state.
    - + void mxGraphView.updateCellState(mxCellState state)
    Updates the given cell state.
    - + void mxGraphView.updateEdgeBounds(mxCellState state)
    Updates the given state using the bounding box of the absolute points.
    - + void mxGraphView.updateEdgeState(mxCellState state, mxGeometry geo)
    Validates the given cell state.
    - + void mxGraphView.updateFixedTerminalPoint(mxCellState edge, mxCellState terminal, @@ -1723,7 +1719,7 @@
    Sets the fixed source or target terminal point on the given edge.
    - + void mxGraphView.updateFixedTerminalPoints(mxCellState edge, mxCellState source, @@ -1732,7 +1728,7 @@ edge style is computed.
    - + void mxGraphView.updateFloatingTerminalPoint(mxCellState edge, mxCellState start, @@ -1742,7 +1738,7 @@ start and end state, where start is the source if source is true.
    - + void mxGraphView.updateFloatingTerminalPoints(mxCellState state, mxCellState source, @@ -1751,19 +1747,19 @@ computed for the edge.
    - + void mxGraphView.updateLabel(mxCellState state)
    Updates the label of the given state.
    - + void mxGraphView.updateLabelBounds(mxCellState state)
    Updates the label bounds in the given state.
    - + void mxGraphView.updatePoints(mxCellState edge, List<mxPoint> points, @@ -1773,13 +1769,13 @@ of points as the relative points.
    - + void mxGraphView.updateVertexLabelOffset(mxCellState state)
    Updates the absoluteOffset of the given vertex cell state.
    - + void mxGraphView.updateVertexState(mxCellState state, mxGeometry geo) @@ -1824,7 +1820,7 @@
  • Index
  • Help
  • -

    mxGraph 3.1.3.0

    +

    mxGraph 3.2.0.0

    -
    -
      -
    • - -
        -
      • - - -

        Field Detail

        - - - -
          -
        • -

          graph

          -
          protected mxGraph graph
          -
          Defines the type of the source or target terminal. The type is a string - passed to mxCell.is to check if the rule applies to a cell.
          -
        • -
        - - - -
          -
        • -

          enabled

          -
          protected boolean enabled
          -
          Optional string that specifies the value of the attribute to be passed - to mxCell.is to check if the rule applies to a cell.
          -
        • -
        - - - -
          -
        • -

          shiftRightwards

          -
          protected boolean shiftRightwards
          -
          Optional string that specifies the attributename to be passed to - mxCell.is to check if the rule applies to a cell.
          -
        • -
        - - - -
          -
        • -

          shiftDownwards

          -
          protected boolean shiftDownwards
          -
          Optional string that specifies the attributename to be passed to - mxCell.is to check if the rule applies to a cell.
          -
        • -
        - - - -
          -
        • -

          extendParents

          -
          protected boolean extendParents
          -
          Optional string that specifies the attributename to be passed to - mxCell.is to check if the rule applies to a cell.
          -
        • -
        - - - - -
      • -
      - -
        -
      • - - -

        Constructor Detail

        - - - -
          -
        • -

          mxSpaceManager

          -
          public mxSpaceManager(mxGraph graph)
          -
        • -
        -
      • -
      - -
        -
      • - - -

        Method Detail

        - - - -
          -
        • -

          isCellIgnored

          -
          public boolean isCellIgnored(Object cell)
          -
        • -
        - - - -
          -
        • -

          isCellShiftable

          -
          public boolean isCellShiftable(Object cell)
          -
        • -
        - - - -
          -
        • -

          isEnabled

          -
          public boolean isEnabled()
          -
          Returns:
          the enabled
          -
        • -
        - - - -
          -
        • -

          setEnabled

          -
          public void setEnabled(boolean value)
          -
          Parameters:
          value - the enabled to set
          -
        • -
        - - - -
          -
        • -

          isShiftRightwards

          -
          public boolean isShiftRightwards()
          -
          Returns:
          the shiftRightwards
          -
        • -
        - - - -
          -
        • -

          setShiftRightwards

          -
          public void setShiftRightwards(boolean shiftRightwards)
          -
          Parameters:
          shiftRightwards - the shiftRightwards to set
          -
        • -
        - - - -
          -
        • -

          isShiftDownwards

          -
          public boolean isShiftDownwards()
          -
          Returns:
          the shiftDownwards
          -
        • -
        - - - -
          -
        • -

          setShiftDownwards

          -
          public void setShiftDownwards(boolean shiftDownwards)
          -
          Parameters:
          shiftDownwards - the shiftDownwards to set
          -
        • -
        - - - -
          -
        • -

          isExtendParents

          -
          public boolean isExtendParents()
          -
          Returns:
          the extendParents
          -
        • -
        - - - -
          -
        • -

          setExtendParents

          -
          public void setExtendParents(boolean extendParents)
          -
          Parameters:
          extendParents - the extendParents to set
          -
        • -
        - - - -
          -
        • -

          getGraph

          -
          public mxGraph getGraph()
          -
          Returns:
          the graph
          -
        • -
        - - - -
          -
        • -

          setGraph

          -
          public void setGraph(mxGraph graph)
          -
          Parameters:
          graph - the graph to set
          -
        • -
        - - - -
          -
        • -

          cellsResized

          -
          protected void cellsResized(Object[] cells)
          -
        • -
        - - - -
          -
        • -

          cellResized

          -
          protected void cellResized(Object cell)
          -
        • -
        - - - -
          -
        • -

          shiftCell

          -
          protected void shiftCell(Object cell,
          -             double dx,
          -             double dy,
          -             double x0,
          -             double y0,
          -             double right,
          -             double bottom,
          -             double fx,
          -             double fy,
          -             boolean extendParent)
          -
        • -
        - - - - - - - -
          -
        • -

          destroy

          -
          public void destroy()
          -
        • -
        -
      • -
      -
    • -
    -
    -
    - - -
    - - - - - -

    mxGraph 3.1.3.0

    -
    - - -

    Copyright (c) 2010 Gaudenz Alder, David Benson. All rights reserved.

    - - diff --git a/java/docs/com/mxgraph/view/mxStyleRegistry.html b/java/docs/com/mxgraph/view/mxStyleRegistry.html index b4fa2e0f4..7f4fb68f4 100644 --- a/java/docs/com/mxgraph/view/mxStyleRegistry.html +++ b/java/docs/com/mxgraph/view/mxStyleRegistry.html @@ -2,15 +2,15 @@ - -mxStyleRegistry (mxGraph 3.1.3.0 API Specification) - + +mxStyleRegistry (mxGraph 3.2.0.0 API Specification) + @@ -33,11 +33,11 @@
  • Index
  • Help
  • -

    mxGraph 3.1.3.0

    +

    mxGraph 3.2.0.0

    -

    mxGraph 3.1.3.0 API Specification

    +

    mxGraph 3.2.0.0 API Specification

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

    mxGraph 3.1.3.0

    +

    mxGraph 3.2.0.0

    ' + '' + '' + @@ -688,7 +811,7 @@ Sidebar.prototype.addUmlPalette = function(expand) content.appendChild(this.createVertexTemplate('ellipse;html=1;shape=endState;fillColor=#000000;strokeColor=#ff0000', 30, 30, '', 'End', true)); - var umlLifeline = new mxCell(':Object', new mxGeometry(0, 0, 100, 300), 'shape=umlLifeline;perimeter=lifelinePerimeter;whiteSpace=wrap;html=1;'); + var umlLifeline = new mxCell(':Object', new mxGeometry(0, 0, 100, 300), 'shape=umlLifeline;perimeter=lifelinePerimeter;whiteSpace=wrap;html=1;container=1;'); umlLifeline.vertex = true; content.appendChild(this.createVertexTemplateFromCells([umlLifeline], 100, 300, 'Lifeline', true)); @@ -1239,9 +1362,9 @@ Sidebar.prototype.updateShapes = function(source, targets) var cellStyle = graph.getModel().getStyle(source); // Lists the styles to carry over from the existing shape - var styles = ['shadow', 'dashed', 'dashPattern', 'fontFamily', 'fontSize', 'fontColor', 'align', 'startArrow', - 'startFill', 'startSize', 'endArrow', 'endFill', 'endSize', 'strokeColor', 'strokeWidth', - 'fillColor', 'gradientColor', 'html', 'part', 'noEdgeStyle', 'edgeStyle', 'elbow', 'childLayout']; + var styles = ['shadow', 'dashed', 'dashPattern', 'fontFamily', 'fontSize', 'fontColor', 'align', 'startFill', + 'startSize', 'endFill', 'endSize', 'strokeColor', 'strokeWidth', 'fillColor', 'gradientColor', + 'html', 'part', 'noEdgeStyle', 'edgeStyle', 'elbow', 'childLayout']; for (var i = 0; i < targets.length; i++) { @@ -1293,6 +1416,8 @@ Sidebar.prototype.createDropHandler = function(cells, allowSplit, dx, dy) if (cells.length > 0) { + graph.stopEditing(); + var validDropTarget = (target != null) ? graph.isValidDropTarget(target, cells, evt) : false; var select = null; @@ -1317,6 +1442,26 @@ Sidebar.prototype.createDropHandler = function(cells, allowSplit, dx, dy) { select = graph.importCells(cells, x, y, target); } + + // Executes parent layout hooks for position/order + if (graph.layoutManager != null) + { + var layout = graph.layoutManager.getLayout(target); + + if (layout != null) + { + var targetState = graph.view.getState(target); + var s = graph.view.scale; + var tr = graph.view.translate; + var tx = (x + tr.x) * s; + var ty = (y + tr.y) * s; + + for (var i = 0; i < select.length; i++) + { + layout.moveCell(select[i], tx, ty); + } + } + } graph.fireEvent(new mxEventObject('cellsInserted', 'cells', select)); } @@ -1369,8 +1514,34 @@ Sidebar.prototype.dropAndConnect = function(source, targets, direction, dropCell { var sourceGeo = graph.getCellGeometry(source); var geo2 = graph.getCellGeometry(targets[dropCellIndex]); - targets = graph.importCells(targets, geo.x - geo2.x, geo.y - geo2.y, (graph.model.isEdge(source) || - (sourceGeo != null && !sourceGeo.relative)) ? graph.model.getParent(source) : null); + + // Handles special case where target should be ignored for stack layouts + var targetParent = graph.model.getParent(source); + var validLayout = true; + + // Ignores parent if it has a stack layout + if (graph.layoutManager != null) + { + var layout = graph.layoutManager.getLayout(targetParent); + + if (layout != null && layout.constructor == mxStackLayout) + { + validLayout = false; + + var tmp = graph.view.getState(targetParent); + + // Offsets by parent position + if (tmp != null) + { + geo.x += (tmp.x/ graph.view.scale - graph.view.translate.x); + geo.y += (tmp.y / graph.view.scale - graph.view.translate.y); + } + } + } + + targets = graph.importCells(targets, (geo.x - (validLayout ? geo2.x : 0)), + (geo.y - (validLayout ? geo2.y : 0)), (graph.model.isEdge(source) || + (sourceGeo != null && !sourceGeo.relative && validLayout)) ? targetParent : null); tmp = targets; if (graph.model.isEdge(source)) @@ -1390,8 +1561,8 @@ Sidebar.prototype.dropAndConnect = function(source, targets, direction, dropCell else { geo2 = graph.getCellGeometry(targets[dropCellIndex]); - var dx = geo.x - geo2.x; - var dy = geo.y - geo2.y; + var dx = geo.x - Math.round(geo2.x); + var dy = geo.y - Math.round(geo2.y); geo.x = Math.round(geo2.x); geo.y = Math.round(geo2.y); graph.model.setGeometry(targets[dropCellIndex], geo); @@ -1876,9 +2047,8 @@ Sidebar.prototype.createDragSource = function(elt, dropHandler, preview, cells) activeTarget = false; currentTargetState = state; - // Containers could be enabled here but it just makes the UX even more complex - var validTarget = (graph.model.isEdge(cell) && firstVertex != null) || (graph.model.isVertex(cell) && - graph.isCellConnectable(cell) && !graph.isContainer(cell)); + var validTarget = (graph.model.isEdge(cell) && firstVertex != null) || + (graph.model.isVertex(cell) && graph.isCellConnectable(cell)); if (currentTargetState != null && validTarget) { @@ -1973,15 +2143,15 @@ Sidebar.prototype.createDragSource = function(elt, dropHandler, preview, cells) } // Handles drop target - var target = (!activeTarget && !mxEvent.isAltDown(evt) && !(currentStyleTarget != null && activeArrow == styleTarget)) ? + var target = ((!mxEvent.isAltDown(evt) || mxEvent.isShiftDown(evt)) && !(currentStyleTarget != null && activeArrow == styleTarget)) ? mxDragSource.prototype.getDropTarget.apply(this, arguments) : null; - + if (target != null) { // Selects parent group as drop target var model = graph.getModel(); - - if (!graph.isValidRoot(target) && model.isVertex(model.getParent(target))) + + while (target != null && !graph.isValidDropTarget(target, cells, evt) && model.isVertex(model.getParent(target))) { target = model.getParent(target); } diff --git a/javascript/examples/grapheditor/www/resources/grapheditor.txt b/javascript/examples/grapheditor/www/resources/grapheditor.txt index 99b99adf4..5c6fd4e35 100644 --- a/javascript/examples/grapheditor/www/resources/grapheditor.txt +++ b/javascript/examples/grapheditor/www/resources/grapheditor.txt @@ -197,6 +197,7 @@ paperSize=Paper size paste=Paste pattern=Pattern perimeter=Perimeter +plusTooltip=Click and drag to connect, click to clone portrait=Portrait position=Position posterPrint=Poster print @@ -217,6 +218,7 @@ right=Right rightAlign=Right align rightToLeft=Right to left rotate=Rotate +rotateTooltip=Click and drag to rotate, click to turn by 90 degrees rotation=Rotation rounded=Rounded save=Save diff --git a/javascript/examples/grapheditor/www/resources/grapheditor_de.txt b/javascript/examples/grapheditor/www/resources/grapheditor_de.txt index 2ed70cd07..8e8659619 100644 --- a/javascript/examples/grapheditor/www/resources/grapheditor_de.txt +++ b/javascript/examples/grapheditor/www/resources/grapheditor_de.txt @@ -197,6 +197,7 @@ paperSize=Papiergrösse paste=Einfügen pattern=Muster perimeter=Umfang +plusTooltip=Klicken und ziehen um zu verbinden, klicken um zu klonen portrait=Hochformat position=Position posterPrint=Posterdruck @@ -217,6 +218,7 @@ right=Rechts rightAlign=Rechts rightToLeft=Von rechts nach links rotate=Rotieren +rotateTooltip=Klicken und ziehen um zu rotieren, klicken für 90 Grad Drehung rotation=Rotation rounded=Abgerundet save=Speichern diff --git a/javascript/examples/scrollbars.html b/javascript/examples/scrollbars.html index bc3c27e2a..3f6a5498a 100644 --- a/javascript/examples/scrollbars.html +++ b/javascript/examples/scrollbars.html @@ -198,8 +198,9 @@ { oldRedrawLabel.apply(this, arguments); // "supercall" var graph = state.view.graph; + var model = graph.model; - if (graph.getModel().isVertex(state.cell) && state.text != null) + if (model.isVertex(state.cell) && state.text != null) { // Scrollbars are on the div var s = graph.view.scale; @@ -221,20 +222,22 @@ { div.scrollHandler = true; - mxEvent.addListener(div, 'scroll', mxUtils.bind(this, function(evt) + var updateEdges = mxUtils.bind(this, function() { - graph.view.invalidate(state.cell, false, true); - graph.view.validate(); - })); - - mxEvent.addListener(div, 'mouseup', mxUtils.bind(this, function(evt) - { - if (!this.isLabelEvent(state, evt)) + var edgeCount = model.getEdgeCount(state.cell); + + // Only updates edges to avoid update in DOM order + // for text label which would reset the scrollbar + for (var i = 0; i < edgeCount; i++) { - graph.view.invalidate(state.cell, false, true); - graph.view.validate(); + var edge = model.getEdgeAt(state.cell, i); + graph.view.invalidate(edge, true, false); + graph.view.validate(edge); } - })); + }); + + mxEvent.addListener(div, 'scroll',updateEdges); + mxEvent.addListener(div, 'mouseup', updateEdges); } } } diff --git a/javascript/examples/secondlabel.html b/javascript/examples/secondlabel.html index dd5bc7cc5..d12e6561b 100644 --- a/javascript/examples/secondlabel.html +++ b/javascript/examples/secondlabel.html @@ -71,7 +71,7 @@ if (!this.model.isEdge(cell)) { // Possible to return any string here - return "ID="+cell.id; + return 'The ID of this cell is ' + cell.id; } return null; @@ -88,11 +88,11 @@ }; // Creates the shape for the shape number and puts it into the draw pane - var createShape = graph.cellRenderer.createShape; - graph.cellRenderer.createShape = function(state) + var createState = mxGraphView.prototype.createState; + mxGraphView.prototype.createState = function(cell) { - createShape.apply(this, arguments); - + var state = createState.apply(this, arguments); + if (secondLabelVisible && !state.cell.geometry.relative) { var secondLabel = graph.getSecondLabel(state.cell); @@ -109,11 +109,15 @@ state.secondLabel.fontStyle = mxConstants.FONT_ITALIC; state.secondLabel.background = 'yellow'; state.secondLabel.border = 'black'; - + state.secondLabel.valign = 'bottom'; state.secondLabel.dialect = state.shape.dialect; - state.secondLabel.init(state.view.getDrawPane()); + state.secondLabel.dialect = mxConstants.DIALECT_STRICTHTML; + state.secondLabel.wrap = true; + this.graph.cellRenderer.initializeLabel(state, state.secondLabel); } } + + return state; }; // Redraws the shape number after the cell has been moved/resized @@ -125,7 +129,7 @@ if (state.shape != null && state.secondLabel != null) { var scale = graph.getView().getScale(); - var bounds = new mxRectangle(state.x + state.width - 8 * scale, state.y + 8 * scale, 0, 0); + var bounds = new mxRectangle(state.x + state.width - 8 * scale, state.y + 8 * scale, 35, 0); state.secondLabel.state = state; state.secondLabel.value = graph.getSecondLabel(state.cell); state.secondLabel.scale = scale; @@ -160,7 +164,7 @@ graph.getModel().beginUpdate(); try { - var v1 = graph.insertVertex(parent, null, 'Hello,', 30, 20, 80, 30); + var v1 = graph.insertVertex(parent, null, 'Hello,', 30, 40, 80, 30); // Alternative solution of creating a second label by creating a realtive child vertex // with size (0, 0). This will not be selectable and only the label colors can be used // for coloring as the actual shape will have zero size. @@ -208,7 +212,7 @@
    + style="position:relative;overflow:hidden;width:321px;height:241px;background:url('editors/images/grid.gif')">
    diff --git a/javascript/mxClient.js b/javascript/mxClient.js index 3cb9f49ce..8461702b3 100644 --- a/javascript/mxClient.js +++ b/javascript/mxClient.js @@ -20,9 +20,9 @@ var mxClient = * * versionMajor.versionMinor.buildNumber.revisionNumber * - * Current version is 3.1.3.0. + * Current version is 3.2.0.0. */ - VERSION: '3.1.3.0', + VERSION: '3.2.0.0', /** * Variable: IS_IE @@ -7501,7 +7501,7 @@ var mxUtils = * Variable: STYLE_FONTSTYLE * * Defines the key for the fontStyle style. Values may be any logical AND - * (sum) of , , and . + * (sum) of , and . * The type of the value is int. Value is fontStyle. */ STYLE_FONTSTYLE: 'fontStyle', @@ -7662,13 +7662,6 @@ var mxUtils = */ FONT_UNDERLINE: 4, - /** - * Variable: FONT_SHADOW - * - * Constant for fonts with a shadow. Default is 8. - */ - FONT_SHADOW: 8, - /** * Variable: SHAPE_RECTANGLE * @@ -20840,62 +20833,177 @@ mxGuide.prototype.destroy = function() * Class: mxStencil * * Implements a generic shape which is based on a XML node as a description. - * The node contains a background and a foreground node, which contain the - * definition to render the respective part of the shape. Note that the - * fill, stroke or fillstroke of the background is be the first statement - * of the foreground. This is because the content of the background node - * maybe used to not only render the shape itself, but also its shadow and - * other elements which do not require a fill, stroke or fillstroke. * - * The shape uses a coordinate system with a width of 100 and a height of - * 100 by default. This can be changed by setting the w and h attribute of - * the shape element. The aspect attribute can be set to "variable" (default) - * or "fixed". If fixed is used, then the aspect which is defined via the w - * and h attribute is kept constant while the shape is scaled. + * shape: * - * The possible contents of the background and foreground elements are rect, - * ellipse, roundrect, text, image, include-shape or paths. A path element - * contains move, line, curve, quad, arc and close elements. The rect, ellipse - * and roundrect elements may be thought of as special path elements. All these - * path elements must be followed by either fill, stroke or fillstroke (note - * that text, image and include-shape or not path elements). + * The outer element is *shape*, that has attributes: * - * The background element can be empty or contain at most one path element. It - * should not contain a text, image or include-shape element. If the background - * element is empty, then no shadow or glass effect will be rendered. If the - * background element is non-empty, then the corresponding fill, stroke or - * fillstroke should be the first element in the subsequent foreground element. - * - * The format of the XML is "a simplified HTML 5 Canvas". Each command changes - * the "current" state, so eg. a linecap, linejoin will be used for all - * subsequent line drawing, unless a save/restore appears, which saves/restores - * a state in a stack. - * - * The connections section contains the fixed connection points for a stencil. - * The perimeter attribute of the constraint element should have a value of 0 - * or 1 (default), where 1 (true) specifies that the given point should be - * projected into the perimeter of the given shape. - * - * The x- and y-coordinates are typically between 0 and 1 and define the - * location of the connection point relative to the width and height of the - * shape. - * - * The dashpattern directive sets the current dashpattern. The format for the - * pattern attribute is a space-separated sequence of numbers, eg. 5 5 5 5, - * that specifies the lengths of alternating dashes and spaces in dashed lines. - * The dashpattern should be used together with the dashed directive to - * enabled/disable the dashpattern. The default dashpattern is 3 3. - * - * The strokewidth attribute defines a strokewidth behaviour for the shape. It - * can contain a numeric value or the keyword "inherit", which means that the - * strokeWidth of the cell is only changed on scaling, not on resizing. + * - "name", string, required. The stencil name that uniquely identifies the shape. + * - "w" and "h" are optional decimal view bounds. This defines your co-ordinate + * system for the graphics operations in the shape. The default is 100,100. + * - "aspect", optional string. Either "variable", the default, or "fixed". Fixed + * means always render the shape with the aspect ratio defined by the ratio w/h. + * Variable causes the ratio to match that of the geometry of the current vertex. + * - "strokewidth", optional string. Either an integer or the string "inherit". + * "inherit" indicates that the strokeWidth of the cell is only changed on scaling, + * not on resizing. * If numeric values are used, the strokeWidth of the cell is changed on both * scaling and resizing and the value defines the multiple that is applied to * the width. * - * To support i18n in the text element, use the localized attribute of 1 to use - * the str as a key in . To handle all str attributes of all - * text nodes like this, set the value to true. + * connections: + * + * If you want to define specific fixed connection points on the shape use the + * *connections* element. Each *constraint* element within connections defines + * a fixed connection point on the shape. Constraints have attributes: + * + * - "perimeter", required. 1 or 0. 0 sets the connection point where specified + * by x,y. 1 Causes the position of the connection point to be extrapolated from + * the center of the shape, through x,y to the point of intersection with the + * perimeter of the shape. + * - "x" and "y" are the position of the fixed point relative to the bounds of + * the shape. They can be automatically adjusted if perimeter=1. So, (0,0) is top + * left, (0.5,0.5) the center, (1,0.5) the center of the right hand edge of the + * bounds, etc. Values may be less than 0 or greater than 1 to be positioned + * outside of the shape. + * - "name", optional string. A unique identifier for the port on the shape. + * + * background and foreground: + * + * The path of the graphics drawing is split into two elements, *foreground* and + * *background*. The split is to define which part any shadow applied to the shape + * is derived from (the background). This, generally, means the background is the + * line tracing of the outside of the shape, but not always. + * + * Any stroke, fill or fillstroke of a background must be the first element of the + * foreground element, they must not used within *background*. If the background + * is empty, this is not required. + * + * Because the background cannot have any fill or stroke, it can contain only one + * *path*, *rect*, *roundrect* or *ellipse* element (or none). It can also not + * include *image*, *text* or *include-shape*. + * + * Note that the state, styling and drawing in mxGraph stencils is very close in + * design to that of HTML 5 canvas. Tutorials on this subject, if you're not + * familiar with the topic, will give a good high-level introduction to the + * concepts used. + * + * State: + * + * Rendering within the foreground and background elements has the concept of + * state. There are two types of operations other than state save/load, styling + * and drawing. The styling operations change the current state, so you can save + * the current state with and pull the last saved state from the state + * stack using . + * + * Styling: + * + * The elements that change colors within the current state all take a hash + * prefixed hex color code ("#FFEA80"). + * + * - *strokecolor*, this sets the color that drawing paths will be rendered in + * when a stroke or fillstroke command is issued. + * - *fillcolor*, this sets the color that the inside of closed paths will be + * rendered in when a fill or fillstroke command is issued. + * - *fontcolor*, this sets the color that fonts are rendered in when text is drawn. + * + * *alpha* defines the degree of transparency used between 1.0 for fully opaque + * and 0.0 for fully transparent. + * + * *strokewidth* defines the integer thickness of drawing elements rendered by + * stroking. + * + * *dashed* is "1" for dashing enabled and "0" for disabled. + * + * When *dashed* is enabled the current dash pattern, defined by *dashpattern*, + * is used on strokes. dashpattern is a sequence of space separated "on, off" + * lengths that define what distance to paint the stroke for, then what distance + * to paint nothing for, repeat... The default is "3 3". You could define a more + * complex pattern with "5 3 2 6", for example. Generally, it makes sense to have + * an even number of elements in the dashpattern, but that's not required. + * + * *linejoin*, *linecap* and *miterlimit* are best explained by the Mozilla page + * on Canvas styling (about halfway down). The values are all the same except we + * use "flat" for linecap, instead of Canvas' "butt". + * + * For font styling there are. + * + * - *fontsize*, an integer, + * - *fontstyle*, an ORed bit pattern of bold (1), italic (2) and underline (4), + * i.e bold underline is "5". + * - *fontfamily*, is a string defining the typeface to be used. + * + * Drawing: + * + * Most drawing is contained within a *path* element. Again, the graphic + * primitives are very similar to that of HTML 5 canvas. + * + * - *move* to attributes required decimals (x,y). + * - *line* to attributes required decimals (x,y). + * - *quad* to required decimals (x2,y2) via control point required decimals + * (x1,y1). + * - *curve* to required decimals (x3,y3), via control points required decimals + * (x1,y1) and (x2,y2). + * - *arc*, this doesn't follow the HTML Canvas signatures, instead it's a copy + * of the SVG arc command. The SVG specification documentation gives the best + * description of its behaviors. The attributes are named identically, they are + * decimals and all required. + * - *close* ends the current subpath and causes an automatic straight line to + * be drawn from the current point to the initial point of the current subpath. + * + * Complex drawing: + * + * In addition to the graphics primitive operations there are non-primitive + * operations. These provide an easy method to draw some basic shapes. + * + * - *rect*, attributes "x", "y", "w", "h", all required decimals + * - *roundrect*, attributes "x", "y", "w", "h", all required decimals. Also + * "arcsize" an optional decimal attribute defining how large, the corner curves + * are. + * - *ellipse*, attributes "x", "y", "w", "h", all required decimals. + * + * Note that these 3 shapes and all paths must be followed by either a fill, + * stroke, or fillstroke. + * + * Text: + * + * *text* elements have the following attributes. + * + * - "str", the text string to display, required. + * - "x" and "y", the decimal location (x,y) of the text element, required. + * - "align", the horizontal alignment of the text element, either "left", + * "center" or "right". Optional, default is "left". + * - "valign", the vertical alignment of the text element, either "top", "middle" + * or "bottom". Optional, default is "top". + * - "localized", 0 or 1, if 1 then the "str" actually contains a key to use to + * fetch the value out of mxResources. Optional, default is + * . + * - "vertical", 0 or 1, if 1 the label is rendered vertically (rotated by 90 + * degrees). Optional, default is 0. + * - "rotation", angle in degrees (0 to 360). The angle to rotate the text by. + * Optional, default is 0. + * - "align-shape", 0 or 1, if 0 ignore the rotation of the shape when setting + * the text rotation. Optional, default is 1. + * + * Images: + * + * *image* elements can either be external URLs, or data URIs, where supported + * (not in IE 7-). Attributes are: + * + * - "src", required string. Either a data URI or URL. + * - "x", "y", required decimals. The (x,y) position of the image. + * - "w", "h", required decimals. The width and height of the image. + * - "flipH" and "flipV", optional 0 or 1. Whether to flip the image along the + * horizontal/vertical axis. Default is 0 for both. + * + * Sub-shapes: + * + * *include-shape* allow stencils to be rendered within the current stencil by + * referencing the sub-stencil by name. Attributes are: + * + * - "name", required string. The unique shape name of the stencil. + * - "x", "y", "w", "h", required decimals. The (x,y) position of the sub-shape + * and its width and height. * * Constructor: mxStencil * @@ -20925,10 +21033,10 @@ mxStencil.defaultLocalized = false; * Function: allowEval * * Static global switch that specifies if the use of eval is allowed for - * evaluating text content. Default is true. Set this to false if stencils may - * contain user input (see the section on security in the manual). + * evaluating text content and images. Default is false. Set this to true + * if stencils can not contain user input. */ -mxStencil.allowEval = true; +mxStencil.allowEval = false; /** * Variable: desc @@ -27266,6 +27374,14 @@ mxStackLayout.prototype.fill = false; */ mxStackLayout.prototype.resizeParent = false; +/** + * Variable: resizeParentMax + * + * Use maximum of existing value and new value for resize of parent. + * Default is false. + */ +mxStackLayout.prototype.resizeParentMax = false; + /** * Variable: resizeLast * @@ -27322,6 +27438,8 @@ mxStackLayout.prototype.moveCell = function(cell, x, y) value -= (horizontal) ? pstate.x : pstate.y; } + value /= this.graph.view.scale; + for (i = 0; i < childCount; i++) { var child = model.getChildAt(parent, i); @@ -27605,11 +27723,29 @@ mxStackLayout.prototype.updateParentGeometry = function(parent, pgeo, last) if (horizontal) { - pgeo.width = last.x + last.width + this.spacing + this.marginRight; + var tmp = last.x + last.width + this.spacing + this.marginRight; + + if (this.resizeParentMax) + { + pgeo.width = Math.max(pgeo.width, tmp); + } + else + { + pgeo.width = tmp; + } } else { - pgeo.height = last.y + last.height + this.spacing + this.marginBottom; + var tmp = last.y + last.height + this.spacing + this.marginBottom; + + if (this.resizeParentMax) + { + pgeo.height = Math.max(pgeo.height, tmp); + } + else + { + pgeo.height = tmp; + } } model.setGeometry(parent, pgeo); @@ -45507,7 +45643,7 @@ mxCellRenderer.prototype.createLabel = function(state, value) state.text.dialect = (isForceHtml) ? mxConstants.DIALECT_STRICTHTML : state.view.graph.dialect; state.text.style = state.style; state.text.state = state; - this.initializeLabel(state); + this.initializeLabel(state, state.text); // Workaround for touch devices routing all events for a mouse gesture // (down, move, up) via the initial DOM node. IE additionally redirects @@ -45588,15 +45724,15 @@ mxCellRenderer.prototype.createLabel = function(state, value) * * state - whose label should be initialized. */ -mxCellRenderer.prototype.initializeLabel = function(state) +mxCellRenderer.prototype.initializeLabel = function(state, shape) { - if (mxClient.IS_SVG && mxClient.NO_FO && state.text.dialect != mxConstants.DIALECT_SVG) + if (mxClient.IS_SVG && mxClient.NO_FO && shape.dialect != mxConstants.DIALECT_SVG) { - state.text.init(state.view.graph.container); + shape.init(state.view.graph.container); } else { - state.text.init(state.view.getDrawPane()); + shape.init(state.view.getDrawPane()); } }; @@ -45739,15 +45875,7 @@ mxCellRenderer.prototype.createControl = function(state) state.control.preserveImageAspect = false; state.control.dialect = graph.dialect; - this.initControl(state, state.control, true, function (evt) - { - if (graph.isEnabled()) - { - var collapse = !graph.isCellCollapsed(state.cell); - graph.foldCells(collapse, false, [state.cell]); - mxEvent.consume(evt); - } - }); + this.initControl(state, state.control, true, this.createControlClickHandler(state)); } } else if (state.control != null) @@ -45757,6 +45885,30 @@ mxCellRenderer.prototype.createControl = function(state) } }; +/** + * Function: createControlClickHandler + * + * Hook for creating the click handler for the folding icon. + * + * Parameters: + * + * state - whose control click handler should be returned. + */ +mxCellRenderer.prototype.createControlClickHandler = function(state) +{ + var graph = state.view.graph; + + return function (evt) + { + if (graph.isEnabled()) + { + var collapse = !graph.isCellCollapsed(state.cell); + graph.foldCells(collapse, false, [state.cell], null, evt); + mxEvent.consume(evt); + } + }; +}; + /** * Function: initControl * @@ -48171,8 +48323,7 @@ mxGraphView.prototype.updatingDocumentResource = (mxClient.language != 'none') ? * Specifies if string values in cell styles should be evaluated using * . This will only be used if the string values can't be mapped * to objects using . Default is false. NOTE: Enabling this - * switch carries a possible security risk (see the section on security in - * the manual). + * switch carries a possible security risk. */ mxGraphView.prototype.allowEval = false; @@ -53893,8 +54044,13 @@ mxGraph.prototype.sizeDidChange = function() */ mxGraph.prototype.doResizeContainer = function(width, height) { - // Fixes container size for different box models - if (mxClient.IS_IE) + // Sets container size for different box models + if (document.documentMode >= 9) + { + width += 3; + height += 5; + } + else if (mxClient.IS_IE) { if (mxClient.IS_QUIRKS) { @@ -53903,12 +54059,7 @@ mxGraph.prototype.doResizeContainer = function(width, height) // max(2, ...) required for native IE8 in quirks mode width += Math.max(2, borders.x + borders.width + 1); height += Math.max(2, borders.y + borders.height + 1); - } - else if (document.documentMode >= 9) - { - width += 3; - height += 5; - } + } else { width += 1; @@ -55420,7 +55571,7 @@ mxGraph.prototype.cellsAdded = function(cells, parent, index, source, target, ab } // Extends the parent or constrains the child - if (this.isExtendParentsOnAdd() && this.isExtendParent(cells[i])) + if (this.isExtendParentsOnAdd(cells[i]) && this.isExtendParent(cells[i])) { this.extendParent(cells[i]); } @@ -55759,8 +55910,9 @@ mxGraph.prototype.cellsToggled = function(cells, show) * null is specified then the foldable selection cells are used. * checkFoldable - Optional boolean indicating of isCellFoldable should be * checked. Default is false. + * evt - Optional native event that triggered the invocation. */ -mxGraph.prototype.foldCells = function(collapse, recurse, cells, checkFoldable) +mxGraph.prototype.foldCells = function(collapse, recurse, cells, checkFoldable, evt) { recurse = (recurse != null) ? recurse : false; @@ -58508,8 +58660,9 @@ mxGraph.prototype.fit = function(border, keepOrigin) border = (border != null) ? border : 0; keepOrigin = (keepOrigin != null) ? keepOrigin : false; - var w1 = this.container.clientWidth; - var h1 = this.container.clientHeight; + var sb = (document.documentMode >= 9) ? 4 : 0; + var w1 = this.container.clientWidth - sb; + var h1 = this.container.clientHeight - sb; var bounds = this.view.getGraphBounds(); @@ -60695,8 +60848,9 @@ mxGraph.prototype.isCellResizable = function(cell) { var state = this.view.getState(cell); var style = (state != null) ? state.style : this.getCellStyle(cell); - - return this.isCellsResizable() && !this.isCellLocked(cell) && style[mxConstants.STYLE_RESIZABLE] != 0; + + return this.isCellsResizable() && !this.isCellLocked(cell) && + mxUtils.getValue(style, mxConstants.STYLE_RESIZABLE, '1') != '0'; }; /** @@ -61096,7 +61250,7 @@ mxGraph.prototype.setExtendParents = function(value) * * Returns . */ -mxGraph.prototype.isExtendParentsOnAdd = function() +mxGraph.prototype.isExtendParentsOnAdd = function(cell) { return this.extendParentsOnAdd; }; @@ -61116,7 +61270,7 @@ mxGraph.prototype.setExtendParentsOnAdd = function(value) }; /** - * Function: isExtendParentsOnAdd + * Function: isExtendParentsOnMove * * Returns . */ @@ -61126,7 +61280,7 @@ mxGraph.prototype.isExtendParentsOnMove = function() }; /** - * Function: setExtendParentsOnAdd + * Function: setExtendParentsOnMove * * Sets . * @@ -62120,7 +62274,7 @@ mxGraph.prototype.getCells = function(x, y, width, height, parent, result) * Function: getCellsBeyond * * Returns the children of the given parent that are contained in the - * halfpane from the given point (x0, y0) rightwards and/or downwards + * halfpane from the given point (x0, y0) rightwards or downwards * depending on rightHalfpane and bottomHalfpane. * * Parameters: @@ -62156,10 +62310,8 @@ mxGraph.prototype.getCellsBeyond = function(x0, y0, parent, rightHalfpane, botto if (this.isCellVisible(child) && state != null) { - if ((!rightHalfpane || - state.x >= x0) && - (!bottomHalfpane || - state.y >= y0)) + if ((!rightHalfpane || state.x >= x0) && + (!bottomHalfpane || state.y >= y0)) { result.push(child); } @@ -64845,11 +64997,21 @@ mxLayoutManager.prototype.beforeUndo = function(undoableEdit) { var cells = this.getCellsForChanges(undoableEdit.changes); var model = this.getGraph().getModel(); + + // Adds all descendants + var tmp = []; + + for (var i = 0; i < cells.length; i++) + { + tmp = tmp.concat(model.getDescendants(cells[i])); + } + + cells = tmp; // Adds all parent ancestors if (this.isBubbling()) { - var tmp = model.getParents(cells); + tmp = model.getParents(cells); while (tmp.length > 0) { @@ -64858,7 +65020,22 @@ mxLayoutManager.prototype.beforeUndo = function(undoableEdit) } } - this.layoutCells(mxUtils.sortCells(cells, false)); + this.executeLayoutForCells(cells); +}; + +/** + * Function: executeLayout + * + * Executes the given layout on the given parent. + */ +mxLayoutManager.prototype.executeLayoutForCells = function(cells) +{ + // Adds reverse to this array to avoid duplicate execution of leafes + // Works like capture/bubble for events, first executes all layout + // from top to bottom and in reverse order and removes duplicates. + var sorted = mxUtils.sortCells(cells, true); + sorted = sorted.concat(sorted.slice().reverse()); + this.layoutCells(sorted); }; /** @@ -64981,8 +65158,10 @@ mxLayoutManager.prototype.layoutCells = function(cells) { if (cells[i] != model.getRoot() && cells[i] != last) { - last = cells[i]; - this.executeLayout(this.getLayout(last), last); + if (this.executeLayout(this.getLayout(cells[i]), cells[i])) + { + last = cells[i]; + } } } @@ -65002,10 +65181,15 @@ mxLayoutManager.prototype.layoutCells = function(cells) */ mxLayoutManager.prototype.executeLayout = function(layout, parent) { + var result = false; + if (layout != null && parent != null) { layout.execute(parent); + result = true; } + + return result; }; /** @@ -65017,461 +65201,6 @@ mxLayoutManager.prototype.destroy = function() { this.setGraph(null); }; -/** - * Copyright (c) 2006-2013, JGraph Ltd - */ -/** - * Class: mxSpaceManager - * - * In charge of moving cells after a resize. - * - * Constructor: mxSpaceManager - * - * Constructs a new automatic layout for the given graph. - * - * Arguments: - * - * graph - Reference to the enclosing graph. - */ -function mxSpaceManager(graph, shiftRightwards, shiftDownwards, extendParents) -{ - this.resizeHandler = mxUtils.bind(this, function(sender, evt) - { - if (this.isEnabled()) - { - this.cellsResized(evt.getProperty('cells')); - } - }); - - this.foldHandler = mxUtils.bind(this, function(sender, evt) - { - if (this.isEnabled()) - { - this.cellsResized(evt.getProperty('cells')); - } - }); - - this.shiftRightwards = (shiftRightwards != null) ? shiftRightwards : true; - this.shiftDownwards = (shiftDownwards != null) ? shiftDownwards : true; - this.extendParents = (extendParents != null) ? extendParents : true; - this.setGraph(graph); -}; - -/** - * Extends mxEventSource. - */ -mxSpaceManager.prototype = new mxEventSource(); -mxSpaceManager.prototype.constructor = mxSpaceManager; - -/** - * Variable: graph - * - * Reference to the enclosing . - */ -mxSpaceManager.prototype.graph = null; - -/** - * Variable: enabled - * - * Specifies if event handling is enabled. Default is true. - */ -mxSpaceManager.prototype.enabled = true; - -/** - * Variable: shiftRightwards - * - * Specifies if event handling is enabled. Default is true. - */ -mxSpaceManager.prototype.shiftRightwards = true; - -/** - * Variable: shiftDownwards - * - * Specifies if event handling is enabled. Default is true. - */ -mxSpaceManager.prototype.shiftDownwards = true; - -/** - * Variable: extendParents - * - * Specifies if event handling is enabled. Default is true. - */ -mxSpaceManager.prototype.extendParents = true; - -/** - * Variable: resizeHandler - * - * Holds the function that handles the move event. - */ -mxSpaceManager.prototype.resizeHandler = null; - -/** - * Variable: foldHandler - * - * Holds the function that handles the fold event. - */ -mxSpaceManager.prototype.foldHandler = null; - -/** - * Function: isCellIgnored - * - * Sets the graph that the layouts operate on. - */ -mxSpaceManager.prototype.isCellIgnored = function(cell) -{ - return !this.getGraph().getModel().isVertex(cell); -}; - -/** - * Function: isCellShiftable - * - * Sets the graph that the layouts operate on. - */ -mxSpaceManager.prototype.isCellShiftable = function(cell) -{ - return this.getGraph().getModel().isVertex(cell) && - this.getGraph().isCellMovable(cell); -}; - -/** - * Function: isEnabled - * - * Returns true if events are handled. This implementation - * returns . - */ -mxSpaceManager.prototype.isEnabled = function() -{ - return this.enabled; -}; - -/** - * Function: setEnabled - * - * Enables or disables event handling. This implementation - * updates . - * - * Parameters: - * - * enabled - Boolean that specifies the new enabled state. - */ -mxSpaceManager.prototype.setEnabled = function(value) -{ - this.enabled = value; -}; - -/** - * Function: isShiftRightwards - * - * Returns true if events are handled. This implementation - * returns . - */ -mxSpaceManager.prototype.isShiftRightwards = function() -{ - return this.shiftRightwards; -}; - -/** - * Function: setShiftRightwards - * - * Enables or disables event handling. This implementation - * updates . - * - * Parameters: - * - * enabled - Boolean that specifies the new enabled state. - */ -mxSpaceManager.prototype.setShiftRightwards = function(value) -{ - this.shiftRightwards = value; -}; - -/** - * Function: isShiftDownwards - * - * Returns true if events are handled. This implementation - * returns . - */ -mxSpaceManager.prototype.isShiftDownwards = function() -{ - return this.shiftDownwards; -}; - -/** - * Function: setShiftDownwards - * - * Enables or disables event handling. This implementation - * updates . - * - * Parameters: - * - * enabled - Boolean that specifies the new enabled state. - */ -mxSpaceManager.prototype.setShiftDownwards = function(value) -{ - this.shiftDownwards = value; -}; - -/** - * Function: isExtendParents - * - * Returns true if events are handled. This implementation - * returns . - */ -mxSpaceManager.prototype.isExtendParents = function() -{ - return this.extendParents; -}; - -/** - * Function: setShiftDownwards - * - * Enables or disables event handling. This implementation - * updates . - * - * Parameters: - * - * enabled - Boolean that specifies the new enabled state. - */ -mxSpaceManager.prototype.setExtendParents = function(value) -{ - this.extendParents = value; -}; - -/** - * Function: getGraph - * - * Returns the graph that this layout operates on. - */ -mxSpaceManager.prototype.getGraph = function() -{ - return this.graph; -}; - -/** - * Function: setGraph - * - * Sets the graph that the layouts operate on. - */ -mxSpaceManager.prototype.setGraph = function(graph) -{ - if (this.graph != null) - { - this.graph.removeListener(this.resizeHandler); - this.graph.removeListener(this.foldHandler); - } - - this.graph = graph; - - if (this.graph != null) - { - this.graph.addListener(mxEvent.RESIZE_CELLS, this.resizeHandler); - this.graph.addListener(mxEvent.FOLD_CELLS, this.foldHandler); - } -}; - -/** - * Function: cellsResized - * - * Called from to invoke the hook in the - * automatic layout of each modified cell's parent. The event is used to - * define the x- and y-coordinates passed to the move function. - * - * Parameters: - * - * cell - Array of that have been resized. - */ -mxSpaceManager.prototype.cellsResized = function(cells) -{ - if (cells != null) - { - var model = this.graph.getModel(); - - // Raising the update level should not be required - // since only one call is made below - model.beginUpdate(); - try - { - for (var i = 0; i < cells.length; i++) - { - if (!this.isCellIgnored(cells[i])) - { - this.cellResized(cells[i]); - break; - } - } - } - finally - { - model.endUpdate(); - } - } -}; - -/** - * Function: cellResized - * - * Called from to invoke the hook in the - * automatic layout of each modified cell's parent. The event is used to - * define the x- and y-coordinates passed to the move function. - * - * Parameters: - * - * cell - that has been resized. - */ -mxSpaceManager.prototype.cellResized = function(cell) -{ - var graph = this.getGraph(); - var view = graph.getView(); - var model = graph.getModel(); - - var state = view.getState(cell); - var pstate = view.getState(model.getParent(cell)); - - if (state != null && pstate != null) - { - var cells = this.getCellsToShift(state); - var geo = model.getGeometry(cell); - - if (cells != null && geo != null) - { - var tr = view.translate; - var scale = view.scale; - - var x0 = state.x - pstate.origin.x - tr.x * scale; - var y0 = state.y - pstate.origin.y - tr.y * scale; - var right = state.x + state.width; - var bottom = state.y + state.height; - - var dx = state.width - geo.width * scale + x0 - geo.x * scale; - var dy = state.height - geo.height * scale + y0 - geo.y * scale; - - var fx = 1 - geo.width * scale / state.width; - var fy = 1 - geo.height * scale / state.height; - - model.beginUpdate(); - try - { - for (var i = 0; i < cells.length; i++) - { - if (cells[i] != cell && this.isCellShiftable(cells[i])) - { - this.shiftCell(cells[i], dx, dy, x0, y0, right, bottom, fx, fy, - this.isExtendParents() && graph.isExtendParent(cells[i])); - } - } - } - finally - { - model.endUpdate(); - } - } - } -}; - -/** - * Function: shiftCell - * - * Called from to invoke the hook in the - * automatic layout of each modified cell's parent. The event is used to - * define the x- and y-coordinates passed to the move function. - * - * Parameters: - * - * cell - Array of that have been moved. - * evt - Mouse event that represents the mousedown. - */ -mxSpaceManager.prototype.shiftCell = function(cell, dx, dy, Ox0, y0, right, - bottom, fx, fy, extendParent) -{ - var graph = this.getGraph(); - var state = graph.getView().getState(cell); - - if (state != null) - { - var model = graph.getModel(); - var geo = model.getGeometry(cell); - - if (geo != null) - { - model.beginUpdate(); - try - { - if (this.isShiftRightwards()) - { - if (state.x >= right) - { - geo = geo.clone(); - geo.translate(-dx, 0); - } - else - { - var tmpDx = Math.max(0, state.x - x0); - geo = geo.clone(); - geo.translate(-fx * tmpDx, 0); - } - } - - if (this.isShiftDownwards()) - { - if (state.y >= bottom) - { - geo = geo.clone(); - geo.translate(0, -dy); - } - else - { - var tmpDy = Math.max(0, state.y - y0); - geo = geo.clone(); - geo.translate(0, -fy * tmpDy); - } - } - - if (geo != model.getGeometry(cell)) - { - model.setGeometry(cell, geo); - - // Parent size might need to be updated if this - // is seen as part of the resize - if (extendParent) - { - graph.extendParent(cell); - } - } - } - finally - { - model.endUpdate(); - } - } - } -}; - -/** - * Function: getCellsToShift - * - * Returns the cells to shift after a resize of the - * specified . - */ -mxSpaceManager.prototype.getCellsToShift = function(state) -{ - var graph = this.getGraph(); - var parent = graph.getModel().getParent(state.cell); - var down = this.isShiftDownwards(); - var right = this.isShiftRightwards(); - - return graph.getCellsBeyond(state.x + ((down) ? 0 : state.width), - state.y + ((down && right) ? 0 : state.height), parent, right, down); -}; - -/** - * Function: destroy - * - * Removes all handlers from the and deletes the reference to it. - */ -mxSpaceManager.prototype.destroy = function() -{ - this.setGraph(null); -}; /** * Copyright (c) 2006-2013, JGraph Ltd */ @@ -66596,7 +66325,7 @@ mxGraphHandler.prototype.getInitialCellForEvent = function(me) * * Hook to return true for delayed selections. */ -mxGraphHandler.prototype.isDelayedSelection = function(cell) +mxGraphHandler.prototype.isDelayedSelection = function(cell, me) { return this.graph.isCellSelected(cell); }; @@ -66614,7 +66343,7 @@ mxGraphHandler.prototype.mouseDown = function(sender, me) me.getState() != null && !mxEvent.isMultiTouchEvent(me.getEvent())) { var cell = this.getInitialCellForEvent(me); - this.delayedSelection = this.isDelayedSelection(cell); + this.delayedSelection = this.isDelayedSelection(cell, me); this.cell = null; if (this.isSelectEnabled() && !this.delayedSelection) @@ -70552,8 +70281,8 @@ mxConnectionHandler.prototype.createTargetVertex = function(evt, source) var t = this.graph.view.translate; var s = this.graph.view.scale; var point = new mxPoint(this.currentPoint.x / s - t.x, this.currentPoint.y / s - t.y); - geo.x = point.x - geo.width / 2 - this.graph.panDx / s; - geo.y = point.y - geo.height / 2 - this.graph.panDy / s; + geo.x = Math.round(point.x - geo.width / 2 - this.graph.panDx / s); + geo.y = Math.round(point.y - geo.height / 2 - this.graph.panDy / s); // Aligns with source if within certain tolerance var tol = this.getAlignmentTolerance(); @@ -70569,12 +70298,12 @@ mxConnectionHandler.prototype.createTargetVertex = function(evt, source) if (Math.abs(x - geo.x) <= tol) { - geo.x = x; + geo.x = Math.round(x); } if (Math.abs(y - geo.y) <= tol) { - geo.y = y; + geo.y = Math.round(y); } } } @@ -71547,20 +71276,17 @@ mxHandle.prototype.processEvent = function(me) */ mxHandle.prototype.positionChanged = function() { - if (this.state.view.graph.model.isVertex(this.state.cell)) + if (this.state.text != null) { - if (this.state.text != null) - { - this.state.text.apply(this.state); - } - - if (this.state.shape != null) - { - this.state.shape.apply(this.state); - } - - this.graph.cellRenderer.redraw(this.state, true); + this.state.text.apply(this.state); } + + if (this.state.shape != null) + { + this.state.shape.apply(this.state); + } + + this.graph.cellRenderer.redraw(this.state, true); }; /** @@ -71769,6 +71495,8 @@ mxHandle.prototype.setVisible = function(visible) mxHandle.prototype.reset = function() { this.setVisible(true); + this.state.style = this.graph.getCellStyle(this.state.cell); + this.positionChanged(); }; /** @@ -72928,16 +72656,6 @@ mxVertexHandler.prototype.reset = function() this.preview.destroy(); this.preview = null; } - - // Checks if handler has been destroyed - if (this.selectionBorder != null) - { - this.selectionBorder.node.style.display = 'inline'; - this.selectionBounds = this.getSelectionBounds(this.state); - this.bounds = new mxRectangle(this.selectionBounds.x, this.selectionBounds.y, - this.selectionBounds.width, this.selectionBounds.height); - this.drawPreview(); - } if (this.livePreview && this.sizers != null) { @@ -72957,6 +72675,16 @@ mxVertexHandler.prototype.reset = function() this.customHandles[i].reset(); } } + + // Checks if handler has been destroyed + if (this.selectionBorder != null) + { + this.selectionBorder.node.style.display = 'inline'; + this.selectionBounds = this.getSelectionBounds(this.state); + this.bounds = new mxRectangle(this.selectionBounds.x, this.selectionBounds.y, + this.selectionBounds.width, this.selectionBounds.height); + this.drawPreview(); + } this.removeHint(); this.redrawHandles(); @@ -73473,7 +73201,7 @@ mxVertexHandler.prototype.updateParentHighlight = function() */ mxVertexHandler.prototype.drawPreview = function() { - if (this.preview != null) + if (this.preview != null) { this.preview.bounds = this.bounds; @@ -75079,14 +74807,6 @@ mxEdgeHandler.prototype.reset = function() } } - if (this.customHandles != null) - { - for (var i = 0; i < this.customHandles.length; i++) - { - this.customHandles[i].reset(); - } - } - if (this.marker != null) { this.marker.reset(); @@ -79575,7 +79295,6 @@ mxEditor.prototype.setModified = function (value) * bold - Toggle bold text style. * italic - Toggle italic text style. * underline - Toggle underline text style. - * shadow - Toggle shadow text style. * alignCellsLeft - Aligns the selection cells at the left. * alignCellsCenter - Aligns the selection cells in the center. * alignCellsRight - Aligns the selection cells at the right. @@ -79898,17 +79617,7 @@ mxEditor.prototype.addActions = function () mxConstants.FONT_UNDERLINE); } }); - - this.addAction('shadow', function(editor) - { - if (editor.graph.isEnabled()) - { - editor.graph.toggleCellStyleFlags( - mxConstants.STYLE_FONTSTYLE, - mxConstants.FONT_SHADOW); - } - }); - + this.addAction('alignCellsLeft', function(editor) { if (editor.graph.isEnabled()) @@ -82632,8 +82341,7 @@ function mxObjectCodec(template, exclude, idrefs, mapping) * Variable: allowEval * * Static global switch that specifies if expressions in arrays are allowed. - * Default is false. NOTE: Enabling this carries a possible security risk (see - * the section on security in the manual). + * Default is false. NOTE: Enabling this carries a possible security risk. */ mxObjectCodec.allowEval = false; @@ -84503,7 +84211,7 @@ var mxStylesheetCodec = mxCodecRegistry.register(function() * * Static global switch that specifies if the use of eval is allowed for * evaluating text content. Default is true. Set this to false if stylesheets - * may contain user input (see the section on security in the manual). + * may contain user input. */ mxStylesheetCodec.allowEval = true; /** @@ -84901,7 +84609,7 @@ var mxDefaultToolbarCodec = mxCodecRegistry.register(function() * * Static global switch that specifies if the use of eval is allowed for * evaluating text content. Default is true. Set this to false if stylesheets - * may contain user input (see the section on security in the manual). + * may contain user input */ mxDefaultToolbarCodec.allowEval = true; /** diff --git a/javascript/mxClient.min.js b/javascript/mxClient.min.js index 8a7174924..2861a7190 100644 --- a/javascript/mxClient.min.js +++ b/javascript/mxClient.min.js @@ -1,4 +1,4 @@ -var mxClient={VERSION:"3.1.3.0",IS_IE:0<=navigator.userAgent.indexOf("MSIE"),IS_IE6:0<=navigator.userAgent.indexOf("MSIE 6"),IS_IE11:!!navigator.userAgent.match(/Trident\/7\./),IS_QUIRKS:0<=navigator.userAgent.indexOf("MSIE")&&(null==document.documentMode||5==document.documentMode),IS_EM:"spellcheck"in document.createElement("textarea")&&8==document.documentMode,VML_PREFIX:"v",OFFICE_PREFIX:"o",IS_NS:0<=navigator.userAgent.indexOf("Mozilla/")&&0>navigator.userAgent.indexOf("MSIE"),IS_OP:0<=navigator.userAgent.indexOf("Opera/")|| +var mxClient={VERSION:"3.2.0.0",IS_IE:0<=navigator.userAgent.indexOf("MSIE"),IS_IE6:0<=navigator.userAgent.indexOf("MSIE 6"),IS_IE11:!!navigator.userAgent.match(/Trident\/7\./),IS_QUIRKS:0<=navigator.userAgent.indexOf("MSIE")&&(null==document.documentMode||5==document.documentMode),IS_EM:"spellcheck"in document.createElement("textarea")&&8==document.documentMode,VML_PREFIX:"v",OFFICE_PREFIX:"o",IS_NS:0<=navigator.userAgent.indexOf("Mozilla/")&&0>navigator.userAgent.indexOf("MSIE"),IS_OP:0<=navigator.userAgent.indexOf("Opera/")|| 0<=navigator.userAgent.indexOf("OPR/"),IS_OT:0<=navigator.userAgent.indexOf("Presto/")&&0>navigator.userAgent.indexOf("Presto/2.4.")&&0>navigator.userAgent.indexOf("Presto/2.3.")&&0>navigator.userAgent.indexOf("Presto/2.2.")&&0>navigator.userAgent.indexOf("Presto/2.1.")&&0>navigator.userAgent.indexOf("Presto/2.0.")&&0>navigator.userAgent.indexOf("Presto/1."),IS_SF:0<=navigator.userAgent.indexOf("AppleWebKit/")&&0>navigator.userAgent.indexOf("Chrome/"),IS_IOS:navigator.userAgent.match(/(iPad|iPhone|iPod)/g)? !0:!1,IS_GC:0<=navigator.userAgent.indexOf("Chrome/"),IS_FF:0<=navigator.userAgent.indexOf("Firefox/"),IS_MT:0<=navigator.userAgent.indexOf("Firefox/")&&0>navigator.userAgent.indexOf("Firefox/1.")&&0>navigator.userAgent.indexOf("Firefox/2.")||0<=navigator.userAgent.indexOf("Iceweasel/")&&0>navigator.userAgent.indexOf("Iceweasel/1.")&&0>navigator.userAgent.indexOf("Iceweasel/2.")||0<=navigator.userAgent.indexOf("SeaMonkey/")&&0>navigator.userAgent.indexOf("SeaMonkey/1.")||0<=navigator.userAgent.indexOf("Iceape/")&& 0>navigator.userAgent.indexOf("Iceape/1."),IS_SVG:0<=navigator.userAgent.indexOf("Firefox/")||0<=navigator.userAgent.indexOf("Iceweasel/")||0<=navigator.userAgent.indexOf("Seamonkey/")||0<=navigator.userAgent.indexOf("Iceape/")||0<=navigator.userAgent.indexOf("Galeon/")||0<=navigator.userAgent.indexOf("Epiphany/")||0<=navigator.userAgent.indexOf("AppleWebKit/")||0<=navigator.userAgent.indexOf("Gecko/")||0<=navigator.userAgent.indexOf("Opera/")||null!=document.documentMode&&9<=document.documentMode, @@ -93,8 +93,8 @@ STYLE_GLASS:"glass",STYLE_IMAGE:"image",STYLE_IMAGE_WIDTH:"imageWidth",STYLE_IMA STYLE_INDICATOR_STROKECOLOR:"indicatorStrokeColor",STYLE_INDICATOR_GRADIENTCOLOR:"indicatorGradientColor",STYLE_INDICATOR_SPACING:"indicatorSpacing",STYLE_INDICATOR_WIDTH:"indicatorWidth",STYLE_INDICATOR_HEIGHT:"indicatorHeight",STYLE_INDICATOR_DIRECTION:"indicatorDirection",STYLE_SHADOW:"shadow",STYLE_SEGMENT:"segment",STYLE_ENDARROW:"endArrow",STYLE_STARTARROW:"startArrow",STYLE_ENDSIZE:"endSize",STYLE_STARTSIZE:"startSize",STYLE_SWIMLANE_LINE:"swimlaneLine",STYLE_ENDFILL:"endFill",STYLE_STARTFILL:"startFill", STYLE_DASHED:"dashed",STYLE_DASH_PATTERN:"dashPattern",STYLE_ROUNDED:"rounded",STYLE_CURVED:"curved",STYLE_ARCSIZE:"arcSize",STYLE_SMOOTH:"smooth",STYLE_SOURCE_PERIMETER_SPACING:"sourcePerimeterSpacing",STYLE_TARGET_PERIMETER_SPACING:"targetPerimeterSpacing",STYLE_PERIMETER_SPACING:"perimeterSpacing",STYLE_SPACING:"spacing",STYLE_SPACING_TOP:"spacingTop",STYLE_SPACING_LEFT:"spacingLeft",STYLE_SPACING_BOTTOM:"spacingBottom",STYLE_SPACING_RIGHT:"spacingRight",STYLE_HORIZONTAL:"horizontal",STYLE_DIRECTION:"direction", STYLE_ELBOW:"elbow",STYLE_FONTCOLOR:"fontColor",STYLE_FONTFAMILY:"fontFamily",STYLE_FONTSIZE:"fontSize",STYLE_FONTSTYLE:"fontStyle",STYLE_ASPECT:"aspect",STYLE_AUTOSIZE:"autosize",STYLE_FOLDABLE:"foldable",STYLE_EDITABLE:"editable",STYLE_BENDABLE:"bendable",STYLE_MOVABLE:"movable",STYLE_RESIZABLE:"resizable",STYLE_ROTATABLE:"rotatable",STYLE_CLONEABLE:"cloneable",STYLE_DELETABLE:"deletable",STYLE_SHAPE:"shape",STYLE_EDGE:"edgeStyle",STYLE_LOOP:"loopStyle",STYLE_ROUTING_CENTER_X:"routingCenterX",STYLE_ROUTING_CENTER_Y:"routingCenterY", -FONT_BOLD:1,FONT_ITALIC:2,FONT_UNDERLINE:4,FONT_SHADOW:8,SHAPE_RECTANGLE:"rectangle",SHAPE_ELLIPSE:"ellipse",SHAPE_DOUBLE_ELLIPSE:"doubleEllipse",SHAPE_RHOMBUS:"rhombus",SHAPE_LINE:"line",SHAPE_IMAGE:"image",SHAPE_ARROW:"arrow",SHAPE_ARROW_CONNECTOR:"arrowConnector",SHAPE_LABEL:"label",SHAPE_CYLINDER:"cylinder",SHAPE_SWIMLANE:"swimlane",SHAPE_CONNECTOR:"connector",SHAPE_ACTOR:"actor",SHAPE_CLOUD:"cloud",SHAPE_TRIANGLE:"triangle",SHAPE_HEXAGON:"hexagon",ARROW_CLASSIC:"classic",ARROW_BLOCK:"block", -ARROW_OPEN:"open",ARROW_OVAL:"oval",ARROW_DIAMOND:"diamond",ARROW_DIAMOND_THIN:"diamondThin",ALIGN_LEFT:"left",ALIGN_CENTER:"center",ALIGN_RIGHT:"right",ALIGN_TOP:"top",ALIGN_MIDDLE:"middle",ALIGN_BOTTOM:"bottom",DIRECTION_NORTH:"north",DIRECTION_SOUTH:"south",DIRECTION_EAST:"east",DIRECTION_WEST:"west",TEXT_DIRECTION_DEFAULT:"",TEXT_DIRECTION_AUTO:"auto",TEXT_DIRECTION_LTR:"ltr",TEXT_DIRECTION_RTL:"rtl",DIRECTION_MASK_NONE:0,DIRECTION_MASK_WEST:1,DIRECTION_MASK_NORTH:2,DIRECTION_MASK_SOUTH:4,DIRECTION_MASK_EAST:8, +FONT_BOLD:1,FONT_ITALIC:2,FONT_UNDERLINE:4,SHAPE_RECTANGLE:"rectangle",SHAPE_ELLIPSE:"ellipse",SHAPE_DOUBLE_ELLIPSE:"doubleEllipse",SHAPE_RHOMBUS:"rhombus",SHAPE_LINE:"line",SHAPE_IMAGE:"image",SHAPE_ARROW:"arrow",SHAPE_ARROW_CONNECTOR:"arrowConnector",SHAPE_LABEL:"label",SHAPE_CYLINDER:"cylinder",SHAPE_SWIMLANE:"swimlane",SHAPE_CONNECTOR:"connector",SHAPE_ACTOR:"actor",SHAPE_CLOUD:"cloud",SHAPE_TRIANGLE:"triangle",SHAPE_HEXAGON:"hexagon",ARROW_CLASSIC:"classic",ARROW_BLOCK:"block",ARROW_OPEN:"open", +ARROW_OVAL:"oval",ARROW_DIAMOND:"diamond",ARROW_DIAMOND_THIN:"diamondThin",ALIGN_LEFT:"left",ALIGN_CENTER:"center",ALIGN_RIGHT:"right",ALIGN_TOP:"top",ALIGN_MIDDLE:"middle",ALIGN_BOTTOM:"bottom",DIRECTION_NORTH:"north",DIRECTION_SOUTH:"south",DIRECTION_EAST:"east",DIRECTION_WEST:"west",TEXT_DIRECTION_DEFAULT:"",TEXT_DIRECTION_AUTO:"auto",TEXT_DIRECTION_LTR:"ltr",TEXT_DIRECTION_RTL:"rtl",DIRECTION_MASK_NONE:0,DIRECTION_MASK_WEST:1,DIRECTION_MASK_NORTH:2,DIRECTION_MASK_SOUTH:4,DIRECTION_MASK_EAST:8, DIRECTION_MASK_ALL:15,ELBOW_VERTICAL:"vertical",ELBOW_HORIZONTAL:"horizontal",EDGESTYLE_ELBOW:"elbowEdgeStyle",EDGESTYLE_ENTITY_RELATION:"entityRelationEdgeStyle",EDGESTYLE_LOOP:"loopEdgeStyle",EDGESTYLE_SIDETOSIDE:"sideToSideEdgeStyle",EDGESTYLE_TOPTOBOTTOM:"topToBottomEdgeStyle",EDGESTYLE_ORTHOGONAL:"orthogonalEdgeStyle",EDGESTYLE_SEGMENT:"segmentEdgeStyle",PERIMETER_ELLIPSE:"ellipsePerimeter",PERIMETER_RECTANGLE:"rectanglePerimeter",PERIMETER_RHOMBUS:"rhombusPerimeter",PERIMETER_HEXAGON:"hexagonPerimeter", PERIMETER_TRIANGLE:"trianglePerimeter"};function mxEventObject(a){this.name=a;this.properties=[];for(var b=1;bb)break;k=c}f=e.getIndex(a);f=Math.max(0,g-(g>f?1:0));d.add(e,a,f)}}; +mxStackLayout.prototype.resizeParentMax=!1;mxStackLayout.prototype.resizeLast=!1;mxStackLayout.prototype.wrap=null;mxStackLayout.prototype.borderCollapse=!0;mxStackLayout.prototype.isHorizontal=function(){return this.horizontal}; +mxStackLayout.prototype.moveCell=function(a,b,c){var d=this.graph.getModel(),e=d.getParent(a),f=this.isHorizontal();if(null!=a&&null!=e){var g=0,k=0,l=d.getChildCount(e);b=f?b:c;g=this.graph.getView().getState(e);null!=g&&(b-=f?g.x:g.y);b/=this.graph.view.scale;for(g=0;gb)break;k=c}f=e.getIndex(a);f=Math.max(0,g-(g>f?1:0));d.add(e,a,f)}}; mxStackLayout.prototype.getParentSize=function(a){var b=this.graph.getModel(),c=b.getGeometry(a);if(null!=this.graph.container&&(null==c&&b.isLayer(a)||a==this.graph.getView().currentRoot))c=new mxRectangle(0,0,this.graph.container.offsetWidth-1,this.graph.container.offsetHeight-1);return c}; mxStackLayout.prototype.execute=function(a){if(null!=a){var b=this.getParentSize(a),c=this.isHorizontal(),d=this.graph.getModel(),e=null;null!=b&&(e=c?b.height-this.marginTop-this.marginBottom:b.width-this.marginLeft-this.marginRight);var e=e-(2*this.spacing+2*this.border),f=this.x0+this.border+this.marginLeft,g=this.y0+this.border+this.marginTop;if(this.graph.isSwimlane(a)){var k=this.graph.getCellStyle(a),l=mxUtils.getNumber(k,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE),k=1==mxUtils.getValue(k, mxConstants.STYLE_HORIZONTAL,!0);null!=b&&(l=k?Math.min(l,b.height):Math.min(l,b.width));c==k&&(e-=l);k?g+=l:f+=l}d.beginUpdate();try{for(var l=0,k=null,m=0,n=d.getChildCount(a),p=0;pthis.wrap||!c&&k.y+k.height+r.height+2*this.spacing>this.wrap))k=null,c?g+=l+this.spacing:f+=l+this.spacing,l=0;var l= Math.max(l,c?r.height:r.width),s=0;if(!this.borderCollapse)var t=this.graph.getCellStyle(q),s=mxUtils.getNumber(t,mxConstants.STYLE_STROKEWIDTH,1);null!=k?c?r.x=m+this.spacing+Math.floor(s/2):r.y=m+this.spacing+Math.floor(s/2):this.keepFirstLocation||(c?r.x=f:r.y=g);c?r.y=g:r.x=f;this.fill&&null!=e&&(c?r.height=e:r.width=e);this.setChildGeometry(q,r);k=r;m=c?k.x+k.width+Math.floor(s/2):k.y+k.height+Math.floor(s/2)}}}this.resizeParent&&null!=b&&null!=k&&!this.graph.isCellCollapsed(a)?this.updateParentGeometry(a, b,k):this.resizeLast&&(null!=b&&null!=k)&&(c?k.width=b.width-k.x-this.spacing-this.marginRight-this.marginLeft:k.height=b.height-k.y-this.spacing-this.marginBottom)}finally{d.endUpdate()}}};mxStackLayout.prototype.setChildGeometry=function(a,b){this.graph.getModel().setGeometry(a,b)}; -mxStackLayout.prototype.updateParentGeometry=function(a,b,c){var d=this.isHorizontal(),e=this.graph.getModel();b=b.clone();d?b.width=c.x+c.width+this.spacing+this.marginRight:b.height=c.y+c.height+this.spacing+this.marginBottom;e.setGeometry(a,b)};function mxPartitionLayout(a,b,c,d){mxGraphLayout.call(this,a);this.horizontal=null!=b?b:!0;this.spacing=c||0;this.border=d||0}mxPartitionLayout.prototype=new mxGraphLayout;mxPartitionLayout.prototype.constructor=mxPartitionLayout; -mxPartitionLayout.prototype.horizontal=null;mxPartitionLayout.prototype.spacing=null;mxPartitionLayout.prototype.border=null;mxPartitionLayout.prototype.resizeVertices=!0;mxPartitionLayout.prototype.isHorizontal=function(){return this.horizontal}; +mxStackLayout.prototype.updateParentGeometry=function(a,b,c){var d=this.isHorizontal(),e=this.graph.getModel();b=b.clone();d?(c=c.x+c.width+this.spacing+this.marginRight,b.width=this.resizeParentMax?Math.max(b.width,c):c):(c=c.y+c.height+this.spacing+this.marginBottom,b.height=this.resizeParentMax?Math.max(b.height,c):c);e.setGeometry(a,b)};function mxPartitionLayout(a,b,c,d){mxGraphLayout.call(this,a);this.horizontal=null!=b?b:!0;this.spacing=c||0;this.border=d||0}mxPartitionLayout.prototype=new mxGraphLayout; +mxPartitionLayout.prototype.constructor=mxPartitionLayout;mxPartitionLayout.prototype.horizontal=null;mxPartitionLayout.prototype.spacing=null;mxPartitionLayout.prototype.border=null;mxPartitionLayout.prototype.resizeVertices=!0;mxPartitionLayout.prototype.isHorizontal=function(){return this.horizontal}; mxPartitionLayout.prototype.moveCell=function(a,b,c){c=this.graph.getModel();var d=c.getParent(a);if(null!=a&&null!=d){for(var e=0,f=0,g=c.getChildCount(d),e=0;eb)break;f=k}}b=d.getIndex(a);b=Math.max(0,e-(e>b?1:0));c.add(d,a,b)}}; mxPartitionLayout.prototype.execute=function(a){var b=this.isHorizontal(),c=this.graph.getModel(),d=c.getGeometry(a);if(null!=this.graph.container&&(null==d&&c.isLayer(a)||a==this.graph.getView().currentRoot))d=new mxRectangle(0,0,this.graph.container.offsetWidth-1,this.graph.container.offsetHeight-1);if(null!=d){for(var e=[],f=c.getChildCount(a),g=0;gthis.minPageBreakDist;d.x=mxUtils.mod(d.x,d.width);d.y=mxUtils.mod(d.y,d.height);e=a?Math.ceil((b-d.x)/d.width):0;a=a?Math.ceil((c-d.y)/d.height):0;null==this.horizontalPageBreaks&&0this.model.getChildCount(b)&&c--;this.model.add(b,a[k],c+k);this.autoSizeCellsOnAdd&&this.autoSizeCell(a[k],!0);this.isExtendParentsOnAdd()&&this.isExtendParent(a[k])&&this.extendParent(a[k]);(null==g||g)&&this.constrainChild(a[k]);null!=d&&this.cellConnected(a[k],d,!0);null!=e&&this.cellConnected(a[k],e,!1)}this.fireEvent(new mxEventObject(mxEvent.CELLS_ADDED,"cells",a,"parent",b,"index",c,"source",d,"target",e,"absolute", -f))}finally{this.model.endUpdate()}}};mxGraph.prototype.autoSizeCell=function(a,b){if(null!=b?b:1)for(var c=this.model.getChildCount(a),d=0;dthis.model.getChildCount(b)&&c--;this.model.add(b,a[k],c+k);this.autoSizeCellsOnAdd&&this.autoSizeCell(a[k],!0);this.isExtendParentsOnAdd(a[k])&&this.isExtendParent(a[k])&&this.extendParent(a[k]);(null==g||g)&&this.constrainChild(a[k]);null!=d&&this.cellConnected(a[k],d,!0);null!=e&&this.cellConnected(a[k],e,!1)}this.fireEvent(new mxEventObject(mxEvent.CELLS_ADDED,"cells",a,"parent",b,"index",c,"source",d,"target", +e,"absolute",f))}finally{this.model.endUpdate()}}};mxGraph.prototype.autoSizeCell=function(a,b){if(null!=b?b:1)for(var c=this.model.getChildCount(a),d=0;db?(b=a.height/b,c=(b-a.height)/2,a.height=b,b=Math.min(a.y,c),a.y-=b,d=Math.min(this.container.scrollHeight,a.y+a.height),a.height=d-a.y):(b*=a.width,c=(b-a.width)/2,a.width=b,b=Math.min(a.x,c),a.x-=b, c=Math.min(this.container.scrollWidth,a.x+a.width),a.width=c-a.x);b=this.container.clientWidth/a.width;c=this.view.scale*b;mxUtils.hasScrollbars(this.container)?(this.view.setScale(c),this.container.scrollLeft=Math.round(a.x*b),this.container.scrollTop=Math.round(a.y*b)):this.view.scaleAndTranslate(c,this.view.translate.x-a.x/this.view.scale,this.view.translate.y-a.y/this.view.scale)}; -mxGraph.prototype.fit=function(a,b){if(null!=this.container){a=null!=a?a:0;b=null!=b?b:!1;var c=this.container.clientWidth,d=this.container.clientHeight,e=this.view.getGraphBounds();b&&(null!=e.x&&null!=e.y)&&(e.width+=e.x,e.height+=e.y,e.x=0,e.y=0);var f=this.view.scale,g=e.width/f,k=e.height/f;null!=this.backgroundImage&&(g=Math.max(g,this.backgroundImage.width-e.x/f),k=Math.max(k,this.backgroundImage.height-e.y/f));var l=b?a:2*a,c=Math.floor(100*Math.min(c/(g+l),d/(k+l)))/100;null!=this.minFitScale&& -(c=Math.max(c,this.minFitScale));null!=this.maxFitScale&&(c=Math.min(c,this.maxFitScale));b?this.view.scale!=c&&this.view.setScale(c):mxUtils.hasScrollbars(this.container)?(this.view.setScale(c),e=this.getGraphBounds(),null!=e.x&&(this.container.scrollLeft=e.x),null!=e.y&&(this.container.scrollTop=e.y)):this.view.scaleAndTranslate(c,null!=e.x?Math.floor(this.view.translate.x-e.x/f+a+1):a,null!=e.y?Math.floor(this.view.translate.y-e.y/f+a+1):a)}return this.view.scale}; +mxGraph.prototype.fit=function(a,b){if(null!=this.container){a=null!=a?a:0;b=null!=b?b:!1;var c=9<=document.documentMode?4:0,d=this.container.clientWidth-c,e=this.container.clientHeight-c,c=this.view.getGraphBounds();b&&(null!=c.x&&null!=c.y)&&(c.width+=c.x,c.height+=c.y,c.x=0,c.y=0);var f=this.view.scale,g=c.width/f,k=c.height/f;null!=this.backgroundImage&&(g=Math.max(g,this.backgroundImage.width-c.x/f),k=Math.max(k,this.backgroundImage.height-c.y/f));var l=b?a:2*a,d=Math.floor(100*Math.min(d/(g+ +l),e/(k+l)))/100;null!=this.minFitScale&&(d=Math.max(d,this.minFitScale));null!=this.maxFitScale&&(d=Math.min(d,this.maxFitScale));b?this.view.scale!=d&&this.view.setScale(d):mxUtils.hasScrollbars(this.container)?(this.view.setScale(d),d=this.getGraphBounds(),null!=d.x&&(this.container.scrollLeft=d.x),null!=d.y&&(this.container.scrollTop=d.y)):this.view.scaleAndTranslate(d,null!=c.x?Math.floor(this.view.translate.x-c.x/f+a+1):a,null!=c.y?Math.floor(this.view.translate.y-c.y/f+a+1):a)}return this.view.scale}; mxGraph.prototype.scrollCellToVisible=function(a,b){var c=-this.view.translate.x,d=-this.view.translate.y,e=this.view.getState(a);null!=e&&(c=new mxRectangle(c+e.x,d+e.y,e.width,e.height),b&&null!=this.container&&(d=this.container.clientWidth,e=this.container.clientHeight,c.x=c.getCenterX()-d/2,c.width=d,c.y=c.getCenterY()-e/2,c.height=e),this.scrollRectToVisible(c)&&this.view.setTranslate(this.view.translate.x,this.view.translate.y))}; mxGraph.prototype.scrollRectToVisible=function(a){var b=!1;if(null!=a){var c=this.container.offsetWidth,d=this.container.offsetHeight,e=Math.min(c,a.width),f=Math.min(d,a.height);if(mxUtils.hasScrollbars(this.container)){c=this.container;a.x+=this.view.translate.x;a.y+=this.view.translate.y;var g=c.scrollLeft-a.x,d=Math.max(g-c.scrollLeft,0);0g+c&&(this.view.translate.x-=(a.x+e-c-g)/l,b=!0);a.y+f>k+d&&(this.view.translate.y-=(a.y+f-d-k)/l,b=!0);a.x=f)q=q.clone(),q.translate(-b,0);else{var r=Math.max(0,n.x-x0),q=q.clone();q.translate(-k*r,0)}if(this.isShiftDownwards())if(n.y>=g)q=q.clone(),q.translate(0,-c);else{var s=Math.max(0,n.y-e),q=q.clone();q.translate(0,-l*s)}q!=p.getGeometry(a)&&(p.setGeometry(a,q),m&&d.extendParent(a))}finally{p.endUpdate()}}}}; -mxSpaceManager.prototype.getCellsToShift=function(a){var b=this.getGraph(),c=b.getModel().getParent(a.cell),d=this.isShiftDownwards(),e=this.isShiftRightwards();return b.getCellsBeyond(a.x+(d?0:a.width),a.y+(d&&e?0:a.height),c,e,d)};mxSpaceManager.prototype.destroy=function(){this.setGraph(null)}; +mxLayoutManager.prototype.layoutCells=function(a){if(0=mxGraphHandler.prototype.maxCells||this.graph.getSelectionCount()d&&(n+=c,e&&(n=this.graph.snap(n/f)*f));if(0==d||3==d||5==d)l+=b,e&&(l=this.graph.snap(l/f)*f);else if(2==d||4==d||7==d)m+=b,e&&(m=this.graph.snap(m/f)*f);e=m-l;c=a-n; @@ -1526,9 +1517,8 @@ mxEdgeHandler.prototype.mouseUp=function(a,b){if(null!=this.index&&null!=this.ma this.index].execute()}finally{d.endUpdate()}}}else if(this.isLabel)this.moveLabel(this.state,this.label.x,this.label.y);else if(this.isSource||this.isTarget){var e=null;null!=this.constraintHandler.currentConstraint&&null!=this.constraintHandler.currentFocus&&(e=this.constraintHandler.currentFocus.cell);null==e&&this.marker.hasValidState()&&(e=this.marker.validState.cell);if(null!=e)c=this.connect(c,e,this.isSource,d,b);else if(this.graph.isAllowDanglingEdges()){e=this.abspoints[this.isSource?0:this.abspoints.length- 1];e.x=this.roundLength(e.x/this.graph.view.scale-this.graph.view.translate.x);e.y=this.roundLength(e.y/this.graph.view.scale-this.graph.view.translate.y);var f=this.graph.getView().getState(this.graph.getModel().getParent(c));null!=f&&(e.x-=f.origin.x,e.y-=f.origin.y);e.x-=this.graph.panDx/this.graph.view.scale;e.y-=this.graph.panDy/this.graph.view.scale;c=this.changeTerminalPoint(c,e,this.isSource,d)}}else this.active?c=this.changePoints(c,this.points,d):(this.graph.getView().invalidate(this.state.cell), this.graph.getView().validate(this.state.cell))}null!=this.marker&&(this.reset(),c!=this.state.cell&&this.graph.setSelectionCell(c));b.consume()}}; -mxEdgeHandler.prototype.reset=function(){this.snapPoint=this.points=this.label=this.index=this.error=null;this.isTarget=this.isSource=this.isLabel=this.active=!1;if(this.livePreview&&null!=this.sizers)for(var a=0;a. To handle all str attributes of all - * text nodes like this, set the value to true. + * connections: + * + * If you want to define specific fixed connection points on the shape use the + * *connections* element. Each *constraint* element within connections defines + * a fixed connection point on the shape. Constraints have attributes: + * + * - "perimeter", required. 1 or 0. 0 sets the connection point where specified + * by x,y. 1 Causes the position of the connection point to be extrapolated from + * the center of the shape, through x,y to the point of intersection with the + * perimeter of the shape. + * - "x" and "y" are the position of the fixed point relative to the bounds of + * the shape. They can be automatically adjusted if perimeter=1. So, (0,0) is top + * left, (0.5,0.5) the center, (1,0.5) the center of the right hand edge of the + * bounds, etc. Values may be less than 0 or greater than 1 to be positioned + * outside of the shape. + * - "name", optional string. A unique identifier for the port on the shape. + * + * background and foreground: + * + * The path of the graphics drawing is split into two elements, *foreground* and + * *background*. The split is to define which part any shadow applied to the shape + * is derived from (the background). This, generally, means the background is the + * line tracing of the outside of the shape, but not always. + * + * Any stroke, fill or fillstroke of a background must be the first element of the + * foreground element, they must not used within *background*. If the background + * is empty, this is not required. + * + * Because the background cannot have any fill or stroke, it can contain only one + * *path*, *rect*, *roundrect* or *ellipse* element (or none). It can also not + * include *image*, *text* or *include-shape*. + * + * Note that the state, styling and drawing in mxGraph stencils is very close in + * design to that of HTML 5 canvas. Tutorials on this subject, if you're not + * familiar with the topic, will give a good high-level introduction to the + * concepts used. + * + * State: + * + * Rendering within the foreground and background elements has the concept of + * state. There are two types of operations other than state save/load, styling + * and drawing. The styling operations change the current state, so you can save + * the current state with and pull the last saved state from the state + * stack using . + * + * Styling: + * + * The elements that change colors within the current state all take a hash + * prefixed hex color code ("#FFEA80"). + * + * - *strokecolor*, this sets the color that drawing paths will be rendered in + * when a stroke or fillstroke command is issued. + * - *fillcolor*, this sets the color that the inside of closed paths will be + * rendered in when a fill or fillstroke command is issued. + * - *fontcolor*, this sets the color that fonts are rendered in when text is drawn. + * + * *alpha* defines the degree of transparency used between 1.0 for fully opaque + * and 0.0 for fully transparent. + * + * *strokewidth* defines the integer thickness of drawing elements rendered by + * stroking. + * + * *dashed* is "1" for dashing enabled and "0" for disabled. + * + * When *dashed* is enabled the current dash pattern, defined by *dashpattern*, + * is used on strokes. dashpattern is a sequence of space separated "on, off" + * lengths that define what distance to paint the stroke for, then what distance + * to paint nothing for, repeat... The default is "3 3". You could define a more + * complex pattern with "5 3 2 6", for example. Generally, it makes sense to have + * an even number of elements in the dashpattern, but that's not required. + * + * *linejoin*, *linecap* and *miterlimit* are best explained by the Mozilla page + * on Canvas styling (about halfway down). The values are all the same except we + * use "flat" for linecap, instead of Canvas' "butt". + * + * For font styling there are. + * + * - *fontsize*, an integer, + * - *fontstyle*, an ORed bit pattern of bold (1), italic (2) and underline (4), + * i.e bold underline is "5". + * - *fontfamily*, is a string defining the typeface to be used. + * + * Drawing: + * + * Most drawing is contained within a *path* element. Again, the graphic + * primitives are very similar to that of HTML 5 canvas. + * + * - *move* to attributes required decimals (x,y). + * - *line* to attributes required decimals (x,y). + * - *quad* to required decimals (x2,y2) via control point required decimals + * (x1,y1). + * - *curve* to required decimals (x3,y3), via control points required decimals + * (x1,y1) and (x2,y2). + * - *arc*, this doesn't follow the HTML Canvas signatures, instead it's a copy + * of the SVG arc command. The SVG specification documentation gives the best + * description of its behaviors. The attributes are named identically, they are + * decimals and all required. + * - *close* ends the current subpath and causes an automatic straight line to + * be drawn from the current point to the initial point of the current subpath. + * + * Complex drawing: + * + * In addition to the graphics primitive operations there are non-primitive + * operations. These provide an easy method to draw some basic shapes. + * + * - *rect*, attributes "x", "y", "w", "h", all required decimals + * - *roundrect*, attributes "x", "y", "w", "h", all required decimals. Also + * "arcsize" an optional decimal attribute defining how large, the corner curves + * are. + * - *ellipse*, attributes "x", "y", "w", "h", all required decimals. + * + * Note that these 3 shapes and all paths must be followed by either a fill, + * stroke, or fillstroke. + * + * Text: + * + * *text* elements have the following attributes. + * + * - "str", the text string to display, required. + * - "x" and "y", the decimal location (x,y) of the text element, required. + * - "align", the horizontal alignment of the text element, either "left", + * "center" or "right". Optional, default is "left". + * - "valign", the vertical alignment of the text element, either "top", "middle" + * or "bottom". Optional, default is "top". + * - "localized", 0 or 1, if 1 then the "str" actually contains a key to use to + * fetch the value out of mxResources. Optional, default is + * . + * - "vertical", 0 or 1, if 1 the label is rendered vertically (rotated by 90 + * degrees). Optional, default is 0. + * - "rotation", angle in degrees (0 to 360). The angle to rotate the text by. + * Optional, default is 0. + * - "align-shape", 0 or 1, if 0 ignore the rotation of the shape when setting + * the text rotation. Optional, default is 1. + * + * Images: + * + * *image* elements can either be external URLs, or data URIs, where supported + * (not in IE 7-). Attributes are: + * + * - "src", required string. Either a data URI or URL. + * - "x", "y", required decimals. The (x,y) position of the image. + * - "w", "h", required decimals. The width and height of the image. + * - "flipH" and "flipV", optional 0 or 1. Whether to flip the image along the + * horizontal/vertical axis. Default is 0 for both. + * + * Sub-shapes: + * + * *include-shape* allow stencils to be rendered within the current stencil by + * referencing the sub-stencil by name. Attributes are: + * + * - "name", required string. The unique shape name of the stencil. + * - "x", "y", "w", "h", required decimals. The (x,y) position of the sub-shape + * and its width and height. * * Constructor: mxStencil * @@ -90,10 +205,10 @@ mxStencil.defaultLocalized = false; * Function: allowEval * * Static global switch that specifies if the use of eval is allowed for - * evaluating text content. Default is true. Set this to false if stencils may - * contain user input (see the section on security in the manual). + * evaluating text content and images. Default is false. Set this to true + * if stencils can not contain user input. */ -mxStencil.allowEval = true; +mxStencil.allowEval = false; /** * Variable: desc diff --git a/javascript/src/js/util/mxConstants.js b/javascript/src/js/util/mxConstants.js index 09e328976..a7d8b1a45 100644 --- a/javascript/src/js/util/mxConstants.js +++ b/javascript/src/js/util/mxConstants.js @@ -1519,7 +1519,7 @@ * Variable: STYLE_FONTSTYLE * * Defines the key for the fontStyle style. Values may be any logical AND - * (sum) of , , and . + * (sum) of , and . * The type of the value is int. Value is fontStyle. */ STYLE_FONTSTYLE: 'fontStyle', @@ -1680,13 +1680,6 @@ */ FONT_UNDERLINE: 4, - /** - * Variable: FONT_SHADOW - * - * Constant for fonts with a shadow. Default is 8. - */ - FONT_SHADOW: 8, - /** * Variable: SHAPE_RECTANGLE * diff --git a/javascript/src/js/view/mxCellRenderer.js b/javascript/src/js/view/mxCellRenderer.js index 933cb4630..731977f9a 100644 --- a/javascript/src/js/view/mxCellRenderer.js +++ b/javascript/src/js/view/mxCellRenderer.js @@ -371,7 +371,7 @@ mxCellRenderer.prototype.createLabel = function(state, value) state.text.dialect = (isForceHtml) ? mxConstants.DIALECT_STRICTHTML : state.view.graph.dialect; state.text.style = state.style; state.text.state = state; - this.initializeLabel(state); + this.initializeLabel(state, state.text); // Workaround for touch devices routing all events for a mouse gesture // (down, move, up) via the initial DOM node. IE additionally redirects @@ -452,15 +452,15 @@ mxCellRenderer.prototype.createLabel = function(state, value) * * state - whose label should be initialized. */ -mxCellRenderer.prototype.initializeLabel = function(state) +mxCellRenderer.prototype.initializeLabel = function(state, shape) { - if (mxClient.IS_SVG && mxClient.NO_FO && state.text.dialect != mxConstants.DIALECT_SVG) + if (mxClient.IS_SVG && mxClient.NO_FO && shape.dialect != mxConstants.DIALECT_SVG) { - state.text.init(state.view.graph.container); + shape.init(state.view.graph.container); } else { - state.text.init(state.view.getDrawPane()); + shape.init(state.view.getDrawPane()); } }; @@ -603,15 +603,7 @@ mxCellRenderer.prototype.createControl = function(state) state.control.preserveImageAspect = false; state.control.dialect = graph.dialect; - this.initControl(state, state.control, true, function (evt) - { - if (graph.isEnabled()) - { - var collapse = !graph.isCellCollapsed(state.cell); - graph.foldCells(collapse, false, [state.cell]); - mxEvent.consume(evt); - } - }); + this.initControl(state, state.control, true, this.createControlClickHandler(state)); } } else if (state.control != null) @@ -621,6 +613,30 @@ mxCellRenderer.prototype.createControl = function(state) } }; +/** + * Function: createControlClickHandler + * + * Hook for creating the click handler for the folding icon. + * + * Parameters: + * + * state - whose control click handler should be returned. + */ +mxCellRenderer.prototype.createControlClickHandler = function(state) +{ + var graph = state.view.graph; + + return function (evt) + { + if (graph.isEnabled()) + { + var collapse = !graph.isCellCollapsed(state.cell); + graph.foldCells(collapse, false, [state.cell], null, evt); + mxEvent.consume(evt); + } + }; +}; + /** * Function: initControl * diff --git a/javascript/src/js/view/mxGraph.js b/javascript/src/js/view/mxGraph.js index 7b6765521..561e70217 100644 --- a/javascript/src/js/view/mxGraph.js +++ b/javascript/src/js/view/mxGraph.js @@ -2961,8 +2961,13 @@ mxGraph.prototype.sizeDidChange = function() */ mxGraph.prototype.doResizeContainer = function(width, height) { - // Fixes container size for different box models - if (mxClient.IS_IE) + // Sets container size for different box models + if (document.documentMode >= 9) + { + width += 3; + height += 5; + } + else if (mxClient.IS_IE) { if (mxClient.IS_QUIRKS) { @@ -2971,12 +2976,7 @@ mxGraph.prototype.doResizeContainer = function(width, height) // max(2, ...) required for native IE8 in quirks mode width += Math.max(2, borders.x + borders.width + 1); height += Math.max(2, borders.y + borders.height + 1); - } - else if (document.documentMode >= 9) - { - width += 3; - height += 5; - } + } else { width += 1; @@ -4488,7 +4488,7 @@ mxGraph.prototype.cellsAdded = function(cells, parent, index, source, target, ab } // Extends the parent or constrains the child - if (this.isExtendParentsOnAdd() && this.isExtendParent(cells[i])) + if (this.isExtendParentsOnAdd(cells[i]) && this.isExtendParent(cells[i])) { this.extendParent(cells[i]); } @@ -4827,8 +4827,9 @@ mxGraph.prototype.cellsToggled = function(cells, show) * null is specified then the foldable selection cells are used. * checkFoldable - Optional boolean indicating of isCellFoldable should be * checked. Default is false. + * evt - Optional native event that triggered the invocation. */ -mxGraph.prototype.foldCells = function(collapse, recurse, cells, checkFoldable) +mxGraph.prototype.foldCells = function(collapse, recurse, cells, checkFoldable, evt) { recurse = (recurse != null) ? recurse : false; @@ -7576,8 +7577,9 @@ mxGraph.prototype.fit = function(border, keepOrigin) border = (border != null) ? border : 0; keepOrigin = (keepOrigin != null) ? keepOrigin : false; - var w1 = this.container.clientWidth; - var h1 = this.container.clientHeight; + var sb = (document.documentMode >= 9) ? 4 : 0; + var w1 = this.container.clientWidth - sb; + var h1 = this.container.clientHeight - sb; var bounds = this.view.getGraphBounds(); @@ -9763,8 +9765,9 @@ mxGraph.prototype.isCellResizable = function(cell) { var state = this.view.getState(cell); var style = (state != null) ? state.style : this.getCellStyle(cell); - - return this.isCellsResizable() && !this.isCellLocked(cell) && style[mxConstants.STYLE_RESIZABLE] != 0; + + return this.isCellsResizable() && !this.isCellLocked(cell) && + mxUtils.getValue(style, mxConstants.STYLE_RESIZABLE, '1') != '0'; }; /** @@ -10164,7 +10167,7 @@ mxGraph.prototype.setExtendParents = function(value) * * Returns . */ -mxGraph.prototype.isExtendParentsOnAdd = function() +mxGraph.prototype.isExtendParentsOnAdd = function(cell) { return this.extendParentsOnAdd; }; @@ -10184,7 +10187,7 @@ mxGraph.prototype.setExtendParentsOnAdd = function(value) }; /** - * Function: isExtendParentsOnAdd + * Function: isExtendParentsOnMove * * Returns . */ @@ -10194,7 +10197,7 @@ mxGraph.prototype.isExtendParentsOnMove = function() }; /** - * Function: setExtendParentsOnAdd + * Function: setExtendParentsOnMove * * Sets . * @@ -11188,7 +11191,7 @@ mxGraph.prototype.getCells = function(x, y, width, height, parent, result) * Function: getCellsBeyond * * Returns the children of the given parent that are contained in the - * halfpane from the given point (x0, y0) rightwards and/or downwards + * halfpane from the given point (x0, y0) rightwards or downwards * depending on rightHalfpane and bottomHalfpane. * * Parameters: @@ -11224,10 +11227,8 @@ mxGraph.prototype.getCellsBeyond = function(x0, y0, parent, rightHalfpane, botto if (this.isCellVisible(child) && state != null) { - if ((!rightHalfpane || - state.x >= x0) && - (!bottomHalfpane || - state.y >= y0)) + if ((!rightHalfpane || state.x >= x0) && + (!bottomHalfpane || state.y >= y0)) { result.push(child); } diff --git a/javascript/src/js/view/mxGraphView.js b/javascript/src/js/view/mxGraphView.js index f82fb9cbd..04c88bdaf 100644 --- a/javascript/src/js/view/mxGraphView.js +++ b/javascript/src/js/view/mxGraphView.js @@ -94,8 +94,7 @@ mxGraphView.prototype.updatingDocumentResource = (mxClient.language != 'none') ? * Specifies if string values in cell styles should be evaluated using * . This will only be used if the string values can't be mapped * to objects using . Default is false. NOTE: Enabling this - * switch carries a possible security risk (see the section on security in - * the manual). + * switch carries a possible security risk. */ mxGraphView.prototype.allowEval = false; diff --git a/javascript/src/js/view/mxLayoutManager.js b/javascript/src/js/view/mxLayoutManager.js index f2c2ef676..45c7a2698 100644 --- a/javascript/src/js/view/mxLayoutManager.js +++ b/javascript/src/js/view/mxLayoutManager.js @@ -201,11 +201,21 @@ mxLayoutManager.prototype.beforeUndo = function(undoableEdit) { var cells = this.getCellsForChanges(undoableEdit.changes); var model = this.getGraph().getModel(); + + // Adds all descendants + var tmp = []; + + for (var i = 0; i < cells.length; i++) + { + tmp = tmp.concat(model.getDescendants(cells[i])); + } + + cells = tmp; // Adds all parent ancestors if (this.isBubbling()) { - var tmp = model.getParents(cells); + tmp = model.getParents(cells); while (tmp.length > 0) { @@ -214,7 +224,22 @@ mxLayoutManager.prototype.beforeUndo = function(undoableEdit) } } - this.layoutCells(mxUtils.sortCells(cells, false)); + this.executeLayoutForCells(cells); +}; + +/** + * Function: executeLayout + * + * Executes the given layout on the given parent. + */ +mxLayoutManager.prototype.executeLayoutForCells = function(cells) +{ + // Adds reverse to this array to avoid duplicate execution of leafes + // Works like capture/bubble for events, first executes all layout + // from top to bottom and in reverse order and removes duplicates. + var sorted = mxUtils.sortCells(cells, true); + sorted = sorted.concat(sorted.slice().reverse()); + this.layoutCells(sorted); }; /** @@ -337,8 +362,10 @@ mxLayoutManager.prototype.layoutCells = function(cells) { if (cells[i] != model.getRoot() && cells[i] != last) { - last = cells[i]; - this.executeLayout(this.getLayout(last), last); + if (this.executeLayout(this.getLayout(cells[i]), cells[i])) + { + last = cells[i]; + } } } @@ -358,10 +385,15 @@ mxLayoutManager.prototype.layoutCells = function(cells) */ mxLayoutManager.prototype.executeLayout = function(layout, parent) { + var result = false; + if (layout != null && parent != null) { layout.execute(parent); + result = true; } + + return result; }; /** diff --git a/javascript/src/js/view/mxSpaceManager.js b/javascript/src/js/view/mxSpaceManager.js deleted file mode 100644 index b75e50af1..000000000 --- a/javascript/src/js/view/mxSpaceManager.js +++ /dev/null @@ -1,455 +0,0 @@ -/** - * Copyright (c) 2006-2013, JGraph Ltd - */ -/** - * Class: mxSpaceManager - * - * In charge of moving cells after a resize. - * - * Constructor: mxSpaceManager - * - * Constructs a new automatic layout for the given graph. - * - * Arguments: - * - * graph - Reference to the enclosing graph. - */ -function mxSpaceManager(graph, shiftRightwards, shiftDownwards, extendParents) -{ - this.resizeHandler = mxUtils.bind(this, function(sender, evt) - { - if (this.isEnabled()) - { - this.cellsResized(evt.getProperty('cells')); - } - }); - - this.foldHandler = mxUtils.bind(this, function(sender, evt) - { - if (this.isEnabled()) - { - this.cellsResized(evt.getProperty('cells')); - } - }); - - this.shiftRightwards = (shiftRightwards != null) ? shiftRightwards : true; - this.shiftDownwards = (shiftDownwards != null) ? shiftDownwards : true; - this.extendParents = (extendParents != null) ? extendParents : true; - this.setGraph(graph); -}; - -/** - * Extends mxEventSource. - */ -mxSpaceManager.prototype = new mxEventSource(); -mxSpaceManager.prototype.constructor = mxSpaceManager; - -/** - * Variable: graph - * - * Reference to the enclosing . - */ -mxSpaceManager.prototype.graph = null; - -/** - * Variable: enabled - * - * Specifies if event handling is enabled. Default is true. - */ -mxSpaceManager.prototype.enabled = true; - -/** - * Variable: shiftRightwards - * - * Specifies if event handling is enabled. Default is true. - */ -mxSpaceManager.prototype.shiftRightwards = true; - -/** - * Variable: shiftDownwards - * - * Specifies if event handling is enabled. Default is true. - */ -mxSpaceManager.prototype.shiftDownwards = true; - -/** - * Variable: extendParents - * - * Specifies if event handling is enabled. Default is true. - */ -mxSpaceManager.prototype.extendParents = true; - -/** - * Variable: resizeHandler - * - * Holds the function that handles the move event. - */ -mxSpaceManager.prototype.resizeHandler = null; - -/** - * Variable: foldHandler - * - * Holds the function that handles the fold event. - */ -mxSpaceManager.prototype.foldHandler = null; - -/** - * Function: isCellIgnored - * - * Sets the graph that the layouts operate on. - */ -mxSpaceManager.prototype.isCellIgnored = function(cell) -{ - return !this.getGraph().getModel().isVertex(cell); -}; - -/** - * Function: isCellShiftable - * - * Sets the graph that the layouts operate on. - */ -mxSpaceManager.prototype.isCellShiftable = function(cell) -{ - return this.getGraph().getModel().isVertex(cell) && - this.getGraph().isCellMovable(cell); -}; - -/** - * Function: isEnabled - * - * Returns true if events are handled. This implementation - * returns . - */ -mxSpaceManager.prototype.isEnabled = function() -{ - return this.enabled; -}; - -/** - * Function: setEnabled - * - * Enables or disables event handling. This implementation - * updates . - * - * Parameters: - * - * enabled - Boolean that specifies the new enabled state. - */ -mxSpaceManager.prototype.setEnabled = function(value) -{ - this.enabled = value; -}; - -/** - * Function: isShiftRightwards - * - * Returns true if events are handled. This implementation - * returns . - */ -mxSpaceManager.prototype.isShiftRightwards = function() -{ - return this.shiftRightwards; -}; - -/** - * Function: setShiftRightwards - * - * Enables or disables event handling. This implementation - * updates . - * - * Parameters: - * - * enabled - Boolean that specifies the new enabled state. - */ -mxSpaceManager.prototype.setShiftRightwards = function(value) -{ - this.shiftRightwards = value; -}; - -/** - * Function: isShiftDownwards - * - * Returns true if events are handled. This implementation - * returns . - */ -mxSpaceManager.prototype.isShiftDownwards = function() -{ - return this.shiftDownwards; -}; - -/** - * Function: setShiftDownwards - * - * Enables or disables event handling. This implementation - * updates . - * - * Parameters: - * - * enabled - Boolean that specifies the new enabled state. - */ -mxSpaceManager.prototype.setShiftDownwards = function(value) -{ - this.shiftDownwards = value; -}; - -/** - * Function: isExtendParents - * - * Returns true if events are handled. This implementation - * returns . - */ -mxSpaceManager.prototype.isExtendParents = function() -{ - return this.extendParents; -}; - -/** - * Function: setShiftDownwards - * - * Enables or disables event handling. This implementation - * updates . - * - * Parameters: - * - * enabled - Boolean that specifies the new enabled state. - */ -mxSpaceManager.prototype.setExtendParents = function(value) -{ - this.extendParents = value; -}; - -/** - * Function: getGraph - * - * Returns the graph that this layout operates on. - */ -mxSpaceManager.prototype.getGraph = function() -{ - return this.graph; -}; - -/** - * Function: setGraph - * - * Sets the graph that the layouts operate on. - */ -mxSpaceManager.prototype.setGraph = function(graph) -{ - if (this.graph != null) - { - this.graph.removeListener(this.resizeHandler); - this.graph.removeListener(this.foldHandler); - } - - this.graph = graph; - - if (this.graph != null) - { - this.graph.addListener(mxEvent.RESIZE_CELLS, this.resizeHandler); - this.graph.addListener(mxEvent.FOLD_CELLS, this.foldHandler); - } -}; - -/** - * Function: cellsResized - * - * Called from to invoke the hook in the - * automatic layout of each modified cell's parent. The event is used to - * define the x- and y-coordinates passed to the move function. - * - * Parameters: - * - * cell - Array of that have been resized. - */ -mxSpaceManager.prototype.cellsResized = function(cells) -{ - if (cells != null) - { - var model = this.graph.getModel(); - - // Raising the update level should not be required - // since only one call is made below - model.beginUpdate(); - try - { - for (var i = 0; i < cells.length; i++) - { - if (!this.isCellIgnored(cells[i])) - { - this.cellResized(cells[i]); - break; - } - } - } - finally - { - model.endUpdate(); - } - } -}; - -/** - * Function: cellResized - * - * Called from to invoke the hook in the - * automatic layout of each modified cell's parent. The event is used to - * define the x- and y-coordinates passed to the move function. - * - * Parameters: - * - * cell - that has been resized. - */ -mxSpaceManager.prototype.cellResized = function(cell) -{ - var graph = this.getGraph(); - var view = graph.getView(); - var model = graph.getModel(); - - var state = view.getState(cell); - var pstate = view.getState(model.getParent(cell)); - - if (state != null && pstate != null) - { - var cells = this.getCellsToShift(state); - var geo = model.getGeometry(cell); - - if (cells != null && geo != null) - { - var tr = view.translate; - var scale = view.scale; - - var x0 = state.x - pstate.origin.x - tr.x * scale; - var y0 = state.y - pstate.origin.y - tr.y * scale; - var right = state.x + state.width; - var bottom = state.y + state.height; - - var dx = state.width - geo.width * scale + x0 - geo.x * scale; - var dy = state.height - geo.height * scale + y0 - geo.y * scale; - - var fx = 1 - geo.width * scale / state.width; - var fy = 1 - geo.height * scale / state.height; - - model.beginUpdate(); - try - { - for (var i = 0; i < cells.length; i++) - { - if (cells[i] != cell && this.isCellShiftable(cells[i])) - { - this.shiftCell(cells[i], dx, dy, x0, y0, right, bottom, fx, fy, - this.isExtendParents() && graph.isExtendParent(cells[i])); - } - } - } - finally - { - model.endUpdate(); - } - } - } -}; - -/** - * Function: shiftCell - * - * Called from to invoke the hook in the - * automatic layout of each modified cell's parent. The event is used to - * define the x- and y-coordinates passed to the move function. - * - * Parameters: - * - * cell - Array of that have been moved. - * evt - Mouse event that represents the mousedown. - */ -mxSpaceManager.prototype.shiftCell = function(cell, dx, dy, Ox0, y0, right, - bottom, fx, fy, extendParent) -{ - var graph = this.getGraph(); - var state = graph.getView().getState(cell); - - if (state != null) - { - var model = graph.getModel(); - var geo = model.getGeometry(cell); - - if (geo != null) - { - model.beginUpdate(); - try - { - if (this.isShiftRightwards()) - { - if (state.x >= right) - { - geo = geo.clone(); - geo.translate(-dx, 0); - } - else - { - var tmpDx = Math.max(0, state.x - x0); - geo = geo.clone(); - geo.translate(-fx * tmpDx, 0); - } - } - - if (this.isShiftDownwards()) - { - if (state.y >= bottom) - { - geo = geo.clone(); - geo.translate(0, -dy); - } - else - { - var tmpDy = Math.max(0, state.y - y0); - geo = geo.clone(); - geo.translate(0, -fy * tmpDy); - } - } - - if (geo != model.getGeometry(cell)) - { - model.setGeometry(cell, geo); - - // Parent size might need to be updated if this - // is seen as part of the resize - if (extendParent) - { - graph.extendParent(cell); - } - } - } - finally - { - model.endUpdate(); - } - } - } -}; - -/** - * Function: getCellsToShift - * - * Returns the cells to shift after a resize of the - * specified . - */ -mxSpaceManager.prototype.getCellsToShift = function(state) -{ - var graph = this.getGraph(); - var parent = graph.getModel().getParent(state.cell); - var down = this.isShiftDownwards(); - var right = this.isShiftRightwards(); - - return graph.getCellsBeyond(state.x + ((down) ? 0 : state.width), - state.y + ((down && right) ? 0 : state.height), parent, right, down); -}; - -/** - * Function: destroy - * - * Removes all handlers from the and deletes the reference to it. - */ -mxSpaceManager.prototype.destroy = function() -{ - this.setGraph(null); -}; diff --git a/php/src/mxServer.php b/php/src/mxServer.php index 0e0c8a7f1..c4f0e0d75 100644 --- a/php/src/mxServer.php +++ b/php/src/mxServer.php @@ -4,15 +4,15 @@ * * Class: mxServer * - * Bootstrapping for the PHP backend. This is version 3.1.3.0 + * Bootstrapping for the PHP backend. This is version 3.2.0.0 * of mxGraph. * * Variable: MXGRAPH-VERSION * * Constant that holds the current mxGraph version. The current version - * is 3.1.3.0. + * is 3.2.0.0. */ -define("MXGRAPH-VERSION", "3.1.3.0"); +define("MXGRAPH-VERSION", "3.2.0.0"); include_once("util/mxLog.php"); include_once("util/mxConstants.php"); diff --git a/php/src/util/mxConstants.php b/php/src/util/mxConstants.php index 7234a38e7..243714b78 100644 --- a/php/src/util/mxConstants.php +++ b/php/src/util/mxConstants.php @@ -849,7 +849,7 @@ class mxConstants * Variable: STYLE_FONTSTYLE * * Defines the key for the fontStyle style. Values may be any logical AND - * (sum) of , , and . + * (sum) of , and . * The type of the value is int. */ public static $STYLE_FONTSTYLE = "fontStyle"; @@ -911,11 +911,6 @@ class mxConstants */ public static $FONT_UNDERLINE = 4; - /** - * Variable: FONT_SHADOW - */ - public static $FONT_SHADOW = 8; - /** * Variable: SHAPE_RECTANGLE */
    PKuniqueId
    FK1foreignKey