intro.htm

## Hierarchy views show multi-level relationships

Hierarchy views show the relationships between entities. Here are examples of each kind of hierarchy view that Understand for Ada offers.

· Invocation - Shows the entire chain of invocations for a compilation unit. Each line between entities is read as "entity calls entity". In this example, Mahjongg calls Show which calls ClearScreen (and others).
· Call By - Shows who uses a compilation unit by calling it, and who that compilation unit uses, for all successors. Each line connecting an entity is read as "entity is called by entity". In this example we see that Show (also seen above) is called by Mahjongg and Load_Game. Load_Game is in turn called by Dispatch_Command and so on.
· With Tree - shows what compilation units are Withed by a given entity, and the units that they With until the top of the tree is reached. Each line is read as "Withs". In this example, Mahjongg Withs Board, which Withs TileADT.
· WithBy Tree - Shows what compilation units With this compilation unit, and who Withs them, etc... Each line is read as "is Withed by" and the diagram is typically read from the bottom up. In this example, TileADT is Withed by Board, which is Withed by Mahjongg.
· Instantiation Tree - Shows generic instantiation hierarchy of a given entity. Each line reads as "is instantiated by". In the example given below, Generic Package list is instantiated by SymList, ExprList, bindlist, and framelist. Also available is the "Instantiated From Tree" which shows only what generics a compilation unit is instantiated from.
· Type Derive Tree - Shows a root type and the types derived from it. The tree is read from the bottom up and each line is read as "is derived from". This example shows the type derivation tree for types in the Standard Library. Also available is the "Type Derive From Tree", which shows only what types an entity is derived from.
· Child Library Unit Tree - Shows the parent/child library hierarchy of an entity. This graph is read from the bottom and each line is read "is a child of". In this example, Strings is a child of C, which is a child of Interfaces. Also available is the opposite view "Parent Library Unit".

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