| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Waterfall.SVG.ToSVG
Synopsis
- path2DToPathCommands :: Path2D -> [PathCommand]
- diagramToSvg :: Diagram -> Document
- writeDiagramSVG :: FilePath -> Diagram -> IO ()
Documentation
path2DToPathCommands :: Path2D -> [PathCommand] Source #
Convert a Path2D into a list of PathCommands
diagramToSvg :: Diagram -> Document Source #
Convert a Diagram into an SVG document
The diagram paths have the classes "edge", "visible""hidden" and "sharp""outline"