Commit c4a61491 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

center line defined for heterodimer association

parent 3a82fd47
......@@ -888,9 +888,15 @@ public class ReactionFromXml {
product.getLine().getEndAtd().setArrowType(ArrowType.FULL);
result.addNode(andOperator);
PolylineData centerLine = new PolylineData();
centerLine.addPoint(pointTransformation.copyPoint(andOperator.getLine().getEndPoint()));
centerLine.addPoint(pointTransformation.copyPoint(product.getLine().getBeginPoint()));
result.setLine(centerLine);
} else {
NodeOperator operator = null;
Set<String> undefinedTypes = new HashSet<String>();
Set<String> undefinedTypes = new HashSet<>();
for (int i = 0; i < gateMembers.getChildNodes().getLength(); i++) {
Node child = gateMembers.getChildNodes().item(i);
if (child.getNodeType() == Node.ELEMENT_NODE) {
......
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