| Safe Haskell | None |
|---|
LLVM.VisualizeGraph
- data OutputType
- visualizeGraph :: ToGraphviz a => FilePath -> Maybe FilePath -> OutputType -> [String] -> (Module -> [(String, a)]) -> IO ()
Documentation
data OutputType Source
Constructors
| CanvasOutput GraphvizCanvas | |
| FileOutput GraphvizOutput | |
| HtmlOutput |
Instances
Arguments
| :: ToGraphviz a | |
| => FilePath | Input file name |
| -> Maybe FilePath | Output file name |
| -> OutputType | Type of output requested |
| -> [String] | Module optimization flags |
| -> (Module -> [(String, a)]) | A function to turn a Module into some graphs |
| -> IO () |
Visualize a graph-based analysis with graphviz. It handles many common options including both file and canvas output.