Edge weight based on in-degree

Computing metrics, community detection and data handling
Post Reply
arefossaa
Posts: 13
Joined: 23 Nov 2016 14:16

Edge weight based on in-degree

Post by arefossaa » 15 Mar 2017 16:13

Hi!

Is there any function in Gephi that allows you to set the edge weight based on the source nodes in-degree?
I.e. I would like for nodes with a high in-degree to have higher weighted edges when they are the source node.

Thanks!

User avatar
eduramiba
Gephi Code Manager
Posts: 922
Joined: 22 Mar 2010 15:30
Location: Madrid, Spain

Re: Edge weight based on in-degree

Post by eduramiba » 16 Mar 2017 16:35

Hi,
I don't think this is possible with core Gephi. Maybe you can do it with the scripting plugin: https://github.com/gephi/gephi/wiki/Scripting-Plugin

arefossaa
Posts: 13
Joined: 23 Nov 2016 14:16

Re: Edge weight based on in-degree

Post by arefossaa » 23 Mar 2017 19:21

Thanks!
I'll try it out!

Post Reply