简体   繁体   English

Visio绘图中的代码

[英]Code from Visio Drawing

Happy Monday Guys, I have a question about visio. 星期一快乐,大家好,我对visio有疑问。

I have a project where the user can input an UML-Diagram and at the end they receive an SCL-Code (Automation). 我有一个项目,用户可以在其中输入UML图,最后他们会收到SCL代码(自动化)。

I have been thinking about using Visio, since it has UML-Diagram in it. 我一直在考虑使用Visio,因为其中包含UML-Diagram。 But the question is if it is possible to generate the code from UML-Diagram in Visio. 但是问题是,是否有可能在Visio中从UML-Diagram生成代码。 If yes, what is the output from Visio that can be processed? 如果是,Visio可以处理的输出是什么?

Thank you 谢谢

A standard for exchanging UML is XMI. 交换UML的标准是XMI。 It is described in the UML specification, well documented and is handled by most of the applications supporting drawing UML. 它在UML规范中进行了描述,并有充分的文档记录,并且由支持图形UML的大多数应用程序处理。 I'm not sure if Visio can produce it, but Visio (like most MS produces) is rather poor at keeping standards and shouldn't be used as a reference. 我不确定Visio是否可以生产它,但是Visio(像大多数MS生产的一样)在保持标准方面很差,不应该用作参考。 So XMI as UML input is probably best solution for you. 因此,将XMI作为UML输入可能是最适合您的解决方案。

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

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