Convert a character to a plantuml object. This can be plotted.

plantuml(x = NULL)

Arguments

x

character sting containing plantuml code.

Value

object of class plantuml which can be plotted.

Examples

if (FALSE) {
x <- '
(*) --> "Initialization"

if "Some Test" then
-->[true] "Some Activity"
--> "Another activity"
-right-> (*)
else
  ->[false] "Something else"
-->[Ending process] (*)
endif
'
x <- plantuml( x )
plot( x )
}