# Change color or width of connection on select

**URL:** <https://forum.bpmn.io/t/change-color-or-width-of-connection-on-select/1057>\
**Category:** Modeler\
**Created:** [October 11, 2016, 6:14am UTC](https://forum.bpmn.io/t/change-color-or-width-of-connection-on-select/1057 "2016-10-11T06:14:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Habr](https://forum.bpmn.io/letter_avatar_proxy/v4/letter/h/848f3c/32.png) [@Habr](https://forum.bpmn.io/u/Habr)\
**Post date:** [October 11, 2016, 6:14am UTC](https://forum.bpmn.io/t/change-color-or-width-of-connection-on-select/1057/1 "2016-10-11T06:14:27Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![nikku](https://forum.bpmn.io/user_avatar/forum.bpmn.io/nikku/32/5130_2.png) [@nikku](https://forum.bpmn.io/u/nikku)\
**Post date:** [October 19, 2016, 1:57pm UTC](https://forum.bpmn.io/t/change-color-or-width-of-connection-on-select/1057/2 "2016-10-19T13:57:02Z")

</div>

Unfortunately that is not too easy to accomplish.

---

<div class="post-metadata">

**Author:** ![SimonSteinruecken](https://forum.bpmn.io/user_avatar/forum.bpmn.io/simonsteinruecken/32/6531_2.png) [@SimonSteinruecken](https://forum.bpmn.io/u/SimonSteinruecken)\
**Post date:** [July 15, 2025, 10:29am UTC](https://forum.bpmn.io/t/change-color-or-width-of-connection-on-select/1057/3 "2025-07-15T10:29:52Z")

</div>

Closed on July 15, 2025, 10:29am UTC


