Do you know of a tool to draw a graph from a matrix or vice-versa.
It doesn't sound too hard but I'm sure there are wrinkles.
It doesn't sound too hard but I'm sure there are wrinkles.
Foreach node
Foreach node.transition
Matrix(node, transition.event) = transition.destination
And the other way: Foreach node
Foreach event
Destination = matrix(node, event)
Graph(node).add(event, destination)