Function dfir_lang::graph::partition_graph

source ยท
pub fn partition_graph(flat_graph: DfirGraph) -> Result<DfirGraph, Diagnostic>
Expand description

Main method for this module. Partions a flat DfirGraph into one with subgraphs.

Returns an error if a negative cycle exists in the graph. Negative cycles prevent partioning.