Fix graphviz arrow heads

It seems that graphviz now need dir=both for arrows heads to be visible.