package d2isometric

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

Dependency Relation
	imports 17 packages, and imported by one package

Involved Source Files hierarchy.go layout.go Package d2isometric builds 3D scenes from compiled D2 diagrams for native image rendering. It composes new geometry without modifying the supplied diagram. sequence.go
Package-Level Type Names (total 8)
/* sort by: | */
HeaderDepth float64 ID string Kind string Label string Level records authored container depth; presentation lowers supporting plates. NodeIDs []string ParentID string Position Vec3 Size Vec3 SourceID string
Original d2target.Connection
Original d2target.Shape
ThemeID *int64 ThemeOverrides *d2target.ThemeOverrides func BuildScene(diagram *d2target.Diagram, opts *RenderOpts) (*Scene, error)
X float64 Y float64 Z float64
Package-Level Functions (only one)
BuildScene maps a single D2 board. IDs, text, endpoint direction, and original shape/edge metadata are retained, including connections to container boards. The returned scene owns its data and is independent of the input diagram.
Package-Level Constants (total 5)
const MaxEdges = 5000
const MaxIDBytes = 8192
const MaxIDDepth = 128
const MaxNodes = 2000
SceneScale maps compiled layout pixels to world-space units.