Obsidian-Canvas-MindMap icon indicating copy to clipboard operation
Obsidian-Canvas-MindMap copied to clipboard

[Bug]: Auto-layout when making a sibling card causes child cards to overlap

Open duckfarts opened this issue 2 years ago • 7 comments

Bug Description

Currently, when you hit Enter to create a sibling node, it updates the layout to put all of that level's nodes together. This is problematic when you have a bunch of child nodes already, and causes your new child nodes to overlap with other ones.

I can see auto-layout being very helpful, but it would need to happen at multiple levels (which might be difficult if multiple cards connect to the same card).

Alternatively, it would be helpful to have an option to Disable Auto-layout so that creating a sibling card just makes another card under the current one, but doesn't update the layout.

Relevant Screenshot

Auto-layout issue

To Reproduce

  1. Make a few cards at the same level
  2. Add child cards to those cards
  3. Select a card created in step 1 and create a new sibling card
  4. Create child cards for the new card from step 3

Obsidian Version

v1.1.9

Checklist

  • [X] I updated to the latest version of the plugin.

duckfarts avatar Feb 14 '23 04:02 duckfarts