VEuPathDB / web-monorepo

A monorepo that contains all frontend code for VEuPathDB websites
Apache License 2.0
2 stars 0 forks source link

Bipartite Network: Add node filters #924

Open asizemore opened 6 months ago

asizemore commented 6 months ago

In order to reduce the number of uninteresting nodes on the plot, let's add the ability to filter each column. This would allow the user to focus only on metadata they care about, for example, or all species of Klebsiella.

Mockups in Mbio Correlation app -> Bipartite Network 2.0 Screenshots below!

Screen Shot 2024-03-08 at 1 42 30 PM Screen Shot 2024-03-08 at 1 42 40 PM Screen Shot 2024-03-08 at 1 42 50 PM Screen Shot 2024-03-08 at 1 42 58 PM
asizemore commented 5 months ago

Note that this same feature would be helpful for both the bipartite and regular networks

dmfalke commented 4 months ago

I suggest that this is done after #996

asizemore commented 3 months ago

Update: because of ux reasons we've decided to make the node filter part of the visualization inputs. So it would live next to the Link Threshold filters. The input should still be a searchable dropdown (like the multiselect but with checkboxes), and we'll send that list to the backend. The backend will remove the nodes from the network.

This issue is paused until the backend work is complete.

asizemore commented 2 months ago

Note that in #1113 @moontrip kindly updated the network viz to include client-side node filtering, while this issue is about backend filtering.