jcberentsen/elm-wiring-diagrams/5.3.4

NOTE: the latest version is 5.4.7

Cartesian.Layout.Svg

Convert a Layout to Svg

Usage

toSvgWith : Config a msg -> Layout a -> Svg msg

Render a Layout to Svg

The svg styling lets you control fonts, colors, strokes, transparency...

viewportFor : Layout a -> Viewport

Compute a viewport large enough for the layout