Skip to main content

jellyflow_runtime/runtime/xyflow/
mod.rs

1//! XyFlow-compatible projections and callback adapters.
2//!
3//! Jellyflow's canonical runtime payload lives in [`crate::runtime::commit`]. This module contains
4//! the compatibility surface for integrations that want XyFlow/ReactFlow-style node/edge changes
5//! and callback naming.
6//!
7//! Effective interaction policy resolution lives in [`crate::runtime::policy`]. Policy-shaped
8//! fields exposed here keep XyFlow naming only for compatibility with node/edge change consumers.
9
10pub mod apply;
11pub mod callbacks;
12pub mod changes;
13mod controlled;
14mod dialect;
15mod projection;
16pub mod store;
17mod transaction;
18
19pub use apply::{
20    ApplyChangesReport, XyFlowDimensionAttribute, XyFlowDimensionsSetAttributes, XyFlowEdgeChange,
21    XyFlowEdgeElement, XyFlowNodeChange, XyFlowNodeElement, apply_edge_changes,
22    apply_graph_changes, apply_node_changes, apply_xyflow_edge_changes, apply_xyflow_node_changes,
23};
24pub use callbacks::{
25    ConnectionChange, DeleteChange, EdgeConnection, NodeDragEnd, NodeDragEndOutcome, NodeDragStart,
26    NodeDragUpdate, NodeGraphCallbacks, NodeGraphCommitCallbacks, NodeGraphGestureCallbacks,
27    NodeGraphViewCallbacks, NodeResizeEnd, NodeResizeEndOutcome, NodeResizeStart, NodeResizeUpdate,
28    SelectionChange, ViewportMove, ViewportMoveEnd, ViewportMoveEndOutcome, ViewportMoveKind,
29    ViewportMoveStart, install_callbacks,
30};
31pub use changes::{
32    ChangesToTransactionError, EdgeChange, NodeChange, NodeGraphChanges, NodeGraphPatch,
33};
34pub use controlled::ControlledGraph;
35pub use store::DispatchChangesError;