add multimap of transitions.