Home

Awesome

spograph

spograph is a tool for generating business architecture diagram based on the Go development framework Sponge.

Quick Start

Install spograph

go install github.com/go-dev-frame/spograph@latest

Example of Use

Open a project created with Sponge, for example: eshop/example-2-mono-repo

# Case 1: Generate a business architecture diagram for the entire project
spograph --project-dir=example-2-mono-repo

# Case 2: Generate a business architecture diagram for specific services
spograph --server-dir=example-2-mono-repo/flashSale --server-dir=example-2-mono-repo/order

# To include database services in the diagram, add the "--all" parameter

Output svg example:

example-2-mono-repo