GT-3161 - Function Graph - fixed 3 bugs that caused some edges to get

clipped by vertices
This commit is contained in:
dragonmacher 2019-09-17 13:36:18 -04:00
parent c10939cb63
commit 99ded59e84
2 changed files with 26 additions and 16 deletions

View file

@ -103,10 +103,10 @@ public class LayoutLocationMap<V, E> {
Column column = null;
Collection<Column> values = columnsByIndex.values();
for (Column nextColumn : values) {
column = nextColumn;
if (x < column.x) {
if (x < nextColumn.x) {
return column;
}
column = nextColumn;
}
return column;
}