WarUI

Tree from path strings

GRID-A17-F18P2beyond-baselinePlanned

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'getDataPathpathSeparatorautoCreateFillerNodesfillerNodeRenderer

Acceptance 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)