jcberentsen/elm-wiring-diagrams/5.2.0

NOTE: the latest version is 5.4.7

Diagram.Layout.Config

Configuration for Layouts

type alias Config a =
Config a

The Config type

default : Config a

A default Config

setLeafExtent : (a -> Bound) -> Config a -> Config a

Configure a function to compute the extent of a leaf node of a diagram from a value of type 'a'

setSpacing : Vec2 -> Config a -> Config a

Configure the spacing between nodes in the diagram