Lab

Editor

Slant / Components

An agent run in an editor: its stages on a canvas, a toolbar over it, an inspector beside it and a timeline under both, all on one selection.

The theme follows the link: share a page with ?theme=moon.

Usage

  • <Workbench> lays out the regions: <Toolbar variant="floating"> over <Flow variant="plain">, <Inspector variant="plain"> beside it, <Tracks variant="plain"> under both.
  • Selecting a node selects its clip and the reverse; the XY pad on the Position page is the node's position, and the Run page resizes its clip.
  • The frame is resizable: two Splitter handles size the inspector and the tracks. Below 640px of its own width it stacks canvas, inspector and tracks in one column instead.

Keyboard

Tabmoves from the toolbar to the canvas and its nodes, then the inspector, then the tracks, with a resize handle before each
← / → / ↑ / ↓ on a handleresizes the inspector or the tracks
V / H / Cpicks Select, Pan or Connect
← / → / ↑ / ↓moves the focused node, the XY pad or the playhead
+ / − / 0 / Shift+1zooms the canvas, resets it, or fits it
Escapeclears the selection on the canvas

Accessibility

  • Each region is a named group, and the toolbar comes first in the tab order.
  • A text outline after the canvas lists what links to what; nodes and clips are toggle buttons pressed while selected.
  • The status line under the frame says what is selected.

Editor in React and SwiftUI.

Source

The React tab is the component’s real source; the SwiftUI tab is its twin in TUTTNKit.