252 lines
191 KiB
HTML
252 lines
191 KiB
HTML
|
<!DOCTYPE html><html class="default"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>EdgeSegmentHandler | @maxgraph/core</title><meta name="description" content="Documentation for @maxgraph/core"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.body.classList.add(localStorage.getItem("tsd-theme") || "os")</script><header><div class="tsd-page-toolbar"><div class="container"><div class="table-wrap"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption">Search</label><input type="text" id="tsd-search-field"/></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@maxgraph/core</a></div><div class="table-cell" id="tsd-widgets"><div id="tsd-filter"><a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a><div class="tsd-filter-group"><div class="tsd-select" id="tsd-filter-visibility"><span class="tsd-select-label">All</span><ul class="tsd-select-list"><li data-value="public">Public</li><li data-value="protected">Public/Protected</li><li data-value="private" class="selected">All</li></ul></div> <input type="checkbox" id="tsd-filter-inherited" checked/><label class="tsd-widget" for="tsd-filter-inherited">Inherited</label></div></div><a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a></div></div></div></div><div class="tsd-page-title"><div class="container"><ul class="tsd-breadcrumb"><li><a href="../index.html">@maxgraph/core</a></li><li><a href="EdgeSegmentHandler.html">EdgeSegmentHandler</a></li></ul><h1>Class EdgeSegmentHandler</h1></div></div></header><div class="container container-main"><div class="row"><div class="col-8 col-content"><section class="tsd-panel tsd-hierarchy"><h3>Hierarchy</h3><ul class="tsd-hierarchy"><li><a href="ElbowEdgeHandler.html" class="tsd-signature-type" data-tsd-kind="Class">ElbowEdgeHandler</a><ul class="tsd-hierarchy"><li><span class="target">EdgeSegmentHandler</span></li></ul></li></ul></section><section class="tsd-panel-group tsd-index-group"><h2>Index</h2><section class="tsd-panel tsd-index-panel"><div class="tsd-index-content"><section class="tsd-index-section "><h3>Constructors</h3><ul class="tsd-index-list"><li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite"><a href="EdgeSegmentHandler.html#constructor" class="tsd-kind-icon">constructor</a></li></ul></section><section class="tsd-index-section "><h3>Properties</h3><ul class="tsd-index-list"><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="EdgeSegmentHandler.html#abspoints" class="tsd-kind-icon">abspoints</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="EdgeSegmentHandler.html#active" class="tsd-kind-icon">active</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="EdgeSegmentHandler.html#addEnabled" class="tsd-kind-icon">add<wbr/>Enabled</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="EdgeSegmentHandler.html#allowHandleBoundsCheck" class="tsd-kind-icon">allow<wbr/>Handle<wbr/>Bounds<wbr/>Check</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="EdgeSegmentHandler.html#bends" class="tsd-kind-icon">bends</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="EdgeSegmentHandler.html#cloneEnabled" class="tsd-kind-icon">clone<wbr/>Enabled</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="EdgeSegmentHandler.html#constraintHandler" class="tsd-kind-icon">constraint<wbr/>Handler</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="EdgeSe
|
||
|
<p>Specifies if adding bends by shift-click is enabled. Default is false.
|
||
|
Note: This experimental feature is not recommended for production use.</p>
|
||
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="allowHandleBoundsCheck" class="tsd-anchor"></a><h3>allow<wbr/>Handle<wbr/>Bounds<wbr/>Check</h3><div class="tsd-signature tsd-kind-icon">allow<wbr/>Handle<wbr/>Bounds<wbr/>Check<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></div><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#allowHandleBoundsCheck">allowHandleBoundsCheck</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L188">view/handler/EdgeHandler.ts:188</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Specifies if the bounds of handles should be used for hit-detection in IE
|
||
|
Default is true.</p>
|
||
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="bends" class="tsd-anchor"></a><h3>bends</h3><div class="tsd-signature tsd-kind-icon">bends<span class="tsd-signature-symbol">:</span> <a href="Shape.html" class="tsd-signature-type" data-tsd-kind="Class">Shape</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#bends">bends</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L114">view/handler/EdgeHandler.ts:114</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Holds the {@link Shapes} that represent the points.</p>
|
||
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="cloneEnabled" class="tsd-anchor"></a><h3>clone<wbr/>Enabled</h3><div class="tsd-signature tsd-kind-icon">clone<wbr/>Enabled<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></div><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#cloneEnabled">cloneEnabled</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L126">view/handler/EdgeHandler.ts:126</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Specifies if cloning by control-drag is enabled. Default is true.</p>
|
||
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="constraintHandler" class="tsd-anchor"></a><h3>constraint<wbr/>Handler</h3><div class="tsd-signature tsd-kind-icon">constraint<wbr/>Handler<span class="tsd-signature-symbol">:</span> <a href="ConstraintHandler.html" class="tsd-signature-type" data-tsd-kind="Class">ConstraintHandler</a></div><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#constraintHandler">constraintHandler</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L99">view/handler/EdgeHandler.ts:99</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Holds the <a href="ConstraintHandler.html">ConstraintHandler</a> used for drawing and highlighting
|
||
|
constraints.</p>
|
||
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="currentPoint" class="tsd-anchor"></a><h3>current<wbr/>Point</h3><div class="tsd-signature tsd-kind-icon">current<wbr/>Point<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Point.html" class="tsd-signature-type" data-tsd-kind="Class">Point</a><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#currentPoint">currentPoint</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L226">view/handler/EdgeHandler.ts:226</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="customHandles" class="tsd-anchor"></a><h3>custom<wbr/>Handles</h3><div class="tsd-signature tsd-kind-icon">custom<wbr/>Handles<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">CellHandle</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#customHandles">customHandles</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L246">view/handler/EdgeHandler.ts:246</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="dblClickRemoveEnabled" class="tsd-anchor"></a><h3>dbl<wbr/>Click<wbr/>Remove<wbr/>Enabled</h3><div class="tsd-signature tsd-kind-icon">dbl<wbr/>Click<wbr/>Remove<wbr/>Enabled<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#dblClickRemoveEnabled">dblClickRemoveEnabled</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L143">view/handler/EdgeHandler.ts:143</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Specifies if removing bends by double click is enabled. Default is false.</p>
|
||
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="doubleClickOrientationResource" class="tsd-anchor"></a><h3>double<wbr/>Click<wbr/>Orientation<wbr/>Resource</h3><div class="tsd-signature tsd-kind-icon">double<wbr/>Click<wbr/>Orientation<wbr/>Resource<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#doubleClickOrientationResource">doubleClickOrientationResource</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/ElbowEdgeHandler.ts#L53">view/handler/ElbowEdgeHandler.ts:53</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Specifies the resource key for the tooltip to be displayed on the single
|
||
|
control point for routed edges. If the resource for this key does not
|
||
|
exist then the value is used as the error message. Default is
|
||
|
'doubleClickOrientation'.</p>
|
||
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="error" class="tsd-anchor"></a><h3>error</h3><div class="tsd-signature tsd-kind-icon">error<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#error">error</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L104">view/handler/EdgeHandler.ts:104</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Holds the current validation error while a connection is being changed.</p>
|
||
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="escapeHandler" class="tsd-anchor"></a><h3>escape<wbr/>Handler</h3><div class="tsd-signature tsd-kind-icon">escape<wbr/>Handler<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span>sender<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Listenable</span>, evt<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Event</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span></div><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#escapeHandler">escapeHandler</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L224">view/handler/EdgeHandler.ts:224</a></li></ul></aside><div class="tsd-type-declaration"><h4>Type declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures tsd-kind-type-literal tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>sender<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Listenable</span>, evt<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Event</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>sender: <span class="tsd-signature-type">Listenable</span></h5></li><li><h5>evt: <span class="tsd-signature-type">Event</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="flipEnabled" class="tsd-anchor"></a><h3>flip<wbr/>Enabled</h3><div class="tsd-signature tsd-kind-icon">flip<wbr/>Enabled<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></div><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#flipEnabled">flipEnabled</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/ElbowEdgeHandler.ts#L44">view/handler/ElbowEdgeHandler.ts:44</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Specifies if a double click on the middle handle should call
|
||
|
{@link Graph#flipEdge}. Default is true.</p>
|
||
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="graph" class="tsd-anchor"></a><h3>graph</h3><div class="tsd-signature tsd-kind-icon">graph<span class="tsd-signature-symbol">:</span> <a href="Graph.html" class="tsd-signature-type" data-tsd-kind="Class">Graph</a></div><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#graph">graph</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L83">view/handler/EdgeHandler.ts:83</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Reference to the enclosing <a href="Graph.html">Graph</a>.</p>
|
||
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="handleImage" class="tsd-anchor"></a><h3>handle<wbr/>Image</h3><div class="tsd-signature tsd-kind-icon">handle<wbr/>Image<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="ImageBox.html" class="tsd-signature-type" data-tsd-kind="Class">ImageBox</a><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#handleImage">handleImage</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L199">view/handler/EdgeHandler.ts:199</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Optional {@link Image} to be used as handles. Default is null.</p>
|
||
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="index" class="tsd-anchor"></a><h3>index</h3><div class="tsd-signature tsd-kind-icon">index<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#index">index</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L230">view/handler/EdgeHandler.ts:230</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="isLabel" class="tsd-anchor"></a><h3>is<wbr/>Label</h3><div class="tsd-signature tsd-kind-icon">is<wbr/>Label<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#isLabel">isLabel</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L238">view/handler/EdgeHandler.ts:238</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="isSource" class="tsd-anchor"></a><h3>is<wbr/>Source</h3><div class="tsd-signature tsd-kind-icon">is<wbr/>Source<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#isSource">isSource</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L232">view/handler/EdgeHandler.ts:232</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="isTarget" class="tsd-anchor"></a><h3>is<wbr/>Target</h3><div class="tsd-signature tsd-kind-icon">is<wbr/>Target<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#isTarget">isTarget</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L234">view/handler/EdgeHandler.ts:234</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="label" class="tsd-anchor"></a><h3>label</h3><div class="tsd-signature tsd-kind-icon">label<span class="tsd-signature-symbol">:</span> <a href="Point.html" class="tsd-signature-type" data-tsd-kind="Class">Point</a></div><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#label">label</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L236">view/handler/EdgeHandler.ts:236</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="labelHandleImage" class="tsd-anchor"></a><h3>label<wbr/>Handle<wbr/>Image</h3><div class="tsd-signature tsd-kind-icon">label<wbr/>Handle<wbr/>Image<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="ImageBox.html" class="tsd-signature-type" data-tsd-kind="Class">ImageBox</a><span class="tsd-signature-symbol"> = null</sp
|
||
|
<p>Holds the <a href="Shape.html">Shape</a> that represents the label position.</p>
|
||
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="manageLabelHandle" class="tsd-anchor"></a><h3>manage<wbr/>Label<wbr/>Handle</h3><div class="tsd-signature tsd-kind-icon">manage<wbr/>Label<wbr/>Handle<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#manageLabelHandle">manageLabelHandle</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L222">view/handler/EdgeHandler.ts:222</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Specifies if the label handle should be moved if it intersects with another
|
||
|
handle. Uses <checkLabelHandle> for checking and moving. Default is false.</p>
|
||
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="marker" class="tsd-anchor"></a><h3>marker</h3><div class="tsd-signature tsd-kind-icon">marker<span class="tsd-signature-symbol">:</span> <a href="CellMarker.html" class="tsd-signature-type" data-tsd-kind="Class">CellMarker</a></div><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#marker">marker</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L93">view/handler/EdgeHandler.ts:93</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Holds the {@link TerminalMarker} which is used for highlighting terminals.</p>
|
||
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="mergeRemoveEnabled" class="tsd-anchor"></a><h3>merge<wbr/>Remove<wbr/>Enabled</h3><div class="tsd-signature tsd-kind-icon">merge<wbr/>Remove<wbr/>Enabled<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#mergeRemoveEnabled">mergeRemoveEnabled</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L149">view/handler/EdgeHandler.ts:149</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Specifies if removing bends by dropping them on other bends is enabled.
|
||
|
Default is false.</p>
|
||
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="outline" class="tsd-anchor"></a><h3>outline</h3><div class="tsd-signature tsd-kind-icon">outline<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></div><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#outline">outline</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L251">view/handler/EdgeHandler.ts:251</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="outlineConnect" class="tsd-anchor"></a><h3>outline<wbr/>Connect</h3><div class="tsd-signature tsd-kind-icon">outline<wbr/>Connect<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#outlineConnect">outlineConnect</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L215">view/handler/EdgeHandler.ts:215</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Specifies if connections to the outline of a highlighted target should be
|
||
|
enabled. This will allow to place the connection point along the outline of
|
||
|
the highlighted target. Default is false.</p>
|
||
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="parentHighlight" class="tsd-anchor"></a><h3>parent<wbr/>Highlight</h3><div class="tsd-signature tsd-kind-icon">parent<wbr/>Highlight<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="RectangleShape.html" class="tsd-signature-type" data-tsd-kind="Class">RectangleShape</a><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#parentHighlight">parentHighlight</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L228">view/handler/EdgeHandler.ts:228</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="parentHighlightEnabled" class="tsd-anchor"></a><h3>parent<wbr/>Highlight<wbr/>Enabled</h3><div class="tsd-signature tsd-kind-icon">parent<wbr/>Highlight<wbr/>Enabled<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#parentHighlightEnabled">parentHighlightEnabled</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L175">view/handler/EdgeHandler.ts:175</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Specifies if the parent should be highlighted if a child cell is selected.
|
||
|
Default is false.</p>
|
||
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-overwrite"><a id="points" class="tsd-anchor"></a><h3>points</h3><div class="tsd-signature tsd-kind-icon">points<span class="tsd-signature-symbol">:</span> <a href="Point.html" class="tsd-signature-type" data-tsd-kind="Class">Point</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div><aside class="tsd-sources"><p>Overrides <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#points">points</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeSegmentHandler.ts#L22">view/handler/EdgeSegmentHandler.ts:22</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="preferHtml" class="tsd-anchor"></a><h3>prefer<wbr/>Html</h3><div class="tsd-signature tsd-kind-icon">prefer<wbr/>Html<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#preferHtml">preferHtml</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L182">view/handler/EdgeHandler.ts:182</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Specifies if bends should be added to the graph container. This is updated
|
||
|
in <init> based on whether the edge or one of its terminals has an HTML
|
||
|
label in the container.</p>
|
||
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="removeEnabled" class="tsd-anchor"></a><h3>remove<wbr/>Enabled</h3><div class="tsd-signature tsd-kind-icon">remove<wbr/>Enabled<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#removeEnabled">removeEnabled</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L138">view/handler/EdgeHandler.ts:138</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Specifies if removing bends by shift-click is enabled. Default is false.
|
||
|
Note: This experimental feature is not recommended for production use.</p>
|
||
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="shape" class="tsd-anchor"></a><h3>shape</h3><div class="tsd-signature tsd-kind-icon">shape<span class="tsd-signature-symbol">:</span> <a href="Shape.html" class="tsd-signature-type" data-tsd-kind="Class">Shape</a></div><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#shape">shape</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L109">view/handler/EdgeHandler.ts:109</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Holds the <a href="Shape.html">Shape</a> that represents the preview edge.</p>
|
||
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="snapPoint" class="tsd-anchor"></a><h3>snap<wbr/>Point</h3><div class="tsd-signature tsd-kind-icon">snap<wbr/>Point<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Point.html" class="tsd-signature-type" data-tsd-kind="Class">Point</a><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#snapPoint">snapPoint</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L242">view/handler/EdgeHandler.ts:242</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="snapToTerminals" class="tsd-anchor"></a><h3>snap<wbr/>To<wbr/>Terminals</h3><div class="tsd-signature tsd-kind-icon">snap<wbr/>To<wbr/>Terminals<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#snapToTerminals">snapToTerminals</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L194">view/handler/EdgeHandler.ts:194</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Specifies if waypoints should snap to the routing centers of terminals.
|
||
|
Default is false.</p>
|
||
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="startX" class="tsd-anchor"></a><h3>startX</h3><div class="tsd-signature tsd-kind-icon">startX<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#startX">startX</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L248">view/handler/EdgeHandler.ts:248</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="startY" class="tsd-anchor"></a><h3>startY</h3><div class="tsd-signature tsd-kind-icon">startY<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#startY">startY</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L249">view/handler/EdgeHandler.ts:249</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="state" class="tsd-anchor"></a><h3>state</h3><div class="tsd-signature tsd-kind-icon">state<span class="tsd-signature-symbol">:</span> <a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a></div><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#state">state</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L88">view/handler/EdgeHandler.ts:88</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Reference to the <CellState> being modified.</p>
|
||
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="straightRemoveEnabled" class="tsd-anchor"></a><h3>straight<wbr/>Remove<wbr/>Enabled</h3><div class="tsd-signature tsd-kind-icon">straight<wbr/>Remove<wbr/>Enabled<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#straightRemoveEnabled">straightRemoveEnabled</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L156">view/handler/EdgeHandler.ts:156</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Specifies if removing bends by creating straight segments should be enabled.
|
||
|
If enabled, this can be overridden by holding down the alt key while moving.
|
||
|
Default is false.</p>
|
||
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="tolerance" class="tsd-anchor"></a><h3>tolerance</h3><div class="tsd-signature tsd-kind-icon">tolerance<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#tolerance">tolerance</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L207">view/handler/EdgeHandler.ts:207</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Optional tolerance for hit-detection in <getHandleForEvent>. Default is 0.</p>
|
||
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="virtualBendOpacity" class="tsd-anchor"></a><h3>virtual<wbr/>Bend<wbr/>Opacity</h3><div class="tsd-signature tsd-kind-icon">virtual<wbr/>Bend<wbr/>Opacity<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 20</span></div><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#virtualBendOpacity">virtualBendOpacity</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L169">view/handler/EdgeHandler.ts:169</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Opacity to be used for virtual bends (see <virtualBendsEnabled>).
|
||
|
Default is 20.</p>
|
||
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="virtualBends" class="tsd-anchor"></a><h3>virtual<wbr/>Bends</h3><div class="tsd-signature tsd-kind-icon">virtual<wbr/>Bends<span class="tsd-signature-symbol">:</span> <a href="Shape.html" class="tsd-signature-type" data-tsd-kind="Class">Shape</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#virtualBends">virtualBends</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L116">view/handler/EdgeHandler.ts:116</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="virtualBendsEnabled" class="tsd-anchor"></a><h3>virtual<wbr/>Bends<wbr/>Enabled</h3><div class="tsd-signature tsd-kind-icon">virtual<wbr/>Bends<wbr/>Enabled<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#virtualBendsEnabled">virtualBendsEnabled</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L163">view/handler/EdgeHandler.ts:163</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Specifies if virtual bends should be added in the center of each
|
||
|
segments. These bends can then be used to add new waypoints.
|
||
|
Default is false.</p>
|
||
|
</div></div></section></section><section class="tsd-panel-group tsd-member-group "><h2>Methods</h2><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="addPoint" class="tsd-anchor"></a><h3>add<wbr/>Point</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">add<wbr/>Point<span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a>, evt<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">MouseEvent</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#addPoint">addPoint</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L1862">view/handler/EdgeHandler.ts:1862</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Adds a control point for the given state and event.</p>
|
||
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>state: <a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a></h5></li><li><h5>evt: <span class="tsd-signature-type">MouseEvent</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="addPointAt" class="tsd-anchor"></a><h3>add<wbr/>Point<wbr/>At</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">add<wbr/>Point<wbr/>At<span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a>, x<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, y<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#addPointAt">addPointAt</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L1873">view/handler/EdgeHandler.ts:1873</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Adds a control point at the given point.</p>
|
||
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>state: <a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a></h5></li><li><h5>x: <span class="tsd-signature-type">number</span></h5></li><li><h5>y: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="changePoints" class="tsd-anchor"></a><h3>change<wbr/>Points</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">change<wbr/>Points<span class="tsd-signature-symbol">(</span>edge<span class="tsd-signature-symbol">: </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a>, points<span class="tsd-signature-symbol">: </span><a href="Point.html" class="tsd-signature-type" data-tsd-kind="Class">Point</a><span class="tsd-signature-symbol">[]</span>, clone<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#changePoints">changePoints</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L1830">view/handler/EdgeHandler.ts:1830</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Changes the control points of the given edge in the graph model.</p>
|
||
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>edge: <a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></h5></li><li><h5>points: <a href="Point.html" class="tsd-signature-type" data-tsd-kind="Class">Point</a><span class="tsd-signature-symbol">[]</span></h5></li><li><h5>clone: <span class="tsd-signature-type">boolean</span></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="changeTerminalPoint" class="tsd-anchor"></a><h3>change<wbr/>Terminal<wbr/>Point</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">change<wbr/>Terminal<wbr/>Point<span class="tsd-signature-symbol">(</span>edge<span class="tsd-signature-symbol">: </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a>, point<span class="tsd-signature-symbol">: </span><a href="Point.html" class="tsd-signature-type" data-tsd-kind="Class">Point</a>, isSource<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span>, clone<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#changeTerminalPoint">changeTerminalPoint</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L1799">view/handler/EdgeHandler.ts:1799</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Changes the terminal point of the given edge.</p>
|
||
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>edge: <a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></h5></li><li><h5>point: <a href="Point.html" class="tsd-signature-type" data-tsd-kind="Class">Point</a></h5></li><li><h5>isSource: <span class="tsd-signature-type">boolean</span></h5></li><li><h5>clone: <span class="tsd-signature-type">boolean</span></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="checkLabelHandle" class="tsd-anchor"></a><h3>check<wbr/>Label<wbr/>Handle</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">check<wbr/>Label<wbr/>Handle<span class="tsd-signature-symbol">(</span>b<span class="tsd-signature-symbol">: </span><a href="Rectangle.html" class="tsd-signature-type" data-tsd-kind="Class">Rectangle</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#checkLabelHandle">checkLabelHandle</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L2172">view/handler/EdgeHandler.ts:2172</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Checks if the label handle intersects the given bounds and moves it if it
|
||
|
intersects.</p>
|
||
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>b: <a href="Rectangle.html" class="tsd-signature-type" data-tsd-kind="Class">Rectangle</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="clonePreviewState" class="tsd-anchor"></a><h3>clone<wbr/>Preview<wbr/>State</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">clone<wbr/>Preview<wbr/>State<span class="tsd-signature-symbol">(</span>point<span class="tsd-signature-symbol">: </span><a href="Point.html" class="tsd-signature-type" data-tsd-kind="Class">Point</a>, terminal<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#clonePreviewState">clonePreviewState</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L945">view/handler/EdgeHandler.ts:945</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Returns a clone of the current preview state for the given point and terminal.</p>
|
||
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>point: <a href="Point.html" class="tsd-signature-type" data-tsd-kind="Class">Point</a></h5></li><li><h5>terminal: <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><a id="connect" class="tsd-anchor"></a><h3>connect</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><li class="tsd-signature tsd-kind-icon">connect<span class="tsd-signature-symbol">(</span>edge<span class="tsd-signature-symbol">: </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a>, terminal<span class="tsd-signature-symbol">: </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a>, isSource<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span>, isClone<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span>, me<span class="tsd-signature-symbol">: </span><a href="InternalMouseEvent.html" class="tsd-signature-type" data-tsd-kind="Class">InternalMouseEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Overrides <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#connect">connect</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeSegmentHandler.ts#L212">view/handler/EdgeSegmentHandler.ts:212</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Overriden to merge edge segments.</p>
|
||
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>edge: <a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></h5></li><li><h5>terminal: <a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></h5></li><li><h5>isSource: <span class="tsd-signature-type">boolean</span></h5></li><li><h5>isClone: <span class="tsd-signature-type">boolean</span></h5></li><li><h5>me: <a href="InternalMouseEvent.html" class="tsd-signature-type" data-tsd-kind="Class">InternalMouseEvent</a></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="convertPoint" class="tsd-anchor"></a><h3>convert<wbr/>Point</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">convert<wbr/>Point<span class="tsd-signature-symbol">(</span>point<span class="tsd-signature-symbol">: </span><a href="Point.html" class="tsd-signature-type" data-tsd-kind="Class">Point</a>, gridEnabled<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Point.html" class="tsd-signature-type" data-tsd-kind="Class">Point</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#convertPoint">convertPoint</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/ElbowEdgeHandler.ts#L142">view/handler/ElbowEdgeHandler.ts:142</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Converts the given point in-place from screen to unscaled, untranslated
|
||
|
graph coordinates and applies the grid.</p>
|
||
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>point: <a href="Point.html" class="tsd-signature-type" data-tsd-kind="Class">Point</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p><a href="Point.html">Point</a> to be converted.</p>
|
||
|
</div></div></li><li><h5>gridEnabled: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Boolean that specifies if the grid should be applied.</p>
|
||
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <a href="Point.html" class="tsd-signature-type" data-tsd-kind="Class">Point</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><a id="createBends" class="tsd-anchor"></a><h3>create<wbr/>Bends</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><li class="tsd-signature tsd-kind-icon">create<wbr/>Bends<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="RectangleShape.html" class="tsd-signature-type" data-tsd-kind="Class">RectangleShape</a><span class="tsd-signature-symbol">[]</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Overrides <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#createBends">createBends</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeSegmentHandler.ts#L292">view/handler/EdgeSegmentHandler.ts:292</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Adds custom bends for the center of each segment.</p>
|
||
|
</div></div><h4 class="tsd-returns-title">Returns <a href="RectangleShape.html" class="tsd-signature-type" data-tsd-kind="Class">RectangleShape</a><span class="tsd-signature-symbol">[]</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="createCustomHandles" class="tsd-anchor"></a><h3>create<wbr/>Custom<wbr/>Handles</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">create<wbr/>Custom<wbr/>Handles<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">CellHandle</span><span class="tsd-signature-symbol">[]</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#createCustomHandles">createCustomHandles</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L406">view/handler/EdgeHandler.ts:406</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Returns an array of custom handles. This implementation returns an empty array.</p>
|
||
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">CellHandle</span><span class="tsd-signature-symbol">[]</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="createHandleShape" class="tsd-anchor"></a><h3>create<wbr/>Handle<wbr/>Shape</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">create<wbr/>Handle<wbr/>Shape<span class="tsd-signature-symbol">(</span>index<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="RectangleShape.html" class="tsd-signature-type" data-tsd-kind="Class">RectangleShape</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#createHandleShape">createHandleShape</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L702">view/handler/EdgeHandler.ts:702</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Creates the shape used to display the given bend. Note that the index may be
|
||
|
null for special cases, such as when called from
|
||
|
{@link ElbowEdgeHandler#createVirtualBend}. Only images and rectangles should be
|
||
|
returned if support for HTML labels with not foreign objects is required.
|
||
|
Index if null for virtual handles.</p>
|
||
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> index: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="RectangleShape.html" class="tsd-signature-type" data-tsd-kind="Class">RectangleShape</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="createLabelHandleShape" class="tsd-anchor"></a><h3>create<wbr/>Label<wbr/>Handle<wbr/>Shape</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">create<wbr/>Label<wbr/>Handle<wbr/>Shape<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="RectangleShape.html" class="tsd-signature-type" data-tsd-kind="Class">RectangleShape</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#createLabelHandleShape">createLabelHandleShape</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L730">view/handler/EdgeHandler.ts:730</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Creates the shape used to display the the label handle.</p>
|
||
|
</div></div><h4 class="tsd-returns-title">Returns <a href="RectangleShape.html" class="tsd-signature-type" data-tsd-kind="Class">RectangleShape</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="createMarker" class="tsd-anchor"></a><h3>create<wbr/>Marker</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">create<wbr/>Marker<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="CellMarker.html" class="tsd-signature-type" data-tsd-kind="Class">CellMarker</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#createMarker">createMarker</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L527">view/handler/EdgeHandler.ts:527</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Creates and returns the <a href="CellMarker.html">CellMarker</a> used in {@link arker}.</p>
|
||
|
</div></div><h4 class="tsd-returns-title">Returns <a href="CellMarker.html" class="tsd-signature-type" data-tsd-kind="Class">CellMarker</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="createParentHighlightShape" class="tsd-anchor"></a><h3>create<wbr/>Parent<wbr/>Highlight<wbr/>Shape</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">create<wbr/>Parent<wbr/>Highlight<wbr/>Shape<span class="tsd-signature-symbol">(</span>bounds<span class="tsd-signature-symbol">: </span><a href="Rectangle.html" class="tsd-signature-type" data-tsd-kind="Class">Rectangle</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="RectangleShape.html" class="tsd-signature-type" data-tsd-kind="Class">RectangleShape</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#createParentHighlightShape">createParentHighlightShape</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L459">view/handler/EdgeHandler.ts:459</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Creates the shape used to draw the selection border.</p>
|
||
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>bounds: <a href="Rectangle.html" class="tsd-signature-type" data-tsd-kind="Class">Rectangle</a></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="RectangleShape.html" class="tsd-signature-type" data-tsd-kind="Class">RectangleShape</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="createSelectionShape" class="tsd-anchor"></a><h3>create<wbr/>Selection<wbr/>Shape</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">create<wbr/>Selection<wbr/>Shape<span class="tsd-signature-symbol">(</span>points<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Point.html" class="tsd-signature-type" data-tsd-kind="Class">Point</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Shape.html" class="tsd-signature-type" data-tsd-kind="Class">Shape</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#createSelectionShape">createSelectionShape</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L474">view/handler/EdgeHandler.ts:474</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Creates the shape used to draw the selection border.</p>
|
||
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>points: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Point.html" class="tsd-signature-type" data-tsd-kind="Class">Point</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="Shape.html" class="tsd-signature-type" data-tsd-kind="Class">Shape</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="createVirtualBend" class="tsd-anchor"></a><h3>create<wbr/>Virtual<wbr/>Bend</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">create<wbr/>Virtual<wbr/>Bend<span class="tsd-signature-symbol">(</span>dblClickHandler<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">(</span>evt<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">MouseEvent</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="RectangleShape.html" class="tsd-signature-type" data-tsd-kind="Class">RectangleShape</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#createVirtualBend">createVirtualBend</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/ElbowEdgeHandler.ts#L93">view/handler/ElbowEdgeHandler.ts:93</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Creates a virtual bend that supports double clicking and calls
|
||
|
{@link Graph#flipEdge}.</p>
|
||
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> dblClickHandler: <span class="tsd-signature-symbol">(</span>evt<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">MouseEvent</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span></h5><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures tsd-kind-type-literal"><li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>evt<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">MouseEvent</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>evt: <span class="tsd-signature-type">MouseEvent</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></li></ul><h4 class="tsd-returns-title">Returns <a href="RectangleShape.html" class="tsd-signature-type" data-tsd-kind="Class">RectangleShape</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="createVirtualBends" class="tsd-anchor"></a><h3>create<wbr/>Virtual<wbr/>Bends</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">create<wbr/>Virtual<wbr/>Bends<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="RectangleShape.html" class="tsd-signature-type" data-tsd-kind="Class">RectangleShape</a><span class="tsd-signature-symbol">[]</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#createVirtualBends">createVirtualBends</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L652">view/handler/EdgeHandler.ts:652</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Creates and returns the bends used for modifying the edge. This is
|
||
|
typically an array of {@link RectangleShapes}.</p>
|
||
|
</div></div><h4 class="tsd-returns-title">Returns <a href="RectangleShape.html" class="tsd-signature-type" data-tsd-kind="Class">RectangleShape</a><span class="tsd-signature-symbol">[]</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="destroyBends" class="tsd-anchor"></a><h3>destroy<wbr/>Bends</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">destroy<wbr/>Bends<span class="tsd-signature-symbol">(</span>bends<span class="tsd-signature-symbol">: </span><a href="Shape.html" class="tsd-signature-type" data-tsd-kind="Class">Shape</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">CellHandle</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#destroyBends">destroyBends</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L2260">view/handler/EdgeHandler.ts:2260</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Destroys all elements in <bends>.</p>
|
||
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>bends: <a href="Shape.html" class="tsd-signature-type" data-tsd-kind="Class">Shape</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">CellHandle</span><span class="tsd-signature-symbol">[]</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="drawPreview" class="tsd-anchor"></a><h3>draw<wbr/>Preview</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">draw<wbr/>Preview<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#drawPreview">drawPreview</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L2187">view/handler/EdgeHandler.ts:2187</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Redraws the preview.</p>
|
||
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="getCellAt" class="tsd-anchor"></a><h3>get<wbr/>Cell<wbr/>At</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">get<wbr/>Cell<wbr/>At<span class="tsd-signature-symbol">(</span>x<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, y<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#getCellAt">getCellAt</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L520">view/handler/EdgeHandler.ts:520</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Creates and returns the <a href="CellMarker.html">CellMarker</a> used in {@link arker}.</p>
|
||
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>x: <span class="tsd-signature-type">number</span></h5></li><li><h5>y: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getCurrentPoints" class="tsd-anchor"></a><h3>get<wbr/>Current<wbr/>Points</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Current<wbr/>Points<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Point.html" class="tsd-signature-type" data-tsd-kind="Class">Point</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeSegmentHandler.ts#L27">view/handler/EdgeSegmentHandler.ts:27</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Returns the current absolute points.</p>
|
||
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">(</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Point.html" class="tsd-signature-type" data-tsd-kind="Class">Point</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="getCursorForBend" class="tsd-anchor"></a><h3>get<wbr/>Cursor<wbr/>For<wbr/>Bend</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">get<wbr/>Cursor<wbr/>For<wbr/>Bend<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"row-resize"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"col-resize"</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#getCursorForBend">getCursorForBend</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/ElbowEdgeHandler.ts#L109">view/handler/ElbowEdgeHandler.ts:109</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Returns the cursor to be used for the bend.</p>
|
||
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">"row-resize"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"col-resize"</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="getHandleFillColor" class="tsd-anchor"></a><h3>get<wbr/>Handle<wbr/>Fill<wbr/>Color</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">get<wbr/>Handle<wbr/>Fill<wbr/>Color<span class="tsd-signature-symbol">(</span>index<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#getHandleFillColor">getHandleFillColor</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L1925">view/handler/EdgeHandler.ts:1925</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Returns the fillcolor for the handle at the given index.</p>
|
||
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>index: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="getHandleForEvent" class="tsd-anchor"></a><h3>get<wbr/>Handle<wbr/>For<wbr/>Event</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">get<wbr/>Handle<wbr/>For<wbr/>Event<span class="tsd-signature-symbol">(</span>me<span class="tsd-signature-symbol">: </span><a href="InternalMouseEvent.html" class="tsd-signature-type" data-tsd-kind="Class">InternalMouseEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#getHandleForEvent">getHandleForEvent</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L782">view/handler/EdgeHandler.ts:782</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Returns the index of the handle for the given event.</p>
|
||
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>me: <a href="InternalMouseEvent.html" class="tsd-signature-type" data-tsd-kind="Class">InternalMouseEvent</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="getPointForEvent" class="tsd-anchor"></a><h3>get<wbr/>Point<wbr/>For<wbr/>Event</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">get<wbr/>Point<wbr/>For<wbr/>Event<span class="tsd-signature-symbol">(</span>me<span class="tsd-signature-symbol">: </span><a href="InternalMouseEvent.html" class="tsd-signature-type" data-tsd-kind="Class">InternalMouseEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Point.html" class="tsd-signature-type" data-tsd-kind="Class">Point</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#getPointForEvent">getPointForEvent</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L986">view/handler/EdgeHandler.ts:986</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Returns the point for the given event.</p>
|
||
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>me: <a href="InternalMouseEvent.html" class="tsd-signature-type" data-tsd-kind="Class">InternalMouseEvent</a></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="Point.html" class="tsd-signature-type" data-tsd-kind="Class">Point</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><a id="getPreviewPoints" class="tsd-anchor"></a><h3>get<wbr/>Preview<wbr/>Points</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><li class="tsd-signature tsd-kind-icon">get<wbr/>Preview<wbr/>Points<span class="tsd-signature-symbol">(</span>point<span class="tsd-signature-symbol">: </span><a href="Point.html" class="tsd-signature-type" data-tsd-kind="Class">Point</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Point.html" class="tsd-signature-type" data-tsd-kind="Class">Point</a><span class="tsd-signature-symbol">[]</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Overrides <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#getPreviewPoints">getPreviewPoints</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeSegmentHandler.ts#L54">view/handler/EdgeSegmentHandler.ts:54</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Updates the given preview state taking into account the state of the constraint handler.</p>
|
||
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>point: <a href="Point.html" class="tsd-signature-type" data-tsd-kind="Class">Point</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Point.html" class="tsd-signature-type" data-tsd-kind="Class">Point</a><span class="tsd-signature-symbol">[]</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="getPreviewTerminalState" class="tsd-anchor"></a><h3>get<wbr/>Preview<wbr/>Terminal<wbr/>State</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">get<wbr/>Preview<wbr/>Terminal<wbr/>State<span class="tsd-signature-symbol">(</span>me<span class="tsd-signature-symbol">: </span><a href="InternalMouseEvent.html" class="tsd-signature-type" data-tsd-kind="Class">InternalMouseEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#getPreviewTerminalState">getPreviewTerminalState</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L1048">view/handler/EdgeHandler.ts:1048</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Updates the given preview state taking into account the state of the constraint handler.</p>
|
||
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>me: <a href="InternalMouseEvent.html" class="tsd-signature-type" data-tsd-kind="Class">InternalMouseEvent</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="getSelectionColor" class="tsd-anchor"></a><h3>get<wbr/>Selection<wbr/>Color</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">get<wbr/>Selection<wbr/>Color<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#getSelectionColor">getSelectionColor</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L491">view/handler/EdgeHandler.ts:491</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Returns {@link Constants#EDGE_SELECTION_COLOR}.</p>
|
||
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="getSelectionPoints" class="tsd-anchor"></a><h3>get<wbr/>Selection<wbr/>Points</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">get<wbr/>Selection<wbr/>Points<span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Point.html" class="tsd-signature-type" data-tsd-kind="Class">Point</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#getSelectionPoints">getSelectionPoints</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L452">view/handler/EdgeHandler.ts:452</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Returns the list of points that defines the selection stroke.</p>
|
||
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>state: <a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">(</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Point.html" class="tsd-signature-type" data-tsd-kind="Class">Point</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="getSelectionStrokeWidth" class="tsd-anchor"></a><h3>get<wbr/>Selection<wbr/>Stroke<wbr/>Width</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">get<wbr/>Selection<wbr/>Stroke<wbr/>Width<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#getSelectionStrokeWidth">getSelectionStrokeWidth</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L498">view/handler/EdgeHandler.ts:498</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Returns {@link Constants#EDGE_SELECTION_STROKEWIDTH}.</p>
|
||
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="getSnapToTerminalTolerance" class="tsd-anchor"></a><h3>get<wbr/>Snap<wbr/>To<wbr/>Terminal<wbr/>Tolerance</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">get<wbr/>Snap<wbr/>To<wbr/>Terminal<wbr/>Tolerance<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#getSnapToTerminalTolerance">getSnapToTerminalTolerance</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L953">view/handler/EdgeHandler.ts:953</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Returns the tolerance for the guides. Default value is
|
||
|
gridSize * scale / 2.</p>
|
||
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><a id="getTooltipForNode" class="tsd-anchor"></a><h3>get<wbr/>Tooltip<wbr/>For<wbr/>Node</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><li class="tsd-signature tsd-kind-icon">get<wbr/>Tooltip<wbr/>For<wbr/>Node<span class="tsd-signature-symbol">(</span>node<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Element</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Overrides <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#getTooltipForNode">getTooltipForNode</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeSegmentHandler.ts#L269">view/handler/EdgeSegmentHandler.ts:269</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Returns no tooltips.</p>
|
||
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>node: <span class="tsd-signature-type">Element</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="initBend" class="tsd-anchor"></a><h3>init<wbr/>Bend</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">init<wbr/>Bend<span class="tsd-signature-symbol">(</span>bend<span class="tsd-signature-symbol">: </span><a href="Shape.html" class="tsd-signature-type" data-tsd-kind="Class">Shape</a>, dblClick<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">(</span>evt<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">MouseEvent</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#initBend">initBend</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L755">view/handler/EdgeHandler.ts:755</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Helper method to initialize the given bend.</p>
|
||
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>bend: <a href="Shape.html" class="tsd-signature-type" data-tsd-kind="Class">Shape</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p><a href="Shape.html">Shape</a> that represents the bend to be initialized.</p>
|
||
|
</div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> dblClick: <span class="tsd-signature-symbol">(</span>evt<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">MouseEvent</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span></h5><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures tsd-kind-type-literal"><li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>evt<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">MouseEvent</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>evt: <span class="tsd-signature-type">MouseEvent</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="isAddPointEvent" class="tsd-anchor"></a><h3>is<wbr/>Add<wbr/>Point<wbr/>Event</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">is<wbr/>Add<wbr/>Point<wbr/>Event<span class="tsd-signature-symbol">(</span>evt<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">MouseEvent</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#isAddPointEvent">isAddPointEvent</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L437">view/handler/EdgeHandler.ts:437</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Returns true if the given event is a trigger to add a new Point. This
|
||
|
implementation returns true if shift is pressed.</p>
|
||
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>evt: <span class="tsd-signature-type">MouseEvent</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="isAddVirtualBendEvent" class="tsd-anchor"></a><h3>is<wbr/>Add<wbr/>Virtual<wbr/>Bend<wbr/>Event</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">is<wbr/>Add<wbr/>Virtual<wbr/>Bend<wbr/>Event<span class="tsd-signature-symbol">(</span>me<span class="tsd-signature-symbol">: </span><a href="InternalMouseEvent.html" class="tsd-signature-type" data-tsd-kind="Class">InternalMouseEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#isAddVirtualBendEvent">isAddVirtualBendEvent</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L852">view/handler/EdgeHandler.ts:852</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Returns true if the given event allows virtual bends to be added. This
|
||
|
implementation returns true.</p>
|
||
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>me: <a href="InternalMouseEvent.html" class="tsd-signature-type" data-tsd-kind="Class">InternalMouseEvent</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="isCellEnabled" class="tsd-anchor"></a><h3>is<wbr/>Cell<wbr/>Enabled</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">is<wbr/>Cell<wbr/>Enabled<span class="tsd-signature-symbol">(</span>cell<span class="tsd-signature-symbol">: </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#isCellEnabled">isCellEnabled</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L429">view/handler/EdgeHandler.ts:429</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Returns true if the given cell allows new connections to be created. This implementation
|
||
|
always returns true.</p>
|
||
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>cell: <a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="isConnectableCell" class="tsd-anchor"></a><h3>is<wbr/>Connectable<wbr/>Cell</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">is<wbr/>Connectable<wbr/>Cell<span class="tsd-signature-symbol">(</span>cell<span class="tsd-signature-symbol">: </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#isConnectableCell">isConnectableCell</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L513">view/handler/EdgeHandler.ts:513</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Returns true if the given cell is connectable. This is a hook to
|
||
|
disable floating connections. This implementation returns true.</p>
|
||
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>cell: <a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="isCustomHandleEvent" class="tsd-anchor"></a><h3>is<wbr/>Custom<wbr/>Handle<wbr/>Event</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">is<wbr/>Custom<wbr/>Handle<wbr/>Event<span class="tsd-signature-symbol">(</span>me<span class="tsd-signature-symbol">: </span><a href="InternalMouseEvent.html" class="tsd-signature-type" data-tsd-kind="Class">InternalMouseEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#isCustomHandleEvent">isCustomHandleEvent</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L860">view/handler/EdgeHandler.ts:860</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Returns true if the given event allows custom handles to be changed. This
|
||
|
implementation returns true.</p>
|
||
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>me: <a href="InternalMouseEvent.html" class="tsd-signature-type" data-tsd-kind="Class">InternalMouseEvent</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="isCustomHandleVisible" class="tsd-anchor"></a><h3>is<wbr/>Custom<wbr/>Handle<wbr/>Visible</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">is<wbr/>Custom<wbr/>Handle<wbr/>Visible<span class="tsd-signature-symbol">(</span>handle<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">CellHandle</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#isCustomHandleVisible">isCustomHandleVisible</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L2095">view/handler/EdgeHandler.ts:2095</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Returns true if the given custom handle is visible.</p>
|
||
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>handle: <span class="tsd-signature-type">CellHandle</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="isDestroyed" class="tsd-anchor"></a><h3>is<wbr/>Destroyed</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">is<wbr/>Destroyed<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#isDestroyed">isDestroyed</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L2253">view/handler/EdgeHandler.ts:2253</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Returns true if <destroy> was called.</p>
|
||
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="isHandleEnabled" class="tsd-anchor"></a><h3>is<wbr/>Handle<wbr/>Enabled</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">is<wbr/>Handle<wbr/>Enabled<span class="tsd-signature-symbol">(</span>index<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#isHandleEnabled">isHandleEnabled</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L673">view/handler/EdgeHandler.ts:673</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Creates the shape used to display the given bend.</p>
|
||
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>index: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="isHandleVisible" class="tsd-anchor"></a><h3>is<wbr/>Handle<wbr/>Visible</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">is<wbr/>Handle<wbr/>Visible<span class="tsd-signature-symbol">(</span>index<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#isHandleVisible">isHandleVisible</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L680">view/handler/EdgeHandler.ts:680</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Returns true if the handle at the given index is visible.</p>
|
||
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>index: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="isOutlineConnectEvent" class="tsd-anchor"></a><h3>is<wbr/>Outline<wbr/>Connect<wbr/>Event</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">is<wbr/>Outline<wbr/>Connect<wbr/>Event<span class="tsd-signature-symbol">(</span>me<span class="tsd-signature-symbol">: </span><a href="InternalMouseEvent.html" class="tsd-signature-type" data-tsd-kind="Class">InternalMouseEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#isOutlineConnectEvent">isOutlineConnectEvent</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L1229">view/handler/EdgeHandler.ts:1229</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Returns true if <outlineConnect> is true and the source of the event is the outline shape
|
||
|
or shift is pressed.</p>
|
||
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>me: <a href="InternalMouseEvent.html" class="tsd-signature-type" data-tsd-kind="Class">InternalMouseEvent</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="isParentHighlightVisible" class="tsd-anchor"></a><h3>is<wbr/>Parent<wbr/>Highlight<wbr/>Visible</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">is<wbr/>Parent<wbr/>Highlight<wbr/>Visible<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#isParentHighlightVisible">isParentHighlightVisible</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L347">view/handler/EdgeHandler.ts:347</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Returns true if the parent highlight should be visible. This implementation
|
||
|
always returns true.</p>
|
||
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="isRemovePointEvent" class="tsd-anchor"></a><h3>is<wbr/>Remove<wbr/>Point<wbr/>Event</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">is<wbr/>Remove<wbr/>Point<wbr/>Event<span class="tsd-signature-symbol">(</span>evt<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">MouseEvent</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#isRemovePointEvent">isRemovePointEvent</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L445">view/handler/EdgeHandler.ts:445</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Returns true if the given event is a trigger to remove a point. This
|
||
|
implementation returns true if shift is pressed.</p>
|
||
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>evt: <span class="tsd-signature-type">MouseEvent</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="isSelectionDashed" class="tsd-anchor"></a><h3>is<wbr/>Selection<wbr/>Dashed</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">is<wbr/>Selection<wbr/>Dashed<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#isSelectionDashed">isSelectionDashed</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L505">view/handler/EdgeHandler.ts:505</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Returns {@link Constants#EDGE_SELECTION_DASHED}.</p>
|
||
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="isSnapToTerminalsEvent" class="tsd-anchor"></a><h3>is<wbr/>Snap<wbr/>To<wbr/>Terminals<wbr/>Event</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">is<wbr/>Snap<wbr/>To<wbr/>Terminals<wbr/>Event<span class="tsd-signature-symbol">(</span>me<span class="tsd-signature-symbol">: </span><a href="InternalMouseEvent.html" class="tsd-signature-type" data-tsd-kind="Class">InternalMouseEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#isSnapToTerminalsEvent">isSnapToTerminalsEvent</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L978">view/handler/EdgeHandler.ts:978</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Returns true if <snapToTerminals> is true and if alt is not pressed.</p>
|
||
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>me: <a href="InternalMouseEvent.html" class="tsd-signature-type" data-tsd-kind="Class">InternalMouseEvent</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="isVirtualBendsEnabled" class="tsd-anchor"></a><h3>is<wbr/>Virtual<wbr/>Bends<wbr/>Enabled</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">is<wbr/>Virtual<wbr/>Bends<wbr/>Enabled<span class="tsd-signature-symbol">(</span>evt<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Event</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#isVirtualBendsEnabled">isVirtualBendsEnabled</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L415">view/handler/EdgeHandler.ts:415</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Returns true if virtual bends should be added. This returns true if
|
||
|
<virtualBendsEnabled> is true and the current style allows and
|
||
|
renders custom waypoints.</p>
|
||
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> evt: <span class="tsd-signature-type">Event</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="mouseDown" class="tsd-anchor"></a><h3>mouse<wbr/>Down</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">mouse<wbr/>Down<span class="tsd-signature-symbol">(</span>sender<span class="tsd-signature-symbol">: </span><a href="EventSource.html" class="tsd-signature-type" data-tsd-kind="Class">EventSource</a>, me<span class="tsd-signature-symbol">: </span><a href="InternalMouseEvent.html" class="tsd-signature-type" data-tsd-kind="Class">InternalMouseEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#mouseDown">mouseDown</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L871">view/handler/EdgeHandler.ts:871</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Handles the event by checking if a special element of the handler
|
||
|
was clicked, in which case the index parameter is non-null. The
|
||
|
indices may be one of <LABEL_HANDLE> or the number of the respective
|
||
|
control point. The source and target points are used for reconnecting
|
||
|
the edge.</p>
|
||
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>sender: <a href="EventSource.html" class="tsd-signature-type" data-tsd-kind="Class">EventSource</a></h5></li><li><h5>me: <a href="InternalMouseEvent.html" class="tsd-signature-type" data-tsd-kind="Class">InternalMouseEvent</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="mouseMove" class="tsd-anchor"></a><h3>mouse<wbr/>Move</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">mouse<wbr/>Move<span class="tsd-signature-symbol">(</span>sender<span class="tsd-signature-symbol">: </span><a href="EventSource.html" class="tsd-signature-type" data-tsd-kind="Class">EventSource</a>, me<span class="tsd-signature-symbol">: </span><a href="InternalMouseEvent.html" class="tsd-signature-type" data-tsd-kind="Class">InternalMouseEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#mouseMove">mouseMove</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L1385">view/handler/EdgeHandler.ts:1385</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Handles the event by updating the preview.</p>
|
||
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>sender: <a href="EventSource.html" class="tsd-signature-type" data-tsd-kind="Class">EventSource</a></h5></li><li><h5>me: <a href="InternalMouseEvent.html" class="tsd-signature-type" data-tsd-kind="Class">InternalMouseEvent</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="mouseUp" class="tsd-anchor"></a><h3>mouse<wbr/>Up</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">mouse<wbr/>Up<span class="tsd-signature-symbol">(</span>sender<span class="tsd-signature-symbol">: </span><a href="EventSource.html" class="tsd-signature-type" data-tsd-kind="Class">EventSource</a>, me<span class="tsd-signature-symbol">: </span><a href="InternalMouseEvent.html" class="tsd-signature-type" data-tsd-kind="Class">InternalMouseEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#mouseUp">mouseUp</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L1493">view/handler/EdgeHandler.ts:1493</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Handles the event to applying the previewed changes on the edge by
|
||
|
using {@link oveLabel}, <connect> or <changePoints>.</p>
|
||
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>sender: <a href="EventSource.html" class="tsd-signature-type" data-tsd-kind="Class">EventSource</a></h5></li><li><h5>me: <a href="InternalMouseEvent.html" class="tsd-signature-type" data-tsd-kind="Class">InternalMouseEvent</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="moveLabel" class="tsd-anchor"></a><h3>move<wbr/>Label</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">move<wbr/>Label<span class="tsd-signature-symbol">(</span>edgeState<span class="tsd-signature-symbol">: </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a>, x<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, y<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#moveLabel">moveLabel</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L1714">view/handler/EdgeHandler.ts:1714</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Changes the coordinates for the label of the given edge.</p>
|
||
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>edgeState: <a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a></h5></li><li><h5>x: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Integer that specifies the x-coordinate of the new location.</p>
|
||
|
</div></div></li><li><h5>y: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Integer that specifies the y-coordinate of the new location.</p>
|
||
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="onDestroy" class="tsd-anchor"></a><h3>on<wbr/>Destroy</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">on<wbr/>Destroy<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#onDestroy">onDestroy</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L2275">view/handler/EdgeHandler.ts:2275</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Destroys the handler and all its resources and DOM nodes. This does
|
||
|
normally not need to be called as handlers are destroyed automatically
|
||
|
when the corresponding cell is deselected.</p>
|
||
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><a id="redraw" class="tsd-anchor"></a><h3>redraw</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><li class="tsd-signature tsd-kind-icon">redraw<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Overrides <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#redraw">redraw</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeSegmentHandler.ts#L336">view/handler/EdgeSegmentHandler.ts:336</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Overridden to invoke <refresh> before the redraw.</p>
|
||
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="redrawHandles" class="tsd-anchor"></a><h3>redraw<wbr/>Handles</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">redraw<wbr/>Handles<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#redrawHandles">redrawHandles</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L1981">view/handler/EdgeHandler.ts:1981</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Redraws the handles.</p>
|
||
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><a id="redrawInnerBends" class="tsd-anchor"></a><h3>redraw<wbr/>Inner<wbr/>Bends</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><li class="tsd-signature tsd-kind-icon">redraw<wbr/>Inner<wbr/>Bends<span class="tsd-signature-symbol">(</span>p0<span class="tsd-signature-symbol">: </span><a href="Point.html" class="tsd-signature-type" data-tsd-kind="Class">Point</a>, pe<span class="tsd-signature-symbol">: </span><a href="Point.html" class="tsd-signature-type" data-tsd-kind="Class">Point</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Overrides <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#redrawInnerBends">redrawInnerBends</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeSegmentHandler.ts#L344">view/handler/EdgeSegmentHandler.ts:344</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Updates the position of the custom bends.</p>
|
||
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>p0: <a href="Point.html" class="tsd-signature-type" data-tsd-kind="Class">Point</a></h5></li><li><h5>pe: <a href="Point.html" class="tsd-signature-type" data-tsd-kind="Class">Point</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="refresh" class="tsd-anchor"></a><h3>refresh</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">refresh<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#refresh">refresh</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L2225">view/handler/EdgeHandler.ts:2225</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Refreshes the bends of this handler.</p>
|
||
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="removeHint" class="tsd-anchor"></a><h3>remove<wbr/>Hint</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">remove<wbr/>Hint<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#removeHint">removeHint</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L966">view/handler/EdgeHandler.ts:966</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Hooks for subclassers to hide details when the handler gets inactive.</p>
|
||
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="removePoint" class="tsd-anchor"></a><h3>remove<wbr/>Point</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">remove<wbr/>Point<span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a>, index<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#removePoint">removePoint</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L1908">view/handler/EdgeHandler.ts:1908</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Removes the control point at the given index from the given state.</p>
|
||
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>state: <a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a></h5></li><li><h5>index: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="reset" class="tsd-anchor"></a><h3>reset</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">reset<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#reset">reset</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L1640">view/handler/EdgeHandler.ts:1640</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Resets the state of this handler.</p>
|
||
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="roundLength" class="tsd-anchor"></a><h3>round<wbr/>Length</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">round<wbr/>Length<span class="tsd-signature-symbol">(</span>length<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#roundLength">roundLength</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L971">view/handler/EdgeHandler.ts:971</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Hook for rounding the unscaled width or height. This uses Math.round.</p>
|
||
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>length: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="setHandlesVisible" class="tsd-anchor"></a><h3>set<wbr/>Handles<wbr/>Visible</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">set<wbr/>Handles<wbr/>Visible<span class="tsd-signature-symbol">(</span>visible<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#setHandlesVisible">setHandlesVisible</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L2102">view/handler/EdgeHandler.ts:2102</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Shortcut to <hideSizers>.</p>
|
||
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>visible: <span class="tsd-signature-type">boolean</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="setPreviewColor" class="tsd-anchor"></a><h3>set<wbr/>Preview<wbr/>Color</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">set<wbr/>Preview<wbr/>Color<span class="tsd-signature-symbol">(</span>color<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#setPreviewColor">setPreviewColor</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L1672">view/handler/EdgeHandler.ts:1672</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Sets the color of the preview to the given value.</p>
|
||
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>color: <span class="tsd-signature-type">string</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><a id="start" class="tsd-anchor"></a><h3>start</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><li class="tsd-signature tsd-kind-icon">start<span class="tsd-signature-symbol">(</span>x<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, y<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, index<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Overrides <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#start">start</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeSegmentHandler.ts#L276">view/handler/EdgeSegmentHandler.ts:276</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Adds custom bends for the center of each segment.</p>
|
||
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>x: <span class="tsd-signature-type">number</span></h5></li><li><h5>y: <span class="tsd-signature-type">number</span></h5></li><li><h5>index: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="updateHint" class="tsd-anchor"></a><h3>update<wbr/>Hint</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">update<wbr/>Hint<span class="tsd-signature-symbol">(</span>me<span class="tsd-signature-symbol">: </span><a href="InternalMouseEvent.html" class="tsd-signature-type" data-tsd-kind="Class">InternalMouseEvent</a>, point<span class="tsd-signature-symbol">: </span><a href="Point.html" class="tsd-signature-type" data-tsd-kind="Class">Point</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#updateHint">updateHint</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L961">view/handler/EdgeHandler.ts:961</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Hook for subclassers do show details while the handler is active.</p>
|
||
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>me: <a href="InternalMouseEvent.html" class="tsd-signature-type" data-tsd-kind="Class">InternalMouseEvent</a></h5></li><li><h5>point: <a href="Point.html" class="tsd-signature-type" data-tsd-kind="Class">Point</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="updateParentHighlight" class="tsd-anchor"></a><h3>update<wbr/>Parent<wbr/>Highlight</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">update<wbr/>Parent<wbr/>Highlight<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#updateParentHighlight">updateParentHighlight</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L355">view/handler/EdgeHandler.ts:355</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Updates the highlight of the parent if <parentHighlightEnabled> is true.</p>
|
||
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><a id="updatePreviewState" class="tsd-anchor"></a><h3>update<wbr/>Preview<wbr/>State</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><li class="tsd-signature tsd-kind-icon">update<wbr/>Preview<wbr/>State<span class="tsd-signature-symbol">(</span>edge<span class="tsd-signature-symbol">: </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a>, point<span class="tsd-signature-symbol">: </span><a href="Point.html" class="tsd-signature-type" data-tsd-kind="Class">Point</a>, terminalState<span class="tsd-signature-symbol">: </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a>, me<span class="tsd-signature-symbol">: </span><a href="InternalMouseEvent.html" class="tsd-signature-type" data-tsd-kind="Class">InternalMouseEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Overrides <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#updatePreviewState">updatePreviewState</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeSegmentHandler.ts#L109">view/handler/EdgeSegmentHandler.ts:109</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Overridden to perform optimization of the edge style result.</p>
|
||
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>edge: <a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a></h5></li><li><h5>point: <a href="Point.html" class="tsd-signature-type" data-tsd-kind="Class">Point</a></h5></li><li><h5>terminalState: <a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a></h5></li><li><h5>me: <a href="InternalMouseEvent.html" class="tsd-signature-type" data-tsd-kind="Class">InternalMouseEvent</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="validateConnection" class="tsd-anchor"></a><h3>validate<wbr/>Connection</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">validate<wbr/>Connection<span class="tsd-signature-symbol">(</span>source<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a>, target<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="ElbowEdgeHandler.html">ElbowEdgeHandler</a>.<a href="ElbowEdgeHandler.html#validateConnection">validateConnection</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/EdgeHandler.ts#L602">view/handler/EdgeHandler.ts:602</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p>Returns the error message or an empty string if the connection for the
|
||
|
given source, target pair is not valid. Otherwise it returns null. This
|
||
|
implementation uses {@link Graph#getEdgeValidationError}.</p>
|
||
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>source: <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p><Cell> that represents the source terminal.</p>
|
||
|
</div></div></li><li><h5>target: <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
||
|
<p><Cell> that represents the target terminal.</p>
|
||
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></h4></li></ul></section></section></div><div class="col-4 col-menu menu-sticky-wrap menu-highlight"><nav class="tsd-navigation primary"><ul><li class=""><a href="../index.html">Exports</a></li><li class=" tsd-kind-namespace"><a href="../modules/DomHelpers.html">Dom<wbr/>Helpers</a></li><li class=" tsd-kind-namespace"><a href="../modules/cloneUtils.html">clone<wbr/>Utils</a></li><li class=" tsd-kind-namespace"><a href="../modules/constants.html">constants</a></li><li class=" tsd-kind-namespace"><a href="../modules/domUtils.html">dom<wbr/>Utils</a></li><li class=" tsd-kind-namespace"><a href="../modules/eventUtils.html">event<wbr/>Utils</a></li><li class=" tsd-kind-namespace"><a href="../modules/gestureUtils.html">gesture<wbr/>Utils</a></li><li class=" tsd-kind-namespace"><a href="../modules/mathUtils.html">math<wbr/>Utils</a></li><li class=" tsd-kind-namespace"><a href="../modules/stringUtils.html">string<wbr/>Utils</a></li><li class=" tsd-kind-namespace"><a href="../modules/styleUtils.html">style<wbr/>Utils</a></li><li class=" tsd-kind-namespace"><a href="../modules/utils.html">utils</a></li><li class=" tsd-kind-namespace"><a href="../modules/xmlUtils.html">xml<wbr/>Utils</a></li></ul></nav><nav class="tsd-navigation secondary menu-sticky"><ul><li class="current tsd-kind-class"><a href="EdgeSegmentHandler.html" class="tsd-kind-icon">Edge<wbr/>Segment<wbr/>Handler</a><ul><li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite"><a href="EdgeSegmentHandler.html#constructor" class="tsd-kind-icon">constructor</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="EdgeSegmentHandler.html#abspoints" class="tsd-kind-icon">abspoints</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="EdgeSegmentHandler.html#active" class="tsd-kind-icon">active</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="EdgeSegmentHandler.html#addEnabled" class="tsd-kind-icon">add<wbr/>Enabled</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="EdgeSegmentHandler.html#allowHandleBoundsCheck" class="tsd-kind-icon">allow<wbr/>Handle<wbr/>Bounds<wbr/>Check</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="EdgeSegmentHandler.html#bends" class="tsd-kind-icon">bends</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="EdgeSegmentHandler.html#cloneEnabled" class="tsd-kind-icon">clone<wbr/>Enabled</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="EdgeSegmentHandler.html#constraintHandler" class="tsd-kind-icon">constraint<wbr/>Handler</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="EdgeSegmentHandler.html#currentPoint" class="tsd-kind-icon">current<wbr/>Point</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="EdgeSegmentHandler.html#customHandles" class="tsd-kind-icon">custom<wbr/>Handles</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="EdgeSegmentHandler.html#dblClickRemoveEnabled" class="tsd-kind-icon">dbl<wbr/>Click<wbr/>Remove<wbr/>Enabled</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="EdgeSegmentHandler.html#doubleClickOrientationResource" class="tsd-kind-icon">double<wbr/>Click<wbr/>Orientation<wbr/>Resource</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="EdgeSegmentHandler.html#error" class="tsd-kind-icon">error</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="EdgeSegmentHandler.html#escapeHandler" class="tsd-kind-icon">escape<wbr/>Handler</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="EdgeSegmentHandler.html#flipEnabled" class="tsd-kind-icon">flip<wbr/>Enab
|