Expert parameters for mode BY_SUBGRAPHS

The clustering mode ibm_ilog.graphlayout.circular.CircularLayout.BY_SUBGRAPHS arranges the nodes of each subgraph on a circle but keeps the position of each subgraph fixed. It works only if the generic mechanism to lay out connected components is disabled (see Layout of connected components). It orders the nodes along the circle to avoid link crossings.

Node offset

The layout algorithm tries to preserve a minimum distance between nodes of the same cluster/subgraph.
Example of specifying the offset (CL algorithm)
To specify the offset:
Use the method:
layout.setOffset(20)  

Maximum number of permutations

The layout algorithm orders the nodes along the circle to avoid link crossings. To do so, it tries various permutations of the nodes of each cluster and keeps the best one. The more permutations are tried, the slower is the layout algorithm but also the higher is the quality of the result.
Example of specifying the maximum number of permutations (CL algorithm)
To specify the maximum number of permutations:
Use the method:
layout.setMaxNumberOfPermutations(100)  
This parameter has no effect if the clustering mode is AUTOMATIC or BY_CLUSTER_IDS.