> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ntop.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Graph from Line Segments

Constructs a Graph from a list of Line Segments.

Each Line Segment becomes a beam in the resulting Graph. Line Segments that share endpoints will join a shared vertex. Duplicate Line Segments will be removed.

### Inputs

| Name          | Type                                                    | Description                           |
| ------------- | ------------------------------------------------------- | ------------------------------------- |
| Line segments | [Line List](../../../../block-documentation/types/line) | Line Segments to construct the Graph. |

### Outputs

| Type                                                 |
| ---------------------------------------------------- |
| [Graph](../../../../block-documentation/types/graph) |
