sourceItems.removeAll(item);
}
-void GroupScene::createConnectionItem(InterfaceItem *iface1, InterfaceItem *iface2) {
+void GroupScene::createConnectionItem(InterfaceItem *iface1, InterfaceItem *iface2, bool visible) {
ConnectionItem* conn = NULL;
conn = new ConnectionItem(iface1,iface2, dispatcher, params);
+ conn->setVisible(visible);
addItem(conn);
addConnectionItem(conn);
}