_rndDecorator = new RandomVertexLocationDecorator(new Dimension(1000,1000));
if (_graphType == GraphTypes.Directed) {
_myGraph = new DirectedSparseGraph();
} else if (_graphType == GraphTypes.UnDirected){
_myGraph = new UndirectedSparseGraph();
} else {
throw new GraphException("Error in GraphManager, the specified graph type is not either Directed or UnDirected");
}
_sl = StringLabeller.getLabeller(_myGraph);
//_layout = new StaticLayout(_myGraph);