SDA SE Wiki

Software Engineering for Smart Data Analytics & Smart Data Analytics for Software Engineering

User Tools

Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
research:pdt:docs:viewfeatures [2013/07/09 11:39]
Günter Kniesel
research:pdt:docs:viewfeatures [2018/05/09 01:59] (current)
Line 1: Line 1:
 +====== Call Graph Interaction ======
  
 +The two call graph views ([[contextview|Context View]] and [[globalview|Global View]]) share the same interaction facilities:
 +  * [[#​Modes|Selection Mode versus Navigation Mode]]
 +  * [[#Zoom]]
 +  * [[#Status Bar and Tool Tips]]
 +  * [[#​Layouting|Hierarchical versus Organic Layout]]
 +  * [[#Updating the Call Graph]]
 +
 +===== Modes =====
 +
 +The views work in two modes:
 +
 +  * **Selection mode** (default) allows to select predicates and adjust their position and size in the graph. If the call graph is bigger than the window size, horizontal and/or vertical scroll bars appear, allowing to shift the visible graph area by scrolling.
 +  * **Navigation mode** (active while the ctrl button is pressed) allows to shift the visible graph area by dragging the graph with the left mouse button: ​
 +    - press ctrl and keep it pressed
 +    - left-klick on the view's background and keep the left mouse button pressed
 +    - drag the mouse shifting the visible graph area
 +    - release the mouse and the ctrl key
 +
 +If you work mainly in navigation mode, you can make navigation mode the default behavior by using the navigation button {{move.png|Navigation}}. When the Navigation button is pressed, you can press the ctrl button to temporarily activate selection mode.
 +
 +===== Zoom =====
 +
 +In navigation mode you can use the mouse scroll wheel to zoom in and out the diagram.
 +
 +
 +===== Status Bar and Tool Tips =====
 +
 +When the mouse hovers over a predicate box, the predicate name and its properties are shown in the status bar and in the tool tip. the tool tip can be switched off in the [[contextview_preferences#​predicate layout]] Preferences.
 +
 +{{:​focusview_tooltip.png?​400}}
 +
 +===== Layouting =====
 +
 +The plugin suppports two layout algorithms:
 +
 +**Hierarchical layout** (default) creates a graph where called predicates are placed bellow calling ones. To activate the hierarchical layout use the {{hierarchy.png|Hierarchical Layout}} button (right top corner of Context View window). ​
 +
 +{{hierarchical_example.png?​400}}
 +
 +**Organic layout** creates a very compact graph where callers and callees are arranged as close as possible to each other, with arrows pointing in any direction. It provides many different layout variants. To activate the organic layout or get another organic layout variant click the {{organic.png|Organic Layout}} button (right top corner of Context View window).
 +
 +{{organic_example1.png?​400}}
 +
 +
 +===== Updating the Call Graph =====
 +
 +In order to update the graph use the "​Refresh"​ button {{refresh.gif|Refresh}} (right top corner of the plugin window).
 +
 +The Plugin also supports an automatic update mode in which the graph will be updated whenever the related file is saved. The automatic mode can be turned on in the [[view_preferences|Preference]] Page.  ​
 +
 +<note important>​
 +__Caution__
 +
 +Updating the graph will re-layout it. All manual layout adjustments will be lost!
 +</​note> ​
research/pdt/docs/viewfeatures.txt · Last modified: 2018/05/09 01:59 (external edit)

SEWiki, © 2019