### What problem does this PR solve? Fix error when extracting the graph. A string is expected, but a tuple was provided. ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)