hakyll-3.2.0.4: A static website compiler library

Hakyll.Core.DirectedGraph.Dot

Description

Dump a directed graph in dot format. Used for debugging purposes

Synopsis

Documentation

toDotSource

Arguments

:: Ord a 
=> (a -> String)

Convert nodes to dot names

-> DirectedGraph a

Graph to dump

-> String

Resulting string

Convert a directed graph into dot format for debugging purposes

writeDot :: Ord a => FilePath -> (a -> String) -> DirectedGraph a -> IO ()Source

Write out the .dot file to a given file path. See toDot for more information.