I have a large ( 36k vertices, 50k edges ) weighted bimodal bipartite graph and I would like to generate a projection that not only count the neighbors like the default weighted implementation but also sum the weights on the edges. You can think of it as a bipartite graph containing black vertices and blue vertices, where I want to conserve the original graph weights when there are only blue vertices.
The implementations I came across keep the orange value, I am interested on the red one (or hopefully get a bi-weighted projection).
I've looked so far in igraph, networkx and python-tool but in so far I only observed the projection counting the amount of edges.
Networkx method generic_weighted_projected_graph(B, nodes, weight_function=None) may make this viable but I can't see how (sna is new to me, although I am an so so python user).