| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Graph.CommonGraph
Contents
Documentation
Constructors
| NormalEdge | |
| VerticalEdge | |
| VirtualHorEdge | |
| SeparatingEdge |
Instances
| Generic EdgeType Source # | |
| Show EdgeType Source # | |
| Eq EdgeType Source # | |
| Ord EdgeType Source # | |
Defined in Graph.CommonGraph | |
| type Rep EdgeType Source # | |
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))) | |
type GraphMoveX = Int Source #
type Column = (GraphMoveX, [UINode]) Source #
class NodeClass n where Source #
Methods
isDummy :: EdgeClass e => CGraph n e -> UINode -> Bool Source #
isConnNode :: EdgeClass e => CGraph n e -> UINode -> Bool Source #
isFunction :: EdgeClass e => CGraph n e -> UINode -> Bool Source #
isMainArg :: CGraph n e -> UINode -> Bool Source #
isSubLabel :: n -> Bool Source #
isArgLabel :: n -> Bool Source #
subLabels :: n -> Int Source #
connectionNode :: n Source #
dummyNode :: Int -> n Source #
nestingFeatures :: n -> Maybe LayerFeatures Source #
updateLayer :: Maybe LayerFeatures -> n -> n Source #
verticalNumber :: n -> Maybe Word32 Source #
type ChannelNrIn = Maybe Channel Source #
type ChannelNrOut = Channel Source #
class EdgeClass e where Source #
Methods
dummyEdge :: ChannelNrIn -> ChannelNrOut -> e Source #
standard :: EdgeType -> e Source #
edgeType :: e -> EdgeType Source #
channelNrIn :: e -> ChannelNrIn Source #
channelNrOut :: e -> ChannelNrOut Source #
myFromJust :: Int -> Maybe a -> a Source #
data LayerFeatures Source #
Instances
Constructors
| LeftBorder | |
| RightBorder | |
| TopBorder | |
| BottomBorder | |
| LeftTopBorder | |
| RightTopBorder | |
| LeftBottomBorder | |
| RightBottomBorder |
Instances
| FromJSON Border Source # | |
| ToJSON Border Source # | |
Defined in Graph.CommonGraph | |
| Generic Border Source # | |
| Show Border Source # | |
| type Rep Border Source # | |
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)))) | |