This class represents the control flow graph of an R program.
The control flow may be hierarchical when confronted with function definitions (see CfgSimpleVertex and CFG#rootVertexIds|rootVertexIds()).
There are two very simple visitors to traverse a CFG:
visitCfgInOrder visits the graph in the order of the vertices
visitCfgInReverseOrder visits the graph in reverse order
This class represents the control flow graph of an R program. The control flow may be hierarchical when confronted with function definitions (see CfgSimpleVertex and CFG#rootVertexIds|rootVertexIds()).
There are two very simple visitors to traverse a CFG:
If you want to prohibit modification, please refer to the ReadOnlyControlFlowGraph interface.