Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002494graphvizDotpublic2014-10-13 11:122014-10-13 12:07
Assigned To 
PlatformOSOS Version
Summary0002494: two pages: PS one file, PDF two files
Descriptiondot -V
dot - graphviz version 2.38.0 (20140413.2041)

dot -Tps -O
Creates one ps file "" with two pages.

Probably bug:
dot -Tpdf -O
Creates two separate pdf files ""
and "" with each graph.

dot -Tpdf -ographs.pdf
Creates one pdf file graphs.pdf with first graph and sends second graph in pdf
format to stdout. (!)
Steps To Reproducedot -Tpdf -O
TagsNo tags attached.
Attached Filesdot file icon (Attachment missing)

- Relationships

-  Notes
User avatar (0000833)
erg (administrator)
2014-10-13 12:07

This is actually the correct behavior, though the documentation needs to be clearer. Basically, if the input contains multiple graphs, three things might occur. If the output format allows multiple pages (and we handle it in Graphviz), all of the graphs are written to a single file, generating the name automatically if -O is given. If not and the -O flag is given, one output file is used per graph. If -O is not given, the first graph is written to any file specified by -o, if any, and the rest are written to stdout.

One might flip the logic, so that if -O is given, one always uses one file per graph regardless of the format.

Also, I'm sure both svg and pdf handle multiple pages. It would nice to be able to use this, if we ever have time.

- Issue History
Date Modified Username Field Change
2014-10-13 11:12 ginzel New Issue
2014-10-13 11:12 ginzel File Added:
2014-10-13 12:07 erg Note Added: 0000833

MantisBT 1.2.5[^]
Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker