Skip to main content

Module graph_editor

Module graph_editor 

Expand description

Reusable interaction model for node/graph editors.

This module intentionally owns no domain data. Image, audio, automation, and shader editors can all project their typed nodes into GraphEditor and receive the same selection, navigation, connection, viewport, and accessibility semantics.

Modules§

ui_placeholder
Small geometry type kept independent of the renderer so graph tooling can be tested and reused by non-Vello frontends.

Structs§

AdaptiveEditorLayout
Shared responsive geometry for editors whose approachable surface is a primary canvas plus a reversible operation stack, with an optional expert graph. Future audio/shader editors use the same break point and guarantees.
ConnectionTarget
A stable, geometry-independent connection destination used by keyboard, switch, voice, and assistive-technology interactions.
Edge
Graph
GraphEditor
Device-local canvas state. It is deliberately separate from Graph: a collaborator panning their view must not move everyone else’s workspace.
GraphNode
GraphPoint
Port

Enums§

ConnectError

Type Aliases§

NodeId