| objects b |
objects := {
{ 'MyClass' . { #iv1 . #iv2 } . { #method1 . #method2 . #method3 }} .
{ 'MyClass2' . { #iv2 . #iv2 } . { #method1 . #method2 . #method4 }} }.
b := RTUMLClassBuilder new.
b attributeShape label if: [ :a | a = #iv1 ] color: Color red.
b
addObjects: objects;
classname: #first;
instanceVariables: #second;
methodsNames: #third;
methodselector: #yourself;
attributeselector: #yourself;
superclass: nil;
open