问题标签 [plantuml]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
uml - 活动图中的矩形对象节点
谁能告诉我如何在 PlantUml中设计 UML 的对象节点?根据UML 的 v2.5 规范(第 15.2.4 节),对象节点应该是方形的,而常规和最常用的动作节点是松鼠。
我在PlantUml 文档中可以找到的只是如何显示所有动作节点八角形......
我正在使用 PlantUml 的 v1 活动语法:
plantuml - 是否可以在 plantUML 中为 UML 项目使用自定义图像?
当您想要创建标准 UML 图时,PlantUML 非常强大。
但我目前正在考虑使用 PlantUML 来记录 EIP 路线(例如这些图像上的路线:https ://www.google.de/search?q=camel+route&safe=off&source=lnms&tbm=isch )。
如果您可以为类指定另一个图像而不是普通框,这将非常容易。类似于 Sparx Enterprise Architect 中的 SVG 或 WMF 图像或形状脚本。
我在文档中找到的唯一自定义图像中那些小精灵......
groovy - 如何在 Java 或 Groovy 中使用 asciidoctorj-diagram?
PlantUML 是 Asciidoc 的一个很好的扩展,但我无法从我的 groovy 代码中弄清楚如何使用。
据我所知,该asciidoctorj-diaram
模块应该是当前asciidoctorj
-Release 的一部分,所以我想我不需要额外的依赖。但是我的代码可以很好地呈现 asciidoc,但不能呈现 PlantUML 图。它说:
知道有什么问题吗?我在网上找到的asciidoctorj-diagram
例子都使用了 gradle-plugin :-|
xtext - 用于 PlantUML 的带有 XText 的 DSL
目前我正在尝试为 PlantUML 的类图创建 DSL。我是 Xtext 的新手,我无法理解几件事。在我列出我的问题之前,我向您展示我当前语法的一些部分:
我省略了其他关联类型(--*、--o、--|>),因为我以相同的方式定义了它们。
问题
1. 如果不与方法/属性名称分开,可见性枚举“#”就无法工作。但是所有其他情况(+,-,~)都很好,之间有和没有空格。
2. 在大多数情况下,这些关联似乎不起作用。我列举了几个例子:
- 我不知道如何对由 STRING 而不是 ID 定义的类使用交叉引用。
另外我猜方法名称的附加终端是一个奇怪的解决方案,应该以不同的方式处理。
android - 如何让 Plantuml 为 Android Studio 中的现有项目渲染 uml?
我采取的步骤:
- 我已将 Plantuml 插件安装到 Windows 7 Pro PC 上的 Android Studio 1.5.1 中。
- 然后我安装了 Graphviz 并设置了它的点路径并创建了 Graphviz 环境变量。
- 我已经重新启动了一切。:) 以防万一。
- 我打开了一个小的 Android 项目。
- 我找到了 PlantUML 窗口并且可以打开它。
您如何生成(反向生成?)现有项目的 UML 图?甚至是特定的java文件?
graphviz - PlantUML:控制箭头的形状和方向
uml - How to represent a compound graph using UML notations/diagrams?
I need a tool (preferably online, but at that stage I don't care anymore) which allows me to modelize relationships (similar to BPMN) which can be represented as compound graphs (though most of the times, it will be a simpler nested graph). I can't seem to achieve my goal using BPMN formalism (swimlanes are the closest but they do not allow arbitrary nesting). I am thinking to reuse UML modelization tools but I don't know enough about UML to know if UML covers my use case.
Imagine an integrated circuit which is made of chips connected with wires. So three chips : A,B,C
and Chip A -> Chip B, Chip C
. Each chip has input ports and output ports, and some of the output ports of A are connected to the input ports of B, some are connected to those of C. Now Chip A
itself can be considered as an integrated circuit, and as such can be decomposed in another graph : Chip A :: Chip A.1, Chip A.3 -> Chip A.2
. Each Chip A.1
can also be decomposed etc. This is what is called a compound graph. Each node of a compound graph can have children which are themselves graphs.
I do know about the Harel's and UML's statecharts formalism, which allows for hierarchical graphs to describe hierarchical nested state machines (hence any nested graph can potentially be expressed with statechart formalism), though I do not know any online tool which allow to draw statechart. The question is whether UML has a mechanism or tools which allow to specify a compound graph, and if so, what is the nesting mechanism?
Level 1
Zoom on Chip A
An example of compound graph from the litterature :