Add New Connectors

I would like to add custom connectors with different rendering and different connection rules

I have had a look at custom elements but could not figure out how to add a new custom connector and associated new bpmn rules.

I would really appreciate a help here.

Are you sure bpmn-js is the right choice? What’s your use case?

1 Like

I am trying to evaluate bpmn-js/diagram-js for diagrams like UML class diagrams that have different elements and different type of connectors. I have successfully created custom elements (contextPad, render, palette, properties etc) just the connector part is left - I need to have many types of connectors.

If your domain is UML it doesn’t make sense to use bpmn-js. Building on top of diagram-js is perfectly reasonable.