aarongilly / obsidian-semantic-canvas-plugin

MIT License
55 stars 1 forks source link

Feature Request: Links back to canvas #7

Open egauthier opened 1 week ago

egauthier commented 1 week ago

I've been using this for 5 minutes, and I see huge possibilities! I'm going to put a couple of Feature Requests in here, and will separate them into different requests.

This is my first foray into Canvas, and it would be helpful to have a settings defined property (e.g. canvases) in the source note that linked back to canvas(es) it was resident of, which is autopopulated and updated on overwrite, append, etc.

For example, using family relationships as a use case, I can envision a spouse being part of two family canvases, their direct family, and their spouse's family. Maybe even more should they be on their second marriage, or adopted child in a second marriage.

Having a link in the properties of the note back to the canvas(es) which they are part of would be very useful.

aarongilly commented 1 week ago

Now that's interesting suggestion. A new direction to take this. I've gathered a couple of new feature ideas that aren't directly to do with Canvas-to-Properties connections, but instead creating properties from other sources such that you can then send them to canvases.

I'll think on the ramifications on the right way to approach this. This could be part of a v1.3 update. I'll add it to the list of things to try out. If it starts to unfurl into weird edge cases then I may end up not doing it. Either way, will probably be a while before I give it an honest shot. I think my v1.2 has a couple of fixes that are needed first.

egauthier commented 1 week ago

I've found a work around for this one. I use the property links but you could use anything (e.g. families, topics, etc).

  1. Group all cards on the canvas.
  2. Creat a card that is a link to the canvas itself.
  3. Link the group to the newly created card, and label the link whatever you want to use for your property (e.g. links)
  4. Append the properties in the notes from the canvas.
  5. Delete the dummy card if you want, and ungroup.

Added Feature You may not want to have that base card on the canvas with all of its incoming links. So....you can delete it. The down side is that if you pull properities back in, it will reappear.

However, now with the V1.2 new feature of "Ignore Tags", the tags are only ignored on the pull (not the overwrite) so you can add the property you are using (e.g. links) to the ignore list and tada. You can save a link to the cavas in each note, and not have that property pulled back to the canvas on susequent pulls.

Furthermore, you can do this selectively (by note/card) and incrementally (as you go).