I noticed that the current documentation for the Graphp/GraphViz library shows the use of the method createEdgeDirected to create directed edges from a Graph object, like this:
$graph = new Graphp\Graph\Graph();
$edge = $graph->createEdgeDirected($blue, $red);
However, it seems that the library has been updated, and the method createEdgeDirected no longer exists. Now, edges can be created from vertices using createEdgeTo instead, as shown below:
$transitionVertex = $graph->createVertex($transitionName);
$transitionVertex->createEdgeTo($toPlace);
It would be great to update the documentation to reflect this change, so that developers can follow the current implementation more easily. I am happy to help with this update if needed.