LiveFlow.Paths.Step (LiveFlow v0.2.3)

Copy Markdown View Source

Step/orthogonal path calculation for edges.

Creates paths with 90-degree angles, routing horizontally and vertically between source and target points.

Summary

Functions

Calculates a step path between two points with explicit positions.

Functions

path(source_x, source_y, source_position, target_x, target_y, target_position, opts \\ [])

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

Calculates a step path between two points with explicit positions.