Refactor spline rendering into edge token.
Refactor spline rendering into edge token.