Description Usage Arguments Value Examples
Create a 'sigmaNet' object from an 'igraph' object. The 'sigmaNet' object will be a basic visualization of the 'igraph' object and is meant to be the starting point for the development of a useful 'Sigma.js' visualization. If you are familiar with the 'ggplot' syntax, this is similar to the basic 'ggplot' function.
| 1 2 | 
| graph | An 'igraph' object | 
| layout | The output of one of the 'igraph' layout functions. If not provided, layout_nicely() will be used (note, this will slow things down). | 
| width | Width of the resulting graph - defaults to fit container, probably leave this alone | 
| height | Height of the resulting graph - defaults to fit container, probably leave this alone | 
| elementId | Do not specify, this is used by the 'htmlwidgets' package | 
A 'sigmaNet' object (which is an 'htmlwidget'). This object is meant to be called directly to render a default 'Sigma.js' visualization, or it can be passed to other arguments to change visualization attributes (colors, sizes, interactivity, etc.).
| 1 2 3 4 5 6 7 8 9 10 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.