mermaid-js / mermaid

Generation of diagrams like flowcharts or sequence diagrams from text in a similar manner as markdown
https://mermaid.js.org
MIT License
68.77k stars 6.08k forks source link

Support for Domain Driven Design diagrams and syntax #1624

Open d-sauer opened 3 years ago

d-sauer commented 3 years ago

Would it be possible to provide syntax and diagram styles for Domain Driven Design. Good example: https://contextmapper.org/

Where there is a lot of existing support from Mermaid, but some DDD concepts like ACL or similar building-block objects it's a bit inconvenient to do code/draw.

yishenggudou commented 1 year ago

+1

maxperezml commented 1 year ago

+1

macel94 commented 1 year ago

+1

BugliL commented 10 months ago

+1

AliHoussein commented 8 months ago

+1

AngeloChecked commented 7 months ago

Hello everyone, I'm available to help implement something or assist anyone who needs it. Has anyone started working on this issue or are there any updates?

reid-spencer commented 5 months ago

FYI: You might want to look at riddl, which defines bounded contexts, domains, adaptors (acls), message processors, and many other concepts via a textual language. It has a validating compiler that produces an Abstract Syntax Tree (AST) and various passes to do whatever you want with it. One of those things is a DIagramsPass to develop mermaid diagrams from the AST. This is a pre-1.0 project but its been through 30+ pre-releases already. All that is left before 1.0 is finishing the diagrams pass and correcting the documentation. Documentation is here. Help to finish this off would be much appreciated, and is very much needed, @AngeloChecked :)