graph problems graphical solver