set_edge_attributes
Set or update edge attribute values in a NetworkX graph by specifying source, target, attribute, and value, enabling custom metadata on specific edges.
Instructions
Set attributes on one or more edges
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| graph | Yes | ||
| attributes | Yes | List of {source, target, attr, value} |