pombreda / google-guice

Automatically exported from code.google.com/p/google-guice
Apache License 2.0
0 stars 1 forks source link

Grapher is producing corrupt graphs #663

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
My graphs look terrible (there are lines without parent connections.) I assume 
it's related to these multiple "unknown tag" errors with even simple projects 
when running dot -Tpng test.dot >test.png:

Error - pango_parse_markup: Unknown tag 'java.lang.Object' on line 1 char 196 

It looks as if dot is parsing the &lt &gt as literal less than/greater than 
symbols. For instance in the .dot file, the java.lang.Object looks like this:

...<java.lang.Object&gt...

Original issue reported on code.google.com by glenview...@gmail.com on 22 Oct 2011 at 5:15

Attachments:

GoogleCodeExporter commented 9 years ago
Sorry, to add more info, this is with Guice 3.0, grapher 3.0-rc3

Original comment by glenview...@gmail.com on 22 Oct 2011 at 5:16

GoogleCodeExporter commented 9 years ago
The grapher causes problems. I don't think it is very usable with all that 
concept of dot files, which is not a common format anyway.

Original comment by igor.pet...@gmail.com on 23 Jan 2012 at 4:27

GoogleCodeExporter commented 9 years ago
The following Stack Overflow answer describes what I believe to be a workaround 
for this bug.  I'll report back if it works.

http://stackoverflow.com/a/9229158/403455

Original comment by glenview...@gmail.com on 15 Feb 2012 at 5:15

GoogleCodeExporter commented 9 years ago
Updating:  Using the workaround from the Stack Overflow site replacing all the 
incorrectly annotated "style=invis" with "style=solid" worked.

Original comment by glenview...@gmail.com on 15 Feb 2012 at 8:38

GoogleCodeExporter commented 9 years ago

Original comment by sberlin on 26 Mar 2013 at 1:46

GoogleCodeExporter commented 9 years ago
Should be fixed now in trunk.  Verification from without would be appreciated. 

Original comment by cgruber@google.com on 16 May 2013 at 6:42