Documentation ¶
There is no documentation for this package.
Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
TODO: Remove boxes and cleanup like d2ir
|
TODO: Remove boxes and cleanup like d2ir |
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. |
Package d2ir implements a tree data structure to keep track of the resolved value of D2 keys.
|
Package d2ir implements a tree data structure to keep track of the resolved value of D2 keys. |
d2elklayout
d2elklayout is a wrapper around the Javascript port of ELK.
|
d2elklayout is a wrapper around the Javascript port of ELK. |
d2near
d2near applies near keywords when they're constants Intended to be run as the last stage of layout after the diagram has already undergone layout
|
d2near applies near keywords when they're constants Intended to be run as the last stage of layout after the diagram has already undergone layout |
d2lsp contains functions useful for IDE clients
|
d2lsp contains functions useful for IDE clients |
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 Currently using an online converter: https://dopiaza.org/tools/datauri/index.php
|
TODO write a script to do this as part of CI Currently using an online converter: https://dopiaza.org/tools/datauri/index.php |
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) |
docs
|
|
e2etests
|
|
lib
|
|
log
Copied from https://pkg.go.dev/log/slog#Handler
|
Copied from https://pkg.go.dev/log/slog#Handler |
memfs
memfs implements an in-memory fs.FS implementation This is useful in for running d2 in javascript environments where native file calls are not available
|
memfs implements an in-memory fs.FS implementation This is useful in for running d2 in javascript environments where native file calls are not available |
pptx
pptx is a package to create slide presentations in pptx (Microsoft Power Point) format.
|
pptx is a package to create slide presentations in pptx (Microsoft Power Point) format. |
simplelog
Package simplelog contains a very simple interface for logging strings at either Debug, Info, or Error levels
|
Package simplelog contains a very simple interface for logging strings at either Debug, Info, or Error levels |
xgif
xgif is a helper package to create GIF animations based on PNG images The resulting animations have the following properties: 1.
|
xgif is a helper package to create GIF animations based on PNG images The resulting animations have the following properties: 1. |
Click to show internal directories.
Click to hide internal directories.