简体   繁体   English

如何将 @startuml 代码转换为 GraphML?

[英]How can I convert a @startuml code into a GraphML?

I have created a @startuml code that generates some class and sequence diagrams using PlantUML and it looks good but I would like to be able to edit the resulting graph using GraphML with the yed-live tool from yworks.com for example.我创建了一个 @startuml 代码,它使用 PlantUML 生成一些类和序列图,它看起来不错,但我希望能够使用 GraphML 和来自 yworks.com 的 yed-live 工具编辑生成的图形。

How can I convert the @startuml code to be compatible with GraphML?如何转换 @startuml 代码以与 GraphML 兼容?

Example:例子:

@startuml

Bob -> Alice: Hello!

@enduml

And you can check the result in https://www.planttext.com/您可以在https://www.planttext.com/中查看结果

You can use the official PlantUML tool to generate UML diagrams easily.您可以使用官方的 PlantUML 工具轻松生成 UML 图。

Just copy & paste your code and it will generate it automatically as in my example.只需复制并粘贴您的代码,它就会像我的示例一样自动生成它。

UML generating demo: UML生成演示:

UML生成演示

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

相关问题 StartUML 2是否与其先前版本兼容? - Is StartUML 2 compatible with its previous version? 如何在 draw.io UML 中插入代码块 - How can I insert code blocks in draw.io UML 如何通过代码创建UML图,并可以在图中搜索字符? - How can I create a UML graph by code and I can search characters in graph? 如何从可用于创建新序列图的 Java 代码生成 class 图表 - How can I generate class diagrams from Java code that can be used to create new sequence diagrams 如何从Visual Studio 2012中编写的C#代码生成Visio 2010中的UML图? - How can I generate UML diagrams from C# code written in Visual Studio 2012 into Visio 2010? 如何从Objective-C代码自动生成UML图? - How can I automatically generate UML diagrams from Objective-C code? 如何从 UML/SysML model 生成命令式非 OOP python 代码? - How can I generate imperative non-OOP python code from UML/SysML model? 如何生成Kotlin代码的Diagrams和UML? - How do I generate Diagrams and UML of Kotlin code? 我如何链接到类实例的属性 - How can i link to attribute of an instance of a class 如何在数据库中使用 model 这个 class? - How can I model this class in a database?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM