<divclass=CToolTipid="tt306"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>function setAttribute(</td><tdclass="PParameter prettyprint "nowrap>$key,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>$value</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Sets the specified attribute on the user object if it is an XML node.</div></div><divclass=CToolTipid="tt307"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>function setAttribute(</td><tdclass="PParameter prettyprint "nowrap>$node,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>$attribute,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>$value</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Sets the attribute on the specified node to value. </div></div><divclass=CToolTipid="tt308"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>static function setCellStyleFlags(</td><tdclass="PParameter prettyprint "nowrap>$model,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>$cells,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>$key,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>$flag,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>$value</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Sets or toggles the flag bit for the given key in the cell’s styles. </div></div><divclass=CToolTipid="tt309"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>function setCellStyles(</td><tdclass="PParameter prettyprint "nowrap>$key,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>$value,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>$cells</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Sets the key to value in the styles of the given cells. </div></div><divclass=CToolTipid="tt310"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>static function setCellStyles(</td><tdclass="PParameter prettyprint "nowrap>$model,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>$cells,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>$key,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>$value</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Assigns the value for the given key in the styles of the given cells, or removes the key from the styles if the value is null.</div></div><divclass=CToolTipid="tt311"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>function setCollapsed(</td><tdclass="PParameter prettyprint "nowrap>$collapsed</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Sets the collapsed state.</div></div><divclass=CToolTipid="tt312"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>func
<divclass=CToolTipid="tt341"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>static function toRadians(</td><tdclass="PParameter prettyprint "nowrap>$deg</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Converts the given degree to radians.</div></div><divclass=CToolTipid="tt342"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>function transformControlPoint(</td><tdclass="PParameter prettyprint "nowrap>$state,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>$pt</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Transforms the given control point to an absolute point.</div></div><divclass=CToolTipid="tt343"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>function translate(</td><tdclass="PParameter prettyprint "nowrap>$dx,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>$dy</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Translates the geometry by the specified amount. </div></div><divclass=CToolTipid="tt344"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>static function translatePoints(</td><tdclass="PParameter prettyprint "nowrap>$pts,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>$dx,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>$dy</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Creates a new list of new points obtained by translating the points in the given list by the given vector. </div></div><!--END_ND_TOOLTIPS-->
<divclass=CToolTipid="tt345"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>function updateBoundingBox(</td><tdclass="PParameter prettyprint "nowrap>$state</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Updates the bounding box in the given cell state.</div></div><divclass=CToolTipid="tt346"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>function updateCellState(</td><tdclass="PParameter prettyprint "nowrap>$state,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>$source,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>$target</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Updates the given mxCellState.</div></div><divclass=CToolTipid="tt347"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>function updateEdgeBounds(</td><tdclass="PParameter prettyprint "nowrap>$state</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Updates the bounds of the specified state based on the absolute points in the state.</div></div><divclass=CToolTipid="tt348"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>function updateEdgeParent(</td><tdclass="PParameter prettyprint "nowrap>$edge,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>$root</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Inner callback to update the parent of the specified mxCell to the nearest-common-ancestor of its two terminals.</div></div><divclass=CToolTipid="tt349"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>function updateEdgeParents(</td><tdclass="PParameter prettyprint "nowrap>$cell,</td><tdclass="PDefaultValuePrefix prettyprint "> </td><tdclass="PDefaultValue prettyprint "width=100%></td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>$root</td><tdclass="PDefaultValuePrefix prettyprint "> = </td><tdclass="PDefaultValue prettyprint "width=100%> null</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Updates the parent for all edges that are connected to cell or one of its descendants using updateEdgeParent.</div></div><divclass=CToolTipid="tt350"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>function updateEdgeState(</td><tdclass="PParameter prettyprint "nowrap>$state,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>$geo,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>$source,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>$target</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Validates the given cell state.</div></div><divclass=CToolTipid="tt351"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>function updateFixedTerminalPoint(</td><tdclass="PParameter prettyprint "nowrap>$edge,</td></tr><tr><td></td><t
<divclass=CToolTipid="tt359"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>function validate(</td><tdclass="PParameter prettyprint "nowrap>$cell</td><tdclass="PDefaultValuePrefix prettyprint "> = </td><tdclass="PDefaultValue prettyprint "width=100%> null</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Calls validateCell and validateCellState and updates the graphBounds using getBoundingBox. </div></div><divclass=CToolTipid="tt360"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>function validateCell(</td><tdclass="PParameter prettyprint "nowrap>$cell,</td><tdclass="PDefaultValuePrefix prettyprint "> </td><tdclass="PDefaultValue prettyprint "width=100%></td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>$visible</td><tdclass="PDefaultValuePrefix prettyprint "> = </td><tdclass="PDefaultValue prettyprint "width=100%> true</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Recursively creates the cell state for the given cell if visible is true and the given cell is visible. </div></div><divclass=CToolTipid="tt361"><divclass=CFunction>Validates and repaints the mxCellState for the given mxCell.</div></div><!--END_ND_TOOLTIPS-->