5.   Tree Operations

<< Previous Table of Contents   |   Detailed Index Next >>
1. Order tree-nodes by name

Click < Tree Settings > in the tree toolbar. In the popup, click Call Tree nodes sorting → By Name

Alternatively, you can use the pull-down menu Tree → Settings...

2. Order tree nodes by call-occurrence

Click in the tree toolbar. In the popup, click Call Tree nodes sorting → By Occurrence → Show All Occurrences

To order by the first call of a function and hide its other calls, click <Show First Occurrence> in the above.

3. Show library functions,
undefined functions etc
Click In the popup, turn the desired item On or Off.
4. Expand the whole tree

To fully expand the sub-tree under the current node,

Right click anywhere in the Tree window; Click < Expand Full >

      Expand once

To keep the tree compact, tree nodes which have been expanded once are not expanded again.

-   Click in the tree toolbar. Turn < Expand Once > ON.

5. Node Prefixes

-   P - indicates that the node is a pointer to a function.

-   L - indicates that it is a library function/library file.

-   A - indicates that this function was assigned to the pointer-to-function or used to initialize a pointer to
           function in a declaration

-   * - indicates that the function is recursive

-   X - indicates that the function is declared but not defined.

-   ? - indicates that the function is neither declared nor defined

6. Go to function-call

A single click on a node in the Call-Tree:

-   moves the cursor to the first call of the function after the current cursor position.

-   Subsequent clicks will move the cursor to the next call of the function in the current function

7. Go to function-definition In a Call-tree or Caller Tree, double click on a node to go to the definition of that function.
8. Type information of current node

To view the prototype (or the full declaration) of the function in the current node,

Right click anywhere in the tree window. Click < Type Information > in the popup menu.

9. Search in tree  
      Using the Search box in the search
    toolbar

With the Tree window active, use the drop-down list in the Search Panel in the main tool bar.
It will show all the functions names in the tree.

-   Enter a first few characters of the desired function.

-   When the desired function is visible in the list, double click and enter it in the search panel.

-   Press the enter key.

      Using the Search icons in the main
    toolbar

Click to go to the next occurrence of the current node in the tree.

Click to go to the previous occurrence of the current node in the tree.

10. View call-sequence

a) Call-path from the root to the current node.

b) Call-paths from root to all occurrences of the current node.

      Call-sequence to current node Right-click, then click < Show Path >.
      View all call-sequences Right-click, then click < Show All Paths >.
      Show whole tree
    (call-sequence nodes are highlighted)

After viewing a call-sequence,

-   To view the whole tree again, right-click, then click <Show Whole Tree>

-   To turn Off highlighting of the sequence-nodes, right-click, then click <Unmark Path>

11. Navigating in the tree  
      Use the Home key, Arrow keys

Press to view the root of a fairly long tree

Press to move downwards at the same level or to the child-node

Press to move upwards at the same level or to the parent node

Press to expand the sub-tree of the current node and move to it's first child.

Press to collapse the current sub-tree and go to the parent of the current node.

Also try the + , + and the + key combinations.

      Go to parent node Click in the toolbar or press the + key combination.
      Go back to previous / Go to next

-   Click in the tree. Alternately, you can press + key combinations. When you click this icon      repeatedly, you will reach the first node that was visited.

-   Click in the tree. Alternately, you can press + key combinations. When you click this      icon repeatedly, you will reach the last node visited.

12. Mark / hide  
      Marking and unmarking nodes

To mark a node: Select the node by clicking it; Click in the toolbar

To unmark a node: Select the node by clicking it; Right click, then click < Unmark >

      Go to a marked node up/down Click or to go upward or downward to a marked node.
      Hiding and unhiding nodes

To hide an insignificant node,

-   Select the node you wish to hide. Click on in the toolbar

To unhide a hidden node,

-   Click on the toolbar and select the node you wish to unhide Click on in the toolbar

13. Tree Settings Click on in the toolbar to change the settings. For details, refer to Help.
14. Tree Appearance Click Tree → Appearance to customize the look and appearance of the flowchart
15. Customize the Tree Window To customize the fonts, font-size, toolbar position, etc,   Click Tree → Customize.
16. Export Tree  
      Export as .jpg, .bmp or .html

To Export a part of the tree as a Bitmap:

-   Select the part of the flowchart to be exported by drag and select.

-   In the flowchart window, click Tree → Export Tree Image → Selected
 

To Export a tree as a Bitmap:

-   In the flowchart window, click Tree → Export Tree Image → Whole.

      Export as a .txt file

To Export a tree as a text file:

-   In the tree window, click Tree → Export Tree Image → Whole.

-   After specifying the filename, in the Export Image As dialog, select the Files of type → to TXT files, and,     then click < Export >

17. Create flowchart of the current node -   Click on the Tree toolbar
18. Create CallFlow of the current node -   Click on the Tree toolbar
<< Previous Table of Contents   |   Detailed Index Next >>