makeUniqueKeyFunction is not called for first node of a template #19
Labels
question; belongs in forum
This isn't an issue with GoJS, so doesn't belong here -- post at https://forum.nwoods.com/c/gojs/11
We adapted load() from the workflow sample to generate unique UUIDs (similar to stateChartIncremental sample).
Now we noticed that for the first node of a specific template the function is never called.
For the stateChartIncremental this would mean that the additional data.id for every first node of a specific template when taken from a palette would not be set.
Did some further testing:
It seems to be dependent on the nodeKeyProperty. When set the function is called.
When adding to the model
the function gets called, but it is unclear why there is also a "key" saved, which is even not unique.
The text was updated successfully, but these errors were encountered: