On a similar note, you can embed Draw.io markup when exporting Draw.io diagrams, meaning the image contains the metadata required to open, modify, and generate a new image (which itself can also contain the new metadata).
Mermaid has its place, but Draw.io is so much more flexible.
Mermaid has its place, but Draw.io is so much more flexible.