It is often useful to select isolated components all together to work with them: to delete them, color them in a certain way, or to count them, etc.
Could it be possible to implement a feature which would automatically detect, count and select all the components not attached to the main component? (ie, which would detect isolated components). That could be one of the topology filters...
For now, there is a "weakly connected components" function in the statistics tab, but it does not serve the purposes described above.
Best,
Clement
[SOLVED] Detecting and selecting isolated components
- mbastian
- Gephi Architect
- Posts:728
- Joined:10 Dec 2009 10:11
- Location:San Francisco, CA [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: Detecting and selecting isolated components
Since 0.7beta, you have a Giant Component Filter. By combining it with the NOT operator you can get all isolated components.
-
- Posts:2
- Joined:20 Apr 2011 05:25 [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: Detecting and selecting isolated components
What if there are multiple sizable issolated components? I'd like to drop nodes that are alone or with fewer than n (maybe 5) connected nodes (not n edges from a node). Giant component works great for highlighting the single largest component, but what about retaining other sizable components?
- mbastian
- Gephi Architect
- Posts:728
- Joined:10 Dec 2009 10:11
- Location:San Francisco, CA [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: Detecting and selecting isolated components
You can use the Partition Count filter for doing that. Give a range with lower bound at 5 and it will keep Partitions with equal or higher than 5 elements. Use the filter on the 'Component' column, which is computed when you run the 'Connected Components' metric.
-
- Posts:2
- Joined:20 Apr 2011 05:25 [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: Detecting and selecting isolated components
Perfect. Thanks!