It would be great to write instead:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 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.
b shape arrowedLine color: Color black; withHorizontalAttachPoint. b edges connectFrom: 'compilationContext' to: CompilationContext.
b -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Alexandre
On Feb 16, 2016, at 11:01 AM, milton mamani akevalion@gmail.com wrote:
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@gmail.com: 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@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev
Moose-dev mailing list Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev