+
+bool Graph::removeFunctionalBlock(FunctionalBlock* block, GroupBlock *group) {
+ group->removeBlock(block);
+}
+
+bool Graph::removeGroupBlock(GroupBlock *group) {
+ group->removeAllBlocks();
+ GroupBlock* parent = AB_TO_GRP(group->getParent());
+ parent->removeBlock(group);
+}