[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 •Copy colors of certain nodes from one workspace to another
Page 1 of 1

Copy colors of certain nodes from one workspace to another

Posted: 17 Jun 2014 10:19
by nittonfemton
I have two workspaces with pretty much the same data but in different layouts. All the node id:s are the same. Edges might differ.

In the first workspace I have set different groups of nodes with different colors.

I would like to see where these nodes are on the second workspace. So far I've only solution has been to lookup each node individually in the data laboratory and set the correspondig colors manually. I had hoped that I could mark the nodes from workspace 1 and just copy them to workspace 2, but if they are (and replacing the old ones) they're not copying the node colors.

Perhaps if I filter them by node id, but I cannot figure out the regexp for this. Filtering on regexp "(12345),(12346)" won't do, with or without the ().

How ?

Re: Copy colors of certain nodes from one workspace to anoth

Posted: 17 Jun 2014 10:24
by nittonfemton
As usually is the case, I found out the answer just after posting the question. I will answer it myself if anyone has the same problem, or have a better solution.

Just export workspace 1 as a .gexf file, then open it in workspace 2. Choose "append graph" instead of "new graph". Voila...

Re: Copy colors of certain nodes from one workspace to anoth

Posted: 17 Jun 2014 12:34
by nittonfemton
I guess another to do it would be to add a column to these nodes in the data laboratory and just name with "Green group" or something, and then filtering them on the next workspace.