boolean graphChanged = false;
if (myGraph == null) {
graphChanged = true;
childrenUpdatedFlag = true;
myGraph = new SparseGraph();
}
Collection<ElasticVertex> addedVertexes = Collections.emptyList();
if (childrenUpdatedFlag) {
addedVertexes = new LinkedList<ElasticVertex>();
childrenUpdatedFlag = false;