1

I have the following graph object saved as a file ("Test.txt") and I would like to visualize this graph with Rgraphviz:

# importing data
yo <- agread("Test.txt", layoutType="neato", layout=TRUE)
plot(yo)

The neato layout works fine and gives me the expected results. However, if I use the dot layout, the nodesize is way too large

# importing with dot layout
yo <- agread("Test.txt", layoutType="dot", layout=TRUE)
plot(yo)

Dot Layout of Rgraphviz with wrong nodesize

However, if I use this graphviz website to plot the exact same graph in dot layout, the nodesize is fine.

Is there a way to manually adapt the nodesize in Rgraphviz as well?

Ju Ko
  • 466
  • 7
  • 22

0 Answers0