Im am trying to disable connections on all my (sub) vertexes that i use for showing cell icons/labels. When i do run the following code the inserted vertex is still somehow connectable.
labelCellObject = (mxCell)getGraph().insertVertex(this, "labelCell", "", 0, 0, 10, 8, "");
labelCell.setVertex(true);
labelCell.setConnectable(false);