# Custom connection rendering

**URL:** <https://forum.bpmn.io/t/custom-connection-rendering/3962>\
**Category:** Modeler\
**Created:** [September 29, 2019, 3:58pm UTC](https://forum.bpmn.io/t/custom-connection-rendering/3962 "2019-09-29T15:58:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sebassllr](https://forum.bpmn.io/user_avatar/forum.bpmn.io/sebassllr/32/1287_2.png) [@sebassllr](https://forum.bpmn.io/u/sebassllr)\
**Post date:** [September 29, 2019, 3:58pm UTC](https://forum.bpmn.io/t/custom-connection-rendering/3962/1 "2019-09-29T15:58:36Z")

</div>

Hello,

I need to render a custom connection . I need three types of connection, a regular connection, a dashed connection and a connection with markers at both sydes of the connection.  
I am trying to figure out how to do this. Looking in the examples I found the globalConnect.toggle method but It doesn’t seems to work (With that I am not sure how to custimize the connection) I already implemented a custom renderer. I have also try to create the custom connections using  
elementFactory.createConnection({type:‘bpmn:SequenceFlow’}); But the problem is that I am not sure how to specify the null target and source when I click on the pallete. How can the custom connections?

Thanks.

---

<div class="post-metadata">

**Author:** ![philippfromme](https://forum.bpmn.io/user_avatar/forum.bpmn.io/philippfromme/32/2803_2.png) [@philippfromme](https://forum.bpmn.io/u/philippfromme)\
**Post date:** [September 30, 2019, 6:17am UTC](https://forum.bpmn.io/t/custom-connection-rendering/3962/2 "2019-09-30T06:17:55Z")

</div>

Have you created a [model extension](https://github.com/bpmn-io/bpmn-js-example-model-extension) for your custom connections yet?

---

<div class="post-metadata">

**Author:** ![sebassllr](https://forum.bpmn.io/user_avatar/forum.bpmn.io/sebassllr/32/1287_2.png) [@sebassllr](https://forum.bpmn.io/u/sebassllr)\
**Post date:** [October 2, 2019, 10:05pm UTC](https://forum.bpmn.io/t/custom-connection-rendering/3962/3 "2019-10-02T22:05:39Z")

</div>

I haven’t done it, I have just implemented a custom renderer. I’ll check it out, 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:** [July 22, 2025, 3:30pm UTC](https://forum.bpmn.io/t/custom-connection-rendering/3962/4 "2025-07-22T15:30:24Z")

</div>

Closed on July 22, 2025, 3:30pm UTC


