Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Devrim Gunyel
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
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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