Thanks for building mathom, the MFT scanning speed and the treemap view are really impressive.
I've been using it as a WizTree alternative, and one thing keeps bothering me: after a scan, the tree/treemap seems to expand all nodes by default. In large directories this creates a huge amount of visual noise, and honestly it becomes quite uncomfortable to look at. I often just want to see the top-level layout first, then drill down manually.
Would you consider adding an option to control the default expand behavior? For example:
Default expand depth: 0 / 1 / 2 / all (current behavior)
Remember expand state: keep the last expanded/collapsed state between sessions
Or both, with the default remaining all so existing users aren't surprised
I think keeping the current "expand all" behavior as the default would make this a non-breaking change, while giving users like me a way to avoid the initial visual overload.
I'd be happy to submit a PR if you're open to it. I'd probably start with a defaultExpandDepth setting and only expand the root (or the first level) when set to 0/1. If you prefer a different design, I'm open to suggestions.
Thanks for building mathom, the MFT scanning speed and the treemap view are really impressive.
I've been using it as a WizTree alternative, and one thing keeps bothering me: after a scan, the tree/treemap seems to expand all nodes by default. In large directories this creates a huge amount of visual noise, and honestly it becomes quite uncomfortable to look at. I often just want to see the top-level layout first, then drill down manually.
Would you consider adding an option to control the default expand behavior? For example:
Default expand depth: 0 / 1 / 2 / all (current behavior)
Remember expand state: keep the last expanded/collapsed state between sessions
Or both, with the default remaining all so existing users aren't surprised
I think keeping the current "expand all" behavior as the default would make this a non-breaking change, while giving users like me a way to avoid the initial visual overload.
I'd be happy to submit a PR if you're open to it. I'd probably start with a defaultExpandDepth setting and only expand the root (or the first level) when set to 0/1. If you prefer a different design, I'm open to suggestions.