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 ...
A diagram visualizing the organic materials atmospheric reservoir theory. Source: SwRI In their new experiments, Miller and his team corroborated this theory by simulating the conditions of Titan ...