2. Find the location in your Project window's folders where you saved the graph file you want to edit.
![An image of the Editor's Project window. It displays graph files that can be opened to edit.](images/vs-open-project-window-graph-files.png)
3. Double-click the graph file to open it in the Graph window.
## From the Graph Inspector
If you have a nested or embedded graph inside another graph file, you can open it from the Graph Inspector.
1. In the Graph window, select the node that represents the graph you want to edit.
This node could be a transition, Super State, Subgraph, or State Unit.
1. Open the [Graph Inspector](vs-interface-overview.md#the-graph-inspector).
2. In the Graph Inspector, select **Edit Graph**.
The graph opens in the same Graph window.
![An image of a graph open in the Graph Inspector, with a Subgraph node selected.](images/vs-existing-graph-example-subgraph.png)
## From a Script Machine or State Machine
If you've attached or embedded a graph in a Script Machine or State Machine on a GameObject, you can open the graph from the component on the GameObject:
After you open a graph file, you can add a node to the graph. For more information on how to add a node to a Script Graph, see [Add a node to a Script Graph](vs-add-node-to-graph.md). For more information on how to edit a State Graph, see [Develop logic transitions with State Graphs](vs-state-graphs-intro.md).