pub fn partition_graph(flat_graph: DfirGraph) -> Result<DfirGraph, Diagnostic>
Main method for this module. Partitions a flat DfirGraph into one with subgraphs.
DfirGraph
Returns an error if an intra-tick cycle exists in the graph.