View Source mix ash.generate_flow_charts (ash v2.4.20)
Generates a Mermaid Flow Chart for each
Ash.Flow alongside the flow.
If there is a
run_flow step in the flow, this will also create
an "expanded" Mermaid Flow Chart which includes all child steps.
This mix task requires the Mermaid CLI to be installed on your system.
Command line options
--only- only generates the given Flow file
--format- Can be set to one of either:
plain- Prints just the mermaid output as text. This is the default.
md- Prints the mermaid diagram in a markdown code block.
svg- Generates an SVG
png- Generates a PNG