从序列图创建代码 [英] Creating Code from sequence diagram

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

问题描述

有没有一种方法可以从序列图生成代码?我所能找到的就是逆向工程,即从生成的代码中可以获得序列图。

Is there a way to Generate Code from sequence diagram ?? All I could find is Reverse Engineeering ie..from the generated code you can obtain sequence diagram.

是否有一种方法可以进行反演(从图到源代码)代)。

Is there a way to do otherway round (From the diagram to source code generation). This is already acheived for UML class diagrams.

相同的 http://msdn.microsoft.com/zh-cn/library/ff657795.aspx 我希望序列图具有相同的功能。

link for the same http://msdn.microsoft.com/en-us/library/ff657795.aspx i want the same thing for sequence diagram.

是否有任何第三方工具从UML序列图中生成代码?想了解更多有关的信息..

Is there any third party tools generating the code from the UML Sequence diagram?? would like to know more about it..??

[我用于代码生成的语言是CSharp]

[And the language which i'm using for code generation is CSharp]

有人可以帮助我吗?
任何帮助将不胜感激..:):)

Can anyone please help me?? any help would be greatly appreciated..:):)

预先感谢:):)

推荐答案

最近,我也在寻找类似的东西,并找到 StarUML 还具有多种语言支持(C#配置文件,代码生成器和逆向工程师)到他们的网站。尽管就我个人而言,我还没有使用过它们,并且已决定不使用任何自动代码生成器,但是您可以尝试使用它们。

Recently I was also looking for something similar and came to find this. StarUML also has Various Language Support (C# Profile, Code Generator and Reverse Engineer) according to their website. Although personally I haven't used any of them and have decided not to use any automatic code generator, you may try them.

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

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