You can try all of the below examples on http://www.plantuml.com/plantuml
!include https://raw.githubusercontent.com/bharatrajagopalan/plantuml-styles/master/sequence_diagram_skin.pu
c->d: lets eat
activate c
activate d
d->d: do i want to eat
alt if d wants to eat
d-->c: Yes- lets go
else if d doesn't want to eat
d-->c: naaah
deactivate d
end
deactivate c
!include https://raw.githubusercontent.com/bharatrajagopalan/plantuml-styles/master/activity_skin.pu
@startuml
start
if (Graphviz installed?) then (yes)
:process all\ndiagrams;
else (no)
:process only
__sequence__ and __activity__ diagrams;
endif
stop
!include https://raw.githubusercontent.com/bharatrajagopalan/plantuml-styles/master/activity_skin.pu
|A|
:test;
|B|
:test2;
|C|
:test3;
!include https://raw.githubusercontent.com/bharatrajagopalan/plantuml-styles/master/activity_skin-ink.pu
|A|
:test;
|B|
:test2;
|C|
:test3;