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://mirror.codeforces.com/problemset/problem/1499/G
https://mirror.codeforces.com/problemset/problem/1495/D
https://mirror.codeforces.com/problemset/problem/1494/F
https://mirror.codeforces.com/problemset/problem/794/D
https://mirror.codeforces.com/problemset/problem/1276/B
https://mirror.codeforces.com/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.
Pretty cool, but what about this?
I guess that's where the idea came from
even the floating animation seems to be from CSAcademy too
As I mentioned, I initially made this for platforms like leetcode, binarysearch where inputs are array. I wanted to have something where I can copy-paste that input to visualize during the contest.
https://leetcode.com/problems/sum-of-distances-in-tree/
https://binarysearch.com/problems/Graph-Weight-Queries
For plain text input, yes, it's similar to what the csacademy.com provides (it do not support weighted graph though).
Atleast he tried to create something...?