Made dependency arrows more curved by default.
Added WeighedAverage molecule (refs #4343).
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29181
ac1ea38d-2e2b-0410-8846-
a27921b304fc
*/\r
public DataSet getDataSet(String name) {\r
for(DataSet set : variables)\r
- if(set.name.equalsIgnoreCase(name))\r
+ if(set.name.equals(name)) // Why on earth had these been changed to equalsIgnoreCase???\r
return set;\r
for(DataSet set : initials)\r
- if(set.name.equalsIgnoreCase(name))\r
+ if(set.name.equals(name)) // Why on earth had these been changed to equalsIgnoreCase???\r
return set;\r
return null;\r
}\r
>-- SYSDYN.DependencyConnection.strokeWidth --> L0.Float <R L0.HasProperty : L0.FunctionalRelation
@L0.assert SYSDYN.DependencyConnection.strokeWidth
0.3 : L0.Float
- @L0.assert SYSDYN.Dependency.angle 0.1
+ @L0.assert SYSDYN.Dependency.angle 0.3
MOD.DiagramConnectionTypeToConnectionType
SYSDYN.Dependency
@L0.assert G2D.HasFont SYSDYN.DefaultFont
createArrowShape(shapes,\r
begin.parentObstacle,\r
end.parentObstacle,\r
- 0.1,\r
+ 0.3,\r
null);\r
\r
Path2D path = new Path2D.Double();\r
private Stroke stroke;\r
private Shape beginBounds;\r
private Shape endBounds;\r
- private double angle = 0.1;\r
+ private double angle = 0.3;\r
private String side;\r
private boolean delayMark = false;\r
private boolean arrowHead = true;\r