Manipulate the Tree Elements
A decision tree tool must let you edit the tree freely. You may need to cut, copy, and paste nodes, copy a subtree, replace one node with another subtree, insert a decision or chance node between two connected nodes, or delete part of the model. Decision Tree Pro supports these common editing operations.
Decision Tree Pro supports the following tree manipulations:
- Vertical position arrangement
- Convert to decision node or chance node
- Cut, copy, and paste a node
- Replace a node with a copied node or subtree
- Delete a node or children
- Insert a node
Vertical Position Arrangement
Suppose you have created a tree like this.

To rearrange the vertical position of options, drag a node up or down.

After you release the mouse, the tree is rearranged.


Convert to Decision Node or Chance Node
Select a chance node and right-click it to open the context menu. You will see the option "Convert to Decision Node".

After you choose that menu item, the chance node is converted to a decision node.

You can also convert a decision node to a chance node. Select the decision node, right-click it, and choose "Convert to Chance Node".


Cut, Copy, and Paste a Node
Select a node and use the context menu, or press Ctrl+C, to copy it. For example, start with the tree below.

Select the chance node and choose Copy from the context menu.

Now select the option node "Invest in the stock market" and paste the copied node.

After pasting, the tree looks like this.

You can also cut a node or subtree and paste it over another node.

Replace a Node with a Copied Node or Subtree
You can copy a node and replace another node with that copied node and its subtree. Consider the following tree.

Suppose you want to replace node B with node A. Copy node A, select node B, and choose "Replace" from the context menu.

After replacement, the tree looks like this.

You can even replace the root node with a copied node. For example, suppose you copied a decision node that has "Buy a plane" and "Invest in business" as children. Select the root node and replace it.

Select the root node, right-click it, and choose "Replace".

After clicking "Replace", the tree becomes this.


Delete a Node or Delete Children
The context menu for a node includes Delete. You can also press the Delete key to delete the selected node.
If the selected node has children, you can choose "Delete Children" to remove only its child nodes.

After choosing this option, the tree becomes this.


Insert a Node
Sometimes you realize that another decision or uncertainty belongs between two existing nodes. The Insert feature lets you add a decision node, chance node, or parallel node between connected nodes.
Suppose you have a tree like this.

Now suppose you realize that when the car breaks down, there are two uncertain scenarios: "Cell phone has network" and "No cell phone network". You can call a mechanic or dealership only if the cell phone has a network signal. To insert a chance node after "Car breaks down", select that node and right-click to open the context menu.

You can also insert a node by selecting a decision node, as shown below.

