Skip to content

Option to disable mousewheel zoom #130

@davidchall

Description

@davidchall

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureFeature requests or improvementsgood first issueGood for newcomers

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions