Node styles

From Freeplane - free mind mapping and knowledge management software
Revision as of 21:19, 5 June 2011 by Ldmpub (talk | contribs) (add new pre-defined styles)

The style defines the appearence of node: colors, shape and font of node, edges and clouds; style can also add icons to node. Each node can be formated accordingly to a style.

Introducing styles

Freeplane provides default styles and user can add his own styles. Since Freeplane release 1.2, styles allow to:

  1. change node formats quickly through a new formatting panel (use "View->Properties panel->Format tab" to display/hide the panel, screen capture:Media:Formating_Panel.png)
  2. change node style by choosing a style among styles list (use the combo "style" in Freeplane's main toolbar, screen capture:Media:Styles_-_Combo.png)
  3. define you own styles through a styles editor (use "Styles->Edit styles ...", screen capture:Media:Styles_Editor.png).

Originally each node has the "default" style. Node can be assigned another appearence with solution 1 or 2 described above. If automatic layout is on, the node is assigned the style corresponding to its level in the map. It's also possible to automaticly format node using Conditional node styles.

Changing style of a node

Changing the style automatically apply, to all selected nodes, the style formats. The node style can be changed:

  • by selecting a style name in the toolbar styles list.


Create a style from the mind map editor

  • select a node, then go to menu "Styles->Create new style from selection", enter new style name. Result: a new style is immediatly available through the combo "style" in Freeplane's main toolbar and can now be applied to other nodes.


Managing styles with the styles editor

To manage styles you need first to open the styles editor:

  • menu "Styles->Edit styles". Result: a map containing all styles is displayed.

There you can modify all defined styles : either styles provided by default with Freeplane, or add/change your own styles. Note that's its allowed to remove default freeplane's styles.

To add your own style:

  • in the styles editor, choose the style with the nearest format of the style you want to create, right click on this style, select in the contextual menu "Save as new style...", enter new style name. Result: a new style is added and appears in the user's styles branch.

You can now fully define the style with the formatting panel. Close the style editor. Your new style is available for immediate use in toolbar's style list. Tip : you can also create a new style from a main map's node with the command "Styles->New style from selection".

To rename a user style:

  • in the styles editor, select you style, right click, select in the contextual menu "Save as new style...", enter the new name you want, remove the old style entry.

To change the display order of styles in the main toolbar styles list:

  • in the styles editor, move up / down branchs or styles.


Pre-defined styles

Some predefined styles are available in Freeplane. You can either use them "as they are" or change them as it's convient for you. Two pre-defined styles named "Details" and "Notes" have a particular behaviour because they are used to format Node Details and Node Notes :

  • Font and colors of node details is controlled by style "Details"
  • Font of notes (not the color) is controlled by style "Notes".

Other style features

  • menu "Styles->copy styles..." imports, in the current map, styles from an other mindmap.
  • menu "Styles->Redefine style" redefine node style based on current node formats. It changes formats of all nodes using this style.