简体   繁体   English

VS 2015,类图

[英]VS 2015, class diagram

I am wondering how to create the UML class diagram from code. 我想知道如何从代码创建UML类图。 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. 我已经搜索了它,但是我发现的只是关于如何自己制作的教程,还是关于选择“查看类图”的建议,但是它并没有使用UML标准创建UML类图。它带有VS自己的类,方法等图标。我正在使用VS NET 2015企业版。 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). Visual Studio 2015 企业版(等效于Visual Studio Ultimate)提供此功能。

According to the VS 2015 Edition Comparison , there are 4 components for Architecture and Modeling: 根据VS 2015 Edition比较 ,架构和建模包含4个组件:

  1. Architectual Layer Diagrams 体系结构层图
  2. Architecture Validation 架构验证
  3. UML® 2.0 Compliant Diagrams (Activity, Use Case, Sequence, Class, and Component) 符合UML®2.0的图(活动,用例,序列,类和组件)
  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. Entrprise版本支持所有4。Community和Professional仅支持#4,但是可以以只读模式打开在VS早期版本中创建的图。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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