pub fn topological_sort(store: &LpgStore) -> Option<Vec<NodeId>>
Performs topological sort on a directed acyclic graph using Kahn’s algorithm.
Some(order) if the graph is a DAG, None if there’s a cycle.
Some(order)
None