diff --git a/AlgebraicDataflowArchitectureModel/src/application/SimulatorWindow.java b/AlgebraicDataflowArchitectureModel/src/application/SimulatorWindow.java index 0dcab51..47b8303 100644 --- a/AlgebraicDataflowArchitectureModel/src/application/SimulatorWindow.java +++ b/AlgebraicDataflowArchitectureModel/src/application/SimulatorWindow.java @@ -147,7 +147,7 @@ ResourcePath res = resNode.getResourceIdentifier(); Object resource = graph.insertVertex(parent, null, res.getLeafResourceName(), x, y, w, h, - "shape=ellipse;perimeter=ellipsePerimeter"); // insert a resource as a vertex + "shape=ellipse;perimeter=ellipsePerimeter;verticalAlign=top;"); // insert a resource as a vertex resources.put(resNode, resource); createChildSimulateResourceVerticies(resource, resNode, resources, w, h); x+=80; @@ -169,7 +169,7 @@ ResourcePath childRes = childNode.getResourceIdentifier(); Object childResource = graph.insertVertex(resource, null, childRes.getName(), 0, 0, w/2, h/2, - "shape=ellipse;perimeter=ellipsePerimeter"); // insert a resource as a vertex + "shape=ellipse;perimeter=ellipsePerimeter;verticalAlign=top;"); // insert a resource as a vertex resources.put(childNode, childResource); createChildSimulateResourceVerticies(childResource, childNode, resources, w, h); }