blob: a1058c080b98689537236d6c469d9965ed572759 [file] [log] [blame]
import "flowchartutil.eol";
context Decision {
constraint X {
check : self.outgoing.size() >= 2
message : "Decisions must have at least two outgoing transitions"
fix {
title : "Add missing transitions"
do {
for (i in 1.to(2 - self.outgoing.size())) {
self.createTransitionTo("t" + i, "a" + i);
}
}
}
}
}