diff --git a/modules/ROOT/pages/patterns/shortest-paths.adoc b/modules/ROOT/pages/patterns/shortest-paths.adoc index cc8e815c6..bc78ce295 100644 --- a/modules/ROOT/pages/patterns/shortest-paths.adoc +++ b/modules/ROOT/pages/patterns/shortest-paths.adoc @@ -78,8 +78,12 @@ RETURN length(p) AS result ---- // end::patterns_shortest_paths_shortest_k[] -[TIP] -Note that this and the following examples in this section use a quantified relationship `-[:LINK]-+`, which is composed of a relationship pattern `-[:LINK]-` and a postfix quantifier `+`. The relationship pattern is only concerned with following relationships with type `LINK`, and will otherwise traverse any node along the way. There is no arrowhead `<` or `>` on the relationship pattern, allowing the pattern to match relationships going in either direction. This represents the fact that trains can go in both directions along the `LINK` relationships between Stations. The `+` quantifier means that one or more relationships should be matched. For more information, see xref:patterns/reference.adoc#quantified-relationships[Syntax and semantics - quantified relationships]. +[NOTE] +Note that this and the following examples in this section use a quantified relationship `-[:LINK]-\+`, which is composed of a relationship pattern `-[:LINK]-` and a postfix quantifier `+`. +The relationship pattern is only concerned with following relationships with type `LINK`, and will otherwise traverse any node along the way. +There is no arrowhead `<` or `>` on the relationship pattern, allowing the pattern to match relationships going in either direction. +This represents the fact that trains can go in both directions along the `LINK` relationships between Stations. +The `+` quantifier means that one or more relationships should be matched. For more information, see xref:patterns/reference.adoc#quantified-relationships[Syntax and semantics - quantified relationships]. .Result [role="queryresult",options="header,footer",cols="m"]