feat: add support for more UML arrowheads (#7391)

This commit is contained in:
David Luzar
2023-12-06 16:00:00 +01:00
committed by GitHub
parent a04cc707c3
commit b9cfbc2077
15 changed files with 449 additions and 216 deletions

View File

@ -1444,7 +1444,7 @@ export class LinearElementEditor {
x2 = maxX + element.x;
y2 = maxY + element.y;
} else {
const shape = ShapeCache.generateElementShape(element);
const shape = ShapeCache.generateElementShape(element, null);
// first element is always the curve
const ops = getCurvePathOps(shape[0]);