joethei / obsidian-plantuml

Generate PlantUML Diagrams inside Obsidian.md
MIT License
368 stars 18 forks source link

Switch the "Dot Path" option to optional #64

Open lisez opened 1 month ago

lisez commented 1 month ago

Environments:

When I used some syntax, it shows:

image

and it is ok in my computer:

PS C:\Users\lisez> java -jar C:\Users\lisez\.bin\plantuml.jar -testdot
Dot version: dot - graphviz version 2.44.1 (20200629.0846)
Installation seems OK. File generation OK

I found it is a required argument to generate digams:

https://github.com/joethei/obsidian-plantuml/blob/2463d93539bcf207d7e31e0bf96b0ddde644d203/src/processors/localProcessors.ts#L194

Then accroding to the PlantUML official site, it says "Starting from 1.2020.21... you don't need to manually install GraphViz anymore" on Windows.

Hence I think it maybe a goodtime to switch this option to optional.