Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Wiki macro for redmine. The macro render graph-image from wiki contents as dot.

Fetching latest commit…

Cannot retrieve the latest commit at this time


Redmine Wiki Graphviz-macro plugin

Redmine Wiki Graphviz-macro plugin will allow Redmine's wiki to render graph image.


  • Add wiki macro {{graphviz}} and {{graphviz_me}}

  • Write wiki page as dot format, and the macros makes it graph image.

{{graphviz}} macro

  • This macro render graph image from other wiki page's content.

  • format={png|jpg}

  • layout={dot|neato|fdp|twopi|circo}

  • target={_blank|any}

  • with_source : Display both image and its source(dot)

  • no_map : Disable clickable map.

  • wiki=page : Link image to specified wiki page.

  • link_to_image : Link image to itself.

  • align=value : Additional attr for IMG.

    e.g.) right, left
  • width=value : Additional attr for IMG.

    It is recommended to use no_map option together.
    e.g.) 100px, 200%
  • height=value : Additional attr for IMG.

    It is recommended to use no_map option together.
    e.g.) 100px, 200%

{{graphviz_me}} macro

  • This macro render graph image from the wiki page which is include this macro.

  • Use this macro *commented out*. If not commented out, renderer fails syntax error.

    // {{graphviz_me()}}
    // {{graphviz_me(option=value)}}
  • options: See graphviz macro.


  • Redmine 0.8.0 RC1 or later.

  • Graphviz and its ruby binding.

    e.g.) RPMs which are installed in my environment.
  • memcached (optional)

Getting the plugin

A copy of the plugin can be downloaded from

Source code: git://


  1. Follow the Redmine plugin installation steps at:

  2. Restart Redmine.


  • If you want to use caching feature for rendered images, must configure your cache_store.

  • This plugin expects the store like ActiveSupport::Cache::MemCacheStore which provides marshaling when set/get the value.

  1. Setup caching environment, like memcached.

  2. Configure cache_store.

    e.g.) config/environments/production.rb
    config.action_controller.perform_caching = true
    config.action_controller.cache_store = :mem_cache_store, "localhost"
  3. Restart Redmine.

  4. Login to Redmine as an Administrator

  5. Setup wiki graphviz-macro settings in the Plugin settings panel


This plugin is licensed under the GNU GPL v2. See COPYRIGHT.txt and GPL.txt for details.

My environment

  • CentOS 5.2

  • ruby-1.8.5-5.el5_2.6

  • memcached-1.2.6-1.el5.rf

  • MySQL-server-5.0.51a-tritonn.1.0.10

  • graphviz-2.22.2-1.el5

  • graphviz-gd-2.22.2-1.el5

  • graphviz-ruby-2.22.2-1.el5

  • mongrel-1.1.5

  • mongrel_cluster-1.0.5

  • redmine-0.8.2

Something went wrong with that request. Please try again.