Trying to visualise a FSM, I stumbled on unexpected behaviour of a graph. I've put the graph in a loop and want to highligh the active state.
return computeFigure(
bool () {
bool recompute = runState() != current;
current = runState();
return recompute;
},
Figure () {
return buildControllerGraph(ast, current);
}
);
At random the nodes jump around, sometimes correctly aligned at the center, sometimes aligned left from the center.
Okay:

Unexpected:

Also tried latest SVN, not working.
This is a known bug, Paul is fixing it.
Asked: Feb 20
Seen: 14 times
Last updated: Feb 21
Copyright CWI, 2010-2012. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.