It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Nested Use of Graphviz Diagrams for Confluence

Dear team,

unfortunately it is not possible to use the graphviz macros (especially the digraph macro) in a nested context sad

Do I miss something?

Background: We wrote a macro that generates the digraph on the fly and we would like nest our macro in the digraph macro.

Will this feature be implemented in the near future?

Best regards,


2 answers

1 accepted

I have answered this here.

1 vote
Nic Brough Community Leader Feb 06, 2017

Hmm.  I'm using graphviz macros inside other macros, although the container macros are part of the core of Confluence.  I think, more importantly, they're macros that render Confluence language internally, so they know where to go when they try to render another macro.  I suspect your macro does not render Confluence data?  (Obvious example - put a graphviz macro inside a panel)

Hi Nic,

thanks for your answer and sorry for beeing too unprecise.

I wanted to use the Graphviz Diagrams for Confluence macros the other way round.

We wrote a - not jet published - Graph Macro for the projectdoc Toolbox for Confluence that generates the digraph-ASCII-syntax on the fly. Right now we use the free PlantUML add-on to convert this digraph-ASCII-text to a graphviz (dot) PNG. To do this we wrap the PlantUML-macro around our macro.

As we would also like to support the Graphviz Diagrams for Confluence macros (especially the digraph-macro), we added an additional feature to our macro to generate the digraph-ASCII-syntax in a format that the digraph-macro can use. But unfortunately we can not put our macro inside the digraph macro as it does not allow richtext (other macros) in its body.

Best regards,


Nic Brough Community Leader Feb 07, 2017

Ah, sorry, I did not see that before.  It is the reverse of what I've done before.  I'm afraid I don't know how that might work.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

Introducing Confluence Cloud and Jira Software Cloud Premium

Wherever you are in your team’s journey , our goal is to support your big ambitions. We’re a cloud-first company with the mission of unleashing the potential of every team, and to address the range ...

652 views 4 18
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you