Generic features and parameters of the RL

The RandomLayout class supports the following generic parameters defined in the ibm_ilog.graphlayout.GraphLayout class. See Base class parameters and features:
The following sections describe the particular way in which these parameters are used by this subclass.

Allowed time (RL)

The layout algorithm stops if the allowed time setting elapses. See Allowed time.

Layout of connected components (RL)

The layout algorithm can use the generic mechanism to lay out connected components. In this case, each connected component is placed separately. For more information about this mechanism, see Layout of connected components.

Layout region (RL)

The layout algorithm uses the layout region setting (either your own or the default setting) to control the size and the position of the graph drawing. (See Layout region.)

Link connection box (RL)

The layout algorithm can use a link connection box interface to calculate the center of a node. See Link connection box. This interface is only used when the link style is straight line.
This interface is used when the option to connect links to node centers is enabled.
This interface is also used for self-links and multilinks, depending on the mode of the self-link or multilinks.

Percentage of completion calculation (RL)

The layout algorithm calculates the estimated percentage of completion. This value can be obtained from the layout report during the run of the layout. For a detailed description of this feature, see Percentage of completion calculation and Graph layout event listeners.

Preserve fixed links (RL)

The layout algorithm does not reshape the links that are specified as fixed. See Preserve fixed links.

Preserve fixed nodes (RL)

The layout algorithm does not move the nodes that are specified as fixed. See Preserve fixed nodes.

Stop immediately (RL)

The layout algorithm stops after cleanup if the method stopImmediately is called. For a description of this method in the ibm_ilog.graphlayout.GraphLayout class, see Stop immediately. If the layout stops early because the allowed time has elapsed, the result code in the layout report is ibm_ilog.graphlayout.GraphLayoutReport.STOPPED_AND_INVALID.