The current path, or an empty path if no route is available.
The current route, or null if no route is available.
Subscribe to path updates (PathProvider implementation).
Called when the path changes
Unsubscribe function
Subscribe to route updates.
Called when the route changes
Unsubscribe function
A reactive route that automatically updates when the origin position changes.
Remarks
This class manages route calculation and provides notifications when the route changes. Multiple shapes can subscribe to the same reactive route to share calculation results.
The route only subscribes to position updates when there are active subscribers, automatically cleaning up when no longer needed.