Introduction - If you have any usage issues, please Google them yourself
Graph depth-first traversal, first with a two-dimensional array stored map information, and then call creategrahph function will convert it to the adjacent form, and then call dfs function of image depth-first traversal.