-
- GroupBlock* parentGroupBlock = AB_TO_GRP(((GroupItem *)parentItem())->getRefBlock());
- FunctionalBlock* functionalBlock = params->getGraph()->createFunctionalBlock(parentGroupBlock, reference);
- /* NB: addFunctionalBlock creates all interfaces from the reference, which is annoying when
+
+ FunctionalBlock* functionalBlock = params->getGraph()->createSourceBlock(reference);
+ /* NB: createSourceBlock creates all interfaces from the reference, which is annoying when