multiGraph-class | R Documentation |
A collection of classes to model multigraphs. These include the multiGraph class as well as classes to contain edge sets.
Objects can be created from the multiGraph
class, the
edgeSet
class is virtual, and particular variants should be used.
These slots are for the multiGraph class.
The names of the nodes.
A list of edge lists.
An instance of the attrData
class.
A list.
These slots are for the edgeSet
class, or one of its
sublcasses.
An instance of the attrData
class.
A character vector, one of directed, or undirected.
A list of the edges (graphNEL)
An adjacency matrix (graphAM)
Print a multigraph.
A vector indicating which of the edgeSets is directed.
Retrieve the node names
Return the number of nodes
Return either all edges, or a subset of them, depending on the arguments supplied.
Return a vector with the number of edges, for each edge set.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.