wiki:TracBlockDiagPlugin

Render 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.

Example 1:

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

The text above will be rendered as follows:

Example 2:

{{{
#!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;
}
}}}

The text above will be rendered as follows:

See also:

Bugs/Feature Requests

Existing bugs and feature requests for TracBlockDiagPlugin are here.

If you have any issues, create a new ticket.

enhancement

1 / 1

task

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 need to install the corresponding Python modules from http://blockdiag.com (Apache licensed), at least on Ubuntu 14.04LTS. Then running easy_install blockdiag and easy_install seqdiag should work to install these modules.

Recent Changes

17624 by rjollos on 2019-12-13 19:38:25
Add classifiers metadata

Fixes #13687.

10913 by iwata0303 on 2011-11-14 07:12:21
10912 by iwata0303 on 2011-11-14 07:11:33
(more)

Author/Contributors

Author: iwata0303
Maintainer: iwata0303
Contributors:

Last modified 10 months ago Last modified on Feb 16, 2022, 5:50:29 PM

Attachments (2)

Download all attachments as: .zip