ComfyUI Node
Build Layout Panels
Obtains a list of panels from the provided layout.The panels are sorted with respect to hierarchy and defined reading order.For example: A vertical cut in left-to-right reading order will place, on the list, the panels from the left side of the cut before to the panels on the right side of the cut.
Build Layout Panels
- layout
- canvas
- POLYGON
◄margin32►
◄reading_dirfalse►
CategoryBmad/Panels
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| layout | PANEL_LAYOUT | Root node of the 'abstract' cut's tree. | |
| canvas | POLYGON | A box shaped polygon representing the area to be cut into the panels. | |
| margin | INT | 320–1000 | The distance (in pixels) between the panels formed by the 1st cut.The distance for nested cuts decreases the higher the depth in the layout hierarchy. |
| reading_dir | BOOLEAN | false | Invert the panel layout horizontally to be read from right to left. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| POLYGON | POLYGON | Panels (Shapely Polygons) |