
The options argument can contain one or more of the options shown below.

•

maxdepth=posint or infinity


The maximum depth of procedure calls to examine. The default is infinity, meaning the static call graph is traversed to arbitrary depth.

•

restrict=r, where r is a symbol or string, or a set or list of symbols or strings


Whether and how to restrict the procedures or appliable modules included as vertices of the resulting graph. If this option is not supplied, then there are no restrictions on which vertices are included. If it is supplied, then a procedure or appliable module p is included only if:

–

it is a local or export of a module included in r; or

–

it is a local or export of a module that is, itself, a local or export of a module included in r, and so forth.

This is determined by looking at the name for such procedures or appliable modules that this code finds. Note that if a procedure p1 calls a procedure p2 that is rejected according to this criterion, then that procedure is not examined; if p2 contains any calls to a procedure p3 that would be accepted, then p3 will not be found, at least not through p2.