      viewer.dataset.currentMindmap = JSON.stringify(item);
            title.textContent = item.topic;
            viewer.style.display = 'block';

            content.style.position = 'absolute';
            content.style.top = '50px';
            content.style.left = '0';
            content.style.right = '0';
            content.style.bottom = '0';
            content.style.overflow = 'hidden';
            content.style.display = 'block';

            content.innerHTML = '';
            const svg = docu