2
$\begingroup$

There are many people who are more comfortable with the display style of mind-maps; I wonder if it is possible to display a notebook (whose contents have been properly formatted as Chapters Sections, etc.) in the form of mind-maps? If there are no built-in approaches, is it possible to realize this functionality with the aid of some code?

$\endgroup$

1 Answer 1

3
$\begingroup$

Here is a start. Because in Wolfram Language "Everything Is an Expression" you can use built-in structures and parsers to view it as a tree. For example, this creates a notebook with some content:

nb = CreateNotebook["ComputationalEssay"]

And this transforms it into a tree

ExpressionTree[NotebookImport[nb, _, "FlattenCellGroups" -> False]]

enter image description here

You will have to make it more tailored to what you want but I think most of what you would need is well described in documentation.

$\endgroup$
1
  • 1
    $\begingroup$ That's very nice $\endgroup$ Commented Oct 11, 2022 at 17:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.