File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
packages/itwin/tree-widget/src/tree-widget-react/components/trees/models-tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -54,10 +54,11 @@ export interface UseModelsTreeProps {
54
54
* - `createInstanceKeyPaths`: Helper function to create filter paths.
55
55
* - `filter`: The filter string which would otherwise be used for default filtering.
56
56
*
57
- * ### Example use cases:
58
- * - You have a list of `InstanceKey` items, which you want to keep. Pass them as `targetItems` to `createInstanceKeyPaths` .
59
- * - You want to create filter paths based on a label, but also apply some extra conditions (for example exclude paths with sub-models).
57
+ * ** Example use cases:**
58
+ * - You have a list of `InstanceKey` items, which you want to use for filtering the hierarchy .
59
+ * - You want to create filter paths based on node label, but also apply some extra conditions (for example exclude paths with sub-models).
60
60
* - You want to construct custom filtered paths. For example: create a filter path for each geometric element which has a parent element.
61
+ *
61
62
* @note Paths returned by `createInstanceKeyPaths` will not have `autoExpand` flag set. If you want nodes to be expanded, iterate over the paths and
62
63
* set `autoExpand: true` manually.
63
64
*/
You can’t perform that action at this time.
0 commit comments