Render dia and vdx files
This plugin renders DIA diagrams and MS-Visio VDX diagrams attached to Trac resources.
If the width is changed in the macro argument the image is re-rendered using pillow.
If you have any issues, create a new ticket.
Download and Source
Download the zipped source from here.
General instructions on installing Trac plugins can be found on the TracPlugins page.
The plugin is enabled with the following edit to the [components] section of your trac.ini file:
[components] diavisview.* = enabled
Attach a file you wish to display to the page as per normal. The files can be either dia or vdx, compressed or uncompressed.
Make suitable macro entries in the page. The width can be specified as a second argument. Additional optional arguments are described in the Image macro help.
[[DiaVisView(Diagram1.dia)]] [[DiaVisView(Diagram2.vdx, border=5)]]