azd app graph

Show services, resources, dependency edges, and startup levels from `azure.yaml`.

Usage

Terminal window
azd app graph [flags]

Flags

FlagShortTypeDefaultDescription
--output-ostringtextOutput format: `text`, `json`, `markdown`, `mermaid`, `dot`, or `d2`
--output-file-string-Write output to this file instead of stdout
--focus-string-Limit the graph to a service, its dependencies, and its dependents
--services-only-boolfalseShow only services and service-to-service edges

Examples

Terminal window
azd app graph [flags]
Terminal window
azd app graph
Terminal window
azd app graph --output mermaid --output-file docs/services.mmd
Terminal window
azd app graph --output dot
Terminal window
azd app graph --output d2 --output-file docs/services.d2
Terminal window
azd app graph --output markdown
Terminal window
azd app graph --focus api
Terminal window
azd app graph --services-only --output mermaid

Detailed Documentation

For complete documentation including flows, diagrams, and advanced usage, see the full command specification.

View full graph specification →