detectIncomesAndOutcomes method

void detectIncomesAndOutcomes()

Implementation

void detectIncomesAndOutcomes() {
  Set<String> totalSet = Set();
  this.list.forEach((node) {
    if (totalSet.contains(node.id)) {
      return;
    }
    Set<String> branchSet = Set();
    this.traverseVertically(node, branchSet, totalSet);
  });
}