We need to be able to pass down its state and also add an onChange handler to the editor. There are situations when we need the graph editor to be controlled. For example in the studio dynamic sets we have the table view. For it to display the latest graph state, without having to save the graph and refetch, we need to save the graph state locally.