You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am following the documentation and trying to deserialize the diagram. I have serialized the diagram perfectly and stored it in a json file. During the deserialization process, I retrieve the saved serialized data, parse it and try to deserialize it. Althought I didnt receive any errors its not working. I am using custom nodes, links and ports to create the diagram. This si my code and Looking forward for your support to solve this issue.
Are you receiving the event? Can you call json.stringify e.data.data, null, 4
I would suggest wrapping the listener callback in another function , and making sure you remove the event listener when navigating away.
I am following the documentation and trying to deserialize the diagram. I have serialized the diagram perfectly and stored it in a json file. During the deserialization process, I retrieve the saved serialized data, parse it and try to deserialize it. Althought I didnt receive any errors its not working. I am using custom nodes, links and ports to create the diagram. This si my code and Looking forward for your support to solve this issue.
const [model, setNewModel] = React.useState(new DiagramModel());
The text was updated successfully, but these errors were encountered: