View Source Mix.Mermaid (ash v2.15.0)

Mermaid Diagram helper functions.

Summary

Functions

Generate the option string for a mermaid config file if it exists.

Generate a Mermaid diagram using the CLI.

Generate a diagram filename next to the source file.

Functions

Generate the option string for a mermaid config file if it exists.

Link to this function

create_diagram(file, markdown)

View Source

Generate a Mermaid diagram using the CLI.

For more info see https://github.com/mermaid-js/mermaid-cli

Link to this function

file(source, suffix, extension)

View Source

Generate a diagram filename next to the source file.

Link to this function

generate_diagram(source, suffix, format, markdown, message)

View Source