Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data DrawTreesOut = DrawTrees CanvasId [GeneralTree]
- data NodeColor
- data RBTree = RBNode NodeColor String [RBTree]
- data RoseTree = RoseNode String [RoseTree]
- setupDrawTreesModuleConfiguration :: EventloopSetupModuleConfiguration
- drawTreesModuleIdentifier :: EventloopModuleIdentifier
- drawTreesPostProcessor :: PostProcessor
- showGeneralTreeList :: [GeneralTree] -> (Shape, RightOffset, BottomOffset)
- rbExampleTree :: RBTree
- roseExampleTree :: RoseTree
- class ToRoseTree a where
- toRoseTree :: a -> RoseTree
- genericToRoseTree :: (Generic a, GToRoseTree (Rep a)) => a -> RoseTree
Documentation
data DrawTreesOut Source #
Instances
Instances
Eq NodeColor Source # | |
Show NodeColor Source # | |
Generic NodeColor Source # | |
NFData NodeColor Source # | |
Defined in Eventloop.Module.DrawTrees.Types | |
type Rep NodeColor Source # | |
Defined in Eventloop.Module.DrawTrees.Types type Rep NodeColor = D1 (MetaData "NodeColor" "Eventloop.Module.DrawTrees.Types" "eventloop-0.8.2.8-inplace" False) (C1 (MetaCons "NodeRed" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "NodeBlack" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "NodeGrey" PrefixI False) (U1 :: Type -> Type))) |
Instances
Eq RBTree Source # | |
Show RBTree Source # | |
GeneralizeTree RBTree Source # | |
Defined in Eventloop.Module.DrawTrees.DrawTrees generalizeTree :: RBTree -> GeneralTree Source # |
Instances
Eq RoseTree Source # | |
Show RoseTree Source # | |
GeneralizeTree RoseTree Source # | |
Defined in Eventloop.Module.DrawTrees.DrawTrees generalizeTree :: RoseTree -> GeneralTree Source # |
showGeneralTreeList :: [GeneralTree] -> (Shape, RightOffset, BottomOffset) Source #
class ToRoseTree a where Source #
Convert to a RoseTree
Nothing
toRoseTree :: a -> RoseTree Source #
Convert to a RoseTree
toRoseTree :: (Generic a, GToRoseTree (Rep a)) => a -> RoseTree Source #
Convert to a RoseTree
Instances
genericToRoseTree :: (Generic a, GToRoseTree (Rep a)) => a -> RoseTree Source #
A version of toRoseTree
that works for any data type that has an
instance for Generic