问题描述
我在我的组织文件中使用 PlantUML 来生成 UML 图。当我尝试通过
创建泛化关系时#+begin_src plantuml :file generalization-plantuml.png :exports none
Elective ^-- Subject
#+end_src
我收到错误
Dot executable: /opt/local/bin/dot
File does not exist.
Cannot find Graphiz. You should try
@startuml
testdot
@enduml
or
java -jar plantuml.jar -testdot
任何线索,我做错的地方。
我也试过
Elective <|-- Subject
但是,它也给出了同样的错误。
解决方法
如果你想导出类图,Graphviz 是plantuml.jar 的必备工具。