The editor

The kitengi editor at app.kitengi.dev is made up of four areas: the canvas, the sidebar, the right panel, and the console.

Canvas

The canvas is the main editing area where nodes and threads are displayed. It supports panning and zooming:

Sidebar

The sidebar on the left lists all your programs. Click a program name to open it. Programs are stored locally in your browser.

Right panel

When a node is selected the right panel shows its properties:

When nothing is selected the right panel shows the program name and loom.

Console

The console at the bottom of the screen shows output from print nodes while a program is running. It also shows any runtime errors. Click Clear to reset it.

Toolbar

The toolbar at the top of the canvas contains:

Data flow visualization

While a program is running, the editor provides real-time visual feedback:

Slow mode and pause

The toolbar includes debugging controls for stepping through execution:

Compare / diff viewer

Click the Compare button in the toolbar to open the diff viewer. Paste two versions of a .kti file to see a side-by-side comparison with highlighted differences. This is useful for reviewing changes before loading a new version of a program.

Test runner

When a pattern node is selected, the right panel includes a Tests section where you can view, create, and run test cases for that pattern. Test cases define input values and expected output values. Running a test executes the pattern in isolation and reports whether the outputs match. See Patterns for more on defining test cases.

Keyboard shortcuts

KeyAction
Double-click canvasAdd a new node
Backspace / DeleteDelete selected nodes or threads
FFit all nodes to view
RRun the program
⌘Z / Ctrl+ZUndo
⌘⇧Z / Ctrl+YRedo