Hey,
I'm just dipping my toes into godot, and while most things are very clear and easy to use I find that I have difficulty in figuring out best practices.
For example.
I have a ui tree control which should represent a filtered and mutated list of scene nodes. (Research items in a research tree) I want this to update automatically when the scene or relevant variables change. Obviously I could rebuild the whole tree every _process cycle. I'm guessing that it's not a very efficient way of doing things. Also I'm worried it will mess up things like selection and tree position/selection/node collapse.
What would be a good way to keep a tree (Or item list) in sync with nodes?