stripped down read_networkplan and separated out make_directed