|
This article describes this feature for TreeGraph 2.0.23 or (not necessaryly all) earlier versions. See here for the article on the latest version and a list on other available article versions.
|
The main menu is the major way to access all functions of TreeGraph 2. (Note that most functions can also be accessed by the tool bar, the context menu or a keyboard shortcut.)
An option followed by "..." means that a dialog will be displayed which asks you for further parameters for this function (e.g. Save as...). Other options do not need further parameters (e.g. Select all).
The file menu contains all options related to opening and saving of tree files and graphic files.
Option: |
Function: |
New |
Creates a new (unsaved) tree document and opens it in the editor. |
Open... |
Displays a dialog to open a tree file. This option can either be used to open a TreeGraph 2-document (*.xtg) or to import a document in another tree format (e.g. Nexus). (See Open files for details.) |
Save |
Saves the tree file which is currently focused. If this file has just been created you will be asked to specify a file name (same as Save as..). |
Save as... |
Displays a dialog to save the tree file which is currently focused at a new position. |
Close |
Saves the tree file which is currently focused. If that file is unsaved you will be asked whether to save recent changes. |
Export to graphic/PDF... |
Allows you to export the tree in the currently focused file to a graphic file or a PDF. (See Exporting trees as graphics for details.) |
Export to Newick/Nexus... |
Allows you to export the tree in the currently focused file to a Newick or Nexus tree file. (See Exporting trees as Newick/Nexus files for details.) |
Add support values... |
Allows you to import additional node/branch data (e.g. support values) from another tree file into the currently focused tree. (See Adding support values for details.) |
Exit |
Terminates TreeGraph 2. (You will be asked whether to save open tree files.) |
The options of this menu allow you to select different parts of the currently focused tree. All options can be combined, i.e. all elements selected by an option of this menu are added to previous selection. (See Selecting elements for details on the options describes here.)
Option: |
Function: |
Select all |
Selects all elements in the tree (including all legends and the scale bar if present). |
Select subtree(s) |
Selects all elements in the subtree(s) under the currently selected elements (not including any legends). |
Search text... |
Selects all text elements which contain a certain text. (See Search text for details. This option is also contained in the Edit menu.) |
Select this type(s) in document |
Selects all elements in the whole document which have the same type as the currently selected elements. |
Select this type(s) in subtree(s) |
Selects all elements in the subtree(s) under the previously selected elements which have the same type as the respective selected root elements. |
Select leafs in document |
Selects all leaf-nodes of the tree. |
Select leafs in subtree(s) |
Selects all leaf-nodes that are contained in one of the subtrees under the currently selected elements. |
Select labels with this ID |
Selects all labels that have the same ID as one of the currently selected labels. |
Select labels in subtree(s) |
Selects all labels that are contained in one of the subtrees under the currently selected elements. |
Select all legends |
Selects all legends in the document. |
Select legends with the same position index |
Selects only such legends that have the same position index as the currently selected legend(s). (See the Legend article to find out what the position index is.) |
This menu contains all options that manipulate the structure of a TreeGraph document like adding, deleting, moving document elements or changing the contents of any node/branch data.
Undo/Redo
Option: |
Function: |
Undo |
Lists the last operations that have been performed on this document and allows you to undo them. (The selected operation and all operations that were performed afterwards are undone.) |
Redo |
Lists the last operations that have been undone and allows you to redo them. (The selected operation and all operations that were performed before are redone.) |
Insert/ copy/ delete
Add elements
Option: |
Function: |
New node |
Inserts a new node at the selected position. (See Inserting nodes for details.) |
New text label... |
Adds a new text label to the currently selected branch. |
New legend |
Inserts a new legend into the document which is anchored at the currently selected node(s). (See Anchoring legends for details.) |
Changing the global tree structure
Option: |
Function: |
Move subtree up |
Moves the currently selected node (including its subtree) upwards. (See Moving nodes for details.) |
Move subtree down |
Moves the currently selected node (including its subtree) downwards. (See Moving nodes for details.) |
Ladderize up |
Sorts all nodes in the subtree of the currently selected node by the number of leafs contained in their subtrees. (See Ladderizing for details.) |
Ladderize down |
Sorts all nodes in the subtree of the currently selected node by the number of leafs contained in their subtrees. (See Ladderizing for details.) |
Root here |
Reroots the tree at the currently selected position. (See Rerooting for details.) |
Changing the local tree structure
Delete subelements |
Deletes all subtrees under the currently selected node so that the selected node becomes a leaf.(See Deleting subelements for details.) |
Collapse node |
Deletes the currently selected node and adds all its child nodes to its parent node. (See Collapsing nodes for details.) |
Separate branch |
Separates the currently selected branch into to branches which are separated by a new node. (See Separating branches for details.) |
Changing text and ID elements
Node/branch data
Option: |
Function: |
Search text... |
Selects all text elements which contain a certain text. (See Search text for details. This option is also contained in the Select menu.) |
Replace text in node/branch data... |
Replaces a text in a column of node/branch data. (See Replace text in node/branch data for details. This option is also available in the "Edit branch/node data"-dialog.) |
Edit branch/node data... |
Opens the "Edit branch/node data"-dialog which displays the data of the tree in a table and allows you to edit the data columns. This option is a key feature of TreeGraph 2 which allows a very efficient management of node/branch data. (See Old:Edit node/branch data for details.) |
Apply name table to node data... |
Allows you to translate a node/branch data column with a table (e.g. to transform lab codes to real taxon names). (See Applying name tables for details. This option is also available in the "Edit branch/node data"-dialog.) |
This menu contains all functionalities to change the formats of tree elements (e.g. color, line width, font etc.).
Options contained here allow you to change the view on the tree document.
Option: |
Function: |
Zoom to original size |
Displays the tree in original size. (See Zoom for details.) |
Fit zoom to width and height |
The zoom is changed so that the document fits to the current size of the window. (See Zoom for details.) |
Fit zoom to width |
The zoom is changed so that the tree width equals the current width of the window. (See Zoom for details.) |
Fit zoom to height |
The zoom is changed so that the tree height equals the current height of the window. (See Zoom for details.) |
Set zoom... |
Displays a dialog to specify a user defined zoom factor. |
Rectangular cladogram |
Changes the view mode to Rectangular cladogram (See View modes for details.) |
Phylogram/Chronogram |
Changes the view mode to Phylogram/Chronogram (See View modes for details.) |
This windows contains options to arrange the document windows automatically as well as a link to all opened documents which brings the according window to the front.
Option: |
Function: |
Tile vertical |
Arranges all windows in rows. Windows are usually higher than wide which is in most cases the best for way to view trees. (See example below.) |
Tile horizontal |
Arranges all windows in columns. Windows are usually wider than high. (See example below.) |
Cascade |
Arranges all windows on top of each other. (See example below.) |
Window arrangements
Tile vertical: This option is useful to display two trees with many taxa next to each other.
Tile horizontal: This option is useful to display two trees with long branches below to each other.
Cascade: This option is useful to directly select window with the mouse, if many documents are opened.
This menu allows you to access this help system and information about your TreeGraph 2 installation.
Option: |
Function: |
Contents |
Takes you to the Main Page of this help system. |
Index |
Takes you to the alphabetical index of this help system. |
Help about this main menu |
Takes you to this article. |
TreeGraph 2 homepage |
Takes you to the TreeGraph 2 homepage. Useful to check for later versions. |
About |
Displays the About-dialog of TreeGraph 2 which contains information about the program (including version information and the licence). |
See also