Package-level declarations
Layout result types, transformation utilities, and bounding box helpers. TreeLayoutResult is a concrete class providing chainable coordinate transforms (mapped, centered, scaledTo, normalized, translated). LayoutTransition enables animated interpolation between two layout states. Extension functions toJson and fromJson provide zero-dependency JSON serialization.
Types
Functions
Link copied to clipboard
fun <T> TreeLayoutResult.Companion.fromJson(json: String, keyToNode: (String) -> T): TreeLayoutResult<T>
Deserializes a TreeLayoutResult from a JSON string previously produced by toJson.
Link copied to clipboard
Serializes a TreeLayoutResult to a JSON string.