@@ -17,22 +17,25 @@ Django_ web framework.
1717Here is a little sample of what a workflow or process written with joeflow
1818may look like:
1919
20- .. graphviz ::
21-
22- digraph {
23- graph [rankdir=LR]
24- node [fillcolor=white fontname="sans-serif" shape=rect style=filled]
25- checkout [color=black fontcolor=black style="filled, rounded"]
26- "has email" [color=black fontcolor=black style=filled]
27- ship [color=black fontcolor=black style="filled, rounded"]
28- end [color=black fontcolor=black style=filled peripheries=2]
29- "send tracking code" [color=black fontcolor=black style=filled]
30- checkout -> ship
31- ship -> "has email"
32- "has email" -> "send tracking code"
33- "has email" -> end [color="#888888"]
34- "send tracking code" -> end
35- }
20+ .. code-block :: mermaid
21+
22+ graph LR
23+ checkout(checkout)
24+ has_email[has email]
25+ ship(ship)
26+ end[end]
27+ send_tracking_code[send tracking code]
28+ checkout --> ship
29+ ship --> has_email
30+ has_email --> send_tracking_code
31+ has_email --> end
32+ send_tracking_code --> end
33+ style checkout fill:white,stroke:#000,stroke-width:2px,color:#000
34+ style has_email fill:white,stroke:#000,stroke-width:2px,color:#000
35+ style ship fill:white,stroke:#000,stroke-width:2px,color:#000
36+ style end fill:white,stroke:#000,stroke-width:4px,color:#000
37+ style send_tracking_code fill:white,stroke:#000,stroke-width:2px,color:#000
38+ linkStyle 3 stroke:#888888
3639
3740 .. code-block :: python
3841
0 commit comments