emacsorg-modeplantumlorg-babel

Org-mode Plant UML issue


I am using PlantUML inside my org file to generate UML diagrams. When I try to create generalization relationship by

#+begin_src plantuml :file generalization-plantuml.png :exports none
Elective ^-- Subject
#+end_src

I getting error as

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

Any clue, where I am doing wrong.

I also tried

Elective <|-- Subject

but, it also giving the same error.


Solution

  • If you mean to export class diagram, Graphviz is a must for plantuml.jar.

    You can refer to plantuml official site