On Mon, Sep 12, 2016 at 5:10 AM, Fuhrmanator <fuhrmanator(a)gmail.com> wrote:
I'd like my visualizations showing inheritance to be UML-like. That is, I'd
like arrow heads to be empty. I found some classes (RTEmptyArrowHead, etc.)
and thought they might be the answer. However, I can't get it to work in the
following code. Do those classes work?
I'm using Moose suite 6.0 on Windows 10.
| b line |
b := RTMondrian new.
b shape circle size: 3.
b nodes: RTShape withAllSubclasses.
"b shape arrowedLine withShorterDistanceAttachPoint."
line := RTEmptyArrow new.
b shape line withShorterDistanceAttachPoint.
I'm not a Roassal expert to provide a final answer,
but just to shortcut things in case there is a typo in the line above,
"line" is a variable and can't be sent as a message to the object
returned by #shape.
Are you getting any error message like "MessagenotUnderstood: XXXX>>line"
?
cheers -ben
b edgesFrom: #superclass.
b layout forceWithCharge: -500.
b build.
^ b view
<http://forum.world.st/file/n4915133/RTEmptyArrowAttempt.png>