Embed Gliffy diagrams in wiki pages
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 gliffy.com 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:
The settings are as follows:
|filename||Required||Name of document to edit. If the document doesn't exist, then it will be created.|
|folder||Optional. Default is ROOT||Folder path to place document in. Folder must have been previously created on gliffy.com. The path that the Gliffy API uses is a little funny. All user created folders are under |
|type||Optional. Default is png||Format of image to return. Valid values are: png, jpg, svg, xml|
|size||Optional. Default is M||Size 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.
If you have any issues, create a new ticket.
Download the zipped source from here.
wiki-macrosdirectory. For example:
- Edit your
trac.iniand add a
[gliffy]block with 4 settings:
# example in trac.ini [gliffy] consumer_key = aaaaaaaaa consumer_secret = zzzzzzzzzzzz account_id = 1234 username = email@example.com