<divid=Content><divclass="CClass"><divclass=CTopicid=MainTopic><h1class=CTitle><aname="mxCellState"></a>mxCellState</h1><divclass=CBody><p>Represents the current state of a cell in a given <ahref="mxGraphView-js.html#mxGraphView"class=LClassid=link42onMouseOver="ShowTip(event, 'tt1', 'link42')"onMouseOut="HideTip('tt1')">mxGraphView</a>.</p><p>For edges, the edge label position is stored in <ahref="#mxCellState.absoluteOffset"class=LVariableid=link43onMouseOver="ShowTip(event, 'tt12', 'link43')"onMouseOut="HideTip('tt12')">absoluteOffset</a>.</p><p>The size for oversize labels can be retrieved using the boundingBox property of the <ahref="#mxCellState.text"class=LVariableid=link44onMouseOver="ShowTip(event, 'tt20', 'link44')"onMouseOut="HideTip('tt20')">text</a> field as shown below.</p><blockquote><preclass="prettyprint">var bbox = (state.text != null) ? state.text.boundingBox : null;</pre></blockquote><!--START_ND_SUMMARY--><divclass=Summary><divclass=STitle>Summary</div><divclass=SBorder><tableborder=0cellspacing=0cellpadding=0class=STable><trclass="SMain"><tdclass=SEntry><ahref="#mxCellState">mxCellState</a></td><tdclass=SDescription>Represents the current state of a cell in a given <ahref="mxGraphView-js.html#mxGraphView"class=LClassid=link1onMouseOver="ShowTip(event, 'tt1', 'link1')"onMouseOut="HideTip('tt1')">mxGraphView</a>.</td></tr><trclass="SGroup SIndent1"><tdclass=SEntry><ahref="#mxCellState.Functions">Functions</a></td><tdclass=SDescription></td></tr><trclass="SFunction SIndent2 SMarked"><tdclass=SEntry><ahref="#mxCellState.mxCellState"id=link2onMouseOver="ShowTip(event, 'tt2', 'link2')"onMouseOut="HideTip('tt2')">mxCellState</a></td><tdclass=SDescription>Constructs a new object that represents the current state of the given cell in the specified view.</td></tr><trclass="SGroup SIndent1"><tdclass=SEntry><ahref="#mxCellState.Variables">Variables</a></td><tdclass=SDescription></td></tr><trclass="SVariable SIndent2 SMarked"><tdclass=SEntry><ahref="#mxCellState.view"id=link3onMouseOver="ShowTip(event, 'tt3', 'link3')"onMouseOut="HideTip('tt3')">view</a></td><tdclass=SDescription>Reference to the enclosing <ahref="mxGraphView-js.html#mxGraphView"class=LClassid=link4onMouseOver="ShowTip(event, 'tt1', 'link4')"onMouseOut="HideTip('tt1')">mxGraphView</a>.</td></tr><trclass="SVariable SIndent2"><tdclass=SEntry><ahref="#mxCellState.cell"id=link5onMouseOver="ShowTip(event, 'tt4', 'link5')"onMouseOut="HideTip('tt4')">cell</a></td><tdclass=SDescription>Reference to the <ahref="../model/mxCell-js.html#mxCell"class=LClassid=link6onMouseOver="ShowTip(event, 'tt5', 'link6')"onMouseOut="HideTip('tt5')">mxCell</a> that is represented by this state.</td></tr><trclass="SVariable SIndent2 SMarked"><tdclass=SEntry><ahref="#mxCellState.style"id=link7onMouseOver="ShowTip(event, 'tt6', 'link7')"onMouseOut="HideTip('tt6')">style</a></td><tdclass=SDescription>Contains an array of key, value pairs that represent the style of the cell.</td></tr><trclass="SVariable SIndent2"><tdclass=SEntry><ahref="#mxCellState.invalidStyle"id=link8onMouseOver="ShowTip(event, 'tt7', 'link8')"onMouseOut="HideTip('tt7')">invalidStyle</a></td><tdclass=SDescription>Specifies if the style is invalid. </td></tr><trclass="SVariable SIndent2 SMarked"><tdclass=SEntry><ahref="#mxCellState.invalid"id=link9onMouseOver="ShowTip(event, 'tt8', 'link9')"onMouseOut="HideTip('tt8')">invalid</a></td><tdclass=SDescription>Specifies if the state is invalid. </td></tr><trclass="SVariable SIndent2"><tdclass=SEntry><ahref="#mxCellState.origin"id=link10onMouseOver="ShowTip(event, 'tt9', 'link10')"onMouseOut="HideTip('tt9')">origin</a></td><tdclass=SDescription><ahref="../util/mxPoint-js.html#mxPoint"class=LClassid=link11onMouseOver="ShowTip(event, 'tt10', 'link11')"onMouseOut="HideTip('tt10')">mxPoint</a> that holds the origin for all child cells. </td></tr><trclass="SVariable SIndent2 SMarked"><tdclass=SEntry><ahref="#mxCellState.absolutePoints"id=link12onMous
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxCellState.mxCellState"></a>mxCellState</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>function mxCellState(</td><tdclass="PParameter prettyprint "nowrap>view,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>cell,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>style</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Constructs a new object that represents the current state of the given cell in the specified view.</p><h4class=CHeading>Parameters</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>view</td><tdclass=CDLDescription><ahref="mxGraphView-js.html#mxGraphView"class=LClassid=link45onMouseOver="ShowTip(event, 'tt1', 'link45')"onMouseOut="HideTip('tt1')">mxGraphView</a> that contains the state.</td></tr><tr><tdclass=CDLEntry>cell</td><tdclass=CDLDescription><ahref="../model/mxCell-js.html#mxCell"class=LClassid=link46onMouseOver="ShowTip(event, 'tt5', 'link46')"onMouseOut="HideTip('tt5')">mxCell</a> that this state represents.</td></tr><tr><tdclass=CDLEntry>style</td><tdclass=CDLDescription>Array of key, value pairs that constitute the style.</td></tr></table></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxCellState.view"></a>view</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCellState.prototype.view</td></tr></table></blockquote><p>Reference to the enclosing <ahref="mxGraphView-js.html#mxGraphView"class=LClassid=link47onMouseOver="ShowTip(event, 'tt1', 'link47')"onMouseOut="HideTip('tt1')">mxGraphView</a>.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxCellState.cell"></a>cell</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCellState.prototype.cell</td></tr></table></blockquote><p>Reference to the <ahref="../model/mxCell-js.html#mxCell"class=LClassid=link48onMouseOver="ShowTip(event, 'tt5', 'link48')"onMouseOut="HideTip('tt5')">mxCell</a> that is represented by this state.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxCellState.style"></a>style</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCellState.prototype.style</td></tr></table></blockquote><p>Contains an array of key, value pairs that represent the style of the cell.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxCellState.invalidStyle"></a>invalidStyle</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCellState.prototype.invalidStyle</td></tr></table></blockquote><p>Specifies if the style is invalid. Default is false.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxCellState.invalid"></a>invalid</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCellState.prototype.invalid</td></tr></table></blockquote><p>Specifies if the state is invalid. Default is true.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxCellState.origin"></a>origin</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCellState.prototype.origin</td></tr></table></blockquote><p><ahref="../util/mxPoint-js.html#mxPoint"class=LClassid=link49onMouseOver="ShowTip(event, 'tt10', 'link49')"onMouseOut="HideTip('tt10')">mxPoint</a> that holds the origin for all child cells. Default is a new empty <ahref="../util/mxPoint-js.html#mxPoint"class=LClassid=link50onMouseOver="ShowTip(event, 'tt10', 'link50')"onMouseOut="HideTip('tt10')">mxPoint</a>.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxCellState.absolutePoints"></a>absolutePoints</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCellState.prototype.absolutePoints</td></tr></table></blockquote><p>Holds an array of <ahref="../util/mxPoint-js.html#mxPoint"class=LClassid=link51onMouseOver="ShowTip(event, 'tt10', 'link51')"onMouseOut="HideTip('tt10')">mxPoints</a> that represent the absolute points of an edge.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxCellState.absoluteOffset"></a>absoluteOffset</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCellState.prototype.absoluteOffset</td></tr></table></blockquote><p><ahref="../util/mxPoint-js.html#mxPoint"class=LClassid=link52onMouseOver="ShowTip(event, 'tt10', 'link52')"onMouseOut="HideTip('tt10')">mxPoint</a> that holds the absolute offset. For edges, this is the absolute coordinates of the label position. For vertices, this is the offset of the label relative to the top, left corner of the vertex.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxCellState.terminalDistance"></a>terminalDistance</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCellState.prototype.terminalDistance</td></tr></table></blockquote><p>Caches the distance between the end points for an edge.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxCellState.length"></a>length</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCellState.prototype.length</td></tr></table></blockquote><p>Caches the length of an edge.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxCellState.segments"></a>segments</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCellState.prototype.segments</td></tr></table></blockquote><p>Array of numbers that represent the cached length of each segment of the edge.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxCellState.shape"></a>shape</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCellState.prototype.shape</td></tr></table></blockquote><p>Holds the <ahref="../shape/mxShape-js.html#mxShape"class=LClassid=link53onMouseOver="ShowTip(event, 'tt19', 'link53')"onMouseOut="HideTip('tt19')">mxShape</a> that represents the cell graphically.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxCellState.text"></a>text</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCellState.prototype.text</td></tr></table></blockquote><p>Holds the <ahref="../shape/mxText-js.html#mxText"class=LClassid=link54onMouseOver="ShowTip(event, 'tt21', 'link54')"onMouseOut="HideTip('tt21')">mxText</a> that represents the label of the cell. Thi smay be null if the cell has no label.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxCellState.unscaledWidth"></a>unscaledWidth</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCellState.prototype.unscaledWidth</td></tr></table></blockquote><p>Holds the unscaled width of the state.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxCellState.unscaledHeight"></a>unscaledHeight</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCellState.prototype.unscaledHeight</td></tr></table></blockquote><p>Holds the unscaled height of the state.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxCellState.getPerimeterBounds"></a>getPerimeterBounds</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>mxCellState.prototype.getPerimeterBounds = function(</td><tdclass="PParameter prettyprint "nowrap>border,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>bounds</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the <ahref="../util/mxRectangle-js.html#mxRectangle"class=LClassid=link55onMouseOver="ShowTip(event, 'tt25', 'link55')"onMouseOut="HideTip('tt25')">mxRectangle</a> that should be used as the perimeter of the cell.</p><h4class=CHeading>Parameters</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>border</td><tdclass=CDLDescription>Optional border to be added around the perimeter bounds.</td></tr><tr><tdclass=CDLEntry>bounds</td><tdclass=CDLDescription>Optional <ahref="../util/mxRectangle-js.html#mxRectangle"class=LClassid=link56onMouseOver="ShowTip(event, 'tt25', 'link56')"onMouseOut="HideTip('tt25')">mxRectangle</a> to be used as the initial bounds.</td></tr></table></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxCellState.setAbsoluteTerminalPoint"></a>setAbsoluteTerminalPoint</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>mxCellState.prototype.setAbsoluteTerminalPoint = function(</td><tdclass="PParameter prettyprint "nowrap>point,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>isSource</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets the first or last point in <ahref="#mxCellState.absolutePoints"class=LVariableid=link57onMouseOver="ShowTip(event, 'tt11', 'link57')"onMouseOut="HideTip('tt11')">absolutePoints</a> depending on isSource.</p><h4class=CHeading>Parameters</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>point</td><tdclass=CDLDescription><ahref="../util/mxPoint-js.html#mxPoint"class=LClassid=link58onMouseOver="ShowTip(event, 'tt10', 'link58')"onMouseOut="HideTip('tt10')">mxPoint</a> that represents the terminal point.</td></tr><tr><tdclass=CDLEntry>isSource</td><tdclass=CDLDescription>Boolean that specifies if the first or last point should be assigned.</td></tr></table></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxCellState.setCursor"></a>setCursor</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>mxCellState.prototype.setCursor = function(</td><tdclass="PParameter prettyprint "nowrap>cursor</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets the given cursor on the shape and text shape.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxCellState.getVisibleTerminal"></a>getVisibleTerminal</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>mxCellState.prototype.getVisibleTerminal = function(</td><tdclass="PParameter prettyprint "nowrap>source</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the visible source or target terminal cell.</p><h4class=CHeading>Parameters</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>source</td><tdclass=CDLDescription>Boolean that specifies if the source or target cell should be returned.</td></tr></table></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxCellState.getVisibleTerminalState"></a>getVisibleTerminalState</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>mxCellState.prototype.getVisibleTerminalState = function(</td><tdclass="PParameter prettyprint "nowrap>source</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the visible source or target terminal state.</p><h4class=CHeading>Parameters</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>source</td><tdclass=CDLDescription>Boolean that specifies if the source or target state should be returned.</td></tr></table></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxCellState.setVisibleTerminalState"></a>setVisibleTerminalState</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>mxCellState.prototype.setVisibleTerminalState = function(</td><tdclass="PParameter prettyprint "nowrap>terminalState,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>source</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets the visible source or target terminal state.</p><h4class=CHeading>Parameters</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>terminalState</td><tdclass=CDLDescription><ahref="#mxCellState.mxCellState"class=LFunctionid=link59onMouseOver="ShowTip(event, 'tt2', 'link59')"onMouseOut="HideTip('tt2')">mxCellState</a> that represents the terminal.</td></tr><tr><tdclass=CDLEntry>source</td><tdclass=CDLDescription>Boolean that specifies if the source or target state should be set.</td></tr></table></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxCellState.getPaintBounds"></a>getPaintBounds</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCellState.prototype.getPaintBounds = function()</td></tr></table></blockquote><p>Returns the unscaled, untranslated paint bounds. This is the same as <ahref="#mxCellState.getCellBounds"class=LFunctionid=link60onMouseOver="ShowTip(event, 'tt31', 'link60')"onMouseOut="HideTip('tt31')">getCellBounds</a> but with a 90 degree rotation if the shape’s isPaintBoundsInverted returns true.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxCellState.updateCachedBounds"></a>updateCachedBounds</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCellState.prototype.updateCachedBounds = function()</td></tr></table></blockquote><p>Updates the cellBounds and paintBounds.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxCellState.setState"></a>setState</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>mxCellState.prototype.setState = function(</td><tdclass="PParameter prettyprint "nowrap>state</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Copies all fields from the given state to this state.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxCellState.clone"></a>clone</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCellState.prototype.clone = function()</td></tr></table></blockquote><p>Returns a clone of this <ahref="../util/mxPoint-js.html#mxPoint"class=LClassid=link61onMouseOver="ShowTip(event, 'tt10', 'link61')"onMouseOut="HideTip('tt10')">mxPoint</a>.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxCellState.destroy"></a>destroy</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCellState.prototype.destroy = function()</td></tr></table></blockquote><p>Destroys the state and all associated resources.</p></div></div></div>
<divclass=CToolTipid="tt1"><divclass=CClass>Extends mxEventSource to implement a view for a graph. </div></div><divclass=CToolTipid="tt2"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>function mxCellState(</td><tdclass="PParameter prettyprint "nowrap>view,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>cell,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>style</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Constructs a new object that represents the current state of the given cell in the specified view.</div></div><divclass=CToolTipid="tt3"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCellState.prototype.view</td></tr></table></blockquote>Reference to the enclosing mxGraphView.</div></div><divclass=CToolTipid="tt4"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCellState.prototype.cell</td></tr></table></blockquote>Reference to the mxCell that is represented by this state.</div></div><divclass=CToolTipid="tt5"><divclass=CClass>Cells are the elements of the graph model. </div></div><divclass=CToolTipid="tt6"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCellState.prototype.style</td></tr></table></blockquote>Contains an array of key, value pairs that represent the style of the cell.</div></div><divclass=CToolTipid="tt7"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCellState.prototype.invalidStyle</td></tr></table></blockquote>Specifies if the style is invalid. </div></div><divclass=CToolTipid="tt8"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCellState.prototype.invalid</td></tr></table></blockquote>Specifies if the state is invalid. </div></div><divclass=CToolTipid="tt9"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCellState.prototype.origin</td></tr></table></blockquote>mxPoint that holds the origin for all child cells. </div></div><divclass=CToolTipid="tt10"><divclass=CClass>Implements a 2-dimensional vector with double precision coordinates.</div></div><divclass=CToolTipid="tt11"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCellState.prototype.absolutePoints</td></tr></table></blockquote>Holds an array of mxPoints that represent the absolute points of an edge.</div></div><divclass=CToolTipid="tt12"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCellState.prototype.absoluteOffset</td></tr></table></blockquote>mxPoint that holds the absolute offset. </div></div><divclass=CToolTipid="tt13"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCellState.prototype.visibleSourceState</td></tr></table></blockquote>Caches the visible source terminal state.</div></div><divclass=CToolTipid="tt14"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCellState.prototype.visibleTargetState</td></tr></table></blockquote>Caches the visible target terminal state.</div></div><divclass=CToolTipid="tt15"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCellState.prototype.terminalDistance</td></tr></table></blockquote>Caches the distance between the end points for an edge.</div></div><divclass=CToolTipid="tt16"><div