How can I create a class diagram for F #?

I am using Visual Studio 2015 with F #. In C # projects, you can create class diagram ( *.cd) files to visualize the types in your solution and their dependencies on each other. Is there anything similar for F #?

I tried to manually create *.cdin my project, but a dialog box popped up saying that these diagrams are only supported for C #, C ++ and VB.

I also have Resharper, which has a Dependency type chart tool that also doesn't work with F # projects.

+4
source share
1 answer

If you want to simply visualize the type relation, you can use dotPeek from Resharper.

In dotPeek:

  • Download the dll of your f # project.
  • Select the types you need in the menu on the right.
  • Click Inspect / Show Dependency Chart
+1
source

Source: https://habr.com/ru/post/1669471/


All Articles