/*CSS*/html, body { margin: 0px; padding: 0px; width: 100%; height: 100%; font-family: Helvetica; overflow: hidden; }#tree { width: 100%; height: 100%; } //JavaScript let options = getOptions(); let chart = new OrgChart(document.getElementById("tree"), { enableSearch: false, enableAI: true, enableDragDrop: true, mouseScrool: OrgChart.action.scroll, scaleInitial: options.scaleInitial, tags: { "assistant": { template: "ula" } }, nodeMenu: { details: { text: "Details" }, edit: { text: "Edit" }, add: { text: "Add" }, remove: { text: "Remove" } }, nodeBinding: { field_0: "name", field_1: "title", img_0: "img" } });chart.load([ { id: 1, name: "ATLANTIQUE ÉTUDES", title: "Siége", img: "https://www.atlantique-etudes.com/wp-content/uploads/2023/11/cropped-cropped-favicon-1-1.png" }, {id: 100,pid:1, name: "Associés Dirigeants", title: "Associé Dirigeants", img: "https://www.atlantique-etudes.com/wp-content/uploads/2023/11/cropped-cropped-favicon-1-1.png" }, // Pôle RTE LS { id: 2, pid: 100, name: "BOUCQUIER Willy", title: "Responsable BE Pôle RTE LS", img: "https://www.atlantique-etudes.com/wp-content/uploads/2025/07/WBO-Avatar-1.png" }, { id: 21, pid: 2, name: "LORTAL Hugo", title: "Chargé d'affaire", img: "https://www.atlantique-etudes.com/wp-content/uploads/2025/10/HLO-Avatar2.png" }, { id: 22, pid: 2, name: "ORTHWEIN Mélanie", title: "Chargé d'affaire", img: "https://www.atlantique-etudes.com/wp-content/uploads/2025/10/MEO-Avatar2-2.png" }, { id: 23, pid: 2, name: "RICOLLEAU Eloïse", title: "Chargé d'affaire", img: "https://www.atlantique-etudes.com/wp-content/uploads/2025/10/ERI-Avatar.png" }, { id: 24, pid: 2, name: "GUIGNARD Aymeric", title: "Chargé d'affaire", img: "https://www.atlantique-etudes.com/wp-content/uploads/2025/10/AGU-Avatar-1.png" }, { id: 25, pid: 2, name: "DARCHE Tiburce", title: "Technicien Études", img: "https://www.atlantique-etudes.com/wp-content/uploads/2025/10/TDA-Avatar3.png" }, { id: 26, pid: 2, name: "HUE Jeoffrey", title: "Technicien Études", img: "https://www.atlantique-etudes.com/wp-content/uploads/2025/10/JHU-Avatar.png" }, { id: 27, pid: 2, name: "FERTINI Oussama", title: "Dessinateur", img: "https://www.atlantique-etudes.com/wp-content/uploads/2025/10/OUF-Avatar.png" }, { id: 28, pid: 2, name: "EL HANNATI Anas", title: "Dessinateur", img: "https://www.atlantique-etudes.com/wp-content/uploads/2025/10/AEL-Avatar.png" }, { id: 29, pid: 2, name: "BABU Bastien", title: "Dessinateur", img: "https://www.atlantique-etudes.com/wp-content/uploads/2023/11/cropped-cropped-favicon-1-1.png" }, { id: 210, pid: 2, name: "MANDIN David", title: "Dessinateur", img: "https://www.atlantique-etudes.com/wp-content/uploads/2023/11/cropped-cropped-favicon-1-1.png" },// Pôle GrDF & RH { id: 3, pid: 100, name: "FRANCOIS Amélie", title: "Responsable BE Pôle GrDF & RH", img: "https://www.atlantique-etudes.com/wp-content/uploads/2025/10/AMF-Avatar.png" }, { id: 31, pid: 3, name: "MARASI Landry", title: "Chargé d'Affaire", img: "https://www.atlantique-etudes.com/wp-content/uploads/2025/10/LMA-Avatar.png" }, { id: 32, pid: 3, name: "VESQUE Vincent", title: "Technicien d'Études", img: "https://www.atlantique-etudes.com/wp-content/uploads/2023/11/cropped-cropped-favicon-1-1.png" },// Pôle ENEDIS { id: 4, pid: 100, name: "MOREL David", title: "Responsable BE Pôle ENEDIS", img: "https://www.atlantique-etudes.com/wp-content/uploads/2025/10/DMO-Avatar.png" }, { id: 41, pid: 4, name: "BARANGER Marlène", title: "Chargé d'affaire", img: "https://www.atlantique-etudes.com/wp-content/uploads/2025/10/MBE-Avatar.png" }, { id: 42, pid: 4, name: "RIPOCHE Charly", title: "Chargé d'affaire", img: "https://www.atlantique-etudes.com/wp-content/uploads/2025/10/CRI-Avatar.png" }, { id: 43, pid: 4, name: "VIOLEAU Martin", title: "Chargé d'affaire", img: "https://www.atlantique-etudes.com/wp-content/uploads/2025/10/MVI-Avatar.png" }, { id: 44, pid: 4, name: "ARNAUD Victor", title: "Chargé d'affaire", img: "https://www.atlantique-etudes.com/wp-content/uploads/2025/10/VIA-Avatar.png" }, { id: 45, pid: 4, name: "POURNIN Laurent", title: "Chargé d'affaire", img: "https://www.atlantique-etudes.com/wp-content/uploads/2025/10/LPO-Avatar.png" }, { id: 46, pid: 4, name: "FRIMIN Denis", title: "Chargé d'affaire", img: "https://www.atlantique-etudes.com/wp-content/uploads/2025/10/DFR-Avatar.png" }, { id: 47, pid: 4, name: "SAMSON Marc-xeniel", title: "Chargé d'affaire", img: "https://www.atlantique-etudes.com/wp-content/uploads/2025/10/MXS-Avatar-1.png" }, { id: 48, pid: 4, name: "COUSTHAM Geofrey", title: "Chargé d'affaire", img: "https://www.atlantique-etudes.com/wp-content/uploads/2025/10/GCO-Avatar-1.png" }, { id: 49, pid: 4, name: "VOYER Lucie", title: "Chargé d'affaire", img: "https://www.atlantique-etudes.com/wp-content/uploads/2025/10/LVO-Avatar.png" }, { id: 410, pid: 4, name: "COPIE Simon", title: "Technicien Études", img: "https://www.atlantique-etudes.com/wp-content/uploads/2025/10/SCO-Avatar-1.png" }, { id: 411, pid: 4, name: "PESLIER Arnaud", title: "Technicien Études", img: "https://www.atlantique-etudes.com/wp-content/uploads/2025/10/APE-Avatar.png" }, { id: 412, pid: 4, name: "DJILALI Karim", title: "Technicien Études", img: "https://www.atlantique-etudes.com/wp-content/uploads/2025/10/KDK-Avatar-2.png" }, { id: 413, pid: 4, name: "BRUNEAU Mattéo", title: "Technicien Études", img: "https://www.atlantique-etudes.com/wp-content/uploads/2025/10/MBR-Avatar.png" },// Pôle RTE LA { id: 5, pid: 100, name: "SCRIMALI Mickael", title: "Responsable BE Pôle RTE LA", img: "https://www.atlantique-etudes.com/wp-content/uploads/2025/10/MSC-Avatar-2.png" }, { id: 51, pid: 5, name: "FOLLIOT Vincent", title: "Chargé d'affaire", img: "https://www.atlantique-etudes.com/wp-content/uploads/2025/10/VFO-Avatar.png" }, { id: 52, pid: 5, name: "DEBORD Thomas", title: "Technicien Études", img: "https://www.atlantique-etudes.com/wp-content/uploads/2025/10/TDE-Avatar.png" }, { id: 53, pid: 5, name: "GUITTONNEAU Florent", title: "Technicien Études", img: "https://www.atlantique-etudes.com/wp-content/uploads/2025/10/FLG-Avatar.png" }, { id: 54, pid: 5, name: "ROSSIGNOL Eliot", title: "Technicien Études", img: "https://www.atlantique-etudes.com/wp-content/uploads/2025/10/ERO-Avatar.png" },// Service Administratif { id: 6, pid: 1, name: "Service Administratif", title: "Service Administratif", img: "https://www.atlantique-etudes.com/wp-content/uploads/2023/11/cropped-cropped-favicon-1-1.png" }, { id: 62, pid: 6, name: "RIVOLET Séverine", title: "Service Administratif", img: "https://www.atlantique-etudes.com/wp-content/uploads/2025/10/SRI-Avatar.png" }, { id: 61, pid: 6, name: "GUEDET Emilie", title: "Service Administratif", img: "https://www.atlantique-etudes.com/wp-content/uploads/2025/10/EMG-Avatar.png" }, { id: 63, pid: 6, name: "CHATAIGNER Jade", title: "Service Administratif", img: "https://www.atlantique-etudes.com/wp-content/uploads/2025/10/JCH-Avatar2.png" }, { id: 64, pid: 6, name: "FER Aurélie", title: "Service Administratif", img: "https://www.atlantique-etudes.com/wp-content/uploads/2025/10/AFE-Avatar.png" },// Pôle Détection { id: 7, pid: 1, name: "Détection", title: "Détection", img: "https://www.atlantique-etudes.com/wp-content/uploads/2023/11/cropped-cropped-favicon-1-1.png" }, { id: 71, pid: 7, name: "GRECHEZ Romain", title: "Technicien Détection", img: "https://www.atlantique-etudes.com/wp-content/uploads/2025/10/ROG-Avatar.png" }, ]);function getOptions(){ const searchParams = new URLSearchParams(window.location.search); let fit = searchParams.get('fit'); let scaleInitial = 1; if (fit == 'yes'){ scaleInitial = OrgChart.match.boundary; } return {scaleInitial}; }