Closed d-callan closed 4 months ago
side note.. seems the bipartitenetwork viz is maybe more properly called a correlationbipartitenetwork ?? not urgent obviously, just a thought i had while looking at this
I'd be curious to read through the other discussion. And I have questions about the stroke vs weight thing for the component, but I'll save them for Mon probably
ok. so i changed some names to separate the viz and component types as requested. i think given how things are, its reasonable. though i do wonder if were potentially backing ourselves into a corner. are we very confident the component will never need to know about the underlying data? that will always be either the backend or the vizs job? given the way weve engineered things so far im ok w continuing w that assumption, just made me a bit nervous.
Yes i think from a philosophical standpoint the component should not know about the data. It should be only drawing a network, exactly as given. It's everyone else's job to provide the context, and let the component be totally independent. There might be something that breaks that idea someday, but for now this setup seems like it should best handle all of our use cases.
I want to call that type
BipartiteNetwork
but that could be confusing with the component being named the same thing. @dmfalke might have an opinion here.
I'm not sure which type you want to call BipartiteNetwork
. Regardless, my instinct is to say that we should not have a component named BipartiteNetwork
, and instead should be something like BipartiteNetworkPlot
. My thinking is that the component represents one way to "visualize" the network data. Does that make sense?
@dmfalke sounds good. I added this renaming task to the bipartite network polishing gh issue.
Great. I wonder if there are other components that should have Plot
appended to their name. Would you mind adding a note to check in the polish-up issue?
resolves https://github.com/VEuPathDB/web-monorepo/issues/764
this will keep from breaking things that are currently working. idk if there were other changes you were anticipating..