[ library(xref) | Reference Manual | Alphabetic Index ]
call_graph(+File, -Graph, +Options)
Compute a call graph for a source module file
- File
- Name of the source file (atom or string)
- Graph
- Variable, returns a graph structure
- Options
- A list of Option:Value structures
Description
Computes a call graph for the given source file. The graph is in the
format defined by lib(graph_algorithms). The relevant options are:
- builtins ('off' or 'on')
- selects whether to include built-in predicates or not. Default: off.
Modules
This predicate is sensitive to its module context (tool predicate, see @/2).
See Also
xref / 2, library(graph_algorithms)