4 ms·
can such a diagram be generated using text markup ? i want to have this in revision control and then generate this in a static page (Nextjs or Gatsbyjs)
by sandGorgon 6y ago
can such a diagram be generated using text markup ? i want to have this in revision control and then generate this in a static page (Nextjs or Gatsbyjs)
- stirner 6y agoIt’s a bit clunky, but Graphviz and its DOT language[1] might do the trick. [1] https://en.m.wikipedia.org/wiki/Graphviz https://en.m.wikipedia.org/wiki/Graphviz
- prepend 6y agomermaidjs [0] can do class diagrams that look kind of like this. It integrates into markdown via Jekyll easily, so I assume it will work well with gatsby. It’s a basic text only structure so it actually diffs pretty well so I can see a merge request with a new node or new relationship. [0] https://mermaid-js.github.io/mermaid/#/ https://mermaid-js.github.io/mermaid/#/