retejs / rete

JavaScript framework for visual programming
https://retejs.org
MIT License
10.17k stars 653 forks source link

FromJson() not working as expected #472

Closed cyango closed 1 year ago

cyango commented 4 years ago

Hi, I'm struggling with exporting/importing the node editor "state" of all nodes including connections and controls. When I do await editor.fromJson() it restores the nodes and node.data but it does not restore the connections nor the control state of the previously saved editor.

I'm using React. Can anybody help me?

imding commented 3 years ago

do you have an example?

Ankita-TechVariable commented 3 years ago

Does it have a workaround?

granttebeau commented 3 years ago

Has this been solved or looked at?

imding commented 3 years ago

I'm using Rete and React with TypeScript on a live project with no fromJson issue, if someone can provide an example I can help look into it :)

rete-js[bot] commented 1 year ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 10 days.