graph_condensation
Compute strongly connected components of a directed graph and condense them into a DAG using Kosaraju's algorithm. Use it to simplify cyclic graphs for dependency or reachability analysis.
Instructions
Compute SCC condensation of a directed graph into a DAG using Kosaraju's algorithm.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edges | Yes | Directed edges as [u, v] pairs (0-indexed) | |
| vertex_count | Yes | Number of vertices |