ValyroUI Русская версия

Flow Diagram

Auto-laid-out flowchart: steps, decisions, edge labels. Pro · Charts and analytics › Diagrams

Installation

npx valyro-cli@latest login
npx valyro-cli@latest add flow-diagram
npm install valyro-ui-pro

import 'valyro-ui-pro/styles.css';
import { FlowDiagram } from 'valyro-ui-pro';

Props

PropTypeDefault
nodes *FlowDiagramNode[]Steps and decisions.
edges *FlowDiagramEdge[]Connectors between them; the layout follows their direction.
direction'right' | 'down''right'Flow left to right (default) or top to bottom.
ariaLabel *stringAccessible name; the diagram is also described as a list of connectors.
labelsPartial<FlowDiagramLabels>Overrides for the built-in English text; keys left out keep their defaults.

Related components

Previous: Cohort Retention Matrix · Next: Sequence Diagram · All Charts and analytics