You will have no troubles in specifying the layout. The layout works
on the current graph regardless of how you added nodes and edges to it.
On Jul 2, 2007, at 6:03 PM, Hani Abdeen wrote:
I will try this solution. It is not really bad but I think that I
will have a problem with the specification of the layout of the
nodes!! I am not sure now, so I will try to see.
May be I will find the time for enhance the BorderShape to allow
for drawing dashed lines.
> Hi Hani,
> At this moment, if you want to have different shape objects you would
> need to specify them manually for each node. To do that you need to
> traverse the collection manually and use node: instead of nodes: :
> aGroup do: [:each |
> view newShape ...
> view node: each
> This will result in having a different shape object for each node.
> However, I do agree that it would be nice to have a predicate that
> would allow you to specify a new shape for each node, it is just that
> I did not find yet a suitable solution. Ideas are welcome.
> On Jul 2, 2007, at 4:22 PM, Hani Abdeen wrote:
>> Using Mondrian easel I would giving the nodes of a given context
>> the possibility to have different shapes (e.g., Rectangle,
>> oval, ... "if we have other shapes??").
>> In other words, I need something like this:
>> view shape:[:node|
>> node condition1
>> ifFalse:[node condition2
>> ifFalse: [shape3]]].
>> view nodes: aGroup.
>> I have done that but I did not get what I search. How I can do that?
>> Hani ABDEEN
>> Student Phd thesis (Remodularization of Architectural Elements in
>> OO Softwares)
>> Laboratory LISTIC - Them LSE
>> Annecy - University de Savoie
>> Moose-dev mailing list
> "Every thing should have the right to be different."
> Moose-dev mailing list
Student Phd thesis (Remodularization of Architectural Elements in
Laboratory LISTIC - Them LSE
Annecy - University de Savoie