Skip to content
Snippets Groups Projects
Commit 7da306af authored by Piotr Gawron's avatar Piotr Gawron
Browse files

layout for reaction with single product has proper arrows

parent d74021c7
No related branches found
No related tags found
1 merge request!186Resolve "upload of sbml"
......@@ -202,8 +202,9 @@ public class SbmlParser implements IConverter {
if (reaction.getProducts().size() == 1) {
PolylineData line = new PolylineData();
line.addPoint(productEndPoint);
line.addPoint(center);
line.addPoint(productEndPoint);
line.getEndAtd().setArrowType(ArrowType.FULL);
reaction.getProducts().get(0).setLine(line);
} else {
for (Product product : reaction.getProducts()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment