nomnoml provides an R interface to the nomnoml.js library for creating UML diagrams using simple text-based syntax. It allows developers to generate diagrams programmatically in R scripts or R Markdown documents.
The package supports multiple association types (dependency, generalization, composition, aggregation), numerous classifier types (abstract, database, actor, usecase, etc.), and extensive customization through directives and styles. It can render diagrams as PNG or SVG and integrates with R Markdown through custom chunk rendering. The package is useful for visualizing code architecture, database schemas, and system relationships without requiring external diagramming tools.