Converts MOC note files to an obsidian canvas
With the release of the canvas feature in Obsidian (v1.1), many people have started to wonder about its applicability to well-established note taking practices like MOC (Map of Content) notes. I believe that the expressive canvas interface will replace simple MOC notes and allow for showing better context between notes and connections. If the transition to canvas from MOC is made, the obsidian community would greatly benefit from automation in this process.
Obsidian Canvas MOC provides an easy way for Map Of Content notes to be translated into the new canvas view
Now that I have uploaded the frist release of the plugin, you are able to install and test it through the BRAT obsidian plugin.
Here is the link: https://github.com/TfTHacker/obsidian42-brat#Quick-Guide-for-using-BRAT
cd .obsidian/plugins/
to open the plugins directorygit clone https://github.com/Feel-ix-343/obsidian-canvas-moc.git
to clone the repocd obsidan-canvas-moc
to enter the plugin directorynpm install && npm run build
to install dependencies and build the plugincd .obsidian/plugins
git clone https://github.com/Feel-ix-343/obsidian-canvas-moc.git
cd obsidian-canvas-moc
npm install && npm run build
Click expand for a preview!
Run Create Canvas
to create your canvases.
Everybody uses MOC notes differently, but I am relying on the existance of some patterns in my translations. If you think I am missing some of these patters, please leave an issue with your ideas! As stated, in the Status header, I am currently in the feedback stage, so your ideas will likely shape the development this plugin!
Create Canvas
commandNote: in order to get the graph to be displayed exactly the way you want it, try changing the MOC file (adding headers...) and/or adjusting the settings (spacing, angle span, min radius etc ...) As explained in the features heading
Although the main intent of this plugin is to translate preexisting MOC notes, I have found it can also be used to quickly generate canvases.
# Building a house
## Planning Phase
- [[Link1]]
- [[Link2]]
- [[Link3]]
## Design Phase
- [[Link3]]
- [[Link4]]
- [[Link5]]
## Construction Phase
- [[Link6]]
- [[Link7]]
- [[Link8]]
Create Canvas
from the command palletThe idea for this plugin came from a reddit comment requesting this feature; u/J4nosch wrote this comment.