ReadonlyedgesGet 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.
ReadonlygetObtain 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).
ReadonlygetRetrieve a vertex by its id.
the id of the vertex to retrieve
OptionalincludeBlocks: 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.
ReadonlyhasCheck if a vertex with the given id exists in the graph.
the id of the vertex to check
OptionalincludeBlocks: 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.
ReadonlyingoingReceive 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.
ReadonlymayReturns true if the graph may contain basic blocks and false if we know that it does not. This can be used for optimizations.
ReadonlyoutgoingReceive 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.
ReadonlyrootGet 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.
ReadonlyverticesProvide 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.