sifflet-2.3.0: Simple, visual, functional language for learning about recursion.

Safe HaskellNone
LanguageHaskell2010

Data.Sifflet.TreeLayout

Synopsis

Documentation

ftExtents :: String -> Render FontTextExtents Source

ftExtents: used for what?

data GNode e Source

Constructors

GNode 

Instances

newtype Iolet Source

An Iolet is a circular port. Other shapes could be added.

Constructors

Iolet Circle 

makeIolets :: Style -> BBox -> (Int, Int) -> ([Iolet], [Iolet]) Source

type IoletCounter e = e -> (Int, Int) Source

makeGNode :: Repr e => Style -> IoletCounter e -> e -> GNode e Source