I’m having a bit of trouble understanding how to extend bpmn to allow connecting shapes when connector waypoints are incomplete. By incomplete I mean that when waypoints are present within an XML, the default renderer (layouter?) assumes the source and target are there.
If, for example, I get an array of waypoints for a line with two bends - it only has those two bends as points and does not include the source or target. How can I ensure that when I import the XML the line will correctly link to a source and target? Currently it just draws a line between the points it has, neither end connecting to a task. Unfortunately, I don’t have a way to modify the service that generates the waypoints.
I’ve read through a lot of the examples in Github and given on this forum but so far I have had no success.