Module ui_graph
Expand description
Versioned, serializable UI object graphs compiled into ordinary widgets.
The graph is a source format, not a second rendering system. UiNode
variants build the same crate::widget::Widget implementations an app
constructs in Rust, so accessibility, focus, model bindings, actions,
themes, inspection, and headless tests keep one implementation.
Structs§
- LiveUi
- A retained host whose child is reconciled after a validated graph edit.
- UiBuild
Context - Process-local services available while compiling a serialized graph.
- UiComponent
Request - Inputs passed to one app-owned serialized-graph component factory.
- UiDocument
- UiGraph
Editor - A native, accessible object-graph editor with a live production-widget preview. It is also the root component used by the standalone UI builder.
- UiGraph
Handle - UiValues
- A graph’s text and checked values, by each control’s
value_path, and which buttons were clicked, by each button’son_click_path.
Enums§
- UiButton
Role - UiGraph
Edit - One validated edit to a serialized UI object graph.
- UiGraph
Error - UiNavigation
- Process-local navigation requested by a button.
- UiNode
- UiText
Role - UiText
Source
Constants§
- LIVE_
GRAPH_ DIR_ ENV - Directory of live
*.jsonscreen graphs. When set, graph apps load and hot-reload screens from disk instead of the embed baked byinclude_str!. - LIVE_
GRAPH_ OPERATION - Operation type for live graph mutations published by
LiveUi. - UI_
GRAPH_ VERSION
Traits§
- UiDocument
Ext - Compile a validated serialized graph into ordinary Tilo widgets.
Functions§
- parse_
ui_ graph_ edits - Parse a non-empty JSON array of tagged graph edits.