Interface IConnectionValidator
- Namespace
- FlowGraph.Avalonia.Validation
- Assembly
- FlowGraph.Avalonia.dll
Provides validation logic for connections between ports.
public interface IConnectionValidator
Methods
Validate(ConnectionContext)
Validates whether a connection can be made between two ports.
ConnectionValidationResult Validate(ConnectionContext context)
Parameters
contextConnectionContextThe connection context containing source and target information.
Returns
- ConnectionValidationResult
A validation result indicating whether the connection is allowed.