jcberentsen/elm-wiring-diagrams/4.0.0

NOTE: the latest version is 5.4.7

Diagram.Svg.Config

Configure how to convert Layout Labels to Strings for Svg output

type alias Config a =
Config a

Preliminary way to control how labels turn into String for SVG

forStringLabels : Config String

Simple starting config when labels are already String

initWithLabelToString : (a -> String) -> Config a

Init needs a labelToString function

withLabelToString : (a -> String) -> Config a -> Config a

Simple starting config when labels are already String

default : Config a

Simple starting config. All labels will render as a dot

Use the Config modifiers to shape your intended Config