apache / incubator-kie-issues

Apache License 2.0
12 stars 1 forks source link

DMN Editor does not display properties of edges #1450

Open jomarko opened 3 months ago

jomarko commented 3 months ago

In the attached screenshot we see selected edge, however the opened properties panel displays properties global properties of the diagram itself. The properties panel should in this situation either:

If we check check the diagram source code, there is no edge with ID shown in the properties panel from the screenshot. dmn-source-code

ljmotta commented 3 months ago

@jomarko Great finding! I believe we could keep it blank as the prior editor in a first interaction. I took a look into the DMN spec [1] to check the edge properties, on section 13.4.5 we can see that DMNEdge specializes DMNDiagramElement, enabling the possibility to add the DMNStyle to it. Also, all edges inherits from DMNElement, meaning the edge could have other optional properties, like the description and label.

[1] https://www.omg.org/spec/DMN/1.5/PDF