Hi Wm,

I fixed a bug, so please update Roassal 

The easiest way to update the width of lines is to use the RTMetricNormalizer (because I guess that you need most of the to normalize the width). Here is an example:

b := RTMondrian new. 
b shape circle.
b nodes: (1 to: 50).

b shape line color: Color gray trans.
b edges connectTo: [ :v | v * 2 ].
b layout force.

b normalizer 
normalizeSize: #yourself;
normalizeColor: #yourself;
alphaColor: 0.4;
normalizeLineWidth: [ :fromValue :toValue | fromValue + toValue ] min: 1 max: 5.


While answering to your email I found some bugs. Please update Roassal by evaluating the code: RTUpdateRoassalPlugin new execute

The script above produces the following picture:

Let us know how it goes


Alexandre Bergel  http://www.bergel.eu

On Jan 31, 2017, at 12:03 AM, Wm Annis <wm.annis@gmail.com> wrote:

As part of a larger project I'm trying to recreate some functionality
that can be seen here:


At this point I can slurp the data out of a database and get a graph
with Mondrian.  What I cannot figure out is how I might change the
styling on the edges to represent weights.  All I have found so far
is RTEdgeBuilder>>#label:, which is better than nothing, but is sort
of a mess visually in complex graphs. Changing edge width would be

I'm still working my brain around how Smalltalk does things, so my
apologies in advance if I'm missing something obvious.


View this message in context: http://forum.world.st/Mondrian-edge-styling-tp4932317.html
Sent from the Moose mailing list archive at Nabble.com.
Moose-dev mailing list