Skip to main content

Module controller

Module controller 

Source
Expand description

High-level controller for node editor applications.

The NodeEditorController reduces boilerplate by managing geometry tracking, link path computation, and viewport state in one place.

§Standard integration

Construct a crate::NodeEditorSetup and pass it to crate::wire_node_editor!. The macro installs this controller’s geometry, computation, viewport and grid handlers on the generated Slint globals. Its callback replacement rules and required generated members are documented in the crate README. The repository’s compiled quick start demonstrates model-owned selection, movement, connection and deletion.

Structs§

NodeEditorController
Controller that manages node editor state and provides callback implementations.