newrank attribute is only tested for existence, not as a boolean
Steps to reproduce
The following Linux script produces four identical results. The value of the newrank attribute is ignored, only its existence is tested. Note that if newrank is not supplied, dot produces warnings and errors.
for X in true false hotdog "";do
f=newrankTest2.gv; T=png; F=newrank2;
dot -Gnewrank=$X -T$T $f >$F.$X.$T;
done
Expected Behaviour
Different results, based on the value of newrank
Actual Behaviour
Same results, regardless of newrank value.
OS Version
Linux lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.6 LTS Release: 20.04 Codename: focal
Graphviz Version
dot - graphviz version 11.0.0~dev.20240301.0232 (20240301.0232)