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

This widget could not be displayed.

I have answered this here.

This widget could not be displayed.

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
Community showcase
Posted Sep 17, 2018 in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

625 views 8 6
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