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”).
... 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));