merge graphs; add helper; output dot file and png