## S3 method for class 'igraph':
print(x,
graph.attributes=igraph.par("print.graph.attributes"),
vertex.attributes=igraph.par("print.vertex.attributes"),
edge.attributes=igraph.par("print.edge.attributes"),
names=TRUE,
...)
## S3 method for class 'igraph':
summary(object, \dots)name vertex attribute) or vertex ids.summary.igraph prints the number of vertices, edges and whether the
graph is directed.
print.igraph prints the same information, aand also lists
the edges, and optionally graph, vertex and/or edge attributes. As of igraph 0.4 print.igraph uses the max.print option,
see options for details.
g <- graph.ring(10)
g
summary(g)Run the code above in your browser using DataLab