IBM ILOG Dojo Diagrammer 1.1 API Documentation
Legend: Array Boolean Constructor Date DomNode Error Function Namespace Number Object RegExp Singleton String

ibm_ilog.graphlayout.ISubgraphCorrection (version 1.1-SNAPSHOT)

Object » ibm_ilog.graphlayout.ISubgraphCorrection
dojo.require("ibm_ilog.graphlayout.ISubgraphCorrection");

An interface used to define corrections of a subgraph after the layout of the subgraph was performed.

Method Summary

  • correct(subgraph, layout, boundingBox, redraw) Allows you to correct the subgraph after the nodes and links of the subgraph were laid out.

Methods

correct

Allows you to correct the subgraph after the nodes and links of the subgraph were laid out. This is called by the Recursive Layout (see RecursiveLayout) 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.

ParameterTypeDescription
subgraphObjectThe subgraph that has been laid out.
layoutibm_ilog.graphlayout.GraphLayoutThe layout that has been performed on the subgraph.
boundingBoxRectangleThe former bounding box of the subgraph at the point in time before the layout.
redrawBooleanThe redraw flag passed to the layout.