GUI workspace
The GUI shows the cell compiled from your current Neovim buffers. It's built for looking at layout and editing it spatially; the source stays the single source of truth.
Regions
| Region | Purpose |
|---|---|
| Canvas | Solved geometry, selection, dimensions, and placement previews. |
| Tool strip | Select, rectangle, polygon, path, dimension, and instance tools. |
| Hierarchy sidebar | Scopes and nested instances. Selecting one sets where new geometry is inserted. |
| Layer sidebar | The drawing layer and per-layer visibility. |
| Neovim command line | Where the GUI asks for text, such as a cell invocation or a name. Cell invocations complete with Tab. |
Open a cell
Press O, type an invocation such as inverter(1200., 2000., 4), and press Enter. The arguments are parsed and type-checked in the library's scope. Tab completes cell names and, inside the parentheses, the cell's keyword parameters.
What you open is an invocation, not just a cell name. If you change a cell's signature, reopen it with matching arguments.
Two-way editing
- Neovim sends the current source to the analyzer.
- The analyzer parses, checks, and compiles the open cell.
- The GUI draws the latest valid result.
- When you draw or drag on the canvas, the GUI asks the analyzer for a source edit.
- Neovim applies the edit, and the loop starts again.
A compile error keeps the last good layout on screen unless the open cell itself no longer compiles. Press Ctrl+Shift+D to see diagnostics.