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: implement edge thresholding and mapping #524

Closed asizemore closed 1 year ago

asizemore commented 1 year ago

The bipartite network should threshold edges based on some value. Also, if a node has no edges, it should be removed. Note that thresholding the edges should affect the range of stroke widths so should be remapped.

  1. Add prop to BipartiteNetwork called edgeThreshold or similar
  2. Remove edges that do not meet this threshold
  3. Remove nodes from the plot that have no edges
  4. Adjust stroke width scale based on min (edgeThreshold) and max edge values.
asizemore commented 1 year ago

Nope just kidding we decided thresholds are going to go to the backend. Plot.data can remove edges and nodes and then just send the frontend the final network.