View source: R/Componentlayouter.R
Componentlayouter is an RStudio-Addin that facilitates layouting networks with several components.
To run the addin, highlight an igraph-object in your current script and select
Componentlayouter from the Addins-menu within RStudio.
Componentlayouter returns the layout as xy coordinates.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.