Skip to main content

@elabs-ai/components-flow

23 pages

Branded React Flow canvas, nodes, edges, controls, inspector.

pnpm add @elabs-ai/components-flow

Highlights6

A few of the 23 pages here. Open a family below, or in the navigation, to see all of it.

How to write your own node type on the branded canvas.

8 examples

layoutFlowElk lays a graph out with ELK’s layered algorithm — same result shape as layoutFlow, plus the engine that answered.

3 examples

A branded process-map edge whose stroke width scales with a weight value (frequency or volume) relative to the other edges sharing its scaleGroup, and can optionally colour the stroke by a second continuous value between --flow-edge-weak and --flow-edge-strong; a “back” variant renders dashed and routed clear of the forward edge it doubles back over.

6 examples

Properties panel for the selected node/edge.

5 examples

Small legend mapping colors/types to labels for a canvas or chart (variant: "categorical", the default), or — via variant="scale" — a continuous width/color ramp with a domain, tick marks and formatting.

10 examples

Branded custom React Flow node (title/subtitle/kind/icon/tone).

7 examples

Browse by family3

  • Canvas8 pages

    CanvasShell · FlowLayout · FlowLayoutElk · FlowMiniMap · HelperLines · InspectorPanel · Legend · ZoomControls

  • Nodes7 pages

    Custom Nodes · FlowGroupNode · FlowNode · FlowNodeCard · FlowPlaceholderNode · FlowPort · FlowToneIndicator

  • Edges8 pages

    FlowButtonEdge · FlowEdge · FlowEdgeLabel · FlowEdgeTokens · FlowFloatingEdge · FlowSelfLoopEdge · FlowSmartEdge · FlowWeightedEdge