[ library(xref) | Reference Manual | Alphabetic Index ]
call_graph(+File, -Graph, +Options)
Compute a call graph for a source module file
- Name of the source file (atom or string)
- Variable, returns a graph structure
- A list of Option:Value structures
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.
This predicate is sensitive to its module context (tool predicate, see @/2).
xref / 2, library(graph_algorithms)