MOTHBALLED-graphviz
MOTHBALLED-graphviz copied to clipboard
newrank=true does not handle source/min/max/sink correctly.
If the graph
digraph {
a -> b
{ rank=source c]
{ rank=sink d}
}
is processed with dot -Gnewrank, c and d are placed on the same rank as a.
The expected output is
The same happens if source and sink are replaced by min and max.