Introduction

prevnext

Controlling Graphics Layout


The two graphical browsers, Hierarchy and Declaration have a variety of configuration options which may be set via the Options menu of the menu bar. These options control the layout and drawing of the graphic views and vary based on the type of view.

In addition, certain toolbar actions are in effect when a Graphical View is in focus..

Scale Menu

The scale menu allows you to choose the size of the text used. All picture sizes and layouts vary with text point size. The currently selected size is shown with a check mark on the left.

Note that other point sizes can be added through customization of configuration files found in the Understand for Ada installation directory. Contact support@scitools.com for information on how to do this.

Text Menu

The Text menu sets the manner that entity names are trimmed or altered for layout of graphics. Names may be truncated to a certain length or wrapped at a certain length.


- No Truncation
Uses the name as defined in the source code. The default.
- Truncate Short
Cuts off names at 10 characters.
- Truncate Medium
Cuts off names at 20 characters.
- Truncate Long
Cuts off names at 30 characters.
- Wrap Short
Wraps the name at between 8 and 10 characters. Location in that range depends on if a natural wrapping character is found. Natural wrapping characters are "._-:".
- Wrap Medium
Similar to Wrap Short except wrapping range is 15-20 characters.
- Wrap Long
Similar to Wrap Short except wrapping range is 20-30 characters.

Names Menu

The Names menu controls whether or not full Ada names are used in the given drawing. A full Ada name includes its parent compilation units, and is analogous to not having a Use clause in your code. For instance,

- Text_Io.Put is the fully specified name.
- Put is the Short Name

Longer versus shorter names can alter the layout of pictures substantially.

Layout Menu

The Layout menu controls the layout algorithm for a hierarchical chart. Only available on Hierarchy views (invocation, callby, instantiations, instantiated-by, with, withby, file contents, file declaration tree, type tree, type-derived from tree, child lib units, and parent units).

· Crossing - a left-right view, minimizing space used but sacrificing some readability by permitting lines between entities to cross.

· Non-Crossing - an up-down layout, using more space in some situations but enhancing readability by having no crossing lines. Multiple occurrences of the same sub-tree are not shown more than once.

Level

The Level menu controls the number of levels to be traversed when laying out a Hierarchical view. The default value is "All Levels". Values of 1 to 5 may be set. Available only on Hierarchical views.

Parameters

The Parameters menu controls if parameters are shown in Declaration or Hierarchical views. The default is Off, turning this On can make hierarchical pictures much bigger.

Called By

The Called By menu controls if call by's (who calls this entity) are shown on a Declaration (e.g. package, function, procedure) . Default is On.

Invocations

The Invocations menu controls on Declaration views if invocations (who this entity invokes) are drawn. The Default is On.

Withs

The Withs menu controls on Declaration views of compilation units (packages, tasks, separate procedures, etc...) if Withs are drawn. The default is On.

With Bys

Controls if With Bys (who Withs a given compilation unit) are shown on Declaration views. The default is On.

prevnext


Scientific Toolworks, Inc.
http://www.scitools.com
Voice: (802) 763-2995
Fax: (802) 763-3066
support@scitools.com
sales@scitools.com