private void loadGraphs(List<Element> rootElements, Element graphElem,
Graph parent, Metadata staticMetadata) throws Exception {
LOG.log(Level.FINEST, "Visiting node: [" + graphElem.getNodeName() + "]");
loadConfiguration(rootElements, graphElem, staticMetadata);
Graph graph = !graphElem.getNodeName().equals("cas:workflows") ? new Graph(
graphElem, staticMetadata) : new Graph();
parent.getChildren().add(graph);
graph.setParent(parent);
if (!graphElem.getNodeName().equals("cas:workflows")) {
expandWorkflowTasksAndConditions(graph, staticMetadata);
}
for (String processorType : Graph.processorIds) {