rcasteran / jarvis4se

JARVIS for Systems Engineers
https://regis-casteran.gitbook.io/jarvis4se/
MIT License
3 stars 1 forks source link

Functional interface inheritance: context diagram #68

Closed rcasteran closed 1 year ago

rcasteran commented 1 year ago

Impacted version jarvis4se version: 1.3.2

Describe the bug Context diagram displays data even if these data are inherited by the functional interface

To Reproduce Execute the following commands:

%%jarvis
with test
E1 is a functional element
E2 is a functional element
E3 is a functional element

F1 is a function
E1 allocates F1
F2 is a function
E2 allocates F2
F3 is a function
E3 allocates F3

a is a data
F1 produces a
F2 consumes a
F3 consumes a

I1 is a functional interface
I1 allocates a
E1 exposes I1
E3 exposes I1

I2 is a functional interface
I2 inherits I1
E1 exposes I2
E2 exposes I2

show context E2

Expected behavior Jarvis shall not show the data "a" in the context diagram of E2: only the interface "I2" shall be shown

Note : Jarvis does not display the data "a" neither in the context diagram of E1 nor in the context diagram of E3. This behavior is correct.

Screenshots None

Desktop (please complete the following information):