Hello, I want a custom key for each node in the diagram.
I’m using a palette with nodes, when i drop a element from the palette to the diagram, i was override the OnNodeAdded method.
I am using a static count that start in 900, the key of the first element dropped in the diagram must be 901 but is 902, the next 904 …
The code of the overrided method is:
Cast node to -> GraphLinksModelNodeData after: the key is asigned a custom key with a 900 value and after increment this counter in one.