@Dominic.Lerbs wrote:
Hi,
following data is bound to a node:
I pass the node.data object to another component, which deletes one item from the types array. Now the item in types array with index 3 is deleted (“erp”).
I execute
... node.updateRelationshipsFromData(); diagram.commitTransaction("delete type");
But the panel of that item is still there (still 5 items there, althought “ERP-System” was deleted):
The following works (at least for the panel), but shouldnt updateRelationshipsFromData do the same job?
node.data = JSON.parse(JSON.stringify(typeGroup));
Posts: 4
Participants: 2