Connection is not shown in diagram with abstract types [message #1691185] |
Thu, 02 April 2015 23:35 |
Tomáš Milata Messages: 15 Registered: March 2015 |
Junior Member |
|
|
Hi,
my model looks like this: I have a Base type and two derived types extending Base (Derived1, Derived2). Both derived types contain list of Next types which have a reference by id to a Base element.
Now when I try to add a connection to this XML using diagram editor:
<Root>
<derived1 id="d1"></derived1>
<derived2 id="d2"></derived2>
</Root>
(from d1 to d2), the connection is generated correctly in the XML:
<Root>
<derived1 id="d1">
<next>
<to>d2</to>
</next>
</derived1>
<derived2 id="d2"></derived2>
</Root>
The diagram, however, displays no connetion.
When I close the editor and reopen it, then the connection is visible. But it cannot be deleted (is removed correctly from xml but not from diagram).
I have provided a minimal runnable example on https://github.com/tomas-milata/SapphireExample.
Am I doing something wrong in the code or this might be a bug?
[Updated on: Fri, 03 April 2015 20:15] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04178 seconds