Skip to content

Commit 8a61f70

Browse files
minor correction
1 parent 7a4bbea commit 8a61f70

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ RETURN [n IN nodes(p) \| n.q] AS nodes
366366

367367
|
368368
New match mode, xref:patterns/match-modes.adoc#repeatable-elements[`REPEATABLE ELEMENTS`].
369-
This is a non-restrictive match mode, in which relationships matched across all constituent path patterns in a graph patterns can be repeatedly traversed.
369+
This is a non-restrictive match mode, in which relationships matched across all constituent path patterns in a graph pattern can be repeatedly traversed.
370370

371371
a|
372372
label:functionality[]

modules/ROOT/pages/patterns/match-modes.adoc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ As the results show, a node may be traversed several times in the same path, but
8181
|===
8282

8383
In the next example, the direction is removed from the pattern, and the path length is increased to `6`.
84-
It shows that there are `48` valid paths with this length, where no relationships (bridges) are re-traversed, and the query returns one of those paths as a `samplePath`, showing both the nodes and relationships traversed therein.
84+
It shows that there are `48` valid paths with this length, where no relationships (bridges) are re-traversed.
85+
The query returns one of those paths as a `samplePath`, showing both the nodes and relationships traversed therein.
8586

8687
.Find paths with a length of 6 relationships from a start node
8788
[source, cypher]
@@ -132,7 +133,7 @@ RETURN count(p) AS pathCount
132133

133134
In the `DIFFERENT RELATIONSHIPS` match mode, each step must use a unique bridge.
134135
After the first step, one bridge is used, leaving six remaining bridges to be used in the subsequent steps.
135-
Once six remaining bridges are traversed, a seventh step would require re-traversing a bridge, which is not allowed.
136+
After the sixth bridge is traversed, a seventh step would require re-traversing a bridge, which is not allowed.
136137

137138
This reflects the conclusion of Euler’s Seven bridges of Königsberg problem: the impossibility of crossing each bridge exactly once in a single walk.
138139

0 commit comments

Comments
 (0)