# ONNX001: empty-graph-name **Code:** `ONNX001` **Name:** `empty-graph-name` **Severity:** error **Category:** spec **Target:** graph **Fixable:** 🔧 Yes ## Message Graph name of the root graph is empty. ## Suggestion Set the name of the graph, e.g. `model.graph.name = 'main_graph'`. ## Details The 'name' field of a graph must not be empty per the ONNX spec. ## Example ```python model.graph.name = 'main_graph' ```