zsviczian / obsidian-excalidraw-plugin

A plugin to edit and view Excalidraw drawings in Obsidian
4.16k stars 230 forks source link

FR: Insert only part of Excalidraw drawing from vault #1052

Closed gitacrobat closed 1 year ago

gitacrobat commented 1 year ago

I am not sure if this is maybe already possible and I just couldn't find a solution.

It is already possible to link to parts of an Excalidraw drawing via block reference. But this function gives me "only" a text link.

I would like to have a visual embed of a part of an Excalidraw drawing instead of the whole drawing.

zsviczian commented 1 year ago

Is this what you are looking for? https://youtu.be/yZQoJg2RCKI

gitacrobat commented 1 year ago

Creating a block reference and transcluding it in a "plain" markdown file works like shown in the video. But that is not what I ment.

I am looking for a way to transclude the referenced block, and only this block in an obsidian-excalidraw file.

This is the excalidraw image I want to block reference: area

This is how it shows up right now when I insert it into another excalidraw image: whole-now

This is how I want it to show up in an excalidraw image: whole-wish

doit132 commented 1 year ago

I also want this function

zsviczian commented 1 year ago

From a performance perspective but also from a decomposition / PKM perspective I think the deconstruction approach is better. See these two videos and let me know your thoughts:

https://youtu.be/mvMQcz401yo https://youtu.be/HRtaaD34Zzg

gitacrobat commented 1 year ago

I started experimenting with your deconstruction approach. This does not close the issue per se. But it does work as a different approach.