### start Source: https://jgraph.github.io/mxgraph/java/docs/com/mxgraph/swing/handler/mxConnectionHandler.html Starts the connection process. ```APIDOC ## void start(MouseEvent e, mxCellState state) ### Description Starts the connection process with the given mouse event and source cell state. ### Parameters #### Path Parameters - **e** (MouseEvent) - The mouse event that initiated the connection. - **state** (mxCellState) - The cell state of the source. ``` -------------------------------- ### mxEvent.CONNECT Listener Example Source: https://jgraph.github.io/mxgraph/docs/js-api/files/handler/mxConnectionHandler-js.html An example demonstrating how to listen for the mxEvent.CONNECT event to get details about newly created edges, including source, target, and port IDs. ```APIDOC ## mxEvent.CONNECT Listener Example ### Description Fires between begin- and endUpdate in connect. The cell property contains the inserted edge, the event and target properties contain the respective arguments that were passed to connect (where target corresponds to the dropTarget argument). Finally, the terminal property corresponds to the target argument in connect or the clone of the source terminal if createTarget is enabled. Note that the target is the cell under the mouse where the mouse button was released. Depending on the logic in the handler, this doesn’t necessarily have to be the target of the inserted edge. To print the source, target or any optional ports IDs that the edge is connected to, the following code can be used. To get more details about the actual connection point, mxGraph.getConnectionConstraint can be used. To resolve the port IDs, use mxGraphModel.getCell. ### Code Example ```javascript graph.connectionHandler.addListener(mxEvent.CONNECT, function(sender, evt) { var edge = evt.getProperty('cell'); var source = graph.getModel().getTerminal(edge, true); var target = graph.getModel().getTerminal(edge, false); var style = graph.getCellStyle(edge); var sourcePortId = style[mxConstants.STYLE_SOURCE_PORT]; var targetPortId = style[mxConstants.STYLE_TARGET_PORT]; mxLog.show(); mxLog.debug('connect', edge, source.id, target.id, sourcePortId, targetPortId); }); ``` ``` -------------------------------- ### start Source: https://jgraph.github.io/mxgraph/docs/js-api/files/handler/mxEdgeSegmentHandler-js.html Starts the handling of the mouse gesture. ```APIDOC ## start ### Description Starts the handling of the mouse gesture. ### Method `mxEdgeSegmentHandler.prototype.start(x, y, index)` ### Parameters * `x`: Any * `y`: Any * `index`: Any ``` -------------------------------- ### start Method Source: https://jgraph.github.io/mxgraph/java/docs/com/mxgraph/swing/handler/mxCellHandler.html Starts handling a gesture at the given handle index. ```java void start​(java.awt.event.MouseEvent e, int index) ``` -------------------------------- ### start Source: https://jgraph.github.io/mxgraph/docs/js-api/files/handler/mxConnectionHandler-js.html Initiates a new connection process, specifying the starting state and coordinates. ```APIDOC ## start ### Description Starts a new connection for the given state and coordinates. ### Method POST ### Endpoint mxConnectionHandler.prototype.start(state, x, y, edgeState) ### Parameters #### Path Parameters - **state** (mxCellState) - Required - The starting cell state. - **x** (Number) - Required - The x-coordinate to start the connection. - **y** (Number) - Required - The y-coordinate to start the connection. - **edgeState** (mxCellState) - Required - The edge state for the preview. ``` -------------------------------- ### start Source: https://jgraph.github.io/mxgraph/java/docs/com/mxgraph/swing/handler/mxInsertHandler.html Starts the handler with the given mouse event. ```APIDOC ## start(MouseEvent e) ### Description Starts the handler with the given mouse event. ### Method `start(MouseEvent e)` ### Parameters #### Path Parameters - **e** (MouseEvent) - Required - The mouse event to start the handler with. ``` -------------------------------- ### start Source: https://jgraph.github.io/mxgraph/java/docs/com/mxgraph/swing/handler/mxConnectionHandler.html Starts the connection handling process with a given mouse event and cell state. ```APIDOC ## start ### Description Starts the connection handling process. ### Method public void start(java.awt.event.MouseEvent e, mxmxCellState state) ``` -------------------------------- ### start Source: https://jgraph.github.io/mxgraph/docs/js-api/files/handler/mxPanningHandler-js.html Starts panning at the given event. ```APIDOC ## start ### Description Starts panning at the given event. ### Parameters * **evt** (mxMouseEvent) - The mouse event. ``` -------------------------------- ### start Source: https://jgraph.github.io/mxgraph/docs/js-api/files/handler/mxEdgeSegmentHandler-js.html Starts the handling of the mouse gesture at the specified coordinates and index. ```APIDOC ## start ### Description Starts the handling of the mouse gesture. ### Method `mxEdgeSegmentHandler.prototype.start(x, y, index)` ### Parameters #### Path Parameters * **x** (number) - The x-coordinate to start the gesture. * **y** (number) - The y-coordinate to start the gesture. * **index** (number) - The index to start the gesture. ### Response Starts the mouse gesture handling. ``` -------------------------------- ### Insert Vertex Example Source: https://jgraph.github.io/mxgraph/docs/js-api/files/view/mxGraph-js.html Demonstrates how to insert a new vertex into the graph. It shows how to get the mouse event coordinates and use them to position the new vertex. ```javascript var pt = graph.getPointForEvent(evt); var parent = graph.getDefaultParent(); graph.insertVertex(parent, null, 'Hello, World!', x, y, 220, 30); ``` -------------------------------- ### start Source: https://jgraph.github.io/mxgraph/java/docs/com/mxgraph/swing/handler/mxConnectPreview.html Initiates the connection preview process. ```APIDOC ## start(MouseEvent e, mxCellState startState, String style) ### Description Updates the style of the edge preview from the incoming edge and starts the preview. ### Parameters * `e` (MouseEvent) - The mouse event that triggered the start. * `startState` (mxCellState) - The cell state from which the connection originates. * `style` (String) - The style to be applied to the edge preview. ``` -------------------------------- ### Set Guide Visibility Source: https://jgraph.github.io/mxgraph/docs/js-api/files/util/mxGuide-js.html Shows or hides the current guides. Use 'true' to show and 'false' to hide. ```javascript mxGuide.prototype.setVisible = function(visible) ``` -------------------------------- ### mxGuide Source: https://jgraph.github.io/mxgraph/docs/js-api/index/Functions11.html Constructs a new guide object. ```APIDOC ## mxGuide ### Description Constructs a new guide object. ### Parameters - **graph** (any) - The graph instance. - **states** (array) - An array of cell states. ``` -------------------------------- ### Install Change Handler Source: https://jgraph.github.io/mxgraph/docs/js-api/files/editor/mxEditor-js.html Installs listeners to automatically validate the graph. Fires a event on each change of the root. ```javascript mxEditor.prototype.installChangeHandler = function (| graph| ) ``` -------------------------------- ### start Source: https://jgraph.github.io/mxgraph/java/docs/com/mxgraph/swing/handler/mxGraphHandler.html Starts a new interaction, typically a drag or selection operation, based on the given mouse event. ```APIDOC ## start ### Description Starts a new interaction, typically a drag or selection operation, based on the given mouse event. ### Method ``` public void start(java.awt.event.MouseEvent e) ``` ### Parameters * `e` (java.awt.event.MouseEvent) - The mouse event that initiates the interaction. ``` -------------------------------- ### mxGuide.prototype.hide Source: https://jgraph.github.io/mxgraph/docs/js-api/files/util/mxGuide-js.html Hides all current guides. ```APIDOC ## mxGuide.prototype.hide ### Description Hides all current guides. ### Signature `hide()` ``` -------------------------------- ### Start Connection Preview Source: https://jgraph.github.io/mxgraph/java/docs/com/mxgraph/swing/handler/mxConnectPreview.html Initiates the connection preview process, updating the edge preview's style from the incoming edge. Requires a mouse event, the starting cell state, and the edge style. ```java public void start(java.awt.event.MouseEvent e, mxCellState startState, java.lang.String style) ``` -------------------------------- ### Start Connection Handling Source: https://jgraph.github.io/mxgraph/java/docs/com/mxgraph/swing/handler/mxConnectionHandler.html Starts the connection handling process with the given mouse event and cell state. ```java public void start(java.awt.event.MouseEvent e, mxCellState state) ``` -------------------------------- ### start Function Source: https://jgraph.github.io/mxgraph/docs/js-api/files/handler/mxEdgeSegmentHandler-js.html Starts the handling of the mouse gesture. Accepts x, y, and index as arguments. ```javascript mxEdgeSegmentHandler.prototype.start = function(x, y, index) { // Starts the handling of the mouse gesture. } ``` -------------------------------- ### Resource File Entry Example Source: https://jgraph.github.io/mxgraph/docs/js-api/files/util/mxResources-js.html An example of a key-value entry in an English language resource file for mxGraph. ```properties welcomeMessage=Welcome to mxGraph! ``` -------------------------------- ### mxGuide.prototype.setVisible Source: https://jgraph.github.io/mxgraph/docs/js-api/files/util/mxGuide-js.html Shows or hides the current guides. ```APIDOC ## mxGuide.prototype.setVisible ### Description Shows or hides the current guides. ### Signature `setVisible(visible)` ### Parameters * **visible** (boolean) - Whether to show or hide the guides. ``` -------------------------------- ### installListeners Source: https://jgraph.github.io/mxgraph/docs/js-api/files/view/mxGraphView-js.html Installs the required listeners in the container. ```APIDOC ## installListeners ### Description Installs the required listeners in the container. ### Method POST ### Endpoint /mxGraphView/installListeners ``` -------------------------------- ### Check Event for Guide Enablement Source: https://jgraph.github.io/mxgraph/docs/js-api/files/util/mxGuide-js.html Returns true if the guide should be enabled for the given native event. The default implementation always returns true, indicating guides are generally enabled. ```javascript mxGuide.prototype.isEnabledForEvent = function(evt) ``` -------------------------------- ### Get Start Point of Connection Source: https://jgraph.github.io/mxgraph/java/docs/com/mxgraph/swing/handler/mxConnectPreview.html Retrieves the starting point (mxPoint) for the current connection preview. ```java public mxPoint getStartPoint() ``` -------------------------------- ### createGhostPreview Source: https://jgraph.github.io/mxgraph/docs/js-api/files/handler/mxVertexHandler-js.html Starts the handling of the mouse gesture. ```APIDOC ## createGhostPreview ### Description Starts the handling of the mouse gesture. ### Method `mxVertexHandler.prototype.createGhostPreview` ``` -------------------------------- ### Get Actual Swimlane Start Size Source: https://jgraph.github.io/mxgraph/docs/js-api/index/General7.html Returns the actual start size of a swimlane, considering direction and flip styles. ```javascript mxGraph.prototype.getActualStartSize = function(swimlane, ignoreState) { // ... } ``` -------------------------------- ### Basic Toolbar Configuration Example Source: https://jgraph.github.io/mxgraph/docs/js-api/files/io/mxDefaultToolbarCodec-js.html Demonstrates how to configure a basic toolbar with items, separators, and different modes using XML. This includes save, select, and connect actions. ```xml

``` -------------------------------- ### START Event Source: https://jgraph.github.io/mxgraph/docs/js-api/index/General17.html Specifies the event name for 'start'. This event is typically fired when an operation begins. ```APIDOC ## START Event ### Description Specifies the event name for start. ### Event Name `'start'` ``` -------------------------------- ### Start Method Source: https://jgraph.github.io/mxgraph/java/docs/com/mxgraph/swing/handler/mxMovePreview.html Initiates the move preview operation with a given mouse event and initial state. ```APIDOC ## Start Method ### start Initiates the move preview operation. * **e** (java.awt.event.MouseEvent) - The mouse event that triggered the start. * **state** (mxCellState) - The initial state of the cell being moved. ``` -------------------------------- ### Get Guide Color Source: https://jgraph.github.io/mxgraph/docs/js-api/files/util/mxGuide-js.html Returns the color for the given state. This allows for dynamic coloring of guides based on the state they represent. ```javascript mxGuide.prototype.getGuideColor = function(state, horizontal) ``` -------------------------------- ### Start Compact Tree Layout Algorithm Source: https://jgraph.github.io/mxgraph/docs/js-api/files/layout/mxCompactTreeLayout-js.html Initiates the actual compact tree layout algorithm starting from the given node. This is an internal method called by `execute`. ```javascript function layout(node) ``` -------------------------------- ### Get Guide Tolerance Source: https://jgraph.github.io/mxgraph/docs/js-api/files/util/mxGuide-js.html Returns the tolerance for the guides. The default value is gridSize / 2, which can be adjusted based on whether the grid is enabled. ```javascript mxGuide.prototype.getGuideTolerance = function(gridEnabled) ``` -------------------------------- ### begin Source: https://jgraph.github.io/mxgraph/docs/js-api/files/util/mxSvgCanvas2D-js.html Initializes a new path for drawing. ```APIDOC ## begin ### Description Extends the superclass to create a new path for drawing operations. ### Method POST ### Endpoint /begin ### Parameters None ### Response #### Success Response (200) - **status** (string) - Indicates the path has been started. ``` -------------------------------- ### Start Compact Tree Layout with mxCompactTreeLayout Source: https://jgraph.github.io/mxgraph/docs/js-api/index/Functions10.html Starts the actual compact tree layout algorithm at the given node. ```javascript mxCompactTreeLayout.prototype.layout = function(node) ``` -------------------------------- ### Get Actual Swimlane Start Size Source: https://jgraph.github.io/mxgraph/docs/js-api/index/Functions7.html Calculates the actual starting size of a swimlane, considering direction and flip styles. Optionally ignores the current state. ```javascript mxGraph.prototype.getActualStartSize = function(swimlane, ignoreState) { // Returns the actual start size of the given swimlane taking into account direction and horizontal and vertial flip styles. } ``` -------------------------------- ### Initialize mxEditor with Configuration Source: https://jgraph.github.io/mxgraph/docs/js-api/files/editor/mxEditor-js.html This example shows how to create a new mxEditor instance, optionally providing a configuration loaded from an XML file. The mxUtils.load function is used to fetch the configuration. ```javascript var config = mxUtils.load('config/diagrameditor.xml').getDocumentElement(); var editor = new mxEditor(config); ``` -------------------------------- ### Install Automatic Tree Layout Source: https://jgraph.github.io/mxgraph/java/docs/com/mxgraph/view/mxLayoutManager.html Installs an automatic tree layout in a graph using mxLayoutManager. This example demonstrates how to override the getLayout method to return a specific layout instance for a given parent. ```Java new mxLayoutManager(graph) { mxCompactTreeLayout layout = new mxCompactTreeLayout(graph); public mxIGraphLayout getLayout(Object parent) { if (graph.getModel().getChildCount(parent) > 0) { return layout; } return null; } }; ``` -------------------------------- ### begin Source: https://jgraph.github.io/mxgraph/docs/js-api/files/util/mxVmlCanvas2D-js.html Extends superclass to create a path. ```APIDOC ## begin ### Description Extends superclass to create path. ### Method `mxVmlCanvas2D.prototype.begin` ``` -------------------------------- ### getTranslateForEvent Source: https://jgraph.github.io/mxgraph/docs/js-api/files/view/mxOutline-js.html Gets the translate for the given mouse event. Here is an example to limit the outline to stay within positive coordinates: ```APIDOC ## getTranslateForEvent ### Description Gets the translate for the given mouse event. Here is an example to limit the outline to stay within positive coordinates: ```javascript outline.getTranslateForEvent = function(me) { var pt = new mxPoint(me.getX() - this.startX, me.getY() - this.startY); if (!this.zoom) { var tr = this.source.view.translate; pt.x = Math.max(tr.x * this.outline.view.scale, pt.x); pt.y = Math.max(tr.y * this.outline.view.scale, pt.y); } return pt; }; ``` ### Method `getTranslateForEvent(me)` ### Parameters * **me** (any) - The mouse event object. ### Returns * (object) - An object containing the translate values. ``` -------------------------------- ### Start Path and Buffer in XML Canvas Source: https://jgraph.github.io/mxgraph/docs/js-api/index/Functions2.html Starts a new path and adds it to the drawing buffer for XML canvas rendering. ```javascript mxXmlCanvas2D.prototype.begin = function() { // Start path and buffer }; ``` -------------------------------- ### Get Swimlane Start Size Source: https://jgraph.github.io/mxgraph/java/docs/com/mxgraph/view/mxGraph.html Calculates the initial size (width or height) of a swimlane, which typically contains the swimlane's title. ```java public mxRectangle getStartSize​(java.lang.Object swimlane) ``` -------------------------------- ### Example: Setting minWidth and minHeight styles Source: https://jgraph.github.io/mxgraph/docs/js-api/files/handler/mxVertexHandler-js.html Demonstrates how to apply the minWidth and minHeight styles when inserting a vertex. This ensures the vertex adheres to the defined minimum dimensions. ```javascript graph.insertVertex(parent, null, 'Hello,', 20, 20, 80, 30, 'minWidth=100;minHeight=100;'); ``` -------------------------------- ### Get Index of Stylename Source: https://jgraph.github.io/mxgraph/java/docs/com/mxgraph/util/mxStyleUtils.html Finds the starting index of a specific stylename within a given style string. Returns -1 if the stylename is not found. ```java public static int indexOfStylename​(java.lang.String style, java.lang.String stylename) ``` -------------------------------- ### mxGuide.prototype.getGuideTolerance Source: https://jgraph.github.io/mxgraph/docs/js-api/files/util/mxGuide-js.html Returns the tolerance for the guides. ```APIDOC ## mxGuide.prototype.getGuideTolerance ### Description Returns the tolerance for the guides. ### Signature `getGuideTolerance(gridEnabled)` ### Parameters * **gridEnabled** (boolean) - Whether the grid is currently enabled. ``` -------------------------------- ### Get Gradient ID Source: https://jgraph.github.io/mxgraph/java/docs/com/mxgraph/canvas/mxSvgCanvas.html Generates a unique ID for a gradient based on its start color, end color, and direction. This ID can be used to reference the gradient in SVG. ```java public java.lang.String getGradientId (java.lang.String start, java.lang.String end, java.lang.String direction) ``` -------------------------------- ### begin Source: https://jgraph.github.io/mxgraph/docs/js-api/files/util/mxAbstractCanvas2D-js.html Starts a new path. This method should be called before defining a new shape or line sequence. ```APIDOC ## begin ### Description Starts a new path. ### Method N/A (This is a path construction method, not a typical API endpoint). ### Parameters N/A ### Request Example N/A ### Response N/A ``` -------------------------------- ### mxVertexHandler.prototype.start Source: https://jgraph.github.io/mxgraph/docs/js-api/index/Functions16.html Starts the handling of the mouse gesture. ```APIDOC ## mxVertexHandler.prototype.start ### Description Starts the handling of the mouse gesture. ### Method N/A (Event handler) ### Endpoint N/A ### Parameters #### Path Parameters - **x** (number) - Required - The x-coordinate of the mouse gesture. - **y** (number) - Required - The y-coordinate of the mouse gesture. - **index** (number) - Optional - The index of the segment. ``` -------------------------------- ### begin() Source: https://jgraph.github.io/mxgraph/java/docs/com/mxgraph/canvas/mxICanvas2D.html Begins a new path. This method should be called before defining a new shape or sequence of drawing operations. ```APIDOC ## begin() ### Description Begins a new path. This method should be called before defining a new shape or sequence of drawing operations. ### Method void ### Parameters None ### Request Example None ### Response None ``` -------------------------------- ### Get Distance of Intersection with Rectangle Perimeter Source: https://jgraph.github.io/mxgraph/java/docs/com/mxgraph/util/mxCurve.html Returns the distance from the start of the curve to the first intersection point with the rectangle's boundary. Returns -1 if no intersection is found. ```java public double intersectsRectPerimeterDist​( java.lang.String index, mxRectangle rect) ``` -------------------------------- ### mxGraphView.prototype.installListeners Source: https://jgraph.github.io/mxgraph/docs/js-api/files/view/mxGraphView-js.html Installs the required listeners in the container. ```APIDOC ## mxGraphView.prototype.installListeners ### Description Installs the required listeners in the container. ### Method POST ### Endpoint /mxGraphView/installListeners ``` -------------------------------- ### Get Translate for Event with Coordinate Limiting Source: https://jgraph.github.io/mxgraph/docs/js-api/files/view/mxOutline-js.html This example demonstrates how to limit the outline to stay within positive coordinates when handling mouse events. It overrides the default getTranslateForEvent method. ```javascript outline.getTranslateForEvent = function(me) { var pt = new mxPoint(me.getX() - this.startX, me.getY() - this.startY); if (!this.zoom) { var tr = this.source.view.translate; pt.x = Math.max(tr.x * this.outline.view.scale, pt.x); pt.y = Math.max(tr.y * this.outline.view.scale, pt.y); } return pt; }; ``` -------------------------------- ### Get Gradient Element Source: https://jgraph.github.io/mxgraph/java/docs/com/mxgraph/canvas/mxSvgCanvas.html Retrieves an existing gradient element or creates a new one if it doesn't exist. It uses the start color, end color, and direction to identify or generate the gradient. ```java public org.w3c.dom.Element getGradientElement (java.lang.String start, java.lang.String end, java.lang.String direction) ``` -------------------------------- ### begin Source: https://jgraph.github.io/mxgraph/java/docs/com/mxgraph/canvas/mxGraphicsCanvas2D.html Begins a new path. This method is part of the mxICanvas2D interface. ```APIDOC ## begin ### Description Begins a new path. ### Method public void begin() ### Interface mxICanvas2D ``` -------------------------------- ### GET Source: https://jgraph.github.io/mxgraph/docs/js-api/index/General7.html Specifies the event name for get. Fires in fireEvent after a get event. ```APIDOC ## GET ### Description Specifies the event name for get. Fires in `fireEvent` after a get event. ### Event Name 'get' ``` -------------------------------- ### setVisible Source: https://jgraph.github.io/mxgraph/docs/js-api/files/util/mxGuide-js.html Shows or hides the current guides. ```APIDOC ## setVisible(visible) ### Description Shows or hides the current guides. ### Parameters * **visible** (boolean) - Whether to show or hide the guides. ``` -------------------------------- ### MouseTracker Field: start Source: https://jgraph.github.io/mxgraph/java/docs/com/mxgraph/swing/mxGraphOutline.MouseTracker.html Declares the protected 'start' field of type java.awt.Point, used to store the starting point of a mouse action. ```java protected java.awt.Point start ``` -------------------------------- ### Begin Source: https://jgraph.github.io/mxgraph/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas2D.html Begins a new path for drawing. ```APIDOC ## Begin ### Description Begins a new path for drawing operations. Subsequent drawing commands will define this path. ### Method void Begin() ### Endpoint N/A (Method call) ``` -------------------------------- ### mxGraph.prototype.startEditing Source: https://jgraph.github.io/mxgraph/docs/js-api/files/view/mxGraph-js.html Starts the editor for the given cell. ```APIDOC ## mxGraph.prototype.startEditing ### Description Starts the editor for the given cell. ### Method (Not specified, likely internal or part of a larger class method) ### Parameters - **cell**: (mxCell) - The cell to start editing. - **trigger**: (Event) - The event that triggered the start of editing. ``` -------------------------------- ### mxEdgeHandler.prototype.start Source: https://jgraph.github.io/mxgraph/docs/js-api/files/handler/mxEdgeHandler-js.html Starts the handling of the mouse gesture. ```APIDOC ## start ### Description Starts the handling of the mouse gesture. ### Method `mxEdgeHandler.prototype.start` ### Parameters * `x` (number) - The x-coordinate. * `y` (number) - The y-coordinate. * `index` (number) - The index of the handle. ``` -------------------------------- ### getStartPoint Source: https://jgraph.github.io/mxgraph/java/docs/com/mxgraph/swing/handler/mxConnectPreview.html Returns the starting point of the connection preview. ```APIDOC ## getStartPoint() ### Description Returns the starting point (in screen coordinates) of the connection preview. ### Returns * (mxPoint) - The starting point of the preview. ``` -------------------------------- ### mxVertexHandler.prototype.createGhostPreview Source: https://jgraph.github.io/mxgraph/docs/js-api/index/Functions3.html Starts the handling of the mouse gesture. ```APIDOC ## mxVertexHandler.prototype.createGhostPreview ### Description Starts the handling of the mouse gesture. ### Method Not specified ### Endpoint Not specified ### Parameters #### Path Parameters Not specified #### Query Parameters Not specified #### Request Body Not specified ### Request Example Not specified ### Response #### Success Response (200) Not specified #### Response Example Not specified ``` -------------------------------- ### mxMouseEvent.prototype.getY Source: https://jgraph.github.io/mxgraph/docs/js-api/index/Functions7.html Returns evt.clientY. ```APIDOC ## mxMouseEvent.prototype.getY ### Description Returns evt.clientY. ### Method GET (assumed) ### Endpoint /mxMouseEvent.prototype.getY ### Returns - clientY (number) - The clientY coordinate of the event. ``` -------------------------------- ### mxGuide.prototype.createGuideShape Source: https://jgraph.github.io/mxgraph/docs/js-api/files/util/mxGuide-js.html Returns the mxShape to be used for painting the respective guide. ```APIDOC ## mxGuide.prototype.createGuideShape ### Description Returns the mxShape to be used for painting the respective guide. ### Signature `createGuideShape(horizontal)` ### Parameters * **horizontal** (boolean) - Whether the guide is horizontal. ``` -------------------------------- ### mxEditor.prototype.installDblClickHandler Source: https://jgraph.github.io/mxgraph/docs/js-api/files/editor/mxEditor-js.html Installs a double-click handler for the graph. ```APIDOC ## mxEditor.prototype.installDblClickHandler ### Description Installs a double-click handler on the graph. This handler invokes `dblClickAction` and resets the selection tool in the toolbar. ### Method `installDblClickHandler(graph)` ### Parameters #### Parameters - **graph** (mxGraph) - Required - The graph instance to attach the double-click handler to. ``` -------------------------------- ### Create Connect Preview Method Source: https://jgraph.github.io/mxgraph/java/docs/com/mxgraph/swing/handler/mxConnectionHandler.html Creates and returns a new mxConnectPreview instance. ```java protected mxConnectPreview createConnectPreview() ``` -------------------------------- ### Get Event Name Source: https://jgraph.github.io/mxgraph/docs/js-api/index/General7.html Constant for the 'get' event name. ```javascript GET: 'get' ``` -------------------------------- ### init Source: https://jgraph.github.io/mxgraph/docs/js-api/files/handler/mxConnectionHandler-js.html Initializes the connection handler, setting up necessary shapes and event listeners. ```APIDOC ## init ### Description Initializes the shapes required for this connection handler. This should be invoked if is assigned after the connection handler has been created. ### Method POST ### Endpoint mxConnectionHandler.prototype.init() ``` -------------------------------- ### Get default overlap Source: https://jgraph.github.io/mxgraph/java/docs/com/mxgraph/view/mxGraph.html Gets the default overlap value for cells. ```java public double getDefaultOverlap() ``` -------------------------------- ### Create Toolbar with Copy and Paste Actions Source: https://jgraph.github.io/mxgraph/docs/js-api/files/editor/mxDefaultToolbar-js.html Demonstrates how to initialize a toolbar with buttons for copying the selection and a combo box for pasting actions. ```javascript var toolbar = new mxDefaultToolbar(container, editor); toolbar.addItem('Copy', null, 'copy'); var combo = toolbar.addActionCombo('More actions...'); toolbar.addActionOption(combo, 'Paste', 'paste'); ``` -------------------------------- ### mxGuide.prototype.vertical Source: https://jgraph.github.io/mxgraph/docs/js-api/index/Variables16.html Specifies if vertical guides are enabled. ```APIDOC ## mxGuide.prototype.vertical ### Description Specifies if vertical guides are enabled. ### Method Not applicable (property) ### Endpoint Not applicable (property) ``` -------------------------------- ### mxRubberband start Function Source: https://jgraph.github.io/mxgraph/docs/js-api/files/handler/mxRubberband-js.html Sets the starting point for the rubberband selection. ```javascript mxRubberband.prototype.start = function(x, y) { this.currentX = x; this.currentY = y; this.update(x, y); } ``` -------------------------------- ### mxXmlCanvas2D.prototype.begin Source: https://jgraph.github.io/mxgraph/docs/js-api/index/Functions2.html Starts a new path and puts it into the drawing buffer. ```APIDOC ## mxXmlCanvas2D.prototype.begin ### Description Starts a new path and puts it into the drawing buffer. ### Method N/A ### Parameters #### Path Parameters N/A #### Query Parameters N/A #### Request Body N/A ### Request Example N/A ### Response #### Success Response (200) N/A #### Response Example N/A ``` -------------------------------- ### mxGraphHandler.prototype.start Source: https://jgraph.github.io/mxgraph/docs/js-api/index/Functions16.html Starts the handling of the mouse gesture. ```APIDOC ## mxGraphHandler.prototype.start ### Description Starts the handling of the mouse gesture. ### Method N/A (Event handler) ### Endpoint N/A ### Parameters #### Path Parameters - **cell** (mxCell) - Required - The cell to handle. - **x** (number) - Required - The x-coordinate of the mouse gesture. - **y** (number) - Required - The y-coordinate of the mouse gesture. - **cells** (Array) - Optional - The cells involved. ``` -------------------------------- ### Determine Segment of Rectangle Intersection (With Start Segment) Source: https://jgraph.github.io/mxgraph/java/docs/com/mxgraph/util/mxCurve.html A utility method to find which segment of the curve a rectangle intersects, specifying a segment to start the search from. Use 1 to start from the beginning. ```java protected int intersectRectPerimeterSeg​(java.lang.String index, mxRectangle rect, int startSegment) ``` -------------------------------- ### mxRotationHandler Method: start Source: https://jgraph.github.io/mxgraph/java/docs/com/mxgraph/swing/handler/mxRotationHandler.html Starts the rotation gesture with the given mouse event. ```java public void start​(java.awt.event.MouseEvent e) ``` -------------------------------- ### Default Swimlane Start Size Source: https://jgraph.github.io/mxgraph/dotnet/docs/html/classcom_1_1mxgraph_1_1mxConstants.html Defines the default start size for swimlanes. ```APIDOC ## DEFAULT_STARTSIZE ### Description Defines the default start size for swimlanes. Default is 40. ### Type float ### Value 40 ``` -------------------------------- ### mxCellEditor.prototype.installListeners Source: https://jgraph.github.io/mxgraph/docs/js-api/files/view/mxCellEditor-js.html Installs listeners for focus, change and standard key event handling. ```APIDOC ## mxCellEditor.prototype.installListeners ### Description Installs listeners for focus, change, and standard key event handling for the editor. ### Method (Not specified, likely internal or part of a larger process) ### Parameters * **elt** (any) - The DOM element to attach listeners to. ``` -------------------------------- ### isLabelReversed Source: https://jgraph.github.io/mxgraph/java/docs/com/mxgraph/util/mxCurve.html Checks if the label curve starts from the end target and traces to the start of the branch. ```APIDOC ## isLabelReversed ### Description Whether or not the label curve starts from the end target and traces to the start of the branch. ### Method public boolean isLabelReversed() ### Returns - **boolean** - whether the label curve is reversed ``` -------------------------------- ### Instantiate mxEditor with Configuration Source: https://jgraph.github.io/mxgraph/docs/tutorial.html Creates a new mxEditor instance and configures it using an XML configuration file. This is the primary way to set up the editor. ```javascript var config = mxUtils.load('editors/config/keyhandler-commons.xml').getDocumentElement(); var editor = new mxEditor(config); ``` -------------------------------- ### init Source: https://jgraph.github.io/mxgraph/docs/js-api/files/util/mxWindow-js.html Initializes the DOM tree that represents the window. ```APIDOC ## init ### Description Initializes the DOM tree that represents the window. ### Parameters - **x** (number) - The initial x-coordinate. - **y** (number) - The initial y-coordinate. - **width** (number) - The initial width. - **height** (number) - The initial height. - **style** (string) - The CSS style for the window. ``` -------------------------------- ### Install Insert Handler Source: https://jgraph.github.io/mxgraph/docs/js-api/files/editor/mxEditor-js.html Installs the handler for invoking insertFunction if one is defined in the editor. ```javascript mxEditor.prototype.installInsertHandler = function (| graph| ) ``` -------------------------------- ### installMoveHandler Source: https://jgraph.github.io/mxgraph/docs/js-api/files/util/mxWindow-js.html Installs the necessary event listeners for moving the window. ```APIDOC ## installMoveHandler ### Description Installs the event listeners required for moving the window. ### Method `mxWindow.prototype.installMoveHandler()` ``` -------------------------------- ### mxGuide.prototype.states Source: https://jgraph.github.io/mxgraph/docs/js-api/index/General17.html Contains the mxCellStates that are used for alignment guides. This dictionary holds the states that the guide can snap to. ```javascript mxGuide.prototype.states ``` -------------------------------- ### Hide Guides Source: https://jgraph.github.io/mxgraph/docs/js-api/files/util/mxGuide-js.html Hides all currently visible guides. This is typically called when alignment is complete or interrupted. ```javascript mxGuide.prototype.hide = function() ``` -------------------------------- ### Get X Position Source: https://jgraph.github.io/mxgraph/docs/js-api/files/layout/hierarchical/model/mxGraphAbstractHierarchyCell-js.html Gets the value of the x position on the specified layer. Requires a layer argument. ```javascript | mxGraphAbstractHierarchyCell.prototype.getX = function(| layer| ) ``` -------------------------------- ### mxCoordinateAssignment.prototype.initialCoords Source: https://jgraph.github.io/mxgraph/docs/js-api/index/Functions9.html Sets up the layout in an initial positioning. ```APIDOC ## mxCoordinateAssignment.prototype.initialCoords ### Description Sets up the layout in an initial positioning. ### Method (Initialization method) ### Parameters - **facade** (Object) - The facade object. - **model** (Object) - The model object. ``` -------------------------------- ### Create a Simple mxWindow Source: https://jgraph.github.io/mxgraph/docs/js-api/files/util/mxWindow-js.html Demonstrates how to create a basic mxWindow with a title and content element. The window is then made visible. ```javascript var tb = document.createElement('div'); var wnd = new mxWindow('Title', tb, 100, 100, 200, 200, true, true); wnd.setVisible(true); ``` -------------------------------- ### init Source: https://jgraph.github.io/mxgraph/docs/js-api/files/view/mxOutline-js.html Initializes the outline inside the given container. ```APIDOC ## init ### Description Initializes the outline inside the given container. ### Method `init(container)` ### Parameters * **container** (any) - The container element to initialize the outline in. ``` -------------------------------- ### installMaximizeHandler Source: https://jgraph.github.io/mxgraph/docs/js-api/files/util/mxWindow-js.html Installs the necessary event listeners for maximizing the window. ```APIDOC ## installMaximizeHandler ### Description Installs the event listeners required for maximizing the window. ### Method `mxWindow.prototype.installMaximizeHandler()` ``` -------------------------------- ### installMoveHandler Source: https://jgraph.github.io/mxgraph/docs/js-api/files/util/mxWindow-js.html Installs the event listeners required for moving the window. ```APIDOC ## installMoveHandler ### Description Configures the event listeners that enable the window to be moved by the user. ### Method POST ### Endpoint /installMoveHandler ``` -------------------------------- ### Rubberband Trigger and Start Source: https://jgraph.github.io/mxgraph/java/docs/com/mxgraph/swing/handler/mxRubberband.html Determines if an event should trigger the rubberband selection and provides a method to manually start the selection. ```APIDOC ## Rubberband Trigger and Start ### isRubberbandTrigger(java.awt.event.MouseEvent e) Returns true if the given event should start the rubberband selection. ### start(java.awt.Point point) Starts the rubberband selection at the given point. ``` -------------------------------- ### installDrillHandler Source: https://jgraph.github.io/mxgraph/docs/js-api/files/editor/mxEditor-js.html Installs listeners for dispatching the event. ```APIDOC ## installDrillHandler ### Description Installs listeners for dispatching the event. ### Method `mxEditor.prototype.installDrillHandler(graph)` ``` -------------------------------- ### START Event Name Source: https://jgraph.github.io/mxgraph/docs/js-api/index/General17.html Specifies the event name for the start action. This event is fired when a process or operation begins. ```javascript START: 'start' ``` -------------------------------- ### mxGuide Constructor Source: https://jgraph.github.io/mxgraph/docs/js-api/files/util/mxGuide-js.html Constructs a new guide object. It takes a reference to the enclosing graph and an optional array of cell states to be used for alignment. ```APIDOC ## mxGuide() ### Description Constructs a new guide object. ### Parameters * **graph** (mxGraph) - Reference to the enclosing mxGraph instance. * **states** (Array) - Optional array of mxCellStates to be used for alignment. ``` -------------------------------- ### mxWindow.prototype.show Source: https://jgraph.github.io/mxgraph/docs/js-api/index/Functions16.html Shows the window. ```APIDOC ## mxWindow.prototype.show ### Description Shows the window. ### Method `show()` ``` -------------------------------- ### initialCoords Source: https://jgraph.github.io/mxgraph/docs/js-api/files/layout/hierarchical/stage/mxCoordinateAssignment-js.html Sets up the layout in an initial positioning before the main assignment algorithm runs. ```APIDOC ## initialCoords ### Description Sets up the layout in an initial positioning. This typically involves assigning preliminary x and y coordinates to cells based on their rank and order. ### Method `initialCoords()` ### Parameters None. ### Response None. The method modifies the layout in place. ``` -------------------------------- ### Install Drill Handler Source: https://jgraph.github.io/mxgraph/docs/js-api/files/editor/mxEditor-js.html Installs listeners for dispatching the event, typically used for hierarchical graph navigation. ```javascript mxEditor.prototype.installDrillHandler = function (| graph| ) ``` -------------------------------- ### Get General Purpose Variable Source: https://jgraph.github.io/mxgraph/docs/js-api/files/layout/hierarchical/model/mxGraphAbstractHierarchyCell-js.html Gets the value of the temporary variable 'temp' for the specified layer. Requires a layer argument. ```javascript | mxGraphAbstractHierarchyCell.prototype.getGeneralPurposeVariable = function( | layer ) ``` -------------------------------- ### installMaximizeHandler Source: https://jgraph.github.io/mxgraph/docs/js-api/files/util/mxWindow-js.html Installs the event listeners required for maximizing the window. ```APIDOC ## installMaximizeHandler ### Description Attaches the event listeners needed to support the window maximization feature. ### Method POST ### Endpoint /installMaximizeHandler ``` -------------------------------- ### mxLog.init Source: https://jgraph.github.io/mxgraph/docs/js-api/files/util/mxLog-js.html Initializes the DOM node for the console. ```APIDOC ## mxLog.init ### Description Initializes the DOM node for the console. ### Method function ### Parameters None. ### Response None. ``` -------------------------------- ### mxGraphView.prototype.getFloatingTerminalPoint Source: https://jgraph.github.io/mxgraph/docs/js-api/files/view/mxGraphView-js.html Returns the floating terminal point for the given edge, start and end state, where start is the source if source is true. ```APIDOC ## mxGraphView.prototype.getFloatingTerminalPoint ### Description Returns the floating terminal point for the given edge, start and end state, where start is the source if source is true. ### Parameters - **edge**: The edge. - **start**: The starting state. - **end**: The ending state. - **source**: Boolean indicating if the start state is the source. ### Returns An mxPoint representing the floating terminal point. ``` -------------------------------- ### showHelp Source: https://jgraph.github.io/mxgraph/docs/js-api/files/editor/mxEditor-js.html Shows the help window. If the help window does not exist then it is created using an iframe pointing to the resource for the urlHelp key or urlHelp if the resource is undefined. ```APIDOC ## showHelp ### Description Shows the help window. If the help window does not exist then it is created using an iframe pointing to the resource for the `urlHelp` key or urlHelp if the resource is undefined. ### Method `mxEditor.prototype.showHelp` ### Parameters * **tasks** (object) - The tasks window. ``` -------------------------------- ### mxWindow.prototype.init Source: https://jgraph.github.io/mxgraph/docs/js-api/files/util/mxWindow-js.html Initializes the DOM tree that represents the window. ```APIDOC ## mxWindow.prototype.init ### Description Initializes the DOM tree that represents the window. ### Parameters * **x** (Number) - X-coordinate of the window location. * **y** (Number) - Y-coordinate of the window location. * **width** (Number) - Width of the window. * **height** (Number) - Optional height of the window. * **style** (String) - Optional base classname for the window elements. ``` -------------------------------- ### getActualStartSize Source: https://jgraph.github.io/mxgraph/docs/js-api/files/view/mxGraph-js.html Returns the actual start size of the given swimlane taking into account direction and horizontal and vertial flip styles. The start size is returned as an mxRectangle where top, left, bottom, right start sizes are returned as x, y, height and width, respectively. ```APIDOC ## getActualStartSize ### Description Returns the actual start size of the given swimlane taking into account direction and horizontal and vertial flip styles. The start size is returned as an mxRectangle where top, left, bottom, right start sizes are returned as x, y, height and width, respectively. ### Method `mxGraph.prototype.getActualStartSize` ### Parameters #### Path Parameters - **swimlane** (mxCell) - The swimlane cell whose start size should be returned. - **ignoreState** (boolean) - Optional. Specifies if cell state should be ignored. ### Response - **mxRectangle**: An mxRectangle representing the actual start size. ``` -------------------------------- ### mxConnectionHandler.prototype.start Source: https://jgraph.github.io/mxgraph/docs/js-api/index/Functions16.html Starts a new connection for the given state and coordinates. ```APIDOC ## mxConnectionHandler.prototype.start ### Description Starts a new connection for the given state and coordinates. ### Method N/A (Event handler) ### Endpoint N/A ### Parameters #### Path Parameters - **state** (object) - Required - The state of the connection. - **x** (number) - Required - The x-coordinate. - **y** (number) - Required - The y-coordinate. - **edgeState** (object) - Optional - The state of the edge. ``` -------------------------------- ### mxLabel Get Indicator Bounds Function Source: https://jgraph.github.io/mxgraph/docs/js-api/files/shape/mxLabel-js.html Generic implementation to get the bounding box for the indicator. Override to customize indicator positioning. ```javascript mxLabel.prototype.getIndicatorBounds = function(x, y, w, h) ``` -------------------------------- ### createGuideShape Source: https://jgraph.github.io/mxgraph/docs/js-api/files/util/mxGuide-js.html Returns the mxShape to be used for painting the respective guide. This implementation returns a new, dashed and crisp mxPolyline. ```APIDOC ## createGuideShape(horizontal) ### Description Returns the mxShape to be used for painting the respective guide. ### Parameters * **horizontal** (boolean) - Specifies if horizontal guides should be created. ### Returns * (mxShape) - The mxShape to be used for the guide. ``` -------------------------------- ### mxLabel Get Image Bounds Function Source: https://jgraph.github.io/mxgraph/docs/js-api/files/shape/mxLabel-js.html Generic implementation to get the bounding box for the image. Override to customize image positioning. ```javascript mxLabel.prototype.getImageBounds = function(x, y, w, h) ``` -------------------------------- ### UpdateFloatingTerminalPoint Source: https://jgraph.github.io/mxgraph/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphView.html 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. ```APIDOC ## UpdateFloatingTerminalPoint(mxCellState edge, mxCellState start, mxCellState end, bool source) ### Description Updates the absolute terminal point in the given state for the given start and end state, where start is the source if source is true. ### Parameters * **edge** (mxCellState) - The edge cell state. * **start** (mxCellState) - The starting cell state. * **end** (mxCellState) - The ending cell state. * **source** (bool) - Whether the start is the source. ``` -------------------------------- ### mxGraphView.prototype.updateFloatingTerminalPoints Source: https://jgraph.github.io/mxgraph/docs/js-api/index/General19.html 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. ```APIDOC ## mxGraphView.prototype.updateFloatingTerminalPoints ### Description 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. ### Method (Not specified, likely internal or part of a larger process) ### Endpoint (Not applicable) ### Parameters #### Path Parameters (None) #### Query Parameters (None) #### Request Body (None) ### Request Example (None) ### Response #### Success Response (None) #### Response Example (None) ``` -------------------------------- ### mxGraphView.prototype.updateFloatingTerminalPoint Source: https://jgraph.github.io/mxgraph/docs/js-api/index/Functions18.html 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. ```APIDOC ## mxGraphView.prototype.updateFloatingTerminalPoint ### Description 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. ### Method (Not specified in source) ### Endpoint (Not specified in source) ### Parameters #### Path Parameters (None specified) #### Query Parameters (None specified) #### Request Body (None specified) ### Request Example (None specified) ### Response #### Success Response (200) (None specified) #### Response Example (None specified) ``` -------------------------------- ### Begin Function Source: https://jgraph.github.io/mxgraph/dotnet/docs/html/functions_b.html Initiates the drawing process on a 2D canvas. ```APIDOC ## Function: Begin() ### Description Initiates the drawing process on a 2D canvas. ### Associated Classes com.mxgraph.mxGdiCanvas2D com.mxgraph.mxICanvas2D ``` -------------------------------- ### Update Floating Terminal Point Source: https://jgraph.github.io/mxgraph/java/docs/com/mxgraph/view/mxGraphView.html Updates the absolute terminal point in the given state for the given start and end state, where start is the source if source is true. Parameters: edge - Cell state whose terminal point should be updated. start - Cell state for the terminal on "this" side of the edge. end - Cell state for the terminal on the other side of the edge. source - Boolean indicating if start is the source terminal state. ```java public void updateFloatingTerminalPoint (mxCellState edge, mxCellState start, mxCellState end, boolean source) ``` -------------------------------- ### initializeOverlay Source: https://jgraph.github.io/mxgraph/docs/js-api/files/view/mxCellRenderer-js.html Initializes the given overlay. ```APIDOC ## initializeOverlay ### Description Initializes the given overlay. ### Method `mxCellRenderer.prototype.initializeOverlay(state, overlay)` ### Parameters * **state** (mxCellState) - The cell state for which the overlay should be created. * **overlay** (mxImageShape) - The mxImageShape that represents the overlay. ``` -------------------------------- ### useGuidesForEvent Source: https://jgraph.github.io/mxgraph/docs/js-api/files/handler/mxGraphHandler-js.html Checks if guides should be used for the given mouse event. ```APIDOC ## useGuidesForEvent(me) ### Description Returns true if the guides should be used for the given mouse event. ### Parameters - **me** (mxMouseEvent) - Required - The mouse event. ### Returns (Boolean) True if guides should be used. ``` -------------------------------- ### Get Resource Value (Internal) Source: https://jgraph.github.io/mxgraph/java/docs/com/mxgraph/util/mxResources.html Internal method to get a resource value by searching bundles in inverse order. Returns null if not found. ```java protected static java.lang.String getResource(java.lang.String key) ``` -------------------------------- ### Start Editing Cell in mxCellEditor Source: https://jgraph.github.io/mxgraph/docs/js-api/index/General17.html Begins the in-place editing process for a given cell. This method is invoked when a user starts editing a cell. ```javascript mxCellEditor.prototype.startEditing = function(cell, trigger) { // Implementation details... } ``` -------------------------------- ### init (Console) Source: https://jgraph.github.io/mxgraph/docs/js-api/index/Functions9.html Initializes the DOM node for the console. ```APIDOC ## init (Console) ### Description Initializes the DOM node for the console. ### Method (Initialization method) ``` -------------------------------- ### Stylesheet XML Example Source: https://jgraph.github.io/mxgraph/docs/js-api/files/io/mxStylesheetCodec-js.html An example of the XML structure used to define a stylesheet, including nested styles and inheritance. This format is used by the mxStylesheetCodec. ```xml ``` -------------------------------- ### Toolbar Configuration Example Source: https://jgraph.github.io/mxgraph/docs/js-api/files/editor/mxEditor-js.html Shows the XML configuration for defining a toolbar in mxEditor, including adding items like 'save' and 'Swimlane'. ```xml ... ``` -------------------------------- ### Get Visible Terminal State Source: https://jgraph.github.io/mxgraph/java/docs/com/mxgraph/view/mxCellState.html Retrieves the visible source or target terminal state of a cell. Specify true to get the source, false for the target. ```java public mxCellState getVisibleTerminalState(boolean source) ``` -------------------------------- ### Determine Segment of Rectangle Intersection (Start from Beginning) Source: https://jgraph.github.io/mxgraph/java/docs/com/mxgraph/util/mxCurve.html A utility method to find which segment of the curve a rectangle intersects. Starts the search from the beginning of the curve. ```java protected int intersectRectPerimeterSeg​(java.lang.String index, mxRectangle rect) ``` -------------------------------- ### Start Editing at Cell in mxGraph Source: https://jgraph.github.io/mxgraph/docs/js-api/index/General17.html Fires a startEditing event and begins the cell editing process. This is the primary method for programmatically starting cell editing. ```javascript mxGraph.prototype.startEditingAtCell = function(cell, evt) { // Implementation details... } ``` -------------------------------- ### mxEditor.prototype.installDrillHandler Source: https://jgraph.github.io/mxgraph/docs/js-api/files/editor/mxEditor-js.html Installs listeners for dispatching the root event. ```APIDOC ## mxEditor.prototype.installDrillHandler ### Description Installs listeners that dispatch the root event, typically used for drill-down or hierarchical navigation within the graph. ### Method `installDrillHandler(graph)` ### Parameters #### Parameters - **graph** (mxGraph) - Required - The graph instance to attach the drill handler to. ``` -------------------------------- ### Create Core Curve from Guide Points Source: https://jgraph.github.io/mxgraph/java/docs/com/mxgraph/util/mxCurve.html Creates the fundamental curve structure based on the guide points provided during the class instance's initialization. ```java protected void createCoreCurve() ``` -------------------------------- ### init Source: https://jgraph.github.io/mxgraph/docs/js-api/files/handler/mxTooltipHandler-js.html Initializes the DOM nodes required for this tooltip handler. ```APIDOC ## init ### Description Initializes the DOM nodes required for this tooltip handler. ### Method `mxTooltipHandler.prototype.init` ``` -------------------------------- ### Create Guide Shape Source: https://jgraph.github.io/mxgraph/docs/js-api/files/util/mxGuide-js.html Returns the mxShape to be used for painting the respective guide. This implementation creates a dashed mxPolyline with customizable color and stroke width. ```javascript mxGuide.prototype.createGuideShape = function(horizontal) ```