Entering edit mode
Rainer Machne
▴
60
@rainer-machne-3648
Last seen 10.3 years ago
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.