I’m interested not just in drawing pictures, but in compiling the pictures to runnable code. AFAICT, Statecharts are the only part of UML2 that can actually be compiled to real, executable code. I've been experimenting on PBP(0D) with the idea of making diagrams (in draw.io, graphML, SVG) that can be compiled to code (Python, JS, CL, Odin). I don't trust comments, I want compilable comments, so that what you say is what you get. IMO, PBP manages to compile diagrams to executable code and IMO that's better than just writing comments.
To make this work, I need to express code as asynchronous, self-contained units.
And, I need to think in terms of 2 kinds of Parts
Leaf Parts and
Container Parts.
It's not a big technical push-up to think this way, but, it opens the doors to compiling diagrams to code.
See Also
Email: ptcomputingsimplicity@gmail.com
References: https://guitarvydas.github.io/2024/01/06/References.html
Blog: guitarvydas.github.io
Videos: https://www.youtube.com/@programmingsimplicity2980
Discord: https://discord.gg/65YZUh6Jpq
Leanpub: [WIP] https://leanpub.com/u/paul-tarvydas
Twitter: @paul_tarvydas
Substack: paultarvydas.substack.com