edotor.net icon indicating copy to clipboard operation
edotor.net copied to clipboard

Fix sharing large DOT scripts

Open nikeee opened this issue 6 years ago • 2 comments

Currently, they are not passed to any server. This way, we can host this on a static site.

If we'd upload the script to some server, we could potentially store a large graph. We wouldn't run into size limitations of URLs.

We should consider this solution.

nikeee avatar Jan 02 '20 02:01 nikeee

HI Just my 2 cents :

Here is a large width digraph that causes issues (maybe not what this thread means though): Actually the digraph is not large enough so that we can think it could cause issue... The render is actually fine online on edotor but when downloading PNG file, a part of graph is completely cropped. About 66% of the image width (at right) seems missing. There is no warning in console in chrome (when graph was even larger).

If I reduce size of edge's label (for example by setting them all to "A"), everywhere goes fine.

large_width_digraph.txt cropped_result_when_exporting

IfZen avatar Jul 25 '20 20:07 IfZen

Thansk for reporting! I created a new issue for that problem as #31.

nikeee avatar Jul 25 '20 20:07 nikeee