Graphviz or PlantUML?

Has anyone worked out a way to embed Graphviz or PlantUML diagrams? For graphviz I know there is a viz.js library that other things like Confluence addons can use, and maybe I could set up a 3rd party service. But thought I’d ask around a bit first :slight_smile:

4 Likes

I didn’t done anything yet but as long as there is an URL parameter rendering service it can be done by joining edges (node → node) cells into the URL. Something like

Image(
  Concatenate(
    'https://quickchart.io/graphviz?graph=',
    EncodeForUrl(
      'digraph g {
      "node0"->"node1" 
      "node0"->"node2"
      "node1"->"node3"
      "node1"->"node4"
      "node1"->"node5"
      "node4"->"node3"
      "node4"->"node6"
      "node4"->"node10"
      "node6"->"node3"
      "node6"->"node7"
      "node6"->"node9"
      }'
    )
  )
)