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
Involved Source Files
abstract_graph_placer.go
component_group.go
component_group_graph_placer.go
component_group_model_order_graph_placer.go
components_compactor.go
components_compactor_external.go
Package components ports ELK Layered 0.8.1's connected-components split
and packing stage.
model_order_component_group.go
rectilinear_hull.go
simple_row_graph_placer.go
Package-Level Type Names (only one)
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.
![]() |
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |