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. |
|
Package d2fonts holds the fonts used to measure and render diagrams.
|
Package d2fonts holds the fonts used to measure and render diagrams. |
|
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. |
|
appendix
Package appendix adds numbered footnotes to D2 SVGs and animation frames.
|
Package appendix adds numbered footnotes to D2 SVGs and animation frames. |
|
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
|
|
|
codestyle
Package codestyle selects the Chroma palettes used to highlight diagram labels.
|
Package codestyle selects the Chroma palettes used to highlight diagram labels. |
|
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. |
|
scenepaint
Package scenepaint translates authored D2 paints into renderer-independent scenes.
|
Package scenepaint translates authored D2 paints into renderer-independent scenes. |
|
svgframe
Package svgframe reads the outer group emitted by d2svg for an animation.
|
Package svgframe reads the outer group emitted by d2svg for an animation. |
Click to show internal directories.
Click to hide internal directories.