Graphviz Plugin
Description
The GraphvizPlugin allows for the inline creation of diagrams for abstract graphs and networks using the Graphviz programs.
Bugs/Feature Requests
Existing bugs and feature requests for GraphvizPlugin are here.
If you have any issues, create a new ticket. Be sure to mention which version of Trac and which version of the plugin you're using. If the version number ends with '...dev', then please also specify the changeset number corresponding to the version you're using.
Requirements
The programs from http://www.graphviz.org.
Installation
See source:graphvizplugin/0.10/README.txt for details on installing the plugin on Trac 0.10.
See source:graphvizplugin/0.11/README.txt for details on installing the plugin on Trac 0.11.
After installing, don't forget to enable the plugin in your trac.ini, the usual way:
[components] ... graphviz.* = enabled ...
Download
Download the zipped source from here. Note that this contains everything regarding the Graphviz plugin including tagged releases and branches. The 0.10 directory contains the latest released version of the code for Trac 0.10 and the 0.11 directory contains the latest code for Trac 0.11.
Source
You can check out the source for GraphvizPlugin from Subversion at http://trac-hacks.org/svn/graphvizplugin.
Example
{{{
#!graphviz
digraph G {Hello->World->Graphviz->Rules}
}}}
would produce an image like:
Note that you can insert TracLinks like this:
{{{
#!graphviz
digraph G {
rankdir = "LR"
GraphvizPlugin [ URL=GraphvizPlugin ]
Trac [
URL="http://trac.edgewall.org/"
fontcolor=red
]
GraphvizPlugin -> Trac
}
}}}
This produces an image like this, but with the nodes are clickable, unlike here:
Recent Changes
[4412] by cboos on 10/07/08 03:23:40
GraphvizPlugin: well, that README.txt was only approximatively reStructuredText, fixing it.
[4411] by cboos on 10/07/08 03:06:47
GraphvizPlugin: minor changes to the README and enable rst rendering.
[4410] by cboos on 10/07/08 02:49:37
GraphvizPlugin: marking the 0.11 version as unstable
[4409] by cboos on 10/07/08 02:47:19
GraphvizPlugin: tagging stable release 0.7.3
Author/Contributors
Attachments
- 15e8018d3d66075049024de6864339724b78c365.png (1.6 kB) -
Sample outout from the graphviz plugin.
, added by pkropf on 12/01/05 22:38:59. - bf7ef5a481ccb22c85f25a2da9a84b29d6ccf860.png (1.2 kB) -
second example, this time with colour and TracLinks
, added by diroussel on 01/30/07 07:37:58.


