package components

Import Path
	github.com/d2lang/elk-go/internal/layered/components (on go.dev)

Dependency Relation
	imports 6 packages, and imported by one package


Package-Level Type Names (only one)
/* sort by: | */
ComponentsProcessor splits an unlayered graph into connected components and combines the fully laid-out components again. (*ComponentsProcessor) Combine(arena *layered.LGraphArena, components []layered.LGraphID, target layered.LGraphID) error (*ComponentsProcessor) Split(arena *layered.LGraphArena, graphID layered.LGraphID) ([]layered.LGraphID, error) func NewComponentsProcessor() *ComponentsProcessor
Package-Level Functions (total 2)
MakeLayerless reproduces ElkLayered.layout's final layer cleanup. Component placement requires every laid-out graph to be unlayered again.