Merging multiple edges - not duplicates

Visual manipulations and refinements
Post Reply [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
mbrowning
Posts:8
Joined:05 Mar 2018 17:21
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
Merging multiple edges - not duplicates

Post by mbrowning » 21 Mar 2018 20:26

I have two nodes with three edges between them, all representing a different interaction. If I merge the nodes, and then colorize based on an attribute that was unique to each edge pre-merge, how does Gephi decide which of those attributes to preserve and therefore colorize by?

User avatar
eduramiba
Gephi Code Manager
Posts:1064
Joined:22 Mar 2010 15:30
Location:Madrid, Spain
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: Merging multiple edges - not duplicates

Post by eduramiba » 22 Mar 2018 10:08

If you merge the nodes, you choose an strategy to decide what value to keep for each attribute, and there are a few (join values, first, last...).

Post Reply
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable