Control flow graph printer#
Name: control-flow-graph
Generates control flow graphs of functions and modifiers into Graphviz .dot
files.
Example#
Parameters#
Command-line name | TOML name | Type | Default value | Description |
---|---|---|---|---|
--name (multiple) |
names |
List[str] |
[] |
Names of functions and modifiers to generate control flow graphs for. |
--out |
out |
str |
.wake/control-flow-graphs |
Output directory path. |
--direction |
direction |
Choice of TB , BT , LR , RL |
TB |
Direction of the graph. |
--links |
links |
bool |
True |
Whether to generate links to the source code. |
--force |
force |
bool |
False |
Whether to overwrite existing files. |