Given a network return a list of all the attributes.
dumpAttr(x,...)## S3 method for class 'network'dumpAttr(x, type = c("all","network","vertex","edge"),...)## S3 method for class 'igraph'dumpAttr(x, type = c("all","network","vertex","edge"),...)
Arguments
x: network object
...: other arguments from/to other methods
type: character, type of attributes to dump
Returns
If type is one of "network", "vertex" or "edge" then a list of corresponding attributes.
If type is "all" then lists of lists of attributes.
Examples
# using 'igraph' objectl <- dumpAttr( exIgraph )# all attributesidentical( dumpAttr(exIgraph,"network"), l$network )identical( dumpAttr(exIgraph,"vertex"), l$vertex )identical( dumpAttr(exIgraph,"edge"), l$edge )# using 'network' objectl <- dumpAttr( exNetwork )# all attributesidentical( dumpAttr(exNetwork,"network"), l$network )identical( dumpAttr(exNetwork,"vertex"), l$vertex )identical( dumpAttr(exNetwork,"edge"), l$edge )