DynamoDS / DynamoWishlist

This is a repository for all wishlist items for Dynamo Core
https://github.com/orgs/DynamoDS/projects/3
Apache License 2.0
15 stars 3 forks source link

Debug run mode for executing a Dynamo graph #214

Open Thomas84 opened 2 years ago

Thomas84 commented 2 years ago

What improvement/feature would you like to see in Dynamo?

If you run a Dynamo graph the results are calculated from left to right, step by step. And if you change something in the middle, only the part on right gets calculated, because the part on the left side is calculated already.

Wouldn't it make sense to implement a debug run mode, where it saves the calculated values after each node, and if the process is killed (for whatever reason), Dynamo will continue the calculation with the values calculated already before? Something like a "data remember" function for each node.

QilongTang commented 2 years ago

I believe data remember node is available already with Generative Design Package? Can you confirm @saintentropy @DynamoDS/generative-design

Thomas84 commented 2 years ago

I believe data remember node is available already with Generative Design Package?

ye, the data remember node is available and this functionality should be implemented into each node when running in debug mode (without placing everywhere a data remember node). Maybe it makes sense to save the remembered data in a extra temporary debug storage and not in the script itself. If u calculate a large dataset and at a specific node is an error and your script freezes/crashes, it may be useful not to recalculate everything again in the subsequent attempt. Instead it should start calculate just only the part where i will do changes to the script or where I manually make a setting to "recalculate this specific node". The upper stream nodes should use the remembered data.