Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.supermodeltools.com/llms.txt

Use this file to discover all available pages before exploring further.

Fetches or loads the cached graph and renders it in one of three formats:
  • human — aligned table of nodes (default)
  • json — full graph as JSON
  • dot — Graphviz DOT for use with dot/graphviz

Synopsis

supermodel graph [path] [flags]

Flags

FlagDescription
--labelFilter nodes by label (File, Function, Class, …)
--forceRe-analyze even if a cached result exists
-o, --outputOutput format: human | json | dot (default human)
-h, --helpHelp for graph

Examples

supermodel graph

# Only files
supermodel graph --label File

# Render with Graphviz
supermodel graph -o dot | dot -Tsvg > graph.svg