Revize 9fae3996
Přidáno uživatelem Tomáš Šimandl před více než 6 roky(ů)
sources/src/main/webapp/js/components/vertex.js | ||
---|---|---|
397 | 397 |
this.removeFromSidebarList(); |
398 | 398 | |
399 | 399 |
this.setExcluded(false); |
400 |
this.remove(false); |
|
400 |
this.remove(false); |
|
401 | ||
402 |
if(iconsDisplayed) { |
|
403 |
showIconClick.bind(this)(null); |
|
404 |
} |
|
401 | 405 | |
402 | 406 |
app.viewportComponent.addVertex(this); |
403 | 407 | |
... | ... | |
742 | 746 |
inEdgeList.filter(function(edge) { |
743 | 747 |
return !edge.getFrom().isExcluded(); |
744 | 748 |
}).forEach(function(edge) { |
745 |
neighbourList.push(edge.getFrom()); |
|
749 |
if(!neighbourList.includes(edge.getFrom())) { |
|
750 |
neighbourList.push(edge.getFrom()); |
|
751 |
} |
|
746 | 752 |
}); |
747 | 753 | |
748 | 754 |
outEdgeList.filter(function(edge) { |
749 | 755 |
return !edge.getTo().isExcluded(); |
750 | 756 |
}).forEach(function(edge) { |
751 |
neighbourList.push(edge.getTo()); |
|
757 |
if(!neighbourList.includes(edge.getTo())) { |
|
758 |
neighbourList.push(edge.getTo()); |
|
759 |
} |
|
752 | 760 |
}); |
753 | 761 | |
754 | 762 |
neighbourList.forEach(function(node) { |
Také k dispozici: Unified diff
symbol display bug fixes
- symbol displayed more than once
- symbol not removed after vertex was removed from side bar