I defined a link template specifically for my root node. Also I defined FromSpot to some coordinates in my Root Node template. Now when I execute my code the Link Template that comes out has some curves. here id the screen shot.
I suspect that specifying a Spot of “0 1 …” causes the link to connect at the 45-degree angle.
Try a slightly different value, like “0.01 1 …”.
I’m sorry that I can’t check the code at the moment to confirm this suspicion.