Run one of the accompanying igraph demos, somewhat interactively, using a Tk window.
Details
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()
.
Author
Gabor Csardi csardi.gabor@gmail.com
Examples
igraph_demo()
#> [1] "centrality" "cohesive" "community" "crashR" "hrg"
#> [6] "smallworld"
if (interactive() && requireNamespace("tcltk", quietly = TRUE)) {
igraph_demo("centrality")
}