Go js ask me is that really your intent

i m trying to add some properties on link drawn event by model.set () but it gives me a message in console “is that really your intent” as shown in figure y is it doing that instead of just adding that property to link data?

The warning message is pointing out that you are calling Model.setDataProperty on an instance of a Link (part of the Diagram), not on a JavaScript data Object that is part of the GraphLinksModel.

That is likely an error in your code.

Is the code to add a new property to link data just crated right? cz i dont get that error without it?

Thanx again got it what you said.