// FIXME: Temporary hack to force loading the graph until the UI can handle it occurring asynchronously.
metaGraphService.getDendriteGraph(graphMetadata.getId());
return new GetGraphResponse(graphMetadata);
} finally {
tx.commit();
}
}
@PreAuthorize("hasPermission(#graphId, 'graph', 'admin')")
@RequestMapping(value = "/graphs/{graphId}/random", method = RequestMethod.GET)