Embed Gliffy diagrams in wiki pages


Gliffy logo

This plugin allows you to embed Gliffy diagrams in your Trac wiki pages. Gliffy is an online platform where you can create professional-quality flowcharts, wireframes, UML diagrams and more. The diagram is inlined on the page with an edit link that embeds the Gliffy editor.

When the editor launches, click the "Return to trac" link in the upper right corner to go back to your Trac page. The Gliffy editor will prompt you to save if you have made changes to the diagram.

This plugin requires that you have a account. For API access you may need a paid account.

An example call is as follows: [[GliffyDiagram(Test Doc 2|ROOT/myfolder)]]

Usage is as follows:

[[GliffyDiagram(filename|folder path|type|size)]]

The settings are as follows:

filenameRequiredName of document to edit. If the document doesn't exist, then it will be created.
folderOptional. Default is ROOTFolder path to place document in. Folder must have been previously created on The path that the Gliffy API uses is a little funny. All user created folders are under ROOT/, so if you create a "Work" folder, then the path you should supply would be: ROOT/Work
typeOptional. Default is pngFormat of image to return. Valid values are: png, jpg, svg, xml
sizeOptional. Default is MSize of image to inline. Valid values: T, S, M, L

I haven't tested this with Trac 0.11, so I may need assistance there to make it compatible.

Bugs/Feature Requests

Existing bugs and feature requests for GliffyMacro are here.

If you have any issues, create a new ticket.


0 / 2


0 / 1


Download the zipped source from here.


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


  1. Copy,, and to your wiki-macros directory. For example: /usr/share/trac/wiki-macros
  2. Edit your trac.ini and add a [gliffy] block with 4 settings:
    # example in trac.ini
    consumer_key = aaaaaaaaa
    consumer_secret = zzzzzzzzzzzz
    account_id = 1234
    username =

Recent Changes

16397 by rjollos on 2017-03-25 09:37:00
Remove obsolete "0.9" code
7116 by jcooper on 2009-11-10 00:57:52
initial commit
7115 by jcooper on 2009-11-10 00:53:03
New hack GliffyMacro, created by jcooper


Author: jcooper
Maintainer: James Cooper

Last modified 4 years ago Last modified on Dec 25, 2016, 7:35:07 AM

Attachments (1)

Download all attachments as: .zip