rcasteran / jarvis4se

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

Adding new parent to a function does not update parent inputs/outputs according to function inputs/outputs #87

Closed rcasteran closed 5 months ago

rcasteran commented 6 months ago

Impacted version jarvis4se version: 1.3.5

Describe the bug Given a function F1 with any inputs and outputs. Adding a new parent F to F1 does not update F inputs/outputs according to F1 inputs/outputs

To Reproduce Please execute the following commands:

%%jarvis
with test
F1 is a function
A is a data
B is a data
F1 consumes A
F1 produces B

show context F1

And then the following commands:

%%jarvis
with test
F is a function
F1 composes F

show context F

Context diagram for the function "F" shows F but without "A" as input for "F" and "B" as output for "F"

Expected behavior Context diagram for the function "F" must show "A" as input for "F" and "B" as output for "F"

Screenshots None

Desktop (please complete the following information):