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.

The following input methods are supported:

  1. the normal macro form expects a TracLink to a Freemind file, for example
  2. the long form reads and converts a wiki lists into a Freemind mindmap and displays it.

See also: FreemindMacro


1. 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)]]

2. Long Form

{{{#!MindMap width="60%" height="400px" flashvars="startCollapsedToLevel=4|someothervar=2"

 *(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

This will produce an image similar to the following:

Resulting example


The following options are supported:

Options Description Default value
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: not implemented yet blank
someothervar: some other variable FreeMind allows N.A.

Bugs/Feature Requests

Existing bugs and feature requests for MindMapMacro are here.

If you have any issues, create a new ticket.


5 / 6


0 / 1


You can download the zipped source from here.

The plugin is also available on PyPI.


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


General instructions on installing Trac plugins can be found on the TracPlugins page.


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 Scharrer

Last modified 11 days ago Last modified on Apr 14, 2018, 10:00:29 PM

Attachments (1)

Download all attachments as: .zip