to Spec
fun toSpec(spaceName: String, originX: Double? = null, originY: Double? = null, cellSize: Double? = null): GridGeometrySpec(source)
A neutral GridGeometrySpec snapshot of this graph's structure (dims, topology, obstacles, costs) for the space drawn as spaceName. originX/originY/cellSize optionally pin the grid's physical placement in world coordinates (else the renderer derives it from the space's bounds). P5a/G2.