Readonly
edgesGet all edges in the graph, independent of their sources and targets. If you are only interested in the edges of a specific node, please use outgoingEdges() or ingoingEdges().
This is the pendant of DataflowGraph#edges|edges() on a DataflowGraph.
Readonly
getObtain the basic block associated with the given element id (i.e. if this is an element within a basic block, return the blockit belongs to).
Readonly
getRetrieve a vertex by its id.
the id of the vertex to retrieve
Optional
includeBlocks: booleanif true, the elements of basic block elements are included in the result, otherwise this will only the basic blocks themselves
This is the pendant of DataflowGraph#getVertex|getVertex() on a DataflowGraph.
Readonly
hasCheck if a vertex with the given id exists in the graph.
the id of the vertex to check
Optional
includeBlocks: booleanif true, the elements of basic block elements are included in the check, otherwise this will only check the basic blocks themselves
This is the pendant of DataflowGraph#hasVertex|hasVertex() on a DataflowGraph.
Readonly
ingoingReceive all ingoing edges of a given vertex.
This is the pendant of DataflowGraph#outgoingEdges|outgoingEdges() on a DataflowGraph.
outgoingEdges() - for a way to get all outgoing edges of a vertex.
Readonly
mayReturns true if the graph may contain basic blocks and false if we know that it does not. This can be used for optimizations.
Readonly
outgoingReceive all outgoing edges of a given vertex.
This is the pendant of DataflowGraph#ingoingEdges|ingoingEdges() on a DataflowGraph.
ingoingEdges() - for a way to get all ingoing edges of a vertex.
Readonly
rootGet all ids of the root vertices — vertices that are not part of any function definition or basic block and hence part of the "top-level" control flow.
This is the pendant of DataflowGraph#rootIds|rootIds() on a DataflowGraph.
Readonly
verticesProvide a view of all vertices in the graph.
if true, the elements of basic block elements are included in the result, otherwise this will only the basic blocks themselves
A read-only view of the ControlFlowGraph.