16 May 07:34
fgl Data.Graph examples
From: Anatoly Yakovenko <aeyakovenko <at> gmail.com>
Subject: fgl Data.Graph examples
Newsgroups: gmane.comp.lang.haskell.cafe
Date: 2008-05-16 05:37:31 GMT
Subject: fgl Data.Graph examples
Newsgroups: gmane.comp.lang.haskell.cafe
Date: 2008-05-16 05:37:31 GMT
Can someone post some simple examples of using the Data.Graph library? So I can define a simple graph let g = buildG (1,2) [(1,2), (2,1)] but how do i label my edges and nodes? i want to be able to name my nodes, and add weights to the edges and be able to update those weights as well. Thanks, Anatoly
RSS Feed