Create arrow/lines in Preview Mode?

Here is a short tutorial for the topic: How to create a Line Draw function in Axure with some math and trigonometry