View Source AshStateMachine.Charts (ash_state_machine v0.2.7)

Returns a mermaid flow chart of a given state machine resource.

Summary

Functions

mermaid_flowchart(resource)

@spec mermaid_flowchart(Ash.Resource.t()) :: String.t()

mermaid_state_diagram(resource)

@spec mermaid_state_diagram(Ash.Resource.t()) :: String.t()