rune-langium / visual-editor/src / validateGraph
Function: validateGraph()
ts
function validateGraph(nodes, edges): ValidationError[];Defined in: packages/visual-editor/src/validation/edit-validator.ts:245
Run all validations on the current graph state and return errors.
Parameters
| Parameter | Type |
|---|---|
nodes | TypeGraphNode[] |
edges | TypeGraphEdge[] |