From 7fdfd91df6d675160ed21b3dc9efed91222465da Mon Sep 17 00:00:00 2001 From: Johannes Vogt Date: Tue, 10 Feb 2026 15:14:25 +0100 Subject: [PATCH 1/2] fix dark mode for diagrams --- cds/assets/cxl/expr.drawio.svg | 817 ++++++++++++++++++++++++- cds/assets/cxl/function.drawio.svg | 162 ++++- cds/assets/cxl/infix-filter.drawio.svg | 139 ++++- cds/assets/cxl/operators.drawio.svg | 613 ++++++++++++++++++- cds/assets/cxl/ref.drawio.svg | 188 +++++- 5 files changed, 1899 insertions(+), 20 deletions(-) diff --git a/cds/assets/cxl/expr.drawio.svg b/cds/assets/cxl/expr.drawio.svg index 1a901cffd..6db3767ac 100644 --- a/cds/assets/cxl/expr.drawio.svg +++ b/cds/assets/cxl/expr.drawio.svg @@ -1,4 +1,813 @@ - - - -
path expression
path expression
literal value
literal value
infix operator
infix operator
expr
expr
expr
expr
function call
function call
(
(
)
)
expr
expr
,
,
expr
expr
BETWEEN
BETWEEN
expr
expr
NOT
NOT
AND
AND
expr
expr
expr
expr
THEN
THEN
expr
expr
expr
expr
END
END
WHEN
WHEN
CASE
CASE
expr
expr
ELSE
ELSE
prefix operator
prefix operator
expr
expr
postfix operator
postfix operator
expr
expr
Text is not SVG - cannot display
\ No newline at end of file + + + + + + + + + + + + + + + + + +
+
+
+ path expression +
+
+
+
+ + path expression + +
+
+
+ + + + + + + + + + + + + + + + + +
+
+
+ literal value +
+
+
+
+ + literal value + +
+
+
+ + + + + + + + + + + + + + + + + + + +
+
+
+ infix operator +
+
+
+
+ + infix operator + +
+
+
+ + + + + + + +
+
+
+ expr +
+
+
+
+ + expr + +
+
+
+ + + + + + + +
+
+
+ expr +
+
+
+
+ + expr + +
+
+
+ + + + + + + + + + + + + + + +
+
+
+ function call +
+
+
+
+ + function call + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + ( + +
+
+
+
+ + ( + +
+
+
+ + + + + + + +
+
+
+ + ) + +
+
+
+
+ + ) + +
+
+
+ + + + + + + + + + + +
+
+
+ expr +
+
+
+
+ + expr + +
+
+
+ + + + + + + +
+
+
+ + , + +
+
+
+
+ + , + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+ expr +
+
+
+
+ + expr + +
+
+
+ + + + + + + + + + + +
+
+
+ BETWEEN +
+
+
+
+ + BETWEEN + +
+
+
+ + + + + + + + + + + +
+
+
+ expr +
+
+
+
+ + expr + +
+
+
+ + + + + + + + + + + +
+
+
+ NOT +
+
+
+
+ + NOT + +
+
+
+ + + + + + + + + + + +
+
+
+ AND +
+
+
+
+ + AND + +
+
+
+ + + + + + + +
+
+
+ expr +
+
+
+
+ + expr + +
+
+
+ + + + + + + + + + + + + + + + + + + +
+
+
+ expr +
+
+
+
+ + expr + +
+
+
+ + + + + + + + + + + +
+
+
+ THEN +
+
+
+
+ + THEN + +
+
+
+ + + + + + + + + + + +
+
+
+ expr +
+
+
+
+ + expr + +
+
+
+ + + + + + + + + + + + + + + + + + + +
+
+
+ expr +
+
+
+
+ + expr + +
+
+
+ + + + + + + +
+
+
+ END +
+
+
+
+ + END + +
+
+
+ + + + + + + + + + + +
+
+
+ WHEN +
+
+
+
+ + WHEN + +
+
+
+ + + + + + + + + + + +
+
+
+ CASE +
+
+
+
+ + CASE + +
+
+
+ + + + + + + + + + + +
+
+
+ expr +
+
+
+
+ + expr + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+ ELSE +
+
+
+
+ + ELSE + +
+
+
+ + + + + + + + + + + +
+
+
+ prefix operator +
+
+
+
+ + prefix operator + +
+
+
+ + + + + + + +
+
+
+ expr +
+
+
+
+ + expr + +
+
+
+ + + + + + + + + + + + + + + +
+
+
+ postfix operator +
+
+
+
+ + postfix operator + +
+
+
+ + + + + + + + + + + +
+
+
+ expr +
+
+
+
+ + expr + +
+
+
+ + + + + + + + +
+ + + + + Text is not SVG - cannot display + + + +
\ No newline at end of file diff --git a/cds/assets/cxl/function.drawio.svg b/cds/assets/cxl/function.drawio.svg index 46ea8b503..00d8cc1ba 100644 --- a/cds/assets/cxl/function.drawio.svg +++ b/cds/assets/cxl/function.drawio.svg @@ -1,4 +1,158 @@ - - - -
(
(
)
)
expr
expr
,
,
function name
function name
Text is not SVG - cannot display
\ No newline at end of file + + + + + + + + + + + + + + + + + + + + +
+
+
+ + ( + +
+
+
+
+ + ( + +
+
+
+ + + + + + + +
+
+
+ + ) + +
+
+
+
+ + ) + +
+
+
+ + + + + + + + + + + +
+
+
+ expr +
+
+
+
+ + expr + +
+
+
+ + + + + + + +
+
+
+ + , + +
+
+
+
+ + , + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+ function name +
+
+
+
+ + function name + +
+
+
+
+ + + + + Text is not SVG - cannot display + + + +
\ No newline at end of file diff --git a/cds/assets/cxl/infix-filter.drawio.svg b/cds/assets/cxl/infix-filter.drawio.svg index 38165743c..0bebdbcdd 100644 --- a/cds/assets/cxl/infix-filter.drawio.svg +++ b/cds/assets/cxl/infix-filter.drawio.svg @@ -1,4 +1,135 @@ - - - -
[
[
]
]
expr
expr
where
where
Text is not SVG - cannot display
\ No newline at end of file + + + + + + + + + + + + + + + + + + + + +
+
+
+ + [ + +
+
+
+
+ + [ + +
+
+
+ + + + + + + +
+
+
+ + ] + +
+
+
+
+ + ] + +
+
+
+ + + + + + + + + + + +
+
+
+ expr +
+
+
+
+ + expr + +
+
+
+ + + + + + + + + + + + + + + +
+
+
+ + + where + + +
+
+
+
+ + where + +
+
+
+ + + + + + + + +
+ + + + + Text is not SVG - cannot display + + + +
\ No newline at end of file diff --git a/cds/assets/cxl/operators.drawio.svg b/cds/assets/cxl/operators.drawio.svg index 43fc55919..9fd85bb38 100644 --- a/cds/assets/cxl/operators.drawio.svg +++ b/cds/assets/cxl/operators.drawio.svg @@ -1,4 +1,609 @@ - - - -
infix operator
infix operator
expr
expr
expr
expr
expr
expr
BETWEEN
BETWEEN
expr
expr
NOT
NOT
AND
AND
expr
expr
expr
expr
THEN
THEN
expr
expr
expr
expr
END
END
WHEN
WHEN
CASE
CASE
expr
expr
ELSE
ELSE
prefix operator
prefix operator
expr
expr
postfix operator
postfix operator
expr
expr
Text is not SVG - cannot display
\ No newline at end of file + + + + + + + + + + + + + + + + + + + + +
+
+
+ infix operator +
+
+
+
+ + infix operator + +
+
+
+ + + + + + + +
+
+
+ expr +
+
+
+
+ + expr + +
+
+
+ + + + + + + +
+
+
+ expr +
+
+
+
+ + expr + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + +
+
+
+ expr +
+
+
+
+ + expr + +
+
+
+ + + + + + + + + + + +
+
+
+ BETWEEN +
+
+
+
+ + BETWEEN + +
+
+
+ + + + + + + + + + + +
+
+
+ expr +
+
+
+
+ + expr + +
+
+
+ + + + + + + + + + + +
+
+
+ NOT +
+
+
+
+ + NOT + +
+
+
+ + + + + + + + + + + +
+
+
+ AND +
+
+
+
+ + AND + +
+
+
+ + + + + + + +
+
+
+ expr +
+
+
+
+ + expr + +
+
+
+ + + + + + + + + + + + + + + + + + + +
+
+
+ expr +
+
+
+
+ + expr + +
+
+
+ + + + + + + + + + + +
+
+
+ THEN +
+
+
+
+ + THEN + +
+
+
+ + + + + + + + + + + +
+
+
+ expr +
+
+
+
+ + expr + +
+
+
+ + + + + + + + + + + + + + + + + + + +
+
+
+ expr +
+
+
+
+ + expr + +
+
+
+ + + + + + + +
+
+
+ END +
+
+
+
+ + END + +
+
+
+ + + + + + + + + + + +
+
+
+ WHEN +
+
+
+
+ + WHEN + +
+
+
+ + + + + + + + + + + +
+
+
+ CASE +
+
+
+
+ + CASE + +
+
+
+ + + + + + + + + + + +
+
+
+ expr +
+
+
+
+ + expr + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+ ELSE +
+
+
+
+ + ELSE + +
+
+
+ + + + + + + + + + + +
+
+
+ prefix operator +
+
+
+
+ + prefix operator + +
+
+
+ + + + + + + +
+
+
+ expr +
+
+
+
+ + expr + +
+
+
+ + + + + + + + + + + + + + + +
+
+
+ postfix operator +
+
+
+
+ + postfix operator + +
+
+
+ + + + + + + + + + + +
+
+
+ expr +
+
+
+
+ + expr + +
+
+
+ + + + + + + + +
+ + + + + Text is not SVG - cannot display + + + +
\ No newline at end of file diff --git a/cds/assets/cxl/ref.drawio.svg b/cds/assets/cxl/ref.drawio.svg index c9821eec6..bcf926dae 100644 --- a/cds/assets/cxl/ref.drawio.svg +++ b/cds/assets/cxl/ref.drawio.svg @@ -1,4 +1,184 @@ - - - -
leaf element
leaf element
struct
struct
association
association
infix filter
infix filter
Text is not SVG - cannot display
+ + + + + + + + + + + + + + +
+
+
+ leaf element +
+
+
+
+ + leaf element + +
+
+
+ + + + + + + + + + + + + + + + + + +
+
+
+ struct +
+
+
+
+ + struct + +
+
+
+ + + + + + + + + + + +
+
+
+ association +
+
+
+
+ + association + +
+
+
+ + + + + + + + + + + + + + + +
+
+
+ infix filter +
+
+
+
+ + infix filter + +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + . + +
+
+
+
+ + . + +
+
+
+
+ + + + + Text is not SVG - cannot display + + + +
\ No newline at end of file From bd24ef7014aa93767ec66d3eef7f941e906667ef Mon Sep 17 00:00:00 2001 From: Johannes Vogt Date: Tue, 10 Feb 2026 15:14:35 +0100 Subject: [PATCH 2/2] fix code-group --- cds/cxl.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cds/cxl.md b/cds/cxl.md index 837428265..6bfc44f70 100644 --- a/cds/cxl.md +++ b/cds/cxl.md @@ -240,9 +240,6 @@ This syntax diagram describes the possible expressions: ] ``` - Compared to the previous example, we now use the expression directly in the query - to calculate the total value of all books in stock. - ```sql [SQL] SELECT Books.title, @@ -254,6 +251,8 @@ This syntax diagram describes the possible expressions: ``` ::: +Compared to the previous example, we now use the expression directly in the query +to calculate the total value of all books in stock. ## Path Expressions (`ref`)