LeanUI Docs
← Open LeanUI Studio GitHub

All 7 Studio Stage Modes — Granular Step-by-Step Guide#

LeanUI Studio gives you 7 specialized visual stage modes plus synchronized Split View right in the Center Stage header bar (◈ Graph, ⬡ Flow, ❖ Explode, 🧊 3D Orbit, ⊞ Multi, ▶ Proto, ◫ Stages, and ⊞ Split).

Every mode operates on the exact same live verified model — switching modes never loses unsaved edits, runtime state, or recorded timeline history.


Which Stage Mode Should I Use?#

Stage ModeButtonBest Used ForCore Interactions
1. 2D Node Graph◈ GraphBuilding State, Logic, Proofs, Data & View nodesDrag from Palette, drag onto wire to split, port-to-port wire, 8-handle resize, Space+Drag pan
2. Macro App Flow⬡ FlowWiring multi-screen navigation & shared ViewModelsDrag navigate/state_sync/event links between modules, double-click module to edit
3. 3D CAD Explode❖ ExplodeInspecting State → Logic → Design → UI architecture layersFront-based 3D orbit drag, Z-spacing slider, click exploded plane, ViewCube snap
4. 3D Orbit Timeline🧊 3D OrbitTime-traveling across stacked 3D state framesDrag 3DFORBIT arcball 360°, click ViewCube faces, click any Z-depth slice to jump state
5. Multi-View Board⊞ MultiTesting multiple screens & ViewModels live side-by-sidePin modules, click controls in Screen 1 and watch synchronized updates in Screen 2
6. Interactive Prototype▶ ProtoClick-through stakeholder demos & journey validationClick navigation hotspots across screens, export zero-dependency Prototype HTML
7. Stages & Split View◫ Stages / ⊞ SplitAuditing project health & editing two stages simultaneouslyFilter by stage/project, click ⊞ Split to pair Graph + Live Preview or dual modules

Mode 1 · ◈ Graph (Interactive 2D Node Graph)#

◈ Graph is your primary visual authoring canvas for single modules and Control Templates.

LIVE GENERATED SVG · AUTO-UPDATED ON BUILD
Open SVG ↗
Stage Mode 1 · 2D Graph — Port Wiring, Wire-Split, 8-Handle Resizing & Execution Trace Gestures Stage Mode 1 · 2D Graph — Port Wiring, Wire-Split, 8-Handle Resizing & Execution Trace Gestures
Stage Mode 1 · 2D Graph — Port Wiring, Wire-Split, 8-Handle Resizing & Execution Trace Gestures

Step-by-Step Interactions#

  1. Add & Splice Nodes:
    • Drag any node from the left Node Palette onto open canvas, or drop it directly onto an existing wire to split and auto-connect its input/output ports.
    • Double-click any wire to drop a clean Reroute waypoint.
  2. Type-Safe Port Wiring:
    • Drag from any right-side output dot (val, out, effect, items, onClick) to a left-side input dot (in, mutate, check, text, trigger).
    • Compatible Lean 4 types highlight green; incompatible types (e.g., String → Bool) are rejected immediately with an inline tooltip.
  3. 8-Handle Resizing & Auto-Size (Zero Badge Overlap):
    • Select any node to reveal all 8 resize handles (NW/N/NE/E/SE/S/SW/W).
    • Drag any corner or edge with magnetic smart alignment guides; double-click a corner handle (or click Auto-Size in Inspector) to fit content cleanly.
    • During live execution tracing, #1, #2, #3… step-order pills sit cleanly along the top edge (pointer-events: none) so they never block or overlap the NW or N resize handles in Normal, Compact, Touch, or WCAG AAA modes.
  4. Navigation, Multi-Select & Canvas HUD:
    • Hold Space + Drag (or middle-mouse drag) to pan; scroll wheel to zoom smoothly across LOD 0 / 1 / 2 detail levels.
    • Drag a selection marquee (or Shift + Click) to select multiple nodes, then use the floating selection bar to Duplicate, Group, Match Sizes, or extract a Sub-Program.
    • Toggle Grid, Trace (causal upstream/downstream highlight), Curve (Bezier / Orthogonal / Straight), Map (Minimap), or Fit in the bottom floating toolbar.

Mode 2 · ⬡ Flow (Macro App Flow Architecture)#

Switch to ⬡ Flow to zoom out from a single graph and orchestrate an entire multi-screen, multi-project LeanUI Solution.

LIVE GENERATED SVG · AUTO-UPDATED ON BUILD
Open SVG ↗
Stage Mode 2 · Macro App Flow — Cross-Module Workflow Links & Per-Module Verification Badges Stage Mode 2 · Macro App Flow — Cross-Module Workflow Links & Per-Module Verification Badges
Stage Mode 2 · Macro App Flow — Cross-Module Workflow Links & Per-Module Verification Badges

Step-by-Step Interactions#

  1. Inspect All Modules at a Glance: Each card shows its project color bar, folder path, live node/state/proof counts, and real-time ✓ Verified status.
  2. Wire Cross-Module Links: Drag from a module card's right edge to another module to create typed workflow edges:
    • navigate (dashed cyan) — Screen-to-screen navigation routes.
    • state_sync (blue) — Shared ViewModel / cross-module reactive state sync.
    • event (amber) — Cross-module event broadcast.
    • data_query (emerald) — Shared data source / relational query feeding multiple screens.
  3. Drill Down Instantly: Double-click any module card to jump straight into ◈ Graph mode for that module.

Mode 3 · ❖ Explode (3D CAD 4-Plane Exploded Assembly)#

Switch to ❖ Explode to inspect how State, Logic/Proofs, Design Tokens, and Live UI stack architecturally in a front-based 3D CAD view.

LIVE GENERATED SVG · AUTO-UPDATED ON BUILD
Open SVG ↗
Stage Mode 3 · CAD Explode — Front-Based 4-Plane Layer Explosion, ViewCube & Vertical Beams Stage Mode 3 · CAD Explode — Front-Based 4-Plane Layer Explosion, ViewCube & Vertical Beams
Stage Mode 3 · CAD Explode — Front-Based 4-Plane Layer Explosion, ViewCube & Vertical Beams

Step-by-Step Interactions#

  1. Explore the 4 Architectural Planes:
    • L0 State & Formal Proofs (back plane)
    • L1 Actions, Computed & Validators
    • L2 WCAG Styles, Resources & Control Templates
    • L3 Live Rendered UI Surface (front plane)
  2. Orbit & Adjust Explosion Depth:
    • Left-drag anywhere on the 3D viewport to orbit smoothly around the front-aligned assembly.
    • Drag the Explode Spacing slider to expand or collapse Z-depth separation between planes.
    • Scroll wheel zooms cleanly; click Reset Camera to return to the aligned Front Isometric default.
  3. Inspect Any Plane or Wiring Beam:
    • Click any node card or plane to focus its properties in the Inspector and highlight vertical cross-plane wiring beams.
    • Click any face (FRONT, TOP, RIGHT, LEFT, BACK) or corner on the AutoCAD-style ViewCube in the top-right corner for instant orthographic or isometric snapping.

Mode 4 · 🧊 3D Orbit (3D Historical State Stack & 3DFORBIT)#

Switch to 🧊 3D Orbit to inspect time-travel execution history in 3D space — every recorded action becomes a stacked isometric slice connected by action and state-diff arcs.

LIVE GENERATED SVG · AUTO-UPDATED ON BUILD
Open SVG ↗
Stage Mode 4 · 3D Orbit — Stacked Historical State Frames, 3DFORBIT Arcball & Z-Slice Selection Stage Mode 4 · 3D Orbit — Stacked Historical State Frames, 3DFORBIT Arcball & Z-Slice Selection
Stage Mode 4 · 3D Orbit — Stacked Historical State Frames, 3DFORBIT Arcball & Z-Slice Selection
LIVE GENERATED SVG · AUTO-UPDATED ON BUILD
Open SVG ↗
Full Studio Workspace in 3D Orbit Mode Paired with Formal Proof Matrix & Timeline Full Studio Workspace in 3D Orbit Mode Paired with Formal Proof Matrix & Timeline
Full Studio Workspace in 3D Orbit Mode Paired with Formal Proof Matrix & Timeline

Step-by-Step Interactions#

  1. Generate Live History First: Click buttons in Live Preview (or open a preset) so 2–5 state steps appear in the Timeline.
  2. Unlimited 360° Orbit with 3DFORBIT Ring:
    • Drag inside the circular 3DFORBIT arcball ring for free 3D pitch/yaw rotation, or drag the cardinal handles on the ring for locked single-axis rotation.
    • Click any ViewCube face or edge to align the stack precisely (FRONT, TOP, ISO).
  3. Click Any 3D Frame Slice to Time-Travel:
    • Click any stacked frame (#0 initState, #1 Increment, #2 Increment…) to jump the Live Preview, Timeline, and Proofs panels directly to that exact historical state.
  4. Trace State-Diff Arcs: Follow the glowing arcs between layers to see which action mutated which field and confirm green ✓ All Invariants Hold on every frame.

Mode 5 · ⊞ Multi (Simultaneous Multi-View & ViewModel Board)#

Switch to ⊞ Multi to run and verify multiple screens and ViewModels simultaneously on one live board.

LIVE GENERATED SVG · AUTO-UPDATED ON BUILD
Open SVG ↗
Stage Mode 5 · Multi-View Board — Synchronized Side-by-Side Live Screens & ViewModels Stage Mode 5 · Multi-View Board — Synchronized Side-by-Side Live Screens & ViewModels
Stage Mode 5 · Multi-View Board — Synchronized Side-by-Side Live Screens & ViewModels

Step-by-Step Interactions#

  1. Pin Multiple Screens: Choose which solution modules appear side-by-side on the Multi-View board.
  2. Test Synchronized State Live: Click buttons or fill inputs inside Screen 1 and watch bound sibling views and ViewModels update instantaneously without switching tabs.
  3. Verify Responsive Variants Together: Compare a form screen, dashboard KPI view, and list view at once while keeping the Timeline recording every cross-screen action.

Mode 6 · ▶ Proto (Interactive Click-Through Prototype)#

Switch to ▶ Proto to walk through your connected multi-screen application as an interactive user journey and export a clickable HTML prototype for stakeholders.

LIVE GENERATED SVG · AUTO-UPDATED ON BUILD
Open SVG ↗
Stage Mode 6 · Interactive Prototype — Multi-Screen Navigation Hotspots & Standalone Prototype Export Stage Mode 6 · Interactive Prototype — Multi-Screen Navigation Hotspots & Standalone Prototype Export
Stage Mode 6 · Interactive Prototype — Multi-Screen Navigation Hotspots & Standalone Prototype Export

Step-by-Step Interactions#

  1. Click Navigation Hotspots: Click wired buttons/links on Screen 1 to navigate smoothly to Screen 2 and Screen 3 with real MVU state carried across screens.
  2. Audit Dead Ends: Visual flow connectors highlight every valid route and make unlinked screens immediately obvious.
  3. Export Standalone Prototype: Click Export ▾ → Export Connected Prototype (.html) to generate a single zero-dependency clickable HTML file anyone can open in a browser.

Mode 7 · ◫ Stages & ⊞ Split (Solution Stages Board & Synchronized Split View)#

Use ◫ Stages to audit every module grouped by architecture stage, and ⊞ Split to work in two synchronized views side by side.

LIVE GENERATED SVG · AUTO-UPDATED ON BUILD
Open SVG ↗
Stage Mode 7 · Solution Stages Audit Board & Split-Screen Synchronized Editing Stage Mode 7 · Solution Stages Audit Board & Split-Screen Synchronized Editing
Stage Mode 7 · Solution Stages Audit Board & Split-Screen Synchronized Editing

Step-by-Step Interactions#

  1. Audit Solution Health (◫ Stages): Scan every module's stage, node count, proof count, and green ✓ Verified badge in a structured grid.
  2. Open Any Module: Double-click any card to jump directly into its graph editor.
  3. Toggle Synchronized Split View (⊞ Split): Click ⊞ Split in the stage header to place two synchronized views side-by-side (e.g., ◈ Graph on the left + Live Preview or a second module on the right) so edits reflect instantaneously across both halves.
  4. Export Any Mode or Full Architecture Deck: Click Export ▾ → 🖼 Export Diagram (SVG / PNG / PDF)… and select Multi-Page — Complete Deck to bundle Graph + Flow + Explode + 3D Orbit + Timeline into a single presentation PDF!

Next Steps#

Diagram Preview
Enlarged diagram