question: private void loadVerticesAndRelatives ( ) { List < CnATreeElement > elementList = new LinkedList < CnATreeElement > ( ) ; for ( IGraphElementLoader loader : getLoaderList ( ) ) { loader . setCnaTreeElementDao ( getCnaTreeElementDao ( ) ) ; elementList . addAll ( loader . loadElements ( ) ) ; } for ( CnATreeElement element : elementList ) { graph . addVertex ( element ) ; if ( LOG . isDebugEnabled ( ) ) { LOG . debug ( "Vertex added: " + element . getTitle ( ) ) ; } uuidMap . put ( element . getUuid ( ) , element ) ; } for ( CnATreeElement parent : elementList ) { Set < CnATreeElement > children = parent . getChildren ( ) ; for ( CnATreeElement child : children ) { createParentChildEdge ( parent , child ) ; } } }
target:  Loads all vertices and adds them to the graph. An edge for each children is added if the child is part of the graph.