Adding network check on input and output link mappings to throw exception and error message if invalid begin or end node is set.