[jboss-jira] [JBoss JIRA] (DROOLS-3184) [DMN Designer] Edge source and target WayPoints are same
Michael Anstis (Jira)
issues at jboss.org
Fri Oct 26 04:33:00 EDT 2018
[ https://issues.jboss.org/browse/DROOLS-3184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13653218#comment-13653218 ]
Michael Anstis commented on DROOLS-3184:
----------------------------------------
[~jomarko] Yes, this is the same as both [~karreiro] and I found.
It is caused when the User adds an additional node using the toolbox icons for the new node (as opposed to adding two nodes manually and then adding the connector). This is because when adding a connector automatically it is "fixed" to the source/parent shapes centre point. The connections' locations are relative to the shapes' centre point and (I have to assume that) when attached to the centre the connectors end-point is {{null}}. When adding the connector manually it is attached to the shapes left/right edge and the end-points non-{{null}} BUT *relative* to the shape's location.
> [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, error.log, 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)
More information about the jboss-jira
mailing list