Re: [Pharo-users] Named edges and nodes in a Roassal graph

2014-11-24 Thread Offray Vladimir Luna Cárdenas
Thanks Peter and Alexandre for your quick answers and interest, First, there is now a blog post with your solution and the lessons learned on our workshop about the dynamics of it and some improvements to be done to agile visualizations here: http://mutabit.com/offray/static/blog/output/posts

Re: [Pharo-users] Named edges and nodes in a Roassal graph

2014-11-23 Thread Alexandre Bergel
Yes, you are right. This is an option that should be provided by GT I think. We are working on that. Alexandre > On Nov 22, 2014, at 9:00 PM, Offray Vladimir Luna Cárdenas > wrote: > > Hi Peter, > > Thanks. Working now. I will try to solve the issue and post in the meet up > and here on th

Re: [Pharo-users] Named edges and nodes in a Roassal graph

2014-11-23 Thread Alexandre Bergel
> People in the workshop were interested in Roasal/Pharo but there where some > important lessons: Yes, it takes time. Thanks for trying! This is very important! > - There is a lack of information on the basic issues (like this one). Agile > Visualization is a good start as the Object Profile g

Re: [Pharo-users] Named edges and nodes in a Roassal graph

2014-11-23 Thread Alexandre Bergel
This is done in the Graph builder. If you are not using it, then do not worry. At the end, it simply use @RTLabelled Alexandre > On Nov 22, 2014, at 6:49 PM, Offray Vladimir Luna Cárdenas > wrote: > > By the way, I have found exampleLabelledGraph but I don't understand where > you add indiv

Re: [Pharo-users] Named edges and nodes in a Roassal graph

2014-11-23 Thread Alexandre Bergel
Yeah, this example had been broken for quite some time. This is now fixed! Cheers, Alexandre > On Nov 22, 2014, at 6:49 PM, Peter Uhnák wrote: > > Check out RTRoassalExample>>exampleArrowedAndLabelledLine , it should > demonstrate the functionality for both elements and edges. You can also us

Re: [Pharo-users] Named edges and nodes in a Roassal graph

2014-11-23 Thread Alexandre Bergel
Hi Offray, The chapter about Roassal contains several examples on how to name nodes: https://dl.dropboxusercontent.com/u/31543901/AgileVisualization/Roassal/0104-Roassal.html To label the nodes, the simplest way is to use @ RTLabelled. (However, you need first to add the element in the view befo

Re: [Pharo-users] Named edges and nodes in a Roassal graph

2014-11-23 Thread Peter Uhnák
I think I know what you mean... but wasn't that just a demonstration of Roassal-based menu? Also there is always PNG export available (at least in the Moose image, in Pharo the whole browser is not working properly but I think someone is fixing that) . On Sun, Nov 23, 2014 at 7:31 PM, Offray Vlad

Re: [Pharo-users] Named edges and nodes in a Roassal graph

2014-11-23 Thread Offray Vladimir Luna Cárdenas
Hi, El 22/11/14 a las #4, Peter Uhnák escribió: Would be nice to have tools for all Roassal visualizations like export as svg. Some demos have them, some other don't, so other casual **users** has a bigger learning curve to adopt what they are seeing and use it in another co

Re: [Pharo-users] Named edges and nodes in a Roassal graph

2014-11-22 Thread Peter Uhnák
> > Would be nice to have tools for all Roassal visualizations like export as > svg. Some demos have them, some other don't, so other casual **users** has > a bigger learning curve to adopt what they are seeing and use it in another > context. Roassal supports PNG, SVG and HTML export. What do you

Re: [Pharo-users] Named edges and nodes in a Roassal graph

2014-11-22 Thread Peter Uhnák
Hmm, maybe that's the reason why there is separate class for ArrowedLine. Essentially both RTElement and RTEdge has method 'model:' (RTShapedObject>>model:) where you can put a string which is then used by RTLabelled. (You can actually pass any object, but then you will have to modify it to send i

Re: [Pharo-users] Named edges and nodes in a Roassal graph

2014-11-22 Thread Offray Vladimir Luna Cárdenas
Hi Peter, Thanks. Working now. I will try to solve the issue and post in the meet up and here on the list. Nice to help catching up the bug. Offray Ps: : When I said Would be nice to have tools for all Roassal visualizations like export as svg. Some demos have them, some other don't, so ot

Re: [Pharo-users] Named edges and nodes in a Roassal graph

2014-11-22 Thread Peter Uhnák
It seems there is an issue with the arrow head, I'll try to investigate it for now try running it without it === v := RTView new. e1 := (RTEllipse new size: 20) elementOn: 'hello'. e2 := (RTEllipse new size: 20) elementOn: 'world'. e1 @ RTDraggable. e2 @ RTDraggable. l

Re: [Pharo-users] Named edges and nodes in a Roassal graph

2014-11-22 Thread Offray Vladimir Luna Cárdenas
Hi, El 22/11/14 a las #4, Peter Uhnák escribió: Check out RTRoassalExample>>exampleArrowedAndLabelledLine , it should demonstrate the functionality for both elements and edges. You can also use TRConstraint, but that is a tad bit more advanced. Peter Thanks, I have seen it, but the demo is b

Re: [Pharo-users] Named edges and nodes in a Roassal graph

2014-11-22 Thread Peter Uhnák
Check out RTRoassalExample>>exampleArrowedAndLabelledLine , it should demonstrate the functionality for both elements and edges. You can also use TRConstraint, but that is a tad bit more advanced. Peter

Re: [Pharo-users] Named edges and nodes in a Roassal graph

2014-11-22 Thread Offray Vladimir Luna Cárdenas
By the way, I have found exampleLabelledGraph but I don't understand where you add individual labels to nodes or edges. Thanks, Offray El 22/11/14 a las #4, Offray Vladimir Luna Cárdenas escribió: Hi all. We're now in a small workshop about data narratives and I'm showing some people Roassal