possibleLinks property
Implementation
Iterable<Link> get possibleLinks sync* {
for(var to in nodes) {
if (!to.canLinkTo) {
continue;
}
for (var from in nodes) {
if (!from.canLinkFrom) {
continue;
}
if (from == to) {
continue;
}
if (hasLink(from, to)) {
continue;
}
yield Link(from, to);
}
}
}