Introduction to data trees
TreePad stores data in units named Nodes, which, as you can see from looking at the Tree pane in this manual, are linked together like the leaves of a tree, i.e., joined by branches, all originating from a common root. This tree structure is also seen in a number of programs such as Microsoft's Windows Explorer, with which you are probably familiar.
Each node can contain an article. A TreePad article is similar to a document wich can be edited in a Word Processor. TreePad comes with its own powerful built-in Word Processor which enables you to edit your TreePad articles directly.
Example: The text you are reading now is part of an article, which is contained inside the node TreePad manual.
Note that although trees grow upwards in real life, it will be more convenient to think of our data tree as growing downwards from the root, since this is how TreePad's tree structure (and that of most other data trees) is displayed!
The secret to TreePad's nifty method of easily managing huge amounts of data, is the fact that a tree node can contain many other nodes, which are called 'child nodes' or 'sub nodes'. On demand, these child nodes can be hidden from view or shown.
An example of an expanded subtree:
Clicking on the little minus sign '-' to the left of the tree node 'Creating the tree' will collapse the tree, as shown below:
The other nodes shown in this image, below 'Creating the tree', have titles 'Navigating the tree' and 'Rearranging the tree'.
They are also collapsed, meaning their child nodes are not shown.
The little plus sign to the left of each tree node indicates that these nodes actually contain child nodes. Clicking on the little plus sign '+' will expand the node and show the child nodes.
A node which contains child nodes is also called a subtree.
Summarizing, when a node contains child nodes, you can 'expand' the node by clicking on the little '+' sign to the left of a node. An expanded node will show all of its direct child nodes and can be 'collapsed' by clicking on the little '-' sign to the left of the node.
- The Tree pane part - the node icon (default is a yellow folder), followed by the node title (caption) and dotted lines showing its relationship to other nodes.
- The Article part - the text, diagrams and images attached to the node. The formatting code that tells TreePad to display some parts of the text larger, boldface or a different color are hidden.