How to generate TypeScript UML class diagrams?

Viewed 32892

I'm using Visual Studio 2015 to create Web Apps and I just start using TypeScript.

As my project gets bigger, I'm wondering if there's a way to get UML diagram of TypeScript code using Visual Studio, extensions or any other free tool.

5 Answers

I would advise against doing anything with TsUML. You install it as a regular NPM package, but then it uses some sketchy online service. It seems dangerous to use Tsuml for proprietary projects.

Using TsUML:

npm install -g tsuml
# Note: this posts data to https://yuml.me!!
tsuml --glob ./src/**/*.ts
Related