how can i update the key of nodedata, so that i can use the function diagram.model.findNodeDataByKey.
In my app the id of an object change, when i save it to the database. And this id i use as key property.
I try the function updateTargetBindings, but it not work
You have to call Model | GoJS API, as always for a model change, within a transaction.