Skip to main content

Interface: ValidationProvider

Defined in: src/data/validationProvider.ts:51

Provides a strategy to validate changes to the data in the graph authoring mode.

Unstable: this interface will likely change in the future.

Methods

validate()

validate(e): Promise<ValidationResult>

Defined in: src/data/validationProvider.ts:55

Validate an element (graph node) and its outbound links (graph edges).

Parameters

ParameterType

e

ValidationEvent

Returns

Promise<ValidationResult>