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

# S3 method for vma
as.plantuml(x, complete = FALSE, nm = NULL, ...)

Arguments

x

character sting containing plantuml code.

complete

if TRUE, enclose the plantuml statements in "@startuml" and "@enduml"

nm

normally not for user - TODO I have to check... embarassing

...

additional arguments - not used here

Value

object of class plantuml which can be plotted.

Examples

if (FALSE) {
 x <- '
 @startuml --> "First Activity" -->[You can put also labels] "Second Activity"
 -->
 @enduml
 '
 x <- plantuml( x )
 plot( x ) }