Change color or width of connection on select

Hi,
I’m wondering if there is a way how to change stroke-width of a connection on its selection. I have tried to add a marker and style it, but nothing has changed. I would like to have connections highlighted somehow when selected. Thanks.

Unfortunately that is not too easy to accomplish.