package placement

Import Path
	github.com/pancsta/d2/d2layouts/d2talalayout/internal/placement (on go.dev)

Dependency Relation
	imports 21 packages, and imported by one package


Package-Level Functions (total 14)
BalanceSymmetry centers simple nodes among neighbors aligned on one side.
dejitter performs micro-movements on nodes to remove the jittery connections that can be straightened out with slight adjustments in one direction E.g. jittery line: . +---------> . +-----------+
Equidistance centers nodes between aligned neighbors. A ---------------- B ------ C Move B to the midpoint of A and C.
make clusters horizontal if cluster connections are above or below cluster
func Pad(graph *layoutgraph.Graph)
func Place(ctx context.Context, graph *layoutgraph.Graph, seed int64) error
func Prepare(graph *layoutgraph.Graph)
func Prescale(graph *layoutgraph.Graph)