protected function addEdges(array $edges)
{
$code = '';
foreach ($edges as $edge) {
$code .= sprintf(" %s_%s -> %s_%s [style=\"solid\"];\n", 'from' === $edge['direction'] ? 'place' : 'transition', $this->dotize($edge['from']), 'from' === $edge['direction'] ? 'transition' : 'place', $this->dotize($edge['to']));
}
return $code;
}