[
https://issues.jboss.org/browse/DROOLS-3184?page=com.atlassian.jira.plugi...
]
Michael Anstis commented on DROOLS-3184:
----------------------------------------
[~tari_manga] Yes and no.
You're checking the connection objects exist but then assume:
# Their locations ({{Point2D}} are non-null
# The locatations are absolute to the canvas.
In reality, on debugging, the locations of the connectors end-points can be null and if
non-null are relative to the source/target shape.
So, when you convert the Stunner connector end-points to DMNDI you need to take the
source/target shape location into account too.
[DMN Designer] Edge source and target WayPoints are same
--------------------------------------------------------
Key: DROOLS-3184
URL:
https://issues.jboss.org/browse/DROOLS-3184
Project: Drools
Issue Type: Bug
Components: DMN Editor
Affects Versions: 7.14.0.Final
Reporter: Jozef Marko
Assignee: Matteo Mortari
Priority: Blocker
Labels: drools-tools
Attachments: Screenshot from 2018-10-25 12-12-20.png, a1.dmn, image (2).png
The source of DMN model has same waypoint for edge source and target. If you open the
attached [^a1.dmn] model, there will be:
{code:xml}
<dmndi:DMNEdge id="dmnedge-_594C4BE1-52D0-4009-9D4F-9960957539FB"
dmnElementRef="_594C4BE1-52D0-4009-9D4F-9960957539FB">
<di:waypoint
xmlns:di="http://www.omg.org/spec/DMN/20180521/DI/"
x="50" y="25"/>
<di:waypoint
xmlns:di="http://www.omg.org/spec/DMN/20180521/DI/"
x="50" y="25"/>
</dmndi:DMNEdge>
{code}
However in our designer the edge has different waypoints:
!Screenshot from 2018-10-25 12-12-20.png|thumbnail!
In the external modeling tools, the edge is rendered according to real waypoints and this
the edge is not visible:
!image (2).png|thumbnail!
--
This message was sent by Atlassian Jira
(v7.12.1#712002)