Node root = new PrintNode( ApplicationResources.getString("info.node.root"));
Node initialRoot = new PrintNode( ApplicationResources.getString("initial.node.root"));
Map<String, Double> concepts = ontoSpreadState.getConcepts();
for (ScoredConceptTO initialConcept : ontoSpreadState.getInitialConcepts()) {
ConceptTO conceptTO = ontologyDAO.getConceptTO(initialConcept.getConceptUri());
Node node = new InitialNode(formatActivation(conceptTO.getName(),concepts.get(conceptTO.getUri())),conceptTO.getUri());
edges.add(new LineEdge(initialRoot,node));
nodes.add(node);
}
Node spreadedRoot = new PrintNode( ApplicationResources.getString("initial.node.spreaded"));