arc: z-order in the slice engine + gitops collapse tune (shard and cluster nests)

This commit is contained in:
2026-08-17 14:28:45 +10:00
parent 7a82fca26e
commit c0b9359e27
5 changed files with 22 additions and 4 deletions
+1
View File
@@ -74,6 +74,7 @@ def emit(name, tag, spec):
poly = poly[::k]
parts.append(dict(
name=part["name"], title=part["title"], blurb=part["blurb"],
z=part.get("z", 0),
points=[[round(float(x) / W * 100, 2), round(float(y) / h * 100, 2)] for x, y in poly],
cx=round(float(np.mean(xs)) / W * 100, 2), cy=round(float(np.mean(ys)) / h * 100, 2)))
ax, ay = next((p["cx"], p["cy"]) for p in parts if p["name"] == spec["anchor"])