Generate architecture graphs with `go-arch-lint graph`
masterYou can generate visual architecture overviews of your project's dependencies using the graph command. The tool supports two primary graph types: flow (default) and di.
flowgraph: Represents a reverse dependency injection model, which closely approximates the code execution flow.digraph: Shows actual component dependencies (the opposite of the flow graph).
# Generate a default flow graph
go-arch-lint graph
# Generate a dependency injection (DI) graph
go-arch-lint graph --type di