igraph (version 0.6-2)

igraphdemo: Run igraph demos, step by step

Description

Run one of the accompanying igraph demos, somewhat interactively, using a Tk window.

Usage

igraphdemo(which)

Arguments

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.

Value

  • Returns NULL, invisibly.

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 igraphdemo runs them chunk by chunk, with the possibility of inspecting the workspace between two chunks.

The tcltk package is needed for igraphdemo.

See Also

demo

Examples

Run this code
igraphdemo()
if (interactive()) {
  igraphdemo("centrality")
}

Run the code above in your browser using DataCamp Workspace