Package | com.yworks.yfiles.layout.hierarchic.incremental |
Class | public class HierarchicLayouterImpl |
Inheritance | HierarchicLayouterImpl CanonicMultiStageLayouter YObject Object |
true
. In order to enable integrated edge labeling of this algorithm, make sure com.yworks.yfiles.layout.LabelLayoutTranslator is registered and edge labels are being translated and written back after the layout. This algorithm also support swimlane style drawings. This can be enabled by associating com.yworks.yfiles.layout.hierarchic.incremental.SwimLaneDescriptor instances with the nodes in the graph using the SWIMLANE_DESCRIPTOR_DPKEY DataProvider key. Moreover, this algorithm supports sequence constraints. These constraints can be specified using a com.yworks.yfiles.layout.hierarchic.incremental.SequenceConstraintFactory.
See also
Property | Defined By | ||
---|---|---|---|
componentLayouter : LayoutStage
Specifies the LayoutStage responsible for laying out the connected components of the graph. | CanonicMultiStageLayouter | ||
componentLayouterEnabled : Boolean [override]
Getter:
Returns whether or not ComponentLayouter is enabled. | HierarchicLayouterImpl | ||
drawingDistanceCalculator : DrawingDistanceCalculator
Getter:
Returns the current DrawingDistanceCalculator instance. | HierarchicLayouterImpl | ||
gridSpacing : Number
Specifies the equidistant spacing between the horizontal and vertical grid lines. | HierarchicLayouterImpl | ||
groupNodeHider : LayoutStage
Specifies the LayoutStage that is responsible for hiding away grouping information for the layout algorithm. | CanonicMultiStageLayouter | ||
hideGroupNodes : Boolean
Specifies whether or not to hide away group nodes before the layout begins. | CanonicMultiStageLayouter | ||
labelLayouter : LayoutStage
Getter:
Returns the algorithm used for placing labels. | CanonicMultiStageLayouter | ||
labelLayouterEnabled : Boolean
Getter:
Returns whether or not LabelLayouter is enabled. | CanonicMultiStageLayouter | ||
layerer : Layerer
Getter:
Returns the current Layerer instance. | HierarchicLayouterImpl | ||
layoutOrientation : int
Specifies the main layout orientation. | CanonicMultiStageLayouter | ||
maximalDuration : uint
Getter:
Returns the time limit (in milliseconds) set for the layout algorithm. | HierarchicLayouterImpl | ||
nodePlacer : NodePlacer
Getter:
Returns the current NodePlacer instance. | HierarchicLayouterImpl | ||
orientationLayouter : LayoutStage
Specifies the LayoutStage that is responsible for changing the orientation of the computed layout. | CanonicMultiStageLayouter | ||
orientationLayouterEnabled : Boolean
Getter:
Returns whether or not the OrientationLayouter is enabled. | CanonicMultiStageLayouter | ||
parallelEdgeLayouter : LayoutStage
Getter:
Returns the LayoutStage responsible for routing parallel edges. | CanonicMultiStageLayouter | ||
parallelEdgeLayouterEnabled : Boolean
Getter:
Returns whether or not the ParallelEdgeLayouter is enabled. | CanonicMultiStageLayouter | ||
portAllocator : PortAllocator
Getter:
Returns the current PortAllocator instance. | HierarchicLayouterImpl | ||
portConstraintOptimizer : PortConstraintOptimizer
Getter:
Returns the current PortConstraintOptimizer instance. | HierarchicLayouterImpl | ||
selfLoopLayouter : LayoutStage
Getter:
Returns the LayoutStage used for routing Self-loops. | CanonicMultiStageLayouter | ||
selfLoopLayouterEnabled : Boolean
Getter:
Returns whether or not the SelfLoopLayouter is enabled. | CanonicMultiStageLayouter | ||
sequencer : Sequencer
Getter:
Returns the current Sequencer instance. | HierarchicLayouterImpl | ||
subgraphLayouter : LayoutStage
Specifies the LayoutStage that is responsible for constraining the layout process to a subgraph of the target graph. | CanonicMultiStageLayouter | ||
subgraphLayouterEnabled : Boolean
Getter:
Returns whether or not the SubgraphLayouter is enabled. | CanonicMultiStageLayouter |
Method | Defined By | ||
---|---|---|---|
HierarchicLayouterImpl(init:Boolean = true)
Creates a new instance of HierarchicLayouter with default settings. | HierarchicLayouterImpl | ||
appendStage(stage:LayoutStage):void
Appends a stage to the layout pipeline. | CanonicMultiStageLayouter | ||
Returns a layout for the given layout graph. | CanonicMultiStageLayouter | ||
Returns a layout for the given graph interface and layout. | CanonicMultiStageLayouter | ||
canLayout(graph:LayoutGraph):Boolean
Tests whether or not the given graph can be laid out by this layouter. | CanonicMultiStageLayouter | ||
canLayoutCore(graph:LayoutGraph):Boolean [override]
Always returns true. | HierarchicLayouterImpl | ||
Returns an com.yworks.yfiles.layout.hierarchic.incremental.IncrementalHintsFactory implementation that can be used to obtain hint objects that can be associated with nodes and edges in the graph prior to the invocation of the layout algorithm using an appropriate com.yworks.yfiles.base.DataProvider implementation and the INCREMENTAL_HINTS_DPKEY DataProvider key. | HierarchicLayouterImpl | ||
HierarchicLayouterImpl | |||
HierarchicLayouterImpl | |||
doLayout(layoutGraph:LayoutGraph):void
Calculates a layout for the given graph. | CanonicMultiStageLayouter | ||
Calculates a layout for the given graph interface and layout. | CanonicMultiStageLayouter | ||
doLayoutCore(graph:LayoutGraph):void [override]
Layouts the given graph. | HierarchicLayouterImpl | ||
enableOnlyCore():void
Disables all layout stages and performs only the core layouter. | CanonicMultiStageLayouter | ||
equals(o:Object):Boolean | YObject | ||
getAlgorithmProperty(key:Object):Object
Provides access to implementation specific properties of the algorithms used. Used for internal purposes. | HierarchicLayouterImpl | ||
getClass():Class [override] | HierarchicLayouterImpl | ||
hashCode():int | YObject | ||
[static]
Creates a new instance of HierarchicLayouter with default settings. | HierarchicLayouterImpl | ||
prependStage(stage:LayoutStage):void
Prepends a stage to the layout pipeline. | CanonicMultiStageLayouter | ||
removeStage(stage:LayoutStage):void
Removes a LayoutStage that has been previously added by the methods appendStage() or prependStage(). | CanonicMultiStageLayouter | ||
setAlgorithmProperty(key:Object, value:Object):void
Provides access to implementation specific properties of the algorithms used internally. | HierarchicLayouterImpl |
Method | Defined By | ||
---|---|---|---|
checkGroupNodeSize(layout:GraphLayout, node:Object):void
This method throws an com.yworks.bridge.util.IllegalArgumentException if the width/height of the given group node object is zero. | CanonicMultiStageLayouter | ||
checkNodeSize(layout:GraphLayout, node:Object):void
This method throws an com.yworks.bridge.util.IllegalArgumentException if the width/height of the given node object is zero. | CanonicMultiStageLayouter | ||
Factory method that is called lazily upon first usage. | HierarchicLayouterImpl | ||
Factory method that is called during doLayoutCore(). | HierarchicLayouterImpl | ||
Factory method that is called during doLayoutCore(). | HierarchicLayouterImpl | ||
Factory method that is called during doLayoutCore(). | HierarchicLayouterImpl | ||
Callback method that is called during doLayoutCore(). | HierarchicLayouterImpl | ||
Factory method for the label layouter (com.yworks.yfiles.layout.CanonicMultiStageLayouter.labelLayouter) used by this layouter. | HierarchicLayouterImpl | ||
Factory method that is called lazily upon first usage. | HierarchicLayouterImpl | ||
Factory method that is called during doLayoutCore(). | HierarchicLayouterImpl | ||
Factory method that is called lazily upon first usage. | HierarchicLayouterImpl | ||
Factory method that is called lazily upon first usage. | HierarchicLayouterImpl | ||
Factory method that is called lazily upon first usage. | HierarchicLayouterImpl | ||
Factory method that is called lazily upon first usage. | HierarchicLayouterImpl | ||
Factory method that is called during doLayoutCore(). | HierarchicLayouterImpl | ||
Callback method that is called during doLayoutCore(). | HierarchicLayouterImpl | ||
Callback method that is called during doLayoutCore(). | HierarchicLayouterImpl | ||
Callback method that is called during doLayoutCore(). | HierarchicLayouterImpl | ||
Callback method that is called during doLayoutCore(). | HierarchicLayouterImpl | ||
CanonicMultiStageLayouter | |||
initHierarchicLayouterImpl():void
Initializes this object. | HierarchicLayouterImpl | ||
Callback method that publishes the layering information
| HierarchicLayouterImpl | ||
Callback method that publishes the sequencing information
| HierarchicLayouterImpl | ||
reduceBendCount(graph:LayoutGraph):void
Removes bends from the edges which are obviously not necessary. | HierarchicLayouterImpl |
Constant | Defined By | ||
---|---|---|---|
EDGE_LAYOUT_DESCRIPTOR_DPKEY : Object = y.layout.hierarchic.incremental.HierarchicLayouter.EDGE_LAYOUT_DESCRIPTOR_DPKEY [static]
com.yworks.yfiles.base.DataProvider key used to retrieve com.yworks.yfiles.layout.hierarchic.incremental.EdgeLayoutDescriptor instances for each edge in the graph. | HierarchicLayouterImpl | ||
INCREMENTAL_HINTS_DPKEY : Object = y.layout.hierarchic.incremental.HierarchicLayouter.INCREMENTAL_HINTS_DPKEY [static]
com.yworks.yfiles.base.DataProvider key used to retrieve incremental layout hint objects for nodes and edges that have been set using the com.yworks.yfiles.layout.hierarchic.incremental.IncrementalHintsFactory which itself can be obtained from the createIncrementalHintsFactory() method. | HierarchicLayouterImpl | ||
INCREMENTAL_NODES_DPKEY : Object = y.layout.hierarchic.incremental.HierarchicLayouter.INCREMENTAL_NODES_DPKEY [static]
DataProvider key used to hold boolean values for each node in the graph that indicate whether the node has to be added incrementally. | HierarchicLayouterImpl | ||
LAYER_VALUE_HOLDER_DPKEY : Object = y.layout.hierarchic.incremental.HierarchicLayouter.LAYER_VALUE_HOLDER_DPKEY [static]
Used for publishing the final layering information. | HierarchicLayouterImpl | ||
NODE_LAYOUT_DESCRIPTOR_DPKEY : Object = y.layout.hierarchic.incremental.HierarchicLayouter.NODE_LAYOUT_DESCRIPTOR_DPKEY [static]
com.yworks.yfiles.base.DataProvider key used to retrieve com.yworks.yfiles.layout.hierarchic.incremental.NodeLayoutDescriptor instances for each node in the graph. | HierarchicLayouterImpl | ||
SEQUENCE_VALUE_HOLDER_DPKEY : Object = y.layout.hierarchic.incremental.HierarchicLayouter.SEQUENCE_VALUE_HOLDER_DPKEY [static]
Used for publishing the final sequencing information. | HierarchicLayouterImpl | ||
SWIMLANE_DESCRIPTOR_DPKEY : Object = y.layout.hierarchic.incremental.HierarchicLayouter.SWIMLANE_DESCRIPTOR_DPKEY [static]
com.yworks.yfiles.base.DataProvider key used to store com.yworks.yfiles.layout.hierarchic.incremental.SwimLaneDescriptor instances for each node in the graph. | HierarchicLayouterImpl |
componentLayouterEnabled | property |
componentLayouterEnabled:Boolean
[override] Getter: Returns whether or not ComponentLayouter is enabled. By default it is disabled.
Setter: Specifies whether or not to enable the ComponentLayouter. By default it is disabled. public function get componentLayouterEnabled():Boolean
public function set componentLayouterEnabled(value:Boolean):void
drawingDistanceCalculator | property |
drawingDistanceCalculator:DrawingDistanceCalculator
Getter: Returns the current DrawingDistanceCalculator instance.
Setter: Sets the DrawingDistanceCalculator implementation that is used in the next run. For the default see createDrawingDistanceCalculator(). public function get drawingDistanceCalculator():DrawingDistanceCalculator
public function set drawingDistanceCalculator(value:DrawingDistanceCalculator):void
ReferenceError — if the argument is null
|
See also
gridSpacing | property |
gridSpacing:Number
Specifies the equidistant spacing between the horizontal and vertical grid lines.
By default no grid is specified (spacing is <= 0).
public function get gridSpacing():Number
public function set gridSpacing(value:Number):void
layerer | property |
layerer:Layerer
Getter: Returns the current Layerer instance.
Setter: Sets the Layerer implementation that is used in the next run. For the default see createLayerer(). public function get layerer():Layerer
public function set layerer(value:Layerer):void
ReferenceError — if the argument is null
|
See also
maximalDuration | property |
maximalDuration:uint
Getter: Returns the time limit (in milliseconds) set for the layout algorithm.
Setter: Sets a preferred time limit (in milliseconds) for the layout algorithm. Note that restricting the maximal duration may result in a worse layout quality. Furthermore, the real runtime may exceed the maximal duration since the layout algorithm still have to find a valid solution. public function get maximalDuration():uint
public function set maximalDuration(value:uint):void
nodePlacer | property |
nodePlacer:NodePlacer
Getter: Returns the current NodePlacer instance.
Setter: Sets the NodePlacer implementation that is used in the next run. For the default see createNodePlacer(). public function get nodePlacer():NodePlacer
public function set nodePlacer(value:NodePlacer):void
ReferenceError — if the argument is null
|
See also
portAllocator | property |
portAllocator:PortAllocator
Getter: Returns the current PortAllocator instance.
Setter: Sets the PortAllocator implementation that is used in the next run. For the default see createPortAllocator(). public function get portAllocator():PortAllocator
public function set portAllocator(value:PortAllocator):void
ReferenceError — if the argument is null
|
See also
portConstraintOptimizer | property |
portConstraintOptimizer:PortConstraintOptimizer
Getter: Returns the current PortConstraintOptimizer instance.
Setter: Sets the PortConstraintOptimizer implementation that is used in the next run. For the default see createPortConstraintOptimizer(). public function get portConstraintOptimizer():PortConstraintOptimizer
public function set portConstraintOptimizer(value:PortConstraintOptimizer):void
See also
sequencer | property |
sequencer:Sequencer
Getter: Returns the current Sequencer instance.
Setter: Sets the Sequencer implementation that is used in the next run. For the default see createSequencer(). public function get sequencer():Sequencer
public function set sequencer(value:Sequencer):void
ReferenceError — if the argument is null
|
See also
HierarchicLayouterImpl | () | Constructor |
public function HierarchicLayouterImpl(init:Boolean = true)
Creates a new instance of HierarchicLayouter with default settings.
Parametersinit: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.
|
See also
canLayoutCore | () | method |
override public function canLayoutCore(graph:LayoutGraph):Boolean
Always returns true.
Parameters
graph:LayoutGraph — the graph to check
|
Boolean — true
|
createDrawingDistanceCalculator | () | method |
protected function createDrawingDistanceCalculator():DrawingDistanceCalculator
Factory method that is called lazily upon first usage.
ReturnsDrawingDistanceCalculator — a default implementation (new DefaultDrawingDistanceCalculator() )
|
See also
createEdgeReverser | () | method |
protected function createEdgeReverser():EdgeReverser
Factory method that is called during doLayoutCore(). Creates an appropriate EdgeReverser implementation
ReturnsEdgeReverser — an implementation
|
See also
createGrouping | () | method |
protected function createGrouping(graph:LayoutGraph):GraphGrouping
Factory method that is called during doLayoutCore().
Parameters
graph:LayoutGraph — the graph to obtain the grouping information from.
|
GraphGrouping — a Grouping or null if there is no grouping information associated with the graph.
|
See also
createIncrementalHintsFactory | () | method |
public function createIncrementalHintsFactory():IncrementalHintsFactory
Returns an com.yworks.yfiles.layout.hierarchic.incremental.IncrementalHintsFactory implementation that can be used to obtain hint objects that can be associated with nodes and edges in the graph prior to the invocation of the layout algorithm using an appropriate com.yworks.yfiles.base.DataProvider implementation and the INCREMENTAL_HINTS_DPKEY DataProvider key.
ReturnsIncrementalHintsFactory — an instance that can be used with this layouter instance
|
See also
createIncrementalLayerer | () | method |
protected function createIncrementalLayerer():Layerer
Factory method that is called during doLayoutCore(). Creates an appropriate IncrementalLayerer implementation
ReturnsLayerer — an implementation
|
See also
createItemData | () | method |
protected function createItemData(g:LayoutGraph, itemFactory:ItemFactory):void
Callback method that is called during doLayoutCore(). This method creates the com.yworks.yfiles.layout.hierarchic.incremental.NodeData and com.yworks.yfiles.layout.hierarchic.incremental.EdgeData instances and binds them to the elements using the itemFactory.
Parameters
g:LayoutGraph — the graph to obtain the grouping information from.
| |
itemFactory:ItemFactory — the ItemFactory to use
|
See also
createLabelLayouter | () | method |
protected function createLabelLayouter():LayoutStage
Factory method for the label layouter (com.yworks.yfiles.layout.CanonicMultiStageLayouter.labelLayouter) used by this layouter.
In order to use the the integrated node label awareness feature one has to use an com.yworks.yfiles.layout.LabelLayoutTranslator instance with com.yworks.yfiles.layout.LabelLayoutTranslator.translateNodeLabels set to true
. Likewise in order to make use of the integrated edge labeling com.yworks.yfiles.layout.LabelLayoutTranslator.translateEdgeLabels must be set to true
and com.yworks.yfiles.layout.LabelLayoutTranslator.writeBackEdgeLabels must be set to true
also (which is the default).
LayoutStage — a new LabelLayoutTranslator with node translation enabled and "node label write back" disabled.
|
See also
createLayerConstraintFactory | () | method |
public function createLayerConstraintFactory(graph:Graph):LayerConstraintFactory
Parameters
graph:Graph |
LayerConstraintFactory |
createLayerer | () | method |
protected function createLayerer():Layerer
Factory method that is called lazily upon first usage.
ReturnsLayerer — a default implementation (new MultiComponentLayerer(new OldLayererWrapper(new WeightedLayerer())) )
|
See also
createLayers | () | method |
protected function createLayers(ldp:LayoutDataProvider):Layers
Factory method that is called during doLayoutCore(). Creates an appropriate Layers implementation using the LayoutDataProvider
Parameters
ldp:LayoutDataProvider — provides the layout data
|
Layers — a Layers implementation
|
See also
createNodePlacer | () | method |
protected function createNodePlacer():NodePlacer
Factory method that is called lazily upon first usage.
ReturnsNodePlacer — a default implementation (new SimplexNodePlacer )
|
See also
createPortAllocator | () | method |
protected function createPortAllocator():PortAllocator
Factory method that is called lazily upon first usage.
ReturnsPortAllocator — a default implementation (new DefaultPortAllocator() )
|
See also
createPortConstraintOptimizer | () | method |
protected function createPortConstraintOptimizer():PortConstraintOptimizer
Factory method that is called lazily upon first usage.
ReturnsPortConstraintOptimizer — null
|
See also
createSequenceConstraintFactory | () | method |
public function createSequenceConstraintFactory(graph:Graph):SequenceConstraintFactory
Parameters
graph:Graph |
SequenceConstraintFactory |
createSequencer | () | method |
protected function createSequencer():Sequencer
Factory method that is called lazily upon first usage.
ReturnsSequencer — a default implementation (new DefaultLayerSequencer() )
|
See also
createSubgraphLayerSequencer | () | method |
protected function createSubgraphLayerSequencer():Sequencer
Factory method that is called during doLayoutCore().
ReturnsSequencer — a Sequencer implementation that can sequence subgraphs incrementally.
|
See also
doLayoutCore | () | method |
override public function doLayoutCore(graph:LayoutGraph):void
Layouts the given graph.
Parameters
graph:LayoutGraph — the graph to layout
|
getAlgorithmProperty | () | method |
public function getAlgorithmProperty(key:Object):Object
Provides access to implementation specific properties of the algorithms used. Used for internal purposes.
Parameters
key:Object — the key to a property
|
Object — the associated value or null
|
See also
getClass | () | method |
override public function getClass():Class
ReturnsClass |
getEdgeLayoutDescriptors | () | method |
protected function getEdgeLayoutDescriptors(graph:LayoutGraph):DataProvider
Callback method that is called during doLayoutCore(). This method returns a DataProvider that holds the EdgeLayoutDescriptor information.
Parameters
graph:LayoutGraph — the graph to obtain the information from.
|
DataProvider — a DataProvider instance or null
|
See also
getIncrementalHints | () | method |
protected function getIncrementalHints(graph:LayoutGraph):DataProvider
Callback method that is called during doLayoutCore(). This method returns a DataProvider that holds the incremental hint information.
Parameters
graph:LayoutGraph — the graph to obtain the information from.
|
DataProvider — a DataProvider instance or null
|
See also
getNodeLayoutDescriptors | () | method |
protected function getNodeLayoutDescriptors(graph:LayoutGraph):DataProvider
Callback method that is called during doLayoutCore(). This method returns a DataProvider that holds the NodeLayoutDescriptor information.
Parameters
graph:LayoutGraph — the graph to obtain the information from.
|
DataProvider — a DataProvider instance or null
|
See also
getSwimLaneDescriptors | () | method |
protected function getSwimLaneDescriptors(graph:LayoutGraph):DataProvider
Callback method that is called during doLayoutCore(). This method returns a DataProvider that holds the SwimLaneDescriptor information.
Parameters
graph:LayoutGraph — the graph to obtain the information from.
|
DataProvider — a DataProvider instance or null
|
See also
initHierarchicLayouterImpl | () | method |
protected final function initHierarchicLayouterImpl():void
Initializes this object. See the documentation of the corresponding factory method newHierarchicLayouterImpl()
for details.
See also
newHierarchicLayouterImpl | () | method |
public static function newHierarchicLayouterImpl():HierarchicLayouterImpl
Creates a new instance of HierarchicLayouter with default settings.
ReturnsHierarchicLayouterImpl |
See also
publishLayers | () | method |
protected function publishLayers(graph:LayoutGraph, layers:Layers):void
Callback method that publishes the layering information
Parameters
graph:LayoutGraph — the graph that contains the elements
| |
layers:Layers — the Layers implementation to get the layering information from
|
See also
publishSequences | () | method |
protected function publishSequences(graph:LayoutGraph, layers:Layers, ldp:LayoutDataProvider):void
Callback method that publishes the sequencing information
Parameters
graph:LayoutGraph — the graph that contains the elements
| |
layers:Layers — the Layers implementation to get the layering information from
| |
ldp:LayoutDataProvider — the com.yworks.yfiles.layout.hierarchic.incremental.LayoutDataProvider to get the node information from
|
See also
reduceBendCount | () | method |
protected function reduceBendCount(graph:LayoutGraph):void
Removes bends from the edges which are obviously not necessary. This method removes bends from the graph that are collinear.
Parameters
graph:LayoutGraph — the graph to obtain the edges from
|
setAlgorithmProperty | () | method |
public function setAlgorithmProperty(key:Object, value:Object):void
Provides access to implementation specific properties of the algorithms used internally. Used for internal purposes.
Parameters
key:Object — the key to a property
| |
value:Object — the value to associate with the key
|
EDGE_LAYOUT_DESCRIPTOR_DPKEY | Constant |
public static const EDGE_LAYOUT_DESCRIPTOR_DPKEY:Object = y.layout.hierarchic.incremental.HierarchicLayouter.EDGE_LAYOUT_DESCRIPTOR_DPKEY
com.yworks.yfiles.base.DataProvider key used to retrieve com.yworks.yfiles.layout.hierarchic.incremental.EdgeLayoutDescriptor instances for each edge in the graph. Different settings will affect the routing of the edges during the layout.
See also
INCREMENTAL_HINTS_DPKEY | Constant |
public static const INCREMENTAL_HINTS_DPKEY:Object = y.layout.hierarchic.incremental.HierarchicLayouter.INCREMENTAL_HINTS_DPKEY
com.yworks.yfiles.base.DataProvider key used to retrieve incremental layout hint objects for nodes and edges that have been set using the com.yworks.yfiles.layout.hierarchic.incremental.IncrementalHintsFactory which itself can be obtained from the createIncrementalHintsFactory() method. Note that HierarchicLayouter uses the registered com.yworks.yfiles.base.DataProvider to get layout hint objects as well for nodes as for edges so neither com.yworks.yfiles.base.Graph.createNodeMap() nor com.yworks.yfiles.base.Graph.createEdgeMap() may be used to create this provider.
See also
INCREMENTAL_NODES_DPKEY | Constant |
public static const INCREMENTAL_NODES_DPKEY:Object = y.layout.hierarchic.incremental.HierarchicLayouter.INCREMENTAL_NODES_DPKEY
DataProvider key used to hold boolean values for each node in the graph that indicate whether the node has to be added incrementally. This key is used by the incremental versions of com.yworks.yfiles.layout.hierarchic.incremental.Layerer, such as com.yworks.yfiles.layout.hierarchic.incremental.TopologicalIncrementalLayerer to determine which nodes need to be inserted incrementally, as well as the com.yworks.yfiles.layout.hierarchic.incremental.Sequencer implementation that determines incrementally sequenced nodes.
See also
LAYER_VALUE_HOLDER_DPKEY | Constant |
public static const LAYER_VALUE_HOLDER_DPKEY:Object = y.layout.hierarchic.incremental.HierarchicLayouter.LAYER_VALUE_HOLDER_DPKEY
Used for publishing the final layering information. If the com.yworks.yfiles.base.DataProvider associated to this key is also a com.yworks.yfiles.base.DataAcceptor, the integer layer id of each node is stored using the acceptor's setInt (com.yworks.yfiles.base.DataAcceptor.setInt()) method. Otherwise, the provider's values should be of type com.yworks.yfiles.layout.hierarchic.incremental.IntValueHolder and the value holder's setValue (com.yworks.yfiles.layout.hierarchic.incremental.IntValueHolder.value) method is used to store the integer layer ids of each node.
See also
NODE_LAYOUT_DESCRIPTOR_DPKEY | Constant |
public static const NODE_LAYOUT_DESCRIPTOR_DPKEY:Object = y.layout.hierarchic.incremental.HierarchicLayouter.NODE_LAYOUT_DESCRIPTOR_DPKEY
com.yworks.yfiles.base.DataProvider key used to retrieve com.yworks.yfiles.layout.hierarchic.incremental.NodeLayoutDescriptor instances for each node in the graph. Different settings will affect node placement and port assignment during the layout.
See also
SEQUENCE_VALUE_HOLDER_DPKEY | Constant |
public static const SEQUENCE_VALUE_HOLDER_DPKEY:Object = y.layout.hierarchic.incremental.HierarchicLayouter.SEQUENCE_VALUE_HOLDER_DPKEY
Used for publishing the final sequencing information. If the com.yworks.yfiles.base.DataProvider associated to this key is also a com.yworks.yfiles.base.DataAcceptor, the sequence order number of each node is stored using the acceptor's setInt (com.yworks.yfiles.base.DataAcceptor.setInt()) method. Otherwise, the provider's values should be of type com.yworks.yfiles.layout.hierarchic.incremental.IntValueHolder and the value holder's setValue (com.yworks.yfiles.layout.hierarchic.incremental.IntValueHolder.value) method is used to store the sequence order number of each node.
See also
SWIMLANE_DESCRIPTOR_DPKEY | Constant |
public static const SWIMLANE_DESCRIPTOR_DPKEY:Object = y.layout.hierarchic.incremental.HierarchicLayouter.SWIMLANE_DESCRIPTOR_DPKEY
com.yworks.yfiles.base.DataProvider key used to store com.yworks.yfiles.layout.hierarchic.incremental.SwimLaneDescriptor instances for each node in the graph. If this key is present during the layout. The layout algorithm will arrange nodes in swim lanes. The information about the swim lanes is finally written back into the descriptor instances. Instances can be shared among multiple nodes in the same lane, but don't have to be shared.
See also