/**
* Opens a workflow.
*
* @param string $src
* @param SpecificationInterface $spec
*
* @return Builder
*/
public function open($src, SpecificationInterface $spec)
{
$this->start = $this->nodes->get(uniqid());
$this->start->addTransition($this->nodes->get($src), $spec);
return $this;
}