jcberentsen / elm-wiring-diagrams / Cartesian.Layout.Svg

Convert a Layout to Svg

Usage

toSvgWith : Internal.Svg.Config.Config a msg -> Internal.Cartesian.Layout.Layout a -> Svg msg

Render a Layout to Svg

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

viewportFor : Internal.Cartesian.Layout.Layout a -> Internal.Svg.Viewport

Compute a viewport large enough for the layout