Hi Hernan
Sorry for the late response, try this:
| b |
b := RTUMLClassBuilder new.
b
instanceVariables: #instVarNames;
methodselector: #selector;
methodsNames: #();
attributeselector: #yourself.
b attributeShape color: Color black.
b methodShape color: Color black.
b classNameShape color: Color black.
b lineShape color: Color black.
b boxShape borderColor: Color black.
b
addObjects: { Compiler . CompilationContext };
treeLayout;
build.
line := (RTArrowedLine new
color: Color black;
withHorizontalAttachPoint;
yourself)
edgeFrom: (b view elementFromModel: #compilationContext)
to: (b view elementFromModel: CompilationContext).
b view add: line.
b view
Please tell me what do you think
Cheers,
Milton
2016-02-07 12:55 GMT-04:00 Hernán Morales Durand <hernan.morales(a)gmail.com>om>:
Hello,
I am using Moose 6.0 to generate an UML diagram for a paper.
In the UML diagram below is there a way to specify a Line between the
compilationContext instance variable and CompilationContext class box?
| b |
b := RTUMLClassBuilder new.
b
instanceVariables: #instVarNames;
methodselector: #selector;
methodsNames: #();
attributeselector: #yourself.
b attributeShape color: Color black.
b methodShape color: Color black.
b classNameShape color: Color black.
b lineShape color: Color black.
b boxShape borderColor: Color black.
b
addObjects: { Compiler . CompilationContext };
treeLayout;
build;
view
Hernán
_______________________________________________
Moose-dev mailing list
Moose-dev(a)list.inf.unibe.ch
https://www.list.inf.unibe.ch/listinfo/moose-dev