Skip to content

Question: Is there a way to pan and zoom to specific coordinates on the graph? #409

Open
@Taresin

Description

@Taresin

Is your feature request related to a problem? Please describe.
I would like to programmatically zoom in to a particular node.
There is nothing I could find on the documentation.
There was a hint at an instance variable called _zoomConfig but there's no examples or documentation on how to use it.

Describe the solution you'd like
If modifying _zoomConfig is the expected way to solve the problem, would it be possible to add some documentation supporting how to use it?
(I'm happy to learn how to use it and do the documentation myself for others' benefit)

Otherwise, wasn't sure if it was a new feature that needed to be implemented to expose the d3-zoom behavior.

Describe your use case
My particular use case is a find and zoom, but I'd imagine there are other use cases for zooming programmatically.

Describe alternatives you've considered
N/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions