object

caller_diagram(Format)

  • Format - Graph language file format.

Predicates for generating caller diagrams showing direct and indirect callers of a predicate or a non-terminal.

Availability:
logtalk_load(diagrams(loader))
Author: Paulo Moura
Version: 1:0:0
Date: 2026-03-12
Compilation flags:
static, context_switching_calls
Imports:
Uses:
Remarks:
(none)

Public predicates

predicate/2

Creates a caller diagram for the given predicate or non-terminal using the specified options. Predicates are specified as Entity::Name/Arity. Non-terminals are specified as Entity::Name//Arity.

Compilation flags:
static
Template:
predicate(QualifiedIndicator,Options)
Mode and number of proofs:
predicate(+qualified_predicate_indicator,+list(compound)) - one

predicate/1

Creates a caller diagram for the given predicate using default options. Predicates are specified as Entity::Name/Arity. Non-terminals are specified as Entity::Name//Arity.

Compilation flags:
static
Template:
predicate(QualifiedIndicator)
Mode and number of proofs:
predicate(+qualified_predicate_indicator) - one

Protected predicates

(no local declarations; see entity ancestors if any)

Private predicates

included_caller_/1

Table of callers already included in the diagram.

Compilation flags:
dynamic
Template:
included_caller_(Caller)
Mode and number of proofs:
included_caller_(?qualified_predicate_indicator) - zero_or_more
included_caller_(?predicate_indicator) - zero_or_more

Operators

(none)