rcasteran / jarvis4se

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

Context diagram with functional elements only #39

Closed rcasteran closed 2 years ago

rcasteran commented 2 years ago

Impacted version jarvis4se version: 1.2.1

Describe the bug Jarvis does not display a context diagram with functional elements linked together with functional interfaces, but without allocated functions

To Reproduce Execute the following commands:

%%jarvis
with test
E is a functional element
E1 is a functional element
I_E_E1 is a functional interface
E exposes I_E_E1
E1 exposes I_E_E1

show context E1

Jarvis does not display any context diagram and answers: "No function allocated to E1 (no display)"

Expected behavior Jarvis must display a context diagram showing E and E1 connected with I_E_E1

Desktop (please complete the following information):

rcasteran commented 2 years ago

Adding the following commands

F is a function
E allocates F
F1 is a function
E1 allocates F1

Allows to obtain the following context diagram showing E1 only

I think that the root cause is the same as without allocated functions