zsviczian / obsidian-excalidraw-plugin

A plugin to edit and view Excalidraw drawings in Obsidian
3.86k stars 209 forks source link

Automatically join elements #515

Open KierenB opened 2 years ago

KierenB commented 2 years ago

Is your feature request related to a problem? Please describe. When I use mindmapping software, creating a new node from an existing node automatically joins them. In excalidraw it would be great to mimic this behaviour, so I didn't have to go back and manually join nodes.

Describe the solution you'd like As a user I can select an existing node and then click "create and join". This creates a new node, joined to the selected one.

Describe alternatives you've considered I've considered using the other mind mapping plugins for Obsidian but am keen to really use just a few tools and I want to make Excalidraw in Obsidian my go to

Additional context Add any other context or screenshots about the feature request here.

zsviczian commented 2 years ago

This can be done with Excalidraw scripts. Try the following scripts and then let me know what changes would make them better for your use case: