jcberentsen / elm-wiring-diagrams / Diagram.Layout.Config

Configuration for Layouts


type alias Config a =
Internal.Layout.Config.Config a

The Config type

default : Config a

A default Config

setLeafExtent : (a -> Internal.Bound.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 : Internal.Vec2.Vec2 -> Config a -> Config a

Configure the spacing between nodes in the diagram