I am using GoJs v2.1.42 in combination with Electron and NodeJs on Windows10.
Is there any possible way to update the whole GoJs Diagram after the side has got new Arrays for NodeDataArray and Link Data Array?
The Website asks in specific time periods for new data. If the data got changed it overwrites the old data, which can be also the data for the Diagram. How can I manually update the Diagram via a js function, after updating the data?
Code example:
function data_update(new_data){
if(old_data != new_data){
old_data = new_data;
update_diagram();
}
}
How should the update_diagram term be written?
I have searched through other topics, but none of them have worked, nor have I found a really suitable solution.