rtmondrian regression?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

rtmondrian regression?

Tudor Girba-2
Hi,

I am playing a bit with RTMondrian and I cannot seem to be able to connect nested nodes. I am trying this:

view := RTMondrian new.
view nodes: (1 to: 2) forEach: [ :each |
        view node: each * 10 ].
view edges source: {10->20} connectFrom: #key to: #value.
view

Given the advanced time, it might well be that I am missing something obvious. Or is it a regression?

Cheers,
Doru


--
www.tudorgirba.com
www.feenk.com

"We are all great at making mistakes."








_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.list.inf.unibe.ch/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: rtmondrian regression?

abergel
You need to explicitly say which objects you wish to consider.

view := RTMondrian new.
view nodes: (1 to: 2) forEach: [ :each |
        view node: each * 10 ].

view shape line color: Color red.
view edges
        objects: { 10 . 20 };
        source: {10->20} connectFrom: #key to: #value.
view


> On Oct 30, 2016, at 9:19 PM, Tudor Girba <[hidden email]> wrote:
>
> Hi,
>
> I am playing a bit with RTMondrian and I cannot seem to be able to connect nested nodes. I am trying this:
>
> view := RTMondrian new.
> view nodes: (1 to: 2) forEach: [ :each |
> view node: each * 10 ].
> view edges source: {10->20} connectFrom: #key to: #value.
> view
>
> Given the advanced time, it might well be that I am missing something obvious. Or is it a regression?
>
> Cheers,
> Doru
>
>
> --
> www.tudorgirba.com
> www.feenk.com
>
> "We are all great at making mistakes."
>
>
>
>
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.list.inf.unibe.ch/listinfo/moose-dev

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.list.inf.unibe.ch/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: rtmondrian regression?

Tudor Girba-2
Hi Alex,

This is a conceptual regression.

The whole point of the Mondrian API was to allow someone to create a graph easily without having to think much. This goes in the opposite direction. The typical case is for me to connect to any object from the scene. It is the exception for me to restrict the objects to consider.

Would you agree to change this?

Cheers,
Doru


> On Oct 31, 2016, at 3:35 PM, Alexandre Bergel <[hidden email]> wrote:
>
> You need to explicitly say which objects you wish to consider.
>
> view := RTMondrian new.
> view nodes: (1 to: 2) forEach: [ :each |
> view node: each * 10 ].
>
> view shape line color: Color red.
> view edges
> objects: { 10 . 20 };
> source: {10->20} connectFrom: #key to: #value.
> view
>
>
>> On Oct 30, 2016, at 9:19 PM, Tudor Girba <[hidden email]> wrote:
>>
>> Hi,
>>
>> I am playing a bit with RTMondrian and I cannot seem to be able to connect nested nodes. I am trying this:
>>
>> view := RTMondrian new.
>> view nodes: (1 to: 2) forEach: [ :each |
>> view node: each * 10 ].
>> view edges source: {10->20} connectFrom: #key to: #value.
>> view
>>
>> Given the advanced time, it might well be that I am missing something obvious. Or is it a regression?
>>
>> Cheers,
>> Doru
>>
>>
>> --
>> www.tudorgirba.com
>> www.feenk.com
>>
>> "We are all great at making mistakes."
>>
>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.list.inf.unibe.ch/listinfo/moose-dev
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.list.inf.unibe.ch/listinfo/moose-dev

--
www.tudorgirba.com
www.feenk.com

“The smaller and more pervasive the hardware becomes, the more physical the software gets."

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.list.inf.unibe.ch/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: rtmondrian regression?

Kjell Godo
In reply to this post by abergel
thank you so much for this 
     this is it exactly what i have wanted
     several times    i think    great

On Monday, October 31, 2016, Alexandre Bergel <[hidden email]> wrote:
You need to explicitly say which objects you wish to consider.

view := RTMondrian new.
view nodes: (1 to: 2) forEach: [ :each |
        view node: each * 10 ].

view shape line color: Color red.
view edges
        objects: { 10 . 20 };
        source: {10->20} connectFrom: #key to: #value.
view


> On Oct 30, 2016, at 9:19 PM, Tudor Girba <<a href="javascript:;" onclick="_e(event, &#39;cvml&#39;, &#39;tudor@tudorgirba.com&#39;)">tudor@...> wrote:
>
> Hi,
>
> I am playing a bit with RTMondrian and I cannot seem to be able to connect nested nodes. I am trying this:
>
> view := RTMondrian new.
> view nodes: (1 to: 2) forEach: [ :each |
>       view node: each * 10 ].
> view edges source: {10->20} connectFrom: #key to: #value.
> view
>
> Given the advanced time, it might well be that I am missing something obvious. Or is it a regression?
>
> Cheers,
> Doru
>
>
> --
> www.tudorgirba.com
> www.feenk.com
>
> "We are all great at making mistakes."
>
>
>
>
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> <a href="javascript:;" onclick="_e(event, &#39;cvml&#39;, &#39;Moose-dev@list.inf.unibe.ch&#39;)">Moose-dev@...
> https://www.list.inf.unibe.ch/listinfo/moose-dev

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



_______________________________________________
Moose-dev mailing list
<a href="javascript:;" onclick="_e(event, &#39;cvml&#39;, &#39;Moose-dev@list.inf.unibe.ch&#39;)">Moose-dev@...
https://www.list.inf.unibe.ch/listinfo/moose-dev

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.list.inf.unibe.ch/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: rtmondrian regression?

abergel
In reply to this post by Tudor Girba-2
Hi Doru,

Yes, it was really a regression.
This is fixed in Roassal2-AlexandreBergel.1466

Cheers,
Alexandre

> On Oct 30, 2016, at 9:19 PM, Tudor Girba <[hidden email]> wrote:
>
> Hi,
>
> I am playing a bit with RTMondrian and I cannot seem to be able to connect nested nodes. I am trying this:
>
> view := RTMondrian new.
> view nodes: (1 to: 2) forEach: [ :each |
> view node: each * 10 ].
> view edges source: {10->20} connectFrom: #key to: #value.
> view
>
> Given the advanced time, it might well be that I am missing something obvious. Or is it a regression?
>
> Cheers,
> Doru
>
>
> --
> www.tudorgirba.com
> www.feenk.com
>
> "We are all great at making mistakes."
>
>
>
>
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.list.inf.unibe.ch/listinfo/moose-dev

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.list.inf.unibe.ch/listinfo/moose-dev