Hi Natalia, try to use RTUMLClassBuilder
| b |
b := RTUMLClassBuilder new.
b methodShape label
if: [ :method | method selector beginsWith: 'init' ] color: Color green;
if: [ :method | method selector beginsWith: 'with' ] color: Color red.
b attributeShape label
if: [ :attribute | attribute beginsWith: 'a' ] color: Color blue.
b addObjects: RTShape withAllSubclasses.
b treeLayout.
b view setDefaultMenu.
b build.
^ b view
Cheers,
Milton
2015-06-20 12:27 GMT-04:00 Natalia Tymchuk <natalia.tymchuk(a)unikernel.net>et>:
Hi.
I want to build a UML class diagram in moose. Can anybody tell me how to
do it?
Thanks,
Best regards,
Natalia
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev