Line to connect two models

I am creating a visualization of a network model. I have rendered my model nodes, but I cannot figure out how to create line segments between two models/two points. Any ideas?


You might find this helper class useful:

Yes, I looked at that class, but I am a little confused as to how its methods and such function together. If it’s not too much trouble, I’d really appreciate a code snippet that showed how to draw a segment from, say, (0,0,0) to (0,1,2)…

Any help is appreciated and thank you for replying.

click my sig and scroll down.

Thank you both! ynjh_jo, that was very helpful!