1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
\name{igraphdemo}
\alias{igraphdemo}
\title{Run igraph demos, step by step}
\description{Run one of the accompanying igraph demos, somewhat
interactively, using a Tk window. }
\usage{
igraphdemo(which)
}
\arguments{
\item{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.}
}
\details{
This function provides a somewhat nicer interface to igraph demos that
come with the package, than the standard \code{\link{demo}}
function. Igraph demos are divided into chunks and \code{igraphdemo}
runs them chunk by chunk, with the possibility of inspecting the
workspace between two chunks.
The \code{tcltk} package is needed for \code{igraphdemo}.
}
\value{Returns \code{NULL}, invisibly.}
%\references{}
\author{Gabor Csardi \email{csardi.gabor@gmail.com}}
\seealso{\code{\link{demo}}}
\examples{
igraphdemo()
if (interactive()) {
igraphdemo("centrality")
}
}
\keyword{graphs}
|