add asserts to track down #2425
fix #2425
Merge branch 'master' of github.com:ellson/graphviz