Axon · Find & follow code

axon trace

axon trace <symbol-or-node-id> [--direction <direction>] [--depth <hops>]
  [--max-depth <hops>] [--max-nodes <count>] [--max-fanout <count>]
  [--edge-types <comma-separated-types>] [--min-confidence <class>] [--no-external] [--json]

Defaults: outgoing, depth 2, max-nodes 100, max-fanout 64, confidence framework-inferred, external nodes included. --max-depth overrides --depth. Direction synonyms: outgoing/downstream/forward, incoming/upstream/reverse, both (case-insensitive). Invalid directions fail. Confidence classes: proven, artifact-backed, framework-inferred, heuristic; the parser stores a string and the ranking helper defaults unknown classes to framework-inferred rank rather than strictly enum-validating them.

Default edge types: calls, references, handled_by, extends, implements, dispatches_job, handles_job, emits_event, listens_event. --edge-types replaces that set; comma-separated whitespace is trimmed. Missing start symbols exit 1 (error: not-found in JSON); ambiguous starts exit 1 with candidates. Resolved but budget-limited walks are reported, not equivalent to exhaustive reach.

See CLI conventions for shared configuration and exit behavior, or browse all commands.