LiveFlow.Paths.Bezier (LiveFlow v0.2.3)

Copy Markdown View Source

Bezier curve path calculation for edges.

Creates smooth curved paths using cubic Bezier curves. The curvature is determined by the distance between points and the handle positions.

Summary

Functions

Calculates the 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 the path between two points with explicit positions.