Grid Rule

Partitions an input region into quarters using a regular grid.

 grid(idx_x, idx_y)
 { RegionList } { PathList } { JunctionList }

Parameters

  • idx_x, idx_y – number of cell subdivisions along x and y axes (in xy layout projection) accordingly.  Can be either an integer or random integer range, for instance grid(2, ri(1..3)) can produce cell arrangements 2×1, 2×2, or 2×3.
  • RegionList, PathList, JunctionListlabel selector lists which derive labels for cell/quarter regions, path regions and junction regions accordingly. Cell index can be used to match against the label.