类图 [英] Class Diagrams

查看:60
本文介绍了类图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

我将开始我的Bs.c最终项目,我正在尝试查看是否有可能创建一个类图 .

I'm about to start my Bs.c final project and i'm trying to see whether it is possible to create a class diagram programmatically.

Microsoft的类图绘图库是否有任何api?

Is there any api to Microsoft's class diagram drawing library?

 

推荐答案

>> 以编程方式

>>i'm trying to see whether it is possible to create a class diagram programmatically.

Just right click the project and then choose "Class Diagram", then drag and drop a class file (cs) into the file, the class diagram will be generated automatically.

What's more, maybe you can look at the generated codes from the "Class Diagram" with C#. I guess that should be an xml type. You can use XDocument or XmlDocument to cope with the problem.


这篇关于类图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆