Skip to main content

Module xyflow

Module xyflow 

Source
Expand description

XyFlow-compatible projections and callback adapters.

Jellyflow’s canonical runtime payload lives in crate::runtime::commit. This module contains the compatibility surface for integrations that want XyFlow/ReactFlow-style node/edge changes and callback naming.

Effective interaction policy resolution lives in crate::runtime::policy. Policy-shaped fields exposed here keep XyFlow naming only for compatibility with node/edge change consumers.

Re-exports§

pub use apply::ApplyChangesReport;
pub use apply::XyFlowDimensionAttribute;
pub use apply::XyFlowDimensionsSetAttributes;
pub use apply::XyFlowEdgeChange;
pub use apply::XyFlowEdgeElement;
pub use apply::XyFlowNodeChange;
pub use apply::XyFlowNodeElement;
pub use apply::apply_edge_changes;
pub use apply::apply_graph_changes;
pub use apply::apply_node_changes;
pub use apply::apply_xyflow_edge_changes;
pub use apply::apply_xyflow_node_changes;
pub use callbacks::ConnectionChange;
pub use callbacks::DeleteChange;
pub use callbacks::EdgeConnection;
pub use callbacks::NodeDragEnd;
pub use callbacks::NodeDragEndOutcome;
pub use callbacks::NodeDragStart;
pub use callbacks::NodeDragUpdate;
pub use callbacks::NodeGraphCallbacks;
pub use callbacks::NodeGraphCommitCallbacks;
pub use callbacks::NodeGraphGestureCallbacks;
pub use callbacks::NodeGraphViewCallbacks;
pub use callbacks::NodeResizeEnd;
pub use callbacks::NodeResizeEndOutcome;
pub use callbacks::NodeResizeStart;
pub use callbacks::NodeResizeUpdate;
pub use callbacks::SelectionChange;
pub use callbacks::ViewportMove;
pub use callbacks::ViewportMoveEnd;
pub use callbacks::ViewportMoveEndOutcome;
pub use callbacks::ViewportMoveKind;
pub use callbacks::ViewportMoveStart;
pub use callbacks::install_callbacks;
pub use changes::ChangesToTransactionError;
pub use changes::EdgeChange;
pub use changes::NodeChange;
pub use changes::NodeGraphChanges;
pub use changes::NodeGraphPatch;
pub use store::DispatchChangesError;

Modules§

apply
Apply helpers for XyFlow-style changes (controlled mode).
callbacks
ReactFlow-style callback surface for B-layer integrations.
changes
XyFlow-style change model for editor runtimes.
store
Store helpers for XyFlow-style change arrays.

Structs§

ControlledGraph
XyFlow-style controlled graph state for adapter-owned node/edge arrays.