graphviz: Handle self-links.