Incorrect 'Arrow type "s" unknown' error
This is a minimal example of a larger graph I was working on. Removing pretty much anything causes the error to disappear.
digraph {
{ rank=same; n1; n2 }
n2 -> n1 [ headport=s, arrowhead=normal ]
}
Clearly the error message is incorrect. In the original graph, it was correctly drawing seemingly identical edges between other nodes, so the syntax itself seems correct. My only guess is that it has something to do with nearby nodes. Playing with spacing with ranksep & nodesep don't help.
Error occurs in 'dot - graphviz version 2.40.1 (20161225.0304)' on Void Linux. I've looked through existing bug reports, but didn't see anything that was obviously related.