Using the syntax of the dot tool for generating an image attached and display at given location.
Introduction
Thomas Lehmann: I'm using doxygen with the dot tool for generating a html documentation of the source with different graphs for
- class dependencies
- include dependencies
- directory dependencies
- own graphs for displaying other dependencies, some logic, ...
The syntax is to be done in text format like this:
- {{{digraph Design
{
- rankdir = LR;
A -> B[label = "is depending"];
} }}}
the graph visualization toolkit
The result is a graph - two elipses with an arrow from left to right - there's the text "is depending" above the arrow! Of course you can specifiy many other attributes for colors, linestyles, fonts, the type of the shape and the kind of arrows. For getting involved have a look at: http://www.graphviz.org and http://www.graphviz.org/Gallery.php!
I don't know how it should be implemented but I would like to write - inside of a wiki page - an area with text in dot syntax and when previewing or saving the backend of moinmoin should trying to call the dot tool (need to be installed - of course) for this text generating an image, displayed at the location the dot text has been written.
Wiki-Documentation / Source-Code Documentation - same tool
Actually I've to generate those images and then going the standard way through attachments. I would like offering others to correct the image by changing the graph simply changing the dot text! I'm knowing about the plugin for drawing something, but because of the close relation to doxygen I would like using the same format! For any questions or comments please contact me at Iris-und-Thomas-Lehmann@T-Online.de!
Comments
Did you saw VisualSiteMap or webdot.py in the ActionMarket?
Check out GraphVizForMoin.