diff --git a/AlgebraicDataflowArchitectureModel/src/application/editor/stages/ControlFlowModelingStage.java b/AlgebraicDataflowArchitectureModel/src/application/editor/stages/ControlFlowModelingStage.java index 9cca31f..488c389 100644 --- a/AlgebraicDataflowArchitectureModel/src/application/editor/stages/ControlFlowModelingStage.java +++ b/AlgebraicDataflowArchitectureModel/src/application/editor/stages/ControlFlowModelingStage.java @@ -166,13 +166,9 @@ } for (ResourceNode rootNode : controlFlowGraph.getDataFlowGraph().getRootResourceNodes()) { - if (callGraph != null && !isResourceOrDescendantsInCallGraph(rootNode, callGraph)) { - continue; - } - ResourcePath rootResourcePath = rootNode.getPrimaryResourcePath(); - int width = 160; - int height = 80; + int width = 240; + int height = 120; mxCell insertedCell = (mxCell) graph.insertVertex(layerCell, null, rootResourcePath.getLeafResourceName(), 20, 20, width, height, "shape=ellipse;perimeter=ellipsePerimeter;verticalAlign=top"); // insert a resource as a vertex resourceNodeCells.put(rootNode, insertedCell); @@ -193,10 +189,6 @@ */ private void createChildResourceNodeCell(final mxGraph graph, final mxCell parentCell, final ResourceNode parentNode, final Map resourceNodeCells, int width, int height, final CallGraph callGraph) { for (ResourceNode childNode : parentNode.getChildren()) { - if (callGraph != null && !isResourceOrDescendantsInCallGraph(childNode, callGraph)) { - continue; - } - ResourcePath resourcePath = childNode.getPrimaryResourcePath(); mxGeometry parentGeo = parentCell.getGeometry();