[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 •Is it possible to filter Labels?
Page 1 of 1

Is it possible to filter Labels?

Posted: 07 Oct 2016 19:56
by DanielMango64
When filtering nodes, you can choose to leave out nodes with very small degree.

Is it possible for me to do this for labels of nodes with small degree?
I know that I can make labels smaller for less important nodes, but what about completely disappearing?

(Essentially I am trying to only have labels for nodes with significant influence--can I use a filter to stop the small nodes from having labels? Is there another way of doing this?)

Thanks a bunch guys! :)

Re: Is it possible to filter Labels?

Posted: 08 Oct 2016 17:54
by eduramiba
You could filter the nodes that you want to remove the label, then go to data laboratory, select all the rows, right click, select 'Clear...' and clear the Label column. If you don't want to lose the data, you can create a copy of the label column in data laboratory too.

Re: Is it possible to filter Labels?

Posted: 10 Oct 2016 17:20
by DanielMango64
Hmmmm I guess that's a work around. Thank you very much!
Is there no way of doing this directly though? It seems like a pretty common sense feature.

Re: Is it possible to filter Labels?

Posted: 18 Jan 2017 00:33
by nrauhauser
You can manually set the minimum text size to 0.2, but no spline setting permits one to completely hide the labels for low degree nodes without hiding the node at the same time. This is a hideous misfeature in 0.9.1. I forget exactly how it worked in 0.8.2 but it was nice and clean, no screwing around in data lab to get it done.

Hope this is corrected in the next release.

Re: Is it possible to filter Labels?

Posted: 18 Jan 2017 01:08
by nrauhauser
I've spent half an hour with various filters and other poking around, the clear column doesn't do the selection, it wipes the whole column.

This is extraordinarily clumsy for something that should be tunable in the Appearance area.

Re: Is it possible to filter Labels?

Posted: 16 Apr 2017 02:46
by timathom
Here is a way to filter labels (I'm using Gephi 0.9.1 on Ubuntu):

1. Run the statistic you want to use in your filter (I used Degree).
2. Select the Filter tab.
3. Apply the filter to your graph: for example, I filtered by Degree Range.
4. While the filter is on, click the button with a small capital "A" and an arrow to "hide nodes/edges labels if not in filtered graph."
5. Stop the filter. Labels should now be hidden for all nodes except the ones that met your filtering criteria.

Hope that helps!