View Source mix ash.generate_flow_charts (ash v2.1.0)

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.

prerequisites

Prerequisites

This mix task requires the Mermaid CLI to be installed on your system.

See https://github.com/mermaid-js/mermaid-cli

command-line-options

Command line options

  • --only - only generates the given Flow file

Link to this section Summary

Functions

Callback implementation for Mix.Task.run/1.

Link to this section Functions

Callback implementation for Mix.Task.run/1.