From 9733d6bd0ea596e5355652c3147b0b5fb8dc42ec Mon Sep 17 00:00:00 2001 From: Calli Evers Date: Wed, 12 Jun 2024 22:16:41 +0200 Subject: [PATCH] file structure rework and upload file button + modal --- Cargo.toml | 2 +- exisiting_maps/berlin.graphml | 2746 +++++++++++++++++++++ exisiting_maps/karlsruhe.graphml | 1208 +++++++++ exisiting_maps/london_new.graphml | 622 +++++ exisiting_maps/london_old.graphml | 2646 ++++++++++++++++++++ exisiting_maps/montreal.graphml | 549 ++++ exisiting_maps/sydney.graphml | 1557 ++++++++++++ exisiting_maps/washington.graphml | 1183 +++++++++ exisiting_maps/wien.graphml | 766 ++++++ src/components/atoms/button.rs | 25 + src/components/atoms/mod.rs | 3 + src/components/mod.rs | 10 +- src/components/{ => molecules}/canvas.rs | 0 src/components/molecules/file_modal.rs | 69 + src/components/molecules/mod.rs | 5 + src/components/navbar.rs | 14 - src/components/organisms/mod.rs | 5 + src/components/organisms/navbar.rs | 24 + src/components/{ => organisms}/sidebar.rs | 10 +- src/components/{page.rs => pages/home.rs} | 7 +- src/components/pages/mod.rs | 3 + src/main.rs | 4 +- 22 files changed, 11428 insertions(+), 30 deletions(-) create mode 100644 exisiting_maps/berlin.graphml create mode 100644 exisiting_maps/karlsruhe.graphml create mode 100644 exisiting_maps/london_new.graphml create mode 100644 exisiting_maps/london_old.graphml create mode 100644 exisiting_maps/montreal.graphml create mode 100644 exisiting_maps/sydney.graphml create mode 100644 exisiting_maps/washington.graphml create mode 100644 exisiting_maps/wien.graphml create mode 100644 src/components/atoms/button.rs create mode 100644 src/components/atoms/mod.rs rename src/components/{ => molecules}/canvas.rs (100%) create mode 100644 src/components/molecules/file_modal.rs create mode 100644 src/components/molecules/mod.rs delete mode 100644 src/components/navbar.rs create mode 100644 src/components/organisms/mod.rs create mode 100644 src/components/organisms/navbar.rs rename src/components/{ => organisms}/sidebar.rs (63%) rename src/components/{page.rs => pages/home.rs} (78%) create mode 100644 src/components/pages/mod.rs diff --git a/Cargo.toml b/Cargo.toml index 64a5e67..ca2229f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" [dependencies] leptos = { version = "0.6.11", features = ["csr", "nightly"] } -web-sys = { version = "0.3", features = ["HtmlCanvasElement", "CanvasRenderingContext2d", "CssStyleDeclaration", "Element", "Window"] } +web-sys = { version = "0.3", features = ["HtmlCanvasElement", "HtmlInputElement", "FileList", "File", "Blob", "CanvasRenderingContext2d", "CssStyleDeclaration", "Element", "Window"] } wasm-bindgen = { version = "0.2" } console_log = "1" log = "0.4" diff --git a/exisiting_maps/berlin.graphml b/exisiting_maps/berlin.graphml new file mode 100644 index 0000000..3642e92 --- /dev/null +++ b/exisiting_maps/berlin.graphml @@ -0,0 +1,2746 @@ + + + + + + + FALSE + + + FALSE + + + FALSE + + + FALSE + + + FALSE + + + FALSE + + + FALSE + + + FALSE + + + FALSE + + + FALSE + + + FALSE + + + FALSE + + + FALSE + + + FALSE + + + FALSE + + + FALSE + + + FALSE + + + FALSE + + + FALSE + + + FALSE + + + FALSE + + + FALSE + + + FALSE + + + + 972 + 737 + Warschauer_\Str + + + 960 + 726 + Schlesisches_\Tor + + + 937 + 722 + Goerlitzer_\Bhf + + + 920 + 722 + Kottbusser_\Tor + + + 900 + 720 + Prinzenstr + + + 876 + 719 + Hallesches_\Tor + + + 862 + 722 + Moeckern-\bruecke + + + 855 + 721 + Dummystation-2 + + + 849 + 720 + Gleis-\dreieck + + + 827 + 724 + Kurfuersten-\str + + + 814 + 722 + Nollen-\dorfplatz + + + 796 + 728 + Wittenberg-\platz + + + 779 + 733 + Kurfuersten-\damm + + + 767 + 729 + Uhlandstr + + + 909 + 869 + Pankow + + + 912 + 853 + Vinetastr + + + 913 + 831 + Schoenhauser_\Allee + + + 911 + 815 + Eberswalder_\Str + + + 911 + 794 + Senefelder-\platz + + + 907 + 785 + Rosa-\Luxemburg-Pl + + + 910 + 770 + Alexander-\platz + + + 911 + 759 + Klosterstr + + + 905 + 750 + Maerkisches_\Museum + + + 896 + 748 + Spittel-\markt + + + 885 + 752 + Hausvogtei-\platz + + + 874 + 747 + Stadtmitte + + + 865 + 749 + Mohrenstr + + + 850 + 744 + Potsdamer_\Platz + + + 849 + 732 + Mendelssohn-\Bartholdy-Park + + + 837 + 707 + Yorckstr + + + 778 + 739 + Zoologischer_\Garten + + + 760 + 752 + Ernst-Reuter-\Platz + + + 742 + 750 + Deutsche_\Oper + + + 732 + 749 + Bismarckstr + + + 719 + 747 + Sophie-\Charlotte-Platz + + + 695 + 746 + Kaiserdamm + + + 679 + 745 + Theodor-\Heuss-Platz + + + 660 + 758 + Neu-Westend + + + 641 + 761 + Olympia-\Stadion + + + 627 + 779 + Ruhleben + + + 785 + 725 + Augsburger_Str + + + 776 + 717 + Spichernstr + + + 765 + 711 + Hohenzollern-\platz + + + 748 + 703 + Fehrbelliner_\Platz + + + 745 + 681 + Heidelberger_\Platz + + + 748 + 666 + Ruedesheimer_Platz + + + 738 + 652 + Breitenbach-platz + + + 717 + 646 + Podbielskiallee + + + 707 + 631 + Dahlem-Dorf + + + 694 + 617 + Thielplatz + + + 668 + 616 + Oskar-Helene-Heim + + + 647 + 616 + Onkel_Toms_Huette + + + 626 + 600 + Krumme_Lanke + + + 795 + 715 + Viktoria-Luise-\Platz + + + 791 + 699 + Bayerischer_\Platz + + + 794 + 687 + Rathaus_Schoeneberg + + + 797 + 677 + Innsbrucker_\Platz + + + 925 + 768 + Schillingstr + + + 942 + 763 + Strausberger_Platz + + + 965 + 760 + Weberwiese + + + 980 + 758 + Frankfurter_\Tor + + + 997 + 756 + Samariterstr + + + 1014 + 755 + Frankfurter_\Allee + + + 1034 + 751 + Magdalenenstr + + + 1050 + 747 + Lichtenberg + + + 1078 + 737 + Friedrichsfelde + + + 1094 + 720 + Tierpark + + + 1133 + 723 + Biesdorf-\Sued + + + 1157 + 736 + Elsterwerdaer_\Platz + + + 1181 + 751 + Wuhletal + + + 1204 + 770 + Kaulsdorf-\Nord + + + 1207 + 786 + Neue_Grottkauer_\Str + + + 1217 + 797 + Cottbusser_\Platz + + + 1233 + 804 + Hellersdorf + + + 1253 + 808 + Louis-Lewin-Str + + + 1279 + 807 + Hoenow + + + 697 + 918 + Alt-Tegel + + + 708 + 901 + Borsigwerke + + + 718 + 889 + Holzhauser_Str + + + 729 + 878 + Otisstr + + + 745 + 869 + Scharnweberstr + + + 770 + 862 + Kurt-Schumacher-\Platz + + + 782 + 855 + Afrikanische_Str + + + 792 + 848 + Rehberge + + + 802 + 828 + Seestr + + + 822 + 825 + Leopoldplatz + + + 834 + 816 + Wedding + + + 841 + 811 + Reinicken-\dorfer_Str + + + 852 + 801 + Schwartz-\kopffstr + + + 861 + 791 + Naturkunde-\museum + + + 869 + 779 + Oranien-\burger_Tor + + + 869 + 768 + Fried-richstr + + + 872 + 756 + Franzoesische_\Str + + + 875 + 736 + Kochstr + + + 871 + 712 + Mehringdamm + + + 867 + 692 + Platz_der_\Luftbruecke + + + 867 + 676 + Paradestr + + + 866 + 660 + Tempelhof + + + 866 + 649 + Alt-Tempelhof + + + 865 + 637 + Kaiserin-\Augusta-Str + + + 864 + 623 + Ullsteinstr + + + 867 + 606 + Westphalweg + + + 870 + 593 + Alt-Mariendorf + + + 558 + 800 + Rathaus_\Spandau + + + 569 + 808 + Altstadt_\Spandau + + + 588 + 806 + Zitadelle + + + 612 + 808 + Haselhorst + + + 637 + 807 + Paulsternstr + + + 662 + 805 + Rohrdamm + + + 679 + 804 + Siemens-\damm + + + 702 + 804 + Halemweg + + + 714 + 799 + Jakob-Kaiser-\Platz + + + 722 + 789 + Jungfernheide + + + 732 + 781 + Mierendorff-\platz + + + 735 + 761 + Richard-Wagner-\Platz + + + 736 + 738 + Wilmers-\dorfer_Str + + + 736 + 724 + Adenauer-\platz + + + 740 + 711 + Konstanzer_\Str + + + 760 + 694 + Blissestr + + + 776 + 697 + Berliner_\Str + + + 808 + 701 + Eisenacher_\Str + + + 824 + 703 + Kleistpark + + + 884 + 705 + Gneisenaustr + + + 903 + 701 + Suedstern + + + 931 + 696 + Hermann-\platz + + + 947 + 684 + Rathaus_\Neukoelln + + + 955 + 672 + Karl-\Marx-Str + + + 960 + 657 + Neukoelln + + + 965 + 643 + Grenzallee + + + 972 + 620 + Blaschkoallee + + + 973 + 604 + Parchimer_\Allee + + + 971 + 588 + Britz-Sued + + + 978 + 569 + Johannisthaler_\Chaussee + + + 995 + 561 + Lipschitzallee + + + 1015 + 556 + Wutzkyallee + + + 1030 + 557 + Zwickauer_\Damm + + + 1049 + 541 + Rudow + + + 785 + 932 + Wittenau + + + 767 + 916 + Rathaus_\Reinickendorf + + + 772 + 893 + Karl-Bonhoeffer-Nervenklinik + + + 789 + 888 + Lindauer_\Allee + + + 806 + 885 + Paracelsus-\Bad + + + 825 + 878 + Residenzstr + + + 830 + 865 + Franz-\Neumann-Pl + + + 846 + 848 + Osloer_Str + + + 860 + 837 + Pankstr + + + 873 + 830 + Gesundbrunnen + + + 879 + 816 + Voltastr + + + 885 + 805 + Bernauer_Str + + + 892 + 789 + Rosenthaler_\Platz + + + 899 + 778 + Weinmeisterstr + + + 920 + 756 + Jannowitz-bruecke + + + 917 + 746 + Heinrich-\Heine-Str + + + 908 + 732 + Moritzplatz + + + 927 + 708 + Schoenleinstr + + + 932 + 681 + Boddinstr + + + 937 + 666 + Leinestr + + + 942 + 654 + Hermannstr + + + 836 + 836 + Nauener_Platz + + + 808 + 816 + Amrumer_Str + + + 797 + 802 + Westhafen + + + 793 + 794 + Birkenstr + + + 793 + 780 + Turmstr + + + 794 + 762 + Hansaplatz + + + 793 + 760 + Dummystation-1 + + + 775 + 706 + Guentzelstr + + + 772 + 675 + Bundesplatz + + + 772 + 663 + Friedrich-Wilhelm-Platz + + + 771 + 650 + Walther-Schreiber-Platz + + + 765 + 639 + Schlossstr + + + 759 + 628 + Rathaus_\Steglitz + + + 707 + 1013 + S_Frohnau_(Berlin) + + + 758 + 956 + S_Waidmannslust_(Berlin) + + + 829 + 901 + S_Wilhelmsruh_(Berlin) + + + 857 + 880 + S_Schönholz_(Berlin) + + + 879 + 865 + S_Wollankstr_(Berlin) + + + 887 + 843 + S_Bornholmer_Str_(Berlin) + + + 855 + 821 + S_Humboldthain_(Berlin) + + + 872 + 793 + S_Nordbahnhof_(Berlin) + + + 879 + 779 + S_Oranienburger_Str_(Berlin) + + + 858 + 759 + Brandenburger_\Tor + + + 861 + 734 + S_Anhalter_Bahnhof_(Berlin) + + + 825 + 694 + S_Julius-Leber-Brücke_(Berlin) + + + 812 + 680 + S_Schöneberg_(Berlin) + + + 792 + 659 + S_Friedenau_(Berlin) + + + 778 + 645 + S_Feuerbachstr_(Berlin) + + + 734 + 610 + S_Botanischer_Garten_(Berlin) + + + 714 + 601 + S_Lichterfelde_West_(Berlin) + + + 680 + 585 + S_Sundgauer_Str_(Berlin) + + + 656 + 574 + S_Zehlendorf_(Berlin) + + + 611 + 587 + S_Mexikoplatz_(Berlin) + + + 581 + 593 + S_Schlachtensee_(Berlin) + + + 547 + 574 + S_Nikolassee_(Berlin) + + + 523 + 553 + S_Wannsee_Bhf_(Berlin) + + + 1007 + 976 + S_Karow_Bhf_(Berlin) + + + 962 + 922 + S_Blankenburg_(Berlin) + + + 939 + 893 + S_Pankow-Heinersdorf_(Berlin) + + + 833 + 670 + S_Südkreuz_Bhf_(Berlin) + + + 817 + 635 + S_Priesterweg_(Berlin) + + + 826 + 609 + S_Attilastr_(Berlin) + + + 849 + 558 + S_Marienfelde_(Berlin) + + + 862 + 530 + S_Buckower_Chaussee_(Berlin) + + + 873 + 503 + S_Schichauweg_(Berlin) + + + 884 + 479 + S_Lichtenrade_(Berlin) + + + 568 + 1024 + S_Hennigsdorf_Bhf + + + 606 + 996 + S_Heiligensee_(Berlin) + + + 634 + 971 + S_Schulzendorf_(Berlin) + + + 750 + 892 + S_Eichborndamm_(Berlin) + + + 807 + 893 + S_Alt-Reinickendorf_(Berlin) + + + 814 + 613 + S_Südende_(Berlin) + + + 795 + 591 + S_Lankwitz_(Berlin) + + + 771 + 570 + S_Lichterfelde_Ost_Bhf_(Berlin) + + + 747 + 546 + S_Osdorfer_Str_(Berlin) + + + 739 + 528 + S_Lichterfelde_Süd_(Berlin) + + + 573 + 794 + S_Stresow_(Berlin) + + + 603 + 746 + S_Pichelsberg_(Berlin) + + + 626 + 748 + S_Olympiastadion_(Berlin) + + + 655 + 742 + S_Heerstr_(Berlin) + + + 675 + 721 + S_Messe_Süd_(Berlin) + + + 696 + 726 + S_Westkreuz_(Berlin) + + + 756 + 735 + S_Savignyplatz_(Berlin) + + + 784 + 754 + S_Tiergarten_(Berlin) + + + 802 + 767 + S_Bellevue_(Berlin) + + + 839 + 778 + Hauptbahnhof + + + 894 + 773 + S_Hackescher_Markt_(Berlin) + + + 950 + 746 + S_Ostbahnhof_(Berlin) + + + 1005 + 730 + S_Ostkreuz_Bhf_(Berlin) + + + 1021 + 726 + S_Rummelsburg_(Berlin) + + + 1052 + 711 + S_Betriebsbahnhof_Rummelsburg_(Berlin) + + + 1099 + 682 + Karlshorst + + + 1191 + 634 + Köpenick + + + 1228 + 632 + Hirschgarten + + + 1261 + 631 + Friedrichshagen + + + 1372 + 619 + Rahnsdorf + + + 1426 + 590 + Wilhelmshagen + + + 1476 + 566 + Erkner + + + 936 + 821 + S_Prenzlauer_Allee_(Berlin) + + + 954 + 812 + S_Greifswalder_Str_(Berlin) + + + 983 + 786 + S_Landsberger_Allee_(Berlin) + + + 998 + 776 + S_Storkower_Str_(Berlin) + + + 991 + 709 + S_Treptower_Park_(Berlin) + + + 983 + 667 + S_Sonnenallee_(Berlin) + + + 725 + 698 + S_Hohenzollerndamm_(Berlin) + + + 708 + 717 + S_Halensee_(Berlin) + + + 698 + 764 + S_Westend_(Berlin) + + + 772 + 798 + S_Beusselstr_(Berlin) + + + 1128 + 505 + S_Grünbergallee_(Berlin) + + + 1155 + 523 + S_Altglienicke_(Berlin) + + + 1124 + 583 + S_Adlershof_(Berlin) + + + 1096 + 608 + Johannisthaler + + + 1073 + 625 + S_Schöneweide_Bhf_(Berlin) + + + 1039 + 653 + S_Baumschulenweg_(Berlin) + + + 1002 + 657 + S_Köllnische_Heide_(Berlin) + + + 1120 + 620 + S_Oberspree_(Berlin) + + + 1161 + 606 + S_Spindlersfeld_(Berlin) + + + 1030 + 731 + S_Nöldnerplatz_(Berlin) + + + 1090 + 754 + S_Friedrichsfelde_Ost_(Berlin) + + + 1148 + 752 + S_Biesdorf_(Berlin) + + + 1204 + 750 + S_Kaulsdorf_(Berlin) + + + 1241 + 750 + S_Mahlsdorf_(Berlin) + + + 661 + 699 + S_Grunewald_(Berlin) + + + 1118 + 780 + S_Springpfuhl_(Berlin) + + + 1116 + 799 + S_Poelchaustr_(Berlin) + + + 1125 + 818 + S_Marzahn_(Berlin) + + + 1137 + 834 + S_Raoul-Wallenberg-Str_(Berlin) + + + 1147 + 850 + S_Mehrower_Allee_(Berlin) + + + 1166 + 879 + S_Ahrensfelde_Bhf_(Berlin) + + + 1099 + 845 + S_Gehrenseestr_(Berlin) + + + 1079 + 869 + S_Hohenschönhausen_Bhf_(Berlin) + + + 1063 + 883 + S_Wartenberg_(Berlin) + + + 1013 + 677 + S_Plänterwald_(Berlin) + + + 1179 + 534 + S_Grünau_(Berlin) + + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + diff --git a/exisiting_maps/karlsruhe.graphml b/exisiting_maps/karlsruhe.graphml new file mode 100644 index 0000000..f6d799a --- /dev/null +++ b/exisiting_maps/karlsruhe.graphml @@ -0,0 +1,1208 @@ + + + + + + + FALSE + + + FALSE + + + FALSE + + + FALSE + + + FALSE + + + FALSE + + + FALSE + + + FALSE + + + FALSE + + + + FALSE + + + FALSE + + + + + 1791 + -1874 + Badeniaplatz + + + 1732 + -1836 + Wilhelm-Leuschner-Str + + + 1697 + -1803 + Oberreut Zentrum + + + 1715 + -1704 + Albert-Braun-Str + + + 1799 + -1627 + Hardecksiedlung + + + 1856 + -1566 + Bannwaldallee + + + 1903 + -1505 + Europahalle + + + 1925 + -1421 + Landesbausparkasse + + + 1929 + -1334 + Weinbrennerplatz + + + 1949 + -1286 + Sophienstr + + + 1956 + -1219 + Schillerstr + + + 2062 + -1225 + Mühlburger Tor + + + 2187 + -1234 + Europaplatz + + + 2268 + -1238 + Herrenstr + + + 2322 + -1241 + Marktplatz + + + 2414 + -1250 + Kronenplatz + + + 2529 + -1254 + Durlacher Tor + + + 2612 + -1285 + Gottesauer Platz + + + 2741 + -1321 + Tullastr + + + 2892 + -1363 + Weinweg + + + 3084 + -1415 + Untermühlstr + + + 3202 + -1449 + Auer Str + + + 3296 + -1478 + Friedrichschule + + + 3361 + -1483 + Schlossplatz + + + 3435 + -1465 + Durlach Turmberg + + + 3413 + -1491 + Karl-Weysser-Str + + + 3204 + -1403 + Durlach Bahnhof + + + 690 + -1488 + Rappenwört + + + 961 + -1431 + Altrheinbrücke + + + 1098 + -1361 + Waidweg + + + 1175 + -1375 + Hammweg + + + 1246 + -1337 + Kirchplatz + + + 1276 + -1316 + Ankerstr + + + 1346 + -1283 + Mauerweg + + + 1414 + -1297 + Stadtwerke + + + 1508 + -1336 + Eckenerstr + + + 1646 + -1227 + Entenfang + + + 1730 + -1204 + Philippstr + + + 1801 + -1206 + Händelstr + + + 1891 + -1212 + Yorckstr + + + 2182 + -1327 + Karlstor + + + 2176 + -1405 + Mathystr + + + 2167 + -1516 + Kolpingplatz + + + 2203 + -1594 + Ebertstr + + + 2272 + -1590 + Hauptbahnhof + + + 2324 + -1569 + Poststr + + + 2310 + -1468 + Augartenstr + + + 2310 + -1402 + Kongresszentrum + + + 2314 + -1352 + Ettlinger Tor + + + 1461 + -785 + Lassallestr + + + 1515 + -837 + Siemensallee + + + 1625 + -923 + Neureuter Str + + + 1669 + -961 + Feierabendweg + + + 1725 + -1009 + Hertzstr + + + 1801 + -1079 + Klinikum/Kussmaulstr + + + 1882 + -1114 + Klinikum/Moltkestr + + + 2414 + -1312 + Mendelssohnplatz + + + 2418 + -1371 + Baumeisterstr + + + 2421 + -1443 + Werderstr + + + 2418 + -1537 + Tivoli + + + 2611 + -1205 + Karls-Wilhelm-Platz + + + 2720 + -1142 + Hauptfriedhof + + + 2855 + -1055 + Hirtenweg + + + 2935 + -979 + Sinsheimer Str + + + 2981 + -886 + Fächerbad + + + 2976 + -788 + Im Eichbäumle + + + 2892 + -738 + Glogauer Str + + + 2944 + -662 + Waldstadt Zentrum + + + 2975 + -611 + Jägerhaus + + + 3023 + -536 + Elbinger Str + + + 2963 + -475 + Osteroder Str + + + 2966 + -436 + Europäische Schule + + + 1472 + -1114 + Rheinhafen + + + 1578 + -1158 + Lameyplatz + + + 1712 + -1280 + Mühlburger Feld + + + 1771 + -1330 + Kühler Krug + + + 1844 + -1336 + Hübschstr + + + 2040 + -1364 + Lessingstr + + + 2100 + -1383 + Otto-Sachs-Str + + + 2253 + -1384 + Konzerthaus + + + 2736 + -1192 + Rintheimer Str + + + 2850 + -1193 + Ostring + + + 2894 + -1139 + Forststr + + + 2922 + -1091 + Rintheim + + + 2060 + -1383 + Arbeitsamt + + + 2056 + -1473 + ZKM + + + 2044 + -1567 + Welfenstr + + + 2107 + -1574 + Barbarossaplatz + + + 1911 + -689 + Haus Bethlehem + + + 1906 + -777 + Kurt-Schumacher-Str + + + 1898 + -912 + August-Bebel-Str + + + 1893 + -1038 + Knielinger Allee + + + 2314 + -1809 + Dammerstock + + + 2314 + -1890 + Schloss Rüppurr + + + 2355 + -2021 + Ostendorfplatz + + + 2319 + -2118 + Tulpenstr + + + 2328 + -2248 + Rüppurr Battstr + + + 2254 + -2548 + Ettlingen Neuwiesenreben + + + 2243 + -2706 + Ettlingen Wasen + + + 2318 + -2802 + Ettlingen Erbprinz + + + 2397 + -2858 + Ettlingen Stadt + + + 2496 + -2901 + Ettlingen Albgaubad + + + 1261 + -1656 + Hammacker + + + 1293 + -1620 + Dornröschenweg + + + 1334 + -1555 + Karl-Delisle-Str + + + 1379 + -1485 + Thomas-Mann-Str + + + 1439 + -1423 + Rheinhafenstr + + + 3010 + -903 + Hagsfeld Süd + + + 3064 + -838 + Hagsfeld Bahnhof + + + 3087 + -719 + Geroldsäcker + + + 3103 + -646 + Jenaer Str + + + 3169 + -507 + Reitschulschlag + + + + 1349 + -2266 + Forchheim + + + 3329 + -1301 + Hubstr + + + 3654 + -1320 + Grötzingen Bf + + + 3822 + -1338 + Oberaustr + + + 1565 + -1087 + Starckstr + + + 1520 + -998 + Mühlburg West + + + 1452 + -877 + Siemens + + + 1380 + -766 + Herweghstr + + + 1337 + -698 + Eggensteiner Str + + + 1308 + -658 + Rheinbergstr + + + 876 + -638 + Maxau + + + 744 + -613 + Eisenbahnstr + + + 646 + -577 + Maximiliansau West + + + 340 + -407 + Wörth Bf + + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + true + true + true + true + true + + + true + true + true + true + true + true + true + + + true + true + true + true + true + true + + + true + true + true + true + true + true + + + true + true + true + true + true + true + true + true + + + true + true + true + true + true + true + true + + + true + true + true + true + + + true + true + true + true + + + true + true + true + true + + + true + true + true + true + + + true + true + + + true + true + + + true + true + + + true + true + + + true + true + + + true + true + + + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + true + + + true + true + true + + + true + true + true + + + true + true + true + + + true + true + true + true + true + + + true + true + true + + + true + true + true + + + true + true + + + true + true + + + true + true + true + true + true + + + true + true + true + true + true + + + true + true + true + + + true + true + true + + + true + true + true + + + true + true + true + true + + + + + + true + + + true + + + true + + + true + + + true + + + true + + + true + true + + + true + + + true + + + true + + + true + + + true + true + + + + + true + true + true + + + true + true + true + + + true + true + + + true + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + + + true + + + true + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + true + + + true + + + true + + + true + + + true + + + true + + + true + + + + + true + + + true + + + true + + + true + + + true + + + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + + + + + true + + + true + true + + + true + true + + + true + true + + + true + true + + + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + + diff --git a/exisiting_maps/london_new.graphml b/exisiting_maps/london_new.graphml new file mode 100644 index 0000000..582b19a --- /dev/null +++ b/exisiting_maps/london_new.graphml @@ -0,0 +1,622 @@ + + + + + + + FALSE + + + FALSE + + + FALSE + + + FALSE + + + FALSE + + + FALSE + + + FALSE + + + FALSE + + + FALSE + + + FALSE + + + FALSE + + + + 7521635Harrow and Wealdstone +8611536Kenton +9101435South Kenton +9421368North Wembley +9911280Wembley Central +11071228Stonebridge Park +12011167Harlesden +12831124Willesden Junction +13771116Kensal Green +14861135Queen's Park +15521151Kilburn Park +15871100Maida Vale +16111049Warwick Avenue +1641985Paddington +16821037Edgware Road +17101051Marylebone +17531051Baker Street +18171039Regents Park +1843975Oxford Circus +1883925Piccadilly Circus +1929913Charing Cross +1952910Embankment +1996876Waterloo +2013849Lambeth North +2083811Elephant and Castle +2071399West Ruislip +3561335Ruislip Gardens +4281305South Ruislip +5881239Northolt +7241194Greenford +8431156Perivale +10301097Hangar Lane +12121044North Acton +983937Ealing Broadway +1086988West Acton +1271990East Acton +1385951White City +1417877Shepherd's Bush +1480903Holland Park +1526918Notting Hill Gate +1584929Queensway +1650940Lancaster Gate +1748960Marble Arch +1798968Bond Street +1899984Tottenham Court Road +1957993Holborn +19991001Chancery Lane +2078978St. Pauls +2130961Bank +21691010Liverpool Street +23431091Bethnal Green +24341077Mile End +25951212Stratford +25911369Leyton +26691452Leytonstone +27251537Snaresbrook +27601646South Woodford +27971802Woodford +27791509Wanstead +28691529Redbridge +29631524Gants Hill +31011520Newbury Park +30931609Barkingside +31041707Fairlop +31141752Hainault +31041858Grange Hill +29981902Chigwell +28571908Roding Valley +28561955Buckhurst Hill +29012137Loughton +30652146Debden +31512419Theydon Bois +32032647Epping +2207943Tower Hill +2204988Aldgate +21251022Moorgate +20811029Barbican +20321050Farringdon +19311121King's Cross +18811071Euston Square +18331054Great Portland Street +16961022Edgware Road +1580953Bayswater +1552846High Street Kensington +1612788Gloucester Road +1665785South Kensington +1765774Sloane Square +1830793Victoria +1879831St James's Park +1937854Westminster +1992942Temple +2053947Blackfriars +2103943Mansion House +2130938Cannon Street +2155931Monument +1053911Ealing Common +1092851Acton Town +1149803Chiswick Park +1235795Turnham Green +997494Richmond +1078619Kew Gardens +1113756Gunnersbury +1281793Stamford Brook +1333792Ravenscourt Park +1391773Hammersmith +1441751Baron's Court +1489757West Kensington +1548768Earl's Court +1463820Olympia +1520151Wimbledon +1552257Wimbledon Park +1502366Southfields +1475464East Putney +1491549Putney Bridge +1523621Parsons Green +1552673Fulham Broadway +1544727West Brompton +2229998Aldgate East +22861028Whitechapel +23631053Stepney Green +24951071Bow Road +25611062Bromley by Bow +26421107West Ham +27121134Plaistow +28071160Upton Park +29191202East Ham +30581211Barking +31631187Upney +33031218Beacontree +34031227Dagenham Heathway +35031254Dagenham East +36981304Elm Park +37841338Hornchurch +38651372Upminster Bridge +39751386Upminster +2313960Shadwell +2343835Canada Water +1368857Goldhawk Road +1370892Shepherd's Bush +1425959Latimer Road +1455991Ladbroke Grove +15001019Westbourne Park +15811002Royal Oak +9391862Stanmore +9721779Canon's Park +10111655Queensbury +10671566Kingsbury +10641396Wembley Park +12381316Neasden +12971299Dolis Hill +13911289Willesden Green +14741282Kilburn +15721272West Hampstead +16241269Finchley Road +16471233Swiss Cottage +16481151St. John's Wood +1841896Green Park +2044885Southwark +2144897London Bridge +2250845Bermondsey +2540881Canary Wharf +2693880North Greenwich +2677962Canning Town +2992192Watford +1522109Croxley +2201949Moor Park +2771779Northwood +3541691Northwood Hills +5161634Pinner +6041573North Harrow +7601496Harrow on the Hill +201217Uxbridge +1401264Hillingdon +1761335Ickenham +2891422Ruislip +3421446Ruislip Manor +4321473Eastcote +5631469Rayners Lane +6641500West Harrow +8481499Northwick Park +9781464Preston Road +10731823Edgware +11371736Burnt Oak +12211675Colindale +13521576Hendon Central +14191517Brent Cross +15431469Golders Green +16481353Hampstead +17121291Belsize Park +17621243Chalk Farm +18201212Camden Town +15082193High Barnet +15972008Totteridge and Whetstone +15681889Woodside Park +15451819West Finchley +15451727Finchley Central +14291802Mill Hill East +16891618East Finchley +18051528Highgate +18621441Archway +18601366Tufnell Park +18441299Kentish Town +18461149Mornington Crescent +18791101Euston +20391136Angel +21221084Old Street +2105858Borough +2043748Kennington +18541049Warren Street +18791019Goodge Street +1914942Leicester Square +2000691Oval +1953604Stockwell +1912526Clapham North +1860492Clapham Common +1816419Clapham South +1786342Balham +1762282Tooting Bec +1712176Tooting Broadway +1668112Colliers Wood +159479South Wimbledon +155115Morden +205537Heathrow 1, 2 and 3 +244468Heathrow 4 +350514Hatton Cross +570570Hounslow West +652554Hounslow Central +708578Hounslow East +740650Osterley +871762Boston Manor +918802Northfields +956817South Ealing +6781371South Harrow +7561312Sudbury Hill +8811270Sudbury Town +9711190Alperton +10701060Park Royal +1052981North Ealing +1737851Knightsbridge +1781865Hyde Park Corner +1937956Covent Garden +19291047Russel Square +19601288Caledonian Road +20021325Holloway Road +20271379Arsenal +20381439Finsbury Park +20861496Manor House +20421658Turnpike Lane +20051724Wood Green +19041812Bounds Green +18631890Arnos Grove +18822013Southgate +18632168Oakwood +17762203Cockfosters +2017522Brixton +1947724Vauxhall +1898755Pimlico +20411260Highbury and Islington +21921605Seven Sisters +22821648Tottenham Hale +23851627Blackhorse Road +25341611Walthamstow Central +26528Heathrow 5 +-172026Rickmansworth +-3002153Chorleywood +-5982358Chalfont and Latimer +-8012380Amersham +-7942715Chesham +1917691Nine Elms +1858687Battersea Power Station +1376928Wood Lane +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +truetrue +truetrue +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +truetrue +truetruetrue +truetruetrue +truetruetrue +truetruetrue +truetruetrue +truetruetrue +truetruetrue +truetrue +truetruetrue +truetrue +truetrue +truetrue +true +truetruetrue +truetrue +truetrue +truetrue +truetrue +truetrue +truetrue +truetrue +truetrue +truetrue +truetrue +truetrue +true +truetrue +truetrue +truetrue +true +true +true +truetrue +truetrue +truetrue +truetrue +truetrue +truetrue +true +true +true +true +true +true +true +true +true +true +truetrue +true +truetrue +truetrue +truetrue +truetrue +truetrue +truetrue +truetrue +truetrue +truetrue +truetrue +true +true +true +true +true +true +true +true +truetrue +truetrue +truetrue +truetrue +truetrue +truetrue +truetrue +true +true +true +true +true +truetrue +truetrue +truetrue +truetrue +truetrue +truetrue +truetrue +truetrue +truetrue +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +truetrue +truetrue +truetrue +truetrue +truetrue +truetrue +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +truetrue +true +true +true +true +true +truetrue +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +true +truetrue + + diff --git a/exisiting_maps/london_old.graphml b/exisiting_maps/london_old.graphml new file mode 100644 index 0000000..d0138e6 --- /dev/null +++ b/exisiting_maps/london_old.graphml @@ -0,0 +1,2646 @@ + + + + + + + FALSE + + + FALSE + + + FALSE + + + FALSE + + + FALSE + + + FALSE + + + FALSE + + + FALSE + + + FALSE + + + FALSE + + + FALSE + + + FALSE + + + FALSE + + + + + 752 + 1635 + Harrow and Wealdstone + + + 861 + 1536 + Kenton + + + 910 + 1435 + South Kenton + + + 942 + 1368 + North Wembley + + + 991 + 1280 + Wembley Central + + + 1107 + 1228 + Stonebridge Park + + + 1201 + 1167 + Harlesden + + + 1283 + 1124 + Willesden Junction + + + 1377 + 1116 + Kensal Green + + + 1486 + 1135 + Queen's Park + + + 1552 + 1151 + Kilburn Park + + + 1587 + 1100 + Maida Vale + + + 1611 + 1049 + Warwick Avenue + + + 1641 + 985 + Paddington + + + 1682 + 1037 + Edgware Road + + + 1710 + 1051 + Marylebone + + + 1753 + 1051 + Baker Street + + + 1817 + 1039 + Regents Park + + + 1843 + 975 + Oxford Circus + + + 1883 + 925 + Piccadilly Circus + + + 1929 + 913 + Charing Cross + + + 1952 + 910 + Embankment + + + 1996 + 876 + Waterloo + + + 2013 + 849 + Lambeth North + + + 2083 + 811 + Elephant and Castle + + + 207 + 1399 + West Ruislip + + + 356 + 1335 + Ruislip Gardens + + + 428 + 1305 + South Ruislip + + + 588 + 1239 + Northolt + + + 724 + 1194 + Greenford + + + 843 + 1156 + Perivale + + + 1030 + 1097 + Hangar Lane + + + 1212 + 1044 + North Acton + + + 983 + 937 + Ealing Broadway + + + 1086 + 988 + West Acton + + + 1271 + 990 + East Acton + + + 1385 + 951 + White City + + + 1417 + 877 + Shepherd's Bush + + + 1480 + 903 + Holland Park + + + 1526 + 918 + Notting Hill Gate + + + 1584 + 929 + Queensway + + + 1650 + 940 + Lancaster Gate + + + 1748 + 960 + Marble Arch + + + 1798 + 968 + Bond Street + + + 1899 + 984 + Tottenham Court Road + + + 1957 + 993 + Holborn + + + 1999 + 1001 + Chancery Lane + + + 2078 + 978 + St. Pauls + + + 2130 + 961 + Bank + + + 2169 + 1010 + Liverpool Street + + + 2343 + 1091 + Bethnal Green + + + 2434 + 1077 + Mile End + + + 2595 + 1212 + Stratford + + + 2591 + 1369 + Leyton + + + 2669 + 1452 + Leytonstone + + + 2725 + 1537 + Snaresbrook + + + 2760 + 1646 + South Woodford + + + 2797 + 1802 + Woodford + + + 2779 + 1509 + Wanstead + + + 2869 + 1529 + Redbridge + + + 2963 + 1524 + Gants Hill + + + 3101 + 1520 + Newbury Park + + + 3093 + 1609 + Barkingside + + + 3104 + 1707 + Fairlop + + + 3114 + 1752 + Hainault + + + 3104 + 1858 + Grange Hill + + + 2998 + 1902 + Chigwell + + + 2857 + 1908 + Roding Valley + + + 2856 + 1955 + Buckhurst Hill + + + 2901 + 2137 + Loughton + + + 3065 + 2146 + Debden + + + 3151 + 2419 + Theydon Bois + + + 3203 + 2647 + Epping + + + 2207 + 943 + Tower Hill + + + 2204 + 988 + Aldgate + + + 2125 + 1022 + Moorgate + + + 2081 + 1029 + Barbican + + + 2032 + 1050 + Farringdon + + + 1931 + 1121 + King's Cross + + + 1881 + 1071 + Euston Square + + + 1833 + 1054 + Great Portland Street + + + 1696 + 1022 + Edgware Road + + + 1580 + 953 + Bayswater + + + 1552 + 846 + High Street Kensington + + + 1612 + 788 + Gloucester Road + + + 1665 + 785 + South Kensington + + + 1765 + 774 + Sloane Square + + + 1830 + 793 + Victoria + + + 1879 + 831 + St James's Park + + + 1937 + 854 + Westminster + + + 1992 + 942 + Temple + + + 2053 + 947 + Blackfriars + + + 2103 + 943 + Mansion House + + + 2130 + 938 + Cannon Street + + + 2155 + 931 + Monument + + + 1053 + 911 + Ealing Common + + + 1092 + 851 + Acton Town + + + 1149 + 803 + Chiswick Park + + + 1235 + 795 + Turnham Green + + + 997 + 494 + Richmond + + + 1078 + 619 + Kew Gardens + + + 1113 + 756 + Gunnersbury + + + 1281 + 793 + Stamford Brook + + + 1333 + 792 + Ravenscourt Park + + + 1391 + 773 + Hammersmith + + + 1441 + 751 + Baron's Court + + + 1489 + 757 + West Kensington + + + 1548 + 768 + Earl's Court + + + 1463 + 820 + Olympia + + + 1520 + 151 + Wimbledon + + + 1552 + 257 + Wimbledon Park + + + 1502 + 366 + Southfields + + + 1475 + 464 + East Putney + + + 1491 + 549 + Putney Bridge + + + 1523 + 621 + Parsons Green + + + 1552 + 673 + Fulham Broadway + + + 1544 + 727 + West Brompton + + + 2229 + 998 + Aldgate East + + + 2286 + 1028 + Whitechapel + + + 2363 + 1053 + Stepney Green + + + 2495 + 1071 + Bow Road + + + 2561 + 1062 + Bromley by Bow + + + 2642 + 1107 + West Ham + + + 2712 + 1134 + Plaistow + + + 2807 + 1160 + Upton Park + + + 2919 + 1202 + East Ham + + + 3058 + 1211 + Barking + + + 3163 + 1187 + Upney + + + 3303 + 1218 + Beacontree + + + 3403 + 1227 + Dagenham Heathway + + + 3503 + 1254 + Dagenham East + + + 3698 + 1304 + Elm Park + + + 3784 + 1338 + Hornchurch + + + 3865 + 1372 + Upminster Bridge + + + 3975 + 1386 + Upminster + + + 2230 + 1033 + Shoreditch + + + 2313 + 960 + Shadwell + + + 2318 + 892 + Wapping + + + 2331 + 855 + Rotherhithe + + + 2343 + 835 + Canada Water + + + 2371 + 780 + Surrey Quays + + + 2413 + 635 + New Cross Gate + + + 2450 + 643 + New Cross + + + + 1368 + 857 + Goldhawk Road + + + 1370 + 892 + Shepherd's Bush + + + 1425 + 959 + Latimer Road + + + 1455 + 991 + Ladbroke Grove + + + 1500 + 1019 + Westbourne Park + + + 1581 + 1002 + Royal Oak + + + 939 + 1862 + Stanmore + + + 972 + 1779 + Canon's Park + + + 1011 + 1655 + Queensbury + + + 1067 + 1566 + Kingsbury + + + 1064 + 1396 + Wembley Park + + + 1238 + 1316 + Neasden + + + 1297 + 1299 + Dolis Hill + + + 1391 + 1289 + Willesden Green + + + 1474 + 1282 + Kilburn + + + 1572 + 1272 + West Hampstead + + + 1624 + 1269 + Finchley Road + + + 1647 + 1233 + Swiss Cottage + + + 1648 + 1151 + St. John's Wood + + + 1841 + 896 + Green Park + + + 2044 + 885 + Southwark + + + 2144 + 897 + London Bridge + + + 2250 + 845 + Bermondsey + + + 2540 + 881 + Canary Wharf + + + 2693 + 880 + North Greenwich + + + 2677 + 962 + Canning Town + + + 299 + 2192 + Watford + + + 152 + 2109 + Croxley + + + 220 + 1949 + Moor Park + + + 277 + 1779 + Northwood + + + 354 + 1691 + Northwood Hills + + + 516 + 1634 + Pinner + + + 604 + 1573 + North Harrow + + + 760 + 1496 + Harrow on the Hill + + + 20 + 1217 + Uxbridge + + + 140 + 1264 + Hillingdon + + + 176 + 1335 + Ickenham + + + 289 + 1422 + Ruislip + + + 342 + 1446 + Ruislip Manor + + + 432 + 1473 + Eastcote + + + 563 + 1469 + Rayners Lane + + + 664 + 1500 + West Harrow + + + 848 + 1499 + Northwick Park + + + 978 + 1464 + Preston Road + + + 1073 + 1823 + Edgware + + + 1137 + 1736 + Burnt Oak + + + 1221 + 1675 + Colindale + + + 1352 + 1576 + Hendon Central + + + 1419 + 1517 + Brent Cross + + + 1543 + 1469 + Golders Green + + + 1648 + 1353 + Hampstead + + + 1712 + 1291 + Belsize Park + + + 1762 + 1243 + Chalk Farm + + + 1820 + 1212 + Camden Town + + + 1508 + 2193 + High Barnet + + + 1597 + 2008 + Totteridge and Whetstone + + + 1568 + 1889 + Woodside Park + + + 1545 + 1819 + West Finchley + + + 1545 + 1727 + Finchley Central + + + 1429 + 1802 + Mill Hill East + + + 1689 + 1618 + East Finchley + + + 1805 + 1528 + Highgate + + + 1862 + 1441 + Archway + + + 1860 + 1366 + Tufnell Park + + + 1844 + 1299 + Kentish Town + + + 1846 + 1149 + Mornington Crescent + + + 1879 + 1101 + Euston + + + 2039 + 1136 + Angel + + + 2122 + 1084 + Old Street + + + 2105 + 858 + Borough + + + 2043 + 748 + Kennington + + + 1854 + 1049 + Warren Street + + + 1879 + 1019 + Goodge Street + + + 1914 + 942 + Leicester Square + + + 2000 + 691 + Oval + + + 1953 + 604 + Stockwell + + + 1912 + 526 + Clapham North + + + 1860 + 492 + Clapham Common + + + 1816 + 419 + Clapham South + + + 1786 + 342 + Balham + + + 1762 + 282 + Tooting Bec + + + 1712 + 176 + Tooting Broadway + + + 1668 + 112 + Colliers Wood + + + 1594 + 79 + South Wimbledon + + + 1551 + 15 + Morden + + + 205 + 537 + Heathrow 1, 2 and 3 + + + 244 + 468 + Heathrow 4 + + + 350 + 514 + Hatton Cross + + + 570 + 570 + Hounslow West + + + 652 + 554 + Hounslow Central + + + 708 + 578 + Hounslow East + + + 740 + 650 + Osterley + + + 871 + 762 + Boston Manor + + + 918 + 802 + Northfields + + + 956 + 817 + South Ealing + + + 678 + 1371 + South Harrow + + + 756 + 1312 + Sudbury Hill + + + 881 + 1270 + Sudbury Town + + + 971 + 1190 + Alperton + + + 1070 + 1060 + Park Royal + + + 1052 + 981 + North Ealing + + + 1737 + 851 + Knightsbridge + + + 1781 + 865 + Hyde Park Corner + + + 1937 + 956 + Covent Garden + + + 1929 + 1047 + Russel Square + + + 1960 + 1288 + Caledonian Road + + + 2002 + 1325 + Holloway Road + + + 2027 + 1379 + Arsenal + + + 2038 + 1439 + Finsbury Park + + + 2086 + 1496 + Manor House + + + 2042 + 1658 + Turnpike Lane + + + 2005 + 1724 + Wood Green + + + 1904 + 1812 + Bounds Green + + + 1863 + 1890 + Arnos Grove + + + 1882 + 2013 + Southgate + + + 1863 + 2168 + Oakwood + + + 1776 + 2203 + Cockfosters + + + 2017 + 522 + Brixton + + + 1947 + 724 + Vauxhall + + + 1898 + 755 + Pimlico + + + 2041 + 1260 + Highbury and Islington + + + 2192 + 1605 + Seven Sisters + + + 2282 + 1648 + Tottenham Hale + + + 2385 + 1627 + Blackhorse Road + + + 2534 + 1611 + Walthamstow Central + + + 2392 + 971 + Limehouse + + + 2468 + 953 + Westferry + + + 2546 + 938 + Poplar + + + 2562 + 964 + All Saints + + + 2533 + 1038 + Devons Road + + + 2509 + 1089 + Bow Church + + + 2558 + 1157 + Pudding Mill Lane + + + 2522 + 913 + West India Quay + + + 2520 + 868 + Heron Quay + + + 2541 + 855 + South Quay + + + 2561 + 803 + Crossharbour and London Arena + + + 2571 + 765 + Mudchute + + + 2590 + 743 + island Gardens + + + 2592 + 693 + Cutty Sark + + + 2561 + 657 + Greenwich + + + 2539 + 637 + Deptford Bridge + + + 2546 + 583 + Elverston Road + + + 2565 + 545 + Lewisham + + + 2587 + 937 + Blackwall + + + 2633 + 943 + East India + + + 2725 + 930 + Royal Victoria + + + 2779 + 932 + Custom House + + + 2814 + 933 + Prince Regent + + + 2889 + 932 + Royal Albert + + + 2927 + 933 + Beckton Park + + + 2966 + 933 + Cyprus + + + 3015 + 942 + Gallions Reach + + + 2960 + 993 + Beckton + + + 2227 + 947 + Tower Gateway + + + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + true + + + true + true + + + true + + + true + + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + + true + + + true + true + + + true + true + true + + + true + true + true + + + true + true + true + + + true + true + true + + + true + true + true + + + true + true + true + + + true + true + true + + + true + true + + + true + true + true + + + true + true + + + true + true + + + true + true + + + true + + + true + true + true + + + true + true + + + true + true + + + true + true + + + true + true + + + true + true + + + true + true + + + true + true + + + true + true + + + true + true + + + true + true + + + true + true + + + + true + + + true + true + + + true + true + + + true + true + + + true + + + true + + + true + + + true + true + + + true + true + + + true + true + + + true + true + + + true + true + + + true + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + true + + + true + + + true + true + + + true + true + + + true + true + + + true + true + + + true + true + + + true + true + + + true + true + + + true + true + + + true + true + + + true + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + + true + + + true + + + true + + + true + + + true + true + + + true + true + + + true + true + + + true + true + + + true + true + + + true + true + + + true + true + + + true + true + + + true + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + true + + + true + true + + + true + true + + + true + true + + + true + true + + + true + true + + + true + + + true + + + true + + + true + + + true + + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + true + + + true + + + true + + + true + + + true + + + true + + + true + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + + diff --git a/exisiting_maps/montreal.graphml b/exisiting_maps/montreal.graphml new file mode 100644 index 0000000..9bfa321 --- /dev/null +++ b/exisiting_maps/montreal.graphml @@ -0,0 +1,549 @@ + + + + + + + FALSE + + + FALSE + + + FALSE + + + FALSE + + + + + 3663.0 + -2872.0 + Angrignon + + + 3794.0 + -2876.0 + Monk + + + 3947.0 + -2877.0 + Jolicoeur + + + 4064.0 + -2901.0 + Verdun + + + 4131.0 + -2893.0 + De L'�glise + + + 4224.0 + -2771.0 + LaSalle + + + 4247.0 + -2669.0 + Charlevoix + + + 4184.0 + -2551.0 + Lionel Groulx + + + 4196.0 + -2426.0 + Atwater + + + 4299.0 + -2397.0 + Guy Concordia + + + 4396.0 + -2352.0 + Peel + + + 4452.0 + -2328.0 + McGill + + + 4509.0 + -2301.0 + Place des Arts + + + 4572.0 + -2280.0 + Saint Laurent + + + 4634.0 + -2252.0 + Berri UQAM + + + 4710.0 + -2221.0 + Beaudry + + + 4790.0 + -2186.0 + Papineau + + + 4878.0 + -2069.0 + Frontenac + + + 4941.0 + -1948.0 + Pr�fontaine + + + 4994.0 + -1907.0 + Joliette + + + 5058.0 + -1812.0 + Pie IX + + + 5159.0 + -1748.0 + Viau + + + 5228.0 + -1640.0 + Assomption + + + 5296.0 + -1543.0 + Cadillac + + + 5385.0 + -1488.0 + Langelier + + + 5468.0 + -1432.0 + Radisson + + + 5568.0 + -1361.0 + Honor� Beaugrand + + + 4863.0 + -2458.0 + Jean Drapeau + + + 5084.0 + -2362.0 + Longueil + + + 3532.0 + -1528.0 + C�te Vertu + + + 3563.0 + -1640.0 + Du Coll�ge + + + 3610.0 + -1849.0 + De La Savanne + + + 3640.0 + -1968.0 + Namur + + + 3759.0 + -2032.0 + Plamondon + + + 3794.0 + -2108.0 + C�te Sainte Catherine + + + 3791.0 + -2210.0 + Snowdon + + + 3804.0 + -2349.0 + Villa Maria + + + 3903.0 + -2522.0 + Vend�me + + + 4083.0 + -2581.0 + Place Saint Henri + + + 4278.0 + -2496.0 + Georges Vanier + + + 4364.0 + -2455.0 + Lucien L'Allier + + + 4435.0 + -2439.0 + Bonaventure + + + 4508.0 + -2410.0 + Square Victoria + + + 4574.0 + -2378.0 + Place d'Armes + + + 4636.0 + -2348.0 + Champ de Mars + + + 4602.0 + -2156.0 + Sherbrooke + + + 4541.0 + -2009.0 + Mont Royal + + + 4512.0 + -1934.0 + Laurier + + + 4455.0 + -1819.0 + Rosemont + + + 4415.0 + -1729.0 + Beaubien + + + 4361.0 + -1616.0 + Jean Talon + + + 4274.0 + -1487.0 + Jarry + + + 4205.0 + -1386.0 + Cr�mazie + + + 4093.0 + -1217.0 + Sauv� + + + 4011.0 + -1096.0 + Henri Bourassa + + + 3911.0 + -2114.0 + C�te des Neiges + + + 4028.0 + -2062.0 + Universit� de Montr�al + + + 4131.0 + -2004.0 + �douard Montpetit + + + 4200.0 + -1857.0 + Outremont + + + 4140.0 + -1755.0 + Acadie + + + 4204.0 + -1669.0 + Parc + + + 4282.0 + -1635.0 + De Castelnau + + + 4496.0 + -1555.0 + Fabre + + + 4598.0 + -1509.0 + D'Iberville + + + 4671.0 + -1443.0 + Saint Michel + + + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + diff --git a/exisiting_maps/sydney.graphml b/exisiting_maps/sydney.graphml new file mode 100644 index 0000000..bac7488 --- /dev/null +++ b/exisiting_maps/sydney.graphml @@ -0,0 +1,1557 @@ + + + + + + + FALSE + + + FALSE + + + FALSE + + + FALSE + + + FALSE + + + FALSE + + + FALSE + + + FALSE + + + FALSE + + + FALSE + + + + + + + + + 151.113098 + -33.9692 + Allawah + + + 151.147095 + -33.935299 + Arncliffe + + + 151.185593 + -33.8069 + Artarmon + + + 151.125504 + -33.886799 + Ashfield + + + 151.1082 + -33.688202 + Asquith + + + 151.032501 + -33.8489 + Auburn + + + 151.138702 + -33.944099 + Banksia + + + 151.034897 + -33.917 + Bankstown + + + 151.124405 + -33.930901 + Bardwell Park + + + 151.066803 + -33.749199 + Beecroft + + + 151.089203 + -33.9161 + Belmore + + + 151.031906 + -33.870998 + Berala + + + 151.153397 + -33.623699 + Berowra + + + 151.082108 + -33.9478 + Beverly Hills + + + 151.111404 + -33.937099 + Bexley North + + + 151.024399 + -33.892601 + Birrong + + + 150.908707 + -33.7668 + Blacktown + + + 151.246506 + -33.893101 + Bondi Junction + + + 151.104706 + -33.876301 + Burwood + + + 150.938995 + -33.8927 + Cabramatta + + + 151.025604 + -33.817001 + Camellia + + + 150.812607 + -34.063801 + Campbelltown + + + 151.101303 + -33.909901 + Campsie + + + 150.944199 + -33.886501 + Canley Vale + + + 151.117493 + -33.91 + Canterbury + + + 151.121094 + -34.0415 + Caringbah + + + 151.046204 + -33.780102 + Carlingford + + + 151.123795 + -33.967701 + Carlton + + + 150.960907 + -33.884201 + Carramar + + + 150.910797 + -33.9487 + Casula + + + 151.205704 + -33.882999 + Central + + + 151.181 + -33.796799 + Chatswood + + + 151.078796 + -33.754601 + Cheltenham + + + 150.996597 + -33.883202 + Chester Hill + + + 151.210907 + -33.861198 + Circular Quay + + + 150.790497 + -33.610001 + Clarendon + + + 151.017197 + -33.8349 + Clyde + + + 151.067902 + -34.004799 + Como + + + 151.0858 + -33.847599 + Concord West + + + 151.150497 + -34.056198 + Cronulla + + + 151.115799 + -33.8829 + Croydon + + + 151.087799 + -33.798401 + Denistone + + + 151.179596 + -33.930401 + Domestic + + + 150.866196 + -33.7631 + Doonside + + + 151.139801 + -33.909302 + Dulwich Hill + + + 151.033096 + -33.804001 + Dundas + + + 150.9841 + -33.960602 + East Hills + + + 150.758194 + -33.6017 + East Richmond + + + 151.082794 + -33.789501 + Eastwood + + + 151.239105 + -33.879902 + Edgecliff + + + 150.671799 + -33.744202 + Emu Plains + + + 151.013702 + -34.067299 + Engadine + + + 151.082397 + -33.770901 + Epping + + + 151.184799 + -33.9006 + Erskineville + + + 150.957703 + -33.871101 + Fairfield + + + 151.069901 + -33.864101 + Flemington + + + 150.892105 + -33.970699 + Glenfield + + + 151.155701 + -33.754501 + Gordon + + + 151.012604 + -33.831799 + Granville + + + 151.1996 + -33.9053 + Green Square + + + 150.983795 + -33.853699 + Guildford + + + 151.084305 + -34.035 + Gymea + + + 151.007095 + -33.822498 + Harris Park + + + 151.007706 + -34.087502 + Heathcote + + + 150.955704 + -33.961601 + Holsworthy + + + 151.086594 + -33.8661 + Homebush + + + 151.098495 + -33.701302 + Hornsby + + + 151.131897 + -33.909698 + Hurlstone Park + + + 151.100601 + -33.966099 + Hurstville + + + 150.865494 + -33.995701 + Ingleburn + + + 151.166107 + -33.935001 + International + + + 151.064194 + -34.015598 + Jannali + + + 151.162598 + -33.763901 + Killara + + + 151.219193 + -33.8717 + Kings Cross + + + 151.098801 + -33.940498 + Kingsgrove + + + 150.719894 + -33.756001 + Kingswood + + + 151.070801 + -34.034599 + Kirrawee + + + 151.132095 + -33.961498 + Kogarah + + + 151.076202 + -33.919102 + Lakemba + + + 150.9841 + -33.881599 + Leightonfield + + + 150.828903 + -34.051399 + Leumeah + + + 151.148193 + -33.893101 + Lewisham + + + 151.044907 + -33.862099 + Lidcombe + + + 151.169907 + -33.773201 + Lindfield + + + 150.9263 + -33.923599 + Liverpool + + + 151.0504 + -34.044701 + Loftus + + + 150.795898 + -34.071201 + Macarthur + + + 151.186203 + -33.896301 + Macdonaldtown + + + 150.878098 + -33.983799 + Macquarie Fields + + + 150.8992 + -33.7458 + Marayong + + + 151.155502 + -33.9132 + Marrickville + + + 151.210907 + -33.8666 + Martin Place + + + 151.1866 + -33.921501 + Mascot + + + 151.090103 + -33.815399 + Meadowbank + + + 150.992203 + -33.835602 + Merrylands + + + 151.211395 + -33.8456 + Milsons Point + + + 150.8414 + -34.026901 + Minto + + + 151.102005 + -34.036499 + Miranda + + + 151.0811 + -33.9702 + Mortdale + + + 151.115204 + -33.6712 + Mt Colah + + + 150.818893 + -33.768799 + Mt Druitt + + + 151.137497 + -33.652302 + Mt Kuring-gai + + + 150.830597 + -33.625198 + Mulgrave + + + 151.211304 + -33.8755 + Museum + + + 151.069595 + -33.946602 + Narwee + + + 151.179703 + -33.898201 + Newtown + + + 151.097504 + -33.719898 + Normanhurst + + + 151.087997 + -33.858002 + North Strathfield + + + 151.205399 + -33.841099 + North Sydney + + + 151.078705 + -33.9799 + Oatley + + + 151.069 + -33.847099 + Olympic Park + + + 151.031998 + -33.950699 + Padstow + + + 150.996201 + -33.953701 + Panania + + + 151.006195 + -33.8167 + Parramatta + + + 150.953506 + -33.800999 + Pendle Hill + + + 151.073303 + -33.735298 + Pennant Hills + + + 150.6922 + -33.748199 + Penrith + + + 151.089005 + -33.965199 + Penshurst + + + 151.155106 + -33.893101 + Petersham + + + 151.057098 + -33.9245 + Punchbowl + + + 151.144104 + -33.7425 + Pymble + + + 150.886795 + -33.726799 + Quakers Hill + + + 151.1978 + -33.8913 + Redfern + + + 151.025299 + -33.881001 + Regents Park + + + 151.013794 + -33.951401 + Revesby + + + 151.085403 + -33.830101 + Rhodes + + + 150.753998 + -33.5998 + Richmond + + + 150.857498 + -33.678299 + Riverstone + + + 151.050507 + -33.951199 + Riverwood + + + 151.135406 + -33.9519 + Rockdale + + + 150.843903 + -33.770401 + Rooty Hill + + + 151.022903 + -33.822201 + Rosehill + + + 151.177795 + -33.7817 + Roseville + + + 151.0289 + -33.8102 + Rydalmere + + + 150.867996 + -33.6973 + Schofields + + + 151.010895 + -33.8848 + Sefton + + + 150.936996 + -33.7738 + Seven Hills + + + 151.211304 + -33.870899 + St James + + + 151.195297 + -33.823601 + St Leonards + + + 150.774902 + -33.7612 + St Marys + + + 151.178299 + -33.906799 + St Peters + + + 151.163498 + -33.893501 + Stanmore + + + 151.093994 + -33.871201 + Strathfield + + + 151.139404 + -33.889599 + Summer Hill + + + 151.056396 + -34.031502 + Sutherland + + + 151.168503 + -33.9133 + Sydenham + + + 151.042496 + -33.793598 + Telopea + + + 151.156906 + -33.922901 + Tempe + + + 151.078003 + -33.730598 + Thornleigh + + + 150.949402 + -33.786999 + Toongabbie + + + 151.207108 + -33.872398 + Town Hall + + + 151.128403 + -33.730099 + Turramurra + + + 151.139694 + -33.929401 + Turrella + + + 150.973907 + -33.880402 + Villawood + + + 150.849792 + -33.6497 + Vineyard + + + 151.117401 + -33.715698 + Wahroonga + + + 151.104401 + -33.707901 + Waitara + + + 151.121994 + -33.722698 + Warrawee + + + 150.933807 + -33.9147 + Warwick Farm + + + 150.993393 + -34.133999 + Waterfall + + + 151.197998 + -33.8377 + Waverton + + + 150.971497 + -33.806099 + Wentworthville + + + 150.759705 + -33.7589 + Werrington + + + 151.091095 + -33.805 + West Ryde + + + 150.986801 + -33.8069 + Westmead + + + 151.065994 + -33.923 + Wiley Park + + + 150.809402 + -33.612801 + Windsor + + + 151.154999 + -33.925999 + Wolli Creek + + + 151.191498 + -33.831299 + Wollstonecraft + + + 151.143494 + -34.0476 + Woolooware + + + 151.205795 + -33.865101 + Wynyard + + + 151.023804 + -33.904202 + Yagoona + + + 150.969803 + -33.8638 + Yennora + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + TRUE + + + TRUE + TRUE + + + TRUE + TRUE + + + TRUE + TRUE + + + TRUE + TRUE + + + TRUE + TRUE + + + TRUE + TRUE + + + TRUE + + + TRUE + TRUE + + + TRUE + TRUE + + + TRUE + TRUE + + + TRUE + TRUE + TRUE + + + TRUE + + + TRUE + + + TRUE + TRUE + TRUE + + + TRUE + TRUE + TRUE + + + TRUE + TRUE + TRUE + TRUE + + + TRUE + TRUE + TRUE + TRUE + + + TRUE + TRUE + TRUE + TRUE + + + TRUE + TRUE + TRUE + TRUE + + + TRUE + TRUE + TRUE + TRUE + + + TRUE + TRUE + TRUE + TRUE + + + TRUE + TRUE + TRUE + TRUE + + + TRUE + TRUE + TRUE + TRUE + + + TRUE + TRUE + TRUE + TRUE + + + TRUE + TRUE + TRUE + TRUE + + + TRUE + TRUE + TRUE + TRUE + TRUE + TRUE + + + TRUE + TRUE + TRUE + TRUE + TRUE + + + TRUE + TRUE + TRUE + TRUE + + + TRUE + TRUE + + + TRUE + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + TRUE + + + TRUE + TRUE + + + TRUE + TRUE + + + TRUE + TRUE + + + TRUE + TRUE + + + TRUE + TRUE + TRUE + TRUE + + + TRUE + TRUE + TRUE + TRUE + + + TRUE + TRUE + + + TRUE + TRUE + + + TRUE + TRUE + TRUE + + + TRUE + TRUE + TRUE + + + TRUE + TRUE + TRUE + + + TRUE + TRUE + TRUE + + + TRUE + TRUE + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + TRUE + + + TRUE + TRUE + TRUE + TRUE + + + TRUE + TRUE + TRUE + TRUE + + + TRUE + TRUE + TRUE + TRUE + + + TRUE + + + TRUE + TRUE + + + TRUE + TRUE + + + TRUE + TRUE + + + TRUE + TRUE + + + TRUE + TRUE + + + TRUE + + + TRUE + TRUE + + + TRUE + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + TRUE + + + TRUE + TRUE + + + TRUE + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + TRUE + + + diff --git a/exisiting_maps/washington.graphml b/exisiting_maps/washington.graphml new file mode 100644 index 0000000..4e9e7b8 --- /dev/null +++ b/exisiting_maps/washington.graphml @@ -0,0 +1,1183 @@ + + + + + + + FALSE + + + FALSE + + + FALSE + + + FALSE + + + FALSE + + + FALSE + + + + + 619.000000 + 307.662750 + Gallery Pl-Chinatown + + + 496.000000 + 544.627191 + White Flint + + + 551.000000 + 305.288829 + Arlington Cemetery + + + 581.000000 + 268.335669 + Pentagon + + + 463.000000 + 301.327804 + Virginia Sq-GMU + + + 439.000000 + 620.719005 + Shady Grove + + + 525.000000 + 312.339924 + Court House + + + 500.000000 + 303.946934 + Clarendon + + + 240.000000 + 337.084402 + Vienna/Fairfax-GMU + + + 282.000000 + 314.435032 + Dunn Loring-Merrifield + + + 328.000000 + 296.879338 + West Falls Church-VT/UVA + + + 381.000000 + 290.241355 + East Falls Church + + + 441.000000 + 298.415418 + Baliston-MU + + + 571.000000 + 388.997903 + Cleveland Park + + + 563.000000 + 406.404676 + Van Ness-UDC + + + 543.000000 + 420.040240 + Tenleytown-AU + + + 525.000000 + 483.479182 + Medical Center + + + 501.000000 + 513.019313 + Grosvenor-Strathmore + + + 484.000000 + 573.363716 + Twinbrook + + + 463.000000 + 599.191130 + Rockville + + + 537.000000 + 437.140716 + Friendship Heights + + + 532.000000 + 460.899047 + Bethesda + + + 605.000000 + 306.452043 + Metro Center + + + 643.000000 + 303.613267 + Judiciary Sq + + + 663.000000 + 314.722226 + Union Station + + + 577.000000 + 351.438124 + Dupont Circle + + + 571.000000 + 368.504421 + Woodley Park-Zoo/Adams Morgan + + + 600.000000 + 321.455739 + McPherson Sq + + + 586.000000 + 329.877802 + Farragut North + + + 585.000000 + 321.472308 + Farragut West + + + 566.000000 + 320.848117 + Foggy Bottom-GWU + + + 547.000000 + 317.963554 + Rosslyn + + + 679.000000 + 348.172586 + New York Ave + + + 686.000000 + 367.171509 + Rhode Island Ave + + + 679.000000 + 391.942457 + Brookland-CUA + + + 664.000000 + 414.396714 + Fort Totten + + + 614.000000 + 341.244188 + Mt Vernon Sq/7th St-Convention Center + + + 613.000000 + 361.605026 + Shaw-Howard U + + + 620.000000 + 381.041055 + U St/African-American Civil War Memorial/Cardozo + + + 633.000000 + 394.314889 + Columbia Heights + + + 647.000000 + 405.739883 + Georgia Ave-Petworth + + + 654.000000 + 433.272674 + Takoma + + + 636.000000 + 459.962586 + Silver Spring + + + 627.000000 + 492.787606 + Forest Glen + + + 623.000000 + 525.184732 + Wheaton + + + 621.000000 + 566.373401 + Glenmont + + + 696.000000 + 407.362341 + West Hyattsville + + + 714.000000 + 416.509488 + Prince George's Plaza + + + 743.000000 + 429.161741 + College Park-U of Md + + + 755.000000 + 460.663907 + Greenbelt + + + 606.000000 + 294.663368 + Federal Triangle + + + 604.000000 + 281.454947 + Smithsonian + + + 621.000000 + 281.092758 + L'Enfant Plaza + + + 621.000000 + 293.702966 + Archives-Navy Memorial + + + 640.000000 + 278.799393 + Federal Center SW + + + 656.000000 + 277.792895 + Capitol South + + + 676.000000 + 278.495438 + Eastern Market + + + 693.000000 + 276.854507 + Potomac Ave + + + 709.000000 + 284.544418 + Stadium-Armory + + + 739.000000 + 291.031758 + Benning Road + + + 763.000000 + 286.207654 + Capitol Heights + + + 728.000000 + 300.150641 + Minnesota Ave + + + 754.000000 + 313.725147 + Deanwood + + + 779.000000 + 324.561837 + Cheverly + + + 800.000000 + 338.281546 + Landover + + + 824.000000 + 352.973669 + New Carroliton + + + 868.000000 + 288.841380 + Largo Town Center + + + 826.000000 + 281.612971 + Morgan Boulevard + + + 791.000000 + 282.202960 + Addison Road-Seat Pleasant + + + 630.000000 + 263.687750 + Waterfront-SEU + + + 647.000000 + 262.216384 + Navy Yard + + + 662.000000 + 249.350823 + Anacostia + + + 749.000000 + 171.367169 + Branch Ave + + + 680.000000 + 233.626423 + Congress Heights + + + 740.000000 + 191.000540 + Suitland + + + 727.000000 + 207.851166 + Naylor Road + + + 703.000000 + 223.806150 + Southern Ave + + + 586.000000 + 253.532760 + Pentagon City + + + 601.000000 + 249.562414 + Crystal City + + + 601.000000 + 231.026191 + Ronald Reagan Washington National Airport + + + 597.000000 + 196.096334 + Braddock Road + + + 583.000000 + 163.681554 + King Street + + + 565.000000 + 151.659489 + Van Dorn Street + + + 533.000000 + 148.785162 + Franconia-Springfield + + + 576.000000 + 132.201092 + Eisenhower Ave + + + 565.000000 + 107.078799 + Huntington + + + 344.0 + 347.0 + Tysons East + + + 328 + 341 + Tysons Central 123 + + + 322 + 341 + Tysons Central 7 + + + 322 + 357 + Tysons West + + + 270 + 454 + Wiehle Ave + + + 255 + 480 + Reston Pkwy + + + 233 + 509 + Herndon-Monroe + + + 224 + 532 + Route 28 + + + 189 + 557 + Dulles Airport + + + 216 + 606 + Route 606 + + + 215 + 637 + Route 772 + + + + True + False + False + False + False + + + True + False + False + False + False + + + True + False + False + False + False + + + True + False + False + False + False + + + True + False + False + False + False + + + True + False + False + False + False + + + True + False + False + False + False + + + True + False + False + False + False + + + True + False + False + False + False + + + True + False + False + False + False + + + True + False + False + False + False + + + True + False + False + False + False + + + True + False + False + False + False + + + True + False + False + False + False + + + True + False + False + False + False + + + True + False + False + False + False + + + True + False + False + False + False + + + True + False + False + False + False + + + True + False + False + False + False + + + True + False + False + False + False + + + True + False + False + False + False + + + True + False + False + False + False + + + True + False + False + False + False + + + True + False + False + False + False + + + True + False + False + False + False + + + True + False + False + False + False + + + False + True + False + False + False + + + False + True + False + False + False + + + False + True + False + False + False + + + False + True + False + False + True + + + False + True + False + False + False + True + + + False + True + False + False + False + True + + + False + True + False + False + False + True + + + False + True + False + False + False + True + + + False + True + True + False + False + True + + + False + True + True + False + False + True + + + False + True + True + False + False + True + + + False + True + True + False + False + True + + + False + True + True + False + False + True + + + False + True + True + False + False + True + + + False + True + True + False + False + True + + + False + True + True + False + False + True + + + False + True + True + False + False + True + + + False + True + True + False + False + True + + + False + True + True + False + False + True + + + False + True + True + False + False + True + + + False + True + False + False + False + + + False + True + False + False + False + + + False + True + False + False + False + + + False + True + False + False + False + + + False + True + False + False + False + + + False + False + True + False + False + + + False + False + True + False + False + + + False + False + True + True + False + + + False + False + True + True + False + + + False + False + True + True + False + + + False + False + True + True + False + + + False + False + True + True + False + + + False + False + True + False + False + + + False + False + True + False + False + + + False + False + True + False + False + + + False + False + True + False + False + + + False + False + True + False + False + + + False + False + True + False + False + + + False + False + True + False + False + + + False + False + False + True + False + + + False + False + False + True + False + + + False + False + False + True + False + + + False + False + False + True + True + + + False + False + False + True + True + + + False + False + False + True + True + + + False + False + False + False + True + + + False + False + False + False + True + + + False + False + False + False + True + + + False + False + False + False + True + + + False + False + False + False + True + + + False + False + False + False + True + + + False + False + False + False + True + + + False + False + False + False + True + + + False + False + False + True + True + + + False + False + False + True + True + + + False + False + False + True + True + + + False + False + False + True + True + + + False + False + False + True + True + + + False + False + False + False + True + + + False + False + False + False + True + + + False + False + False + False + True + + + False + False + False + False + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + + + diff --git a/exisiting_maps/wien.graphml b/exisiting_maps/wien.graphml new file mode 100644 index 0000000..e64d41d --- /dev/null +++ b/exisiting_maps/wien.graphml @@ -0,0 +1,766 @@ + + + + + + + FALSE + + + FALSE + + + FALSE + + + FALSE + + + FALSE + + + + + 19 + 233 + H�tteldorf + + + 56 + 215 + Ober St. Veit + + + 75 + 212 + Unter St. Veit + + + 101 + 206 + Braunschweiggasse + + + 121 + 201 + Hietzing + + + 151 + 195 + Sch�nbrunn + + + 171 + 187 + Meidling Hauptstra�e + + + 183 + 187 + L�ngenfeldgasse + + + 208 + 205 + Margareteng�rtel + + + 229 + 215 + Pilgramgasse + + + 238 + 231 + Kettenbr�ckengasse + + + 261 + 244 + Karlsplatz + + + 289 + 254 + Stadtpark + + + 300 + 263 + Landstra�e + + + 283 + 283 + Schwedenplatz + + + 268 + 302 + Schottenring + + + 261 + 319 + Ro�auer L�nde + + + 253 + 338 + Friedensbr�cke + + + 245 + 362 + Spittelau + + + 261 + 407 + Heiligenstadt + + + 136 + 10 + Siebenhirten + + + 143 + 32 + Perfektastra�e + + + 150 + 51 + Erlaaer Stra�e + + + 151 + 79 + Alterlaa + + + 167 + 114 + Am Sch�pfwerk + + + 174 + 127 + Tscherttegasse + + + 184 + 157 + Philadelphiabr�cke + + + 182 + 176 + Niederhofstra�e + + + 199 + 220 + Gumpendorfer Stra�e + + + 202 + 233 + Westbahnhof + + + 198 + 256 + Burggasse Stadthalle + + + 198 + 272 + Thaliastra�e + + + 201 + 284 + Josefst�dter Stra�e + + + 207 + 303 + Alser Stra�e + + + 216 + 317 + Michelbeuern AKH + + + 224 + 335 + W�hringer Stra�e Volksoper + + + 231 + 352 + Nu�dorfer Stra�e + + + 267 + 360 + J�gerstra�e + + + 289 + 365 + Dresdner Stra�e + + + 305 + 383 + Handelskai + + + 326 + 399 + Neue Donau + + + 339 + 433 + Floridsdorf + + + 142 + 287 + Ottakring + + + 136 + 262 + Kendlerstra�e + + + 139 + 247 + H�tteldorfer Stra�e + + + 159 + 239 + Johnstra�e + + + 180 + 238 + Schweglerstra�e + + + 214 + 236 + Zieglergasse + + + 228 + 242 + Neubaugasse + + + 239 + 260 + Volkstheater + + + 256 + 274 + Herrengasse + + + 269 + 270 + Stephansplatz + + + 287 + 265 + Stubentor + + + 317 + 250 + Rochusgasse + + + 334 + 236 + Kardinal-Nagel-Platz + + + 351 + 224 + Schlachthausgasse + + + 365 + 215 + Erdberg + + + 372 + 193 + Gasometer + + + 361 + 177 + Zippererstra�e + + + 368 + 159 + Enkplatz + + + 380 + 143 + Simmering + + + 284 + 155 + Reumannplatz + + + 280 + 171 + Keplerplatz + + + 275 + 193 + S�dtiroler Platz + + + 266 + 221 + Taubstummengasse + + + 303 + 296 + Nestroyplatz + + + 315 + 308 + Praterstern + + + 339 + 327 + Vorgartenstra�e + + + 361 + 342 + Donauinsel + + + 373 + 356 + VIC Kaiserm�hlen + + + 393 + 375 + Alte Donau + + + 414 + 394 + Kagran + + + 432 + 414 + Kagraner Platz + + + 446 + 434 + Rennbahnweg + + + 451 + 458 + Aderklaaer Stra�e + + + 442 + 485 + Gro�feldsiedlung + + + 456 + 505 + Leopoldau + + + 249 + 250 + Museumsquartier + + + 235 + 278 + Rathaus + + + 251 + 294 + Schottentor + + + 290 + 308 + Taborstra�e + + + 342 + 303 + Messe + + + 364 + 293 + Trabrennstra�e + + + 378 + 277 + Stadion + + + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + + diff --git a/src/components/atoms/button.rs b/src/components/atoms/button.rs new file mode 100644 index 0000000..458a32e --- /dev/null +++ b/src/components/atoms/button.rs @@ -0,0 +1,25 @@ +use leptos::ev::MouseEvent; +use leptos::*; + +#[component] +pub fn Button(text: &'static str, on_click: F, #[prop(optional)] outlined: bool) -> impl IntoView +where + F: Fn(MouseEvent) + 'static, +{ + let mut class = "inline-block rounded px-6 py-2 text-base font-medium uppercase leading-normal text-white shadow-primary-3 dark:shadow-neutral-950 hover:shadow-blue-900 dark:hover:shadow-neutral-900".to_owned(); + + if outlined { + class = class + "border-solid border-2 text-blue-400 border-blue-400 hover:text-blue-500 hover:border-blue-500 active:text-blue-600 active:border-blue-600 dark:text-blue-600 dark:border-blue-600 dark:hover:text-blue-700 dark:hover:border-blue-700 dark:active:text-blue-800 dark:active:border-blue-800" + } else { + class = class + "bg-blue-400 hover:bg-blue-500 active:bg-blue-600 dark:bg-blue-600 dark:hover:bg-blue-700 dark:active:bg-blue-800" + } + + view! { + + } +} diff --git a/src/components/atoms/mod.rs b/src/components/atoms/mod.rs new file mode 100644 index 0000000..ea55195 --- /dev/null +++ b/src/components/atoms/mod.rs @@ -0,0 +1,3 @@ +mod button; + +pub use button::Button; diff --git a/src/components/mod.rs b/src/components/mod.rs index a4224ef..dd249fe 100644 --- a/src/components/mod.rs +++ b/src/components/mod.rs @@ -1,6 +1,6 @@ -mod canvas; -mod navbar; -mod page; -mod sidebar; +mod atoms; +mod molecules; +mod organisms; +mod pages; -pub use page::Page; +pub use pages::Home; diff --git a/src/components/canvas.rs b/src/components/molecules/canvas.rs similarity index 100% rename from src/components/canvas.rs rename to src/components/molecules/canvas.rs diff --git a/src/components/molecules/file_modal.rs b/src/components/molecules/file_modal.rs new file mode 100644 index 0000000..4538e54 --- /dev/null +++ b/src/components/molecules/file_modal.rs @@ -0,0 +1,69 @@ +use leptos::*; +use wasm_bindgen::{closure::Closure, JsCast, JsValue}; +use web_sys::HtmlInputElement; + +use crate::components::atoms::Button; + +fn get_file(input: &HtmlInputElement, on_submit: S) +where + S: Fn(String) + 'static, +{ + let cb = Closure::new(move |v: JsValue| { + on_submit(v.as_string().expect("file contents should be a string")); + }); + + input + .files() + .and_then(|l| l.item(0)) + .map(|f| f.text()) + .iter() + .for_each(|p| { + let _ = p.then(&cb); + }); + + cb.forget(); +} + +#[component] +pub fn FileModal(show: ReadSignal, on_submit: S, on_close: C) -> impl IntoView +where + S: Fn(String) + 'static + Copy, + C: Fn() + 'static, +{ + let modal_ref: NodeRef = create_node_ref(); + let input_ref: NodeRef = create_node_ref(); + + view! { +
().cloned()).as_ref()) {on_close()}> +
+ // content +
+ // body +
+ + +
+ // footer +
+
+
+
+
+ } +} diff --git a/src/components/molecules/mod.rs b/src/components/molecules/mod.rs new file mode 100644 index 0000000..e1ee262 --- /dev/null +++ b/src/components/molecules/mod.rs @@ -0,0 +1,5 @@ +mod canvas; +mod file_modal; + +pub use canvas::Canvas; +pub use file_modal::FileModal; diff --git a/src/components/navbar.rs b/src/components/navbar.rs deleted file mode 100644 index 3ff8b4e..0000000 --- a/src/components/navbar.rs +++ /dev/null @@ -1,14 +0,0 @@ -use leptos::*; - -#[component] -pub fn Navbar() -> impl IntoView { - view! { - - } -} diff --git a/src/components/organisms/mod.rs b/src/components/organisms/mod.rs new file mode 100644 index 0000000..0008548 --- /dev/null +++ b/src/components/organisms/mod.rs @@ -0,0 +1,5 @@ +mod navbar; +mod sidebar; + +pub use navbar::Navbar; +pub use sidebar::Sidebar; diff --git a/src/components/organisms/navbar.rs b/src/components/organisms/navbar.rs new file mode 100644 index 0000000..6bbf962 --- /dev/null +++ b/src/components/organisms/navbar.rs @@ -0,0 +1,24 @@ +use leptos::logging::log; +use leptos::*; + +use crate::components::{atoms::Button, molecules::FileModal}; + +#[component] +pub fn Navbar() -> impl IntoView { + let (show_file_modal, set_show_file_modal) = create_signal(false); + + view! { + + + } +} diff --git a/src/components/sidebar.rs b/src/components/organisms/sidebar.rs similarity index 63% rename from src/components/sidebar.rs rename to src/components/organisms/sidebar.rs index 19eb57b..8864313 100644 --- a/src/components/sidebar.rs +++ b/src/components/organisms/sidebar.rs @@ -2,6 +2,7 @@ use leptos::*; use crate::{ algorithm::{Line, Map, Station}, + components::atoms::Button, state::MapState, }; @@ -12,12 +13,9 @@ pub fn Sidebar() -> impl IntoView { view! { } } diff --git a/src/components/page.rs b/src/components/pages/home.rs similarity index 78% rename from src/components/page.rs rename to src/components/pages/home.rs index a81e96d..99f7ca1 100644 --- a/src/components/page.rs +++ b/src/components/pages/home.rs @@ -1,9 +1,12 @@ use leptos::*; -use super::{canvas::Canvas, navbar::Navbar, sidebar::Sidebar}; +use crate::components::{ + molecules::Canvas, + organisms::{Navbar, Sidebar}, +}; #[component] -pub fn Page() -> impl IntoView { +pub fn Home() -> impl IntoView { view! {
diff --git a/src/components/pages/mod.rs b/src/components/pages/mod.rs new file mode 100644 index 0000000..f4fa64a --- /dev/null +++ b/src/components/pages/mod.rs @@ -0,0 +1,3 @@ +mod home; + +pub use home::Home; diff --git a/src/main.rs b/src/main.rs index b4ac40f..7594238 100644 --- a/src/main.rs +++ b/src/main.rs @@ -6,7 +6,7 @@ mod algorithm; mod components; mod state; -use components::Page; +use components::Home; use state::StateProvider; fn main() { @@ -21,7 +21,7 @@ fn App() -> impl IntoView { view! {
- +
}