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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,804 views 26 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