# `LiveFlow.Paths.Straight`
[🔗](https://github.com/rocket4ce/live_flow/blob/main/lib/live_flow/paths/straight.ex#L1)

Straight line path calculation for edges.

Creates simple direct lines between source and target points.

# `path`

```elixir
@spec path(number(), number(), number(), number()) :: map()
```

Calculates a straight path between two points.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
