[[PageOutline(2-5,Contents,pullout)]] = Draw mind maps using wiki list syntax = == Description == This macro can be used to include [http://en.wikipedia.org/wiki/Mind_map 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: A. the normal macro form awaits a [TracLinks TracLink] (e.g. `attachment:file.mm`) to a [http://freemind.sourceforge.net/ Freemind] file. B. 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. == Usage == === A. Macro Form === {{{ [[MindMap(attachment:file.mm,width=60%,height=400px)]] [[MindMap(source:/dir/file.mm,width=60%,height=400px)]] [[MindMap(,width=60%,height=400px)]] [[MindMap(,width=60%,height=400px)]] }}} {{{ #!html
Result of example code.
}}} === B. Long Form === {{{ {{{ #!MindMap width=60%,height=400px,flashvars="startCollapsedToLevel=4|someothervar=2" TestMindMap *(position=right,color=#00FF00) A * a * b * e * *(position=right,color=#00FF00) B * a * b * i * v * c *(position=left,color=#00FF00) C * a * b * c }}} }}} === Options === 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. || == Install == 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: {{{ #!sh $ sudo easy_install https://trac-hacks.org/svn/extracturlplugin/0.11/ }}} * Plugin: 1. with easy_install: {{{ #!sh $ sudo easy_install https://trac-hacks.org/svn/mindmapmacro/0.11/ }}} 1. '''Enable''' * Update TracIni file (`..../trac.ini`) with: {{{ tracextracturl.* = enabled tracmindmap.* = enabled }}} 1. '''Restart''' web server: {{{ #!sh $ sudo /etc/init.d/apache2 restart }}} == Requirements == * ExtractUrlPlugin * [http://get.adobe.com/flashplayer/ Flash Plugin] v6 or higher * Javascript or [http://www.w3.org/ w3.org] compatible browser (i.e. Internet Explorer with Javascript disabled won't work) == Bugs/Feature Requests == Existing bugs and feature requests for MindMapMacro are [report:9?COMPONENT=MindMapMacro here]. If you have any issues, create a [http://trac-hacks.org/newticket?component=MindMapMacro&owner=martin_s new ticket]. == Source & Download == You can check out MindMapMacro from [http://trac-hacks.org/svn/mindmapmacro here] using Subversion, or [source:mindmapmacro browse the source] with Trac. You can also download the zipped source from [download:mindmapmacro here]. == Recent Changes == [[ChangeLog(mindmapmacro, 3)]] == Author/Contributors == '''Author:''' [wiki:martin_s] [[BR]] '''Maintainer:''' [wiki:martin_s] [[BR]] '''Contributors:'''