Opened 10 years ago

Closed 8 years ago

#1611 closed enhancement (wontfix)

Graphviz output 'ugly' suggest using command chain for better output

Reported by: harningt Owned by: pkropf
Priority: normal Component: GraphvizPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10


I found that the SVG output of graphviz (2.8) seems broken, as well as PNG output...

A solution that I'd like to see in Trac graphviz is the usage of this command chain for output:

 dot -Tps .... |
 gs -q -r360 -dNOPAUSE -sDEVICE=pnm -sOutputFile=-  - -c quit |
 pnmcrop |
 pnmscale 0.25 | <some conversion from pnm -> file

I use convert - %s as the end conversion, which seems to work pretty good.

I'm not positive if image maps will work entirely, since the size might be different..

Attachments (0)

Change History (2)

comment:1 Changed 8 years ago by cboos

See also #737.

comment:2 Changed 8 years ago by cboos

  • Resolution set to wontfix
  • Status changed from new to closed

Well, dot produces good quality PNG by itself now. I guess we can even think about removing the librsvg stuff to simplify things further, and certainly not add support for such complex command chain as suggested above. Well, at least not hard-code it.

It *might* be possible to propose some kind of generic pipeline support defined in the .ini file, but that's beyond the scope of this ticket anyway.

Add Comment

Modify Ticket

as closed The owner will remain pkropf.
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.