delete_all_attr: Delete all attributes of a graph
Description
Deletes all graph-, vertex-, and edge-level attributes of an igraph
graph object.
Usage
delete_all_attr(g, keep.names = FALSE)
Value
An igraph graph object
Arguments
- g
An igraph graph object
- keep.names
Logical indicating whether to keep the name vertex
attribute (default: FALSE)