# Connectivity
```{container} algorithm-id
**Algorithm ID**: `hedgetools:connectivity`
```
This tool compute connectivity metrics describing the hedge sub-network. The tool first reconstructs the sub-networks. A sub-network is a cluster of connected arcs, so multiple arcs can belong to the same sub-network if they are connected.
## Parameters
| Label | Name | Type | Description |
|-------|------|------|-------------|
| Input arc layer | `INPUT_ARC` | [vector: line] | Line vector layer representing the hedge median axis. |
| Input node layer | `INPUT_NODE` | [vector: point] | Point vector layer of hedge extremities. |
| Input polygon layer | `INPUT_POLYGON` | [vector: polygon]
Optional | Polygon vector layer representing the hedges. |
| Spatial threshold (meters) | `THRESHOLD` | [numeric: double] | Distance threshold used to consider hedges without a physical connection as connected. |
| Override network construction from attributes | `OVERRIDE` | [boolean]
Default: True | If toggled, will not use the `network_id` and `n_threshold` fields to build the network but the specified `Spatial threshold` value. |
| Output connectivity layer | `OUTPUT` | [vector: line]
Default: `[Create temporary layer]` | Output line vector layer. |
## Outputs
| Label | Name | Type | Description |
|-------|------|------|-------------|
| Output connectivity layer | `OUTPUT` | [vector: line] | Line vector layer with two new fields describing the nerworks :