Skip to content
Snippets Groups Projects
Commit adef8490 authored by Reiner Jung's avatar Reiner Jung
Browse files

Minor fixes to support both node selection modes.

parent 87e04b06
No related branches found
No related tags found
No related merge requests found
......@@ -81,8 +81,8 @@ signing {
}
javadoc {
if(JavaVersion.current().isJava9Compatible()) {
options.addBooleanOption('html5', true)
}
}
//javadoc {
// if(JavaVersion.current().isJava9Compatible()) {
// options.addBooleanOption('html5', true)
// }
//}
......@@ -112,8 +112,6 @@ public class AllenDeployedArchitectureGraphStage
}
}
this.logger.error("Internal error: Looked for node of an edge that does not exist: {}",
operation.getAssemblyOperation().getOperationType().getSignature());
return null;
}
......
......@@ -64,13 +64,13 @@ public class ModuleCallGraphStage extends AbstractTransformation<ModelRepository
case ADD_NODES_FOR_EDGES:
if (this.selector.edgeIsSelected(invocation)) {
if (!sourceSelected) {
graph.addVertexIfAbsent(invocation.getSource());
graph.addVertexIfAbsent(invocation.getSource().getComponent());
}
if (!targetSelected) {
graph.addVertexIfAbsent(invocation.getTarget());
graph.addVertexIfAbsent(invocation.getTarget().getComponent());
}
graph.addEdge(invocation, graph.getVertex(invocation.getSource()),
graph.getVertex(invocation.getTarget()));
graph.addEdge(invocation, graph.getVertex(invocation.getSource().getComponent()),
graph.getVertex(invocation.getTarget().getComponent()));
}
break;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment