Handle function component for LiveFlow.
Handles are connection points on nodes that allow edges to be created. They render as small circles positioned on the edges of nodes.
Summary
Functions
Renders a handle on a node.
Renders a source handle (output).
Renders a target handle (input).
Functions
Renders a handle on a node.
Attributes
:handle- TheLiveFlow.Handlestruct (required):node_id- ID of the parent node (required):class- Additional CSS classes
Examples
<.handle handle={handle} node_id="node-1" />Attributes
handle(LiveFlow.Handle) (required)node_id(:string) (required)class(:string) - Defaults tonil.
Renders a source handle (output).
Attributes
id(:string) - Defaults tonil.position(:atom) - Defaults to:right.node_id(:string) (required)connectable(:boolean) - Defaults totrue.class(:string) - Defaults tonil.
Renders a target handle (input).
Attributes
id(:string) - Defaults tonil.position(:atom) - Defaults to:left.node_id(:string) (required)connectable(:boolean) - Defaults totrue.class(:string) - Defaults tonil.