简体   繁体   中英

VS 2015, class diagram

I am wondering how to create the UML class diagram from code. I've searched for it, but all I've found is either tutorials on how to make it by myself or advices to choose "View Class Diagram", but it doesn't create the UML class diagram with UML standards, it rather displays it with VS's own icons for classes, methods, etc. I am using VS NET 2015 Enterprise Edition. Can anybody help me?

好的,我发现VS 2015不支持它。要使其能够安装VS 2013,则需要另一安装...

The accepted answer is not completely correct. This feature is available in Visual Studio 2015 Enterprise edition (equivalent to Visual Studio Ultimate).

According to the VS 2015 Edition Comparison , there are 4 components for Architecture and Modeling:

  1. Architectual Layer Diagrams
  2. Architecture Validation
  3. UML® 2.0 Compliant Diagrams (Activity, Use Case, Sequence, Class, and Component)
  4. Visualize solutions with Dependency Graphs and Code Maps

Entrprise edition supports all 4. Community and Professional only support #4, but can open diagrams created in earlier editions of VS in read-only mode.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM