You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I'd like the ability to create a graph widget where the zoom functionality is disabled. The motivation is that sometimes the user can accidentally trigger the zoom action, which can make the page more difficult to navigate. This option would render the graph more statically, though tooltips and click hooks would remain available.
Describe the solution you'd like
This could be a constructor argument (e.g., dd3.DagreD3Widget(zoom=False)), since this is not passed as a dagre graph attribute.
Describe alternatives you've considered
I'm not sure if there are alternative ways to disable zoom via javascript.
The text was updated successfully, but these errors were encountered:
Thanks for highlighting this constraint. In that case, my feature request is an option to disable zoom behavior triggered by mousewheel, and replace with an alternative trigger (e.g., Ctrl+mousewheel, 2 buttons).
davidchall
changed the title
Option to disable zoom
Option to disable mousewheel zoom
Dec 12, 2023
Is your feature request related to a problem? Please describe.
I'd like the ability to create a graph widget where the zoom functionality is disabled. The motivation is that sometimes the user can accidentally trigger the zoom action, which can make the page more difficult to navigate. This option would render the graph more statically, though tooltips and click hooks would remain available.
Describe the solution you'd like
This could be a constructor argument (e.g.,
dd3.DagreD3Widget(zoom=False)
), since this is not passed as a dagre graph attribute.Describe alternatives you've considered
I'm not sure if there are alternative ways to disable zoom via javascript.
The text was updated successfully, but these errors were encountered: