Import Miro Graphs

After Exporting content from Miro, paste the contents of your clipboard below. Exporting Miro content is made easier with a Miro bookmarklet, which you can use by dragging and dropping the #miro link below onto your bookmarks bar.

https://robert.wiki.openlearning.cc/assets/bookmarklets-from-wiki/Miro%20bookmarklet.html HEIGHT 0

http://hsc.fed.wiki/assets/scripts/import-foreign-json.html HEIGHT 230

const node = e => e.type !== 'connector' const rel = e => e.type == 'connector' const text = t => t ? t .replaceAll(/<.*?>/g,'') .replaceAll(/[^\w ]/g,'') .slice(0,26) : 'empty'

json.filter(node).forEach(e => { const name = text(e.title || e.content) nids[e.id] = graph.addNode(e.type,{name, ...e}) })

json.filter(rel).forEach(c => { const start = c.start?.item const end = c.end?.item if(start in nids && end in nids) graph.addRel(' ',nids[start],nids[end], {...c}) })