g<-graph.adjacency(termMatrix, weight=T, mode='undirected')
g<-simplify(g)
V(g)$label<-V(g)$name
V(g)$degree<-degree(g)
layout1<-layout.fruchterman.reingold(g)
V(g)$label.cex<-2.2*V(g)$degree/max(V(g)$degree)+0.2
V(g)$label.color<-rgb(0, 0, 0.2, 0.8)
V(g)$frame.color<-NA
egam<-(log(E(g)$weight)+0.4)/max(log(E(g)$weight)+0.4)
E(g)$width<-egam
E(g)$color<-rgb(0.5, 0.5, 0, egam)
plot(g, layout=layout1)