public void testOpenDiagramTargetElement() throws Exception {
for (String filename : getGenList()) {
Document doc = getCache().get(filename);
IterableElementList nodes = xpath(doc, "/GenEditorGenerator/diagram/topLevelNodes");
nodes.addAll(xpath(doc, "/GenEditorGenerator/diagram/links"));
assertFalse(filename + ": No nodes found", nodes.isEmpty());
for (Element node : nodes) {
// find the meta element for this node
Element meta = xpathFirst(node, "modelFacet/metaClass");