Anatoly Yakovenko | 16 May 07:34

fgl Data.Graph examples

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

Gmane