dreampuf / GraphvizOnline

Let's Graphviz it online
https://dreampuf.github.io/GraphvizOnline/
BSD 3-Clause "New" or "Revised" License
799 stars 213 forks source link

Short links #14

Open LadyAleena opened 4 years ago

LadyAleena commented 4 years ago

Could you please make short links for the URL for the graphs? If someone wants to share a link to a graph they created with this, they would need a short link to use. The link for the default graph is longer than an entire IRC message. If someone creates a large graph with problems they want to share, where message lengths are finite, the current URLs won't work. Those URLs won't fit in a Twitter message where the problem is also spelled out, for example.

dreampuf commented 4 years ago

@LadyAleena Thank you for raising this. I had an investigation on a short link. #7 Sadly there isn't a functional service in the pure frontend. if https://git.io enables their service to the public(without CORS), that would be nice. If you know there is a pure javascript solution, please let me know.