wumpus-tree-0.20.0: Drawing trees

PortabilityGHC
Stabilityunstable
Maintainerstephen.tetley@gmail.com
Safe HaskellSafe-Infered

Wumpus.Tree.DrawLoc

Description

Drawing a Tree as a LocGraphic.

Documentation

data AnnoNode ix u a Source

type TreeSpec ix u a = Tree (AnnoNode ix u a)Source

plainTree :: (elt -> LocImage u a) -> Tree elt -> TreeSpec ix u aSource

treeDrawing :: (Real u, Floating u, Translate node, InterpretUnit u, u ~ DUnit node) => TreeProps node u -> TreeSpec ix u node -> LocGraphic uSource

leaf :: LocImage u a -> TreeSpec ix u aSource

xleaf :: ix -> LocImage u a -> TreeSpec ix u aSource

tree :: LocImage u a -> [TreeSpec ix u a] -> TreeSpec ix u aSource

xtree :: ix -> LocImage u a -> [TreeSpec ix u a] -> TreeSpec ix u aSource