API

Interface IFlowGraphValidationResult

The result of validating a flow graph.

interface IFlowGraphValidationResult {
    errorCount: number;
    issues: IFlowGraphValidationIssue[];
    issuesByBlock: Map<string, IFlowGraphValidationIssue[]>;
    isValid: boolean;
    warningCount: number;
}
Index
errorCount: number

Convenience: number of error-level issues.

All issues found, ordered by severity (errors first).

issuesByBlock: Map<string, IFlowGraphValidationIssue[]>

Map from block uniqueId to the issues affecting that block.

isValid: boolean

Whether the graph passed validation with no errors.

warningCount: number

Convenience: number of warning-level issues.