eclipse-gemoc / eclipse-gemoc/gemoc-studio-modeldebugging

Variable view does not scale correctly with models with a lot of new RTD

Open
#87 3 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
Java
Stars
6
Forks
14
PR merge metrics
No merged PRs in 30d

Description

The current Variable view is flat. It displays all Runtime data at the root of the view.
This doesn't scale correctly for languages with a lot of RTD or that create a lot of new RTD.

for example in the Logo (complete code in [dvojtise/mde-crashcourse-logo](https://github.com/dvojtise/mde-crashcourse-logo/tree/master/part3-mmfirst-solution))
![espace de travail 1_093](https://user-images.githubusercontent.com/661468/52283029-080b4180-2962-11e9-9323-826c32dfcba9.png)
The variable view grows by adding new segments to the drawing board. It is impossible to interpret the data displayed there especially after a high number of steps.

I suggest that the view should display only RTD which are not already contained (directly or indirectly) by another RTD. Thus the view should display only "root" RTD and use the nesting to display the rest.

Note1: the yellow highlighting about the last modified values should unfold the tree in order to focus on the appropriate data.
Note2: the same problem also occurs on the Multidimentionnal timeline which should probably take a similar nesting approach

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the scaling problem in the Variable view with the linked Logo example, then inspect the Variable view and Multidimensional timeline entry points. Done means displaying only root RTD values with nested descendants, unfolding the tree for yellow-highlighted changes, and applying a similar nesting approach to the timeline.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.