读取地图数据并构建为图结构,并输出嵌套的 JSON 以供其他程序使用。
Read map data and build it into a graph structure, then output nested JSON for use by other programs.
python __main__.py --input-file your_input_file.osm --output-file your_output_file.gv --output-format gv --ensure-connected