- Notifications
You must be signed in to change notification settings - Fork26
View and Browse Code Using Flow Diagrams
License
Unknown, MIT licenses found
Licenses found
moodymudskipper/flow
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
{flow} provides tools to visualize as flow diagrams the logic offunctions, expressions or scripts and ease debugging.
Use cases are :
- Deciphering other people’s code
- Getting more comfortable with our own code by easing a visualunderstanding of its structure
- Documentation
- Debugging
- Inspect unit test results
- Providing a higher level view of an algorithm to collaborators
- Education
Install from CRAN with:
install.packages("flow")Or install development version from github:
remotes::install_github("moodymudskipper/flow")
library(flow)Using default nomnoml engine
flow_view(rle)Using plantuml engine (make sure the{plantuml} package is installed).
flow_view(rle,engine="plantuml")
flow_run()to display not only the diagram, but the logical pathtaken by a specific callflow_compare_runs()display the logical path of 2 calls to see wherethey divergeflow_debug()/flow_undebug()to use basically useflow_run()on afunction wherever it’s calledflow_view_vars()to display the dependencies between variables in afunctionflow_view_deps()to display recursively all the functions that yourfunction callsflow_view_uses()to display recursively all the functions that callyour functionflow_view_shiny()to display the modular structure of your shiny appflow_view_source_calls()to display dependency tree of scriptssourcing each otherflow_doc()to build a package’s documentation using flow diagramsflow_test()to show what happens in your unit testsflow_embed()to embed diagrams in your documentation.
See more in vignettes.
Make sure to check the vignettes for a detailed breakdown of allfeatures.
{flow} is built on top of Javier Luraschi’s{nomnoml} package, andRainer M Krug ’s{plantuml} package, the latter only available fromgithub at the moment.
About
View and Browse Code Using Flow Diagrams
Resources
License
Unknown, MIT licenses found
Licenses found
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors7
Uh oh!
There was an error while loading.Please reload this page.


