= 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: * the normal macro form awaits a [TracLinks TracLink] (e.g. `attachment:file.mm`) to a [http://freemind.sourceforge.net/ Freemind] file. * the long form reads and converts a wiki lists into a Freemind mindmap and displays it. See also the similar FreemindMacro. == 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]. == Download == Download the zipped source from [download:mindmapmacro here]. == Source == You can check out MindMapMacro from [http://trac-hacks.org/svn/mindmapmacro here] using Subversion, or [source:mindmapmacro browse the source] with Trac. == Usage == See the [#Example example section]. The following options are supported: width:: Width of mind map (i.e. its flash application). height:: Height of mind map (i.e. its flash application). Percent values will not work. flashvars:: List of flashvars for the flash application separated by "`|`". Possible values are: * startCollapsedToLevel: (Default 5) Level of collapsed mindmap branched. * ... == Example == === Short 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.
}}} === Long Form === {{{ {{{ #!MindMap width=60%,height=400px,flashvars="startCollapsedToLevel=4|someothervar=2" TestMindMap *(position=right,color=#00FF00) A * a * b * e * c *(position=right,color=#00FF00) B * a * b * i * v * c *(position=left,color=#00FF00) C * a * b * c }}} }}} == Recent Changes == [[ChangeLog(mindmapmacro, 3)]] == Author/Contributors == '''Author:''' [wiki:martin_s] [[BR]] '''Maintainer:''' [wiki:martin_s] [[BR]] '''Contributors:'''