igraph_demo | R Documentation |
Run one of the accompanying igraph demos, somewhat interactively, using a Tk window.
igraph_demo(which)
which |
If not given, then the names of the available demos are listed. Otherwise it should be either a filename or the name of an igraph demo. |
This function provides a somewhat nicer interface to igraph demos that come
with the package, than the standard demo()
function. igraph
demos are divided into chunks and igraph_demo()
runs them chunk by
chunk, with the possibility of inspecting the workspace between two chunks.
The tcltk
package is needed for igraph_demo()
.
Returns NULL
, invisibly.
Gabor Csardi csardi.gabor@gmail.com
demo()
igraph_demo()
if (interactive() && requireNamespace("tcltk", quietly = TRUE)) {
igraph_demo("centrality")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.