Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在我的图形编辑器程序中,我创建了一个带有输入和输出端口的块(mxcells),它看起来像
我想将设计规则设置为,同时在端口之间创建边缘。
输出端口应仅连接到输入端口。 输入端口不应连接到另一个输入端口..等...
我该如何设置这些规则?JGraphX 中是否有任何用于设计规则检查(DRC)的方法?
我已经通过使用 mxMultiplicity 成功做到了。使用以下程序作为参考链接