Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

delete_graph_attr

Delete a graph attribute


Description

Delete a graph attribute

Usage

delete_graph_attr(graph, name)

Arguments

graph

The graph.

name

Name of the attribute to delete.

Value

The graph, with the specified attribute removed.

See Also

Examples

g <- make_ring(10)
graph_attr_names(g)
g2 <- delete_graph_attr(g, "name")
graph_attr_names(g2)

igraph

Network Analysis and Visualization

v1.2.10
GPL (>= 2)
Authors
See AUTHORS file.
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.