Skip to content

Constraint pan to container #372

@krumpyzoid

Description

@krumpyzoid
  • While using ZoomableGroup, if you zoom in then zoom out, there is a high probability that the graph wont be centered in the container.

Additionally, I would like to limit the panning so that at 0 zoom you cannot pan, and while zoomed in you can pan but not go "outside" and have empty space on the sides.

I haven't found a strategy to implement this, has anyone managed to do so ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions