[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 •Hoe to get the Ego Network of multiple nodes?
Page 1 of 1

Hoe to get the Ego Network of multiple nodes?

Posted: 21 Nov 2013 07:08
by shan_333
Using the Ego Network filter in topology allows me to feed the node ID of one particular node and then there is an option to change the depth.

What I would ideally need is to be able to input multiple node ids in that field.

Neighbour ntwrk filter would allow me to get the depth of a particular egonetwork > 3 but how can I
get the ego networks of two separate nodes ?


One option I guess is to get the ego network of one node and copy those nodes to new workspace and then go back and select ego network of other node and send it to the new workspace. (not sure if this makes sense)
But is there any other way of doing it ? :roll:

Re: Hoe to get the Ego Network of multiple nodes?

Posted: 19 Feb 2014 20:58
by rnovak
Really simple. When you have the individual Ego Network queries that you want, use the UNION operator. Also INTERSECTION might be useful for your development.

So, use UNION and add Ego Network just inside the UNION operator. Now please be careful because it is easy to have queries slip to a lower level sub filter. So it should look like this:
UNION:
Ego Network (UNION subfilter)
< Not Here as a subfilter under Ego Network>
Ego Network (UNION subfilter)


Experiment and good luck!

Re: Hoe to get the Ego Network of multiple nodes?

Posted: 20 Feb 2014 05:49
by shan_333
rnovak wrote:Really simple. When you have the individual Ego Network queries that you want, use the UNION operator. Also INTERSECTION might be useful for your development.

So, use UNION and add Ego Network just inside the UNION operator. Now please be careful because it is easy to have queries slip to a lower level sub filter. So it should look like this:
UNION:
Ego Network (UNION subfilter)
< Not Here as a subfilter under Ego Network>
Ego Network (UNION subfilter)


Experiment and good luck!
Thanks! rnovak
Will try :)