CMDSParameters
Defined in: cmds.ts:157
Parameters for gridify_cmds.
Properties
Section titled “Properties”alpha?
Section titled “alpha?”optional alpha?: number;Defined in: cmds.ts:169
Weight of the boundary constraint. Defaults to 0.1, per §4.2.
Gamma: Bounds;Defined in: cmds.ts:159
Boundary the layout is confined to, as returned by get_bounds.
inner_iterations?
Section titled “inner_iterations?”optional inner_iterations?: number;Defined in: cmds.ts:171
Inner iterations per round, N in Algorithm 1. Defaults to 20, per §4.2.
max_iter?
Section titled “max_iter?”optional max_iter?: number;Defined in: cmds.ts:179
Rounds of Algorithm 1 before the grid is grown. Defaults to 150.
The quality/time dial: overlaps fall slowly but steadily at a fixed node size, so more rounds keep the nodes larger — roughly 2% of the plot area at 10 rounds, 33% at 200, 71% at 800. Cost is linear in it.
max_rescales?
Section titled “max_rescales?”optional max_rescales?: number;Defined in: cmds.ts:181
How many times the grid may grow before giving up. Defaults to 8.
optional size?: number;Defined in: cmds.ts:167
Starting node size, also the grid pitch the result is snapped to.
Defaults to a cell of the m × n grid of §4.2. If the layout does not
converge this shrinks, so it is a starting point rather than a fixed
value — see gridify_cmds.