diff --git a/AlgebraicDataflowArchitectureModel/src/application/editor/stages/ControlFlowModelingStage.java b/AlgebraicDataflowArchitectureModel/src/application/editor/stages/ControlFlowModelingStage.java index 488c389..359c677 100644 --- a/AlgebraicDataflowArchitectureModel/src/application/editor/stages/ControlFlowModelingStage.java +++ b/AlgebraicDataflowArchitectureModel/src/application/editor/stages/ControlFlowModelingStage.java @@ -207,21 +207,6 @@ } /** - * Check if the resource node or any of its descendants are in the call graph. - * - * @param node The resource node to check. - * @param callGraph The call graph. - * @return true if the node or any descendant is in the call graph. - */ - private boolean isResourceOrDescendantsInCallGraph(ResourceNode node, CallGraph callGraph) { - if (callGraph.getStatefulObjectNode(node) != null) return true; - for (ResourceNode child : node.getChildren()) { - if (isResourceOrDescendantsInCallGraph(child, callGraph)) return true; - } - return false; - } - - /** * Create and register a new graph cell for event channel nodes. * * @param graph {@link mxGraph} instance to be modified.