ete icon indicating copy to clipboard operation
ete copied to clipboard

D3JS json export

Open Rafiot opened this issue 5 years ago • 0 comments

Hello everyone,

I'm not sure if it is of any interest, but just in case: I'm (ab)using ete to generate the tree representing the load of a webpage, but rely on d3js for the rendering (more details here: https://www.lookyloo.eu/docs/index.html)

I use the following class to generate a json compatible with the d3js tree module: https://github.com/Lookyloo/har2tree/blob/main/har2tree/parser.py#L328

It may be something you want to add in the next release. If you're interested, I can probably make a pull request.

Rafiot avatar Oct 01 '20 11:10 Rafiot