图表的自动布局
automatic layout of diagrams
我需要一个 BPMN2 图自动布局的算法。
类似于 MS Visio 的自动布局(重新布局)。
有没有类似的OpenSource或者综合指导?
那是 a very specific (and non-trivial) layout you are looking for. There aren't many good implementation out there at all. A good -but commercial- implementation certainly is yFiles - BPMN Demo - 恕我直言 很容易 击败示例 link.
中的 Visio 布局
关于开源,您可能应该考虑更通用的布局样式,因为 BPMN 确实是正交流布局的复杂极端情况。也许 Kieler, GraphViz - dot or WebCola 可以调整到足以满足您对 BPMN 图的要求 - 但如果您想支持所有复杂的布局规则和选项,肯定还有很多工作要做。
我需要一个 BPMN2 图自动布局的算法。
类似于 MS Visio 的自动布局(重新布局)。
有没有类似的OpenSource或者综合指导?
那是 a very specific (and non-trivial) layout you are looking for. There aren't many good implementation out there at all. A good -but commercial- implementation certainly is yFiles - BPMN Demo - 恕我直言 很容易 击败示例 link.
中的 Visio 布局关于开源,您可能应该考虑更通用的布局样式,因为 BPMN 确实是正交流布局的复杂极端情况。也许 Kieler, GraphViz - dot or WebCola 可以调整到足以满足您对 BPMN 图的要求 - 但如果您想支持所有复杂的布局规则和选项,肯定还有很多工作要做。