Serialize Buildgraph
When build is finished and graph is generated. Serialize the graph so that it can be viewed even if part of the runs in the flow are removed.