View Source mix ash.generate_resource_diagrams (ash v2.15.17)
Generates a Mermaid Resource Diagram for each Ash API.
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
--type
-er
orclass
(defaults toclass
)--only
- only generates the given API 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 SVGpdf
- Generates a PDFpng
- Generates a PNG
Summary
Functions
Callback implementation for Mix.Task.run/1
.
Functions
Callback implementation for Mix.Task.run/1
.