2 An n-Port FSM and Directed Graphs