Useful commands and features to make the Canvas view work more like a mind mapping tool.
See full source code here: https://github.com/tim-smart/effect-obsidian/tree/main/packages/canvas-mindmap
You can find a setting in the canvas menu here: