Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-3184

[DMN Designer] Edge source and target WayPoints are same

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • None
    • 7.14.0.Final
    • DMN Editor
    • Hide
      1. Open workbench project
      2. Add new DMN diagram
      3. Add two nodes: InputData, Decision
      4. Connect them with InformationRequirement: InputData -> Decision
      5. Save the diagram and check its source file
        1. There will we two same waypoints for the edge
        2. There should be two different waypoints for the edge
      Show
      Open workbench project Add new DMN diagram Add two nodes: InputData, Decision Connect them with InformationRequirement: InputData -> Decision Save the diagram and check its source file There will we two same waypoints for the edge There should be two different waypoints for the edge
    • NEW
    • NEW

      The source of DMN model has same waypoint for edge source and target. If you open the attached a1.dmn model, there will be:

      <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>
      

      However in our designer the edge has different waypoints:

      In the external modeling tools, the edge is rendered according to real waypoints and this the edge is not visible:

      Manual acceptance test

      • Save and reopen diagrams from sections below
      • Import to external tool diagrams form sections below

      Nodes connected manually

      • Default magnet points
      • Explicit magnet points

      Nodes connected automatically

      • Default magnet points
      • Explicit magnet points

        1. a1.dmn
          3 kB
          Jozef Marko
        2. Screenshot from 2018-10-25 12-12-20.png
          11 kB
          Jozef Marko
        3. image (2).png
          22 kB
          Jozef Marko
        4. error.log
          8 kB
          Jozef Marko
        5. a2.dmn
          3 kB
          Jozef Marko
        6. a4.dmn
          3 kB
          Jozef Marko
        7. a1.dmn
          3 kB
          Jozef Marko
        8. a3.dmn
          3 kB
          Jozef Marko

            mmortari@redhat.com Matteo Mortari
            rh-ee-jomarko Jozef Marko
            Jozef Marko Jozef Marko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: