tests/map_paths: cleanup to make it referenced from the doc

* improve usage
* change default flags to 3 so that all edges are displayed by default
* use strtoul instead of atoi for flags