JamesFaix
JamesFaix

Reputation: 8655

How can I make a class diagram for F#?

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

I tried manually creating a *.cd in my project but a dialog popped up saying that those diagrams are only supported for C#, C++, and VB.

I also have Resharper, which has a Type Dependency diagram tool, which also does not work with F# projects.

Upvotes: 5

Views: 668

Answers (1)

tjw
tjw

Reputation: 93

If you are looking just to visualize your types relation, you can use dotPeek from Resharper.

In dotPeek:

  1. Load the dll of your f# project.
  2. Select the types you want in the menu on the right.
  3. Click on the Inspect/Show Type Dependency Diagram

Upvotes: 2

Related Questions