\HeaderA{classList2Graph}{Functions to produce graphs from S4 class definitions}{classList2Graph}
\aliasA{class2Graph}{classList2Graph}{class2Graph}
\begin{Description}\relax
Given either a list of classes, or a single class, these functions
produce a graph, with the classes as nodes and edges representing
subclass/superclass relationships.
\end{Description}
\begin{Usage}
\begin{verbatim}
classList2Graph(class, fullNames=TRUE)
class2Graph(class, fullNames=TRUE)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{class}] Either the name of a single class, \code{class2Graph}, or the
names of classes, \code{classList2Graph} 
\item[\code{fullNames}] Indicates whether to use fully qualified (by package)
names for the class.
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
Edges are directed, and go from superclasses to subclasses (more
specialized to less specialized).
\end{Details}
\begin{Value}
A graph, typically an instance of the \code{graphNEL} class.
\end{Value}
\begin{Author}\relax
R. Gentleman
\end{Author}
\begin{Examples}
\begin{ExampleCode}
 graphClasses = getClasses("package:graph")
 classList2Graph(graphClasses)
\end{ExampleCode}
\end{Examples}

