Programmatic source #39
Unanswered
matthewmaier
asked this question in
Q&A
Replies: 1 comment 4 replies
-
Hi @matthewmaier DGRM use json. To view JSON of the diagram: copy and past to text editor.
You can copy this text and past to dgrm.net. -> diagram will be drawn. If you really want to make a diagram generator, then I will add the ability to open json files. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I love that dgrm files are saved as .png so they work as a preview and as a source! That's amazingly clever. I'm curious if there's any way to make the source programmatic so that you can connect it to code/text. For example, https://mermaid.live/ draws diagrams from a human readable text file and someone even threw together a GUI editor for Mermaid https://www.mermaidflow.app/editor Is that possible with dgrm?
Beta Was this translation helpful? Give feedback.
All reactions