- If the weighted parameter is not set to true then the edge list that is produced from the adjacency matrix will just be a multiplicity of the matrix value - When writting the graphs to the dot files the edges also are written with a multiplicity instead of a separate weight value which just makes enormously redundant files Signed-off-by: Mitchell Joblin <mitchell.joblin.ext@xxxxxxxxxxx> --- codeface/R/cluster/persons.r | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codeface/R/cluster/persons.r b/codeface/R/cluster/persons.r index d28c70d..de308ed 100755 --- a/codeface/R/cluster/persons.r +++ b/codeface/R/cluster/persons.r @@ -661,7 +661,7 @@ save.group <- function(conf, .tags, .iddb, idx, .prank, .filename=NULL, label) { colnames(subset) <- 1:ncol(subset) } - g <- graph.adjacency(subset, mode="directed") + g <- graph.adjacency(subset, mode="directed", weighted=TRUE) ## as.character is important. The igraph C export routines bark ## otherwise (not sure what the actual issue is) -- 1.8.3.2