sifflet-lib-2.0.0.0: Library of modules shared by sifflet and its tests and its exporters.

Safe HaskellSafe-Infered

Data.Sifflet.TreeLayout

Synopsis

Documentation

ftExtents :: String -> Render FontTextExtentsSource

ftExtents: used for what?

data GNode e Source

Constructors

GNode 

Instances

Eq e => Eq (GNode e) 
Show e => Show (GNode e) 
Translate (GNode e) 
Draw (GNode e) 

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

data LayoutNode e Source

Constructors

LayoutNode 

Fields

nodeGNode :: GNode e
 
nodeTreeBB :: BBox
 

Instances