Dash-leaflet: highlight a line?

Hello,

I built a map using dash-leaflet that shows points and connecting lines on a map.

Under certain circumstances, I want to highlight some of these lines.

Or somehow visual indicate that they are important.

Is there a straightforward example for how to do this?

Not a straight forward way, was exploring the dash-leaflet repo recently and added a lot of extra functionality to lines in general. You can test them out via my fork of the repo:

This could also be helpful in giving an overview of what was added: