Packagecom.yworks.yfiles.layout.planar
Classpublic class MultipleEdgesTool
InheritanceMultipleEdgesTool Inheritance YObject Inheritance Object

Helper that can be used to temporarily hide multiple edges in a planar graph and reinsert them at a later time again. The planar information will be corrected updated when performing these operations



Public Methods
 MethodDefined By
  
MultipleEdgesTool(init:Boolean = true)
MultipleEdgesTool
  
dispose():void
MultipleEdgesTool
 Inherited
equals(o:Object):Boolean
YObject
  
Hides the multiple edges in the graph.
MultipleEdgesTool
  
getClass():Class
[override]
MultipleEdgesTool
 Inherited
hashCode():int
YObject
  
[static]
MultipleEdgesTool
  
reinsertMultipleEdges(planar:PlanarInformation, hiddenEdgeList:EdgeList):void
Adds the multiple edges to the list of hidden edges.
MultipleEdgesTool
Protected Methods
 MethodDefined By
  
Initializes this object.
MultipleEdgesTool
Constructor Detail
MultipleEdgesTool()Constructor
public function MultipleEdgesTool(init:Boolean = true)

Parameters
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.
Method Detail
dispose()method
public function dispose():void

findAndHideMultipleEdges()method 
public function findAndHideMultipleEdges(_graph:Graph):void

Hides the multiple edges in the graph.

Parameters

_graph:Graph

getClass()method 
override public function getClass():Class

Returns
Class
initMultipleEdgesTool()method 
protected final function initMultipleEdgesTool():void

Initializes this object. See the documentation of the corresponding factory method newMultipleEdgesTool() for details.

See also

newMultipleEdgesTool()method 
public static function newMultipleEdgesTool():MultipleEdgesTool

Returns
MultipleEdgesTool
reinsertMultipleEdges()method 
public function reinsertMultipleEdges(planar:PlanarInformation, hiddenEdgeList:EdgeList):void

Adds the multiple edges to the list of hidden edges.

Parameters

planar:PlanarInformation
 
hiddenEdgeList:EdgeList