Builds/upserts nodes and edges in a ComputeGraph incrementally from OpTrace. Maintains a mapping from TensorRef.id to its producing node/output and spec.