make SVG string from Haskell data
This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.
import Text.XML.YJSVG main = putStrLn $ showSVG 500 750 [ ("", Line 30 40 100 200 "yellow" 10) ]