dinodoc.statecharts
render-machine-block
(render-machine-block machine)
Render given machine as a mermaid state diagram wrapped in a markdown fenced code block to standard output.
render-machine-diagram
(render-machine-diagram machine)
Render given machine as a mermaid state diagram to standard output.
render-machine-var
(render-machine-var machine-var)
(render-machine-var machine-var {:keys [filename-add-prefix]})
Render a var bound to a machine to standard output. Using a var has the benefit of being able to include link to the source file including the line location.