Skip to content

cmds_grid

function cmds_grid(
width,
height,
count): [number, number];

Defined in: cmds.ts:146

The m × n grid of §4.2: small enough that every cell is used, large enough to hold every item. The paper’s conditions are N ≤ m·n, m·(n−1) ≤ N and (m−1)·n ≤ N. A cell is also the node size.

ParameterType
widthnumber
heightnumber
countnumber

[number, number]