<divclass=CToolTipid="tt474"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>var $scale</td></tr></table></blockquote>Holds the current scale.</div></div><divclass=CToolTipid="tt475"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>var $scale</td></tr></table></blockquote>Holds the global scale of the graph. </div></div><divclass=CToolTipid="tt476"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>public static $SCALE</td></tr></table></blockquote>Defines the name of the scale event.</div></div><divclass=CToolTipid="tt477"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>var $segments</td></tr></table></blockquote>Array of numbers that represent the cached length of each segment of the edge.</div></div><divclass=CToolTipid="tt478"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>function setAttribute(</td><tdclass=PParameternowrap>$key,</td></tr><tr><td></td><tdclass=PParameternowrap>$value</td><tdclass=PAfterParametersnowrap>)</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="tt479"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>function setAttribute(</td><tdclass=PParameternowrap>$node,</td></tr><tr><td></td><tdclass=PParameternowrap>$attribute,</td></tr><tr><td></td><tdclass=PParameternowrap>$value</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>Sets the attribute on the specified node to value. </div></div><divclass=CToolTipid="tt480"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>static function setCellStyleFlags(</td><tdclass=PParameternowrap>$model,</td></tr><tr><td></td><tdclass=PParameternowrap>$cells,</td></tr><tr><td></td><tdclass=PParameternowrap>$key,</td></tr><tr><td></td><tdclass=PParameternowrap>$flag,</td></tr><tr><td></td><tdclass=PParameternowrap>$value</td><tdclass=PAfterParametersnowrap>)</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="tt481"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>function setCellStyles(</td><tdclass=PParameternowrap>$key,</td></tr><tr><td></td><tdclass=PParameternowrap>$value,</td></tr><tr><td></td><tdclass=PParameternowrap>$cells</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>Sets the key to value in the styles of the given cells. </div></div><divclass=CToolTipid="tt482"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>static function setCellStyles(</td><tdclass=PParameternowrap>$model,</td></tr><tr><td></td><tdclass=PParameternowrap>$cells,</td></tr><tr><td></td><tdclass=PParameternowrap>$key,</td></tr><tr><td></td><tdclass=PParameternowrap>$value</td><tdclass=PAfterParametersnowrap>)</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="tt483"><divclass=CFunction><blockquote><tab