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.
我正在尝试禁用用于显示单元格图标/标签的所有(子)顶点上的连接。当我运行以下代码时,插入的顶点仍然可以以某种方式连接。
labelCellObject = (mxCell)getGraph().insertVertex(this, "labelCell", "", 0, 0, 10, 8, ""); labelCell.setVertex(true); labelCell.setConnectable(false);
对象的名称不同。如果您在第一行中从以下几行中更改labelCellObject为labelCell喜欢,我想它应该可以工作。
labelCellObject
labelCell