pub(crate) fn graph_of(
state: &AppState,
drone_id: &str,
graph: &GraphRef,
) -> Result<DroneGraph, String>Expand description
The graph a run started on: the saved version it names when that is the same graph (by hash), else the drone’s current graph when that is. A graph that was edited since, with no saved version to go back to, is no graph the run’s checkpoints fit.