isOneToOne property
Whether this is a 1:1 hyperedge (single source, single target).
Implementation
bool get isOneToOne => sources.length == 1 && targets.length == 1;
Whether this is a 1:1 hyperedge (single source, single target).
bool get isOneToOne => sources.length == 1 && targets.length == 1;