[SOLVED] Showing only the neighborhood of a node

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
User avatar
ppareja
Posts:10
Joined:15 Apr 2011 10:31
Location:Granada, Spain
Contact:
[SOLVED] Showing only the neighborhood of a node

Post by ppareja » 24 Nov 2011 16:39

Hi!

This is probably a 100% newbie question but I cannot find the way to show only the neighborhood of a node.

I managed to filter the edges I want (but not the nodes) with a MASK operator and an attribute filter inside specifying the id of the node I'm interested in.
However I don't know how could I get rid of the rest of the nodes not linked by these edges?
Thanks in advance.
Cheers,

Pablo

admin
Gephi Community Manager
Posts:964
Joined:09 Dec 2009 14:41
[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: Showing only the neighborhood of a node

Post by admin » 24 Nov 2011 17:39

Hi,

In Filters, go to Topology > Ego-network.

User avatar
ppareja
Posts:10
Joined:15 Apr 2011 10:31
Location:Granada, Spain
Contact:

Re: Showing only the neighborhood of a node

Post by ppareja » 25 Nov 2011 12:37

Thanks!

Just one more thing, would it be possible to apply the Ego-Network filter to a set of nodes (which are the result of other filter such as attribute equals to regular expression) ?
Cheers,

Pablo

admin
Gephi Community Manager
Posts:964
Joined:09 Dec 2009 14:41
[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: Showing only the neighborhood of a node

Post by admin » 25 Nov 2011 13:27

Yes,

It is called the "Neighbors Network" filter.

mohammadazin
Posts:3
Joined:14 Jun 2012 03:08
[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: [SOLVED] Showing only the neighborhood of a node

Post by mohammadazin » 01 Jul 2012 03:35

Hi Friends

Ego Network shows all the connected network. I want to filter just one node and all connected edges and nodes to this node, not the edges connecting the other nodes.

lukean
Posts:5
Joined:13 Jan 2013 04:56
Location:Berlin
[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: [SOLVED] Showing only the neighborhood of a node

Post by lukean » 14 Jan 2013 11:05

managed to filter the edges I want (but not the nodes) with a MASK operator and an attribute filter inside specifying the id of the node I'm interested in.
Hmm any idea why this filter setup fails?
It doesn't mask the edges of one node ID (1st fig).
Although the node ID filter itself works (2nd fig).

Image

lukean
Posts:5
Joined:13 Jan 2013 04:56
Location:Berlin
[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: [SOLVED] Showing only the neighborhood of a node

Post by lukean » 22 Jan 2013 11:26

Sorry, my above post is a doublet. Please find the solution in this thread.

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