Exemplo n.º 1
0
        public GraphForBillboardVertexes CreateGraph()
        {
            var graph          = new GameObject("Graph");
            var graphControler = graph.AddComponent <GraphForBillboardVertexes>();
            var graphInfo      = new GraphSerializationInfo()
            {
                VertexInfos = new[]
                {
                    new VertexSerializationInfo(new Vector3(-513, -249.82499313354492f), 15, "Царство: Растения", Color.white),
                    new VertexSerializationInfo(new Vector3(130.5f, 35.92500686645508f), 15, "Отдел: Цветковые", Color.white),
                    new VertexSerializationInfo(new Vector3(523.5f, 270.4500045776367f), 15, "Класс: Двудольные", Color.white),
                    new VertexSerializationInfo(new Vector3(750, 384.4500045776367f), 15, "Порядок: Букоцветные", Color.white),
                    new VertexSerializationInfo(new Vector3(864, 492.4500045776367f), 15, "Семейство: Берёзовые", Color.white),
                    new VertexSerializationInfo(new Vector3(936, 618.4500045776367f), 15, "Род: Берёза", Color.white),
                    new VertexSerializationInfo(new Vector3(1107, 920.1750068664551f), 15, "Вид: Берёза бумажная", Color.white),
                    new VertexSerializationInfo(new Vector3(1118.25f, 740.1750068664551f), 15, "Вид: Берёза вишнёвая", Color.white),
                    new VertexSerializationInfo(new Vector3(1102.5f, 695.1750068664551f), 15, "Вид: Берёза даурская", Color.white),
                    new VertexSerializationInfo(new Vector3(1091.25f, 656.9250068664551f), 15, "Вид: Берёза карликовая", Color.white),
                    new VertexSerializationInfo(new Vector3(1113.75f, 872.9250068664551f), 15, "Вид: Берёза Максимовича", Color.white),
                    new VertexSerializationInfo(new Vector3(1118.25f, 834.6750068664551f), 15, "Вид: Берёза мелколистная", Color.white),
                    new VertexSerializationInfo(new Vector3(1120.5f, 791.9250068664551f), 15, "Вид: Берёза плосколистная", Color.white),
                    new VertexSerializationInfo(new Vector3(1084.5f, 618.6750068664551f), 15, "Вид: Берёза повислая", Color.white),
                    new VertexSerializationInfo(new Vector3(1044, 589.4250068664551f), 15, "Вид: Берёза пушистая", Color.white),
                    new VertexSerializationInfo(new Vector3(1095.75f, 962.9250068664551f), 15, "Вид: Берёза Радде", Color.white),
                    new VertexSerializationInfo(new Vector3(1037.25f, 553.4250068664551f), 15, "Вид: Берёза ребристая", Color.white),
                    new VertexSerializationInfo(new Vector3(1073.25f, 994.4250068664551f), 15, "Вид: Берёза шаровидносерёжковая", Color.white),
                    new VertexSerializationInfo(new Vector3(1041.75f, 1032.675006866455f), 15, "Вид: Берёза шерстистая", Color.white),
                    new VertexSerializationInfo(new Vector3(1003.5f, 1070.925006866455f), 15, "Вид: Берёза Шмидта", Color.white),
                    new VertexSerializationInfo(new Vector3(565.5f, 729.4500045776367f), 15, "Вид: Бересклет бородавчатый", Color.white),
                    new VertexSerializationInfo(new Vector3(517.5f, 388.9500045776367f), 15, "Порядок: Бересклетоцветные", Color.white),
                    new VertexSerializationInfo(new Vector3(513, 489.4500045776367f), 15, "Семейство: Бересклетовые", Color.white),
                    new VertexSerializationInfo(new Vector3(526.5f, 621.4500045776367f), 15, "Род: Бересклет", Color.white),
                    new VertexSerializationInfo(new Vector3(166.5f, 390.4500045776367f), 15, "Порядок: Розоцветные", Color.white),
                    new VertexSerializationInfo(new Vector3(307.5f, 486.4500045776367f), 15, "Семейство: Розовые", Color.white),
                    new VertexSerializationInfo(new Vector3(271.5f, 609.4500045776367f), 15, "Род: Боярышник", Color.white),
                    new VertexSerializationInfo(new Vector3(285, 727.9500045776367f), 15, "Вид: Боярышник кроваво-красный", Color.white),
                    new VertexSerializationInfo(new Vector3(10.5f, 601.9500045776367f), 15, "Род: Слива", Color.white),
                    new VertexSerializationInfo(new Vector3(-1.5f, 727.9500045776367f), 15, "Вид: Вишня обыкновенная", Color.white),
                    new VertexSerializationInfo(new Vector3(46.5f, 801.4500045776367f), 15, "Вид: Вишня сахалинская", Color.white),
                    new VertexSerializationInfo(new Vector3(-88.5f, 480.4500045776367f), 15, "Семейство: Вязовые", Color.white),
                    new VertexSerializationInfo(new Vector3(-181.5f, 595.9500045776367f), 15, "Род: Вяз", Color.white),
                    new VertexSerializationInfo(new Vector3(-240, 723.4500045776367f), 15, "Вид: Вяз гладкий", Color.white),
                    new VertexSerializationInfo(new Vector3(-193.5f, 774.4500045776367f), 15, "Вид: Вяз крупноплодный", Color.white),
                    new VertexSerializationInfo(new Vector3(-150, 811.9500045776367f), 15, "Вид: Вяз малый", Color.white),
                    new VertexSerializationInfo(new Vector3(-252, 841.9500045776367f), 15, "Вид: Вяз приземистый", Color.white),
                    new VertexSerializationInfo(new Vector3(-109.5f, 861.4500045776367f), 15, "Вид: Вяз разрезной", Color.white),
                    new VertexSerializationInfo(new Vector3(-237, 898.9500045776367f), 15, "Вид: Вяз шершавый", Color.white),
                    new VertexSerializationInfo(new Vector3(-265.5f, 678.4500045776367f), 15, "Вид: Вяз эллиптический", Color.white),
                    new VertexSerializationInfo(new Vector3(874.125f, 639.8250045776367f), 15, "Род: Граб", Color.white),
                    new VertexSerializationInfo(new Vector3(910.125f, 759.8250045776367f), 15, "Вид: Граб обыкновенный", Color.white),
                    new VertexSerializationInfo(new Vector3(394.5f, 615.4500045776367f), 15, "Род: Груша", Color.white),
                    new VertexSerializationInfo(new Vector3(412.5f, 777.4500045776367f), 15, "Вид: Груша иволистная", Color.white),
                    new VertexSerializationInfo(new Vector3(468, 846.4500045776367f), 15, "Вид: Груша лохолистная", Color.white),
                    new VertexSerializationInfo(new Vector3(358.5f, 813.4500045776367f), 15, "Вид: Груша обыкновенная", Color.white),
                    new VertexSerializationInfo(new Vector3(706.5f, 508.9500045776367f), 15, "Семейство: Буковые", Color.white),
                    new VertexSerializationInfo(new Vector3(688.5f, 624.4500045776367f), 15, "Род: Дуб", Color.white),
                    new VertexSerializationInfo(new Vector3(714, 777.4500045776367f), 15, "Вид: Дуб зубчатый", Color.white),
                    new VertexSerializationInfo(new Vector3(771, 814.9500045776367f), 15, "Вид: Дуб крупнопыльниковый", Color.white),
                    new VertexSerializationInfo(new Vector3(675, 847.9500045776367f), 15, "Вид: Дуб монгольский", Color.white),
                    new VertexSerializationInfo(new Vector3(624, 793.9500045776367f), 15, "Вид: Дуб скальный", Color.white),
                    new VertexSerializationInfo(new Vector3(838.5f, 870.4500045776367f), 15, "Вид: Дуб черешчатый", Color.white),
                    new VertexSerializationInfo(new Vector3(-877.5f, 26.925006866455078f), 15, "Отдел: Хвойные", Color.white),
                    new VertexSerializationInfo(new Vector3(-1091.25f, 211.42500686645508f), 15, "Класс: Хвойные", Color.white),
                    new VertexSerializationInfo(new Vector3(-1012.5f, 359.9250068664551f), 15, "Порядок: Сосновые", Color.white),
                    new VertexSerializationInfo(new Vector3(-1046.25f, 456.6750068664551f), 15, "Семейство: Сосновые", Color.white),
                    new VertexSerializationInfo(new Vector3(-1048.5f, 566.9250068664551f), 15, "Род: Ель", Color.white),
                    new VertexSerializationInfo(new Vector3(-1037.25f, 659.1750068664551f), 15, "Вид: Ель аянская", Color.white),
                    new VertexSerializationInfo(new Vector3(-987.75f, 690.6750068664551f), 15, "Вид: Ель Глена", Color.white),
                    new VertexSerializationInfo(new Vector3(-1104.75f, 726.6750068664551f), 15, "Вид: Ель корейская", Color.white),
                    new VertexSerializationInfo(new Vector3(-893.25f, 724.4250068664551f), 15, "Вид: Ель обыкновенная", Color.white),
                    new VertexSerializationInfo(new Vector3(-882, 670.4250068664551f), 15, "Вид: Ель сибирская", Color.white),
                    new VertexSerializationInfo(new Vector3(-994.5f, 760.4250068664551f), 15, "Вид: Ель финская", Color.white),
                    new VertexSerializationInfo(new Vector3(-180, 389.1750068664551f), 15, "Порядок: Мальпигиецветные", Color.white),
                    new VertexSerializationInfo(new Vector3(-319.5f, 476.9250068664551f), 15, "Семейство: Ивовые", Color.white),
                    new VertexSerializationInfo(new Vector3(-396, 584.9250068664551f), 15, "Род: ИваVector2.one*5,", Color.white),
                    new VertexSerializationInfo(new Vector3(-506.25f, 668.1750068664551f), 15, "Вид: Ива белая", Color.white),
                    new VertexSerializationInfo(new Vector3(-387, 632.1750068664551f), 15, "Вид: Ива волчниковая", Color.white),
                    new VertexSerializationInfo(new Vector3(-479.25f, 609.6750068664551f), 15, "Вид: Ива козья", Color.white),
                    new VertexSerializationInfo(new Vector3(-452.25f, 749.1750068664551f), 15, "Вид: Ива ломкая", Color.white),
                    new VertexSerializationInfo(new Vector3(-488.25f, 708.6750068664551f), 15, "Вид: Ива остролистная", Color.white),
                    new VertexSerializationInfo(new Vector3(-432, 377.9250068664551f), 15, "Порядок: Бобовоцветные", Color.white),
                    new VertexSerializationInfo(new Vector3(-517.5f, 467.9250068664551f), 15, "Семейство: Бобовые", Color.white),
                    new VertexSerializationInfo(new Vector3(-569.25f, 578.1750068664551f), 15, "Род: Карагана", Color.white),
                    new VertexSerializationInfo(new Vector3(-603, 632.1750068664551f), 15, "Вид: Карагана древовидная", Color.white),
                    new VertexSerializationInfo(new Vector3(-654.75f, 359.9250068664551f), 15, "Порядок: Кизилоцветные", Color.white),
                    new VertexSerializationInfo(new Vector3(-751.5f, 463.4250068664551f), 15, "Семейство: Кизиловые", Color.white),
                    new VertexSerializationInfo(new Vector3(-785.25f, 580.4250068664551f), 15, "Род: Кизил", Color.white),
                    new VertexSerializationInfo(new Vector3(-704.25f, 769.4250068664551f), 15, "Вид: Кизил спорный", Color.white),
                    new VertexSerializationInfo(new Vector3(1100.25f, 393.6750068664551f), 15, "Порядок: Сапиндоцветные", Color.white),
                    new VertexSerializationInfo(new Vector3(1237.5f, 488.1750068664551f), 15, "Семейство: Сапиндовые", Color.white),
                    new VertexSerializationInfo(new Vector3(1264.5f, 625.4250068664551f), 15, "Род: Клён", Color.white),
                    new VertexSerializationInfo(new Vector3(1330.125f, 722.3250045776367f), 15, "Вид: Клён бородатый", Color.white),
                    new VertexSerializationInfo(new Vector3(1327.125f, 767.3250045776367f), 15, "Вид: Клён жёлтый", Color.white),
                    new VertexSerializationInfo(new Vector3(1313.625f, 810.8250045776367f), 15, "Вид: Клён зеленокорый", Color.white),
                    new VertexSerializationInfo(new Vector3(1292.625f, 852.8250045776367f), 15, "Вид: Клён ложнозибольдов", Color.white),
                    new VertexSerializationInfo(new Vector3(1333.125f, 683.3250045776367f), 15, "Вид: Клён маньчжурский", Color.white),
                    new VertexSerializationInfo(new Vector3(1276.125f, 891.8250045776367f), 15, "Вид: Клён остролистный", Color.white),
                    new VertexSerializationInfo(new Vector3(1250.625f, 942.8250045776367f), 15, "Вид: Клён полевой", Color.white),
                    new VertexSerializationInfo(new Vector3(787.125f, 605.3250045776367f), 15, "Род: Лещина", Color.white),
                    new VertexSerializationInfo(new Vector3(827.625f, 672.8250045776367f), 15, "Вид: Лещина обыкновенная", Color.white),
                    new VertexSerializationInfo(new Vector3(1321.125f, 395.3250045776367f), 15, "Порядок: Мальвоцветные", Color.white),
                    new VertexSerializationInfo(new Vector3(1408.125f, 468.8250045776367f), 15, "Семейство: Мальвовые", Color.white),
                    new VertexSerializationInfo(new Vector3(1483.125f, 614.3250045776367f), 15, "Род: Липа", Color.white),
                    new VertexSerializationInfo(new Vector3(1538.625f, 647.3250045776367f), 15, "Вид: Липа европейская", Color.white),
                    new VertexSerializationInfo(new Vector3(1556.625f, 677.3250045776367f), 15, "Вид: Липа крупнолистная", Color.white),
                    new VertexSerializationInfo(new Vector3(1549.125f, 707.3250045776367f), 15, "Вид: Липа Нащокина", Color.white),
                    new VertexSerializationInfo(new Vector3(1531.125f, 743.3250045776367f), 15, "Вид: Липа опушённостолбиковая", Color.white),
                    new VertexSerializationInfo(new Vector3(1508.625f, 771.8250045776367f), 15, "Вид: Липа сердцевидная", Color.white),
                    new VertexSerializationInfo(new Vector3(-1184.25f, 569.3250045776367f), 15, "Род: Лиственница", Color.white),
                    new VertexSerializationInfo(new Vector3(-1319.25f, 590.3250045776367f), 15, "Вид: Лиственница амурская", Color.white),
                    new VertexSerializationInfo(new Vector3(-1304.25f, 621.8250045776367f), 15, "Вид: Лиственница Гмелина", Color.white),
                    new VertexSerializationInfo(new Vector3(-1283.25f, 651.8250045776367f), 15, "Вид: Лиственница камчатская", Color.white),
                    new VertexSerializationInfo(new Vector3(-1260.75f, 681.8250045776367f), 15, "Вид: Лиственница Каяндера", Color.white),
                    new VertexSerializationInfo(new Vector3(-1241.25f, 708.8250045776367f), 15, "Вид: Лиственница Комарова", Color.white),
                    new VertexSerializationInfo(new Vector3(-1236.75f, 740.3250045776367f), 15, "Вид: Лиственница курильская", Color.white),
                    new VertexSerializationInfo(new Vector3(-1328.25f, 543.8250045776367f), 15, "Вид: Лиственница Любарского", Color.white),
                    new VertexSerializationInfo(new Vector3(-1322.25f, 512.3250045776367f), 15, "Вид: Лиственница Миддендорфа", Color.white),
                    new VertexSerializationInfo(new Vector3(-1310.25f, 485.3250045776367f), 15, "Разновидность: Лиственница ольгинская", Color.white),
                },
                EdgeInfos = new[]
                {
                    new EdgeSerializationInfo("0", "1", null, false, 4),
                    new EdgeSerializationInfo("1", "2", null, false, 4),
                    new EdgeSerializationInfo("2", "3", null, false, 4),
                    new EdgeSerializationInfo("3", "4", null, false, 4),
                    new EdgeSerializationInfo("4", "5", null, false, 4),
                    new EdgeSerializationInfo("5", "6", null, false, 4),
                    new EdgeSerializationInfo("5", "7", null, false, 4),
                    new EdgeSerializationInfo("5", "8", null, false, 4),
                    new EdgeSerializationInfo("5", "9", null, false, 4),
                    new EdgeSerializationInfo("5", "10", null, false, 4),
                    new EdgeSerializationInfo("5", "11", null, false, 4),
                    new EdgeSerializationInfo("5", "12", null, false, 4),
                    new EdgeSerializationInfo("13", "5", null, false, 4),
                    new EdgeSerializationInfo("14", "5", null, false, 4),
                    new EdgeSerializationInfo("5", "15", null, false, 4),
                    new EdgeSerializationInfo("5", "16", null, false, 4),
                    new EdgeSerializationInfo("5", "17", null, false, 4),
                    new EdgeSerializationInfo("5", "18", null, false, 4),
                    new EdgeSerializationInfo("5", "19", null, false, 4),
                    new EdgeSerializationInfo("2", "21", null, false, 4),
                    new EdgeSerializationInfo("21", "22", null, false, 4),
                    new EdgeSerializationInfo("22", "23", null, false, 4),
                    new EdgeSerializationInfo("23", "20", null, false, 4),
                    new EdgeSerializationInfo("2", "24", null, false, 4),
                    new EdgeSerializationInfo("24", "25", null, false, 4),
                    new EdgeSerializationInfo("25", "26", null, false, 4),
                    new EdgeSerializationInfo("26", "27", null, false, 4),
                    new EdgeSerializationInfo("25", "28", null, false, 4),
                    new EdgeSerializationInfo("28", "29", null, false, 4),
                    new EdgeSerializationInfo("30", "28", null, false, 4),
                    new EdgeSerializationInfo("24", "31", null, false, 4),
                    new EdgeSerializationInfo("31", "32", null, false, 4),
                    new EdgeSerializationInfo("32", "33", null, false, 4),
                    new EdgeSerializationInfo("32", "34", null, false, 4),
                    new EdgeSerializationInfo("32", "35", null, false, 4),
                    new EdgeSerializationInfo("32", "36", null, false, 4),
                    new EdgeSerializationInfo("32", "37", null, false, 4),
                    new EdgeSerializationInfo("32", "38", null, false, 4),
                    new EdgeSerializationInfo("32", "39", null, false, 4),
                    new EdgeSerializationInfo("4", "40", null, false, 4),
                    new EdgeSerializationInfo("40", "41", null, false, 4),
                    new EdgeSerializationInfo("25", "42", null, false, 4),
                    new EdgeSerializationInfo("42", "43", null, false, 4),
                    new EdgeSerializationInfo("42", "44", null, false, 4),
                    new EdgeSerializationInfo("42", "45", null, false, 4),
                    new EdgeSerializationInfo("3", "46", null, false, 4),
                    new EdgeSerializationInfo("46", "47", null, false, 4),
                    new EdgeSerializationInfo("47", "48", null, false, 4),
                    new EdgeSerializationInfo("47", "49", null, false, 4),
                    new EdgeSerializationInfo("47", "50", null, false, 4),
                    new EdgeSerializationInfo("47", "51", null, false, 4),
                    new EdgeSerializationInfo("47", "52", null, false, 4),
                    new EdgeSerializationInfo("0", "53", null, false, 4),
                    new EdgeSerializationInfo("53", "54", null, false, 4),
                    new EdgeSerializationInfo("54", "55", null, false, 4),
                    new EdgeSerializationInfo("55", "56", null, false, 4),
                    new EdgeSerializationInfo("56", "57", null, false, 4),
                    new EdgeSerializationInfo("58", "57", null, false, 4),
                    new EdgeSerializationInfo("57", "59", null, false, 4),
                    new EdgeSerializationInfo("57", "60", null, false, 4),
                    new EdgeSerializationInfo("57", "61", null, false, 4),
                    new EdgeSerializationInfo("57", "62", null, false, 4),
                    new EdgeSerializationInfo("57", "63", null, false, 4),
                    new EdgeSerializationInfo("2", "64", null, false, 4),
                    new EdgeSerializationInfo("64", "65", null, false, 4),
                    new EdgeSerializationInfo("65", "66", null, false, 4),
                    new EdgeSerializationInfo("66", "67", null, false, 4),
                    new EdgeSerializationInfo("68", "66", null, false, 4),
                    new EdgeSerializationInfo("66", "69", null, false, 4),
                    new EdgeSerializationInfo("66", "70", null, false, 4),
                    new EdgeSerializationInfo("66", "71", null, false, 4),
                    new EdgeSerializationInfo("2", "72", null, false, 4),
                    new EdgeSerializationInfo("72", "73", null, false, 4),
                    new EdgeSerializationInfo("73", "74", null, false, 4),
                    new EdgeSerializationInfo("74", "75", null, false, 4),
                    new EdgeSerializationInfo("2", "76", null, false, 4),
                    new EdgeSerializationInfo("76", "77", null, false, 4),
                    new EdgeSerializationInfo("77", "78", null, false, 4),
                    new EdgeSerializationInfo("78", "79", null, false, 4),
                    new EdgeSerializationInfo("2", "80", null, false, 4),
                    new EdgeSerializationInfo("80", "81", null, false, 4),
                    new EdgeSerializationInfo("81", "82", null, false, 4),
                    new EdgeSerializationInfo("82", "83", null, false, 4),
                    new EdgeSerializationInfo("82", "84", null, false, 4),
                    new EdgeSerializationInfo("82", "85", null, false, 4),
                    new EdgeSerializationInfo("82", "86", null, false, 4),
                    new EdgeSerializationInfo("87", "82", null, false, 4),
                    new EdgeSerializationInfo("82", "88", null, false, 4),
                    new EdgeSerializationInfo("82", "89", null, false, 4),
                    new EdgeSerializationInfo("4", "90", null, false, 4),
                    new EdgeSerializationInfo("90", "91", null, false, 4),
                    new EdgeSerializationInfo("2", "92", null, false, 4),
                    new EdgeSerializationInfo("92", "93", null, false, 4),
                    new EdgeSerializationInfo("93", "94", null, false, 4),
                    new EdgeSerializationInfo("94", "95", null, false, 4),
                    new EdgeSerializationInfo("94", "96", null, false, 4),
                    new EdgeSerializationInfo("94", "97", null, false, 4),
                    new EdgeSerializationInfo("94", "98", null, false, 4),
                    new EdgeSerializationInfo("94", "99", null, false, 4),
                    new EdgeSerializationInfo("56", "100", null, false, 4),
                    new EdgeSerializationInfo("100", "101", null, false, 4),
                    new EdgeSerializationInfo("100", "102", null, false, 4),
                    new EdgeSerializationInfo("100", "103", null, false, 4),
                    new EdgeSerializationInfo("100", "104", null, false, 4),
                    new EdgeSerializationInfo("100", "105", null, false, 4),
                    new EdgeSerializationInfo("100", "106", null, false, 4),
                    new EdgeSerializationInfo("100", "107", null, false, 4),
                    new EdgeSerializationInfo("100", "108", null, false, 4),
                    new EdgeSerializationInfo("100", "109", null, false, 4),
                },
            };

            var lightGenerator = new LightGraphGenerator(graphInfo);

            lightGenerator.Generate(graphControler);
            Graphs.Add(graphControler);
            return(graphControler);
        }
Exemplo n.º 2
0
        public override void InitTask()
        {
            var graph          = new GameObject("Graph");
            var graphControler = graph.AddComponent <GraphForBillboardVertexes>();
            var graphInfo      = new GraphSerializationInfo()
            {
                VertexInfos = new[]
                {
                    new VertexSerializationInfo(new Vector3(355.5f, 186), 10, "Москва", Color.yellow, string.Empty),
                    new VertexSerializationInfo(new Vector3(281.5f, 113), 10, "Тверь", Color.white, string.Empty),
                    new VertexSerializationInfo(new Vector3(163.5f, 20), 10, "Великий Новгород", Color.white, string.Empty),
                    new VertexSerializationInfo(new Vector3(133.5f, -77), 10, "Санкт-Петербург", Color.white, string.Empty),
                    new VertexSerializationInfo(new Vector3(444.5f, 88), 10, "Ярославль", Color.white, string.Empty),
                    new VertexSerializationInfo(new Vector3(450.5f, -15), 10, "Вологда", Color.white, string.Empty),
                    new VertexSerializationInfo(new Vector3(497.5f, 211), 10, "Владимир", Color.white, string.Empty),
                    new VertexSerializationInfo(new Vector3(517.5f, 136), 10, "Иваново", Color.white, string.Empty),
                    new VertexSerializationInfo(new Vector3(657.5f, 166), 10, "Нижний Новгород", Color.white, string.Empty),
                    new VertexSerializationInfo(new Vector3(819.5f, 212), 10, "Чебоксары", Color.white, string.Empty),
                    new VertexSerializationInfo(new Vector3(957.5f, 199), 10, "Казань", Color.white, string.Empty),
                    new VertexSerializationInfo(new Vector3(867.5f, 321), 10, "Ульяновск", Color.white, string.Empty),
                    new VertexSerializationInfo(new Vector3(967.5f, 417), 10, "Самара", Color.white, string.Empty),
                    new VertexSerializationInfo(new Vector3(737.5f, 363), 10, "Пенза", Color.white, string.Empty),
                    new VertexSerializationInfo(new Vector3(693.5f, 258), 10, "Саранск", Color.white, string.Empty),
                    new VertexSerializationInfo(new Vector3(702.5f, 471), 10, "Саратов", Color.white, string.Empty),
                    new VertexSerializationInfo(new Vector3(608.5f, 626), 10, "Волгоград", Color.white, string.Empty),
                    new VertexSerializationInfo(new Vector3(457.5f, 446), 10, "Воронеж", Color.white, string.Empty),
                    new VertexSerializationInfo(new Vector3(247.5f, 467), 10, "Курск", Color.white, string.Empty),
                    new VertexSerializationInfo(new Vector3(274.5f, 343), 10, "Орёл", Color.white, string.Empty),
                    new VertexSerializationInfo(new Vector3(320.5f, 258), 10, "Тула", Color.white, string.Empty),
                    new VertexSerializationInfo(new Vector3(526.5f, 291), 10, "Резань", Color.white, string.Empty),
                    new VertexSerializationInfo(new Vector3(222.5f, 249), 10, "Калуга", Color.white, string.Empty),
                    new VertexSerializationInfo(new Vector3(121.5f, 336), 10, "Брянск", Color.white, string.Empty),
                    new VertexSerializationInfo(new Vector3(89.5f, 203), 10, "Смоленск", Color.white, string.Empty),
                },
                EdgeInfos = new[]
                {
                    new EdgeSerializationInfo("0", "1", 156, true, 1, Color.white),
                    new EdgeSerializationInfo("1", "2", 323, true, 1, Color.white),
                    new EdgeSerializationInfo("2", "3", 151, true, 1, Color.white),
                    new EdgeSerializationInfo("0", "4", 246, true, 1, Color.white),
                    new EdgeSerializationInfo("4", "5", 174, true, 1, Color.white),
                    new EdgeSerializationInfo("5", "3", 545, true, 1, Color.white),
                    new EdgeSerializationInfo("0", "6", 184, true, 1, Color.white),
                    new EdgeSerializationInfo("6", "7", 83, true, 1, Color.white),
                    new EdgeSerializationInfo("7", "4", 100, true, 1, Color.white),
                    new EdgeSerializationInfo("6", "8", 224, true, 1, Color.white),
                    new EdgeSerializationInfo("8", "9", 209, true, 1, Color.white),
                    new EdgeSerializationInfo("9", "10", 116, true, 1, Color.white),
                    new EdgeSerializationInfo("10", "11", 180, true, 1, Color.white),
                    new EdgeSerializationInfo("11", "12", 157, true, 1, Color.white),
                    new EdgeSerializationInfo("11", "13", 251, true, 1, Color.white),
                    new EdgeSerializationInfo("13", "12", 342, true, 1, Color.white),
                    new EdgeSerializationInfo("13", "15", 208, true, 1, Color.white),
                    new EdgeSerializationInfo("15", "16", 335, true, 1, Color.white),
                    new EdgeSerializationInfo("15", "17", 462, true, 1, Color.white),
                    new EdgeSerializationInfo("13", "21", 382, true, 1, Color.white),
                    new EdgeSerializationInfo("13", "14", 111, true, 1, Color.white),
                    new EdgeSerializationInfo("14", "8", 217, true, 1, Color.white),
                    new EdgeSerializationInfo("21", "6", 192, true, 1, Color.white),
                    new EdgeSerializationInfo("17", "0", 462, true, 1, Color.white),
                    new EdgeSerializationInfo("17", "18", 212, true, 1, Color.white),
                    new EdgeSerializationInfo("18", "19", 135, true, 1, Color.white),
                    new EdgeSerializationInfo("19", "20", 174, true, 1, Color.white),
                    new EdgeSerializationInfo("20", "0", 171, true, 1, Color.white),
                    new EdgeSerializationInfo("22", "0", 157, true, 1, Color.white),
                    new EdgeSerializationInfo("23", "22", 171, true, 1, Color.white),
                    new EdgeSerializationInfo("24", "0", 363, true, 1, Color.white),
                },
            };
            var lightGenerator = new LightGraphGenerator(graphInfo);

            lightGenerator.Generate(graphControler);

            CreateGraph();
            var player = CreatePlayer();

            player.SetupParams(new PlayerParameters(Vector3.zero, Vector3.zero, SceneParametersContainer.PlayerSpeed, 20, SceneParametersContainer.IsVR, new[] { new ToolConfig(typeof(ClickTool), new ClickToolParams()) }));
        }