Generate dot files from reflection