Function to create `GraphDebugInfo` for the given `original_nodes`.
(original_nodes)
source not stored for this graph (policy: none)