Javascript – How to write a function to navigate through a non-binary tree?
I have a company organisation chart I built in React/Nextjs using the 'react-organizational-chart' npm package. I would like the user to be able to navigate up/down and side to side on the non-binary tree with either their keyboard keys, on…