Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The add-on will create two page attachments named after the diagram, one for PNG and the other one for SVG export. The diagram markup is stored only within the Confluence page and nowhere else as per our privacy policy.

Adding a GraphViz diagram to a page

The add-on also supports GraphViz DOT flowcharts using the same plantumlcloud macro:

Code Block
languagejson
@startdot
digraph foo {
  node [style=rounded]
  node1 [shape=box]
  node2 [fillcolor=yellow, style="rounded,filled", shape=diamond]
  node3 [shape=record, label="{ a | b | c }"]

  node1 -> node2 -> node3
}
@enddot

The second line of a Graphviz definition must be of the form:

Code Block
digraph name {

Note that you can use @startuml / @enduml or @startdot / @enddot, both will work. Only the DOT language is supported.

Viewing the diagram on a page

...