ON.parse(viewer.dataset.currentMindmap || '{}');

        if (currentMindmap.topic) {
            const svg = document.querySelector('#viewer-content svg');
            const serializer = new XMLSerializer();
            const svgContent = serializer.serializeToString(svg);
            const blob = new Blob([svgContent], {type: 'image/svg+xml'});
            const url = URL.createObjectURL(blob);

            const a = document.createElement('a');
            a.href = url;
            a.download = `${curren