Adding dependencies in the system complexity view

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

Adding dependencies in the system complexity view

Alexandre Bergel
Hi!

As you may know, Mondrian offers additional interaction mechanisms.  
The script below shows a system complexity, and by waving the mouse  
over a node, clientClasses will be connected. When the mouse leaves  
the node, the edges disappear.

-=-=-=-=-=-=-=-=-=-=-=-=
view shape rectangle
        width: #numberOfAttributes;
        height: #numberOfMethods;
        linearFillColor: #numberOfLinesOfCode within: classGroup.

view interaction
        action: #inspect;
        whenEnteringUpdateNode:
                [:node | view edges: {node} from: #yourself toAll: #clientClasses ]
        withLayoutUpdate: false.

view nodes: classGroup.
view edgesFrom: #superclass.
view treeLayout
-=-=-=-=-=-=-=-=-=-=-=-=

This mechanism is useful I think, however, the block you provide in  
#whenEnteringUpdateNode: should be error free. Else the image may hang  
(this is a well known Morphic problem, I will work on it one day).

Do you like this view? Would it make sense to make it as default in  
Moose? Any comment?

Cheers,
Alexandre





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






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

Picture 8.png (149K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Adding dependencies in the system complexity view

Tudor Girba
Hi,

It's pretty cool, and it can certainly be used, but I would not want  
this as a default behavior in the system complexity.

Maybe it would be nice to have just the highlighting in the system  
complexity view.

Cheers,
Doru

On 28 Apr 2010, at 23:22, Alexandre Bergel wrote:

> Hi!
>
> As you may know, Mondrian offers additional interaction mechanisms.  
> The script below shows a system complexity, and by waving the mouse  
> over a node, clientClasses will be connected. When the mouse leaves  
> the node, the edges disappear.
>
> -=-=-=-=-=-=-=-=-=-=-=-=
> view shape rectangle
> width: #numberOfAttributes;
> height: #numberOfMethods;
> linearFillColor: #numberOfLinesOfCode within: classGroup.
>
> view interaction
> action: #inspect;
> whenEnteringUpdateNode:
> [:node | view edges: {node} from: #yourself toAll: #clientClasses ]
> withLayoutUpdate: false.
>
> view nodes: classGroup.
> view edgesFrom: #superclass.
> view treeLayout
> -=-=-=-=-=-=-=-=-=-=-=-=
>
> This mechanism is useful I think, however, the block you provide in  
> #whenEnteringUpdateNode: should be error free. Else the image may  
> hang (this is a well known Morphic problem, I will work on it one  
> day).
>
> Do you like this view? Would it make sense to make it as default in  
> Moose? Any comment?
>
> Cheers,
> Alexandre
>
>
> <Picture 8.png>
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
www.tudorgirba.com

"Being happy is a matter of choice."



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