Jump to: navigation, search

Visualizing and Editing Graphs

Revision as of 08:22, 3 April 2012 by Christian.thoens.bfr.bund.de (Talk | contribs) (Step 2. Editing the graph)

Visualizing and Editing Graphs

STEM uses graphs as data structure to save information concerning population sizes, areas, spatial information, neighborhood of areas and so on. When you start a scenario, you get the information of its appendent graphs in a visual form, e.g. when you see the outlines of the countries you included into you scenario. The Graph Editor offers the possibility to visualize graphs without starting a scenario. You can get a view of the data, edit titles, area sizes, add populations and adjust geographic information of a node. It also possible to create new nodes and edges and to remove existing nodes and edges.

Step 1. Open the Editor

When you right-click on an item of the type "Graph" within a project of the STEM Explorer, you will see a context-menu with an item "Display". Clicking on it visualizes the selected graph in the Graph Editor, if the graph contains nodes with spatial information. To visualize all graphs in a certain model, the item "Display canonical graph" in the model's context menu has to be selected.

Step 2. Editing the graph

The nodes of the graph are small circles, whose colors show the membership to a subgraph, i.e. when you have opened a canonical graph consisting of several countries, the country nodes will have different colors. When you click on a node you get information about its title, its URI and all labels that are assigned to this node. Several of these values are editable. You can move a node by keeping the left mouse button pressed and dragging the node to the desired location. To add a label to a node (e.g. add information about population size or area of the node), remove a label or remove the node itself you have to right-click on the node and a context menu shows up. The parameters of a newly added label can be edited in the bottom part of the editor.


You can zoom in and out with the mouse wheel.

Step 3. Saving the graph
