Thank you very much for your work. It has been very useful for the task I'm working on.
However, I require using a vis-network specific option :
I need to sort hierarchically my nodes thanks to the "directed" sort method.
When doing this combined with your animation feature, the tree is displaced to the left each time I press down the "try it" button.