I have a diagram with custom shapes, and I want to position the connectors accordingly. I have not found any examples for positioning connectors, and the API reference has the very unhelpful:
The function that positions the connector.
So what are the parameters (if any) this function takes? What should it return? The Point object where I want the connector the be located (relative to the shape)?
For reference, my custom shape has the SVG path: 'M 20 0 L 190 0 L 170 60 L 0 60 z' (a rhombus), and I want the left and right connectors to be on the diagonal lines, not floating.