private void OnGraphSaved(object sender, EventArgs e) { if (null == this.runner) // Running in headless mode. { return; } GraphController controller = sender as GraphController; if (null != controller) { LiveRunner liveRunner = runner as LiveRunner; //Update the options with new path. liveRunner.SetOptions(LiveRunnerFactory.CreateLiveRunnerOptions(controller)); GraphUtilities.SetRootModulePath(controller.FilePath); } }