Hi,
I am looking for an way to reload my data on the model everytime the page load.
My GO JS diagram is part of a 3rd tab of a modal popup, so diagram is loaded up as soon as the modal popup is loaded. But as part of the second tab i make some changes to a data that is loaded up in my diagram but when i come to the third tab, The diagram still shows the old data.
so i am looking for a way to reload the data modal everytime the page is loaded.
I did try by adding the below methods as part of function which is loaded everytime the page is reloaded
myDiagram.model = new go.GraphLinksModel(vm.nodeDataArray, vm.linkDataArray);
myDiagram.requestUpdate();
but this just reloads the diagram but still shows the old data. any other recommendation ?