MindFreeze / ha-sankey-chart

A Home Assistant lovelace card to display a sankey chart. For example for power consumption
MIT License
348 stars 15 forks source link

Order parent connections by parent entity position #201

Open madsciencetist opened 1 month ago

madsciencetist commented 1 month ago

It seems like connections are sorted by child order on the right but not by parent order on the left. Is there a way to prevent these connections from crossing, without changing entity order?

image

MindFreeze commented 1 month ago

Currently, no. I have to add sorting of the connections before their coordinates are calculated.