Version 1 (modified by robert_martin, 10 years ago) (diff)

New hack DiaVisViewPlugin, created by robert_martin

DiaVisioView - Renders dia and vdx files

Notice: This plugin is unmaintained and available for adoption.


This has taken the original DiaView and modified it for use with Trac 0.11, and at the same time included support for vdx and compressed files.

It has had very little testing. It has been set up as a separate hack to the original DiaView so as not to break DiaView for Trac < 0.11.

Bugs/Feature Requests

Existing bugs and feature requests for DiaVisViewPlugin are here.

If you have any issues, create a new ticket.


Download the zipped source from [download:diavisviewplugin here].


You can check out DiaVisViewPlugin from here using Subversion, or browse the source with Trac.


To install download the archive, then either $ python install or copy it to the plugins directory of the particular project

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. If a number is given after the filename it will be taken as the width. Please see the main image macro for all the options.


[[DiaVisView(Diagram2.vdx, border=5)]]

Thanks to arkemp for the original.

Recent Changes

15900 by rjollos on 2016-09-16 03:57:34
0.3dev: Make compatible with Trac 1.0

  • Use Pillow rather than PIL
  • Add Pillow to install requirements
  • Make path to Dia binary configurable from trac.ini
  • Allow Dia's output filter to be set in trac.ini
  • Support options for non-png renders
  • Refactor to split a long method somewhat
  • Fix the output html element being <p> instead <a>
  • Move RE compilation out of the macro expansion
  • Do not check width if not needed

Most of the changes provided by jaroslav.benkovsky@…

Refs #12529.

14916 by rjollos on 2015-10-11 20:46:19
0.2dev: Tag build as dev.

Refs #12529.

14915 by rjollos on 2015-10-11 20:44:25
0.2dev: Branch for Trac 1.0 support.

Refs #12529.



Author: robert_martin