xhprof icon indicating copy to clipboard operation
xhprof copied to clipboard

SVG support for graph

Open ifedor opened this issue 8 years ago • 5 comments

That branch needed to supporting graph images in .svg format

ifedor avatar Oct 20 '17 09:10 ifedor

I don't understand what the change is for (you haven't provided description in the PR).

aik099 avatar Oct 20 '17 13:10 aik099

I'm sorry for that. "description" already fixed.

ifedor avatar Nov 10 '17 09:11 ifedor

Still not getting it, sorry. What does it change in UI or how it's affecting any existing logic?

aik099 avatar Nov 10 '17 09:11 aik099

Now you can set .svg format here to get svg graph instead png or other in page /callgraph.php

ifedor avatar Nov 10 '17 09:11 ifedor

Then a line above https://github.com/preinheimer/xhprof/blob/master/xhprof_html/callgraph.php#L59 should be updated as well to include SVG.

Any way to change format of call graph to SVG from config (see https://github.com/preinheimer/xhprof/blob/master/xhprof_lib/config.sample.php)?

What benefits do you get from seeing call graph in svg vs png? I bet you can't really zoom-in or something like that or can you?

aik099 avatar Nov 10 '17 10:11 aik099