Hey guys I'm new to UML and trying to draw on visual code. From help of google I downloaded plantuml extension, java enviornment, graphviz. But with this either google isn't helping. If anyone has idea about this error I'll really appreciate help.
Error image:
@startuml Hello World
actor Customer
Customer -> "login()" : username & password
"login()" -> Customer : session token
activate "login()"
Customer -> "placeOrder()" : session token, order info
"placeOrder()" -> Customer : ok
Customer -> "logout()"
"logout()" -> Customer : ok
deactivate "login()"
@enduml
If I search for
vscode error write epide plantuml
using google I find qjebbs/vscode-plantuml giving a fix under Windows :So try it if you didn't already.
If you are not on Windows please indicate your OS though the tags on the question
Out of that very probably the sequence diagram you define is not the one you want, for instance some messages must be answer, and the alone OccurrenceSpecification is wrong.
The diagram produced by your definition is :