Documentation
¶
Directories
¶
Path | Synopsis |
---|---|
cmd
|
|
d2ast implements the d2 language's abstract syntax tree.
|
d2ast implements the d2 language's abstract syntax tree. |
Package d2compiler implements a parser, compiler and autoformatter for the Terrastruct d2 diagramming language.
|
Package d2compiler implements a parser, compiler and autoformatter for the Terrastruct d2 diagramming language. |
d2layouts
|
|
d2elklayout
d2elklayout is a wrapper around the Javascript port of ELK.
|
d2elklayout is a wrapper around the Javascript port of ELK. |
Package d2plugin enables the d2 CLI to run functions bundled with the d2 binary or via external plugin binaries.
|
Package d2plugin enables the d2 CLI to run functions bundled with the d2 binary or via external plugin binaries. |
d2renderers
|
|
d2fonts
TODO write a script to do this as part of CI
|
TODO write a script to do this as part of CI |
d2svg
d2svg implements an SVG renderer for d2 diagrams.
|
d2svg implements an SVG renderer for d2 diagrams. |
d2themes defines themes to make d2 diagrams pretty Color codes: darkest (N1) -> lightest (N7)
|
d2themes defines themes to make d2 diagrams pretty Color codes: darkest (N1) -> lightest (N7) |
e2etests
|
|
lib
|
|
go2
Package go2 contains general utility helpers that should've been in Go.
|
Package go2 contains general utility helpers that should've been in Go. |
log
Package log is a context wrapper around slog.Logger
|
Package log is a context wrapper around slog.Logger |
xhttp
Package xhttp implements http helpers.
|
Package xhttp implements http helpers. |
xmain
Package xmain provides a standard stub for the main of a command handling logging, flags, signals and shutdown.
|
Package xmain provides a standard stub for the main of a command handling logging, flags, signals and shutdown. |
Click to show internal directories.
Click to hide internal directories.