Skip to content

Commit

Permalink
NN-421 Fixed the bug where hiding nodes keeping their cluster visible
Browse files Browse the repository at this point in the history
  • Loading branch information
TripZz committed Dec 18, 2023
1 parent a8eea9d commit 8a73e5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/visualization/MainVis.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<div id="sigma-canvas" :class="{'loading': threeview, 'split': heatmap }" class="sigma-parent" ref="sigmaContainer"
@contextmenu.prevent="handleSigmaContextMenu" @mouseleave="sigmaFocus = false" @mouseenter="sigmaFocus = true">
<div v-show="moduleSelectionActive === true" v-for="(circle, index) in moduleSet" :key="index">
<div class="modules" v-if="(isMouseInside(circle.data) && !unconnectedActive(circle.modularity) && !mousedownrightCheck && !(mousedownleftCheck && mousemoveCheck) && sigmaFocus) || showCluster">
<div class="modules" v-if="(isMouseInside(circle.data) && !unconnectedActive(circle.modularity) && !mousedownrightCheck && !(mousedownleftCheck && mousemoveCheck) && sigmaFocus) || (showCluster && !unconnectedActive(circle.modularity))">
<div class="inside" v-bind:style="getCircleStyle(circle.data)">
<div class="modularity-class" v-bind:style="getTextStyle(circle.data)" >{{ circle.modularity }}</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/visualization/TermVis.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div id="sigma-canvas" class="sigma-parent" ref="sigmaContainer"
@contextmenu.prevent="handleSigmaContextMenu" @mouseleave="sigmaFocus = false" @mouseenter="sigmaFocus = true">
<div v-show="moduleSelectionActive === true" v-for="(circle, index) in moduleSet" :key="index">
<div class="modules" v-if="(isMouseInside(circle.data) && !unconnectedActive(circle.modularity) && !mousedownrightCheck && !(mousedownleftCheck && mousemoveCheck) && sigmaFocus) || showCluster ">
<div class="modules" v-if="(isMouseInside(circle.data) && !unconnectedActive(circle.modularity) && !mousedownrightCheck && !(mousedownleftCheck && mousemoveCheck) && sigmaFocus) || (showCluster && !unconnectedActive(circle.modularity)) ">
<div class="inside" v-bind:style="getCircleStyle(circle.data)">
<div class="modularity-class" v-bind:style="getTextStyle(circle.data)" >{{ circle.modularity }}</div>
</div>
Expand Down

0 comments on commit 8a73e5d

Please sign in to comment.