Subject: | XML changes |
Hi,
I am proposing changes to XML file, describing metro map.
1) Add line XML element, which contains station XML elements for line.
This removes line="" attribute.
This removes links to other lines in link="" attribute.
2) Add junction XML element, which can contain 1-n stations.
e.g.
<junction>
<station id="Foo"/>
<station id="Bar"/>
</junction>
There are two situations:
a) Line A|Station & Line B|Station
b) Line A|Station A with tunnel to Line B|Station B
Then i can create better output for:
cpanm App::Pod::Example
cpanm Map::Tube::GraphViz
pod-example -r -n 2 Map::Tube::GraphViz Kiev
see Kiev.png
PS: See Map::Metro configuration file
Regards,
Michal Špaček