|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IncrementalHintsFactory
Factory interface for IncrementalHierarchicLayouter
.
Use this factory to obtain hints that will be interpreted by the layouter if
they are bound to a DataProvider instance that is registered with the LayoutGraph
using the IncrementalHierarchicLayouter.INCREMENTAL_HINTS_DPKEY
key.
An instance of a class implementing this interface can be obtained through
IncrementalHierarchicLayouter.createIncrementalHintsFactory()
.
Method Summary | |
---|---|
Object |
createLayerIncrementallyHint(Object forNodeId)
Creates a hint object for a node that should be inserted incrementally during the layering phase. |
Object |
createSequenceIncrementallyHint(Object forItemId)
Creates a hint object for a node or edge that should be inserted incrementally after the sequencing phase. |
Object |
createUseExactCoordinatesHint(Object forNodeId)
Creates a hint object for a node that should be inserted incrementally into the graph at its exact current position. |
Object |
createUseExactLayerCoordinatesHint(Object forNodeId)
Creates a hint object for a node that should be inserted incrementally into the graph at its exact current layer position. |
Object |
createUseExactSequenceCoordinatesHint(Object forNodeId)
Creates a hint object for a node that should be inserted incrementally into the graph at its exact current sequence position. |
Method Detail |
---|
Object createLayerIncrementallyHint(Object forNodeId)
forNodeId
- the node to be layered and sequenced incrementally together
with its adjacent edges and possibly marked neighboring nodes.
HierarchicLayouter
Object createSequenceIncrementallyHint(Object forItemId)
HierarchicLayouter.getLayerer()
implementation, i.e. "from sketch".
Adjacent edges will automatically be be rerouted optimally.
Creates a hint object for an edge that should be routed incrementally
after the sequencing phase.
This will prevent the layering from being changed.
The edge will be rerouted in a locally optimal fashion.
forItemId
- the node or edge to be sequenced/inserted incrementally.
HierarchicLayouter
Object createUseExactCoordinatesHint(Object forNodeId)
layerer
implementation. The position within its layer
will be determined by its current position.
forNodeId
- the node to be placed at its exact current position.
HierarchicLayouter
createUseExactSequenceCoordinatesHint(Object)
,
createUseExactLayerCoordinatesHint(Object)
,
SimplexNodePlacer.setExactPlacementEnforced(boolean)
Object createUseExactLayerCoordinatesHint(Object forNodeId)
layerer
at the position that it occupies initially. The position within its layer
will be determined by the NodePlacer
.
forNodeId
- the node to be placed at its exact current layer position.
HierarchicLayouter
createUseExactCoordinatesHint(Object)
,
createUseExactSequenceCoordinatesHint(Object)
,
SimplexNodePlacer.setExactPlacementEnforced(boolean)
Object createUseExactSequenceCoordinatesHint(Object forNodeId)
layerer
at the position that is deemed best for its layer. The position within the sequence of its layer
will be determined by its current coordinates.
forNodeId
- the node to be placed at its exact current sequence position.
HierarchicLayouter
createUseExactCoordinatesHint(Object)
,
createUseExactLayerCoordinatesHint(Object)
,
SimplexNodePlacer.setExactPlacementEnforced(boolean)
|
© Copyright 2000-2013, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |