-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Converts a graph-trace log into a DOT file for use with Graphviz
--
-- Creates a DOT file from a graph-trace log which is useable
-- with Graphviz.
--
-- See the README for details.
@package graph-trace-dot
@version 0.1.1.3
module Graph.Trace.Dot
parseLogEntries :: ByteString -> Either String [LogEntry]
parseLogEntry :: Parser LogEntry
buildTree :: [LogEntry] -> Tree
-- | Constructs a nexus by merging tree nodes that have identical content
-- based on their hash.
buildNexus :: Tree -> Nexus
graphToDot :: IsKey key => Graph key -> Builder
data Key
Key :: !Word -> !ByteString -> Key
[keyId] :: Key -> !Word
[keyName] :: Key -> !ByteString
data LogEntry
Entry :: Key -> Maybe Key -> Maybe SrcCodeLoc -> Maybe SrcCodeLoc -> LogEntry
Trace :: Key -> ByteString -> Maybe SrcCodeLoc -> LogEntry
instance GHC.Show.Show Graph.Trace.Dot.Key
instance GHC.Classes.Ord Graph.Trace.Dot.Key
instance GHC.Classes.Eq Graph.Trace.Dot.Key
instance GHC.Show.Show Graph.Trace.Dot.SrcCodeLoc
instance GHC.Classes.Ord Graph.Trace.Dot.SrcCodeLoc
instance GHC.Classes.Eq Graph.Trace.Dot.SrcCodeLoc
instance GHC.Show.Show Graph.Trace.Dot.LogEntry
instance GHC.Show.Show key => GHC.Show.Show (Graph.Trace.Dot.NodeEntry key)
instance GHC.Show.Show Graph.Trace.Dot.NexusKey
instance GHC.Classes.Ord Graph.Trace.Dot.NexusKey
instance GHC.Classes.Eq Graph.Trace.Dot.NexusKey
instance Graph.Trace.Dot.IsKey Graph.Trace.Dot.NexusKey
instance Graph.Trace.Dot.IsKey Graph.Trace.Dot.Key