Closed moodymudskipper closed 4 years ago
This is handled by https://github.com/moodymudskipper/funflow/issues/30 .
numbering edges in for loops is a technical possibility but will be quite hard and not sure if the value is there.
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary.
This was the big idea but got lazy and on to other projects.
It's developped at the end of : https://github.com/moodymudskipper/funflow/issues/1 , but let's start over :
with_flow({expr})
creates the chart's data, then uses it to run the code and tick the edges and nodes that are passed through, on exit we have an highlighted chart, and the expression and draws on the chart what path was taken taken.with_flow({expr}, browse = TRUE)
displays the chart step by step, and prints instruction as browser() would, if it can behave like browser in the console, that would be amazing, but not sure if possibleusing_flow$fun(...)
does the same 2 above for function calls.We could just check the top level, or we could go through loop too, turn edges green when they're browsed, and add a number to edges out of control flow (for if,
y
becomesy: 3
.