Outils pour utilisateurs

Outils du site


issue144:tutoriel2

Ceci est une ancienne révision du document !


I recently took two months off from writing articles, and I focused on other things in my life. When I returned to writing again, I discovered Freeplane had gone through a couple of updates. When Freeplane went from 1.6 to 1.7, bug fixes and cosmetic changes were made, and the interface got new features added. This month, I'm looking at the editor changes made by the programmers. As of this writing, the latest stable version is 1.7.5, and you can download it at https://www.freeplane.org/wiki/index.php/Home. The installation is pretty straightforward, and updates your current version of Freeplane. If you choose to stay with the 1.6 release, the features I discuss this month will not work.

J'ai récemment passé deux mois sans écrire d'articles et je me suis concentré sur d'autres points de ma vie. Quand je me suis remis à écrire, j'ai découvert que Freeplane avait subi quelques mises à jour. Quand Freeplane est passé de la 1.6 à la 1.7, des problèmes ont été résolus et des améliorations cosmétiques ont été faites, et l'interface a reçu de nouvelles fonctionnalités. Ce mois-ci, je vais regarder dans l'éditeur les modifications faites par les développeurs. Au moment où j'écris ceci, la dernière version stable est la 1.7.5, que vous pouvez télécharger depuis https://www.freeplane.org/wiki/index.php/Home.

L'installation est on ne peut plus simple et elle met à jour votre version actuelle de Freeplane. Si vous choisissez de rester avec la version 1.6, les fonctionnalités présentées ce mois-ci ne fonctionneront pas.

Node Aliases You can reference and link nodes together through features already in place, but when a node is on the other side of the map, making these links becomes cumbersome. Node aliases make referencing important nodes easier. Freeplane allows two types of aliases, regular and global. A global alias is directly accessible, while a regular one is not. To create an alias, select the node you want and follow the menus Edit > Node properties > Set node alias. The Alias dialog pops up. In the text box, type a name for the alias. The name must contain at least one letter but can have numbers and underscores too. Spaces are not allowed. Check the Globally accessible checkbox to make the alias global. The OK button saves the settings, and Cancel closes the dialog without any changes.

Alias de nœuds

Vous pouvez référencer et lier des nœuds ensemble par l'intermédiaire de fonctionnalités déjà existantes, mais, quand un nœud est de l'autre côté de la carte, la réalisation de ces liens devient fastidieuse. L'alias de nœud rend plus facile le référencement des nœuds importants. Freeplane permet deux types d'alias, normal et global. Un alias global est directement accessible, alors qu'un alias normal ne l'ai pas.

Pour créer un alias, sélectionnez le nœud que vous voulez et suivez le menu Édition > Propriétés du nœud > Définir un alias pour le nœud. Le dialogue des Alias s'affiche. Dans le champ texte, saisissez un nom pour l'alias. Le nom doit contenir au moins une lettre mais peut avoir aussi des chiffres et des traits de soulignement. Les espaces ne sont pas autorisés. Vérifiez que la case Accessible globalement est cochée pour rendre l'alias global. Le bouton OK sauvegarde le paramétrage et Annuler ferme le dialogue sans modification.

Alias As A Filter Now that you have an alias, you want to use it. You can filter a search or conditional style based on a filter. When creating a condition, you select “alias” from the “criteria” drop-down. The drop-down list for the “object” is a list of aliases in the current map. Since aliases work as a tag for the node, you can have nodes with the same alias name. You can use this as a type descriptor to quickly filter a specific type of node. When filtering by an alias, Freeplane doesn't care whether the alias is global or not.

L'alias comme filtre

Maintenant que nous avons un alias, nous voulons l'utiliser. Vous pouvez filtrer une recherche ou un style conditionnel basé sur un filtre. Quand vous créez une condition, vous sélectionnez « alias » dans la liste déroulante des Critères. La liste déroulante pour l'« objet » est la liste des alias dans la carte actuelle.

Comme les alias fonctionnent comme une étiquette du nœud, vous pouvez avoir plusieurs nœuds avec le même nom d'alias. Vous pouvez utiliser ceci comme un descripteur de type pour filtrer rapidement un type particulier de nœud. Lors du filtrage avec un alias, Freeplane ne tient pas compte si l'alias est global ou non.

Node Paths Now that you have a node alias, you will want to use it for something. In the new release of Freeplane, you can create a path to any node in the map, and the quickest path leads to a global alias. Aliases can help to make the path to a wordy node easier to compile. For the examples, I'm using the branch shown top right. My examples of paths are as internal links, but node paths work in scripts using the node.at function, too. When using paths as links, the pattern is #at(path). To add a link to a node, use the quick keys CTRL+K. You enter the #at() path into the text box. Example 1: #at(/'Elmer'/'This…'/'Team'/'Tina')

The path in this example starts at the root node. The root is denoted by the backslash (/) at the beginning. The backslash also separates the individual nodes. Elmer in single quotes points to the first node from the root. The next node in the path looks for a node that starts with the word This. The ellipses (…) shows the node has more characters after the word quoted. The last two nodes in the path demonstrate referencing a node by text. If you click on the link for a node assigned this path, Tina becomes the active node. Example 2: #at(:~Elmer) This example shows the power of global aliases. Since Elmer is a global alias, we can jump directly to it. The tilde (~) is used to reference aliases, but when a global alias starts the path the colon (:) is added. This path jumps straight to the Elmer node. Example 3a: #at(:~Elmer/'This…'/'Team')

Here we use the global alias Elmer to start a path to another node. The path will activate the Team node. But there is a better way. The node “This is a long node” has an alias of LongNode. We can change the path to example 3b. Example 3b: #at(:~Elmer/~LongNode/'Team') By directly addressing the alias, we don't take any chance on another node containing the text “This” getting in our way. Example 4: #at(:~Elmer/~LongNode/'Team'/~3

In the path, we continue the previous one a bit further. The ~3 at the end selects the third child of the node Team, Paul. These are just a few examples of the use of aliases and node paths. For a more detailed description of node paths, you can click on the link: https://sourceforge.net/p/freeplane/discussion/758437/thread/950530ab/. On the forum page, developer Dimitry Polivaev provides more details.

Other Features If you press an unassigned function key, Freeplane presents a dialog to create a shortcut to a menu. If you don't want this feature, you can check the box ‘Don't ask me again’, and Freeplane will ignore the pressing of unassigned function keys. Besides the checkbox, you can change this option in Tools > Preferences. The keystrokes tab has a checkbox labeled ‘Ignore Unassigned F-keys’. Check the box to ignore the key presses, and uncheck it to get the assignment dialog. Sometimes, when you create a filter, you want to flip the results, meaning you want everything that doesn't match the conditions. Now, you can. In both the search and the conditional formatting dialog, you have a checkbox tagged ‘Deny’. Checking the box creates a filter with everything that doesn't match the filter's condition.

In previous versions, if you wanted to export a branch, you had to copy it to a new map. Now, you can export without creating a new file. After activating the node, select the menus File > Export branch. A ‘save file’ dialog pops up. Browse to the location where you want to create the file. After you choose the file type and give it a name, click the Save button. Finally, the documentation and tutorial maps have been updated to reflect the latest release. A big “Thank you” from me to the programmers for this one. The updated information makes my work a little easier. And there you have it, These are just some of the features and updates found in Freeplane 1.7. For a full list, see the tutorial map included with the update.

issue144/tutoriel2.1557061011.txt.gz · Dernière modification : 2019/05/05 14:56 de d52fr