Generates dot file while exploring