This is a sort of guess, but surely it's related to the height of the canvas using pythagorus. You know the height of the canvas at the point where you've fixed the strut to the roof, and you know the fully extended length of the strut, so using pythagorus where a2 + b2 = c2, height of canvas is a, length of strut is c, so length along van roof from directly under the current mounting point should be (slightly less than) square root of b2, where b2 = c2 - a2.
So if canvas height is 90cm and strut is 120cm then length along roof from the directly below current mounting point (i.e. making a right angled triangle) would be 79cm.
anything longer than that and it won't extend enough to fully tension the canvas, anything less than that and the canvas will be under (maybe too much) tension.
It's not something I've ever done so that's just how I'd approach it.
Maybe someone who has got their roof up could take those measurements and see if the theory works out. I'd do it, but it's hoofing it down outside.