CanvasLayout
Presentation-only dashboard canvas layout.
Fields
Section titled “Fields”| Field | Type | Description |
|---|---|---|
layout |
auto, manual |
Default auto. |
direction |
LR, TB |
Default LR. |
nodes |
map of string to CanvasNodePosition | |
groups |
array of CanvasGroup | |
viewport |
CanvasViewport |
* always present
Example
Section titled “Example”{ "layout": "manual", "direction": "LR", "nodes": { "services.web": { "x": 0, "y": 0 } }, "viewport": { "x": 0, "y": 0, "zoom": 1 }}