GeNIe Workspace: Tree View

From DSL

Jump to: navigation, search

GeNIe provides an alternative method of model navigation known as Tree view. Most operations available in the Graph view can be also performed in the tree view. Whatever changes are made in the tree view, they are reflected immediately in the graph view. The tree view can be also used to navigate in the graph view in the sense of being able to open submodel windows. Another important feature of the tree view is that you can drag and drop nodes between different submodels and networks. We will illustrate the basic elements in this tutorial.

The tree view in GeNIe is very similar to the Windows 95/NT tree view. It shows a hierarchical, alphabetically sorted list of all networks currently open, and all the nodes in the network.

Tree view can be displayed or hidden by checking or un-checking the Tree option in the View menu. You can also use the keyboard shortcut Ctrl+T to toggle Tree View display.


Image:ViewMenu_Tree.jpg


The Tree View panel can be detached from its position and placed anywhere on the screen by dragging it using its title bar. It snaps back into place if dragged close to the left or right border of the GeNIe window.

Shown below is a typical Tree View panel.


Image:TreeView.jpg


The Tree View above shows 2 networks, SimpleNet and TestNet. Simplenet is not expanded. (hence, is displayed beside it). TestNet is fully expanded (hence, is displayed beside it). TestNet has two nodes, Node0 and Node1 within it.

A network or submodel can be expanded or collapsed by clicking on or beside it.



Note: Double clicking on the name of a network or submodel will also expand or collapse it.



Working with Networks, Submodels and nodes in the Tree View:

Right clicking on the network name, node name or submodel name will open the corresponding Network pop-up menu, Node pop-up menu and Submodel pop-up menu. You can use these menus to change properties of the network, node or submodel. See the following menus for more information on how to performs these operations.

  • Network pop-up menu
  • Node pop-up menu
  • Submodel pop-up menu


Moving nodes between networks and submodels

You can select any number of nodes and submodels in the tree view and drag and drop them into any submodel in the tree view. You can also perform the drag and drop operations between different networks.

See Tutorial 6: Working in the Graph View to learn more.



Note: If the nodes are being dropped in a submodel which is in the same network, then the nodes are moved to their new location.

If the nodes are being dropped in a different network or a submodel in a different network, then the nodes are copied to their new location.

Personal tools