Difference between revisions of "Clones nodes"

From Freeplane - free mind mapping and knowledge management software
Line 4: Line 4:
 
The '''Nodes Clones''' feature allows to make ''multiple clones'' of a node inside a map.
 
The '''Nodes Clones''' feature allows to make ''multiple clones'' of a node inside a map.
  
Take this like having ''one-same-node'' appearing in ''multiple places'' of the map - its always the ''same node'', but appears '''cloned''' in those multiple places. If you change any of the clones, all the other clones will also change. Like one same node, '''cloned''' in multiple places.
+
Take this like having ''one-same-node'' appearing in ''multiple places'' on the map - its always the ''same node'', but appears '''cloned''' in multiple places. If you change any of the clones, all the other clones will also change. Like one same node, '''cloned''' in multiple places. There is no difference between cloned-nodes, all represent one and the same.
  
 
Cloned nodes are marked with a small-rectangle in the left-side, and work inside of one-same map (inter-map clones are not possible)
 
Cloned nodes are marked with a small-rectangle in the left-side, and work inside of one-same map (inter-map clones are not possible)

Revision as of 12:59, 17 May 2016


The Nodes Clones feature allows to make multiple clones of a node inside a map.

Take this like having one-same-node appearing in multiple places on the map - its always the same node, but appears cloned in multiple places. If you change any of the clones, all the other clones will also change. Like one same node, cloned in multiple places. There is no difference between cloned-nodes, all represent one and the same.

Cloned nodes are marked with a small-rectangle in the left-side, and work inside of one-same map (inter-map clones are not possible)

Cloned nodes were introduced in freeplane 1.5

Please help maintain this info up-to-date - if you see an improvement please contribute to this wiki, or tell about it in this forum thread: https://sourceforge.net/p/freeplane/discussion/758437/thread/4d85148b/


How to clone a node

It is like copy/paste, only that you do Paste Clone [Ctrl-D] (instead of paste [Ctrl-V])

Quick-resume: how to clone a node

  • select node to clone
  • Edit/Copy/Copy [Ctrl-C]
  • select destination, where to put the clone
  • Edit/Paste Clone [Ctrl-D]
    • Notice that cloned-nodes are marked with a small-rectangle
  • Select any cloned-node, and change it
    • Notice that when one clone is changed, all clones of it also change
  • Select any cloned-node, right-click in it, Goto
    • Notice the list of other related cloned-nodes, to where you can "Goto"

https://youtu.be/u-Dt_vy38xI



Unclone a node

If you have a cloned-node that you want to simply make it a copied node (and not a clone anymore, just a copy), then you can unclone the node.


Quick-resume: how to unclone a node

  • select node to unclone
  • Edit/Unclone

https://youtu.be/14vKGcVeMPg


Subtree: how to clone a node with or without cloning its subtree =

When a node is cloned, its subtree is also cloned along, by default. However, there is an option to only 'clone a single node without cloning its subtree


Quick-resume: how to clone a single node without subtree

  • select node to be cloned (without subtree)
  • Edit/Copy/Copy node (single) [Ctrl + Shift + C]
    • Notice that to clone-with-subtree we use Edit/Copy/Copy, but to

clone-without-subtree we use Edit/Copy/Copy node (single)

  • select destination, where to put the clone
  • Edit/Paste Clone [Ctrl-D]
    • Notice that only the single node was cloned, and not its subtree

https://youtu.be/6V2QOjIDkp4


Connectors inside a cloned-subtree are cloned

  • Connectors that are "inside" of a cloned-subtree are cloned
  • Connecters that go "outside" of a cloned-subtree are not cloned


https://youtu.be/TMRvpIyjhXM



Scripting API related to clones

All cloned-nodes share the same content (text, style, etc..). But, each freeplane node (even cloned-nodes) have an unique NODE_ID.

For more info about Scripting Api and cloned-nodes, see http://freeplane.sourceforge.net/wiki/index.php/Scripting:_API_Changes