submenu.add(new TogglePropertyItem(graphComponent, mxResources.get("connectable"), "Connectable"));
submenu.add(new TogglePropertyItem(graph, mxResources.get("connectableEdges"), "ConnectableEdges"));
submenu.addSeparator();
submenu.add(new ToggleCreateTargetItem(editor, mxResources.get("createTarget")));
submenu.add(new TogglePropertyItem(graph, mxResources.get("disconnectOnMove"), "DisconnectOnMove"));
submenu.addSeparator();
submenu.add(editor.bind(mxResources.get("connectMode"), new ToggleConnectModeAction()));