Directories
¶
| Path | Synopsis |
|---|---|
|
Set DEBUG_ASCII=1 environment variable to enable verbose ASCII rendering debug logs.
|
Set DEBUG_ASCII=1 environment variable to enable verbose ASCII rendering debug logs. |
|
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 |
|
Package d2raster renders the supported d2scene subset with a pure-Go raster kernel.
|
Package d2raster renders the supported d2scene subset with a pure-Go raster kernel. |
|
internal/scanline
Package scanline rasterizes D2's closed vector paths with non-zero winding.
|
Package scanline rasterizes D2's closed vector paths with non-zero winding. |
|
Package d2scene defines the renderer-neutral scene representation used by D2's raster export pipeline.
|
Package d2scene defines the renderer-neutral scene representation used by D2's raster export pipeline. |
|
Package d2scenebuild converts D2's typed export model into the immutable scene consumed by d2raster.
|
Package d2scenebuild converts D2's typed export model into the immutable scene consumed by d2raster. |
|
d2svg implements an SVG renderer for d2 diagrams.
|
d2svg implements an SVG renderer for d2 diagrams. |
|
Package d2svgimport imports the bounded, network-free SVG subset used by D2 assets and MathJax into d2scene.
|
Package d2svgimport imports the bounded, network-free SVG subset used by D2 assets and MathJax into d2scene. |
|
internal
|
|
|
fontface
Package fontface owns the renderer-internal OpenType parsing, shaping, and color-glyph pipeline shared by scene construction and native raster output.
|
Package fontface owns the renderer-internal OpenType parsing, shaping, and color-glyph pipeline shared by scene construction and native raster output. |
|
fontfallback
Package fontfallback contains the renderer-internal handoff used to retain trusted fallback assets across multiple scene builds without widening D2's public font resolver interface.
|
Package fontfallback contains the renderer-internal handoff used to retain trusted fallback assets across multiple scene builds without widening D2's public font resolver interface. |
|
patternassets
Package patternassets owns the canonical built-in texture definitions shared by D2's SVG and scene renderers.
|
Package patternassets owns the canonical built-in texture definitions shared by D2's SVG and scene renderers. |
Click to show internal directories.
Click to hide internal directories.