rcasteran / jarvis4se

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

Consumption / production consistency check is not recursive #31

Closed rcasteran closed 2 years ago

rcasteran commented 2 years ago

Impacted version jarvis4se version: 1.1.3

Describe the bug Jarvis is able to detect production / consumption of the first level of function childs that is not defined at the function itself, and create the missing production / consumption accordingly. But this does not work for the next child level

To Reproduce Execute the followings commands:

%%jarvis
with test
F1 is a function
F1a is a function
F1a1 is a function
F1 is composed of F1a
F1a is composed of F1a1
a is a data
F1a produces a
b is a data
F1a consumes b
c is a data
F1a1 produces c
d is a data
F1a1 consumes d

show context F1

Jarvis generates the following diagram, showing a and b, but not c and d.

Jarvis generates also the XML file indicating that :

Expected behavior Jarvis must show c and d in this diagram Jarvis must generate a XML file indicating that c is produced by F1 and d is consumed by F1

Desktop (please complete the following information):