Enum PortStateChange
- Namespace
- FlowGraph.Avalonia.Rendering.PortRenderers
- Assembly
- FlowGraph.Avalonia.dll
Indicates the type of state change that just occurred on a port. Used to trigger one-shot animations.
public enum PortStateChange
Fields
DataPulse = 3Data just passed through this port. Use for data flow pulse animation.
JustConnected = 1An edge was just connected to this port. Use for connection ripple/pulse animation.
JustDisconnected = 2An edge was just disconnected from this port. Use for disconnection fade/ripple animation.
None = 0No state change (steady state).
ValidationError = 4A validation error just occurred. Use for error shake animation.
ValidationSuccess = 5A validation succeeded (e.g., valid drop target confirmed). Use for success flash animation.