[jboss-jira] [JBoss JIRA] (DROOLS-4033) [DMN Designer] Save Stunners MagnetConnector.auto property

Michael Anstis (Jira) issues at jboss.org
Wed May 15 09:43:00 EDT 2019


     [ https://issues.jboss.org/browse/DROOLS-4033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Anstis updated DROOLS-4033:
-----------------------------------
    Description: 
Further to DROOLS-3702 we are approximating Stunner's {{MagnetConnector}} _auto_ property when unmarshalling a DMN XML file. 

Connectors made using the toolbox (either by adding a connector between two existing nodes or adding a new connected node) are {{auto=true}}. Moving a connector end-point to a Magnet manually (other than "centre") sets {{auto=false}}. It is these situations when re-opening the file can give a different visualisation of the connectors. We need to store the connectors _auto_ property as a DMN extension if we are to ensure re-opening any file preserves the connectors appearance.  

  was:
1. Add a `Decision Node`
2. Add a `Input Data Node` bellow `Decision Node`
3. Connect `Input Data Node` to `Decision Node`
4. Save
5. Close
6. Open againThe arrow from `Input Data Node` to `Decision Node` will be at right of the `Decision Node` and if you move the `Input Data Node`, the arrow is not repositioned.
I noticed this in DMN Showcase and in drools-wb.
And if you add a new `Decision Node` and a new `Input Data Node`, without save and close, it behaves as expected.



> [DMN Designer] Save Stunners MagnetConnector.auto property
> ----------------------------------------------------------
>
>                 Key: DROOLS-4033
>                 URL: https://issues.jboss.org/browse/DROOLS-4033
>             Project: Drools
>          Issue Type: Bug
>          Components: DMN Editor
>            Reporter: Daniel José dos Santos
>            Assignee: Michael Anstis
>            Priority: Major
>              Labels: Stunner, drools-tools
>             Fix For: 7.21.0.Final
>
>         Attachments: auto-magnets.gif, fixed-magnets.gif, process-designer-connectors-magnets-issues.png, weird_arrow.gif
>
>
> Further to DROOLS-3702 we are approximating Stunner's {{MagnetConnector}} _auto_ property when unmarshalling a DMN XML file. 
> Connectors made using the toolbox (either by adding a connector between two existing nodes or adding a new connected node) are {{auto=true}}. Moving a connector end-point to a Magnet manually (other than "centre") sets {{auto=false}}. It is these situations when re-opening the file can give a different visualisation of the connectors. We need to store the connectors _auto_ property as a DMN extension if we are to ensure re-opening any file preserves the connectors appearance.  



--
This message was sent by Atlassian Jira
(v7.12.1#712002)



More information about the jboss-jira mailing list