-
Notifications
You must be signed in to change notification settings - Fork 879
Open
Labels
Description
I need to use the bboxes of the links to be able to clip them.
I simply tried: link.getBBox() which seems to return an incorrect value.
Further investigation reveals that getPointFromConnectedLink always returns on this line if there is no port id: if (!portId || !this.hasPort(portId)) return center;
Why is the endDef not taken into account in this case and instead it takes the center of the element(s)?
Thanks.
Steps to reproduce
- Create two elements
- Link them
- Modify the anchor points of the link
link.getBBox()returns incorrect values
Version
4.0.1 jointplus

Reactions are currently unavailable