Skip to main content

Crate ratatui_flow

Crate ratatui_flow 

Source

Structs§

Connection
FlowState
Interactive state for crate::NodeGraph’s [StatefulWidget] impl.
NodeGraph
NodeGraphViewDeprecated
A read-only Widget that renders a scrolled window of a NodeGraph’s borders/ports/connections (no node content).
NodeId
Stable, opaque identity of a node in a NodeGraph.
NodeLayout
Render information for a single node.
PortId
Stable, opaque identity of a port on a node (input or output).
ViewportDeprecated
Scroll position into a NodeGraph’s canvas.

Enums§

AddNodeError
Error returned by NodeGraph::add_node_with_id when the requested NodeId already exists in the graph.
Diagnostic
Layout/routing problems detected during NodeGraph::calculate that would otherwise fail silently (a node not placed, a bad connection ignored, or a connection that couldn’t be routed and fell back to an alias character).
FlowDirection
Which way a crate::NodeGraph flows: the main axis along which children are laid out away from the root, and which screen edge the root anchors to.
LineType