please could someone tell me how can i read from file using BGL. the data in a file will be the graph component.
I don,t want to use graphviz, any other way?

thanks



From: Nicholas Mario Wardhana <mario.wardhana@gmail.com>
To: boost-users@lists.boost.org
Sent: Tue, February 8, 2011 8:32:24 PM
Subject: Re: [Boost-users] graph

On 9 February 2011 05:22, Soso F <soso_ss2211@yahoo.com> wrote:
> Hello,
>
> I'm using BGL to build a graph which represents a network. I'm wondering if
> I can read a file to be the input " vertices , edges and weight" without
> using graphviz.
>
> Thx
>

Hi,

I think your problem is independent from BGL. Once you can parse the
file and get the data correctly, you can make them the attributes of
your vertices, edges, and weights. You can simply use STL or any other
library.

Best regards,
Nicholas Mario Wardhana
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users