[OT] Mondrian question

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

[OT] Mondrian question

Mariano Martinez Peck
First of all, let me know if there is a better place to ask questions related to Mondrian.

I am preparing my ESUG presentation and I am a bit lazy to some UML diagrams. I would like to do a reverse engineer of my code. The main problem is that most (if not all) UML software are with "java style" using () in methods and you cannot import smalltalk code. So, I want to give Mondrian a try.

I loaded it into Pharo and draw the classes I need, using something like this:

MOReadme new umlFor: self myClassesToDraw

The thing is that only "inherits" relationship is drawn. Now I wonder:

1) can I draw by hand associations and dependencies between classes ?

2) Is there a way to show only some methods instead of ALL of them ?

Thanks,

Mariano

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: [OT] Mondrian question

Tudor Girba-3
Hi Mariano,

Mondrian is an engine for scripting visualizations of arbitrary  
models. You start from a set of objects and you specify how you want  
to display them.

Instead of going for hardcoded scripts, I suggest taking a look at the  
scripting capabilities. Take a look here for an example (although the  
example is for VW it largely works the same in Pharo):
http://moose.unibe.ch/tools/mondrian/tour

So, to answer your questions:

1) yes, you just have to connect the proper nodes with the desired edges

2) yes, you can specify exactly what objects you want to be displayed

Please let us know if you get more questions.

Cheers,
Doru

p.s. I think best would be to continue the conversation on the [hidden email]
  mailing list.



On 30 Jul 2009, at 15:43, Mariano Martinez Peck wrote:

> First of all, let me know if there is a better place to ask  
> questions related to Mondrian.
>
> I am preparing my ESUG presentation and I am a bit lazy to some UML  
> diagrams. I would like to do a reverse engineer of my code. The main  
> problem is that most (if not all) UML software are with "java style"  
> using () in methods and you cannot import smalltalk code. So, I want  
> to give Mondrian a try.
>
> I loaded it into Pharo and draw the classes I need, using something  
> like this:
>
> MOReadme new umlFor: self myClassesToDraw
>
> The thing is that only "inherits" relationship is drawn. Now I wonder:
>
> 1) can I draw by hand associations and dependencies between classes ?
>
> 2) Is there a way to show only some methods instead of ALL of them ?
>
> Thanks,
>
> Mariano
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

--
www.tudorgirba.com

"It's not how it is, it is how we see it."


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project