Normal sudoku rules apply.
You must draw a line connecting adjacent cells. The line may move in any direction, including diagonally, and may cross itself.
Within each box the line contains exactly the digits equal to or less than the box number (standard left to right , top to bottom numbering is used). Within a box the digits must strictly increase towards the end of the line.
The highlighted cells must indicate the order in which the line first enters each box. For example, a 3 indicates the 3rd box entered.
Cells separated by an X must sum to 10. Cells separated by a V must sum to 5. Not all Xs and Vs are given.
An example 6x6 with the same ruleset is below:
Solution code: Top row of the grid, 9 digits no spaces
on 21. June 2023, 15:16 by aleph-0
Added solution to CTC link