[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 583: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 639: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
Gephi forums •summing up weights for multiple edges in a directed graph
Page 1 of 1

summing up weights for multiple edges in a directed graph

Posted: 22 Jul 2017 12:05
by sumitk7
Hello,

I want to confirm if Gephi sums up the weights in case of multiple edges between two nodes in a directed network. In a simple example that i created to check this, it did not. The same is the case for an undirected network.

Can any one please confirm this and advise if there is a way I can get the weights to sumed up. The multiple edges in my network are added at different times and thus i would like to retain them.

Thanks

Re: summing up weights for multiple edges in a directed graph

Posted: 28 Jan 2018 11:32
by xptrxptr
You can save the network in Pajek net format and use Pajek to do it:
Network - Create New Network - Transform - Remove - Multiple Lines - Sum Values

Re: summing up weights for multiple edges in a directed graph

Posted: 22 Feb 2018 12:47
by eduramiba
You should be able to do this in Gephi 0.9.2+ by importing a file and choose Sum in edges weight strategy, then import the second file and do the same. Repeated edges weights will be accumulated.