Packagecom.yworks.yfiles.layout.partial
Classpublic class PartialLayouter_StraightLineEdgeRouter
InheritancePartialLayouter_StraightLineEdgeRouter Inheritance StraightLineEdgeRouter Inheritance AbstractLayoutStage Inheritance YObject Inheritance Object

Simple Edge Router that draws edges straight-line.



Public Properties
 PropertyDefined By
 InheritedcoreLayouter : Layouter
Specifies the core layouter.
AbstractLayoutStage
 InheritedselectedEdgesDpKey : Object
Specifies the data provider key used to look up the selected state of the edges of the graph to be laid out.
StraightLineEdgeRouter
 InheritedselectedNodesDpKey : Object
Specifies the data provider key used to look up the selected state of the nodes of the graph to be laid out.
StraightLineEdgeRouter
 InheritedsphereOfAction : int
Specifies the edge (sub-)set to be routed.
StraightLineEdgeRouter
Public Methods
 MethodDefined By
  
Creates a new StraightLineEdgeRouter.
PartialLayouter_StraightLineEdgeRouter
 Inherited
canLayout(graph:LayoutGraph):Boolean
[override]
StraightLineEdgeRouter
  
doLayout(graph:LayoutGraph):void
[override]
PartialLayouter_StraightLineEdgeRouter
 Inherited
equals(o:Object):Boolean
YObject
  
getClass():Class
[override]
PartialLayouter_StraightLineEdgeRouter
 Inherited
hashCode():int
YObject
  
[static] Creates a new StraightLineEdgeRouter.
PartialLayouter_StraightLineEdgeRouter
 Inherited
[static] Creates a new StraightLineEdgeRouter.
StraightLineEdgeRouter
 Inherited
[static] Creates a new StraightLineEdgeRouter that uses the given layouter instance as core layouter.
StraightLineEdgeRouter
Protected Methods
 MethodDefined By
 Inherited
canLayoutCore(graph:LayoutGraph):Boolean
Queries the core layouter whether or not the given graph can be laid out.
AbstractLayoutStage
 Inherited
Invokes the layout routine of the core layouter.
AbstractLayoutStage
 Inherited
AbstractLayoutStage
 Inherited
AbstractLayoutStage
  
Initializes this object.
PartialLayouter_StraightLineEdgeRouter
 Inherited
Initializes this object.
StraightLineEdgeRouter
 Inherited
Initializes this object.
StraightLineEdgeRouter
Public Constants
 ConstantDefined By
 InheritedROUTE_ALL_EDGES : int = 0
[static] Sphere of action specifier.
StraightLineEdgeRouter
 InheritedROUTE_EDGES_AT_SELECTED_NODES : int = 4
[static] Sphere of action specifier.
StraightLineEdgeRouter
 InheritedROUTE_SELECTED_EDGES : int = 2
[static] Sphere of action specifier.
StraightLineEdgeRouter
Constructor Detail
PartialLayouter_StraightLineEdgeRouter()Constructor
public function PartialLayouter_StraightLineEdgeRouter(init:Boolean = true)

Creates a new StraightLineEdgeRouter.

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
doLayout()method
override public function doLayout(graph:LayoutGraph):void

Parameters

graph:LayoutGraph

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

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

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

See also

newPartialLayouter_StraightLineEdgeRouter()method 
public static function newPartialLayouter_StraightLineEdgeRouter():PartialLayouter_StraightLineEdgeRouter

Creates a new StraightLineEdgeRouter.

Returns
PartialLayouter_StraightLineEdgeRouter