grapher.trace_dynamic_refs()

Activate callback as the dynamic-ref tracer for the enclosed block.

Usage

Source

grapher.trace_dynamic_refs(callback)

Nestable: an inner trace_dynamic_refs overrides the outer one; the outer tracer is restored when the inner block exits.