rcasteran / jarvis4se

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

Chain with composite function does not work #82

Closed rcasteran closed 1 year ago

rcasteran commented 1 year ago

Impacted version jarvis4se version: 1.3.4

Describe the bug Jarvis does not handle the chain on composite function properly.

To Reproduce Please execute the following command:

%%jarvis
with test
F1 is a function
F12 is a function
F12 composes F1
F13 is a function
F13 composes F1
F14 is a function
F14 composes F1
F141 is a function
F141 composes F14
F142 is a function
F142 composes F14

a is a data
F1 consumes a
F12 consumes a
b is a data
F12 produces b
F13 consumes b
c is a data
F13 produces c
F14 consumes c
F141 consumes c
d is a data
F141 produces d
F142 consumes d
e is a data
F142 produces e
F14 produces e
F1 produces e

Then please execute the following command to show the chain between internal functions of F1:

%%jarvis
with test
show chain F12, F13, F141, F142

Jarvis displays properly F141 and F142 as being part of F14, and F12 and F13 as being part of F1. But it does not displays F14 as being part of F1

Expected behavior Jarvis must display F14 as being part of F1

Screenshots None

Desktop (please complete the following information):