Hi, I've been gathering some ideas on how to create a new diagram type for BPMN 2.0 following the #177 poll: https://github.com/knsv/mermaid/issues/177#issuecomment-113783249
Naturally, most of the construct is already present in the flowchart diagram as this example demonstrates:

graph LR
subgraph pool
subgraph earn
Sa0((start))
Sa1(work)
Sa2((receive wage))
Sa0-->Sa1
Sa1-->Sa2
Sa2-->Sa1
end
Sa2-.->S0
subgraph spend
S0((start))
S2(Go shopping)
S3{How much money will I spend?}
S1(save for later)
S4(buy Laptop)
S5(buy iPhone)
S6(buy Car)
S7{ }
S8((end))
S9{ }
S10(pay)
S0-->S2
S2 --> S3
S3-->| =0 | S1
S3-->| <= 1k | S4
S3 -->| > 1k| S5
S3 -->| >10k | S6
S1-->S9
S4-->S7
S5-->S7
S6-->S7
S7-->S10
S10-->S9
S9-->S8
end
end
Feel free to try more strategies in the example and complete the list
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Great suggestions!
It looks like the BPMN idea has not gained much traction. That's too bad... It would have been great to have this in mermaid.
Still looking for BPMN diagrams :'(
Really wished Mermaid supported BPMN! Quite useful...
Agree that BPNM would be great. There is also an available library that could maybe be used: https://bpmn.io/ ?
Most helpful comment
Great suggestions!
It looks like the BPMN idea has not gained much traction. That's too bad... It would have been great to have this in mermaid.