The GridLayout class supports the following
generic parameters defined in the GraphLayout class
(see Base class parameters and features):
The following comments describe the particular way in
which these parameters are used by this subclass.
Allowed time (GL)
The layout algorithm stops if the allowed time setting
has elapsed. (For a description of this layout parameter in the GraphLayout class,
see Allowed time.) The result
code in the layout report is
GraphLayoutReport.STOPPED_AND_INVALID
.
Layout region (GL)
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.)
The layout region is considered differently depending
on the layout mode. For details, see Layout modes (GL).
Preserve fixed nodes (GL)
The layout algorithm does not move the nodes that are
specified as fixed. (See Preserve fixed nodes.) Moreover,
nonfixed nodes are placed in such a manner that overlaps with fixed
nodes are avoided.
Stop immediately (GL)
The layout algorithm stops after cleanup if the method ibm_ilog.graphlayout.GraphLayout.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
GraphLayoutReport.STOPPED_AND_INVALID
.