API Docs for:
Show:

PanZoomModule Class

Module: topology.panzoom
Parent Module: topology

Handle PanZoom within a Topology.

Emitted events:

  • rescaled: post-zoom event, after the scene has been rescaled, queried object positions should be accurate.

Methods

_fire_zoom

()

Wrapper around the actual rescale method for zoom buttons.

rescale

()

Rescale the visualization on a zoom/pan event.

zoom_in

()

Zoom in event handler.

zoom_out

()

Zoom out event handler.

zoomHandler

()

Handler for 'zoom' event.

Events

rendered

Build pan and zoom functionality when the canvas is rendered.

zoom

Fired when the canvas is zoomed.