You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Automation chain drawing: arrows run behind boxes, arrowheads overlap, names are cut off #2865
Follow-up to #2706 (automation dependencies), as agreed in its review: the drawing of an automation's chain needs some work.
In the review demo, a battery schedule waited for a solar forecast and a price check, and the forecast waited for a meter snapshot. In that chain:
An arrow runs behind a box. The arrow from 3: Check day-ahead prices to 4: Battery schedule is a straight line passing under the Solar forecast box, so it looks as if the forecast waits for the price check.
Two arrowheads land on one spot, where two automations both feed the same one, so you can't tell which arrow ends where.
Long names are cut off (3: Check day-ahead pric…), with no way to read the rest.
Ideas: lay the chain out in layers (each automation one column right of what it waits for) and route arrows around boxes, or use a small graph layout library; give each incoming arrow its own spot on the box; show the full name on hover, or wrap it.
I'll start by reproducing a chain where multiple automations depend on the same step, then look at how the current layout positions boxes and routes arrows. I'd aim to make the relationships readable without introducing a larger layout dependency unless it's genuinely needed.
Do you have a preference for improving the existing renderer or exploring a graph-layout library?
Activity
bferanmi806-sketch commentedon Nov 14, 2026
I'd like to work on improving this diagram.
I'll start by reproducing a chain where multiple automations depend on the same step, then look at how the current layout positions boxes and routes arrows. I'd aim to make the relationships readable without introducing a larger layout dependency unless it's genuinely needed.
Do you have a preference for improving the existing renderer or exploring a graph-layout library?