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

graph_attr

Graph attributes of a graph


Description

Graph attributes of a graph

Usage

graph_attr(graph, name)

Arguments

graph

Input graph.

name

The name of attribute to query. If missing, then all attributes are returned in a list.

Value

A list of graph attributes, or a single graph attribute.

See Also

Examples

g <- make_ring(10)
graph_attr(g)
graph_attr(g, "name")

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.