Convert a cartesian structure to Svg
toSvg : Internal.Cartesian.C a -> Svg msg
Layout a cartesian structure and render to Svg
This uses some silly defaults. Use this for early testing.
Use the toSvgWith function to control layout and styling in more detail
toSvgWith : Styling a msg -> Internal.Cartesian.C a -> Svg msg
Layout and render to Svg with Styling
You supply two configs. One for layout and one for Svg styling.
The layout styling lets you control, sizes, padding, arrow measurements... The svg styling lets you control fonts, colors, strokes, transparency...
fromDiagram : Internal.Cartesian.C a -> Svg msg
An alias for toSvg
Svg.fromDiagram diagram
{ layoutConfig : Diagram.Layout.Config.Config a
, svgConfig : Internal.Svg.Config.Config a msg
}
A type for configuring Layout and Svg styling