ibm_ilog.graphlayout.random
Methods
The main class for the Random Layout algorithm.
This is the simplest layout algorithm. The nodes are moved at
randomly-computed positions inside a user-defined region which can be
specified using the method
ibm_ilog.graphlayout.GraphLayout.layoutRegion
.
Sample drawing produced by the Random Layout algorithm:
See the corresponding chapter of the User Manual for details on the algorithm, the types of graphs for which this algorithm can be used, features and limitations, code samples, and so on.
Note that the initial position of the nodes (at the moment you start
the layout) does not affect the resulting layout. However, nodes
specified as fixed are not moved if you call the method
ibm_ilog.graphlayout.GraphLayout.setPreserveFixedNodes()
with
a true
argument.
Parameter | Type | Description |
---|---|---|
source |