-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Edges in visualizer shared between states. #14
Comments
The best example of the problem is in the bottom right where there are many ways to submit the item to the customer for review. There are lots of in out edges and there is no way to tell what's tied to what. Which state and transition will lead to state 'State_CustomerReview_None'? |
I've noticed some strange issues for sure, particularly in how multiple edges are created between nodes. I'll take a look at your better graph and see what I can do with the next update. |
Thanks. I started looking through the graph visualizer and quickgraph/graphviz but it was a lot to take in. Hopefully once I get the code working I'll be able to circle back around and give you some more info... stupid deadlines. |
http://www.graphviz.org/content/fsm Here's what I was looking for from the visualizer. The events should all be added as labels instead of states. http://www.graphviz.org/Gallery/directed/fsm.gv.txt |
I just fixed this in the mt3 branch, which is going to released as yet another prerelease version shortly (3.0.2) |
I'm working on creating a state machine with Automatonymous and I'm running into an issues with the visualizer. I'd like to run the graph by the client but the graph doesn't really make any sense since the Events/transitions are being shared between states in the graph.
For example, State 1 and state 2 transition to state 3 but they both use the same event which then appears as its own node on the graph. Not to0 big of an issue with 3 states and 1 transition since it only results in 4 vertexes and 3 edges but I have ~30 states and 8 events and the graph then has 130 edges in the edge collection and turns it into a soup of lines that aren't very useful since you can't tell the state->event->state relationships. I'd like to conceptually make each transition appear to be unique in the graph. This would essentially just make the event a 'label' and not a full blown state with no outline in the graph.
I'm looking at modifying the graphing code to make the edges unique but I just wanted to make sure that I'm not totally off-base in regards to this being a problem. It seems like the graphing would break down on any moderately large state machine and that I may not have been the first person to run into this.
Any suggestions?
The text was updated successfully, but these errors were encountered: