There may be other approaches, but I usually:
- add another layer to the diagram,
- lock the layers below (containing the snappable objects),
- and draw lines on the new top layer.
This prevents OG from trying to marry the straight lines to the objects.
(Step 2 is essential).