Preserve structured serialization of routing snapshots

Allow dataclass and JSON conversion to traverse seed and result mappings while keeping the public snapshot mutation methods read-only.
This commit is contained in:
Jan Petykiewicz 2026-11-29 16:37:28 -08:00
commit 725f385ba3

View file

@ -53,6 +53,8 @@ The fields below appear in constructor order. Use one layout unit for coordinate
Check `is_valid` and keep the effective net and geometry settings with each placement recipe. [Placement workflow](route-a-layout.md#save-a-placement-recipe)
For structured logging, `dataclasses.asdict(run)` preserves the per-net fields. Choose how to encode the Shapely polygons when writing JSON.
## Options and defaults
`RoutingOptions` accepts six option groups. Each group uses the defaults in its table when omitted.