-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rgraphviz doesn't seem to handle edge weights #4
Comments
This looks like a bug. However, I have to point out that the two graphs are not identical - one is undirected, the other is not and the edge weights are slightly different. I don't know enough about the internals of fdp to know if this makes a difference, but it should be easy to test. Nevertheless I do think it looks like a bug. Just for the record: which version of Graphviz did you use for the command line example? |
Hi Kasper, version 2.8.1 here is my sessionInfo: R version 3.1.2 (2014-10-31) locale: attached base packages: other attached packages: loaded via a namespace (and not attached): On 27 March 2015 at 18:47, Kasper Daniel Hansen [email protected]
-------- January Weiner -------------------------------------- |
I meant command-line graphviz;, just do fdp -V Kasper On Fri, Mar 27, 2015 at 2:47 PM, january3 [email protected] wrote:
|
fdp - graphviz version 2.36.0 (20140111.2315) On 27 March 2015 at 19:52, Kasper Daniel Hansen [email protected]
-------- January Weiner -------------------------------------- |
Edge weights are important for layouts such as neato and fdp, but do not seem to be imported by Rgraphviz agopen() function. Graphs produced using the fdp layout, even if edges have different weights, have always the same edge length. Example:
Compare with the equivalent graph produced from the following .dot file using the command fdp -Tpng example.dot -o example.png
The text was updated successfully, but these errors were encountered: