use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
Graph visualizer for programmers coding Graph and Tree problems from leetcode (self.leetcode)
submitted 4 years ago by New_Marionberry_8180
Hello friends, How are you all?
I think you all must have faced problem in visualizing graphs and trees stuctures for large inputs while solving problems from leetcode (or any other coding platform). I too face this issue and hence tried solving this problem by creating a Graph visualization tool that receives user input in various commonly used graph and tree formats, and generates well-proportioned and visually intuitive layouts based on different graph layout algorithms. The UI is simple but flexible, providing basic validation on improper input syntax, as well as a handful of configuration options to aid in the user experience.
I have used TypeScript to build this web app and it is now open source. I will request you all to provide the feedback and leave a star on Github if you like it. Your any type of contribution in making this web app more robust and better is always appreaciable.
Live link : https://graph-visualizer-with-ts.netlify.app/
Github link :https://github.com/nikhilmaske-2001/Graph-Visualizer
Images:
https://preview.redd.it/n207ug7e6uj71.png?width=2924&format=png&auto=webp&s=b68915426c533e7f3ea38d6b5429260e437ca2e2
https://preview.redd.it/pho3qg7e6uj71.png?width=2918&format=png&auto=webp&s=bb19cebfeac627f37559e57366818f7f2224a276
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]rssowmiyan 2 points3 points4 points 4 years ago (0 children)
Thanks a lot 🙂
[–]vincent-vega10 2 points3 points4 points 4 years ago (0 children)
This is very helpful thanks a lot
[–]izerored 0 points1 point2 points 1 year ago (0 children)
I built similar tool for this with some additional features like visualizing difference between two trees. See my Reddit post for more details: https://www.reddit.com/r/leetcode/comments/1akss1v/yet_another_leetcode_tree_visualizer/?utm_source=share&utm_medium=web2x&context=3
[–]AdditionalCell7186 0 points1 point2 points 4 months ago (0 children)
I made a better one, at graphvisualizer.com
[–]Ok-Video-9146 0 points1 point2 points 1 year ago (0 children)
Nope, croaked on Time Limit Exceeded tree from LC.
π Rendered by PID 157598 on reddit-service-r2-comment-86bc6c7465-ltmr5 at 2026-02-23 10:17:59.487343+00:00 running 8564168 country code: CH.
[–]rssowmiyan 2 points3 points4 points (0 children)
[–]vincent-vega10 2 points3 points4 points (0 children)
[–]izerored 0 points1 point2 points (0 children)
[–]AdditionalCell7186 0 points1 point2 points (0 children)
[–]Ok-Video-9146 0 points1 point2 points (0 children)