On Thu, Jul 30, 2009 at 1:12 PM, Tudor Girba <girba@iam.unibe.ch> wrote:
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

Excllent! The problem, I think, is that when I evaluate MOReadme new umlFor: self myClassesToDraw

a Mondrian Canvas is open instead of a Mondrian Easel. How can I open a MondrianEasel with my classes so that it draws a UML class diagram ?


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

For objects you mean OBJECT. Everything is an object hahahaha. Sorry, I don't understand if I can only specify objects or also instance variables or methods.
 


Please let us know if you get more questions.

Thanks for the help!!!

Mariano
 

Cheers,
Doru

p.s. I think best would be to continue the conversation on the moose-dev@iam.unibe.ch
 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
> Pharo-project@lists.gforge.inria.fr
> 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
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project