Skip to main content

Module graph

Module graph 

Source
Expand description

The property-model constraint graph: D3-ready serialization (GraphData and friends) and the Dioxus component that renders it, and a pure Adam-backed view model.

Re-exports§

pub use view::GraphView;
pub use view::GraphView;

Structs§

BridgeState
Owns one cached model and lifecycle/order watermarks for one container.
GraphData
Complete graph snapshot ready for JSON serialization and delivery to D3.
LinkData
A single edge in the D3 graph.
NodeData
A single node in the D3 graph.
ViewConstraints
Owns one parsed sheet and cached identities without per-request parsing.
ViewInput
Geometry and an action for a single model update.
ViewOutput
Complete finite approved values and gesture hints derived by Adam.
ViewRequest
A geometry snapshot and source action with a generation-local ordering key.
ViewTransform
A uniform scale followed by a viewport-space translation.

Enums§

GraphDrive
Which window.beginGraph driver method a graph_drive_script invokes.
LinkKind
Link kind tag used in the D3 graph.
NodeKind
Node kind tag used in the D3 graph.
ViewAction
An explicit source edit, geometry refresh, or replacement with the sheet’s fit.
ViewMessage
Lifecycle and update messages for one mounted container channel.
ViewReply
An approval or explicit current-request failure carrying the original identity.

Functions§

GraphView
Renders the property model bipartite graph using D3.
graph_drive_script
Builds the JavaScript that stores data (serialized) as container container_id’s entry in window.__beginGraphData and invokes the GraphDrive method call on window.beginGraph when the driver script (begin/assets/graph.js) is loaded.
to_graph_data
Serializes sheet and labels into a GraphData snapshot for D3.