标签:plantuml com local PlantUML UML.1 https Tools dot
PlantUML
1. PlantUML Language
Ref[7]
Ref[5]
2. PlantUML VSCode Extension
2.1 Install PlantUML Extension
2.2 ERROR: Dot Executable: /opt/local/bin/dot File does not exist.
Error Info:
Solution:
A. Install graphviz
$ brew install graphviz
After graphviz be installed sucessfully, the `dot` tool will be at /usr/local/bin/dot.
$ which dot
/usr/local/bin/dot
B. Modify the settings for PlantUML Extension
Open the `Settings` panel in VSCode: Code --> Preferences --> Settings.
Search "Plantuml" in the `Search settings` input box.
In the "PlantUML: Command Args" section, click the link: "Edit in settings.json".
Add the "-DGRAPHVIZ_DOT=/usr/local/bin/dot" to "plantuml.commandArgs" in the settings.json.
{ "window.zoomLevel": 2, "plantuml.commandArgs": [ "-DGRAPHVIZ_DOT=/usr/local/bin/dot" // Add this line ], }
Reference
1. Drawing a UML Diagram in the VS Code
Using PlantUML Extension in VS Code
https://towardsdatascience.com/drawing-a-uml-diagram-in-the-vs-code-53c2e67deffe
2. PlantUML With VSCode
https://www.rushis.com/plantuml-with-vscode/
3. Writing UML in VS Code using the PlantUML extension
https://blog.gecogeco.com/writing-uml-in-vs-code-using-the-plantuml-extension-362a9fef69d9
4. Create UML Diagrams using PlantUML
https://blog.jetbrains.com/dotnet/2020/10/06/create-uml-diagrams-using-plantuml/
5. Real World PlantUML
https://real-world-plantuml.com/
6. PlantUML extension for Visual Studio Code on Windows only working with sequence diagrams
https://stackoverflow.com/questions/53856294/plantuml-extension-for-visual-studio-code-on-windows-only-working-with-sequence
7. Book: PlantUML Language Reference Guide
标签:plantuml,com,local,PlantUML,UML.1,https,Tools,dot 来源: https://www.cnblogs.com/cwgk/p/16422495.html
本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享; 2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关; 3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关; 4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除; 5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。