In addition to being a runnable CLI tool, D2 can also be used to produce diagrams from Go programs. For examples, see ./docs/examples/lib. This blog post also demos a complete, runnable example of ...
Get the full experience! Unlock access to all videos with the Unlimited Trains.com Membership.