I am using the ForcedDirectedLayout and I have bound the location to viewData using the following line :
new go.Binding("location", "viewData", go.Point.parse).makeTwoWay(go.Point.stringify).
We save the position of the nodes in the map using an API that saves my viewData into the DB.
But the problem is when I reload the map, I am getting the right viewData from DB, but goJs after reading the viewData, is shrinking all the nodes in the Map.
Even though I have moved two nodes far away and have stored the location, these nodes are coming closer when I reload it back.
Is there any config I am missing? Can you please help me with this?