Hacker Newsnew | past | comments | ask | show | jobs | submit | mikedombo's commentslogin

I'll definitely consider that. The whole predefined graphs file is only about 90 lines for the relevant bits if you just want to copy that into your project.


It still needs some polish work like converting labels to Id's when appropriate and catching errors otherwise. I'll do that stuff this week.


I added a conversion so that you can enter the ID or the label.


You're correct, right now it doesn't support multigraphs because of a library I'm using. I'll modify it soon to add that support and then the bridges will be correct.


Multigraphs are now supported and so the bridge graph is now correct.


Thanks for the tip, I'll definitely look into it. Cookies shouldn't matter since I don't use them, but localstorage would be a tiny problem.


I added a check so it should be working now without localStorage.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: