Skip to content

Automation chain drawing: arrows run behind boxes, arrowheads overlap, names are cut off #2865

Open

Description

@Flix6x

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.

Activity

  1. bferanmi806-sketch commented on Nov 14, 2026

    @bferanmi806-sketch
    Contributor

    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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions