When working on jupyterlab-dagitty I coded pan & zoom, mostly using dagitty's public API (see here). I configured it to only kick in for Ctrl + mouse wheel/drag so that we can still move nodes/edges around as before, but another hotkey could be used too. Please let me know if you are interested in adding this to dagitty itself, I would be happy to open a PR.
When working on jupyterlab-dagitty I coded pan & zoom, mostly using dagitty's public API (see here). I configured it to only kick in for Ctrl + mouse wheel/drag so that we can still move nodes/edges around as before, but another hotkey could be used too. Please let me know if you are interested in adding this to dagitty itself, I would be happy to open a PR.