Oh! Well spotted!
a := FAMIXClass new name: 'A'.
b := FAMIXClass new name: 'B'.
i := FAMIXInheritance new
superclass: a;
subclass: b.
view := RTMondrian new.
view nodes: { a . b }.
view edges object: i; connectFrom: #superclass to: #subclass.
view
With the current API, there is no way to make this work. We need to separate the
specification of objects to be traversed from the filtering mechanism.
What could it be then? Something like:
-=-=-=-=-=-=-=-=-=
view edges
searchObjectFrom: i;
connectFrom: #superclass to: #subclass
-=-=-=-=-=-=-=-=-=
I do not like the name #searchObjectFrom: but I do not see any better now.
That should be easy to implement…
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.