spanning_tree
Given edges and optional weights, compute the minimum or maximum spanning tree to find the optimal tree connecting all nodes.
Instructions
Compute a minimum or maximum spanning tree.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edges | Yes | ||
| weights | No | ||
| maximize | No | ||
| edge_weights_attr | No | weight |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||