LiveFlow.Paths.Straight (LiveFlow v0.2.3)

Copy Markdown View Source

Straight line path calculation for edges.

Creates simple direct lines between source and target points.

Summary

Functions

Calculates a straight path between two points.

Functions

path(source_x, source_y, target_x, target_y)

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

Calculates a straight path between two points.