}
delete ihmList;
+ //Find PortInESNode
+ SUPERVGUI_PortInESNode* piES;
+ QObjectList* ihmListES = queryList("SUPERVGUI_PortInESNode");
+ QObjectListIt iES(*ihmListES);
+ while ((piES=(SUPERVGUI_PortInESNode*)iES.current()) != 0) {
+ ++iES;
+ if (piES->getPort()->IsLinked()) {
+ SUPERV_Links aLinks = piES->getPort()->Links();
+ for (int j=0; j<aLinks->length(); j++) {
+ if (toCheckExisting) {
+ if (aGraph->isLinkPrsExists(aLinks[j]))
+ continue;
+ }
+ aGraph->createLinkPrs(aLinks[j]);
+ }
+ }
+ }
+ delete ihmListES;
}
}
}
}
+
+
+/**
+ * Returns coordinates of connection point in content coordinates
+ */
+QPoint SUPERVGUI_GraphNode::getInConnectPnt() {
+ return QPoint(pos().x(),
+ pos().y() + (height()/2));
+}
+QPoint SUPERVGUI_GraphNode::getOutConnectPnt() {
+ return QPoint(pos().x() + width(),
+ pos().y() + (height()/2));
+}