/** * Build graph from properties. * * @param properties the properties */ protected void buildGraph(Map<String, String> properties) { graph = new Graph<String>(); root = vertexFactory.rootVertex(); graph.setRootVertex(root); for(String key : properties.keySet()) { String value = properties.get(key); buildVertices(root, 0, key, value, 0); } }