                      }
                    }
                }
                console.log("formatage fini"); /**/
            }

            async function render () {
                graph_type = document.getElementById("rendering-select").value;
                try {map.off(); map.remove()} catch {}
                var container = L.DomUtil.get('map');
                if (container != null) {
                    container._leaflet_id = null;
                }
                document.getElementById('gra