Reload data in webix diagram via the load function

Hello,

is there a way how I can reload data and links via the load function of the Webix diagram view?

The exact use case looks like this: The user selects a dataset from a combo box to be displayed. After that the data should be loaded from the backend and displayed in the diagram.

Currently I have only managed to reload the nodes, not the links.

Thanks for the help and greetings
Gorden

Hello @gokap001,

You could try to use parse method of diagram inside of the combo’s onChange event. Here’s a solution with the data on front end, you could try to implement something like that with the backend data: Code Snippet

1 Like

This is exactly the solution I was looking for. Thanks for the answer.