<!-- saved from url=(0026)http://www.naturaldocs.org -->
<divid=Content><divclass="CInterface"><divclass=CTopicid=MainTopic><h1class=CTitle><aname="mxEdgeStyleFunction"></a>mxEdgeStyleFunction</h1><divclass=CBody><p>Defines the requirements for an edge style function.</p><!--START_ND_SUMMARY--><divclass=Summary><divclass=STitle>Summary</div><divclass=SBorder><tableborder=0cellspacing=0cellpadding=0class=STable><trclass="SMain"><tdclass=SEntry><ahref="#mxEdgeStyleFunction">mxEdgeStyleFunction</a></td><tdclass=SDescription>Defines the requirements for an edge style function.</td></tr><trclass="SGroup SIndent1"><tdclass=SEntry><ahref="#mxEdgeStyleFunction.Functions">Functions</a></td><tdclass=SDescription></td></tr><trclass="SFunction SIndent2 SMarked"><tdclass=SEntry><ahref="#mxEdgeStyleFunction.apply"id=link1onMouseOver="ShowTip(event, 'tt1', 'link1')"onMouseOut="HideTip('tt1')">apply</a></td><tdclass=SDescription>Implements an edge style function. </td></tr><trclass="SClass"><tdclass=SEntry><ahref="#mxEntityRelation">mxEntityRelation</a></td><tdclass=SDescription>Implements an entity relation style for edges (as used in database schema diagrams). </td></tr><trclass="SClass"><tdclass=SEntry><ahref="#mxLoop">mxLoop</a></td><tdclass=SDescription>Implements a self-reference, aka. </td></tr><trclass="SClass"><tdclass=SEntry><ahref="#mxElbowConnector">mxElbowConnector</a></td><tdclass=SDescription>Uses either <SideToSide> or <TopToBottom> depending on the horizontal flag in the cell style. </td></tr><trclass="SClass"><tdclass=SEntry><ahref="#mxSideToSide">mxSideToSide</a></td><tdclass=SDescription>Implements a vertical elbow edge. </td></tr><trclass="SClass"><tdclass=SEntry><ahref="#mxTopToBottom">mxTopToBottom</a></td><tdclass=SDescription>Implements a horizontal elbow edge. </td></tr><trclass="SClass"><tdclass=SEntry><ahref="#mxEdgeStyle">mxEdgeStyle</a></td><tdclass=SDescription>Provides various edge styles to be used as the values for <ahref="../util/mxConstants-php.html#mxConstants.STYLE_EDGE"class=LVariableid=link2onMouseOver="ShowTip(event, 'tt2', 'link2')"onMouseOut="HideTip('tt2')">mxConstants.STYLE_EDGE</a> in a cell style.</td></tr><trclass="SGroup SIndent1"><tdclass=SEntry><ahref="#mxEdgeStyle.Variables">Variables</a></td><tdclass=SDescription></td></tr><trclass="SVariable SIndent2 SMarked"><tdclass=SEntry><ahref="#mxEdgeStyle.EntityRelation"id=link3onMouseOver="ShowTip(event, 'tt3', 'link3')"onMouseOut="HideTip('tt3')">EntityRelation</a></td><tdclass=SDescription>Provides an entity relation style for edges (as used in database schema diagrams).</td></tr><trclass="SVariable SIndent2"><tdclass=SEntry><ahref="#mxEdgeStyle.Loop"id=link4onMouseOver="ShowTip(event, 'tt4', 'link4')"onMouseOut="HideTip('tt4')">Loop</a></td><tdclass=SDescription>Provides a self-reference, aka. </td></tr><trclass="SVariable SIndent2 SMarked"><tdclass=SEntry><ahref="#mxEdgeStyle.ElbowConnector"id=link5onMouseOver="ShowTip(event, 'tt5', 'link5')"onMouseOut="HideTip('tt5')">ElbowConnector</a></td><tdclass=SDescription>Provides an elbow connector.</td></tr><trclass="SVariable SIndent2"><tdclass=SEntry><ahref="#mxEdgeStyle.SideToSide"id=link6onMouseOver="ShowTip(event, 'tt6', 'link6')"onMouseOut="HideTip('tt6')">SideToSide</a></td><tdclass=SDescription>Provides a side to side connector.</td></tr><trclass="SVariable SIndent2 SMarked"><tdclass=SEntry><ahref="#mxEdgeStyle.TopToBottom"id=link7onMouseOver="ShowTip(event, 'tt7', 'link7')"onMouseOut="HideTip('tt7')">TopToBottom</a></td><tdclass=SDescription>Provides a top to bottom connector.</td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxEdgeStyleFunction.apply"></a>apply</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>public function apply(</td><tdclass=PParameterPrefixnowrap></td><tdclass=PParameternowrap>$state,</td></tr><tr><td></td><tdclass=PParameterPrefixnowrap></td><tdclass=PParameternowrap>$source,</td></tr><tr><td></td><tdclass=PParameterPrefixnowrap></td><tdclass=PParameternowrap>$target,</td></tr><tr><td></td><tdclass=PParameterPrefixnowrap></td><tdclass=PParameternowrap>$points,</td></tr><tr><td></td><tdclass=PParameterPrefixnowrap>&</td><tdclass=PParameternowrap>$result</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote><p>Implements an edge style function. At the time the function is called, the result array contains a placeholder (null) for the first absolute point, that is, the point where the edge and source terminal are connected. The implementation of the style then adds all intermediate waypoints except for the last point, that is, the connection point between the edge and the target terminal. The first ant the last point in the result array are then replaced with mxPoints that take into account the terminal’s perimeter and next point on the edge.</p><h4class=CHeading>Parameters</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>state</td><tdclass=CDLDescription><ahref="mxCellState-php.html#mxCellState"class=LClassid=link8onMouseOver="ShowTip(event, 'tt8', 'link8')"onMouseOut="HideTip('tt8')">mxCellState</a> that represents the edge to be updated.</td></tr><tr><tdclass=CDLEntry>source</td><tdclass=CDLDescription><ahref="mxCellState-php.html#mxCellState"class=LClassid=link9onMouseOver="ShowTip(event, 'tt8', 'link9')"onMouseOut="HideTip('tt8')">mxCellState</a> that represents the source terminal.</td></tr><tr><tdclass=CDLEntry>target</td><tdclass=CDLDescription><ahref="mxCellState-php.html#mxCellState"class=LClassid=link10onMouseOver="ShowTip(event, 'tt8', 'link10')"onMouseOut="HideTip('tt8')">mxCellState</a> that represents the target terminal.</td></tr><tr><tdclass=CDLEntry>points</td><tdclass=CDLDescription>List of relative control points.</td></tr><tr><tdclass=CDLEntry>result</td><tdclass=CDLDescription>Array of <ahref="../util/mxPoint-php.html#mxPoint"class=LClassid=link11onMouseOver="ShowTip(event, 'tt9', 'link11')"onMouseOut="HideTip('tt9')">mxPoints</a> that represent the actual points of the edge.</td></tr></table></div></div></div>
<divclass="CClass"><divclass=CTopic><h2class=CTitle><aname="mxEntityRelation"></a>mxEntityRelation</h2><divclass=CBody><p>Implements an entity relation style for edges (as used in database schema diagrams). At the time the function is called, the result array contains a placeholder (null) for the first absolute point, that is, the point where the edge and source terminal are connected. The implementation of the style then adds all intermediate waypoints except for the last point, that is, the connection point between the edge and the target terminal. The first ant the last point in the result array are then replaced with mxPoints that take into account the terminal’s perimeter and next point on the edge.</p></div></div></div>
<divclass="CClass"><divclass=CTopic><h2class=CTitle><aname="mxLoop"></a>mxLoop</h2><divclass=CBody><p>Implements a self-reference, aka. loop.</p></div></div></div>
<divclass="CClass"><divclass=CTopic><h2class=CTitle><aname="mxElbowConnector"></a>mxElbowConnector</h2><divclass=CBody><p>Uses either <SideToSide> or <TopToBottom> depending on the horizontal flag in the cell style. <SideToSide> is used if horizontal is true or unspecified. See <EntityRelation> for a description of the parameters.</p></div></div></div>
<divclass="CClass"><divclass=CTopic><h2class=CTitle><aname="mxSideToSide"></a>mxSideToSide</h2><divclass=CBody><p>Implements a vertical elbow edge. See <EntityRelation> for a description of the parameters.</p></div></div></div>
<divclass="CClass"><divclass=CTopic><h2class=CTitle><aname="mxTopToBottom"></a>mxTopToBottom</h2><divclass=CBody><p>Implements a horizontal elbow edge. See <EntityRelation> for a description of the parameters.</p></div></div></div>
<divclass="CClass"><divclass=CTopic><h2class=CTitle><aname="mxEdgeStyle"></a>mxEdgeStyle</h2><divclass=CBody><p>Provides various edge styles to be used as the values for <ahref="../util/mxConstants-php.html#mxConstants.STYLE_EDGE"class=LVariableid=link17onMouseOver="ShowTip(event, 'tt2', 'link17')"onMouseOut="HideTip('tt2')">mxConstants.STYLE_EDGE</a> in a cell style.</p><!--START_ND_SUMMARY--><divclass=Summary><divclass=STitle>Summary</div><divclass=SBorder><tableborder=0cellspacing=0cellpadding=0class=STable><trclass="SGroup"><tdclass=SEntry><ahref="#mxEdgeStyle.Variables">Variables</a></td><tdclass=SDescription></td></tr><trclass="SVariable SIndent1 SMarked"><tdclass=SEntry><ahref="#mxEdgeStyle.EntityRelation"id=link12onMouseOver="ShowTip(event, 'tt3', 'link12')"onMouseOut="HideTip('tt3')">EntityRelation</a></td><tdclass=SDescription>Provides an entity relation style for edges (as used in database schema diagrams).</td></tr><trclass="SVariable SIndent1"><tdclass=SEntry><ahref="#mxEdgeStyle.Loop"id=link13onMouseOver="ShowTip(event, 'tt4', 'link13')"onMouseOut="HideTip('tt4')">Loop</a></td><tdclass=SDescription>Provides a self-reference, aka. </td></tr><trclass="SVariable SIndent1 SMarked"><tdclass=SEntry><ahref="#mxEdgeStyle.ElbowConnector"id=link14onMouseOver="ShowTip(event, 'tt5', 'link14')"onMouseOut="HideTip('tt5')">ElbowConnector</a></td><tdclass=SDescription>Provides an elbow connector.</td></tr><trclass="SVariable SIndent1"><tdclass=SEntry><ahref="#mxEdgeStyle.SideToSide"id=link15onMouseOver="ShowTip(event, 'tt6', 'link15')"onMouseOut="HideTip('tt6')">SideToSide</a></td><tdclass=SDescription>Provides a side to side connector.</td></tr><trclass="SVariable SIndent1 SMarked"><tdclass=SEntry><ahref="#mxEdgeStyle.TopToBottom"id=link16onMouseOver="ShowTip(event, 'tt7', 'link16')"onMouseOut="HideTip('tt7')">TopToBottom</a></td><tdclass=SDescription>Provides a top to bottom connector.</td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEdgeStyle.EntityRelation"></a>EntityRelation</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>public static $EntityRelation</td></tr></table></blockquote><p>Provides an entity relation style for edges (as used in database schema diagrams).</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEdgeStyle.Loop"></a>Loop</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>public static $Loop</td></tr></table></blockquote><p>Provides a self-reference, aka. loop.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEdgeStyle.ElbowConnector"></a>ElbowConnector</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>public static $ElbowConnector</td></tr></table></blockquote><p>Provides an elbow connector.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEdgeStyle.SideToSide"></a>SideToSide</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>public static $SideToSide</td></tr></table></blockquote><p>Provides a side to side connector.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEdgeStyle.TopToBottom"></a>TopToBottom</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>public static $TopToBottom</td></tr></table></blockquote><p>Provides a top to bottom connector.</p></div></div></div>
</div><!--Content-->
<divid=Footer><ahref="http://www.naturaldocs.org">Generated by Natural Docs</a></div><!--Footer-->
<divclass=CToolTipid="tt1"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>public function apply(</td><tdclass=PParameterPrefixnowrap></td><tdclass=PParameternowrap>$state,</td></tr><tr><td></td><tdclass=PParameterPrefixnowrap></td><tdclass=PParameternowrap>$source,</td></tr><tr><td></td><tdclass=PParameterPrefixnowrap></td><tdclass=PParameternowrap>$target,</td></tr><tr><td></td><tdclass=PParameterPrefixnowrap></td><tdclass=PParameternowrap>$points,</td></tr><tr><td></td><tdclass=PParameterPrefixnowrap>&</td><tdclass=PParameternowrap>$result</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>Implements an edge style function. </div></div><divclass=CToolTipid="tt2"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>public static $STYLE_EDGE</td></tr></table></blockquote>Defines the key for the edge style. </div></div><divclass=CToolTipid="tt3"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>public static $EntityRelation</td></tr></table></blockquote>Provides an entity relation style for edges (as used in database schema diagrams).</div></div><divclass=CToolTipid="tt4"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>public static $Loop</td></tr></table></blockquote>Provides a self-reference, aka. </div></div><divclass=CToolTipid="tt5"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>public static $ElbowConnector</td></tr></table></blockquote>Provides an elbow connector.</div></div><divclass=CToolTipid="tt6"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>public static $SideToSide</td></tr></table></blockquote>Provides a side to side connector.</div></div><divclass=CToolTipid="tt7"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>public static $TopToBottom</td></tr></table></blockquote>Provides a top to bottom connector.</div></div><divclass=CToolTipid="tt8"><divclass=CClass>Represents the current state of a cell in a given mxGraphView.</div></div><divclass=CToolTipid="tt9"><divclass=CClass>Implements a 2-dimensional point with double precision coordinates.</div></div><!--END_ND_TOOLTIPS-->