Haskell drakon renderer.
Proposed input syntax to be converted to diagram images:
Title t "title - description"
Action a1 "action - description"
End e "end - description"
t > a1
a1 > e
This would render something like the following mermaid:
stateDiagram-v2
state "title - description" as title
state "action - description" as action1
state "end - description" as end
title --> action1
action1 --> end
So two sections:
- icon definitions
- icon connections
But this is subject to change.
- title - first step of a diagram
- end - last step of a diagram
- action - "do X" non-branching action, basic building block of a diagram
- question - branching step with two possible outcomes:
- yes
- no
command | description |
---|---|
./host.sh |
starts development environment |
./build.sh |
builds and lints code |
./run.sh |
runs code |
hlint . |
scans the whole current directory with hlint |
exit |
terminates development environment |
- drakon wiki
- drakon
- diagrams
- diagrams - user manual
- colours
- colorkit
- useful haskell modules: