Tree from path strings
Builds a hierarchy from records containing a path array or a delimited string, such as 'src/app/main.ts'. Intermediate nodes that have no record of their own are created automatically. This is useful for file lists and dotted keys.
Planned. This page shows the specification from issue #197. The live example, source for every framework and the API reference replace it when the feature ships.
Live example
A flat list of 200 file paths separated by '/'.
Expected behavior
Editing the textarea rebuilds the tree. Filler folders appear in italics when they have no backing record.
Planned API surface
treeDataMode:'path'getDataPathpathSeparatorautoCreateFillerNodesfillerNodeRendererAcceptance criteria
- Filler nodes have generated stable ids derived from their path (pending)
- A record later added for a filler path replaces the filler (pending)
- Aggregation includes filler nodes as parents (pending)
- An empty path segment is handled per the documented rule (pending)