Le 28 oct. 2015 à 12:58, Tudor Girba <tudor@tudorgirba.com> a écrit :

Hi,

On Tue, Oct 27, 2015 at 11:30 AM, Anne Etien <anne.etien@univ-lille1.fr> wrote:
Hi,

For preparing my teaching course I would have love to have simple class hierarchy visualisations or even better, real UML representations.
Unfortunately, the UML like diagram from the Moose panel is not zoomable.

There is a bug in the rendering of actions in the main window.
 
It is by default in light grey saying that it is harder to read. It contains all the attributes and all the methods so it is difficult to put it in a single readable picture. Please make the experiment with the Famix-Core classes.
I was not able to do easily a class hierarchy with the name of the classes. After more than one hour, I gave up.
So it could be good, if we can have:
- a class hierarchy with only the names of the classes in boxes or not
- a class hierarchy with only attributes
- a class hierarchy with only methods
- the existing "UML" representation
- a real metamodel representation. Not as a system complexity representation, but as a real UML representation meaning with inheritance AND associations (those can be deduce from pragmas and now with the new MooseQuery API, we get all the methods to do it).

The associations are represented as first class in Fame, but the reason we do not show them is that we do not have a layout that supports such associations.

I will try to do it, when I will have a bit more time.

 
It should be possible to easily specify which classes we want to represent. 
It seems to me the minimum vital to do real analyses. 
In my course, I wanted to show I extended FAMIX for SQL purpose. It was so complex (because I don’t want not all FAMIX entity, but just the one from which the SQL classes inherit and without the methods) that once again I gave up.

You can do it programatically. Take a look at MooseFameView>>viewFamixCore to see how to show a selection of the classes from the default meta-model.

I think that for what you want, you should exhibit this 

I didn’t know that. That’s interesting.
I did what I wanted with Peter's script.

 
I don’t have enough time to better look for. But anyway, I find it sad that it is so hard even for people knowing (a bit) Moose of not being able to do that.

I am sad that you are sad. Sadness can be conducive for meditation, but it typically is not particularly promising for generating action :). So, let's snap out of our sadness and focus on what should be done next.

Don’t worry, I can’t stop using Moose, it is my day to day research tool. In the past I was sad seeing MooseChef, I did MooseQuery. So don’t worry, when I will find time, I probably will arrange that. And by the way, sometimes it is good to say that you are sad because the community is so great that there is always someone with a response to you to make you happy ;o)

Cheers,
Anne

Cheers,
Doru

 
Cheers,
Anne





_______________________________________________
Moose-dev mailing list
Moose-dev@list.inf.unibe.ch
https://www.list.inf.unibe.ch/listinfo/moose-dev



--

"Every thing has its own flow"
_______________________________________________
Moose-dev mailing list
Moose-dev@list.inf.unibe.ch
https://www.list.inf.unibe.ch/listinfo/moose-dev