Commit 9233ccbb authored by Piotr Gawron's avatar Piotr Gawron
Browse files

operator direction fixed

parent aedf1def
......@@ -272,7 +272,7 @@ public class ApplySimpleLayoutModelCommand extends ApplyLayoutModelCommand {
}
Point2D productPoint = reaction.getReactants().get(0).getElement().getCenter();
Point2D operatorPoint = getMiddlePoint(middle, productPoint);
operator.setLine(new PolylineData(middle, operatorPoint));
operator.setLine(new PolylineData(operatorPoint,middle));
reaction.addNode(operator);
middle = operatorPoint;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment