scitools.com

← Graph catalog

Used By is one of the interactive graphs Understand can draw of your code — call trees, dependencies, control flow, and more.

Used By

Languages: Fortran, VHDL, Web
Targets: Classes, Modules, Subprograms
Variants: Classic, Cluster, Compare, Relationship, Simplified

Show what uses a selected Fortran module, VHDL design unit, or PHP trait, directly or indirectly.

For a selected Fortran module or VHDL architecture, configuration, entity, or package, this shows an edge from each module or design unit that uses it, then recurses into each of those units’ own users, building a multi-level tree. For a selected PHP trait, this shows an edge from each class or trait that uses it in a use statement, then recurses the same way into whatever uses those in turn.

Rooted at math_constants below, the graph shows it used by vector_ops and matrix_ops, both of which are used by linear_algebra, which is itself used by statistics and solver. statistics and solver are each used by the program simulation, which nothing uses. For Fortran and VHDL, the inverse graph, Uses, shows the reverse relationship — everything the selected unit uses, directly or indirectly. PHP works the same way but with a different inverse graph: a trait like Auditable is used by Trackable, which is in turn used by ActiveRecord and Cacheable; the reverse of that relationship is shown by Uses Traits, not Uses.

See the following code and corresponding graph

module math_constants
end module math_constants

module vector_ops
  use math_constants
end module vector_ops

module matrix_ops
  use math_constants
end module matrix_ops

module linear_algebra
  use vector_ops
  use matrix_ops
end module linear_algebra

module statistics
  use linear_algebra
end module statistics

module solver
  use linear_algebra
end module solver

program simulation
  use solver
  use statistics
end program simulation

Used By - 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.


Back to Used By

Used By - Cluster

The Cluster variant groups entities by their containing class/file/architecture.


Back to Used By

Used By - Compare

The Compare variant shows how the graph has changed relative to the project's comparison database.


Back to Used By

Used By - Relationship

The Relationship variant filters the graph to only paths connecting the two entities.


Back to Used By

Used By - Simplified

The Simplified variant shows all relationships in a simple tree (no clusters)


Back to Used By