package d2compiler

Import Path
	github.com/pancsta/d2/d2compiler (on go.dev)

Dependency Relation
	imports 21 packages, and imported by one package

Involved Source Files compile.go Package d2compiler implements a parser, compiler and autoformatter for the Terrastruct d2 diagramming language.
Package-Level Type Names (only one)
/* sort by: | */
Context stops parsing and compilation when canceled. A nil Context is treated as context.Background(). FS resolves imports. Nil disables imports. The lib/localfile package provides rooted and explicit unrestricted host-filesystem policies. MaxEdgeExpansion bounds distinct edge-segment and endpoint combinations considered by edge globs. Zero uses DefaultMaxEdgeExpansion. Explicit edges do not consume this budget. MaxEdgeExpansionWork bounds all endpoint-pair examinations performed by edge globs, including lazy replays. Zero uses DefaultMaxEdgeExpansionWork. MaxGlobExpansion bounds work performed by glob matching and materialization. Zero uses DefaultMaxGlobExpansion. Explicit source fields are not counted as materialization work. MaxVariableExpansion bounds work added by substitutions and automatic copies. Zero uses DefaultMaxVariableExpansion. UTF16Pos bool func Compile(p string, r io.Reader, opts *CompileOptions) (*d2graph.Graph, *d2target.Config, error)
Package-Level Functions (only one)
Package-Level Variables (total 2)
TODO add more, e.g. C, bash