isNtoM property

bool get isNtoM

Whether this is an N:M hyperedge (multiple sources or targets).

Implementation

bool get isNtoM => sources.length > 1 || targets.length > 1;