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 8 forks source link

R6 class support #2

Open samssann opened 5 years ago

samssann commented 5 years ago

Currently this project does not support R6 classes. This would be a great addition.

barryrowlingson commented 6 months ago

I have a package on gitlab that generates PlantUML for R6 class generators: https://gitlab.com/b-rowlingson/R6toPlant

Very beta, very undocumented. Was written for a specific task (make class diagram for someone's package) which it did, but then I started to Think Bigger, like diagrams with classes across multiple R packages, allowing injection of custom bits of PlantUML (for styling etc), and so on. All thing I'd do if I had time...

But yes, I could also depend on this package to process the UML files to images - at the moment the user is left to their own devices and needs to run plantuml on the generated file themselves.

rkrug commented 6 months ago

That sounds great.

If you take a look at the 'as.plantuml,' you should get an idea how this works.