Packagecom.yworks.yfiles.layout
Classpublic class AbstractLayoutStage
InheritanceAbstractLayoutStage Inheritance YObject Inheritance Object
Implements LayoutStage
Subclasses AbstractLabelingAlgorithm, BufferedLayouter, BusRouter, ChannelEdgeRouter, CollinearBendHider, ComponentLayouter, CompositeLayoutStage, EdgeGroupRouterStage, EdgeReversalStage, EdgeRouter, FixedGroupLayoutStage, FixNodeLayoutStage, GraphLayoutLineWrapper, GroupedShuffleLayouter, GroupNodeHider, GroupNodeRouterStage, KeepStrongPortConstraintsStage, LabelLayoutDataRefinement, LayoutMultiplexer, MinNodeSizeStage, MultiPageLayouter, NormalizingGraphElementOrderStage, OrganicPartitionGridLayoutStage, OrganicRemoveOverlapsStage, OrientationLayouter, OrthogonalEdgeRouter, OrthogonalPatternEdgeRouter, OrthogonalSegmentDistributionStage, ParallelEdgeLayouter, ParentEdgeAugmentationStage, PartialLayouter, PartitionGridLayoutStage, PartitionGridRouterStage, PartitionLayouter, PatchRouterStage, PolylineLayoutStage, PortCalculator, PortCandidateAssignmentStage, PortConstraintEnforcementStage, RecursiveGroupLayouter, ReducedSphereOfActionStage, RemoveColinearBendsStage, SelfLoopLayouter, SnapOuterPortsToNodeBorderStage, StraightLineEdgeRouter, SubgraphLayouter, TopLevelGroupToSwimlaneStage, TreeReductionStage

Partial LayoutStage implementation that handles the management of the core layouter part.



Public Properties
 PropertyDefined By
  coreLayouter : Layouter
Specifies the core layouter.
AbstractLayoutStage
Public Methods
 MethodDefined By
  
AbstractLayoutStage(init:Boolean = true)
Default constructor.
AbstractLayoutStage
  
AbstractLayoutStage
  
AbstractLayoutStage
 Inherited
equals(o:Object):Boolean
YObject
  
getClass():Class
[override]
AbstractLayoutStage
 Inherited
hashCode():int
YObject
Protected Methods
 MethodDefined By
  
canLayoutCore(graph:LayoutGraph):Boolean
Queries the core layouter whether or not the given graph can be laid out.
AbstractLayoutStage
  
Invokes the layout routine of the core layouter.
AbstractLayoutStage
  
AbstractLayoutStage
  
AbstractLayoutStage
Property Detail
coreLayouterproperty
coreLayouter:Layouter

Specifies the core layouter.


Implementation
    public function get coreLayouter():Layouter
    public function set coreLayouter(value:Layouter):void
Constructor Detail
AbstractLayoutStage()Constructor
public function AbstractLayoutStage(init:Boolean = true)

Default constructor.

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
canLayout()method
public function canLayout(p0:LayoutGraph):Boolean

Parameters

p0:LayoutGraph

Returns
Boolean
canLayoutCore()method 
protected function canLayoutCore(graph:LayoutGraph):Boolean

Queries the core layouter whether or not the given graph can be laid out.

Parameters

graph:LayoutGraph

Returns
Boolean
doLayout()method 
public function doLayout(p0:LayoutGraph):void

Parameters

p0:LayoutGraph

doLayoutCore()method 
protected function doLayoutCore(graph:LayoutGraph):void

Invokes the layout routine of the core layouter.

Parameters

graph:LayoutGraph

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

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

initAbstractLayoutStage2()method 
protected final function initAbstractLayoutStage2(core:Layouter):void

Parameters

core:Layouter