Lets say we have some graph g and then we compute some similarity between each pair of nodes from g:
g <- graph.ring(10)
g_sim <- similarity.dice(g)
The question is: how to use data from g_sim to assign weights to the edges from g? In other words: if there is and edge A--B in g, I want to have an attribute for that edge that is equal to value that we have for the pair A,B in g_sim.