Line Drawing using PathSegment and PathFigure

Hi,
<span =“Apple-tab-span” style=“white-space:pre”> I am evaluating GoJs and have some doubts in PathSegment and PathFigure. Could you please provide me some examples of drawing lines using PathSegment and PathFigure.


Thanks in advance.