fitSelected: Set zoom and center of the graph display so that the...

View source: R/cyjShiny.R

fitSelectedR Documentation

Set zoom and center of the graph display so that the currently selected nodes fill the display

Description

Set zoom and center of the graph display so that the currently selected nodes fill the display

Usage

fitSelected(session, padding = 50)

Arguments

session

a Shiny server session object.

padding

integer, default 50 pixels.

Value

Nothing

See Also

fit

Examples

## Not run: 
fitSelected(session, 100)

## End(Not run)


cyjShiny documentation built on March 31, 2023, 10:24 p.m.