I'm trying to save and load a jsPlumb flowchart, but I'm having a problem when recreating the connections. They are overlapping each other when I try to load it. Image 1 shows how I saved the flowchart and Image 2 shows how it is loaded.
I've seen this topic and this one and using endpoint.anchor.x
and endpoint.anchor.y
or connectionInfo.sourceEndpoint.anchor.x
or connectionInfo.sourceEndpoint.anchor.y
simple doesn't work. If I print it with console.log
it shows undefined
. I don't know if it's something about version or whatever but it looks like 'anchor' doesn't have 'x' and 'y'. I'm using jsPlumb 1.5.5