Source code for qtpynodeeditor.enums

from enum import Enum


[docs]class NodeValidationState(str, Enum): valid = 'valid' warning = 'warning' error = 'error'
[docs]class PortType(str, Enum): none = 'none' input = 'input' output = 'output'
[docs]class ConnectionPolicy(str, Enum): one = 'one' many = 'many'
class ReactToConnectionState(str, Enum): reacting = 'reacting' not_reacting = 'not_reacting'