Stylish Tree Layout Engine
class StylishTreeLayoutEngine<T>(val rowHeightPx: Float = 48.0f, val indentPx: Float = 20.0f, val horizontalPaddingPx: Float = 0.0f) : StylishLayoutEngine<StylishTreeLayoutInput<T>>
Deterministic tree layout and semantics plan for native and Compose renderers.
StylishTree remains the reference Compose renderer. A Web, SwiftUI, or desktop renderer can consume this same output to preserve row geometry, identity, and accessibility semantics without importing Compose. Coordinates are in viewport pixels.
Functions
Link copied to clipboard
open override fun layout(input: StylishTreeLayoutInput<T>, viewport: StylishViewport): StylishRenderPlan