How to draw a line?

usually,GoDiagram link nodes with lines,I want to draw a single line,which class provide this?

GoStroke.