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:view_preferences [2013/07/09 13:06]
Günter Kniesel
research:pdt:docs:view_preferences [2018/05/09 01:59] (current)
Line 1: Line 1:
 +====== Call Graph View Preferences ======
  
 +Preferences of Context View and Global Views are shared, since both views visualize the same aspects (files / modules, predicates and calls). ​
 +
 +==== Open the Preference Page ====
 +
 +  * Global menu: **Window > Preferences > PDT > Context / Global View**
 +  * Preference button: {{:​preferences.png}} at the right top corner of each call graph view
 +
 +==== Edge Appearance ==== 
 +
 +{{prefs_edge.png}}
 +
 +On this preference page you can specify the appearance of call edges. (In future versions ​
 +there will be distinct representations for plain calls, meta-calls vie declared meta-predicates ​
 +and meta-calls via undeclared meta-predicates).
 +
 +==== File Appearance ==== 
 +
 +{{prefs_file.png}}
 +
 +On this preference page you can specify the appearance of file nodes:
 +  * module file - file that was declared as a module
 +  * non module file - the file contains no module declaration ​
 +Both have the same background color but can be distinguished by the background ​
 +color of the header line. With the default settings they are shown like this:
 + 
 +{{module_vs_nonmodule.png}}
 +
 +==== Predicate Appearance ==== 
 +
 +{{prefs_predicates.png}}
 +
 +On this preference page you can adjust appearance of predicates:
 +  * exported versus not exported - background color
 +  * used versus unused - border color
 +  * static versus dynamic - border style
 +
 +With the default settings predicates are shown like this:
 +
 +{{predicates.png?​600}}
 +
 +==== Predicate Layout ==== 
 +
 +
 +{{prefs_layout.png}}
 +
 +On this preference page you can adjust layout settings of the graphs.
 +
 +The **Height** property of predicate nodes specifies a fixed number of lines.
 +
 +The **Width** property of predicate nodes specifies dynamic adjustment strategies:
 +  * fixed - each node has the same, fixed width
 +  * median - the width of each node is the median length of all predicate names in the graph
 +  * maximum - the width of each node is the maximum length of all predicate names in the graph
 +  * individual - the width of each node is is the length of the contained predicate name (independent of other nodes)
 +
 +**Name cropping** is used when a predicate name cannot be displayed completely in the specified node heights and width. The following cropping strategies can be applied to display the name "​abcdefghijklmnopqrstuvwxyz":​
 +  * __Bracket__:​ "abc ... xyz" - show the start and the end of the text
 +  * Prefix: ​ "​abcdefg ..." - show the start of the text
 +  * Middle: ​ "​...klmno..."​ - show the middle part of the text
 +  * Postfix: "... tuvwxyz"​ - show the end of the text
 +
 +The "Show full name in tooltip"​ checkbox determines whether the complete name of the predicate should appear when the mouse is hovering over its node. It is useful to have it checked when the names are cropped.
 +
 +==== Skins ==== 
 +
 +Missing documentation & screenshot <- FIXME
research/pdt/docs/view_preferences.txt · Last modified: 2018/05/09 01:59 (external edit)

SEWiki, © 2019