Skip to content
This repository was archived by the owner on Oct 21, 2025. It is now read-only.

Commit a395bc8

Browse files
committed
rename node to vertex
1 parent 9584ebf commit a395bc8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/features/constraintMenu/DslLanguage.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export class MonacoEditorConstraintDslCompletionProvider implements monaco.langu
3333
}
3434

3535
export const constraintDslLanguageMonarchDefinition: monaco.languages.IMonarchLanguage = {
36-
keywords: ["data", "node", "neverFlows", "to", "where", "named", "present", "empty", "type"],
36+
keywords: ["data", "vertex", "neverFlows", "to", "where", "named", "present", "empty", "type"],
3737

3838
symbols: /[=><!~?:&|+\-*\/\^%]+/,
3939

@@ -91,7 +91,7 @@ export namespace TreeBuilder {
9191
});
9292
});
9393
const nodeDestinationSelector: AutoCompleteNode = {
94-
word: new ConstantWord("node"),
94+
word: new ConstantWord("vertex"),
9595
children: destinationSelectors,
9696
};
9797

@@ -114,7 +114,7 @@ export namespace TreeBuilder {
114114
});
115115
});
116116
const nodeSourceSelector: AutoCompleteNode = {
117-
word: new ConstantWord("node"),
117+
word: new ConstantWord("vertex"),
118118
children: nodeSelectors,
119119
};
120120

0 commit comments

Comments
 (0)