<divid=Content><divclass="CFile"><divclass=CTopicid=MainTopic><h1class=CTitle><aname="mxEdgeSegmentHandler.js"></a>mxEdgeSegmentHandler.js</h1><divclass=CBody><!--START_ND_SUMMARY--><divclass=Summary><divclass=STitle>Summary</div><divclass=SBorder><tableborder=0cellspacing=0cellpadding=0class=STable><trclass="SMain"><tdclass=SEntry><ahref="#mxEdgeSegmentHandler.js">mxEdgeSegmentHandler.js</a></td><tdclass=SDescription></td></tr><trclass="SGroup"><tdclass=SEntry><ahref="#Functions">Functions</a></td><tdclass=SDescription></td></tr><trclass="SFunction SIndent1 SMarked"><tdclass=SEntry><ahref="#getCurrentPoints"id=link1onMouseOver="ShowTip(event, 'tt1', 'link1')"onMouseOut="HideTip('tt1')">getCurrentPoints</a></td><tdclass=SDescription>Returns the current absolute points.</td></tr><trclass="SFunction SIndent1"><tdclass=SEntry><ahref="#getPreviewPoints"id=link2onMouseOver="ShowTip(event, 'tt2', 'link2')"onMouseOut="HideTip('tt2')">getPreviewPoints</a></td><tdclass=SDescription>Updates the given preview state taking into account the state of the constraint handler.</td></tr><trclass="SFunction SIndent1 SMarked"><tdclass=SEntry><ahref="#updatePreviewState"id=link3onMouseOver="ShowTip(event, 'tt3', 'link3')"onMouseOut="HideTip('tt3')">updatePreviewState</a></td><tdclass=SDescription>Overridden to perform optimization of the edge style result.</td></tr><trclass="SFunction SIndent1"><tdclass=SEntry><ahref="#getTooltipForNode"id=link4onMouseOver="ShowTip(event, 'tt4', 'link4')"onMouseOut="HideTip('tt4')">getTooltipForNode</a></td><tdclass=SDescription>Returns no tooltips.</td></tr><trclass="SFunction SIndent1 SMarked"><tdclass=SEntry><ahref="#createBends">createBends</a></td><tdclass=SDescription>Adds custom bends for the center of each segment.</td></tr><trclass="SFunction SIndent1"><tdclass=SEntry><ahref="#createBends"id=link5onMouseOver="ShowTip(event, 'tt5', 'link5')"onMouseOut="HideTip('tt5')">createBends</a></td><tdclass=SDescription>Adds custom bends for the center of each segment.</td></tr><trclass="SFunction SIndent1 SMarked"><tdclass=SEntry><ahref="#redraw"id=link6onMouseOver="ShowTip(event, 'tt6', 'link6')"onMouseOut="HideTip('tt6')">redraw</a></td><tdclass=SDescription>Overridden to invoke <refresh> before the redraw.</td></tr><trclass="SFunction SIndent1"><tdclass=SEntry><ahref="#redrawInnerBends"id=link7onMouseOver="ShowTip(event, 'tt7', 'link7')"onMouseOut="HideTip('tt7')">redrawInnerBends</a></td><tdclass=SDescription>Updates the position of the custom bends.</td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="getCurrentPoints"></a>getCurrentPoints</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxEdgeSegmentHandler.prototype.getCurrentPoints = function()</td></tr></table></blockquote><p>Returns the current absolute points.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="getPreviewPoints"></a>getPreviewPoints</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>mxEdgeSegmentHandler.prototype.getPreviewPoints = function(</td><tdclass=PParameternowrap>point</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote><p>Updates the given preview state taking into account the state of the constraint handler.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="updatePreviewState"></a>updatePreviewState</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>mxEdgeSegmentHandler.prototype.updatePreviewState = function(</td><tdclass=PParameternowrap>edge,</td></tr><tr><td></td><tdclass=PParameternowrap>point,</td></tr><tr><td></td><tdclass=PParameternowrap>terminalState,</td></tr><tr><td></td><tdclass=PParameternowrap>me</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote><p>Overridden to perform optimization of the edge style result.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="getTooltipForNode"></a>getTooltipForNode</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>mxEdgeSegmentHandler.prototype.getTooltipForNode = function(</td><tdclass=PParameternowrap>node</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns no tooltips.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="createBends"></a>createBends</h3><divclass=CBody><p>Adds custom bends for the center of each segment.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="createBends"></a>createBends</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxEdgeSegmentHandler.prototype.createBends = function()</td></tr></table></blockquote><p>Adds custom bends for the center of each segment.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="redraw"></a>redraw</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxEdgeSegmentHandler.prototype.redraw = function()</td></tr></table></blockquote><p>Overridden to invoke <refresh> before the redraw.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="redrawInnerBends"></a>redrawInnerBends</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>mxEdgeSegmentHandler.prototype.redrawInnerBends = function(</td><tdclass=PParameternowrap>p0,</td></tr><tr><td></td><tdclass=PParameternowrap>pe</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote><p>Updates the position of the custom bends.</p></div></div></div>
<divclass=CToolTipid="tt1"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxEdgeSegmentHandler.prototype.getCurrentPoints = function()</td></tr></table></blockquote>Returns the current absolute points.</div></div><divclass=CToolTipid="tt2"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>mxEdgeSegmentHandler.prototype.getPreviewPoints = function(</td><tdclass=PParameternowrap>point</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>Updates the given preview state taking into account the state of the constraint handler.</div></div><divclass=CToolTipid="tt3"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>mxEdgeSegmentHandler.prototype.updatePreviewState = function(</td><tdclass=PParameternowrap>edge,</td></tr><tr><td></td><tdclass=PParameternowrap>point,</td></tr><tr><td></td><tdclass=PParameternowrap>terminalState,</td></tr><tr><td></td><tdclass=PParameternowrap>me</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>Overridden to perform optimization of the edge style result.</div></div><divclass=CToolTipid="tt4"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>mxEdgeSegmentHandler.prototype.getTooltipForNode = function(</td><tdclass=PParameternowrap>node</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>Returns no tooltips.</div></div><divclass=CToolTipid="tt5"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxEdgeSegmentHandler.prototype.createBends = function()</td></tr></table></blockquote>Adds custom bends for the center of each segment.</div></div><divclass=CToolTipid="tt6"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxEdgeSegmentHandler.prototype.redraw = function()</td></tr></table></blockquote>Overridden to invoke refresh before the redraw.</div></div><divclass=CToolTipid="tt7"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>mxEdgeSegmentHandler.prototype.redrawInnerBends = function(</td><tdclass=PParameternowrap>p0,</td></tr><tr><td></td><tdclass=PParameternowrap>pe</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>Updates the position of the custom bends.</div></div><!--END_ND_TOOLTIPS-->