[Networkit] Exporting subgraph to a file

Christian Staudt christian.staudt at kit.edu
Tue Nov 18 11:16:06 CET 2014

Hi NetworKit developers,

as pointed out by user Israa, our subgraph extraction code (NetworKit::Subgraph) is not powerful enough. There must be a way to preserve the original node ids, e.g. by providing a map from old to new ids. 
Does anyone have a good idea on how to redesign the Subgraph class?


Am 18.11.2014 um 07:03 schrieb Isra Al Qasem <isra_aq at hotmail.com>:

> Hi,
> I need to export a sub-graph to a file while keeping the nodes IDs similar to their IDs in the original graph (I don't want the ids count to start from zero)? Is there a way to do in networkit? 
> Thanks,
> Israa

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ira.uni-karlsruhe.de/mailman/private/networkit/attachments/20141118/5cc8d51b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.ira.uni-karlsruhe.de/mailman/private/networkit/attachments/20141118/5cc8d51b/attachment.sig>

More information about the NetworKit mailing list