Package | com.yworks.yfiles.layout.planar |
Class | public class SelfLoopTool |
Inheritance | SelfLoopTool YObject Object |
Method | Defined By | ||
---|---|---|---|
SelfLoopTool(_planar:PlanarInformation, init:Boolean = true)
Returns a new instance of SelfLoopTool. | SelfLoopTool | ||
equals(o:Object):Boolean | YObject | ||
getClass():Class [override] | SelfLoopTool | ||
hashCode():int | YObject | ||
hideSelfLoops():void
Hides all self-loops in a graph. | SelfLoopTool | ||
[static]
Returns a new instance of SelfLoopTool. | SelfLoopTool | ||
reinsertSelfLoops():void
Reinserts the formerly hidden self-loops into the embedded graph. | SelfLoopTool |
Method | Defined By | ||
---|---|---|---|
initSelfLoopTool(_planar:PlanarInformation):void
Initializes this object. | SelfLoopTool |
SelfLoopTool | () | Constructor |
public function SelfLoopTool(_planar:PlanarInformation, init:Boolean = true)
Returns a new instance of SelfLoopTool
.
_planar:PlanarInformation — the embedded graph in which the self-loops should be hidden.
| |
init:Boolean (default = true ) — An internally used switch to help handle proper instance initialization in inheritance chains where classes can have multiple constructor-like factory methods.
This parameter can safely be ignored/omitted when calling the constructor.
|
getClass | () | method |
override public function getClass():Class
ReturnsClass |
hideSelfLoops | () | method |
public function hideSelfLoops():void
Hides all self-loops in a graph.
initSelfLoopTool | () | method |
protected final function initSelfLoopTool(_planar:PlanarInformation):void
Initializes this object. See the documentation of the corresponding factory method newSelfLoopTool()
for details.
Parameters
_planar:PlanarInformation |
See also
newSelfLoopTool | () | method |
public static function newSelfLoopTool(_planar:PlanarInformation):SelfLoopTool
Returns a new instance of SelfLoopTool
.
Parameters
_planar:PlanarInformation — the embedded graph in which the self-loops should be hidden.
|
SelfLoopTool |
reinsertSelfLoops | () | method |
public function reinsertSelfLoops():void
Reinserts the formerly hidden self-loops into the embedded graph. Precondition: Edge order must be ok and faces must be calculated in the planar embedding.