Displaying 1 result from an estimated 1 matches for "wadj".
Did you mean:
wad
2012 Jul 23
0
igraph node placement
...olfste4/igraph/sorter34
This is the code that I'm using to make the graph:
_____________________________________________________________
require(igraph)
# Get weighted adjacency matrix:
fname=<sorter34 location>
load(fname)
# Now make graphs and plot them:
gg=graph.adjacency(wadj,mode="max")
V(gg)$name = 1:50
V(gg)$label = V(gg)$name
E(gg)$weight = count.multiple(gg)
gg = simplify(gg)
wt = 2*E(gg)$weight*E(gg)$weight
par(mar=c(0, 0, 0, 0)) #c(bottom, left, top, right)
l=layout.fruchterman.reingold(gg,coolexp=10)
plot.igraph(gg, layout=l, vertex.c...