But I think that simon does not want to open a new canvas just force
system to redraw.
When one press 'generate' in an easel, a new canvas is created. The visualization
is defined by means of side effect in the view, done with primitives like #nodes:
#nodes:forEach: #edges:from:to:
If one wants to recreate the view, then these methods have to be executed again. In the
easel, we evaluate the text entered by the user.
Alexandre
On Jul 7, 2010, at 4:36 PM, Alexandre Bergel wrote:
> Hi Simon,
>
>> It's really cumbersome to make it work in my case due to the structure of the
viz. At best I got two views, the new one and the old one side by side.
>
> Ok. I added a removeNode: method in MOViewRenderer.
> Have a look at testRemoveNodesAndEdges
>
>> All I need is simply to tell the view to redraw itself from scratch. I guess need
a Mondrian guru.
>
> Johan expressed some time ago the same wish. If you want to execute the visualization
script, then I recommend to create a new MOCanvas. You can have a look at
MOEasel>>generate.
>
> Cheers,
> Alexandre
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel
http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> Moose-dev(a)iam.unibe.ch
>
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.