Graph Theme and Layout Preset Switcher
This example keeps one relation-graph dataset mounted while users switch both theme presets and layout presets from an on-canvas toolbar. It shows how to batch-update node and line classes, apply richer layout preset objects, and keep export and canvas controls in the same viewer shell.
Switching One Graph Between Themes and Layout Presets
What This Example Builds
This example builds a full-screen graph presentation workbench around one fixed relation-graph dataset. The canvas starts as a tree, then the user can open a palette popover to apply one of seven item-level themes or open a network popover to switch among center, tree, folder, circle, and io-tree layout presets. A minimap stays visible in the graph overlay, and a draggable helper window exposes canvas settings