layered-graph-drawing-0.1.0.0: Layered Graph Drawing after Sugiyama
Safe HaskellSafe-Inferred
LanguageHaskell2010

Graph.CommonGraph

Documentation

type CGraph n e = Graph n [e] Source #

type CGraphL n e = (Graph n [e], Map UINode (Int, Int)) Source #

data EdgeType Source #

Instances

Instances details
Generic EdgeType Source # 
Instance details

Defined in Graph.CommonGraph

Associated Types

type Rep EdgeType :: Type -> Type #

Methods

from :: EdgeType -> Rep EdgeType x #

to :: Rep EdgeType x -> EdgeType #

Show EdgeType Source # 
Instance details

Defined in Graph.CommonGraph

Eq EdgeType Source # 
Instance details

Defined in Graph.CommonGraph

Ord EdgeType Source # 
Instance details

Defined in Graph.CommonGraph

type Rep EdgeType Source # 
Instance details

Defined in Graph.CommonGraph

type Rep EdgeType = D1 ('MetaData "EdgeType" "Graph.CommonGraph" "layered-graph-drawing-0.1.0.0-GLDVkXvxrQkPIxH8gGuyn" 'False) ((C1 ('MetaCons "NormalEdge" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "VerticalEdge" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "VirtualHorEdge" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SeparatingEdge" 'PrefixI 'False) (U1 :: Type -> Type)))

myFromJust :: Int -> Maybe a -> a Source #

myhead :: Int -> [a] -> a Source #

vhead :: Unbox a => Int -> Vector a -> a Source #

rmdups :: Ord a => [a] -> [a] Source #

data LayerFeatures Source #

Constructors

LayerFeatures 

Fields

Instances

Instances details
FromJSON LayerFeatures Source # 
Instance details

Defined in Graph.CommonGraph

ToJSON LayerFeatures Source # 
Instance details

Defined in Graph.CommonGraph

Generic LayerFeatures Source # 
Instance details

Defined in Graph.CommonGraph

Associated Types

type Rep LayerFeatures :: Type -> Type #

Show LayerFeatures Source # 
Instance details

Defined in Graph.CommonGraph

type Rep LayerFeatures Source # 
Instance details

Defined in Graph.CommonGraph

type Rep LayerFeatures = D1 ('MetaData "LayerFeatures" "Graph.CommonGraph" "layered-graph-drawing-0.1.0.0-GLDVkXvxrQkPIxH8gGuyn" 'False) (C1 ('MetaCons "LayerFeatures" 'PrefixI 'True) (S1 ('MetaSel ('Just "layer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "border") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Border))))

data Border Source #

Instances

Instances details
FromJSON Border Source # 
Instance details

Defined in Graph.CommonGraph

ToJSON Border Source # 
Instance details

Defined in Graph.CommonGraph

Generic Border Source # 
Instance details

Defined in Graph.CommonGraph

Associated Types

type Rep Border :: Type -> Type #

Methods

from :: Border -> Rep Border x #

to :: Rep Border x -> Border #

Show Border Source # 
Instance details

Defined in Graph.CommonGraph

type Rep Border Source # 
Instance details

Defined in Graph.CommonGraph

type Rep Border = D1 ('MetaData "Border" "Graph.CommonGraph" "layered-graph-drawing-0.1.0.0-GLDVkXvxrQkPIxH8gGuyn" 'False) (((C1 ('MetaCons "LeftBorder" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "RightBorder" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "TopBorder" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "BottomBorder" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "LeftTopBorder" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "RightTopBorder" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "LeftBottomBorder" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "RightBottomBorder" 'PrefixI 'False) (U1 :: Type -> Type))))

Orphan instances

EdgeClass e => EdgeAttribute [e] Source # 
Instance details

Methods

fastEdgeAttr :: [e] -> Word8 #

edgeFromAttr :: Map Word8 [e] #

show_e :: Maybe [e] -> String #

bases :: [e] -> [Edge8] #