SiLeBAT / fcl-client

Web app for analyzing food delivery networks
https://silebat.github.io/fcl-client/
GNU General Public License v3.0
7 stars 2 forks source link

Refine display of legend entries. #795

Closed arne-z closed 2 months ago

arne-z commented 3 months ago

Merging this commit will change the behaviour of the legend to be sorted by the index as the rules appear in the highliting rules table. For rules that have both a Station and a Delivery rule, the lower of the two indecies is used. Jumping can now only occur if a user deliberately sorts the delivery and station highliting rules differently.

Additionally the graphviewcomponent and highliting service functions that needed to be ajusted for this change where refactored.

Ticket: #785

arne-z commented 3 months ago

Note to self: Concat before map to dry the map reduce? Or named function for the map if types don't allow concat first?