Awesome
MermaidPharo
You can use mle to generate MermaidJS diagram from Pharo.
Installation
Metacello new
githubUser: 'badetitou' project: 'MermaidPharo' commitish: 'main' path: 'src';
baseline: 'MermaidPharo';
load
Example
P2M new
pharoClasses: MeEntity allSubclasses;
generateClassDiagram
Moose Example
After loading the moose
group, a common usage is:
diagram := M2M new
metamodel: GLHModel resetMetamodel;
withoutBlock: [ :class | (class name endsWith: #Model)
or: [ class package name ~= GLHModel class package name
or: [ (class name endsWith: #Entity) ] ]];
generateClassDiagram.
The without block enable to only select the interesting entities of the metamodel