Size coordination workplans by chokepoint in-degree (RAIL-FAB-WP-0029-T01).

Coordination nodes and edges now carry visualSize and edgeWidth, which the
explorer styles already read.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

Assistant: claude-code
Assistant-Model: opus
Assistant-Process: 7458@bnt-lap001
Assistant-Session: 62534cdf-8348-48a7-9c0d-46e0f74c8eae
This commit is contained in:
codex 2026-09-22 08:06:04 +02:00
parent a9e677986a
commit 7dd4b062a8
2 changed files with 27 additions and 2 deletions

View file

@ -158,6 +158,13 @@ def test_indexed_depends_on_outranks_citation_fallback() -> None:
if el["data"]["id"] == "workplan:wp-b"
)
assert chokepoint == 1
sizes = {
el["data"]["id"]: el["data"]["visualSize"]
for el in payload["elements"]
if el["data"]["id"].startswith("workplan:")
}
assert sizes["workplan:wp-b"] > sizes["workplan:wp-a"]
assert all(e["edgeWidth"] > 0 for e in edges)
def test_canonical_id_depends_on_resolves_to_hub_uuid() -> None: