wiki:TracBlockDiagPlugin

Embed blockdiag diagrams into Trac wiki pages

Description

This plugin allows you to embed blockdiag diagrams into Trac wiki pages.

blockdiag and seqdiag is a powerful utility to generate diagrams from simple text format. For some examples, see below.

A fork of the plugin can be found here, and may be more up-to-date.

Bugs/Feature Requests

Existing bugs and feature requests for TracBlockDiagPlugin are here.

If you have any issues, create a new ticket.

enhancement

1 / 1

Download

Download the zipped source from here.

There is also a version on PyPi.

Source

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

Installation

General instructions on installing Trac plugins can be found on the TracPlugins page.

You may (at least on Ubuntu 14.04LTS) need to install the corresponding Python modules from http://blockdiag.com. Then running easy_install blockdiag and easy_install seqdiag should work to install these modules.

Example

This text will be rendered like below:

{{{
#!blockdiag(type=png)
{
   A -> B -> C;
        B -> D;
}
}}}

This text will be rendered like below:

{{{
#!seqdiag(type=png)
{
  browser  -> webserver [label = "GET /index.html"];
  browser <-- webserver;

  browser  -> webserver [label = "POST /blog/comment"];
              webserver  -> database [label = "INSERT comment"];
              webserver <-- database;
  browser <-- webserver;
}
}}}

Recent Changes

10913 by iwata0303 on 2011-11-14 08:12:21
10912 by iwata0303 on 2011-11-14 08:11:33
10911 by iwata0303 on 2011-11-14 08:10:16
(more)

Author/Contributors

Author: iwata0303
Maintainer: iwata0303
Contributors:

Last modified 8 weeks ago Last modified on Jul 3, 2016, 9:57:07 AM

Attachments (2)

Download all attachments as: .zip