RandomGraph randomGraph = new RandomGraph();
randomGraph.generate(container.getLoader());
//Append container to graph structure
ImportController importController = Lookup.getDefault().lookup(ImportController.class);
importController.process(container, new DefaultProcessor(), workspace);
//Set labels
GraphController gc = Lookup.getDefault().lookup(GraphController.class);
GraphModel graphModel = gc.getModel(workspace);
for (Node n : graphModel.getGraph().getNodes()) {