sigmajs (version 0.1.5)

sg_zoom_p: Zoom

Description

Dynamically Zoom a node.

Usage

sg_zoom_p(proxy, id, ratio = 0.5, duration = 1000)

Arguments

proxy

An object of class sigmajsProxy as returned by sigmajsProxy.

id

Node id to zoom to.

ratio

The zoom ratio of the graph and its items.

duration

Duration of animation.