how to implement hidden subgraphs? E.g. after doing a web crawl we have nodes representing sites. The links however are between the pages, but the visualization shows them between the sites. For us it is a
great way to keep the maps readable but still have all the information from the network available. Could you tell me how to do this with GEXF?
[SOLVED] Hidden subgraphs
- 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: Hidden subgraphs
To achieve that, you need to create a hierarchy of nodes in the GEXF and leave edges between pages. Thanks to automated meta-edges creation in Gephi, meta-edges are automatically created between sites from links between pages. That is done automatically when you are visualizing the sites level.
You have two choices for writing nodes hierarchy:
or
and as said, only edges between pages. I hope that answered your question.
Note that curently, meta-edges support in Gephi is still partial (cannot be used in filters) but that will be fixed soon.
You have two choices for writing nodes hierarchy:
Code: Select all
<graph mode="static" defaultedgetype="directed">
<nodes>
<node id="site_1" label="http://site1">
<nodes>
<node id="page_1.1" label="http://page11">
<nodes>
</nodes>
</graph>
Code: Select all
<nodes>
<node id="site_1" label="http://site1" />
<node id="page_1.1" label="http://page11" pid="site_1" />
</nodes>
Note that curently, meta-edges support in Gephi is still partial (cannot be used in filters) but that will be fixed soon.