gabotechs / dep-tree

Tool for helping developers keep their code bases clean and decoupled. It allows visualising a code base complexity using a 3d force-directed graph of files and the dependencies between them.
https://github.com/gabotechs/dep-tree
MIT License
1.5k stars 38 forks source link

Better navigation through the 3D space #89

Closed gabotechs closed 3 months ago

gabotechs commented 5 months ago

One option would be to implement WASD navigation.

gabotechs commented 3 months ago

I've played with this, and the other options for navigating https://github.com/vasturiano/react-force-graph seem far worst.

For example, the WASD doesn't work properly in chrome and you have a plugin that maps those keys to some action, and it's hard to click nodes because the mouse pointer is now used to move the camera, so trying to reach a node with the mouse will inevitably move the camera.