Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
inkline
command
Command inkline renders inkline diagrams: D2 files with a inkline header.
|
Command inkline renders inkline diagrams: D2 files with a inkline header. |
|
internal
|
|
|
core
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). |
|
designsystem
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). |
|
ids
Package ids names the objects inkline generates.
|
Package ids names the objects inkline generates. |
|
post
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). |
|
render
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. |
|
route
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. |
|
Package kits embeds the bundled design systems, one kit per directory.
|
Package kits embeds the bundled design systems, one kit per directory. |
Click to show internal directories.
Click to hide internal directories.