Closed nimeshrevo closed 1 year ago
Got it's solution for now, a simple hack worked as the state was not being updated, just posting in any case if someone requires it. The idea is to wrap the last statement with while loop.
while state.expanded_nodes != tree_value["expanded"]:
state.expanded_nodes = tree_value["expanded"]
Hello,
I want to keep the current state, of expansion of the tree even when some action is done. I tried with the following code, but it turns out that expansion needs to be done twice.
Any clues would be appreciated! Thank you!