Repository navigation
graphviz: a README that says what the dot build leaves out - #90
Merged
Merged
Conversation
The build takes no library but expat, and nothing in the repository said what that costs a caller: sfdp exits 1 on every graph for want of the triangulation library, overlap=prism and mode=ipsep are ignored with a warning, overlap=false removes overlaps by another method with no message, text is measured without pango, and the formats of zlib, cairo, gd and the plugins are refused. config.h named zlib, pango, cairo, gd and ltdl only. Each case was observed on the 16.1.1 binary of v0.4.0. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Signed-off-by: closer-claudio <claudio@farcloser.world>
closer-claudio
enabled auto-merge
November 21, 2026 23:35
Contributor
Author
|
Reviewed at cd4d160 |
apostasie
approved these changes
Nov 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🎯 Why
dothere is built with no library but expat. Nothing in the repository said what that costs a caller:graphviz/config.hnames zlib, pango, cairo, gd and ltdl, and there was nographviz/README.md. A consumer holding its output to thisdotcould not tell an answer from a gap of the build.🛠️ What
graphviz/README.md, new: what the directory holds, and a section on what the build leaves out and what a caller sees for each.sfdpprints its layout and exits 1 on every graph;overlap=prismis ignored with a warning;overlap=falsefalls back to another method with no message.mode=ipsepis ignored with a warning.🧪 How
Run on the
dot16.1.1 of release v0.4.0, darwin-arm64:echo 'graph { a }' | dot -Ksfdp -Tplain:Error: remove_overlap: Graphviz not built with triangulation library, the layout, exit 1.-Goverlap=prismwith neato and fdp:Warning: Overlap value "prism" unsupported - ignored, exit 0.-Kneato -Gmode=ipsep:Warning: Illegal value ipsep for attribute "mode" in graph %1 - ignored, exit 0.-Tsvgz:Format: "svgz" not recognized. Use one of: …, exit 1; that list and the-Klist are the ones the README gives.Not run, taken from Graphviz's documentation: that
overlap=falseuses another method than Prism without the library, and that node sizes differ from a build with pango. That GTS is the only triangulation library Graphviz 16.1.1 takes is from itslib/neatogen/delaunay.candcmake/FindGTS.cmake.📝 Notes
No code, build or test changes.