I put circles on the ends of the lines. It looks weird. The circles are kind of boxy, so when the angle of the line is 45 modulo 90 its a square, but when its 0 modulo 90 its a hexagon. No solution for now. I could live with this, though its not ideal