Extends is one of the interactive graphs Understand can draw of your code — call trees, dependencies, control flow, and more.
Extends
Languages: Fortran, Java, PascalTargets: Classes, Types
Variants: Classic, Cluster, Compare, Relationship, Simplified
Show the classes or interfaces a selected class or interface directly or indirectly extends.
For a selected class, interface, or derived type, this shows an edge to what it directly extends, then recurses upward into whatever that extends in turn, building a multi-level ancestry tree.
Rooted at the Java class Vertebrate below, the graph shows an edge to Animal, then continues up to LivingThing. The inverse graph, Extended By, shows the reverse relationship — everything that extends the selected class.
See the following code and corresponding graph
public class LivingThing {}
public class Animal extends LivingThing {}
public class Vertebrate extends Animal {}
Extends - Classic
The Classic variant is similar to the Simplified variant, showing all relationships in a simple tree, but it uses a custom layout algorithm instead of Graphviz.
Extends - Cluster
The Cluster variant groups entities by their containing class/file/architecture.
Extends - Compare
The Compare variant shows how the graph has changed relative to the project's comparison database.
Extends - Relationship
The Relationship variant filters the graph to only paths connecting the two entities.
Extends - Simplified
The Simplified variant shows all relationships in a simple tree (no clusters)