Generic features and parameters of the BL

The IlvBusLayout class supports the following generic parameters defined in the IlvGraphLayout class (see Base class parameters and features):
Extra feature for JViews Diagrammer:
The following sections describe the particular way in which these parameters are used by this subclass.

Allowed time (BL)

The layout algorithm stops if the allowed time setting has elapsed. (For a description of this layout parameter in the IlvGraphLayout class, see Allowed time.) The result code in the layout report is IlvGraphLayoutReport.STOPPED_AND_INVALID .

Layout of connected components (BL)

The layout algorithm can use the generic mechanism to layout connected components. (For more information about this mechanism, see Layout of connected components.)

Layout region (BL)

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. All three ways to specify the layout region are available for this subclass (See Layout region.)
The size of the layout is chosen with respect to the layout region (see Dimensional parameters for the Bus Layout algorithm). The height of the layout region is not taken into account. The height of the layout will be smaller or larger, depending on the number of nodes, the size of the nodes, and the other specified parameters.

Link clipping (BL)

The layout algorithm can use a link clip interface to clip the end points of a link. (See Link clipping.)
This is useful if the nodes have a nonrectangular shape such as a triangle, rhombus, or circle. If no link clip interface is used, the links are normally connected to the bounding boxes of the nodes, not to the border of the node shapes. See Using a link clipping interface with the Bus Layout for details of the link clipping mechanism.

Preserve fixed links (BL)

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

Preserve fixed nodes (BL)

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

Save parameters to named properties (BL)

The layout algorithm can save its layout parameters into named properties. This can be used to save layout parameters to .ivl files. (For a detailed description of this feature, see Save parameters to named properties and Saving layout parameters and preferred layouts.)

Stop immediately (BL)

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