Skip to contents

[Deprecated]

set.graph.attribute() was renamed to set_graph_attr() to create a more consistent API.

Usage

set.graph.attribute(graph, name, value)

Arguments

graph

The graph.

name

The name of the attribute to set.

value

New value of the attribute.