[BioC] Rgraphviz: multiple edges between nodes

Rainer Machne raim at tbi.univie.ac.at
Mon Sep 7 08:27:56 CEST 2009


Hi,

Is it correct that Rgraphviz - unlike graphviz itself - currently can
not handle multiple edges between a pair of nodes (example given below)?

Are there any plans to allow for multiple edges in future versions, or
it already possible with other commands then the ones used below?

Rainer


g <- new("graphNEL", edgemode="directed")
g <- addNode(c("a", "b"), g)
g <- addEdge("a", "b", g)
g <- addEdge("a", "b", g)

Warning message:
In .local(from, to, graph) :
  The following edges already exist and will be replaced:
a|b


This is however possible in graphviz itself:

file: multiedge.dot

digraph {
a->b;
a->b;
}

and calling dot on commandline ("dot multiedge.dot -Tpng -o
multiedge.png") produces the intended output wiht multiple edges.



More information about the Bioconductor mailing list