| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <html> |
| <head> |
| <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"> |
| <title>How to Visualise a Model Space?</title> |
| <link type="text/css" rel="stylesheet" media="all" href="style.css"> |
| </head> |
| |
| <body> |
| <h2>How to Visualise a Model Space?</h2> |
| |
| <p>In order to visualise a model space it has to be opened (if you are unsure |
| how to do this there is a tutorial in the <a |
| href="http://wiki.eclipse.org/VIATRA2/Basics">VIATRA wiki</a> web page).</p> |
| |
| <h2>Adding elements to the graph view</h2> |
| |
| <p>To create the graph the model elements used in the graph have to be chosen. |
| This can happen by right-clicking an element, and selecting the <strong>Add |
| Selected Subtree to the Graph View</strong> menu item.</p> |
| |
| <div class="image"> |
| <img src="images/addsubtree.png"> |
| |
| <p>Selecting the subtree to add</p> |
| </div> |
| |
| <div class="image"> |
| <img src="images/graph.png"> |
| |
| <p>The visualised subtree</p> |
| </div> |
| |
| <p>After the selection happened in a short time the graph appear in the |
| <strong>Model Space Visualisation</strong> view (and the view opens if it was |
| not open).</p> |
| |
| <p></p> |
| |
| <p><strong>Warning!</strong> If a lot of model elements are selected for |
| inclusion, the addition process can hang the computer/Eclipse instance for |
| quite a lot of time. To avoid this it is not recommended to select more than a |
| few dozens of model elements.</p> |
| |
| <p></p> |
| |
| <p>For more details related to adding model elements to the graph view see: <a |
| href="handling.html#elementselect">Selecting Model Elements</a>.</p> |
| |
| <h2>Using the Graph View</h2> |
| |
| <p>It is possible to alter the graph output after it is created. With the help |
| of the mouse the nodes can be moved anywhere in the view, thus manually |
| correcting the layout.</p> |
| |
| <p>In the view pulldown menu there are further options to select an automatic |
| layout, hide some relationships, etc. These are described in detail in <a |
| href="handling.html#view">View Related Settings</a>.</p> |
| |
| <p>It is also possible to save the created graph as a PNG image using the view |
| dropdown menu.</p> |
| |
| <p>For more details related to customizing the graph view see: <a |
| href="handling.html#view">View Related Settings</a> and <a |
| href="configuration.html">Configuration</a>.</p> |
| </body> |
| </html> |