Package | com.yworks.yfiles.layout |
Class | public class NormalizingGraphElementOrderStage |
Inheritance | NormalizingGraphElementOrderStage AbstractLayoutStage YObject Object |
Comparable
value using DataProviders registered with the key COMPARABLE_NODE_DPKEY, or COMPARABLE_EDGE_DPKEY respectively. the DataProvider key
See also
Method | Defined By | ||
---|---|---|---|
NormalizingGraphElementOrderStage(init:Boolean = true) | NormalizingGraphElementOrderStage | ||
canLayout(graph:LayoutGraph):Boolean [override] | NormalizingGraphElementOrderStage | ||
doLayout(graph:LayoutGraph):void [override] | NormalizingGraphElementOrderStage | ||
equals(o:Object):Boolean | YObject | ||
[static]
Convenience method that assigns comparable values for each node and edge. | NormalizingGraphElementOrderStage | ||
getClass():Class [override] | NormalizingGraphElementOrderStage | ||
hashCode():int | YObject | ||
[static] | NormalizingGraphElementOrderStage | ||
[static] | NormalizingGraphElementOrderStage |
Method | Defined By | ||
---|---|---|---|
canLayoutCore(graph:LayoutGraph):Boolean
Queries the core layouter whether or not the given graph can be laid out. | AbstractLayoutStage | ||
doLayoutCore(graph:LayoutGraph):void
Invokes the layout routine of the core layouter. | AbstractLayoutStage | ||
initAbstractLayoutStage1():void | AbstractLayoutStage | ||
initAbstractLayoutStage2(core:Layouter):void | AbstractLayoutStage | ||
Initializes this object. | NormalizingGraphElementOrderStage | ||
initNormalizingGraphElementOrderStage2(coreLayouter:Layouter):void
Initializes this object. | NormalizingGraphElementOrderStage |
Constant | Defined By | ||
---|---|---|---|
COMPARABLE_EDGE_DPKEY : Object = y.layout.NormalizingGraphElementOrderStage.COMPARABLE_EDGE_DPKEY [static]
The DataProvider registered with this key must return a com.yworks.bridge.util.Comparable object for each edge thereby inducing a (global) order for edges. | NormalizingGraphElementOrderStage | ||
COMPARABLE_NODE_DPKEY : Object = y.layout.NormalizingGraphElementOrderStage.COMPARABLE_NODE_DPKEY [static]
The DataProvider registered with this key must return a com.yworks.bridge.util.Comparable object for each node thereby inducing a (global) order for nodes. | NormalizingGraphElementOrderStage |
NormalizingGraphElementOrderStage | () | Constructor |
public function NormalizingGraphElementOrderStage(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.
|
canLayout | () | method |
override public function canLayout(graph:LayoutGraph):Boolean
Parameters
graph:LayoutGraph |
Boolean |
doLayout | () | method |
fillComparableMapFromGraph | () | method |
public static function fillComparableMapFromGraph(graph:Graph, comparableNodeMap:DataMap, comparableEdgeMap:DataMap):void
Convenience method that assigns comparable values for each node and edge. The compared values are induced from the current ordering of the nodes and edges within the given graph.
Parameters
graph:Graph | |
comparableNodeMap:DataMap | |
comparableEdgeMap:DataMap |
getClass | () | method |
override public function getClass():Class
ReturnsClass |
initNormalizingGraphElementOrderStage1 | () | method |
protected final function initNormalizingGraphElementOrderStage1():void
Initializes this object. See the documentation of the corresponding factory method newNormalizingGraphElementOrderStage1()
for details.
See also
initNormalizingGraphElementOrderStage2 | () | method |
protected final function initNormalizingGraphElementOrderStage2(coreLayouter:Layouter):void
Initializes this object. See the documentation of the corresponding factory method newNormalizingGraphElementOrderStage2()
for details.
Parameters
coreLayouter:Layouter |
See also
newNormalizingGraphElementOrderStage1 | () | method |
public static function newNormalizingGraphElementOrderStage1():NormalizingGraphElementOrderStage
ReturnsNormalizingGraphElementOrderStage |
newNormalizingGraphElementOrderStage2 | () | method |
public static function newNormalizingGraphElementOrderStage2(coreLayouter:Layouter):NormalizingGraphElementOrderStage
Parameters
coreLayouter:Layouter |
NormalizingGraphElementOrderStage |
COMPARABLE_EDGE_DPKEY | Constant |
public static const COMPARABLE_EDGE_DPKEY:Object = y.layout.NormalizingGraphElementOrderStage.COMPARABLE_EDGE_DPKEY
The DataProvider
registered with this key must return a com.yworks.bridge.util.Comparable object for each edge thereby inducing a (global) order for edges.
See also
COMPARABLE_NODE_DPKEY | Constant |
public static const COMPARABLE_NODE_DPKEY:Object = y.layout.NormalizingGraphElementOrderStage.COMPARABLE_NODE_DPKEY
The DataProvider
registered with this key must return a com.yworks.bridge.util.Comparable object for each node thereby inducing a (global) order for nodes.
See also