[jboss-jira] [JBoss JIRA] (DROOLS-2569) [DMN Designer] Marshalling of magnet positions
Michael Anstis (JIRA)
issues at jboss.org
Mon May 21 17:17:00 EDT 2018
[ https://issues.jboss.org/browse/DROOLS-2569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13579876#comment-13579876 ]
Michael Anstis commented on DROOLS-2569:
----------------------------------------
[~roger600] Hi, not sure it helps on it's own!
However I see BPMN uses "waypoints" to define connector end-points (and others for presumably orthogonal lines).
{code}
<bpmndi:BPMNEdge id="_tGgC5Vj0EeiASpIQ4UhanA" bpmnElement="_15A3A674-931B-4285-9F3C-91F2DB5B7EC2" sourceElement="_tGgC4lj0EeiASpIQ4UhanA" targetElement="_tGgC41j0EeiASpIQ4UhanA">
<di:waypoint xsi:type="dc:Point" x="128.0" y="128.0"/>
<di:waypoint xsi:type="dc:Point" x="313.0" y="128.0"/>
</bpmndi:BPMNEdge>
{code}
I assume we'd need to also store the "waypoints" and use them when unmarshalling.
Do you recall whether the "snap to closest magnet" is "Stunner" or specific to the BPMN marshaller?
> [DMN Designer] Marshalling of magnet positions
> ----------------------------------------------
>
> Key: DROOLS-2569
> URL: https://issues.jboss.org/browse/DROOLS-2569
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Reporter: Michael Anstis
> Assignee: Matteo Mortari
>
> When attaching connectors to different magnets (other than "centre") re-opening a DMN diagram resets connections to the "centre" magnet. IDK if this is an issue with writing magnet positions to the XML or recreating the connections from the XML.
> [~tari_manga] could you please liaise with [~roger600] to understand where the issue is?
> h2. PR Acceptance test
> In DMN Designer, change magnet position in:
> - Source node
> -- BKM, BKS, Decision, Input
> - Target node
> -- BKM, BKS, Decision, Annotation
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list