Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to print tree as HTML with <details> #235

Merged
merged 1 commit into from
Jun 15, 2021

Conversation

inducer
Copy link
Contributor

@inducer inducer commented Jun 14, 2021

This adds a very bare-bones HTML output mode to the tree subcommand:

grafik

Being able to expand and collapse the branches of the tree is quite handy, and it's not even a lot of extra code. The diff is big mainly because I promoted _print_node to its own method. Its content is essentially unchanged.

@fijal fijal merged commit c604c06 into vmprof:master Jun 15, 2021
@inducer inducer deleted the html-tree branch June 15, 2021 03:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants