Developer-Mike / obsidian-advanced-canvas

⚡ Supercharge your Obsidian.md canvas experience! Create presentations, flowcharts and more!
GNU General Public License v3.0
192 stars 7 forks source link

[FR] Add more arrow shapes #46

Closed Ikaroon closed 3 weeks ago

Ikaroon commented 3 months ago

Hi Mike, I love this plugin and it already gives me a lot to work with. I'm currently trying to plot the class structure for a project in Obsidian and I have the feeling canvas would be great for it. However, there is only one arrow shape as far as I can see.

Do you think it is possible to add more arrow shapes like the ones used in UML diagrams? 2ajCN

I know there is a UML plugin for Obsidian but it doesn't integrate with Obsidian as neatly as canvas does. With more arrow shapes canvas would be the ideal candidate to become my graph of choice for it.

Developer-Mike commented 3 months ago

Look, I could add these arrow shapes pretty easily. But there are some problems. First of all, the users who don't use UML diagrams (and I guess that's a lot of them) would have "clutter" in their user interface. Another problem is the other UML features that are not present in the canvas. For example, the start/end arrow labels and the line-specific arrows. Therefore, the users who use UML are not satisfied either.

Do you agree with me?

Ikaroon commented 3 months ago

I agree that users that use UML can be not satisfied, that's true. I usually don't need the full set of UML features and most developers I know don't use the full set either. In terms of the "clutter" I can see where you're coming from. I feel like most mindmapping tools out there give at a few more arrow shapes like no-arrow, triangles, diamonds, and circles. But I can see why this isn't part of this plugin.

Developer-Mike commented 3 weeks ago

Good news! In version 3.0.0 (currently pre-release) I've rewritten the styling code. Now, additional styling options won't clutter the popup menu anymore. All requested arrow styles should've been added.