开发者

Generate diagrams for Haskell code [closed]

开发者 https://www.devze.com 2023-04-05 04:39 出处:网络
Closed. This question is seeking recommendations for books, tools, software libraries, and more. It does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question is seeking recommendations for books, tools, software libraries, and more. It does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 5 years ago.

开发者_如何学Go Improve this question

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.


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).

0

精彩评论

暂无评论...
验证码 换一张
取 消