taskDictionary must contain at least one task

Therefore the edgeList must contain at least two edges