public interface IlvSubgraphCorrectionInterface
Modifier and Type | Method and Description |
---|---|
void |
correct(Object subgraph,
IlvGraphLayout layout,
IlvRect boundingBox,
boolean redraw)
Allows you to correct the subgraph after the nodes and links of the
subgraph were laid out.
|
void correct(Object subgraph, IlvGraphLayout layout, IlvRect boundingBox, boolean redraw)
IlvRecursiveLayout
) immediately after the layout of the
subgraph has finished. Usually, a correction of the position of the
subgraph can be done; therefore the former bounding box of the
subgraph is passed.
The former bounding box is calculated by the parent graph model of the graph model attached to the input layout. Depending on the coordinates mode of that graph model, the bounding box is either given in view coordinates or in manager coordinates.
subgraph
- The subgraph that has been laid out.layout
- The layout that has been performed on the subgraph.boundingBox
- The former bounding box of the subgraph at the point
in time before the layout.redraw
- The redraw flag passed to the layout.IlvRecursiveLayout.setSubgraphCorrectionInterface(IlvSubgraphCorrectionInterface)
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.