graph-trace-dot-0.1.0.0: Converts a graph-trace log into a DOT file for use with Graphviz
Safe HaskellSafe-Inferred
LanguageHaskell2010

Graph.Trace.Dot

Documentation

buildGraph :: [LogEntry] -> Graph Source #

data Key Source #

Constructors

Key 

Fields

Instances

Instances details
Eq Key Source # 
Instance details

Defined in Graph.Trace.Dot

Methods

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

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

Ord Key Source # 
Instance details

Defined in Graph.Trace.Dot

Methods

compare :: Key -> Key -> Ordering #

(<) :: Key -> Key -> Bool #

(<=) :: Key -> Key -> Bool #

(>) :: Key -> Key -> Bool #

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

max :: Key -> Key -> Key #

min :: Key -> Key -> Key #

Show Key Source # 
Instance details

Defined in Graph.Trace.Dot

Methods

showsPrec :: Int -> Key -> ShowS #

show :: Key -> String #

showList :: [Key] -> ShowS #

data LogEntry Source #

Constructors

Entry Key (Maybe Key) (Maybe SrcCodeLoc) (Maybe SrcCodeLoc) 
Trace Key ByteString (Maybe SrcCodeLoc) 

Instances

Instances details
Show LogEntry Source # 
Instance details

Defined in Graph.Trace.Dot