Version 14 (modified by Ryan J Ollos, 5 years ago) (diff)

Fix attachment link after upgrade to Trac 1.0

Draw mind maps using wiki list syntax


This macro can be used to include mind maps into wiki pages and other wiki-enabled Trac elements. The mind maps are displayed using a flash application.

Two input methods are supported:

  1. the normal macro form awaits a TracLink (e.g. to a Freemind file.
  2. the long form reads and converts a wiki lists into a Freemind mindmap and displays it.

This version was written for Trac 0.11 and also works for 0.12.

See also the similar FreemindMacro.


A. Macro Form



[[MindMap(<any other TracLink>,width=60%,height=400px)]]

[[MindMap(<anything else which returns a link inside a Trac Wiki>,width=60%,height=400px)]]
Result of example code.

B. Long Form


 *(position=right,color=#00FF00) A
  * a
   * b
   * e
  * <html><img src="">
 *(position=right,color=#00FF00) B
  * a
  * b
   * i
   * v
  * c
 *(position=left,color=#00FF00) C
  * a
  * b
  * c


The following options are supported:

Options Descrição Default
width Width of FreeMind window. [%] 100%
height Height of FreeMind window. [px] 600px
border Draws (1) a border arround FreeMind window as defined at CSS's border: section. Do not draw (0). [0,1] 0
flashvars List of flashvars for the flash application separated by "|"
Possible values are:
startCollapsedToLevel Level of collapsed mindmap branched 5
openUrl T.B.D. blank
someothervar Some other variable FreeMind allows N.A.


Generic installation guidelines are troubleshooting can be found at TracPlugins.

Steps to install and configure this plugin are:

  1. Install
    • Dependencies:
      1. ExtractUrlPlugin. Install globally with:
        $ sudo easy_install
    • Plugin:
      1. with easy_install:
        $ sudo easy_install
  2. Enable
    • Update TracIni file (..../trac.ini) with:
      tracextracturl.* = enabled
      tracmindmap.* = enabled
  3. Restart web server:
    $ sudo /etc/init.d/apache2 restart


Bugs/Feature Requests

Existing bugs and feature requests for MindMapMacro are here.

If you have any issues, create a new ticket.

Source & Download

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

You can also download the zipped source from [download:mindmapmacro here].

Recent Changes

17116 by rjollos on 2018-04-13 00:16:00
TracMindMapMacro 1.2.0dev: Fix some parsing errors

Conform to PEP8 and refactor code.

17108 by rjollos on 2018-04-10 21:55:44
TracMindMapMacro 1.2.0dev: Add dependency link for TracExractUrl
16368 by rjollos on 2017-03-23 00:49:19
Fix _get_tables not working with MySQL


Author: martin_s
Maintainer: martin_s

Attachments (1)

Download all attachments as: .zip