Hi there,
I draw many elements using "jsonObject = graph.toJSON();" this line.
Then I saved jsonObject in Mongo and load it on graph but only link is not presenting.
Here is the jsonObject.
And I used following code to draw link.
````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````
elements.cells.forEach(element => {
if(element['type'] == "link") {
graph.addCell(element);
}
});
````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````
I thought problem was target and source elements is existing yet. So, I draw other rec and custom elements first and draw link later but end up with this error message.
Do you know what does this message mean?
Many thanks!