funcmp-1.7: Functional MetaPost

Portabilityportable
Stabilityprovisional
Maintainersimons@cryp.to
Safe HaskellSafe-Inferred

FMP.Tree

Description

 

Documentation

data Tree' a

Constructors

Node' a NodeDescr [Tree' a] 

data Tree

Constructors

Node Picture NodeDescr [Edge] 

edge :: Tree -> Edge

edge' :: Path -> Tree -> Edge

enode :: IsPicture a => a -> [Edge] -> Edge

node :: IsPicture a => a -> [Edge] -> Tree

forEachNode :: (Tree -> Tree) -> Tree -> Tree

forEachEdge :: (Path -> Path) -> Tree -> Tree

alignFunction :: (NodeDescr -> [Extent] -> Int -> [Numeric]) -> AlignSons

fit :: Numeric -> Extent -> Extent -> Position

fitLeft :: Numeric -> [Extent] -> [Position]

fitRight :: Numeric -> [Extent] -> [Position]

data NodeName

Constructors

Parent 
This 
Root 
Up Int 
Son Int