Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- displayGraph :: StreamGraph -> IO ()
- displayGraph' :: (t -> String) -> t -> IO ()
- displayGraphKitty :: StreamGraph -> IO ()
- displayGraphDebug :: StreamGraph -> IO ()
- displayPartitionedGraph :: PartitionedGraph -> IO ()
- jacksonGraphToDot :: StreamGraph -> String
- partitionedGraphToDot :: PartitionedGraph -> String
- subGraphToPartition :: StreamGraph -> Int -> String
- writeGraph :: (t -> String) -> t -> String -> IO ()
Documentation
displayGraph :: StreamGraph -> IO () Source #
display a graph using GraphViz and "display" from ImageMagick
displayGraph' :: (t -> String) -> t -> IO () Source #
display a graph by applying a provided converter to the supplied StreamGraph
displayGraphKitty :: StreamGraph -> IO () Source #
display a graph inline in the Kitty terminal emulator
displayGraphDebug :: StreamGraph -> IO () Source #
display a debug graph using GraphViz and ImageMagick
displayPartitionedGraph :: PartitionedGraph -> IO () Source #
display a PartitionedGraph
using GraphViz and "display" from ImageMagick
jacksonGraphToDot :: StreamGraph -> String Source #
Convert a StreamGraph
into a GraphViz representation, including
parameters derived from queueing theory/Jackson
partitionedGraphToDot :: PartitionedGraph -> String Source #
Convert PartitionedGraph
into a GraphViz representation,
with each sub-graph separately delineated,
encoded in a String
.
subGraphToPartition :: StreamGraph -> Int -> String Source #
generate a GraphViz subgraph definition (encoded into a String
)c
corresponding to a StreamGraph and an Int representing a label.
We place the Partition label at the bottom and offset it with some whitespace to reduce the likelyhood of the label being overdrawn by edges or edge labels.