Skip to content

Commit

Permalink
NN-400 Added cluster identification for module selection
Browse files Browse the repository at this point in the history
- aswell added colortype to heatmaps
  • Loading branch information
TripZz committed Nov 27, 2023
1 parent 5a00167 commit 0584879
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<div class="graph-options" v-show="activeHeatmapIndex == index" >
<div class="bookmark-graph" v-on:click.stop="add_graph(entry)" :class="{ checked: favourite_heatmaps.has(entry)}" ref="checkboxStatesHeatmap"></div>
<img class="remove-graph" src="@/assets/pathwaybar/cross.png" v-on:click.stop="remove_graph(entry)">
<div class="graph-name">
<div class="graph-name colortype">
<input type="text" v-model="entry.label" class="empty" @click.stop />
</div>
</div>
Expand Down
16 changes: 7 additions & 9 deletions frontend/src/components/visualization/TermVis.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@
<div class="visualization">
<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"
:class="{
'outside': !isMouseInside(circle.data),
'inside': isMouseInside(circle.data) && !unconnectedActive(circle.modularity) && !mousedownrightCheck && !(mousedownleftCheck && mousemoveCheck) && sigmaFocus,
}"
v-bind:style="getCircleStyle(circle.data)"
></div>
<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">
<div class="inside" v-bind:style="getCircleStyle(circle.data)">
<div class="modularity-class">{{ circle.modularity }}</div>
</div>
</div>
</div>
</div>
</div>
</template>
Expand Down

0 comments on commit 0584879

Please sign in to comment.