Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
minerva
core
Commits
9233ccbb
Commit
9233ccbb
authored
May 13, 2019
by
Piotr Gawron
Browse files
operator direction fixed
parent
aedf1def
Changes
1
Hide whitespace changes
Inline
Side-by-side
model-command/src/main/java/lcsb/mapviewer/commands/layout/ApplySimpleLayoutModelCommand.java
View file @
9233ccbb
...
...
@@ -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
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment