Help - Document window
A document window in TreeGraph 2 is splitted into two parts. The left part displays an opened tree as it looks like when its exported to a graphic and allows you to select document elements with the mouse. The right part is a table that lists all node/branch data contained in the document.
Document windows are MDI-child windows and therefore are contained in the TreeGraph 2 main window. They can be arranged and accessed with the Window menu or the Next- and Previous-buttons in the tool bar.
|This article describes this feature for the latest version of TreeGraph 2. For older versions the following articles are available:|
Document window (until 2.0.23)
On the left and the upper side of each document window you will find a ruler which displays the size of the document in centimeters or inches. Accordingly the scale of the rulers changes with the zoom factor.
You can change the units of the rulers by clicking in the upper left corner of the window (between the two rulers). The following two units systems are available:
|Label in the upper left corner||Long dashes (labeled)||Medium dashes||Short dashes|
||1 centimeter (= 0.01 m)||5 millimeters (= 0.5 cm)||1 millimeter (= 0.1 cm)|
||1 Inch (anglo-Saxon compromise inch of 1959 = 0.0254 m)||1 pica (= 1/6 inch)||1 point (desk-top publishing point = 1/12 pica = 1/72 inch)|
If the document does not fit to the size of its window you will have to scroll to different parts of your tree. You can do that by using the scroll bars, the mouse wheel (for vertical scrolling only), the keyboard or the preview scroller which is located in the bottom right corner of the document window (see image on the right).
To use the preview scroller move the mouse over it and than hold the primary mouse button (usually the left one). Now a thumbnail of your document is displayed with a highlighted rectangle inside showing the currently visible part of the document and which elements are currently selected. While holding the mouse button you can move the visible rectangle. If you release the mouse button somewhere the part of the document in the visible rectangle will be displayed.
You can zoom in and out by holding the control-key and moving the mouse wheel. Furthermore there are special zoom functions described in the Zoom-article.
You can select tree elements with the mouse. If a node, branch or label is selected you can use the cursor keys to navigate through the tree. Branches can be reached from the nodes they are connected to, labels from the branches they are attached to and sibling nodes from other nodes. Additionally you directly navigate to the next or previous terminal node using Shift + Up or Shift + Down.
The table in the right part of a document window lists all node/branch data columns of the document. If you click on a line in this table the according node is selected in the tree on the left.
Besides using the scroll bars you can also scroll through the table with the preview scroller in the bottom right corner which is working in the same way as described above for the tree view.
Available node/branch data columns
- Unique node names (not editable)
- Node names
- Branch lengths (only decimal values)
- One column for each text label ID present in the document
- One column for each hidden node data ID present in the document
- One column for each hidden branch data ID present in the document
Behind each node/branch data column is another column with check boxes which allows you to specify if the value in the according line shall be stored as a string or a numeric value if possible. You can also change the data type of whole column in one step using the edit menu.
See Editing node/branch data for details on working with the node/branch data table.