I created a tool that will let you easily visualize graph problems' input. I have used the same format as used by most of the problems.
Originally I created this for leetcode. I have recently updated it to accept plain text input as well so I'm sharing this here as well.
DEMO — https://shubham.awasthi.dev/graph-visualizer/
Code — https://github.com/awasthishubh/graph-visualizer/
Sample Questions whose input graph array can be just copy/paste to visualize.
https://codeforces.net/problemset/problem/1499/G
https://codeforces.net/problemset/problem/1495/D
https://codeforces.net/problemset/problem/1494/F
https://codeforces.net/problemset/problem/794/D
https://codeforces.net/problemset/problem/1276/B
https://codeforces.net/problemset/problem/161/D
Let me know if you have any thoughts, comments or suggestions.
Give it a star on Github if you find it helpful. :)
Thank You.