有 Java 编程相关的问题?

你可以在下面搜索框中键入要查询的问题!

java如何在JGraphX图形编辑器中设置设计规则?

在我的图形编辑器程序中,我创建了一个带有输入和输出端口的块(mxcells),它看起来像 enter image description here

我想将设计规则设置为,同时在端口之间创建边缘

  1. Out put port should connected to input port only.
  2. Input port should not connected to another input port..etc...

我该如何设定这些规则?JGraphX中是否有设计规则检查(DRC)的方法


共 (0) 个答案