We are using BPMN node based Modeler in our application ( bpmn-js/lib/Modeler ). We would like to restrict the number of waypoints to ensure that connecting sequence are either horizontal or vertical
Current behaviour ( Image 1 )
Expected behaviour ( Image 2 )
As shown in Image 1 we can drag connecting sequence in different directions ( Render HTML to End node connection in image ), we want to restrict that behaviour and have a clean look always as shown in Image 2 ( Render HTML to End node connection in image ).
Does BPMN JS provide any hook point to control this behaviour ?