生成 UML 组件图

Mak*_*kah 5 diagram uml component-diagram

我试图找到一个使用配置文件(XML,Lua,等等......)创建 UML 组件图的库

我的目标是达到这样的目标: 在此输入图像描述 Visual Studio中的 UML 组件图

我已经找到PlantUML,但我无法在其上表示复合组件。有人有另一个项目吗?

编辑:

我正在尝试找到类似Graphviz 的东西,我可以使用下面的代码。您可以使用在线 Graphviz尝试该代码

graph ER {
  SuperComponent [shape=component]
  node SuperComponent {
    comp1 [shape=component]
        facet1 [shape=circle, height=0.12,width=0.12, label=""]
        facet2 [shape=circle, height=0.12,width=0.12, label=""]
    comp1 -- facet1 [label="My Facet1" fontsize=6];
    comp1 -- facet2 [label="My Facet2" fontsize=6];    
  }
}
Run Code Online (Sandbox Code Playgroud)