Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -528,8 +528,10 @@ protected GPoint getOffset(final GModelElement gelem, final ElkGraphElement elkE
for (GModelElement sParent : sParents) {
if (sParent instanceof GBoundsAware) {
GPoint position = ((GBoundsAware) sParent).getPosition();
x -= position.getX();
y -= position.getY();
if (position != null) {
x -= position.getX();
y -= position.getY();
}
}
}
}
Expand Down
Loading