-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NN-608 update gene search in highlight nodes UI
- Loading branch information
1 parent
9b3025b
commit 944fbb5
Showing
7 changed files
with
124 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
frontend/src/components/toolbar/modules/ExportGraphData.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<template> | ||
<Button severity="secondary" type="button" label="Export protein graph data" icon="pi pi-download" iconPos="right" | ||
class="!w-full !justify-between !rounded-lg" @click="toggle" /> | ||
<Popover class="w-[13rem]" ref="op" :pt="{ content: { class: 'px-1 flex flex-col gap-1' } }"> | ||
<ExportGraph></ExportGraph> | ||
<ExportProteins :gephi_data="gephi_data"></ExportProteins> | ||
<ExportEdges :gephi_data="gephi_data" :ensembl_name_index="ensembl_name_index"></ExportEdges> | ||
</Popover> | ||
</template> | ||
|
||
<script setup> | ||
import { ref } from "vue"; | ||
const op = ref(); | ||
const toggle = (event) => { | ||
op.value.toggle(event); | ||
}; | ||
</script> | ||
|
||
<script> | ||
import ExportProteins from "@/components/toolbar/modules/ExportProteins.vue"; | ||
import ExportEdges from "@/components/toolbar/modules/ExportEdges.vue"; | ||
import ExportGraph from "@/components/toolbar/modules/ExportGraph.vue"; | ||
export default { | ||
name: "ExportGraphData", | ||
props: ["mode", "gephi_data", "ensembl_name_index"], | ||
components: { | ||
ExportProteins, | ||
ExportEdges, | ||
ExportGraph | ||
}, | ||
data() { | ||
return {}; | ||
}, | ||
}; | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters