Skip to content

FamixUMLRoassalBackend does not show all relevant associations when displaying CoastersCollector example (using image Moose12-Pharo12) #1070

@bart-at-qqdatafruits

Description

@bart-at-qqdatafruits

Hi,

I examined https://github.com/badetitou/CoastersCollector to have a look at the modelling capabilities of Moose.

The approach is explained at https://modularmoose.org/blog/2021-02-04-coasters/

The CI section of the example repository uses FamixUMLPlantUMLBackend for visualization https://github.com/badetitou/CoastersCollector/tree/master/ci

As Plant seems to be hidden behind a cookie-wall I tried FamixUMLRoassalBackend, a solution more native to pharo.

I assumed the visualization of CoasterCollection using the following
|documentor| documentor := FamixUMLDocumentor new. documentor model: CCModel; excludeClasses: { CCModel. CMModel. WModel. WEntity . CCEntity . CCTEntityCreator }; generate. FamixUMLRoassalBackend new export: documentor umlEntities.
would show the association relations (lines) between Couster, country, Creator and Shape, similar to the below picture

Image

My observation is that these lines where not there.

My question to the user-community and maintainers is:

  • do you agree or disagree that the lines should be there
  • do you agree it would be useful to have associations visualized in addition to aggregation and inheritance

I will try to share my attempt to add the lines (without indication of cardinality) as a pull request.

I think the associations would be interesting to have to assist in conceptual and logical modelling

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions