Abstract
The aim of this paper is to introduce a computational tool that checks theoretical conditions in order to determine whether a weighted graph, as a topological invariant of stable maps, can be associated to stable maps without cusps (i.e. fold maps) from closed surfaces to the projective plane.