Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Generate diagrams for Haskell code [closed]

Is there something that is kind of a cross between graphmod and haddock? I want a diagram like graphmod showing dependencies/relationships, but I want to include additional documentation in the diagram.

like image 396
mentics Avatar asked Sep 15 '11 07:09

mentics


1 Answers

Not an existing one. Here are the list of available Haskell visualisation utilities (at least those on Hackage):

  • graphmod which you've already found: visualise module dependencies.

  • prof2dot visualise profiling reports

  • hs2dot visualise Haskell code

  • vacuum (and related packages) visualises the data structures at run-time

  • SourceGraph (disclaimer: this is mine) aims to provide different forms of visualisation of the call graphs and perform some analyses; haven't had much time to work on this lately though.

  • graphtype is for comparing data types

It may be possible to use doxygen to generate documentation with visualisation, but a quick Google didn't reveal any work on providing support for Haskell in doxygen (and it would require different markup than what Haddock uses).

like image 56
ivanm Avatar answered Sep 22 '22 15:09

ivanm