Skip to content

Commit 5eaf682

Browse files
committed
Expand documentation of hidden nodes
1 parent ab64d9a commit 5eaf682

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

docs/ql-libraries/dataflow/dataflow.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -618,12 +618,21 @@ impact on performance for large databases.
618618

619619
### Hidden nodes
620620

621-
Certain synthetic nodes can be hidden to exclude them from occurring in path
622-
explanations. This is done through the following predicate:
621+
Certain synthetic nodes are hidden by default to prevent them from occurring in
622+
path explanations. Which nodes are included in this is determined by the
623+
following predicate:
624+
623625
```ql
624626
predicate nodeIsHidden(Node n)
625627
```
626628

629+
To include these nodes in path explanations, add the following to a
630+
configuration:
631+
632+
```ql
633+
predicate includeHiddenNodes() { any() }
634+
```
635+
627636
### Unreachable nodes
628637

629638
Consider:

0 commit comments

Comments
 (0)