MindMap Macro

Last modified by Andreea Popescu on 2021/03/17 21:08

cogDisplays an attached Freemind mindmap using the Freemind applet.
TypeDoc (Velocity Macro)
Category
Developed by

XWiki Development Team

Rating
0 Votes
LicenseGNU Lesser General Public License 2.1

Description

Two things to know:

  • This macro is now deprecated. At the moment it's still available but you'll need to edit your xwiki.cfg configuration file and add xwiki.render.velocity.macrolist=/templates/macros.vm,/templates/deprecatedMacros.vm. The macro can be removed at any time and you're highly recommended to stop using it.
  • There's now a better FreeMind Macro which uses Flash and thus doesn't require any JAR and which is easier to use.

Displays an attached Freemind mindmap using the Freemind applet.

Usage

#mindmap($mapname $width $height)

Parameters definition

NameOptionalAllowed valuesDefault valueDescription
mapnamenoa stringnonename of an attached mindmap file or a URL pointing to a mindmap
widthyesapplet width parameter"100%"width of the displayed mindmap
heightyesapplet height parameter600height of the displayed mindmap

Example

Display VIP support processes mindmap from the Freemind mindmap gallery.

#mindmap("VIP.mm")

You can also check the Sitemap example using the MindMap macro.

Result

mindmap.png

Prerequisites & Installation Instructions

To use this macro you'll need to make sure that the Freemind JAR is available in your WEB-INF/lib directory. If not you'll need to put it there.

This macro uses an Applet to display the mindmap and thus requires the Java Plugin to be installed in your browser.

Tags: mindmap
    

Get Connected