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."
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 tudor@tudorgirba.com 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 Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev
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 alexandre.bergel@me.com 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 tudor@tudorgirba.com 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 Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Moose-dev mailing list Moose-dev@list.inf.unibe.ch 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."
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 alexandre.bergel@me.com 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 <tudor@tudorgirba.com
javascript:;> 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 Moose-dev@list.inf.unibe.ch javascript:; https://www.list.inf.unibe.ch/listinfo/moose-dev
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Moose-dev mailing list Moose-dev@list.inf.unibe.ch javascript:; https://www.list.inf.unibe.ch/listinfo/moose-dev
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 tudor@tudorgirba.com 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 Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev