StyleCode - Layout Pipeline
This pipeline computes the final position of each tile on the dashboard. Each tile is placed according to its
- All tiles with
tilePlacement: fixedare placed on the grid at the position specified by
tileH. If this would cause an overlap between two tiles, the tile that appears second in the source code is treated as
- The dashboard width is defined as the smallest width that can accommodate all tiles placed so far. If no tiles were placed so far, a dashboard width of 6 is assumed.
- Starting on the row below the bottom-most tile, all tiles with
tilePlacement: bottomare placed in the dashboard, filling each row left-to-right (up to the dashboard width) in the order in which they appear in the script, with dimensions 1×1.