Using GRATR, you can add labels to the edges of the graph by adding a 
third parameter when you do that add_edge! which is a Hash of options 
for that edge.  E.g. g.add_edge!(node1, node2, :label => "My edge 
label")

-- 
Posted via http://www.ruby-forum.com/.