Help us shape the future of Go! Take the 2026 Go Developer Survey

internal/

directory
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 29, 2026 License: Apache-2.0

Directories

Path Synopsis
Package core turns a inkline source file into plain D2: it expands per-diagram shorthand and gives every object and connection a semantic role (see spec/roles.md).
Package core turns a inkline source file into plain D2: it expands per-diagram shorthand and gives every object and connection a semantic role (see spec/roles.md).
Package designsystem loads a design system: D2 style files (layer 2) plus the render settings and SVG decorators it needs (layer 3).
Package designsystem loads a design system: D2 style files (layer 2) plus the render settings and SVG decorators it needs (layer 3).
Package ids names the objects inkline generates.
Package ids names the objects inkline generates.
Package post applies a design system's SVG decorators to D2 output: the parts of a visual language D2's style model cannot express (Carbon side bars, colour blocks, pill labels, strike-through).
Package post applies a design system's SVG decorators to D2 output: the parts of a visual language D2's style model cannot express (Carbon side bars, colour blocks, pill labels, strike-through).
Package render turns expanded D2 into SVG using D2's Go packages, so inkline needs no d2 executable.
Package render turns expanded D2 into SVG using D2's Go packages, so inkline needs no d2 executable.
Package route draws connections D2 leaves to a pluggable router: those that cross between nested layouts, such as swimlane steps in different lanes.
Package route draws connections D2 leaves to a pluggable router: those that cross between nested layouts, such as swimlane steps in different lanes.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL