package d2elklayout

Import Path
	oss.terrastruct.com/d2/d2layouts/d2elklayout (on go.dev)

Dependency Relation
	imports 16 packages, and imported by one package

Involved Source Files elk.go d2elklayout is a wrapper around the Javascript port of ELK. Coordinates are relative to parents. See https://www.eclipse.org/elk/documentation/tooldevelopers/graphdatastructure/coordinatesystem.html
Package-Level Type Names (total 10)
/* sort by: | */
Algorithm string EdgeNodeSpacing int NodeSpacing int Padding string SelfLoopSpacing int func Layout(ctx context.Context, g *d2graph.Graph, opts *ConfigurableOpts) (err error) var DefaultOpts
const Down const Left const Right const Up
BendPoints []ELKPoint End ELKPoint Start ELKPoint
Children []*ELKNode Edges []*ELKEdge ID string LayoutOptions *elkOpts
X float64 Y float64
const East const North const South const West
Package-Level Functions (total 2)
Package-Level Variables (only one)
Package-Level Constants (total 8)
const Down Direction = "DOWN"
const East PortSide = "EAST"
const Left Direction = "LEFT"
const North PortSide = "NORTH"
const Right Direction = "RIGHT"
const South PortSide = "SOUTH"
const Up Direction = "UP"
const West PortSide = "WEST"