plantuml: Convert a character to a 'plantuml' object

View source: R/plantuml.R

plantumlR Documentation

Convert a character to a plantuml object

Description

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

Usage

plantuml(x = NULL)

Arguments

x

character sting containing plantuml code.

Value

object of class plantuml which can be plotted.

Examples

## Not run: 
x <- '
(*) --> "Initialization"

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

## End(Not run)


rkrug/plantuml documentation built on June 3, 2023, 6:24 a.m.