clerk

Andreas S. 2025-06-23T11:05:27.570709Z

What ways are there or has anyone experimented with Mind maps and clerk? Are there any examples or anything like that? Since clerk is "bring your own editor" how much interaction is possible in the resulting javascript snippet? Could one edit the mindmap or could one just add data through the source code editor?

peterh 2025-06-23T19:48:21.732409Z

Seems like Mermaid can create Mindmaps too: https://mermaid.js.org/syntax/mindmap.html This means you can write them in their DSL with your code editor and use clerk/show! to re-evaluate the file to see the updated Mindmap in your notebook. The Book of Clerk has an example on how to build a custom viewer for Mermaid, loading it via d3-require: https://book.clerk.vision/#loading-libraries

Andreas S. 2025-06-23T20:04:26.378809Z

That looks not really like a mind map. What about JavaScript libraries like this one? http://hizzgdev.github.io/jsmind/