rkrug / plantuml

R package to build UML graphs using plantuml
https://rkrug.github.io/plantuml/index.html
GNU General Public License v3.0
76 stars 7 forks source link

Add plotting of yaml and json strings #32

Closed rkrug closed 1 year ago

rkrug commented 2 years ago

PlantUML has new diagram types. Of interest, and requiring special treatment, are yaml and json, as these essentially enclose in

@startyaml

THE YAML AS TEXT
@endyaml

and

@startjson

THE JSON AS TEXT
@endjson

A function

plantuml_from_yaml(x)
plantuml_from_json(x)

where x can be either a file name or the actual yaml / json text.

rkrug commented 1 year ago

Added in v0.6.7