public function createAction(Node $referenceNode, array $nodeData, $position)
{
$newNode = $this->nodeOperations->create($referenceNode, $nodeData, $position);
if ($this->request->getHttpRequest()->isMethodSafe() === false) {
$this->persistenceManager->persistAll();
}
$nextUri = $this->uriBuilder->reset()->setFormat('html')->setCreateAbsoluteUri(true)->uriFor('show', array('node' => $newNode), 'Frontend\\Node', 'Neos.Neos');
$this->view->assign('value', array('data' => array('nextUri' => $nextUri), 'success' => true));
}