Skip to content

Add --plot option to visualize tree padding or size distribution #174

@carpalsgrabby

Description

@carpalsgrabby

Summary

For large trees, it’s useful to visualize how padding increases with different arities. A --plot mode (using matplotlib) would allow users to generate simple graphs.

Proposal

  • Add a --plot option that shows:
    • padding fraction vs. height
      OR
    • node counts per level
  • Save plot to a file, e.g. tree_layout.png.

Benefit

Improves usability for research and presentations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions