retejs / rete

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

reset node id counter #506

Closed imding closed 1 year ago

imding commented 3 years ago

hi, is there a recommended way to reset editor so new nodes are given id from 1 again?

huantaoliu commented 3 years ago

you can call Node.resetId()

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.