Hi Suhas, let’s wait for someone's else to answer, but, I think you can simply read the file with the Java Buffer Reader and File Reader and pass the edges, like you said source->target. I know that there is a option in GraphStream that auto creates the nodes. 600 000 lines is not much. It should be done in less than a minute. If nobody else answer I can help you to build the script if you need help. Cheers, Ademir From: suhas bhairav <suhasbhairav AT gmail.com> Date: Friday, May 20, 2016 at 8:40 AM To: "ademir.gabbardo AT gmail.com" <ademir.gabbardo AT gmail.com> Subject: Re: Reading a customized file format all at once Hi Ademir,
Thank you for your reply. Yes, I use Java. I have files that contain around 600,000 nodes each. So I was wondering if there are any in-built functions in graphstream that permit adding the entire content of the file to the sink all at once to generate such large graphs in a very short time or should I make use of the usual programming semantics of Java to generate the same. Regards Suhas Bhairav On 20 May 2016 at 00:34, Ademir Gabardo <ademir.gabbardo AT gmail.com> wrote:
|
Archives gérées par MHonArc 2.6.16.