Open NiklasRentzCAU opened 2 years ago
When viewing this .kgt, the decorator is rotated along a wrong center point:
properties: org.eclipse.elk.direction=RIGHT knode src { krectangle kedge (->dest1) { kspline { kpolygon { points: left, top ; left 40%, top 50% ; left, bottom ; right, bottom 50% styles: lineWidth = 1 foreground = 0r background = 0r lineJoin = round rotation = 180 decoratorData: xoffset = -3 yoffset = -4 width = 8 height = 6 relativePos = 0 absolutePos = 2 rotateWithLine = true } } } } knode dest1 { krectangle }
This is how it should look like (in KIELER):
And this is how it looks like with this code:
When viewing this .kgt, the decorator is rotated along a wrong center point:
This is how it should look like (in KIELER):![rotation-kieler](https://user-images.githubusercontent.com/47597619/127349833-0e7cd339-1fc7-44ec-8ce2-b27f9a006fee.png)
And this is how it looks like with this code:![rotation-keith](https://user-images.githubusercontent.com/47597619/127349866-ab96b7e5-7926-454b-b340-08cf69c74bd9.png)