To reduce dependencies, the visualizing of the process graph by using clue/graph is now optional. If you want to display process-graphs with GraphViz you have to add the clue/graph library to your composer.json
{
"require": {
"clue/graph": "~0.7"
}
}To make graph part unit testable, the class was changed from inheritance from the graph class to use it as a composite.
The classname was also changed from Graph to GraphBuilder to make the change more visible.
Please change something like
$graph = new \Metabor\Statemachine\Graph\Graph();
$graph->addStateCollection($process);
// ...
$graphViz = new \Fhaculty\Graph\GraphViz($graph);to
$graphBuilder = new \Metabor\Statemachine\Graph\GraphBuilder(new \Fhaculty\Graph\Graph());
$graphBuilder->addStateCollection($process);
// ...
$graphViz = new \Fhaculty\Graph\GraphViz($graphBuilder->getGraph());To slides and the example code from the conference talk have moved to the new repository metabor/statemachine-example.