1. Install the CLI
$GOBIN, or $(go env GOPATH)/bin by default)
is on your PATH. Run isotopo capabilities to verify the installation.
These docs track the
main branch. Use @main for the features documented here,
or @latest for the newest tagged release, which may have fewer features.The Go module path is still github.com/MarkovWangRR/iso-topology. The source
repository now lives at MishaBear94/iso-topology.2. Describe a small architecture
Create a file calledservices.d2:
services.d2
3. Render it
out/topology.html in your browser to inspect the diagram. Use
out/topology.svg wherever you need a vector image.
4. Refine it in Studio
5. Check and share
0
means clean, 2 means warnings, and 3 means errors. A diagram can render with
warnings; inspect those warnings before publishing it.
Keep services.d2 in version control. Embed the generated SVG in your README:
Add groups and boundaries
Continue the tutorial with nested services and labeled containers.
Browse example sources
Start from an existing scene, then adapt it to your architecture.