Group files by regex or just select the files + shortcut.
Groups can have names and a color
AKrew
Apr 4, 2025
4
Alex CApr 7, 2025
Group files by regex, you mean by the path name? In this case, this would mean by folder basically, in which case, you can press F to toggle folders on (atm there's an issue if auto layout is on and you're not on layout algo 3 or 4, the folder views get disabled when the autolayout gets triggered).
If it's not folder grouping you're referring to, I'd love more details about how you see the grouping work and what's the use case for it.
AKrewApr 7, 2025
Similar to the folder grouping but with a little bit of customization, because having a lot of nested folders clutters the view too much.
I imagine having a list of groups items. Each item is just a string (regex matching the path+fileName) and maybe a color. This provides the ability to create something like this:
- Regex for all frontend files -> Blue
- Regex for all frontend REST files -> Cyan
- Regex for all backend files -> Red
The result would be only 3 groups besides having 20 folders. With a clear view on the separation of the different files and their role.
If you haven't tried it, take a look at Obsidian.md GraphView for filtering/grouping and Obsidian.md canvas (with advanced canvas extension) for the layouting, view and style of the nodes.
Alex CApr 8, 2025
I played around a bit with obsidian graph and obsidian canvas. Didn't end up using it, but this advanced canvas extension looks pretty cool.
The folders are a bit buggy at the moment so I'll need to fix that, but I think the regex grouping is a cool idea.
Alex CJul 16, 2025
Not groups, but added style patterns as part of update 0.4.0 which lets you style files, folders and edges based on regex patterns