Closed paul-shannon closed 5 years ago
Resizing is not an internal cyjShiny widget problem after all, nor it it easily solved. It is a consequence of the fluidPage offered (and most often used) by Shiny. An alternative, significantly harder to use, and therefore a poor option for most developers who wish to the cyjShiny widget, is filledPage. Note, in the example provided, the custom css required to make filledPage work.
I recommend that developers using cyjShiny widget stick with the fluidPage layout, and set a reasonable width and height for the widget via the cyjShiny constructor. cyjShiny examples use this approach. RStudio/Shiny may provide more convenient layout options in time.
cyjShiny(graph, layoutName, styleFile=NA, width, height)
The strategy to follow is described here.