Directories
¶
| Path | Synopsis |
|---|---|
|
Package bundledfont identifies the font files compiled into D2.
|
Package bundledfont identifies the font files compiled into D2. |
|
Package d2layoutfeatures checks graph features against D2's built-in layouts.
|
Package d2layoutfeatures checks graph features against D2's built-in layouts. |
|
Package d2string contains string syntax shared by the D2 parser and formatter.
|
Package d2string contains string syntax shared by the D2 parser and formatter. |
|
Package geomath holds the arithmetic of lib/geo's segment intersection on plain coordinates, so that lib/shape and the layout code can intersect segments without allocating points or slices.
|
Package geomath holds the arithmetic of lib/geo's segment intersection on plain coordinates, so that lib/shape and the layout code can intersect segments without allocating points or slices. |
|
Package grammartest checks parser and end-to-end test fixtures against the syntax reference.
|
Package grammartest checks parser and end-to-end test fixtures against the syntax reference. |
|
Package htmlentity unescapes HTML character references exactly as the standard library's html.UnescapeString does, without linking its entity table.
|
Package htmlentity unescapes HTML character references exactly as the standard library's html.UnescapeString does, without linking its entity table. |
|
Package rasterimage decodes a deterministic still image from supported raster formats.
|
Package rasterimage decodes a deterministic still image from supported raster formats. |
|
Package testlog adapts testing-style loggers to slog.
|
Package testlog adapts testing-style loggers to slog. |
|
imagediff
Package imagediff compares rendered images and produces deterministic visual diagnostics suitable for test failures.
|
Package imagediff compares rendered images and produces deterministic visual diagnostics suitable for test failures. |
|
Package testversion pins version metadata in the existing diagram goldens.
|
Package testversion pins version metadata in the existing diagram goldens. |
Click to show internal directories.
Click to hide internal directories.