Skip to content

Commit

Permalink
Unhighlight on edge clicking (#108)
Browse files Browse the repository at this point in the history
* Unhighlight on edge clicking

* Run linters

---------

Co-authored-by: Lint Bot <[email protected]>
  • Loading branch information
mewim and mewim authored Mar 18, 2024
1 parent d69ffb5 commit 45b1441
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/ShellView/ResultGraph.vue
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,7 @@ export default {
const edgeItem = e.item;
const edgeModel = edgeItem.getModel();
this.deselectAll();
this.unhightlightEverything();
this.g6Graph.setItemState(edgeItem, 'click', true);
this.handleClick(edgeModel);
if (!this.isSidePanelOpen) {
Expand Down

0 comments on commit 45b1441

Please sign in to comment.