Difference between revisions of "Node styles"
m |
(→Introducing styles) |
||
(9 intermediate revisions by 3 users not shown) | |||
Line 7: | Line 7: | ||
Freeplane provides default styles and user can add his own styles. Since Freeplane release 1.2, styles allow to: | Freeplane provides default styles and user can add his own styles. Since Freeplane release 1.2, styles allow to: | ||
− | #change node formats quickly through | + | #change node formats quickly through the Tool panel (use "View→Controls→Tool Panel" to display/hide the panel on the right, screen capture (a bit outdated):[[File:Formating_Panel.png|frameless|150px]]) |
− | #change node style by choosing a style among styles list (use the combo "style" in Freeplane's main toolbar, screen capture:[[ | + | #change node style by choosing a style among styles list (use the combo "style" in Freeplane's main toolbar, screen capture:[[File:Styles_-_Combo.png|frameless|150px]]) |
− | #define you own styles through a styles editor (use "Styles | + | #define you own styles through a styles editor (use "Styles→Edit styles ...", screen capture:[[File:Styles_Editor.png|frameless|150px]]). <span id="1290893870091E" style="display: none;"> </span> |
− | Originally each node has the "default" style. Node can be assigned another | + | Originally each node has the "default" style. Node can be assigned another appearance 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]]. |
+ | |||
+ | Styles are saved in the map itself. The default styles for new maps are defined by the '''[[Map_templates|map template]]''' which can be edited like any other map. | ||
== Changing style of a node == | == Changing style of a node == | ||
− | Changing the style automatically | + | Changing the style automatically applies to all selected nodes. The node style can be changed: |
+ | |||
+ | # by selecting a style name in the toolbar styles list or | ||
+ | # by changing selected style parameters. | ||
+ | |||
+ | While the first variant applies a defined style the latter creates an individual style of a node. | ||
− | + | The following style parameters require further explanation: | |
+ | ===Format=== | ||
+ | Formats allows to apply a special data format, e.g. a special or number date format. If for instance a date has the standard format 28/12/2012 it can be reformatted as 12/28/2012 by applying the format mm/dd/yyyy to the node. See [[Data recognition and data formats]] for details. | ||
+ | Another application of the format is to define text templates, such as a prefix like "Beware: ". In text templates "%s" represent the original node text like in "Beware: %s". | ||
+ | By setting format to "Text" you switch all formatting off. | ||
== Create a style from the mind map editor == | == Create a style from the mind map editor == | ||
− | *select a node, then go to menu "Styles | + | *select a node, then go to menu "Styles→Create new style from selection", enter new style name. Result: a new style is immediately available through the combo "style" in Freeplane's main toolbar and can now be applied to other nodes. |
Line 30: | Line 41: | ||
'''To manage styles you need first to open the styles editor:''' | '''To manage styles you need first to open the styles editor:''' | ||
− | *menu "Styles | + | *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.<br> | 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.<br> | ||
Line 38: | Line 49: | ||
*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. | *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 | + | 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: '''<br> | '''To rename a user style: '''<br> | ||
Line 47: | Line 58: | ||
*in the styles editor, move up / down branchs or styles.<br> | *in the styles editor, move up / down branchs or styles.<br> | ||
− | |||
== Pre-defined styles == | == Pre-defined styles == | ||
Line 56: | Line 66: | ||
== Other style features == | == Other style features == | ||
− | *menu "Styles | + | *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. | ||
+ | |||
+ | |||
+ | == See also == | ||
− | + | [[Map templates]] | |
<br> | <br> | ||
− | [[Category: | + | [[Category:Documentation]] |
Latest revision as of 20:21, 18 August 2019
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.
Contents
Introducing styles
Freeplane provides default styles and user can add his own styles. Since Freeplane release 1.2, styles allow to:
- change node formats quickly through the Tool panel (use "View→Controls→Tool Panel" to display/hide the panel on the right, screen capture (a bit outdated):)
- change node style by choosing a style among styles list (use the combo "style" in Freeplane's main toolbar, screen capture:)
- define you own styles through a styles editor (use "Styles→Edit styles ...", screen capture:).
Originally each node has the "default" style. Node can be assigned another appearance 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.
Styles are saved in the map itself. The default styles for new maps are defined by the map template which can be edited like any other map.
Changing style of a node
Changing the style automatically applies to all selected nodes. The node style can be changed:
- by selecting a style name in the toolbar styles list or
- by changing selected style parameters.
While the first variant applies a defined style the latter creates an individual style of a node.
The following style parameters require further explanation:
Format
Formats allows to apply a special data format, e.g. a special or number date format. If for instance a date has the standard format 28/12/2012 it can be reformatted as 12/28/2012 by applying the format mm/dd/yyyy to the node. See Data recognition and data formats for details.
Another application of the format is to define text templates, such as a prefix like "Beware: ". In text templates "%s" represent the original node text like in "Beware: %s".
By setting format to "Text" you switch all formatting off.
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 immediately 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.
See also