actually, I found the anser to this question by doing edge.label=E(g)$Freq.
I have anohter question relating to this. I like to use start layout but I like the edge.arrow to reverse directions. For exampe rather thatn doing this <------ I like to this ----->, any ideas?
When I try to put edge label like this: edge.label=t$Freq, the label is not redable. Is this a known problem, is there a work aournd.
plot(g, layout = layout.star(g, order=NULL), vertex.label = V(g)$name, vertex.label.color= "darkblue", edge.arrow.size=0.9, edge.curved=T, edge.label=t$Freq, edge.label.color="#F900F9", edge.label.font=10,vertex.shape="rectangle",edge.color="darkgreen"))
my data frame loooks like this:
app app1 Freq
10 20 2
11 32 8
I like to print the Freq on the edge.label.