I'm working now on my library for Bachelor thesis and I need Your help for making new line type. Bellow there is code for single line, double head arrow: <-> . I would like to ask if there is ability to make from line (line = trailFromOffsets [unitX]) to doubleline, which looks like this: =, and arrow with it looks like this <=> ? If there is ability to make it I would be very thankful for an example! Thank You in advance!
line = trailFromOffsets [unitX]
doubleHeadArrow = (with & arrowHead .~ spike & headColor .~ black & headSize .~ 0.4
& arrowTail .~ spike' & tailColor .~ black & tailSize .~ 0.4
& arrowShaft .~ line)
I think you need to create some kind of fake arrow. Taking a double headed arrow with an invisble shaft, with opacity of 0. And put two parallel lines to the invisible shaft, so the arrow, using sep.
Edit: More correct, the lines function should do the trick: