Hi all,
I’d like to report a bug in Roassal: RTDirectedLine does not support the changing of its color. Below is Alex’ example of edge color changing where I substituted RTDirectedLine for RTLine. You will see that the ‘change color’ block no longer works.
| v es edges shape | v := RTView new. es := (RTEllipse new size: 20; color: (Color blue alpha: 0.4)) elementsOn: (1 to: 20). RTCircleLayout new initialRadius: 100; on: es. v addAll: es.
shape := RTDirectedLine new color: Color red. edges := RTEdge buildEdgesFromObjects: (1 to: 20) from: [ :value | value // 2 ] to: #yourself using: shape inView: v.
v canvas addMenu: 'change color' callback: [ edges do: [ :e | e trachelShape color: Color random ]. v signalUpdate ]. v open
---> Save our in-boxes! http://emailcharter.org <---
Johan Fabry - http://pleiad.cl/~jfabry PLEIAD lab - Computer Science Department (DCC) - University of Chile