happy-dot-1.0.0.0: Parser for dot made with happy.

LicenseGPL-3
MaintainerMarcelo Garlet Millani <marcelogmillani@gmail.com>
Stabilityexperimental
Portabilityportable
Safe HaskellSafe
LanguageHaskell2010

Language.Dot.Graph

Description

Basic data structures for representing DOT files.

Synopsis

Documentation

data GraphType Source #

Constructors

Graph 
Digraph 
Instances
Eq GraphType Source # 
Instance details

Defined in Language.Dot.Graph

Show GraphType Source # 
Instance details

Defined in Language.Dot.Graph

data Name Source #

Constructors

StringID String 
XMLID String 
Instances
Eq Name Source # 
Instance details

Defined in Language.Dot.Graph

Methods

(==) :: Name -> Name -> Bool #

(/=) :: Name -> Name -> Bool #

Show Name Source # 
Instance details

Defined in Language.Dot.Graph

Methods

showsPrec :: Int -> Name -> ShowS #

show :: Name -> String #

showList :: [Name] -> ShowS #

data Subgraph Source #

Instances
Eq Subgraph Source # 
Instance details

Defined in Language.Dot.Graph

Show Subgraph Source # 
Instance details

Defined in Language.Dot.Graph

data Port Source #

Constructors

Port (Maybe Name) (Maybe Compass) 
Instances
Eq Port Source # 
Instance details

Defined in Language.Dot.Graph

Methods

(==) :: Port -> Port -> Bool #

(/=) :: Port -> Port -> Bool #

Show Port Source # 
Instance details

Defined in Language.Dot.Graph

Methods

showsPrec :: Int -> Port -> ShowS #

show :: Port -> String #

showList :: [Port] -> ShowS #

data Compass Source #

Instances
Eq Compass Source # 
Instance details

Defined in Language.Dot.Graph

Methods

(==) :: Compass -> Compass -> Bool #

(/=) :: Compass -> Compass -> Bool #

Show Compass Source # 
Instance details

Defined in Language.Dot.Graph

data GraphElement Source #

Simple representation of a graph considering only the adjacency of nodes.

Constructors

Node String [(Name, Name)] 
Edge String String [(Name, Name)] 
Instances
Eq GraphElement Source # 
Instance details

Defined in Language.Dot.Graph

Show GraphElement Source # 
Instance details

Defined in Language.Dot.Graph