ruml: Generate plantuml data.

make_plantuml_relationsR Documentation

Generate plantuml data.

Description

Generate plantuml code for the a class in a package, or for a XML schema.

Usage

make_plantuml_relations(x)

make_plantuml_class_description(x, generics)

make_plantuml_code(x, pkg, generics = pkg_get_all_methods(pkg))

Arguments

x

The name of a class stated as a (length-one) character vector, or the path of a xsd file.

generics

The generic methods to consider.

pkg

An (unquoted) package name.

Details

make_plantuml_relations will generate a character vector with all relations between super- and subclasses.

make_plantuml_class_description will

See the https://xsdata.readthedocs.io documentation site.

Examples

make_plantuml_relations("count")
library(polmineR)
plantuml_code <- make_plantuml_code("corpus", pkg = polmineR)

PolMine/ruml documentation built on April 8, 2023, 7:26 a.m.