Allow passing a dag into dump and getOperationName. If one is available