From 98a6c68e422e7ee5fc8aab787e60373cfaf66679 Mon Sep 17 00:00:00 2001 From: zizneroz Date: Tue, 15 Aug 2023 18:38:17 -0600 Subject: [PATCH] cambios de urls --- csv2json.py | 2 +- familias140823.csv | 227 +++++++++++++++++++++++++++++++++++++++++++++ group.js | 78 ++++++++-------- nodes.js | 112 +++++++++++----------- verifyurl.py | 86 +++++++++++++++++ 5 files changed, 409 insertions(+), 96 deletions(-) create mode 100644 familias140823.csv create mode 100644 verifyurl.py diff --git a/csv2json.py b/csv2json.py index efa27d7..b1f7e6d 100644 --- a/csv2json.py +++ b/csv2json.py @@ -4,7 +4,7 @@ #data = pd.read_csv("familias.csv", delimiter = ',') #total = data. -with open("familias.csv") as data: +with open("familias140823.csv") as data: header = next(data) reader = csv.reader(data) root = {"id": 1, "label": "'" + 'Casa de España' + "'","shape": "'box'", "link":"'https://datom.colmex.mx/index.php/la-casa-de-espana-en-mexico'"} diff --git a/familias140823.csv b/familias140823.csv new file mode 100644 index 0000000..2fe7c4f --- /dev/null +++ b/familias140823.csv @@ -0,0 +1,227 @@ +Invitado,URL del invitado,Dirección donde residió el invitado,Latitud,Longitud,Familia o Asociado del invitado,Tipo de relación,URL de familia o asociado de invitado, +"Albornoz, Álvaro de",https://datom.colmex.mx/index.php/albornoz-alvaro-de,"Tabasco 109-Depto 1 J, Roma Nte., Cuauhtémoc, +06700, Ciudad de México, CDMX",19.41974294,-99.15774051,"Salas Abella-Fuertes, Amalia",Esposa de,https://datom.colmex.mx/index.php/salas-abella-fuertes-amalia, +,,,,,"Albornoz Salas, Concepción",Hija de,https://datom.colmex.mx/index.php/albornoz-salas-concepcion, +,,,,,"Albornoz Salas, Álvaro de",Hijo de,https://datom.colmex.mx/index.php/albornoz-salas-alvaro-de, +,,,,,"Albornoz de la Escosura, Alvaro de",Nieto de,https://datom.colmex.mx/index.php/albornoz-de-la-escosura-alvaro-de, +,,,,,"Albornoz de la Escosura, Carmen",Nieta de,https://datom.colmex.mx/index.php/albornoz-de-la-escosura-carmen, +,,,,,"Escosura Beckar, Araceli de la",Nuera de,https://datom.colmex.mx/index.php/escosura-beckar-araceli-de-la, +,,,,,,,, +"Barnés Salinas, Francisco",https://datom.colmex.mx/index.php/barnes-salinas-francisco,,,,"González de la Calle, Dorotea ",Esposa de,https://datom.colmex.mx/index.php/gonzalez-de-la-calle-dorotea, +,,,,,"Barnés González, Adela ",Hija de,https://datom.colmex.mx/index.php/barnes-gonzalez-adela, +,,,,,"García García, Germán ",Yerno de,https://datom.colmex.mx/index.php/garcia-garcia-german, +,,,,,"Barnés Gonzalez, Urbano",Hijo de,https://datom.colmex.mx/index.php/barnes-gonzalez-urbano, +,,,,,"Castro Bravo, María Luisa de ",Nuera de,https://datom.colmex.mx/index.php/castro-bravo-maria-luisa-de, +,,,,,"Barnés Castro, María Luisa Dorotea ",Nieta de,https://datom.colmex.mx/index.php/barnes-castro-maria-luisa-dorotea, +,,,,,"Barnés González, Petra ",Hija de,https://datom.colmex.mx/index.php/barnes-gonzalez-petra, +,,,,,"Barnés Salinas, Domingo",Hermano de,https://datom.colmex.mx/index.php/barnes-salinas-domingo, +,,,,,"González de la Calle, Pedro Urbano",Cuñado de,https://datom.colmex.mx/index.php/gonzalez-de-la-calle-pedro-urbano, +,,,,,,,, +"Bolívar, Ignacio",https://datom.colmex.mx/index.php/bolivar-y-urrutia-ignacio,"La Casa de Las Brujas +Plaza Río de Janeiro 56 +Roma Nte. +Cuauhtémoc +06700 Ciudad de México, CDMX",19.42114374,-99.15969487,"Pieltain Bartoli de Bolívar, Fermina ",Esposa de,https://datom.colmex.mx/index.php/pieltain-bartoli-fermina, +,,,,,"Bolívar Pieltain, Ana María",Hija de,https://datom.colmex.mx/index.php/bolivar-pieltain-ana-maria, +,,,,,"Bolívar Pieltain, Pilar ",Hija de,https://datom.colmex.mx/index.php/bolivar-pieltain-pilar, +,,,,,"Tapia Bolívar, Alma ",Nieta de,https://datom.colmex.mx/index.php/tapia-bolivar-alma, +,,,,,"Tapia Bolívar, Daniel",Nieto de,https://datom.colmex.mx/index.php/tapia-bolivar-daniel, +,,,,,"Bolívar Pieltain, Cándido ",Hijo de,https://datom.colmex.mx/index.php/bolivar-pieltain-candido, +,,,,,"Goyanes Echegoyen, Amelia ",Nuera de,https://datom.colmex.mx/index.php/goyanes-echegoyen-amelia, +,,,,,"Bolívar Goyanes, Ignacio",Nieto de,https://datom.colmex.mx/index.php/bolivar-goyanes-jose-ignacio, +,,,,,"Peláez Fernández, Dionisio",Ayudante de Cándido,https://datom.colmex.mx/index.php/pelaez-fernandez-dionisio, +,,,,,,,, +"Buen Lozano, Fernando de",https://datom.colmex.mx/index.php/buen-lozano-fernando-de,"Universidad Michoacana de San Nicolás de Hidalgo, Michoacán, C. de Santiago Tapia 403, Centro, 58000 Morelia, Mich.",19.70458506,-101.1950432,"Buen López de Heredia, María del Carmen de",Hija de,https://datom.colmex.mx/index.php/buen-lopez-de-heredia-maria-del-carmen-de, +,,,,,"Buen López de Heredia, Sadi",Sobrino de,https://datom.colmex.mx/index.php/buen-lopez-de-heredia-sadi-de, +,,,,,"López de Heredia, Berta",Cuñada de,https://datom.colmex.mx/index.php/lopez-de-heredia-berta, +,,,,,,,, +"Bal y Gay, Jesús",https://datom.colmex.mx/index.php/bal-y-gay-jesus,"Tomas Alva Edison 51, Tabacalera, Cuauhtémoc, 06030 Ciudad de México, CDMX",19.43718394,-99.1525231,"García Ascot, Rosa",Esposa de,https://datom.colmex.mx/index.php/garcia-ascot-rosa, +,,,,,"García Ascot, Felipe",Cuñado de,https://datom.colmex.mx/index.php/garcia-ascot-felipe, +,,,,,"Fernández Martini, María Luisa ",Concuña de,https://datom.colmex.mx/index.php/fernandez-martini-maria-luisa, +,,,,,"García Ascot Fernández, José Miguel ",Sobrino de,https://datom.colmex.mx/index.php/garcia-ascot-jomi, +,,"Londres 18, Juárez, Cuauhtémoc, 06600 Juárez, CDMX",19.4282807,-99.15794863,"García Ascot, Miguel",Cuñado de,https://datom.colmex.mx/index.php/garcia-ascot-miguel, +,,,,,"García Ascot, Blandino",Cuñado de,https://datom.colmex.mx/index.php/garcia-ascot-blandino, +,,,,,"Saiz de García Ascot, Pilar",Concuña de,https://datom.colmex.mx/index.php/saiz-de-garcia-ascot-pilar, +,,,,,"García Obispo, Blandino",Suegro de,https://datom.colmex.mx/index.php/garcia-obispo-blandino, +,,,,,"Ascot Porcar, Rosa",Suegra de,https://datom.colmex.mx/index.php/ascot-porcar-rosa, +,,,,,,,, +"Cabrera Sánchez, Blas",https://datom.colmex.mx/index.php/cabrera-sanchez-blas,,,,"Muedra Benedito, María Teresa",Esposa de,https://datom.colmex.mx/index.php/muedra-benedito-maria-teresa, +,,,,,"Cabrera, Blas",Padre,https://datom.colmex.mx/index.php/cabrera-blas, +,,,,,"Sánchez Real, María",Madre de,https://datom.colmex.mx/index.php/sanchez-real-maria, +,,,,,"Muedra Benedito, Concepción",Cuñada de,https://datom.colmex.mx/index.php/muedra-benedito-concha, +,,,,,,,, +"Carner, Josep",https://datom.colmex.mx/index.php/carner-josep,"Berlín 19-Depto 7 +Juárez +Cuauhtémoc +06600 Ciudad de México, CDMX",19.42783334,-99.15738827,"Noulet, Émilie ",Esposa de,https://datom.colmex.mx/index.php/noulet-emilie, +,,,,,"Carner de Ossa, José",Hijo de,https://datom.colmex.mx/index.php/carner-de-ossa-jose, +,,,,,,,, +"Carrasco Garrorena, Pedro",https://datom.colmex.mx/index.php/carrasco-garrorena-pedro,"Artículo 123, 72, Centro, Cuauhtémoc, 06000, Ciudad de México, CDMX",19.43256279,-99.14583839,"Pizana Lacárcel, Magdalena",Esposa de,https://datom.colmex.mx/index.php/pizana-lacarcel-magdalena, +,,,,,"Carrasco Pizana, Pedro ",Hijo de,https://datom.colmex.mx/index.php/carrasco-pizana-pedro, +,,,,,,,, +"Carrasco Formiguera, Rosendo",https://datom.colmex.mx/index.php/carrasco-formiguera-rosendo,"Ometusco 18, Dpto 5, +Hipódromo, +Cuauhtémoc, +06100 Ciudad de México, CDMX",19.40841563,-99.17290054,"Vidaurre y Satostegui, Nemesia",Esposa de,https://datom.colmex.mx/index.php/vidaurre-y-satostegui-nemesia, +,,,,,"Carrasco Granados, José Oriol",Hijo de,https://datom.colmex.mx/index.php/carrasco-granados-jose-oriol, +,,,,,"Carrasco Granados, Rosario",Hija de ,https://datom.colmex.mx/index.php/carrasco-granados-rosario, +,,,,,"Carrasco Granados, Monserrat",Hija de ,https://datom.colmex.mx/index.php/carrasco-granados-monserrat, +,,,,,"Carrasco Granados, María Antonia",Hija de ,https://datom.colmex.mx/index.php/carrasco-granados-maria-antonia, +,,,,,"Carrasco Granados, Luis",Hijo de,https://datom.colmex.mx/index.php/carrasco-granados-luis, +,,,,,,,, +"Castrovido, Roberto",https://datom.colmex.mx/index.php/castrovido-roberto,"Plaza Río de Janeiro 56-depto 102, La Casa de Las Brujas, Roma Nte. Cuauhtémoc +06700 Ciudad de México, CDMX",19.42115091,-99.15970628,"Gil de Castrovido, Pilar ",Esposa de,https://datom.colmex.mx/index.php/gil-de-castrovido-pilar, +,,,,,"Castrovido Gil, Roberto ",Hijo de,https://datom.colmex.mx/index.php/castrovido-gil-roberto, +,,,,,"Góngora Regueiro, Amparo",Nuera de,https://datom.colmex.mx/index.php/gongora-regueiro-amparo, +,,,,,"Castrovido Góngora, Amparo",Nieta de,https://datom.colmex.mx/index.php/castrovido-gongora-amparo, +,,,,,"Castrovido Gil, Pilar",Hija de,https://datom.colmex.mx/index.php/castrovido-gil-pilar, +,,,,,,,, +"Costero, Isaac",https://datom.colmex.mx/index.php/costero-isaac,"Campeche 267 , Hipódromo, Cuauhtémoc, 06100 Ciudad de México, CDMX +",19.40875558,-99.1702334,"Gracia Citoler, Carmen",Esposa de,https://datom.colmex.mx/index.php/gracia-citoler-carmen, +,,,,,"Costero Gracia, Rafael",Hijo de,https://datom.colmex.mx/index.php/costero-gracia-jose-luis, +,,"Amsterdam 207, Hipódromo, Cuauhtémoc, 06100, Ciudad de México, CDMX",19.4092511,-99.16949817,"Costero Gracia, Margarita",Hija de,https://datom.colmex.mx/index.php/costero-gracia-margarita, +,,,,,,,, +"Comas, Juan",https://datom.colmex.mx/index.php/comas-juan,,,,"Lago García, Regina",Esposa de,https://datom.colmex.mx/index.php/lago-garcia-regina, +,,,,,,,, +"Díez-Canedo, Enrique",https://datom.colmex.mx/index.php/diez-canedo-enrique,"Ezequiel Montes 63, Tabacalera, Cuauhtémoc, 06030, Ciudad de México, CDMX",19.43747536,-99.15615463,"Manteca Ortiz, Maria Teresa",Esposa de,https://datom.colmex.mx/index.php/manteca-ortiz-maria-teresa, +,,,,,"Díez-Canedo Manteca, María Luisa",Hija de,https://datom.colmex.mx/index.php/diez-canedo-manteca-maria-luisa, +,,,,,"Díez-Canedo Manteca, Enrique",Hijo de,https://datom.colmex.mx/index.php/diez-canedo-manteca-enrique, +,,,,,"Díez-Canedo Manteca, Joaquín",Hijo de,https://datom.colmex.mx/index.php/diez-canedo-joaquin, +,,"José María Iglesias 30, Tabacalera, Cuauhtémoc, 06030 Ciudad de México, CDMX",19.43819414,-99.15497282,"Díez-Canedo Manteca, María Teresa",Hija de,https://datom.colmex.mx/index.php/diez-canedo-manteca-maria-teresa, +,,,,,"Márquez Blasco, Javier",Yerno de,https://datom.colmex.mx/index.php/marquez-javier, +,,,,,"Márquez Díez-Canedo, María Teresa",Nieta de,https://datom.colmex.mx/index.php/marquez-diez-canedo-maria-teresa, +,,,,,,,, +"Domenchina, Juan José",https://datom.colmex.mx/index.php/domenchina-juan-jose,"Paseo de la Reforma 440, Depto 2, Juárez, 06600, Cuauhtémoc, Ciudad de México, CDMX",19.42475306,-99.20833794,"Champourcin, Ernestina de",Esposa de,https://datom.colmex.mx/index.php/champourcin-ernestina-de, +,,,,,"Moreu Batlle, Encarnación ",Madre de,https://datom.colmex.mx/index.php/moreu-batlle-encarnacion, +,,,,,"Domenchina Moreau, Mercedes",Hermana de,https://datom.colmex.mx/index.php/domenchina-moreau-mercedes, +,,,,,"Calderón Domenchina, Rodrigo",Sobrino de,https://datom.colmex.mx/index.php/calderon-domenchina-rodrigo, +,,,,,"Calderón Domenchina, Encarnación",Sobrina de,https://datom.colmex.mx/index.php/calderon-domenchina-encarnacion, +,,,,,,,, +"Fernández Martínez, Agueda",https://datom.colmex.mx/index.php/fernandez-martinez-agueda,,,,"Fernández Martínez, Miguel Ángel",Hermano de,https://datom.colmex.mx/index.php/fernandez-martinez-miguel-angel, +,,,,,,,, +"Gaos, José",https://datom.colmex.mx/index.php/gaos-jose,"Cuernavaca 50, Colonia Condesa, Cuauhtémoc, 06140 Ciudad de México, CDMX",19.41471993,-99.17491762,"Hernández Barbarros, María de los Ángeles",Esposa de ,https://datom.colmex.mx/index.php/hernandez-barbarros-maria-de-los-angeles, +,,,,,"Gaos, Ángeles",Hija de,https://datom.colmex.mx/index.php/gaos-de-camacho-angeles, +,,,,,"Gaos, Paloma",Hija de,https://datom.colmex.mx/index.php/gaos-hernandez-paloma, +,,,,,"Gaos Gonzaléz-Pola, Carlos",Hermano de,https://datom.colmex.mx/index.php/gaos-y-gonzalez-pola-carlos, +,,,,,"Agejas Gutiérrez, Margarita",Empleada de,https://datom.colmex.mx/index.php/agejas-gutierrez-margarita, +,,,,,,,, +"Giner de los Ríos Morales, Francisco",https://datom.colmex.mx/index.php/giner-de-los-rios-morales-francisco,,,,"Giner de los Ríos García, Bernado",Padre de,https://datom.colmex.mx/index.php/giner-de-los-rios-garcia-bernardo, +,,,,,"Díez-Canedo Manteca, Maria Luisa",Esposa de,https://datom.colmex.mx/index.php/diez-canedo-manteca-maria-luisa, +,,,,,"Morales Veloso, Elisa",Madre de,https://datom.colmex.mx/index.php/morales-veloso-elisa, +,,,,,"Giner de los Ríos Morales, Manuel",Hermano de,https://datom.colmex.mx/index.php/giner-de-los-rios-morales-manuel, +,,,,,"Giner de los Ríos Morales, Elisa",Hermana de,https://datom.colmex.mx/index.php/giner-de-los-rios-morales-elisa, +,,,,,"Giner de los Ríos Morales, Consuelo",Hermana de,https://datom.colmex.mx/index.php/giner-de-los-rios-morales-consuelo, +,,,,,,,, +"Giral, José",https://datom.colmex.mx/index.php/giral-jose,"Río Pánuco 18-Depto E +Col. Renacimiento, Cuauhtémoc +06500 Ciudad de México, CDMX",19.43232134,-99.1637888,"González de la Calle, Maria Luisa ",Esposa de,https://datom.colmex.mx/index.php/gonzalez-de-la-calle-maria-luisa, +,,,,,"Giral González, Francisco ",Hijo de,https://datom.colmex.mx/index.php/giral-gonzalez-francisco, +,,,,,"Barnés González, Petra",Nuera de,https://datom.colmex.mx/index.php/barnes-gonzalez-petra, +,,,,,"Giral Barnés, José",Nieto,https://datom.colmex.mx/index.php/giral-barnes-jose, +,,,,,"Giral Barnés, Ángela",Nieta,https://datom.colmex.mx/index.php/giral-barnes-angela, +,,,,,"Giral González, Antonio",Hijo de,https://datom.colmex.mx/index.php/giral-gonzalez-antonio, +,,,,,"Giral González, María Luisa",Hija de,https://datom.colmex.mx/index.php/giral-gonzalez-maria-luisa, +,,,,,"Giral González, María Concepción",Hija de,https://datom.colmex.mx/index.php/giral-gonzalez-maria-concepcion, +,,,,,,,, +"Jarnés Millan, Benjamin",https://datom.colmex.mx/index.php/jarnes-millan-benjamin,,,,Gregoria Bergua Alastuey,Esposa de ,https://datom.colmex.mx/index.php/bergua-alastuey-gregoria, +,,,,,,,, +Juan de la Encina,https://datom.colmex.mx/index.php/encina-juan-de-la,"Av. Insurgentes Sur 420 +Hipódromo +Cuauhtémoc +06700 Ciudad de México, CDMX",19.40793482,-99.1675193,"Zubiaurre y Aguirrezábal, Pilar de",Esposa de,https://datom.colmex.mx/index.php/zubiaurre-pilar-de, +,,"Donato Guerra 14-Depto 32 +Juárez +Cuauhtémoc +06600 Juárez, CDMX",19.43345842,-99.15168879,"Gutiérrez de Zubiaurre, Leopoldo",Hijo de ,https://datom.colmex.mx/index.php/gutierrez-de-zubiaurre-leopoldo, +,,,,,,,, +Leon Felipe,https://datom.colmex.mx/index.php/leon-felipe,"Tomas Alva Edison 69 , Tabacalera, Cuauhtémoc, 06030 Ciudad de México, CDMX",19.43730099,-99.1530511,"Gamboa, Bertha",Esposa de,https://datom.colmex.mx/index.php/gamboa-bertha, +,,"Miguel E. Schultz 73 +San Rafael +Cuauhtémoc +06470 Ciudad de México, CDMX +",19.43796666,-99.16090217,,,, +,,,,,,,, +"Madinaveitia Tabuyo, Antonio",https://datom.colmex.mx/index.php/madinaveitia-tabuyo-antonio,"Artes 16, Santa Catarina, Coyoacán, 04010 Ciudad de México, CDMX",19.34759889,-99.16746966,"Jürgenson Kiesk, Welly",Esposa de,https://datom.colmex.mx/index.php/jurgenson-kiesk-welly, +,,,,,"Madinaveitia Jürgenson, Carlos",Hijo de,https://datom.colmex.mx/index.php/madinaveitia-jurgenson-carlos, +,,,,,"Madinaveitia Jürgenson, Miguel",Hijo de,https://datom.colmex.mx/index.php/madinaveitia-jurgenson-miguel, +,,,,,"Madinaveitia Jürgenson, Antonio",Hijo de,https://datom.colmex.mx/index.php/madinaveitia-jurgenson-antonio, +,,,,,"García Fernández, Aurora",Nuera de,https://datom.colmex.mx/index.php/garcia-fernandez-aurora, +,,,,,,,, +"Medina Echavarría, José",https://datom.colmex.mx/index.php/medina-echavarria-jose,"Avenida Michoacán 81, Condesa, Cuauhtémoc, 06140 Ciudad de México, CDMX",19.41179229,-99.17399779,"Rivaud Valdés, Nieves",Esposa de,https://datom.colmex.mx/index.php/rivaud-valdes-nieves, +,,,,,"Valdés de Rivaud, María Nieves",Suegra de,https://datom.colmex.mx/index.php/valdes-de-rivaud-maria-nieves, +,,,,,"Medina Rivaud, José",Hijo de,https://datom.colmex.mx/index.php/medina-rivaud-jose, +,,,,,,,, +"Márquez Rodríguez, Manuel",https://datom.colmex.mx/index.php/marquez-rodriguez-manuel," Paseo de la Reforma 185-Depto 4, Renacimiento, Cuauhtémoc, 06600, Ciudad de México, CDMX",19.43039814,-99.1617505,"Arroyo Villaverde, Trinidad",Esposa de,https://datom.colmex.mx/index.php/arroyo-villaverde-trinidad, +,,,,,,,, +"Millares Carló, Agustín",https://datom.colmex.mx/index.php/millares-carlo-agustin,"Balderas 37, Colonia Centro, Centro, Cuauhtémoc, 06000 Ciudad de México, CDMX",19.43459094,-99.14779913,"Millares Bravo, Agustín",Hijo de,https://datom.colmex.mx/index.php/millares-bravo-agustin, +,,,,,"Millares Bravo, Mercedes",Hija de,https://datom.colmex.mx/index.php/millares-bravo-mercedes, +,,,,,"Millares Bravo, Rosa",Hija de,https://datom.colmex.mx/index.php/millares-bravo-rosa, +,,"Paseo de la Reforma 374, Depto 9, Juárez, 06600, Cuauhtémoc, Ciudad de México, CDMX",19.4257951,-99.16907862,"Millares Bravo, Asunción",Hija de,https://datom.colmex.mx/index.php/millares-bravo-asuncion, +,,,,,"Bravo Martínez, Mercedes",Cuñada de,https://datom.colmex.mx/index.php/bravo-martinez-mercedes, +,,,,,"Hernández Millares, Jorge",Sobrino,https://datom.colmex.mx/index.php/hernandez-millares-jorge, +,,,,,,,, +"Nieto Gómez, Dionisio",https://datom.colmex.mx/index.php/nieto-gomez-dionisio,,,,"Vallejo, Catalina",Esposa de,https://datom.colmex.mx/index.php/vallejo-catalina, +,,,,,,,, +"Pi Suñer Bayo, Jaime ",https://datom.colmex.mx/index.php/pi-suner-bayo-jaime,"Río Pánuco 177-Depto 2, Cuauhtémoc, 06500 Ciudad de México, CDMX",19.4285267,-99.17239617,"Pi Suñer, Augusto",Padre de,https://datom.colmex.mx/index.php/pi-suner-augusto, +,,,,,"Bayo, Carme",Madre de,https://datom.colmex.mx/index.php/bayo-carmen, +,,,,,"Díaz Bonet, Mercedes",Esposa de,https://datom.colmex.mx/index.php/diaz-bonet-mercedes, +,,,,,"Pi Suñer Bayo, Cesar ",Hermano de,https://datom.colmex.mx/index.php/pi-suner-bayo-cesar, +,,,,,"Llorens Mateu, Trinidad",Cuñada,https://datom.colmex.mx/index.php/llorens-mateu-trinidad, +,,,,,,,, +"Romeo Lozano, Aurelio",https://datom.colmex.mx/index.php/romeo-lozano-aurelio,"Padre Mier 239, +Centro, 64000, Monterrey, Nuevo León",25.66918597,-100.3186786,"Valle, Isidora del ",Esposa de,https://datom.colmex.mx/index.php/valle-isidora-del, +,,,,,"Romeo del Valle, Carmen",Hija de,https://datom.colmex.mx/index.php/romeo-del-valle-carmen, +,,,,,"Romeo del Valle, Pilar",Hija de,https://datom.colmex.mx/index.php/romeo-del-valle-pilar, +,,,,,"Romeo del Valle, Julio",Hijo de,https://datom.colmex.mx/index.php/romeo-del-valle-julio, +,,"Versalles 14, Juárez, Cuauhtémoc, 06600, Ciudad de México, CDMX",19.43166744,-99.15404325,"Romeo del Valle, Luis",Hijo de,https://datom.colmex.mx/index.php/romeo-del-valle-luis, +,,,,,"Romeo del Valle, Aurelio",Hijo de,https://datom.colmex.mx/index.php/romeo-del-valle-aurelio, +,,,,,"Rodríguez de Romeo, María Teresa",Nuera de,https://datom.colmex.mx/index.php/rodriguez-de-romeo-maria-teresa, +,,,,,,,, +"Recasens Siches, Luis",https://datom.colmex.mx/index.php/recasens-siches-luis,"Hotel Tívoli, Ramón Guzmán # 6",,,"Siches Gils, Concepción",Madre de,https://datom.colmex.mx/index.php/siches-gils-concepcion, +,,,,,,,, +"Rioja Lo-Bianco, Enrique",https://datom.colmex.mx/index.php/rioja-lo-bianco-enrique,,,,"Goicoa, Carmen",Esposa de,https://datom.colmex.mx/index.php/goicoa-carmen, +,,,,,,,, +"Riba, Carles",https://datom.colmex.mx/index.php/riba-carles,,,,"Arderiu, Clementina",Esposa de,https://datom.colmex.mx/index.php/arderiu-clementina, +,,,,,"Riba Arderiu, Jorge",Hijo de,https://datom.colmex.mx/index.php/riba-arderiu-jorge, +,,,,,"Riba Arderiu, Oriol",Hijo de,https://datom.colmex.mx/index.php/riba-arderiu-oriol, +,,,,,"Riba Arderiu, Eulalia",Hija de,https://datom.colmex.mx/index.php/riba-arderiu-eulalia, +,,,,,,,, +"Roura-Parella, Juan",https://datom.colmex.mx/index.php/roura-parella-juan,,,,"Ramón Llige de Roura, Teresa",Esposa de,https://datom.colmex.mx/index.php/ramon-llige-teresa, +,,,,,"Ramón y Falco, Eugenio",Suegro de,https://datom.colmex.mx/index.php/ramon-falco-eugenio, +,,,,,"Llige de Ramón, Antonia ",Suegra de,https://datom.colmex.mx/index.php/llige-antonia, +,,,,,"Ramón y Llige, Adela",Cuñada de,https://datom.colmex.mx/index.php/ramon-llige-adela, +,,,,,"Ramón Llige, Sofía",Cuñada de,https://datom.colmex.mx/index.php/ramon-llige-sofia, +,,,,,"Ramón Llige, Herminia",Cuñada de,https://datom.colmex.mx/index.php/ramon-llige-herminia, +,,,,,,,, +"Rivas Cherif, Manuel de",https://datom.colmex.mx/index.php/rivas-cherif-manuel-de," Valentín Gómez Farías 7, Tabacalera, Cuauhtémoc, 06030 Ciudad de México, CDMX",19.43660893,-99.15614152,"Lobo Coya, Salud",Esposa de,https://datom.colmex.mx/index.php/lobo-coya-salud, +,,,,,"Rivas Lobo, José Manuel",Hijo de,https://datom.colmex.mx/index.php/rivas-lobo-jose-manuel, +,,,,,,,, +"Ruiz-Funes García, Mariano",https://datom.colmex.mx/index.php/ruiz-funes-garcia-mariano,,,,"Montesinos Pérez, Carmen",Esposa de,https://datom.colmex.mx/index.php/montesinos-perez-carmen, +,,,,,"Ruiz-Funes Montesinos, Manuela",Hija de,https://datom.colmex.mx/index.php/ruiz-funes-montesinos-manuela, +,,,,,"Ruiz-Funes Montesinos, Mariano",Hijo de,https://datom.colmex.mx/index.php/ruiz-funes-montesinos-mariano, +,,,,,"Ruiz-Funes Montesinos, Carmen",Hija de,https://datom.colmex.mx/index.php/ruiz-funes-montesinos-carmen, +,,,,,"Ruiz-Funes Montesinos, Concepción",Hija de,https://datom.colmex.mx/index.php/ruiz-funes-concepcion, +,,,,,,,, +"Somonte Iturrioz, Justo",https://datom.colmex.mx/index.php/somonte-iturrioz-justo,,,,"Altamira Redondo, Pilar",Esposa de,https://datom.colmex.mx/index.php/altamira-redondo-pilar, +,,,,,"Somonte Altamira, Rafael",Hijo de,https://datom.colmex.mx/index.php/somonte-altamira-rafael, +,,,,,"Somonte Altamira, Justo",Hijo de,https://datom.colmex.mx/index.php/somonte-altamira-justo, +,,,,,"Somonte Altamira, Pilar",Hija de ,https://datom.colmex.mx/index.php/somonte-altamira-pilar, +,,,,,"Somonte Altamira, María Jesús",Hija de ,https://datom.colmex.mx/index.php/somonte-altamira-maria-jesus, +,,,,,,,, +"Trias, Antonio",https://datom.colmex.mx/index.php/trias-antonio,,,,"Fargas, Montserrat",Esposa de,https://datom.colmex.mx/index.php/fargas-montserrat, +,,,,,,,, +"Velo, Carlos",https://datom.colmex.mx/index.php/velo-carlos,,,,"Álvarez Santullano, María Luisa",Esposa de ,https://datom.colmex.mx/index.php/alvarez-santullano-maria-luisa, +,,,,,,,, +"Xirau, Joaquín",https://datom.colmex.mx/index.php/xirau-joaquin," Valentín Gómez Farías 7-Depto. 11, Roma Nte., Cuauhtémoc, 06030, Ciudad de México, CDMX",19.43662724,-99.15614121,"Subías Galter, Pilar",Esposa de,https://datom.colmex.mx/index.php/subias-galter-pilar, +,,,,,"Xirau Subías, Ramón",Hijo de,https://datom.colmex.mx/index.php/xirau-ramon, +,,,,,"Xirau Palau, José",Hermano de,https://datom.colmex.mx/index.php/xirau-palau-jose, +,,,,,"Rahola Falgas, Remedios (Mey)",Cuñada de,https://datom.colmex.mx/index.php/rahola-falgas-remedios, +,,,,,"Xirau Rahola, María Teresa",Sobrina de,https://datom.colmex.mx/index.php/xirau-rahola-maria-teresa, +,,,,,"Xirau Rahola, Alberto",Sobrino de,https://datom.colmex.mx/index.php/xirau-rahola-alberto, +,,,,,"Xirau Rahola, Jaime",Sobrino de,https://datom.colmex.mx/index.php/xirau-rahola-jaime, +,,,,,"Xirau Palau, Antonio",Hermano de,https://datom.colmex.mx/index.php/xirau-palau-antonio, +,,"Universidad Michoacana de San Nicolás de Hidalgo, Michoacán, Santiago Tapia 403, Centro, 58000, Morelia, Mich.",19.70458506,-101.1950432,"Xirau Palau, Juan",Hermano de,https://datom.colmex.mx/index.php/xirau-palau-juan, +,,,,,"Folch, Nuria",Ayudante de,https://datom.colmex.mx/index.php/folch-i-pi-nuria, +,,,,,,,, +"Zambrano, María",https://datom.colmex.mx/index.php/zambrano-maria,"La Corregidora 465, Centro histórico de Morelia, 58000, Morelia, Mich.",19.70103326,-101.1952857,"Rodríguez Aldave, Alfonso",Esposo de,https://datom.colmex.mx/index.php/rodriguez-aldave-alfonso, +,,"Benito Juárez 179, Morelia, Mich.",19.70461319,-101.1925217,,,, diff --git a/group.js b/group.js index 2c22a0a..2a9b2bc 100644 --- a/group.js +++ b/group.js @@ -1,119 +1,119 @@ var group = { 2: { - color: "#8EC8F5" + color: "#47E222" }, 9: { - color: "#91BEC4" + color: "#98C442" }, 19: { - color: "#9A9808" + color: "#E4919A" }, 29: { - color: "#83F87F" + color: "#BFDD47" }, 33: { - color: "#381E36" + color: "#194551" }, 43: { - color: "#FA49AB" + color: "#327B21" }, 48: { - color: "#1674C6" + color: "#908B10" }, 51: { - color: "#93F74C" + color: "#F3806D" }, 54: { - color: "#DE62B4" + color: "#237956" }, 61: { - color: "#8C2C5A" + color: "#628634" }, 67: { - color: "#05D353" + color: "#ED109A" }, 71: { - color: "#025923" + color: "#A171D1" }, 73: { - color: "#7F3E4B" + color: "#008D0F" }, 81: { - color: "#417830" + color: "#35BF0E" }, 87: { - color: "#FEEF36" + color: "#330A96" }, 89: { - color: "#CE0924" + color: "#07DEE0" }, 95: { - color: "#434E23" + color: "#2938A7" }, 102: { - color: "#ADB1B3" + color: "#9CD8C2" }, 111: { - color: "#12C1E5" + color: "#C33E99" }, 113: { - color: "#7960F7" + color: "#CB213D" }, 116: { - color: "#9AFE4F" + color: "#E82643" }, 118: { - color: "#651D69" + color: "#3B80BC" }, 124: { - color: "#E44AC0" + color: "#0383B2" }, 128: { - color: "#3C884B" + color: "#4C8F15" }, 130: { - color: "#F488D9" + color: "#6C1E00" }, 137: { - color: "#F9538F" + color: "#B32640" }, 139: { - color: "#710305" + color: "#3FEF9F" }, 145: { - color: "#B06B54" + color: "#441859" }, 153: { - color: "#292C8C" + color: "#B59697" }, 155: { - color: "#6C1B62" + color: "#8585A4" }, 157: { - color: "#83EA84" + color: "#8FF2E9" }, 162: { - color: "#3FAB35" + color: "#C5B087" }, 169: { - color: "#B54813" + color: "#C4DCE9" }, 172: { - color: "#1C8BEF" + color: "#62EC38" }, 178: { - color: "#564E12" + color: "#A786DD" }, 184: { - color: "#669BD3" + color: "#B746C8" }, 186: { - color: "#754952" + color: "#2C5749" }, 188: { - color: "#595034" + color: "#FFEB5C" }, 199: { - color: "#2416F7" + color: "#4D1126" } }; export {group}; \ No newline at end of file diff --git a/nodes.js b/nodes.js index d3956c8..2c01941 100644 --- a/nodes.js +++ b/nodes.js @@ -21,7 +21,7 @@ var nodes = [ shape: 'box', x: 300, y: -300, - link: 'https://datom.colmex.mx/index.php/salas-amalia' + link: 'https://datom.colmex.mx/index.php/salas-abella-fuertes-amalia' }, { id: 4, @@ -75,7 +75,7 @@ var nodes = [ shape: 'box', x: 300, y: -300, - link: 'https://datom.colmex.mx/index.php/barnes-salinas-francisco-2' + link: 'https://datom.colmex.mx/index.php/barnes-salinas-francisco' }, { id: 10, @@ -93,7 +93,7 @@ var nodes = [ shape: 'box', x: 300, y: -300, - link: 'https://datom.colmex.mx/index.php/barnes-gonzalez-de-garcia-adela' + link: 'https://datom.colmex.mx/index.php/barnes-gonzalez-adela' }, { id: 12, @@ -102,7 +102,7 @@ var nodes = [ shape: 'box', x: 300, y: -300, - link: 'https://datom.colmex.mx/index.php/garcia-german' + link: 'https://datom.colmex.mx/index.php/garcia-garcia-german' }, { id: 13, @@ -120,7 +120,7 @@ var nodes = [ shape: 'box', x: 300, y: -300, - link: 'https://datom.colmex.mx/index.php/castro-de-barnes-maria-luisa' + link: 'https://datom.colmex.mx/index.php/castro-bravo-maria-luisa-de' }, { id: 15, @@ -147,7 +147,7 @@ var nodes = [ shape: 'box', x: 300, y: -300, - link: 'https://datom.colmex.mx/index.php/barnes-domingo' + link: 'https://datom.colmex.mx/index.php/barnes-salinas-domingo' }, { id: 18, @@ -156,7 +156,7 @@ var nodes = [ shape: 'box', x: 300, y: -300, - link: 'https://datom.colmex.mx/index.php/gonzalez-de-la-calle-urbano' + link: 'https://datom.colmex.mx/index.php/gonzalez-de-la-calle-pedro-urbano' }, { id: 19, @@ -165,7 +165,7 @@ var nodes = [ shape: 'box', x: 300, y: -300, - link: 'https://datom.colmex.mx/index.php/bolivar-ignacio' + link: 'https://datom.colmex.mx/index.php/bolivar-y-urrutia-ignacio' }, { id: 20, @@ -201,7 +201,7 @@ var nodes = [ shape: 'box', x: 300, y: -300, - link: 'https://datom.colmex.mx/index.php/tapia-bolivar-almita' + link: 'https://datom.colmex.mx/index.php/tapia-bolivar-alma' }, { id: 24, @@ -228,7 +228,7 @@ var nodes = [ shape: 'box', x: 300, y: -300, - link: 'https://datom.colmex.mx/index.php/goyanes-echegoyen-de-bolivar-amelia' + link: 'https://datom.colmex.mx/index.php/goyanes-echegoyen-amelia' }, { id: 27, @@ -246,7 +246,7 @@ var nodes = [ shape: 'box', x: 300, y: -300, - link: 'https://datom.colmex.mx/index.php/pelaez-dionisio' + link: 'https://datom.colmex.mx/index.php/pelaez-fernandez-dionisio' }, { id: 29, @@ -255,7 +255,7 @@ var nodes = [ shape: 'box', x: 300, y: -300, - link: 'https://datom.colmex.mx/index.php/buen-lozano-fernando-de-2' + link: 'https://datom.colmex.mx/index.php/buen-lozano-fernando-de' }, { id: 30, @@ -273,7 +273,7 @@ var nodes = [ shape: 'box', x: 300, y: -300, - link: 'https://datom.colmex.mx/index.php/de-buen-lopez-de-heredia-sadi' + link: 'https://datom.colmex.mx/index.php/buen-lopez-de-heredia-sadi-de' }, { id: 32, @@ -327,7 +327,7 @@ var nodes = [ shape: 'box', x: 300, y: -300, - link: 'https://datom.colmex.mx/index.php/garcia-ascot-fernandez-jose-miguel' + link: 'https://datom.colmex.mx/index.php/garcia-ascot-jomi' }, { id: 38, @@ -399,7 +399,7 @@ var nodes = [ shape: 'box', x: 300, y: -300, - link: 'https://datom.colmex.mx/index.php/blas-cabrera-y-felipe' + link: 'https://datom.colmex.mx/index.php/cabrera-blas' }, { id: 46, @@ -426,7 +426,7 @@ var nodes = [ shape: 'box', x: 300, y: -300, - link: 'https://datom.colmex.mx/index.php/carner-jose' + link: 'https://datom.colmex.mx/index.php/carner-josep' }, { id: 49, @@ -435,7 +435,7 @@ var nodes = [ shape: 'box', x: 300, y: -300, - link: 'https://datom.colmex.mx/index.php/noulet-emili' + link: 'https://datom.colmex.mx/index.php/noulet-emilie' }, { id: 50, @@ -453,7 +453,7 @@ var nodes = [ shape: 'box', x: 300, y: -300, - link: 'https://datom.colmex.mx/index.php/carrasco-formiguera-pedro' + link: 'https://datom.colmex.mx/index.php/carrasco-garrorena-pedro' }, { id: 52, @@ -489,7 +489,7 @@ var nodes = [ shape: 'box', x: 300, y: -300, - link: 'https://datom.colmex.mx/index.php/vidaurrey-y-satostegui-de-carrasco-nemesia' + link: 'https://datom.colmex.mx/index.php/vidaurre-y-satostegui-nemesia' }, { id: 56, @@ -570,7 +570,7 @@ var nodes = [ shape: 'box', x: 300, y: -300, - link: 'https://datom.colmex.mx/index.php/gongora-de-castrovido-maria-del-amparo' + link: 'https://datom.colmex.mx/index.php/gongora-regueiro-amparo' }, { id: 65, @@ -597,7 +597,7 @@ var nodes = [ shape: 'box', x: 300, y: -300, - link: 'https://datom.colmex.mx/index.php/costero-isaac-2' + link: 'https://datom.colmex.mx/index.php/costero-isaac' }, { id: 68, @@ -606,7 +606,7 @@ var nodes = [ shape: 'box', x: 300, y: -300, - link: 'https://datom.colmex.mx/index.php/citoler-de-costero-carmen-gracia' + link: 'https://datom.colmex.mx/index.php/gracia-citoler-carmen' }, { id: 69, @@ -633,7 +633,7 @@ var nodes = [ shape: 'box', x: 300, y: -300, - link: 'https://datom.colmex.mx/index.php/comas-camps-juan-2' + link: 'https://datom.colmex.mx/index.php/comas-juan' }, { id: 72, @@ -651,7 +651,7 @@ var nodes = [ shape: 'box', x: 300, y: -300, - link: 'https://datom.colmex.mx/index.php/diaz-canedo-enrique' + link: 'https://datom.colmex.mx/index.php/diez-canedo-enrique' }, { id: 74, @@ -696,7 +696,7 @@ var nodes = [ shape: 'box', x: 300, y: -300, - link: 'https://datom.colmex.mx/index.php/diez-canedo-maria-teresa' + link: 'https://datom.colmex.mx/index.php/diez-canedo-manteca-maria-teresa' }, { id: 79, @@ -714,7 +714,7 @@ var nodes = [ shape: 'box', x: 300, y: -300, - link: 'https://datom.colmex.mx/index.php/marquez-maria-teresa' + link: 'https://datom.colmex.mx/index.php/marquez-diez-canedo-maria-teresa' }, { id: 81, @@ -768,7 +768,7 @@ var nodes = [ shape: 'box', x: 300, y: -300, - link: 'https://datom.colmex.mx/index.php/mx-bdcv-fce-ra4107' + link: 'https://datom.colmex.mx/index.php/calderon-domenchina-encarnacion' }, { id: 87, @@ -777,7 +777,7 @@ var nodes = [ shape: 'box', x: 300, y: -300, - link: 'https://datom.colmex.mx/index.php/fernandez-agueda' + link: 'https://datom.colmex.mx/index.php/fernandez-martinez-agueda' }, { id: 88, @@ -804,7 +804,7 @@ var nodes = [ shape: 'box', x: 300, y: -300, - link: 'https://datom.colmex.mx/index.php/hernandez-de-gaos-angela' + link: 'https://datom.colmex.mx/index.php/hernandez-barbarros-maria-de-los-angeles' }, { id: 91, @@ -813,7 +813,7 @@ var nodes = [ shape: 'box', x: 300, y: -300, - link: 'https://datom.colmex.mx/index.php/gaos-hernandez-angeles' + link: 'https://datom.colmex.mx/index.php/gaos-de-camacho-angeles' }, { id: 92, @@ -822,7 +822,7 @@ var nodes = [ shape: 'box', x: 300, y: -300, - link: 'https://datom.colmex.mx/index.php/gaos-hernandez-palma' + link: 'https://datom.colmex.mx/index.php/gaos-hernandez-paloma' }, { id: 93, @@ -849,7 +849,7 @@ var nodes = [ shape: 'box', x: 300, y: -300, - link: 'https://datom.colmex.mx/index.php/giner-de-los-rios-francisco' + link: 'https://datom.colmex.mx/index.php/giner-de-los-rios-morales-francisco' }, { id: 96, @@ -930,7 +930,7 @@ var nodes = [ shape: 'box', x: 300, y: -300, - link: 'https://datom.colmex.mx/index.php/giral-francisco' + link: 'https://datom.colmex.mx/index.php/giral-gonzalez-francisco' }, { id: 105, @@ -993,7 +993,7 @@ var nodes = [ shape: 'box', x: 300, y: -300, - link: 'https://datom.colmex.mx/index.php/jarnes-benjamin' + link: 'https://datom.colmex.mx/index.php/jarnes-millan-benjamin' }, { id: 112, @@ -1020,7 +1020,7 @@ var nodes = [ shape: 'box', x: 300, y: -300, - link: 'https://datom.colmex.mx/index.php/zubiaurre-y-aguirrezabal-pilar-de' + link: 'https://datom.colmex.mx/index.php/zubiaurre-pilar-de' }, { id: 115, @@ -1056,7 +1056,7 @@ var nodes = [ shape: 'box', x: 300, y: -300, - link: 'https://datom.colmex.mx/index.php/madinaveitia-antonio' + link: 'https://datom.colmex.mx/index.php/madinaveitia-tabuyo-antonio' }, { id: 119, @@ -1110,7 +1110,7 @@ var nodes = [ shape: 'box', x: 300, y: -300, - link: 'https://datom.colmex.mx/index.php/medina-echevarria-jose' + link: 'https://datom.colmex.mx/index.php/medina-echavarria-jose' }, { id: 125, @@ -1164,7 +1164,7 @@ var nodes = [ shape: 'box', x: 300, y: -300, - link: 'https://datom.colmex.mx/index.php/millares-agustin' + link: 'https://datom.colmex.mx/index.php/millares-carlo-agustin' }, { id: 131, @@ -1182,7 +1182,7 @@ var nodes = [ shape: 'box', x: 300, y: -300, - link: 'https://datom.colmex.mx/index.php/millares-mercedes' + link: 'https://datom.colmex.mx/index.php/millares-bravo-mercedes' }, { id: 133, @@ -1191,7 +1191,7 @@ var nodes = [ shape: 'box', x: 300, y: -300, - link: 'https://datom.colmex.mx/index.php/millares-rosa' + link: 'https://datom.colmex.mx/index.php/millares-bravo-rosa' }, { id: 134, @@ -1209,7 +1209,7 @@ var nodes = [ shape: 'box', x: 300, y: -300, - link: 'https://datom.colmex.mx/index.php/bravo-martinez-mercedes-2' + link: 'https://datom.colmex.mx/index.php/bravo-martinez-mercedes' }, { id: 136, @@ -1218,7 +1218,7 @@ var nodes = [ shape: 'box', x: 300, y: -300, - link: 'https://datom.colmex.mx/index.php/henandez-millares-jorge' + link: 'https://datom.colmex.mx/index.php/hernandez-millares-jorge' }, { id: 137, @@ -1227,7 +1227,7 @@ var nodes = [ shape: 'box', x: 300, y: -300, - link: 'https://datom.colmex.mx/index.php/nieto-dionisio' + link: 'https://datom.colmex.mx/index.php/nieto-gomez-dionisio' }, { id: 138, @@ -1245,7 +1245,7 @@ var nodes = [ shape: 'box', x: 300, y: -300, - link: 'https://datom.colmex.mx/index.php/pi-suner-jaime' + link: 'https://datom.colmex.mx/index.php/pi-suner-bayo-jaime' }, { id: 140, @@ -1263,7 +1263,7 @@ var nodes = [ shape: 'box', x: 300, y: -300, - link: 'https://datom.colmex.mx/index.php/bayo-carme' + link: 'https://datom.colmex.mx/index.php/bayo-carmen' }, { id: 142, @@ -1299,7 +1299,7 @@ var nodes = [ shape: 'box', x: 300, y: -300, - link: 'https://datom.colmex.mx/index.php/romeo-lozano-aurelio-3' + link: 'https://datom.colmex.mx/index.php/romeo-lozano-aurelio' }, { id: 146, @@ -1407,7 +1407,7 @@ var nodes = [ shape: 'box', x: 300, y: -300, - link: 'https://datom.colmex.mx/index.php/riba-carlos ' + link: 'https://datom.colmex.mx/index.php/riba-carles' }, { id: 158, @@ -1452,7 +1452,7 @@ var nodes = [ shape: 'box', x: 300, y: -300, - link: 'https://datom.colmex.mx/index.php/roura-parella-juan-2' + link: 'https://datom.colmex.mx/index.php/roura-parella-juan' }, { id: 163, @@ -1470,7 +1470,7 @@ var nodes = [ shape: 'box', x: 300, y: -300, - link: 'https://datom.colmex.mx/index.php/ramon-y-falco-eugenio' + link: 'https://datom.colmex.mx/index.php/ramon-falco-eugenio' }, { id: 165, @@ -1488,7 +1488,7 @@ var nodes = [ shape: 'box', x: 300, y: -300, - link: 'https://datom.colmex.mx/index.php/ramon-y-llige-adela' + link: 'https://datom.colmex.mx/index.php/ramon-llige-adela' }, { id: 167, @@ -1515,7 +1515,7 @@ var nodes = [ shape: 'box', x: 300, y: -300, - link: 'https://datom.colmex.mx/index.php/rivas-cherif-manuel' + link: 'https://datom.colmex.mx/index.php/rivas-cherif-manuel-de' }, { id: 170, @@ -1542,7 +1542,7 @@ var nodes = [ shape: 'box', x: 300, y: -300, - link: 'https://datom.colmex.mx/index.php/ruiz-funes-garcia-mariano-2' + link: 'https://datom.colmex.mx/index.php/ruiz-funes-garcia-mariano' }, { id: 173, @@ -1587,7 +1587,7 @@ var nodes = [ shape: 'box', x: 300, y: -300, - link: 'https://datom.colmex.mx/index.php/ruiz-funes-montesinos-concepcion' + link: 'https://datom.colmex.mx/index.php/ruiz-funes-concepcion' }, { id: 178, @@ -1668,7 +1668,7 @@ var nodes = [ shape: 'box', x: 300, y: -300, - link: 'https://datom.colmex.mx/index.php/velo-carlos-2' + link: 'https://datom.colmex.mx/index.php/velo-carlos' }, { id: 187, @@ -1704,7 +1704,7 @@ var nodes = [ shape: 'box', x: 300, y: -300, - link: 'https://datom.colmex.mx/index.php/xirau-subias-ramon' + link: 'https://datom.colmex.mx/index.php/xirau-ramon' }, { id: 191, @@ -1776,7 +1776,7 @@ var nodes = [ shape: 'box', x: 300, y: -300, - link: 'https://datom.colmex.mx/index.php/folch-nuria' + link: 'https://datom.colmex.mx/index.php/folch-i-pi-nuria' }, { id: 199, diff --git a/verifyurl.py b/verifyurl.py new file mode 100644 index 0000000..e95b1a8 --- /dev/null +++ b/verifyurl.py @@ -0,0 +1,86 @@ +import csv +import json +import random + +#data = pd.read_csv("familias.csv", delimiter = ',') +#total = data. +with open("familias.csv") as data: + header = next(data) + reader = csv.reader(data) + root = {"id": 1, "label": "'" + 'Casa de España' + "'","shape": "'box'", "link":"'https://datom.colmex.mx/index.php/la-casa-de-espana-en-mexico'"} + list_nodes = [] + edges_nodes = [] + group_color = {} + list_nodes.append(root.copy()) + count = 1 + count_tmp = 0 + is_row_5 = False + for row in reader: + if row[0] == "": + if row[5] != "": + label = row[5].replace(" ", "\n") + if is_row_5: + new_level = {"id": count + 1, "label": "'" + label + "'", "group": count_tmp - 1, "shape": "'box'", "x":"300", "y":"-300", "link":"'"+row[7]+"'"} + new_edge = {"from": count_tmp - 1, "to": count + 1, "label": "'" + row[6] + "'"} + list_nodes.append(new_level.copy()) + edges_nodes.append(new_edge.copy()) + else: + new_level = {"id": count + 1, "label": "'" + label + "'", "group": count_tmp, "shape": "'box'", "x":"300", "y":"-300", "link":"'"+row[7]+"'"} + new_edge = {"from": count_tmp, "to": count + 1, "label": "'" + row[6] + "'"} + list_nodes.append(new_level.copy()) + edges_nodes.append(new_edge.copy()) + count+=1 + else: + label = row[0].replace(" ", "\n") + new_level = {"id": count + 1, "label": "'" + label + "'", "group": count + 1, "shape": "'box'", "x":"300", "y":"-300", "link":"'"+row[1]+"'" } + new_edge = {"from": 1, "to": count + 1, "label": "'Invitado'"} + list_nodes.append(new_level.copy()) + edges_nodes.append(new_edge.copy()) + r = lambda: random.randint(0,255) + group_color['|%s|' %(count+1)] = {'|color|': '#%02X%02X%02X'% (r(),r(),r())} + #print('group' + str(count + 1) + ': #%02X%02X%02X' % (r(),r(),r())) + if(row[5] != ""): + label = row[5].replace(" ", "\n") + new_level = {"id": count + 2, "label": "'" + label + "'", "group": count + 1, "shape": "'box'", "x":"300", "y":"-300", "link":"'"+row[7]+"'"} + new_edge = {"from": count + 1, "to": count + 2, "label": "'" + row[6] + "'"} + list_nodes.append(new_level.copy()) + edges_nodes.append(new_edge.copy()) + is_row_5 = True + count+=1 + else: + is_row_5 = False + count+=1 + count_tmp = count + json_nodes = json.dumps(list_nodes, indent = 4) + json_edges = json.dumps(edges_nodes, indent = 4) + json_group = json.dumps(group_color, indent = 4) + json_nodes = json_nodes.replace('"', "") + json_edges = json_edges.replace('"', "") + json_group = json_group.replace('"|','') + json_group = json_group.replace('|"','') + + nodes_file = open("nodes.js", "w") + nodes_file.write("var nodes = " + json_nodes + "; export {nodes};") + nodes_file.close() + edges_file = open("edges.js", "w") + edges_file.write("var edges = " + json_edges + "; export {edges};") + edges_file.close() + group_file = open("group.js", "w") + group_file.write("var group = " + json_group + "; export {group};") + group_file.close() + + #{ + # id: 10, + # label: "192.168.0.10", + # group: "server", + #value: 10, + #} + + #{ + #from: 1, + #to: 10, + #length: LENGTH_SERVER, + #color: GRAY, + #width: WIDTH_SCALE * 6, + #label: "0.92 mbps", + #} \ No newline at end of file