For the record, I found the answer in
see the exemple from the method:
|b es |
b := RTMondrian new.
b shape circle size: 20; color: Color red trans.
b nodes: Collection withAllSubclasses.
b shape line color: Color blue trans.
es := b edges connectToAll: #dependentClasses.
b layout force charge: -500.
normalizeLineWidth: [ :from :to |
| outgoingRef |
outgoingRef := (from methods flatCollect: [ :cm | cm literals
select: [ :l | l class == GlobalVariable ] ]) groupedBy: #value.
(outgoingRef keys includes: to)
ifTrue: [ (outgoingRef at: to) size ]
ifFalse: [ 0 ] ] min: 0.2 max: 20.
On 05/11/2018 14:22, Nicolas Anquetil wrote:
> A question on normalizing edges in RTMondrian:
> I want to show the "strength" of the edges, computed according to some
> How can I normalize for example the color of the edge to reflect this
> "strength" ?
> Or maybe, normalize the "boldness" of the edge ?