From f35036b68b0ddecfcb96bbaec009e5bf14af66f1 Mon Sep 17 00:00:00 2001 From: TripZz Date: Thu, 2 Nov 2023 14:13:50 +0100 Subject: [PATCH] NN-378 Implemented pathways pane -added statistics -added connections -added "to term graph" --- frontend/src/assets/pane/follow.png | Bin 0 -> 10746 bytes .../enrichment/graph/PathwayGraph.vue | 1 + frontend/src/components/pane/PaneSystem.vue | 16 +- .../src/components/pane/modules/TermPane.vue | 131 ----------------- .../pane/modules/node/NetworkStatistics.vue | 4 +- .../pane/modules/node/NodeConnections.vue | 3 +- .../modules/pathways/PathwayConnections.vue | 62 ++++++++ .../modules/pathways/PathwayStatistics.vue | 54 +++++++ .../pane/modules/pathways/TermPane.vue | 138 ++++++++++++++++++ .../components/toolbar/modules/DEValue.vue | 4 +- 10 files changed, 271 insertions(+), 142 deletions(-) create mode 100644 frontend/src/assets/pane/follow.png delete mode 100644 frontend/src/components/pane/modules/TermPane.vue create mode 100644 frontend/src/components/pane/modules/pathways/PathwayConnections.vue create mode 100644 frontend/src/components/pane/modules/pathways/PathwayStatistics.vue create mode 100644 frontend/src/components/pane/modules/pathways/TermPane.vue diff --git a/frontend/src/assets/pane/follow.png b/frontend/src/assets/pane/follow.png new file mode 100644 index 0000000000000000000000000000000000000000..7c55b1457dfb16bf1c283a048cd2f9da99373589 GIT binary patch literal 10746 zcmeHtXH*m4w>CvukRDoqND&O7C=iNB4NZDUXrY5ZLa%}#NC!a#A@r8ed(j|8=}l22 zbbf#WBE5+8qWJ3X|KYBC-%s!7_s&|g&dgb7ojLo=%(M4?p8eFwK#L9l0+5i9&}rXS zHz6S*`*TS~LQVds=_|ka?oUJR57$OgQ&Z0`8!r91rSZ9M=}$r;So`-R6$F%j`_su8 zpkWb!@OB9Za`1B|2?`1l$9TE>J306`i+lUI=Itqf{>(#Sq=(e_{rmTy@&9}L?+*O` zxdXHUEz5r_{~cgrfFL0yBfmyLNkvTqpuJ8<&%nsU%mQR(W9Q%madGp2Z}9T*3)~bG zx&;x2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OG=Kb2=?U>74 zNG+y+eGL1KrH+vbrO1RA#y=%a{ts2ns?Qx`qUzdD_(TD#dMF2z*{9a8?i8Vs5ZSDE z%MEzIOL%B0IC3#Rm0&!BCDsmqz_tAkWv|2b5{+7kdY$lBtA=^n-ELKBNkQ8>dyzTb zw;$%qJvEkXg=f_fy5s**>ZksFJV5B47Wa9|R)dMHo8e_Ud-;0eugoY-c24LYWb)~# zS*#E|Aooewa!dxqHZ01rB)_n`K%`1shf~vt(W<~B-#&Uow~ZQ=E?Lbh^J1rv=b)Z%X^R0 z4$w`BZJR`+iv<8m^fpb?QXC2;`toYs2A@%{Yi~wHxZNm z`7oY>iK55hFla((Ad7dc^xK4tbi=pu9%D>f!z5AWTsT3agkfBBfOe>WPAgy0%R$03 zzz61toM|SQZ_>7f{c3#C<-JE+MwpqaPq6HKvyExll0J2Q9ZNUo@};Fb_hC)fe7wc9 zH+wQfz^tk@H$0>C46nxk7{d9=@O$B9& zrtb%y0Vbs$eTNL6*#DQ(g7%!J3GC|~BbDxQD9aP= zA1Av5MOag?r~PC{82D?#?TXw&7UcRFqn(L4@$j~Y3Dc9o%!$LYgQf&su^Uwt@y96y z^|v}ta(ultiLhx&`Z}c>g)5p~ z5Aq*<*V@lVPf|S-_-;ots{ME-?44Xw*fWMg@5A4vF~0Vv!O9By|5eCwxB0*7J0@uV zmVLObv|bCo7WWq9@bPIa_qCKsiYJv$dR3v-vISoi9Z^P=r9+?Uuz7*2P ztB;ku3eWd#{JzIAN;8M77ltbZ=TEvU+z_dZJ#cMsr!xfp_v)Jsj8ee#7F1JXYRghB zua70{>REnS=w@YyuD|5ZeRQer$PTK6(3lFmnB3$+sfLOU*0iaA8jD z(ybEbvY6Rh=I_NhCqQCYd*5J$Lte&p?d<@C$V{!s+}n~;!dD-C2-3f`nDAg|tvJx# oj7_vqR_a#heN8vXuY { if(response.data){ this.graph_number += 1 + if(this.term_graphs.size < 1) this.$store.commit('assign_term_graph', response.data) this.$store.commit('assign_new_term_graph', {label: `Graph ${this.graph_number}`, graph: response.data}) this.term_graphs.add({ id: this.graph_number, label: `Graph ${this.graph_number}`, graph: response.data}); } diff --git a/frontend/src/components/pane/PaneSystem.vue b/frontend/src/components/pane/PaneSystem.vue index 327dc612..03d628eb 100644 --- a/frontend/src/components/pane/PaneSystem.vue +++ b/frontend/src/components/pane/PaneSystem.vue @@ -13,15 +13,17 @@ :gephi_data='gephi_data' @active_item_changed = 'active_item = $event' > - -