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,

Anton

2 answers

1 accepted

I have answered this here.

1 vote

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,

Anton

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Tuesday in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

485 views 19 10
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you