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

Graph.Trace.Dot

Synopsis

Documentation

buildTree :: [LogEntry] -> Tree Source #

buildNexus :: Tree -> Nexus Source #

Constructs a nexus by merging tree nodes that have identical content based on their hash.

graphToDot :: IsKey key => Graph key -> Builder Source #

data Key Source #

Constructors

Key 

Fields

Instances

Instances details
Show Key Source # 
Instance details

Defined in Graph.Trace.Dot

Methods

showsPrec :: Int -> Key -> ShowS #

show :: Key -> String #

showList :: [Key] -> ShowS #

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 #

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