// Copyright (c) 2026 The elk-go Authors.
//
// This program and the accompanying materials are made available under the
// terms of the Eclipse Public License 2.0 which is available at
// https://www.eclipse.org/legal/epl-2.0.
//
// SPDX-License-Identifier: EPL-2.0

// Package builtins registers the layout providers compiled into ELK.js 0.12.0.
package builtins import ( ) // RegisterOptions installs the option metadata needed by the native provider // set. Individual registration functions are idempotent for shared core IDs. func ( *core.OptionRegistry) { basic.RegisterOptions() layered.RegisterOptions() force.RegisterOptions() stress.RegisterOptions() mrtree.RegisterOptions() radial.RegisterOptions() spore.RegisterOptions() rectpacking.RegisterOptions() registerCompatibilityOptions() } // Register installs algorithms in the same relative order as the official // ELK.js 0.12.0 registry. That order is observable during suffix resolution. func ( *core.AlgorithmRegistry) error { for , := range []func(*core.AlgorithmRegistry) error{ basic.Register, layeredlayout.Register, stress.Register, mrtree.Register, radial.Register, force.Register, spore.Register, rectpacking.Register, } { if := (); != nil { return } } return nil }