Flowchart
Create flowcharts and process diagrams using Mermaid syntax. Write code, see your diagram render instantly.
flowchart TD
A([Start]) --> B{User logged in?}
B -->|Yes| C[Show dashboard]
B -->|No| D[Redirect to login]
D --> E[User enters credentials]
E --> F{Valid credentials?}
F -->|Yes| G[Create session]
F -->|No| H[Show error]
H --> E
G --> C
C --> I([End])Map out business processes, onboarding flows, and standard operating procedures.
Visualize application flow, request handling, and decision logic in your codebase.
Create step-by-step decision trees for diagnosing and resolving issues.
flowchart TDTop-down direction (also LR, RL, BT)A[Text]Rectangle nodeA(Text)Rounded rectangleA{Text}Diamond / decisionA([Text])Stadium / pill shapeA --> BArrow connectionA -->|label| BLabeled arrowA -.-> BDashed arrowOpen FlowViz editor by clicking "Open Editor" above.
Start with the diagram direction: type flowchart TD for top-down or flowchart LR for left-right.
Define your nodes using bracket notation: A[Step name] for rectangles, A{Decision} for diamonds.
Connect nodes with arrows: A --> B for a simple connection, A -->|Yes| B for a labeled arrow.
Add more nodes and connections to complete your flow.
Use the theme switcher in the bottom bar to change the visual style.
Export your flowchart as SVG using the Export button.
Related tools
No signup. No install. Just open the editor and start writing.