{"modulePath":"github.com/d2lang/d2","version":"v0.10.0","isStandardLibrary":false,"packages":{"items":[{"path":"github.com/d2lang/d2","name":"main","synopsis":"","isRedistributable":true},{"path":"github.com/d2lang/d2/ci/release/releasetool","name":"main","synopsis":"","isRedistributable":true},{"path":"github.com/d2lang/d2/ci/tala-performance","name":"main","synopsis":"Command tala-performance measures TALA callbacks on an external D2 corpus and fingerprints complete layout outputs.","isRedistributable":true},{"path":"github.com/d2lang/d2/ci/wasm-size","name":"main","synopsis":"wasm-size checks the D2.js WebAssembly module against ci/wasm-size-budget.txt: its size in bytes, and its size once compressed with Brotli at quality 11, which is close to what a browser downloads.","isRedistributable":true},{"path":"github.com/d2lang/d2/ci/wasm-strip","name":"main","synopsis":"wasm-strip removes the custom sections of a WebAssembly module in place.","isRedistributable":true},{"path":"github.com/d2lang/d2/d2ast","name":"d2ast","synopsis":"TODO: Remove boxes and cleanup like d2ir","isRedistributable":true},{"path":"github.com/d2lang/d2/d2chaos","name":"d2chaos","synopsis":"","isRedistributable":true},{"path":"github.com/d2lang/d2/d2cli","name":"d2cli","synopsis":"","isRedistributable":true},{"path":"github.com/d2lang/d2/d2compiler","name":"d2compiler","synopsis":"Package d2compiler implements a parser, compiler and autoformatter for the Terrastruct d2 diagramming language.","isRedistributable":true},{"path":"github.com/d2lang/d2/d2exporter","name":"d2exporter","synopsis":"","isRedistributable":true},{"path":"github.com/d2lang/d2/d2format","name":"d2format","synopsis":"","isRedistributable":true},{"path":"github.com/d2lang/d2/d2graph","name":"d2graph","synopsis":"","isRedistributable":true},{"path":"github.com/d2lang/d2/d2ir","name":"d2ir","synopsis":"Package d2ir implements a tree data structure to keep track of the resolved value of D2 keys.","isRedistributable":true},{"path":"github.com/d2lang/d2/d2js","name":"main","synopsis":"","isRedistributable":true},{"path":"github.com/d2lang/d2/d2js/d2wasm","name":"d2wasm","synopsis":"","isRedistributable":true},{"path":"github.com/d2lang/d2/d2layouts","name":"d2layouts","synopsis":"","isRedistributable":true},{"path":"github.com/d2lang/d2/d2layouts/d2dagrelayout","name":"d2dagrelayout","synopsis":"","isRedistributable":true},{"path":"github.com/d2lang/d2/d2layouts/d2elklayout","name":"d2elklayout","synopsis":"Package d2elklayout adapts D2 graphs to the native Go port of ELK.","isRedistributable":true},{"path":"github.com/d2lang/d2/d2layouts/d2grid","name":"d2grid","synopsis":"","isRedistributable":true},{"path":"github.com/d2lang/d2/d2layouts/d2near","name":"d2near","synopsis":"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","isRedistributable":true},{"path":"github.com/d2lang/d2/d2layouts/d2sequence","name":"d2sequence","synopsis":"","isRedistributable":true},{"path":"github.com/d2lang/d2/d2layouts/d2talalayout","name":"d2talalayout","synopsis":"Package d2talalayout adapts D2 graphs to TALA's layout and edge-routing engine.","isRedistributable":true},{"path":"github.com/d2lang/d2/d2layouts/d2talalayout/internal/engine","name":"engine","synopsis":"Package engine composes TALA's layout stages into one deterministic layout.","isRedistributable":true},{"path":"github.com/d2lang/d2/d2layouts/d2talalayout/internal/graphbounds","name":"graphbounds","synopsis":"Package graphbounds computes work-accounted bounds for mutable TALA nodes.","isRedistributable":true},{"path":"github.com/d2lang/d2/d2layouts/d2talalayout/internal/graphjson","name":"graphjson","synopsis":"Package graphjson serializes and reconstructs TALA layout graphs.","isRedistributable":true},{"path":"github.com/d2lang/d2/d2layouts/d2talalayout/internal/grouping","name":"grouping","synopsis":"Package grouping discovers and manages layout groups that temporarily move as a single vessel.","isRedistributable":true},{"path":"github.com/d2lang/d2/d2layouts/d2talalayout/internal/hierarchy","name":"hierarchy","synopsis":"Package hierarchy discovers DAG-like subgraphs, ranks their nodes, and places them in layers.","isRedistributable":true},{"path":"github.com/d2lang/d2/d2layouts/d2talalayout/internal/invariant","name":"invariant","synopsis":"Package invariant classifies violations of TALA's internal layout invariants.","isRedistributable":true},{"path":"github.com/d2lang/d2/d2layouts/d2talalayout/internal/labelgeom","name":"labelgeom","synopsis":"Package labelgeom contains renderer-compatible label geometry that is shared by the mutable graph bounds and label-placement domains.","isRedistributable":true},{"path":"github.com/d2lang/d2/d2layouts/d2talalayout/internal/labeling","name":"labeling","synopsis":"Package labeling places node, icon, edge, and arrowhead labels on a routed layout graph.","isRedistributable":true},{"path":"github.com/d2lang/d2/d2layouts/d2talalayout/internal/layoutgraph","name":"layoutgraph","synopsis":"Package layoutgraph defines the mutable state used by TALA's layout algorithms.","isRedistributable":true},{"path":"github.com/d2lang/d2/d2layouts/d2talalayout/internal/limits","name":"limits","synopsis":"Package limits provides the engine's topology ceilings and reusable work accounting primitives.","isRedistributable":true},{"path":"github.com/d2lang/d2/d2layouts/d2talalayout/internal/loops","name":"loops","synopsis":"Package loops computes deterministic self-edge routes and the node extents those routes reserve during placement.","isRedistributable":true},{"path":"github.com/d2lang/d2/d2layouts/d2talalayout/internal/nodeshape","name":"nodeshape","synopsis":"Package nodeshape defines the shape-specific port and label-placement policy used by TALA nodes.","isRedistributable":true},{"path":"github.com/d2lang/d2/d2layouts/d2talalayout/internal/packing","name":"packing","synopsis":"Package packing arranges and compacts disconnected graph components without changing their internal layout or routed edge geometry.","isRedistributable":true},{"path":"github.com/d2lang/d2/d2layouts/d2talalayout/internal/placement","name":"placement","synopsis":"Package placement positions nodes and refines their geometry before routing.","isRedistributable":true},{"path":"github.com/d2lang/d2/d2layouts/d2talalayout/internal/placementcost","name":"placementcost","synopsis":"Package placementcost evaluates candidate node geometry for placement and refinement algorithms.","isRedistributable":true},{"path":"github.com/d2lang/d2/d2layouts/d2talalayout/internal/proximity","name":"proximity","synopsis":"Package proximity discovers layout relationships between nearby nodes.","isRedistributable":true},{"path":"github.com/d2lang/d2/d2layouts/d2talalayout/internal/quality","name":"quality","synopsis":"Package quality evaluates completed TALA layouts.","isRedistributable":true},{"path":"github.com/d2lang/d2/d2layouts/d2talalayout/internal/routing","name":"routing","synopsis":"Package routing builds orthogonal visibility graphs, searches them for edge routes, and applies the routing post-processing stages.","isRedistributable":true},{"path":"github.com/d2lang/d2/d2layouts/d2talalayout/internal/trees","name":"trees","synopsis":"Package trees owns TALA's tree discovery, preprocessing, orientation, and placement algorithms.","isRedistributable":true},{"path":"github.com/d2lang/d2/d2layouts/d2talalayout/internal/typedpool","name":"typedpool","synopsis":"Package typedpool provides a type-safe wrapper around sync.Pool.","isRedistributable":true},{"path":"github.com/d2lang/d2/d2layouts/internal/layoutguard","name":"layoutguard","synopsis":"Package layoutguard protects layout engines that cannot be interrupted once their native layout call begins.","isRedistributable":true},{"path":"github.com/d2lang/d2/d2lib","name":"d2lib","synopsis":"","isRedistributable":true},{"path":"github.com/d2lang/d2/d2lsp","name":"d2lsp","synopsis":"Completion implements lsp autocomplete features Currently handles: - Complete dot and inside maps for reserved keyword holders (style, labels, etc) - Complete discrete values for keywords like shape - Complete suggestions for formats for keywords like opacity","isRedistributable":true},{"path":"github.com/d2lang/d2/d2lsp/lspserver","name":"lspserver","synopsis":"Package lspserver implements the stdio language server for D2.","isRedistributable":true},{"path":"github.com/d2lang/d2/d2oracle","name":"d2oracle","synopsis":"","isRedistributable":true},{"path":"github.com/d2lang/d2/d2parser","name":"d2parser","synopsis":"","isRedistributable":true},{"path":"github.com/d2lang/d2/d2renderers/d2animate","name":"d2animate","synopsis":"","isRedistributable":true},{"path":"github.com/d2lang/d2/d2renderers/d2ascii","name":"d2ascii","synopsis":"Set DEBUG_ASCII=1 environment variable to enable verbose ASCII rendering debug logs.","isRedistributable":true},{"path":"github.com/d2lang/d2/d2renderers/d2ascii/asciicanvas","name":"asciicanvas","synopsis":"","isRedistributable":true},{"path":"github.com/d2lang/d2/d2renderers/d2ascii/asciiroute","name":"asciiroute","synopsis":"","isRedistributable":true},{"path":"github.com/d2lang/d2/d2renderers/d2ascii/asciishapes","name":"asciishapes","synopsis":"","isRedistributable":true},{"path":"github.com/d2lang/d2/d2renderers/d2ascii/charset","name":"charset","synopsis":"","isRedistributable":true},{"path":"github.com/d2lang/d2/d2renderers/d2fonts","name":"d2fonts","synopsis":"Package d2fonts holds the fonts used to measure and render diagrams.","isRedistributable":true},{"path":"github.com/d2lang/d2/d2renderers/d2latex","name":"d2latex","synopsis":"","isRedistributable":true},{"path":"github.com/d2lang/d2/d2renderers/d2raster","name":"d2raster","synopsis":"Package d2raster renders the supported d2scene subset with a pure-Go raster kernel.","isRedistributable":true},{"path":"github.com/d2lang/d2/d2renderers/d2raster/internal/scanline","name":"scanline","synopsis":"Package scanline rasterizes D2's closed vector paths with non-zero winding.","isRedistributable":true},{"path":"github.com/d2lang/d2/d2renderers/d2scene","name":"d2scene","synopsis":"Package d2scene defines the renderer-neutral scene representation used by D2's raster export pipeline.","isRedistributable":true},{"path":"github.com/d2lang/d2/d2renderers/d2scenebuild","name":"d2scenebuild","synopsis":"Package d2scenebuild converts D2's typed export model into the immutable scene consumed by d2raster.","isRedistributable":true},{"path":"github.com/d2lang/d2/d2renderers/d2sketch","name":"d2sketch","synopsis":"","isRedistributable":true},{"path":"github.com/d2lang/d2/d2renderers/d2svg","name":"d2svg","synopsis":"d2svg implements an SVG renderer for d2 diagrams.","isRedistributable":true},{"path":"github.com/d2lang/d2/d2renderers/d2svg/appendix","name":"appendix","synopsis":"Package appendix adds numbered footnotes to D2 SVGs and animation frames.","isRedistributable":true},{"path":"github.com/d2lang/d2/d2renderers/d2svgimport","name":"d2svgimport","synopsis":"Package d2svgimport imports the bounded, network-free SVG subset used by D2 assets and MathJax into d2scene.","isRedistributable":true},{"path":"github.com/d2lang/d2/d2renderers/internal/codestyle","name":"codestyle","synopsis":"Package codestyle selects the Chroma palettes used to highlight diagram labels.","isRedistributable":true},{"path":"github.com/d2lang/d2/d2renderers/internal/fontface","name":"fontface","synopsis":"Package fontface owns the renderer-internal OpenType parsing, shaping, and color-glyph pipeline shared by scene construction and native raster output.","isRedistributable":true},{"path":"github.com/d2lang/d2/d2renderers/internal/fontfallback","name":"fontfallback","synopsis":"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.","isRedistributable":true},{"path":"github.com/d2lang/d2/d2renderers/internal/patternassets","name":"patternassets","synopsis":"Package patternassets owns the canonical built-in texture definitions shared by D2's SVG and scene renderers.","isRedistributable":true},{"path":"github.com/d2lang/d2/d2renderers/internal/scenepaint","name":"scenepaint","synopsis":"Package scenepaint translates authored D2 paints into renderer-independent scenes.","isRedistributable":true},{"path":"github.com/d2lang/d2/d2renderers/internal/svgframe","name":"svgframe","synopsis":"Package svgframe reads the outer group emitted by d2svg for an animation.","isRedistributable":true},{"path":"github.com/d2lang/d2/d2target","name":"d2target","synopsis":"","isRedistributable":true},{"path":"github.com/d2lang/d2/d2themes","name":"d2themes","synopsis":"d2themes defines themes to make d2 diagrams pretty Color codes: darkest (N1) -\u003e lightest (N7)","isRedistributable":true},{"path":"github.com/d2lang/d2/d2themes/d2themescatalog","name":"d2themescatalog","synopsis":"","isRedistributable":true},{"path":"github.com/d2lang/d2/docs/examples/lib/1-d2lib","name":"main","synopsis":"","isRedistributable":true},{"path":"github.com/d2lang/d2/docs/examples/lib/2-d2oracle","name":"main","synopsis":"","isRedistributable":true},{"path":"github.com/d2lang/d2/docs/examples/lib/3-lowlevel","name":"main","synopsis":"","isRedistributable":true},{"path":"github.com/d2lang/d2/e2etests-cli","name":"e2etests_cli","synopsis":"","isRedistributable":true},{"path":"github.com/d2lang/d2/e2etests/report","name":"main","synopsis":"","isRedistributable":true},{"path":"github.com/d2lang/d2/internal/bundledfont","name":"bundledfont","synopsis":"Package bundledfont identifies the font files compiled into D2.","isRedistributable":true},{"path":"github.com/d2lang/d2/internal/d2layoutfeatures","name":"d2layoutfeatures","synopsis":"Package d2layoutfeatures checks graph features against D2's built-in layouts.","isRedistributable":true},{"path":"github.com/d2lang/d2/internal/d2string","name":"d2string","synopsis":"Package d2string contains string syntax shared by the D2 parser and formatter.","isRedistributable":true},{"path":"github.com/d2lang/d2/internal/geomath","name":"geomath","synopsis":"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.","isRedistributable":true},{"path":"github.com/d2lang/d2/internal/grammartest","name":"grammartest","synopsis":"Package grammartest checks parser and end-to-end test fixtures against the syntax reference.","isRedistributable":true},{"path":"github.com/d2lang/d2/internal/htmlentity","name":"htmlentity","synopsis":"Package htmlentity unescapes HTML character references exactly as the standard library's html.UnescapeString does, without linking its entity table.","isRedistributable":true},{"path":"github.com/d2lang/d2/internal/rasterimage","name":"rasterimage","synopsis":"Package rasterimage decodes a deterministic still image from supported raster formats.","isRedistributable":true},{"path":"github.com/d2lang/d2/internal/testlog","name":"testlog","synopsis":"Package testlog adapts testing-style loggers to slog.","isRedistributable":true},{"path":"github.com/d2lang/d2/internal/testutil","name":"testutil","synopsis":"","isRedistributable":true},{"path":"github.com/d2lang/d2/internal/testutil/imagediff","name":"imagediff","synopsis":"Package imagediff compares rendered images and produces deterministic visual diagnostics suitable for test failures.","isRedistributable":true},{"path":"github.com/d2lang/d2/internal/testversion","name":"testversion","synopsis":"Package testversion pins version metadata in the existing diagram goldens.","isRedistributable":true},{"path":"github.com/d2lang/d2/lib/background","name":"background","synopsis":"","isRedistributable":true},{"path":"github.com/d2lang/d2/lib/color","name":"color","synopsis":"","isRedistributable":true},{"path":"github.com/d2lang/d2/lib/compression","name":"compression","synopsis":"d2 uses compression for compressing large static assets when its built into WASM for d2.js","isRedistributable":true},{"path":"github.com/d2lang/d2/lib/env","name":"env","synopsis":"","isRedistributable":true},{"path":"github.com/d2lang/d2/lib/font","name":"font","synopsis":"","isRedistributable":true},{"path":"github.com/d2lang/d2/lib/geo","name":"geo","synopsis":"","isRedistributable":true},{"path":"github.com/d2lang/d2/lib/imageasset","name":"imageasset","synopsis":"Package imageasset resolves bounded local, HTTP, and data-URI image resources without depending on a renderer or scene representation.","isRedistributable":true},{"path":"github.com/d2lang/d2/lib/imgbundler","name":"imgbundler","synopsis":"Package imgbundler embeds generated SVG image references as data URIs.","isRedistributable":true},{"path":"github.com/d2lang/d2/lib/label","name":"label","synopsis":"","isRedistributable":true},{"path":"github.com/d2lang/d2/lib/localfile","name":"localfile","synopsis":"Package localfile provides explicit policies for opening regular local files.","isRedistributable":true},{"path":"github.com/d2lang/d2/lib/log","name":"log","synopsis":"Copied from https://pkg.go.dev/log/slog#Handler","isRedistributable":true}],"total":115,"nextPageToken":"5ad70cc3197dad45fed89cbe45911e88"}}
