Working (except for empty specialcase) dot_generator