rcasteran / jarvis4se

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

Context diagram with functional interfaces #38

Closed rcasteran closed 2 years ago

rcasteran commented 2 years ago

Impacted version jarvis4se version: 1.2.1

Describe the bug Jarvis shows in context diagram functional element that is not directly linked to the functional element for which the context diagram is requested

To Reproduce Execute the following commands:

%%jarvis
with test
F is a function
F1 is a function
F2 is a function
a is a data
F produces a
F1 consumes a
F2 consumes a
b is a data
F produces b
F2 consumes b

E is a functional element
E allocates F
E1 is a functional element
E1 allocates F1
E2 is a functional element
E2 allocates F2

I_E_E1 is a functional interface
I_E_E1 allocates a
E exposes I_E_E1
E1 exposes I_E_E1

show context E2

Jarvis generates the following context diagram that corresponds to E2, which is not OK.

Expected behavior Jarvis must show only E and E2 with the data a and b exchanged between F and F2

Desktop (please complete the following information):