pub fn compute_layout(graph: &mut Graph) -> Vec<String>
Compute layout for all nodes in the graph
Returns a list of warnings (e.g., cycle detected).