jensmtg / obsidian-diagrams-net

This repository contains a plugin for Obsidian for inserting and editing diagrams.net (previously draw.io) diagrams.
MIT License
96 stars 14 forks source link

After saving the diagram #16

Open Erimus-Koo opened 1 year ago

Erimus-Koo commented 1 year ago

This plugin is so convenient and I do so appreciate your work, and there are some tiny suggestions:

  1. After saving the diagram, the preview would update to the newest .svg file.
  2. After saving the diagram, the cursor will go back to the top of the doc.
  3. Edit in new tab(or right side tab)
  4. Open in default app(I use draw.io desktop version app)
  5. Insert new diagram, the file path will be added to the root of the obsidian vault, can the path be set to the same folder of the .md file?
    e.g. /tech/css.md, the diagram assets folder now is /css.assets/, I need it be /tech/css.assets/.
IgorisB commented 1 year ago

comment for 5: Diagram is attachment which is managed by Obsidian settings. So you can set Settings->Files&Links->Default location for new attachments to "Same folder as current file"