Copying and pasting a GraphViz chart from a webpage.
I've implemented GraphViz on a .net web application via the GraphViz.NET package by Jamie Dixon. To create the chart and convert it to an image I do the following: byte[] output = wrapper.GenerateGraph(DotFile, Enums.GraphReturnType.Png); var picture = string.Format("data:image/jpg;base64,{0}", Convert.ToBase64String(output));
This displays well on the webpage, and I can export it as a .png file. However, I can't copy and paste it to an email or a document. This somewhat reduces the usefulness of the chart.
Can someone point me to a solution, or explain why copy and paste doesn't work? Not sure if this is the place to ask, or if I should contact the author of GraphViz.NET.
BTW, GraphViz is fantastic, and my users are very happy with the output!