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 ...
Department of Chemistry, Key Lab of Organic Optoelectronics & Molecular Engineering, Tsinghua University, Beijing 100084, P. R. China Fujian Provincial Key Laboratory of Terahertz Functional Devices ...