moosetechnology / MooseIDE

New Tools for Moose
MIT License
8 stars 19 forks source link

Architectural Map - Layout issue while expanding #937

Open ISayarLu opened 10 months ago

ISayarLu commented 10 months ago

If you have two entities in the architectural Map and want to expand one of them. The other disappears behind the expanded one. It is impossible to target it without collapsing the expanded entities.

alesshosry commented 9 months ago

With @mihajasua, we created a model of 3 Smalltalk packages: Hermes, Hermes-Extensions and HeuristicCompletion-Model. We realized that, if the entity expanded, doesn't contain many entities, this issue doesn't occur. However, when we expanded a large one, like Hermes package, others become hidden (screenshot attached).

Screenshot 2023-11-24 at 11 08 46 AM

The expanded entity can be dragged and dropped, or collapsed to be able to view other entities. However, what else would you suggest ? Something like max size and scrollbar ?

NicolasAnquetil commented 9 months ago

when we expand an entity, of course it can overlap some other entities. Is that the issue ? If so, I don't see what we can do. We do not want to relayout automatically everything because the positions may have a semantic meaning (like putting the entities in layers and we don't want to loose that.

Do you have a specific scenario and behaviour that you would like?

jecisc commented 7 months ago

IMO when expanding an entity we should recompute the layout to update the place of the entities