I don't know if the following can be done with the current Filter Library functions, but here goes:
Problem Summary:
From a directed network, I only want to show those bi-directional edges that have weight values above a certain threshold on both directions.
Problem description:
I use fully-connected directed networks for input. All edges are bi-directional (meaning: two edges that connect the same two nodes in opposite direction). Thus, every edge in the network serves as both an incoming as well as an outgoing edge for a node. In my current research, "reciprocation" play an important role, therefore I only want to show edges that have weights above a certain threshold level for both directions, e.g.:
edge(n0,n1)=4, edge(n1,n0)=3.6, threshold=3 --> show edge(n0,1) & edge(n1,n0) , but if
edge(n0,n1)=2, edge(n1,n0)=3.6, threshold=3 --> DON'T show edge(n0,1) & edge(n1,n0) !
I reckon that the filter will at least involve a query Edge Weight, but I can't figure out how to do that for a specific bi-directional edge -- edge(source,target) & edge(target,source).
![Question :?:](./images/smilies/icon_question.gif)
..
Ideally, I would also like to be able to color or resize those edges that fit the criteria above, so that I can see the total graph and still have an idea of how much reciprocation is in there. Ranking an edge based on it's reciprocation (a boolean: either an edge is reciprocated or not) would be most logical.
So, a side-question is: Can one use a Filter query as input for the creation of a Ranking or Partition?
..
I hope you can find the time to help me out on this one, again much appreciated!
Kind regards,
Paul
-----
I'm not sure whether to post this here in the "How-To and Troubleshooting" section or in the "Plugins, presets and filters" section, because I don't know if it requires any "Extensions and customization". Pls move post if appropriate.