TracBlockdiag 0.2.1

Integrate blockdiag series into Trac wiki

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!

What's new in TracBlockdiag 0.2.1:

  • Fix issue on setup from PyPI
Read full changelog
send us
an update
LICENSE TYPE:
MIT/X Consortium License 
USER RATING:
UNRATED
  0.0/5
DEVELOPED BY:
Yoshihisa Tanaka
HOMEPAGE:
github.com
CATEGORY:
ROOT \ Internet \ HTTP (WWW)
TracBlockdiag is a Trac plugin that integrate blockdiag series into wiki pages. It's provide wiki macros for blockdiag, seqdiag, actdiag, nwdiag and rackdiag.

This software is available under the MIT license.

Install

First, clone the repository.

 git clone https://github.com/yosisa/TracBlockdiag.git
 cd TracBlockdiag


Then, you can install globally

 python setup.py install

or install to a specific Trac environment.

 python setup.py bdist_egg
 cp dist/*.egg /path/to/tracenv/plugins

Moreover, you must install blockdiag series which you want to integrate. For example, below command will install all blockdiag series (rackdiag is currently included in nwdiag).

 pip install blockdiag seqdiag actdiag nwdiag

Optionally, you can use blockdiag plugins. If you need a plugin, you simply install it. For example, below command will install new shapes.

 pip install blockdiagcontrib-cisco

Usage

If you are not familiar with blockdiag, you should read the blockdiag documentation first.

for Trac 0.12 or later

Macro synopsis like this:

{{{#!(block|seq|act|nw|rack)diag [type=(png|svg)] [IMG_TAG_ATTR=VALUE ...]
*DIAG_SOURCE_TEXT
}}}


You can write blockdiag source text as a wiki macro like below.

{{{#!blockdiag
{
 A -> B -> C;
 B -> D;
}
}}}


You can specify output format and width.

{{{#!blockdiag type=svg width=800px
{
 A -> B -> C;
 B -> D;
}
}}}

for Trac 0.11

Macro synopsis like this:

{{{
#!(block|seq|act|nw|rack)diag
*DIAG_SOURCE_TEXT
}}}

Last updated on February 28th, 2012

feature list requirements

#Trac plugin #integrate blockdiag #Trac #Blockdiag #plugin #wiki

Add your review!

SUBMIT