links are strings transitions are arrays