graph

package
v0.6.16 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 12, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package graph implements the `supermodel graph` command. It fetches or reads a cached display graph and renders or exports it in the requested format (human-readable, JSON, DOT, etc.).

This is a vertical slice. It must not import any other slice package. It may import from the shared kernel: internal/api, internal/cache, internal/config, internal/ui, internal/build.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, cfg *config.Config, dir string, opts Options) error

Run fetches or loads the graph for dir and renders it.

Types

type Options

type Options struct {
	Force  bool   // bypass cache
	Output string // "human" | "json" | "dot"
	Filter string // filter by label: "File" | "Function" | etc.
}

Options configures the graph command.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL