wiki:GraphvizPlugin

Version 24 (modified by cboos, 8 years ago) (diff)

adding myself as a contributor

Graphviz Plugin

Description

The GraphvizPlugin allows for the inline creation of diagrams for abstract graphs and networks using the Graphviz programs.

Bugs/Feature Requests

Existing bugs and feature requests for GraphvizPlugin are here.

If you have any issues, create a new ticket.

Requirements

The programs from http://www.graphviz.org.

Installation

See source:graphvizplugin/0.10/README.txt for details on installing the plugin on Trac 0.10.

See source:graphvizplugin/0.11/README.txt for details on installing the plugin on Trac 0.11.

After installing, don't forget to enable the plugin in your trac.ini, the usual way:

[components]
...
graphviz.* = enabled
...

Download

Download the zipped source from [download:graphvizplugin here]. Note that this contains everything regarding the Graphviz plugin including tagged releases and branches. The !0.10 directory contains the latest released version of the code for Trac !0.10 and the !0.11 directory contains the latest code for Trac !0.11. If you're only interested in the latest released version of the code, consider using subversion to get the code from http://trac-hacks.org/svn/graphvizplugin/0.11/.

Source

You can check out the source for GraphvizPlugin from Subversion at http://trac-hacks.org/svn/graphvizplugin.

Example

  {{{
  #!graphviz
  digraph G {Hello->World->Graphviz->Rules}
  }}}

would produce an image like:

Sample outout from the graphviz plugin.

Note that you can insert TracLinks like this:

 {{{
  #!graphviz
  digraph G {
    rankdir = "LR"
    GraphvizPlugin [ URL=GraphvizPlugin ]
    Trac [ 
      URL="http://trac.edgewall.org/"   
      fontcolor=red
    ]
    GraphvizPlugin -> Trac
    }
  }}}

This produces an image like this, but with the nodes are clickable, unlike here:

second example, this time with colour and TracLinks

Recent Changes

15729 by rjollos on 2016-08-23 03:28:12
1.0.0.8: Tag version 1.0.0.8 and bump trunk to 1.0.0.9dev

Fixes #12846.

15697 by rjollos on 2016-08-12 06:40:59
1.0.0.8dev: Fix error building egg

Fixes #12842.

15694 by rjollos on 2016-08-11 00:34:21
1.0.0.8dev: Delete tag_svn_revision from setup.cfg

The attribute isn't supported in setuptool >= 10.

(more)

Author/Contributors

Author: pkropf
Contributors: cboos

TagIt(plugin,pkropf,beta,0.9)?

Attachments (4)

Download all attachments as: .zip